hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9a3b182f2bd256bf314e41546d405b715bc333d | 107 | py | Python | plant/pipe/fittings/base_fittings/__init__.py | gerkx/big-bang-pipe | 5528d1257e18fc093d9785094732076dc46700d5 | [
"MIT"
] | null | null | null | plant/pipe/fittings/base_fittings/__init__.py | gerkx/big-bang-pipe | 5528d1257e18fc093d9785094732076dc46700d5 | [
"MIT"
] | null | null | null | plant/pipe/fittings/base_fittings/__init__.py | gerkx/big-bang-pipe | 5528d1257e18fc093d9785094732076dc46700d5 | [
"MIT"
] | null | null | null | from .fittings import IO_Fitting
from .fittings import CPU_Fitting
from .async_fitting import Async_Fitting | 35.666667 | 40 | 0.869159 | 16 | 107 | 5.5625 | 0.4375 | 0.269663 | 0.404494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102804 | 107 | 3 | 40 | 35.666667 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
8d64636d5b39b1c0c21efae798aaac0a10061cd1 | 26,161 | py | Python | swagger_client/api/user_group_api.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | swagger_client/api/user_group_api.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | swagger_client/api/user_group_api.py | ike709/tgs4-api-pyclient | 97918cfe614cc4ef06ef2485efff163417a8cd44 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
TGS API
A production scale tool for BYOND server management # noqa: E501
OpenAPI spec version: 9.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from swagger_client.api_client import ApiClient
class UserGroupApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def user_group_controller_create(self, body, api, user_agent, **kwargs): # noqa: E501
"""Create a new Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_create(body, api, user_agent, async_req=True)
>>> result = thread.get()
:param async_req bool
:param Body68 body: The Tgstation.Server.Api.Models.Request.UserGroupCreateRequest. (required)
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:return: UserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_group_controller_create_with_http_info(body, api, user_agent, **kwargs) # noqa: E501
else:
(data) = self.user_group_controller_create_with_http_info(body, api, user_agent, **kwargs) # noqa: E501
return data
def user_group_controller_create_with_http_info(self, body, api, user_agent, **kwargs): # noqa: E501
"""Create a new Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_create_with_http_info(body, api, user_agent, async_req=True)
>>> result = thread.get()
:param async_req bool
:param Body68 body: The Tgstation.Server.Api.Models.Request.UserGroupCreateRequest. (required)
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:return: UserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body', 'api', 'user_agent'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_group_controller_create" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_group_controller_create`") # noqa: E501
# verify the required parameter 'api' is set
if ('api' not in params or
params['api'] is None):
raise ValueError("Missing the required parameter `api` when calling `user_group_controller_create`") # noqa: E501
# verify the required parameter 'user_agent' is set
if ('user_agent' not in params or
params['user_agent'] is None):
raise ValueError("Missing the required parameter `user_agent` when calling `user_group_controller_create`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if 'api' in params:
header_params['Api'] = params['api'] # noqa: E501
if 'user_agent' in params:
header_params['User-Agent'] = params['user_agent'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
# Authentication setting
auth_settings = ['Token_Authorization_Scheme'] # noqa: E501
return self.api_client.call_api(
'/UserGroup', 'PUT',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserGroupResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_group_controller_delete(self, api, user_agent, id, **kwargs): # noqa: E501
"""Delete a Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_delete(api, user_agent, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:param int id: The Tgstation.Server.Api.Models.EntityId.Id of the Tgstation.Server.Host.Models.UserGroup to delete. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_group_controller_delete_with_http_info(api, user_agent, id, **kwargs) # noqa: E501
else:
(data) = self.user_group_controller_delete_with_http_info(api, user_agent, id, **kwargs) # noqa: E501
return data
def user_group_controller_delete_with_http_info(self, api, user_agent, id, **kwargs): # noqa: E501
"""Delete a Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_delete_with_http_info(api, user_agent, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:param int id: The Tgstation.Server.Api.Models.EntityId.Id of the Tgstation.Server.Host.Models.UserGroup to delete. (required)
:return: None
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['api', 'user_agent', 'id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_group_controller_delete" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'api' is set
if ('api' not in params or
params['api'] is None):
raise ValueError("Missing the required parameter `api` when calling `user_group_controller_delete`") # noqa: E501
# verify the required parameter 'user_agent' is set
if ('user_agent' not in params or
params['user_agent'] is None):
raise ValueError("Missing the required parameter `user_agent` when calling `user_group_controller_delete`") # noqa: E501
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `user_group_controller_delete`") # noqa: E501
collection_formats = {}
path_params = {}
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
if 'api' in params:
header_params['Api'] = params['api'] # noqa: E501
if 'user_agent' in params:
header_params['User-Agent'] = params['user_agent'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['Token_Authorization_Scheme'] # noqa: E501
return self.api_client.call_api(
'/UserGroup/{id}', 'DELETE',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type=None, # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_group_controller_get_id(self, api, user_agent, id, **kwargs): # noqa: E501
"""Gets a specific Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_get_id(api, user_agent, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:param int id: The Tgstation.Server.Api.Models.EntityId.Id of the Tgstation.Server.Api.Models.Response.UserGroupResponse. (required)
:return: UserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_group_controller_get_id_with_http_info(api, user_agent, id, **kwargs) # noqa: E501
else:
(data) = self.user_group_controller_get_id_with_http_info(api, user_agent, id, **kwargs) # noqa: E501
return data
def user_group_controller_get_id_with_http_info(self, api, user_agent, id, **kwargs): # noqa: E501
"""Gets a specific Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_get_id_with_http_info(api, user_agent, id, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:param int id: The Tgstation.Server.Api.Models.EntityId.Id of the Tgstation.Server.Api.Models.Response.UserGroupResponse. (required)
:return: UserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['api', 'user_agent', 'id'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_group_controller_get_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'api' is set
if ('api' not in params or
params['api'] is None):
raise ValueError("Missing the required parameter `api` when calling `user_group_controller_get_id`") # noqa: E501
# verify the required parameter 'user_agent' is set
if ('user_agent' not in params or
params['user_agent'] is None):
raise ValueError("Missing the required parameter `user_agent` when calling `user_group_controller_get_id`") # noqa: E501
# verify the required parameter 'id' is set
if ('id' not in params or
params['id'] is None):
raise ValueError("Missing the required parameter `id` when calling `user_group_controller_get_id`") # noqa: E501
collection_formats = {}
path_params = {}
if 'id' in params:
path_params['id'] = params['id'] # noqa: E501
query_params = []
header_params = {}
if 'api' in params:
header_params['Api'] = params['api'] # noqa: E501
if 'user_agent' in params:
header_params['User-Agent'] = params['user_agent'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['Token_Authorization_Scheme'] # noqa: E501
return self.api_client.call_api(
'/UserGroup/{id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserGroupResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_group_controller_list(self, api, user_agent, **kwargs): # noqa: E501
"""Lists all Tgstation.Server.Host.Models.UserGroups. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_list(api, user_agent, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:param int page: The current page.
:param int page_size: The page size.
:return: PaginatedUserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_group_controller_list_with_http_info(api, user_agent, **kwargs) # noqa: E501
else:
(data) = self.user_group_controller_list_with_http_info(api, user_agent, **kwargs) # noqa: E501
return data
def user_group_controller_list_with_http_info(self, api, user_agent, **kwargs): # noqa: E501
"""Lists all Tgstation.Server.Host.Models.UserGroups. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_list_with_http_info(api, user_agent, async_req=True)
>>> result = thread.get()
:param async_req bool
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:param int page: The current page.
:param int page_size: The page size.
:return: PaginatedUserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['api', 'user_agent', 'page', 'page_size'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_group_controller_list" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'api' is set
if ('api' not in params or
params['api'] is None):
raise ValueError("Missing the required parameter `api` when calling `user_group_controller_list`") # noqa: E501
# verify the required parameter 'user_agent' is set
if ('user_agent' not in params or
params['user_agent'] is None):
raise ValueError("Missing the required parameter `user_agent` when calling `user_group_controller_list`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
if 'page' in params:
query_params.append(('page', params['page'])) # noqa: E501
if 'page_size' in params:
query_params.append(('pageSize', params['page_size'])) # noqa: E501
header_params = {}
if 'api' in params:
header_params['Api'] = params['api'] # noqa: E501
if 'user_agent' in params:
header_params['User-Agent'] = params['user_agent'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['Token_Authorization_Scheme'] # noqa: E501
return self.api_client.call_api(
'/UserGroup/List', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PaginatedUserGroupResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def user_group_controller_update(self, body, api, user_agent, **kwargs): # noqa: E501
"""Update a Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_update(body, api, user_agent, async_req=True)
>>> result = thread.get()
:param async_req bool
:param Body72 body: The Tgstation.Server.Api.Models.Request.UserGroupUpdateRequest. (required)
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:return: UserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async_req'):
return self.user_group_controller_update_with_http_info(body, api, user_agent, **kwargs) # noqa: E501
else:
(data) = self.user_group_controller_update_with_http_info(body, api, user_agent, **kwargs) # noqa: E501
return data
def user_group_controller_update_with_http_info(self, body, api, user_agent, **kwargs): # noqa: E501
"""Update a Tgstation.Server.Host.Models.UserGroup. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
>>> thread = api.user_group_controller_update_with_http_info(body, api, user_agent, async_req=True)
>>> result = thread.get()
:param async_req bool
:param Body72 body: The Tgstation.Server.Api.Models.Request.UserGroupUpdateRequest. (required)
:param str api: The API version being used in the form \"Tgstation.Server.Api/[API version]\" (required)
:param str user_agent: The user agent of the calling client. (required)
:return: UserGroupResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['body', 'api', 'user_agent'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method user_group_controller_update" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'body' is set
if ('body' not in params or
params['body'] is None):
raise ValueError("Missing the required parameter `body` when calling `user_group_controller_update`") # noqa: E501
# verify the required parameter 'api' is set
if ('api' not in params or
params['api'] is None):
raise ValueError("Missing the required parameter `api` when calling `user_group_controller_update`") # noqa: E501
# verify the required parameter 'user_agent' is set
if ('user_agent' not in params or
params['user_agent'] is None):
raise ValueError("Missing the required parameter `user_agent` when calling `user_group_controller_update`") # noqa: E501
collection_formats = {}
path_params = {}
query_params = []
header_params = {}
if 'api' in params:
header_params['Api'] = params['api'] # noqa: E501
if 'user_agent' in params:
header_params['User-Agent'] = params['user_agent'] # noqa: E501
form_params = []
local_var_files = {}
body_params = None
if 'body' in params:
body_params = params['body']
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
# Authentication setting
auth_settings = ['Token_Authorization_Scheme'] # noqa: E501
return self.api_client.call_api(
'/UserGroup', 'POST',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='UserGroupResponse', # noqa: E501
auth_settings=auth_settings,
async_req=params.get('async_req'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 44.567291 | 140 | 0.627767 | 3,145 | 26,161 | 4.996502 | 0.058506 | 0.051546 | 0.059247 | 0.02291 | 0.963281 | 0.956981 | 0.956663 | 0.949663 | 0.944763 | 0.944444 | 0 | 0.014079 | 0.27778 | 26,161 | 586 | 141 | 44.643345 | 0.817614 | 0.355262 | 0 | 0.798137 | 1 | 0 | 0.220492 | 0.069837 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034161 | false | 0 | 0.012422 | 0 | 0.096273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8da5332906667c15787260f54fd5bfaf4a5e7f94 | 165 | py | Python | loldib/getratings/models/NA/na_tahmkench/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_tahmkench/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | loldib/getratings/models/NA/na_tahmkench/__init__.py | koliupy/loldib | c9ab94deb07213cdc42b5a7c26467cdafaf81b7f | [
"Apache-2.0"
] | null | null | null | from .na_tahmkench_top import *
from .na_tahmkench_jng import *
from .na_tahmkench_mid import *
from .na_tahmkench_bot import *
from .na_tahmkench_sup import *
| 27.5 | 32 | 0.787879 | 25 | 165 | 4.8 | 0.36 | 0.25 | 0.625 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 165 | 5 | 33 | 33 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
a5c28e096f2bcbeed04e4847e7537c91b03ee8f8 | 173 | py | Python | .buildbot/worker_scripts/__init__.py | TCKACHIKSIS/lms | fd06eb7a2baa9b9f82caa5223c86ba500f88333c | [
"MIT"
] | 8 | 2021-02-09T12:15:27.000Z | 2022-03-14T07:41:02.000Z | .buildbot/worker_scripts/__init__.py | TCKACHIKSIS/lms | fd06eb7a2baa9b9f82caa5223c86ba500f88333c | [
"MIT"
] | 70 | 2021-04-14T12:45:17.000Z | 2021-08-04T04:51:34.000Z | .buildbot/worker_scripts/__init__.py | TCKACHIKSIS/lms | fd06eb7a2baa9b9f82caa5223c86ba500f88333c | [
"MIT"
] | 3 | 2021-08-03T08:22:01.000Z | 2022-02-27T23:20:05.000Z | from .frontend_test import *
from .frontend_build import *
from .backend_test import *
from .backend_build import *
from .backend_deploy import *
from .run_scripts import *
| 24.714286 | 29 | 0.791908 | 24 | 173 | 5.458333 | 0.375 | 0.381679 | 0.389313 | 0.335878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138728 | 173 | 6 | 30 | 28.833333 | 0.879195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
5725a5b456f1bc73c352d93c5b79269fca40affe | 13,010 | py | Python | render.py | thinhnguyenuit/sombra | 5176d264508dd5cce780dc63f1dd948d66b189e8 | [
"BSD-2-Clause"
] | null | null | null | render.py | thinhnguyenuit/sombra | 5176d264508dd5cce780dc63f1dd948d66b189e8 | [
"BSD-2-Clause"
] | null | null | null | render.py | thinhnguyenuit/sombra | 5176d264508dd5cce780dc63f1dd948d66b189e8 | [
"BSD-2-Clause"
] | null | null | null | import multiprocessing as mp
import numpy as np
from progress.bar import Bar
from random import random
# Local Modules
import utils
from ray import Ray
from raytrace import raytrace
PERCENTAGE_STEP = 1
RGB_CHANNELS = 3
def raytrace_mp_wrapper(args):
return raytrace(*args)
def avg(colors, samples):
total_sum = np.zeros(3)
for color in colors:
total_sum += color
return total_sum / samples
def create_rays(camera, height, width):
rays = []
for j in range(height):
for i in range(width):
x = i
y = height - 1 - j
# Get x projected in view coord
xp = (x / float(width)) * camera.scale_x
# Get y projected in view coord
yp = (y / float(height)) * camera.scale_y
pp = camera.p00 + xp * camera.n0 + yp * camera.n1
npe = utils.normalize(pp - camera.position)
ray = Ray(pp, npe)
rays.append(ray)
return rays
def create_rays_aa(camera, HEIGHT=100, WIDTH=100, V_SAMPLES=4, H_SAMPLES=4):
rays = []
for j in range(HEIGHT):
for i in range(WIDTH):
for n in range(V_SAMPLES):
for m in range(H_SAMPLES):
x = i + (float(m) / H_SAMPLES) + (random() / H_SAMPLES)
y = (
HEIGHT - 1 - j
+ (float(n) / V_SAMPLES)
+ (random() / V_SAMPLES)
)
# Get x projected in view coord
xp = (x / float(WIDTH)) * camera.scale_x
# Get y projected in view coord
yp = (y / float(HEIGHT)) * camera.scale_y
pp = camera.p00 + xp * camera.n0 + yp * camera.n1
npe = utils.normalize(pp - camera.position)
ray = Ray(pp, npe)
rays.append(ray)
return rays
def render(scene, camera, HEIGHT=100, WIDTH=100):
"""
Render the image for the given scene and camera using raytracing.
Args:
scene(Scene): The scene that contains objects, cameras and lights.
camera(Camera): The camera that is rendering this image.
Returns:
numpy.array: The pixels with the raytraced colors.
"""
output = np.zeros((HEIGHT, WIDTH, RGB_CHANNELS), dtype=np.uint8)
if not scene or scene.is_empty() or not camera or camera.inside(
scene.objects
):
print("Cannot generate an image")
return output
# This is for showing progress %
iterations = HEIGHT * WIDTH
step_size = np.ceil((iterations * PERCENTAGE_STEP) / 100).astype('int')
counter = 0
bar = Bar('Raytracing', max=100 / PERCENTAGE_STEP)
# This is needed to use it in Git Bash
bar.check_tty = False
for j in range(HEIGHT):
for i in range(WIDTH):
x = i
y = HEIGHT - 1 - j
# Get x projected in view coord
xp = (x / float(WIDTH)) * camera.scale_x
# Get y projected in view coord
yp = (y / float(HEIGHT)) * camera.scale_y
pp = camera.p00 + xp * camera.n0 + yp * camera.n1
npe = utils.normalize(pp - camera.position)
ray = Ray(pp, npe)
color = raytrace(ray, scene)
output[j][i] = color.round().astype(np.uint8)
counter += 1
if counter % step_size == 0:
bar.next()
bar.finish()
return output
def render_aa(scene, camera, HEIGHT=100, WIDTH=100, V_SAMPLES=4, H_SAMPLES=4):
"""
Render the image for the given scene and camera using raytracing.
Args:
scene(Scene): The scene that contains objects, cameras and lights.
camera(Camera): The camera that is rendering this image.
Returns:
numpy.array: The pixels with the raytraced colors.
"""
output = np.zeros((HEIGHT, WIDTH, RGB_CHANNELS), dtype=np.uint8)
if not scene or scene.is_empty() or not camera or camera.inside(
scene.objects
):
print("Cannot generate an image")
return output
total_samples = H_SAMPLES * V_SAMPLES
# This is for showing progress %
iterations = HEIGHT * WIDTH * total_samples
step_size = np.ceil((iterations * PERCENTAGE_STEP) / 100).astype('int')
counter = 0
bar = Bar('Raytracing', max=100 / PERCENTAGE_STEP)
# This is needed to use it in Git Bash
bar.check_tty = False
for j in range(HEIGHT):
for i in range(WIDTH):
color = np.array([0, 0, 0], dtype=float)
for n in range(V_SAMPLES):
for m in range(H_SAMPLES):
r0, r1 = np.random.random_sample(2)
# Floats x, y inside the image plane grid
x = i + ((float(m) + r0) / H_SAMPLES)
y = HEIGHT - 1 - j + ((float(n) + r1) / V_SAMPLES)
# Get x projected in view coord
xp = (x / float(WIDTH)) * camera.scale_x
# Get y projected in view coord
yp = (y / float(HEIGHT)) * camera.scale_y
pp = camera.p00 + xp * camera.n0 + yp * camera.n1
npe = utils.normalize(pp - camera.position)
ray = Ray(pp, npe)
color += raytrace(ray, scene) / float(total_samples)
counter += 1
if counter % step_size == 0:
bar.next()
output[j][i] = color.round().astype(np.uint8)
bar.finish()
return output
def render_mp(scene, camera, height, width):
"""
Render the image for the given scene and camera using raytracing in multi-
processors.
Args:
scene(Scene): The scene that contains objects, cameras and lights.
camera(Camera): The camera that is rendering this image.
Returns:
numpy.array: The pixels with the raytraced colors.
"""
output = np.zeros((height, width, RGB_CHANNELS), dtype=np.uint8)
if not scene or scene.is_empty() or not camera or camera.inside(
scene.objects
):
print("Cannot generate an image")
return output
print("Creating rays...")
rays = create_rays(camera, height, width)
pool = mp.Pool(mp.cpu_count())
print("Shooting rays...")
ray_colors = pool.map(
raytrace_mp_wrapper, [(ray, scene) for ray in rays]
)
pool.close()
print("Arranging pixels...")
for j in range(height):
for i in range(width):
output[j][i] = ray_colors[i + j * width]
return output
def render_aa_mp(
scene, camera, HEIGHT=100, WIDTH=100, V_SAMPLES=4, H_SAMPLES=4
):
"""
Render the image for the given scene and camera using raytracing in multi-
processors.
Args:
scene(Scene): The scene that contains objects, cameras and lights.
camera(Camera): The camera that is rendering this image.
Returns:
numpy.array: The pixels with the raytraced colors.
"""
output = np.zeros((HEIGHT, WIDTH, RGB_CHANNELS), dtype=np.uint8)
if not scene or scene.is_empty() or not camera or camera.inside(
scene.objects
):
print("Cannot generate an image")
return output
print("Creating rays...")
rays = create_rays_aa(camera, HEIGHT, WIDTH, V_SAMPLES, H_SAMPLES)
pool = mp.Pool(mp.cpu_count())
print("Shooting rays...")
ray_colors = pool.map(
raytrace_mp_wrapper, [(ray, scene) for ray in rays]
)
pool.close()
print("Arranging pixels...")
samples = H_SAMPLES * V_SAMPLES
# using list comprehension
pixel_colors = [
avg(ray_colors[i:i + samples], samples)
for i in range(0, len(ray_colors), samples)
]
n = WIDTH * HEIGHT
pixels_2d = [pixel_colors[i:i + WIDTH] for i in range(0, n, WIDTH)]
output = np.asarray(pixels_2d).round().astype(np.uint8)
return output
def render_dof(scene, camera, HEIGHT=100, WIDTH=100, V_SAMPLES=6, H_SAMPLES=6):
"""
Render the image for the given scene and camera using raytracing with
depth of field.
Args:
scene(Scene): The scene that contains objects, cameras and lights.
camera(Camera): The camera that is rendering this image.
Returns:
numpy.array: The pixels with the raytraced colors.
"""
output = np.zeros((HEIGHT, WIDTH, RGB_CHANNELS), dtype=np.uint8)
if not scene or scene.is_empty() or not camera or camera.inside(
scene.objects
):
print("Cannot generate an image")
return output
total_samples = H_SAMPLES * V_SAMPLES
# This is for showing progress %
iterations = HEIGHT * WIDTH * total_samples
step_size = np.ceil((iterations * PERCENTAGE_STEP) / 100).astype('int')
counter = 0
bar = Bar('Raytracing', max=100 / PERCENTAGE_STEP)
# This is needed to use it in Git Bash
bar.check_tty = False
for j in range(HEIGHT):
for i in range(WIDTH):
color = np.array([0, 0, 0], dtype=float)
lens_sample_offsets = []
n0 = camera.n0
n1 = camera.n1
for n in range(V_SAMPLES):
for m in range(H_SAMPLES):
r0, r1 = np.random.random_sample(2)
ap_sx = camera.lens_params.ap_sx
ap_sy = camera.lens_params.ap_sy
x_offset = ((r0 - 0.5) * m) / H_SAMPLES * ap_sx
y_offset = ((r1 - 0.5) * n) / V_SAMPLES * ap_sy
lens_sample_offsets.append((x_offset, y_offset))
random_start = np.random.random_integers(0, total_samples - 1)
for n in range(V_SAMPLES):
for m in range(H_SAMPLES):
r0, r1 = np.random.random_sample(2)
x = i + ((float(m) + r0) / H_SAMPLES)
y = HEIGHT - 1 - j + ((float(n) + r1) / V_SAMPLES)
# Get x projected in view coord
xp = (x / float(WIDTH)) * camera.scale_x
# Get y projected in view coord
yp = (y / float(HEIGHT)) * camera.scale_y
pp = camera.p00 + xp * camera.n0 + yp * camera.n1
npe = utils.normalize(pp - camera.position)
sample_idx = n + m * H_SAMPLES - random_start
x_offset, y_offset = lens_sample_offsets[sample_idx]
ps = pp + x_offset * n0 + y_offset * n1
fp = pp + npe * camera.lens_params.f
director = utils.normalize(fp - ps)
ray = Ray(ps, director)
color += raytrace(ray, scene) / float(total_samples)
counter += 1
if counter % step_size == 0:
bar.next()
output[j][i] = color.round().astype(np.uint8)
bar.finish()
return output
def render_aa_t(
scene, camera, func, HEIGHT=100, WIDTH=100, V_SAMPLES=4,
H_SAMPLES=4
):
"""
Render the image for the given scene and camera using a template function.
Args:
scene(Scene): The scene that contains objects, cameras and lights.
camera(Camera): The camera that is rendering this image.
Returns:
numpy.array: The pixels with the raytraced colors.
"""
output = np.zeros((HEIGHT, WIDTH, RGB_CHANNELS), dtype=np.uint8)
if not scene or scene.is_empty() or not camera or camera.inside(
scene.objects
):
print("Cannot generate an image")
return output
total_samples = H_SAMPLES * V_SAMPLES
# This is for showing progress %
iterations = HEIGHT * WIDTH
step_size = np.ceil((iterations * PERCENTAGE_STEP) / 100).astype('int')
counter = 0
bar = Bar('Rendering', max=100 / PERCENTAGE_STEP)
# This is needed to use it in Git Bash
bar.check_tty = False
for j in range(HEIGHT):
for i in range(WIDTH):
color = np.array([0, 0, 0], dtype=float)
for n in range(V_SAMPLES):
for m in range(H_SAMPLES):
r0, r1 = np.random.random_sample(2)
# Floats x, y inside the image plane grid
x = i + ((float(m) + r0) / H_SAMPLES)
y = HEIGHT - 1 - j + ((float(n) + r1) / V_SAMPLES)
# Get x projected in view coord
xp = (x / float(WIDTH)) * camera.scale_x
# Get y projected in view coord
yp = (y / float(HEIGHT)) * camera.scale_y
pp = camera.p00 + xp * camera.n0 + yp * camera.n1
npe = utils.normalize(pp - camera.position)
ray = Ray(pp, npe)
color += func(ray, scene) / float(total_samples)
counter += 1
if counter % step_size == 0:
bar.next()
output[j][i] = color.round().astype(np.uint8)
bar.finish()
return output
| 36.855524 | 79 | 0.559339 | 1,696 | 13,010 | 4.194575 | 0.099646 | 0.025583 | 0.025302 | 0.033736 | 0.85142 | 0.83174 | 0.827804 | 0.823025 | 0.810374 | 0.805735 | 0 | 0.019956 | 0.341353 | 13,010 | 352 | 80 | 36.960227 | 0.810246 | 0.187548 | 0 | 0.714876 | 0 | 0 | 0.028768 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.041322 | false | 0 | 0.028926 | 0.004132 | 0.136364 | 0.049587 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
5733110f942f3998a35c7ceb0f4cfaa605eeb20c | 209 | py | Python | saleor/site/__init__.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 15,337 | 2015-01-12T02:11:52.000Z | 2021-10-05T19:19:29.000Z | saleor/site/__init__.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 7,486 | 2015-02-11T10:52:13.000Z | 2021-10-06T09:37:15.000Z | saleor/site/__init__.py | fairhopeweb/saleor | 9ac6c22652d46ba65a5b894da5f1ba5bec48c019 | [
"CC-BY-4.0"
] | 5,864 | 2015-01-16T14:52:54.000Z | 2021-10-05T23:01:15.000Z | class GiftCardSettingsExpiryType:
NEVER_EXPIRE = "never_expire"
EXPIRY_PERIOD = "expiry_period"
CHOICES = [
(NEVER_EXPIRE, "Never expire"),
(EXPIRY_PERIOD, "Expiry period"),
]
| 23.222222 | 41 | 0.650718 | 19 | 209 | 6.842105 | 0.368421 | 0.338462 | 0.246154 | 0.338462 | 0.707692 | 0.707692 | 0.707692 | 0.707692 | 0 | 0 | 0 | 0 | 0.244019 | 209 | 8 | 42 | 26.125 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.239234 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 9 |
939223deee5a27a995fd487d6ebd5d69551b2f3a | 164 | py | Python | __dump__/ets_/i1_traitsui_qt.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 24 | 2019-12-08T03:56:32.000Z | 2021-10-02T13:26:37.000Z | __dump__/ets_/i1_traitsui_qt.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 2 | 2020-04-27T14:20:01.000Z | 2020-07-17T06:05:33.000Z | __dump__/ets_/i1_traitsui_qt.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 10 | 2019-08-06T01:11:28.000Z | 2021-07-19T08:45:11.000Z | #!/usr/bin/env python3
# encoding=utf8
from .i0_sel_qt import *
from .i1_traitsui import *
def __unused_import_keeper():
return TRAITS_TOOLKIT, SimpleHandler
| 18.222222 | 40 | 0.768293 | 23 | 164 | 5.130435 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0.140244 | 164 | 8 | 41 | 20.5 | 0.808511 | 0.213415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.75 | 0.25 | 1.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
93b18067fbd777e9ca3c7770c91a3eae8c8b79be | 4,358 | py | Python | test/test_users_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_users_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | test/test_users_api.py | cvent/octopus-deploy-api-client | 0e03e842e1beb29b132776aee077df570b88366a | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Octopus Server API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import octopus_deploy_swagger_client
from octopus_deploy_client.users_api import UsersApi # noqa: E501
from octopus_deploy_swagger_client.rest import ApiException
class TestUsersApi(unittest.TestCase):
"""UsersApi unit test stubs"""
def setUp(self):
self.api = octopus_deploy_client.users_api.UsersApi() # noqa: E501
def tearDown(self):
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_authentication_responder(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_authentication_responder
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_create_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_create_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_external_search_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_external_search_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_get_current_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_get_current_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_get_spaces_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_get_spaces_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_identity_metadata_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_identity_metadata_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_login_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_login_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_logout_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_logout_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_register_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_register_action
"""
pass
def test_custom_action_response_descriptor_octopus_server_web_api_actions_users_user_update_action(self):
"""Test case for custom_action_response_descriptor_octopus_server_web_api_actions_users_user_update_action
"""
pass
def test_delete_on_background_response_descriptor_users_user_user_resource(self):
"""Test case for delete_on_background_response_descriptor_users_user_user_resource
Delete a UserResource by ID # noqa: E501
"""
pass
def test_index_response_descriptor_users_user_user_resource(self):
"""Test case for index_response_descriptor_users_user_user_resource
Get a list of UserResources # noqa: E501
"""
pass
def test_list_all_response_descriptor_users_user_user_resource(self):
"""Test case for list_all_response_descriptor_users_user_user_resource
Get a list of UserResources # noqa: E501
"""
pass
def test_load_response_descriptor_users_user_user_resource(self):
"""Test case for load_response_descriptor_users_user_user_resource
Get a UserResource by ID # noqa: E501
"""
pass
if __name__ == '__main__':
unittest.main()
| 35.430894 | 125 | 0.782698 | 561 | 4,358 | 5.472371 | 0.160428 | 0.164169 | 0.130293 | 0.19544 | 0.845603 | 0.825733 | 0.825733 | 0.776547 | 0.75798 | 0.73355 | 0 | 0.016565 | 0.168885 | 4,358 | 122 | 126 | 35.721311 | 0.831033 | 0.456173 | 0 | 0.375 | 1 | 0 | 0.003641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.375 | 0.125 | 0 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 11 |
93e5120fc7d04b066c6471ab7b017b8a37c1a898 | 172 | py | Python | tests/test_utils.py | ganesh-k13/titanium-rhythm | 1ddc6cbcc150945c819b36005ad9e9a3e1781c42 | [
"MIT"
] | null | null | null | tests/test_utils.py | ganesh-k13/titanium-rhythm | 1ddc6cbcc150945c819b36005ad9e9a3e1781c42 | [
"MIT"
] | null | null | null | tests/test_utils.py | ganesh-k13/titanium-rhythm | 1ddc6cbcc150945c819b36005ad9e9a3e1781c42 | [
"MIT"
] | 1 | 2018-06-15T06:44:36.000Z | 2018-06-15T06:44:36.000Z | from titanium_rhythm.utils import get_file_type
def test_utils():
assert(get_file_type('image.png') == 'png')
assert(get_file_type('path/to/image.jpg') == 'jpg')
| 24.571429 | 55 | 0.709302 | 27 | 172 | 4.222222 | 0.592593 | 0.184211 | 0.289474 | 0.298246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127907 | 172 | 6 | 56 | 28.666667 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.187135 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9e1f90aea5210ab66314272e88a09b9e8d7b15dc | 139 | py | Python | src/gamenight/app/blueprints/__init__.py | justanr/gamenight | 968dad4b60179c6a2dbdc5006835eda7dc17640d | [
"MIT"
] | 3 | 2018-04-24T07:54:48.000Z | 2021-05-15T02:55:11.000Z | src/gamenight/app/blueprints/__init__.py | justanr/gamenight | 968dad4b60179c6a2dbdc5006835eda7dc17640d | [
"MIT"
] | 11 | 2018-04-25T02:30:00.000Z | 2018-05-08T01:03:33.000Z | src/gamenight/app/blueprints/__init__.py | justanr/gamenight | 968dad4b60179c6a2dbdc5006835eda7dc17640d | [
"MIT"
] | null | null | null | from ._helpers import GamenightBlueprint # noqa: F401
from .external import external # noqa: F401
from .games import games # noqa: F401
| 34.75 | 54 | 0.76259 | 18 | 139 | 5.833333 | 0.444444 | 0.228571 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078261 | 0.172662 | 139 | 3 | 55 | 46.333333 | 0.834783 | 0.230216 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f543f0069f0896213f76854fdcf65634a8ffe91c | 27,378 | py | Python | EE_API_automation/pytest/src/test_gen_testdb.py | pmacik/fabric8-test | 38ab1b1c88860c1b87e0041a2f9be61af8779651 | [
"Apache-2.0"
] | 6 | 2017-06-06T04:36:09.000Z | 2021-08-20T17:44:17.000Z | EE_API_automation/pytest/src/test_gen_testdb.py | ps-19/fabric8-test | 40435d57e6024369c8c619e069c230dcf3e1e0ec | [
"Apache-2.0"
] | 334 | 2017-06-21T12:28:19.000Z | 2021-08-20T17:42:45.000Z | EE_API_automation/pytest/src/test_gen_testdb.py | ps-19/fabric8-test | 40435d57e6024369c8c619e069c230dcf3e1e0ec | [
"Apache-2.0"
] | 35 | 2017-06-01T13:32:48.000Z | 2021-08-20T17:45:08.000Z | import pytest
import time
import requests as req
from support.constants import request_detail, launch_detail, workitem_constants, dynamic_vars
import support.helpers as helpers
start_time = time.time()
class TestClass_SetupPlanner(object):
def test_setup_planner(self, sut, offline_token, userid):
print("\n\n==>Planner Test Setup Start....\n")
if sut is None:
launch_detail.base_url[launch_detail.base_wit] = r"https://api.openshift.io"
print("SUT (WIT Target) not provided!!! Using default production SUT = ", launch_detail.base_url[launch_detail.base_wit])
else:
launch_detail.base_url[launch_detail.base_wit] = sut
print("SUT set to = ", sut)
if userid is None:
launch_detail.userid_primary = launch_detail.userid_prod_primary_default
print("USERID not provided! Going ahead with the default USERID = ", launch_detail.userid_prod_primary_default)
else:
launch_detail.userid_primary = userid
print("USERID set to = ", launch_detail.userid_primary)
if offline_token is None:
pytest.exit("OFFLINE_TOKEN not provided!!! Terminating the run!!!!!!!!!!!")
else:
launch_detail.offref_token_userid_primary = offline_token
launch_detail.token_userid_primary = launch_detail.get_access_token_from_refresh()
if launch_detail.token_userid_primary is None:
pytest.exit("ACCESS_TOKEN cannot be generated!!! Terminating the run!!!!!!!!!!!")
else:
print("ACCESS_TOKEN set to = A secret in Jenkins ;)")
# Define Request Header, that includes Access Token
request_detail.headers_default = {request_detail.content_type_key_default: request_detail.content_type_default, request_detail.authorization_key_default: request_detail.authorization_carrier_default + launch_detail.token_userid_primary}
print("\n==>Planner Test Setup Complete....\n")
print("+++++++++++++++++ Running Planner API Tests ++++++++++++++++\n")
class TestClass_SDD(object):
class TestClass_CreateSpace(object):
def test_get_user_details(self):
# Design the URL
api = "api/users?filter[username]=" + launch_detail.userid_primary
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Analyze the response
global loggedin_user_id, loggedin_user_name
loggedin_user_id = helpers.extract_value("data[0].id", r)
loggedin_user_name = helpers.extract_value("data[0].attributes.username", r)
content_type_header = helpers.extract_header("Content-Type", r)
# Save and retain dynamic data for later use
dynamic_vars.username = loggedin_user_name
dynamic_vars.userfullname = helpers.extract_value("data[0].attributes.fullName", r)
dynamic_vars.userid = loggedin_user_id
# Validate the response
assert r.status_code == 200
assert content_type_header == request_detail.content_type_default
def test_create_new_space(self):
# Design the URL
api = "api/spaces"
url = launch_detail.create_url(api)
space_name = helpers.create_space_name()
f = helpers.read_post_data_file('create_space_sdd.json', replace={'$space_name_var': space_name, '$loggedin_user_id': dynamic_vars.userid})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
global spaceid, spacename
spaceid = helpers.extract_value("data.id", r)
spacename = helpers.extract_value("data.attributes.name", r)
spacelink = helpers.extract_value("data.links.self", r)
content_type_header = helpers.extract_header("Content-Type", r)
print("\nSpace created : ", spacename)
# Save and retain dynamic data for later use
dynamic_vars.spaceid = spaceid
dynamic_vars.spacename = spacename
dynamic_vars.spacelink = spacelink
# Validate the response
assert r.status_code == 201
assert content_type_header == request_detail.content_type_default
assert helpers.extract_value("data.type", r) == 'spaces'
def test_get_space_details(self):
# Design the URL
api = "api/spaces/" + spaceid
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Validate the response
assert r.status_code == 200
assert helpers.extract_header("Content-Type", r) == request_detail.content_type_default
assert helpers.extract_value("data.type", r) == "spaces"
assert helpers.extract_value("data.attributes.name", r) == spacename
def test_enable_experimental_features(self):
# Design the URL
api = "api/users"
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('enable_experimental.json', replace={'$loggedin_user_id': dynamic_vars.userid})
# Make the request
r = req.patch(url, headers=request_detail.headers_default, json=f)
# Validate the response
assert r.status_code == 200
class TestClass_CreateAreas(object):
def test_get_parent_area(self):
# Design the URL
api = "api/spaces/" + spaceid + "/areas"
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Analyze the response
dynamic_vars.parent_area_id = helpers.extract_value("data[0].id", r)
dynamic_vars.parent_area_name = helpers.extract_value("data[0].attributes.name", r)
# Validate the response
r.raise_for_status()
@pytest.mark.parametrize("area_name", helpers.generate_entity_names("Area", 2))
def test_create_child_areas(self, area_name):
# Design the URL
api = "api/areas/" + dynamic_vars.parent_area_id
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('create_child_area.json', replace={'$area_name_generated': area_name})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
dynamic_vars.area_names_to_ids[area_name] = helpers.extract_value("data.id", r)
# Validate the response
assert r.status_code == 201
class TestClass_CreateIterations(object):
def test_get_root_iter(self):
# Design the URL
api = "api/spaces/" + spaceid + "/iterations"
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Analyze the response
dynamic_vars.parent_iteration_id = helpers.extract_value("data[0].id", r)
dynamic_vars.parent_iteration_name = helpers.extract_value("data[0].attributes.name", r)
# Validate the response
r.raise_for_status()
@pytest.mark.parametrize("iter_name", helpers.generate_entity_names("Iteration", 2, True, reset_counter=True))
def test_create_child_iters(self, iter_name):
# Design the URL
api = "api/iterations/" + dynamic_vars.parent_iteration_id
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('create_child_iteration.json', replace={'$iteration_name_generated': iter_name, '$spaceid': spaceid})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
dynamic_vars.iteration_names_to_ids[iter_name] = helpers.extract_value("data.id", r)
# Validate the response
assert r.status_code == 201
@pytest.mark.parametrize("iter_name", helpers.generate_entity_names("Iteration1", 1, True, reset_counter=True))
def test_create_nested_iters(self, iter_name):
# Design the URL
api = "api/iterations/" + dynamic_vars.iteration_names_to_ids[workitem_constants.iteration_1]
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('create_child_iteration.json', replace={'$iteration_name_generated': iter_name, '$spaceid': spaceid})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
dynamic_vars.nested_iters_names_to_ids[iter_name] = helpers.extract_value("data.id", r)
# Validate the response
assert r.status_code == 201
# Workitem related tests follows::::::::
class TestClass_CreateWorkitems(object):
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_scenarios(self, wi_name):
r = helpers.create_workitem_SDD(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypescenario)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem. If label doen't exist, add one
try:
unused = dynamic_vars.labels_names_to_ids[workitem_constants.label_1]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_1] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_1, label_id=None)
r.raise_for_status()
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_experiences(self, wi_name):
r = helpers.create_workitem_SDD(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypeexperience)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem
try:
unused = dynamic_vars.labels_names_to_ids[workitem_constants.label_2]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_2] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=None)
r.raise_for_status()
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_features(self, wi_name):
r = helpers.create_workitem_SDD(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypefeature)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a few labels to the workitem
helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_id=[dynamic_vars.labels_names_to_ids[workitem_constants.label_1], dynamic_vars.labels_names_to_ids[workitem_constants.label_2]])
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_tasks(self, wi_name):
r = helpers.create_workitem_SDD(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypetask)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a few labels to the workitem
helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_id=[dynamic_vars.labels_names_to_ids[workitem_constants.label_1], dynamic_vars.labels_names_to_ids[workitem_constants.label_2]])
class TestClass_Teardown(object):
def test_teardown(self, cleanup):
import os
import json
launch_detail.launch_details_dict["space_name"] = dynamic_vars.spacename
launch_detail.launch_details_dict["space_id"] = dynamic_vars.spaceid
launch_detail.launch_details_dict["space_link"] = dynamic_vars.spacelink
launch_detail.launch_details_dict["user_fullname"] = dynamic_vars.userfullname
launch_detail.launch_details_dict["user_name"] = dynamic_vars.username
launch_detail.launch_details_dict["user_id"] = dynamic_vars.userid
launch_detail.launch_details_dict["token"] = launch_detail.token_userid_primary
launch_detail.launch_details_dict["offline_token"] = launch_detail.offref_token_userid_primary
try:
curr_dir = os.path.dirname(__file__)
filepath = os.path.join(curr_dir, '..', 'launch_info_dump.json')
with open(filepath, 'w') as f:
json.dump(launch_detail.launch_details_dict, f, sort_keys=True, indent=4)
except Exception:
print("Exception creating launch_info_dump.json")
if cleanup:
print("\nSpace deleted : %s" % dynamic_vars.spacename)
r = helpers.delete_space(dynamic_vars.spaceid)
assert r.status_code == 200
class TestClass_SCRUM(object):
class TestClass_CreateSpace(object):
def test_get_user_details(self):
# Design the URL
api = "api/users?filter[username]=" + launch_detail.userid_primary
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Analyze the response
global loggedin_user_id, loggedin_user_name
loggedin_user_id = helpers.extract_value("data[0].id", r)
loggedin_user_name = helpers.extract_value("data[0].attributes.username", r)
content_type_header = helpers.extract_header("Content-Type", r)
# Save and retain dynamic data for later use
dynamic_vars.reset()
dynamic_vars.username = loggedin_user_name
dynamic_vars.userfullname = helpers.extract_value("data[0].attributes.fullName", r)
dynamic_vars.userid = loggedin_user_id
# Validate the response
assert r.status_code == 200
assert content_type_header == request_detail.content_type_default
def test_create_new_space(self):
# Design the URL
api = "api/spaces"
url = launch_detail.create_url(api)
space_name = helpers.create_space_name("AGILE")
f = helpers.read_post_data_file('create_space_scrum.json', replace={'$space_name_var': space_name, '$loggedin_user_id': dynamic_vars.userid})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
global spaceid, spacename
spaceid = helpers.extract_value("data.id", r)
spacename = helpers.extract_value("data.attributes.name", r)
spacelink = helpers.extract_value("data.links.self", r)
content_type_header = helpers.extract_header("Content-Type", r)
print("\nSpace created : ", spacename)
# Save and retain dynamic data for later use
dynamic_vars.spaceid = spaceid
dynamic_vars.spacename = spacename
dynamic_vars.spacelink = spacelink
# Validate the response
assert r.status_code == 201
assert content_type_header == request_detail.content_type_default
assert helpers.extract_value("data.type", r) == 'spaces'
def test_get_space_details(self):
# Design the URL
api = "api/spaces/" + spaceid
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Validate the response
assert r.status_code == 200
assert helpers.extract_header("Content-Type", r) == request_detail.content_type_default
assert helpers.extract_value("data.type", r) == "spaces"
assert helpers.extract_value("data.attributes.name", r) == spacename
def test_enable_experimental_features(self):
# Design the URL
api = "api/users"
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('enable_experimental.json', replace={'$loggedin_user_id': dynamic_vars.userid})
# Make the request
r = req.patch(url, headers=request_detail.headers_default, json=f)
# Validate the response
assert r.status_code == 200
class TestClass_CreateAreas(object):
def test_get_parent_area(self):
# Design the URL
api = "api/spaces/" + spaceid + "/areas"
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Analyze the response
dynamic_vars.parent_area_id = helpers.extract_value("data[0].id", r)
dynamic_vars.parent_area_name = helpers.extract_value("data[0].attributes.name", r)
# Validate the response
r.raise_for_status()
@pytest.mark.parametrize("area_name", helpers.generate_entity_names("Area", 2))
def test_create_child_areas(self, area_name):
# Design the URL
api = "api/areas/" + dynamic_vars.parent_area_id
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('create_child_area.json', replace={'$area_name_generated': area_name})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
dynamic_vars.area_names_to_ids[area_name] = helpers.extract_value("data.id", r)
# Validate the response
assert r.status_code == 201
class TestClass_CreateIterations(object):
def test_get_root_iter(self):
# Design the URL
api = "api/spaces/" + spaceid + "/iterations"
url = launch_detail.create_url(api)
# Make the request
r = req.get(url, headers=request_detail.headers_default)
# Analyze the response
dynamic_vars.parent_iteration_id = helpers.extract_value("data[0].id", r)
dynamic_vars.parent_iteration_name = helpers.extract_value("data[0].attributes.name", r)
# Validate the response
r.raise_for_status()
@pytest.mark.parametrize("iter_name", helpers.generate_entity_names("Iteration", 2, True, reset_counter=True))
def test_create_child_iters(self, iter_name):
# Design the URL
api = "api/iterations/" + dynamic_vars.parent_iteration_id
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('create_child_iteration.json', replace={'$iteration_name_generated': iter_name, '$spaceid': spaceid})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
dynamic_vars.iteration_names_to_ids[iter_name] = helpers.extract_value("data.id", r)
# Validate the response
assert r.status_code == 201
@pytest.mark.parametrize("iter_name", helpers.generate_entity_names("Iteration1", 1, True, reset_counter=True))
def test_create_nested_iters(self, iter_name):
# Design the URL
api = "api/iterations/" + dynamic_vars.iteration_names_to_ids[workitem_constants.iteration_1]
url = launch_detail.create_url(api)
f = helpers.read_post_data_file('create_child_iteration.json', replace={'$iteration_name_generated': iter_name, '$spaceid': spaceid})
# Make the request
r = req.post(url, headers=request_detail.headers_default, json=f)
# Analyze the response
dynamic_vars.nested_iters_names_to_ids[iter_name] = helpers.extract_value("data.id", r)
# Validate the response
assert r.status_code == 201
# Workitem related tests follows::::::::
class TestClass_CreateWorkitems(object):
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1, reset_counter=True))
def test_create_backlog_themes(self, wi_name):
r = helpers.create_workitem_SCRUM(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypetheme)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem. If label doen't exist, add one
try:
unused = dynamic_vars.labels_names_to_ids[workitem_constants.label_1]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_1] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_1, label_id=None)
r.raise_for_status()
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_epics(self, wi_name):
r = helpers.create_workitem_SCRUM(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypeepic)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem. If label doen't exist, add one
try:
unused = dynamic_vars.labels_names_to_ids[workitem_constants.label_2]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_2] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=None)
r.raise_for_status()
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_story(self, wi_name):
r = helpers.create_workitem_SCRUM(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypestory)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem
try:
used = dynamic_vars.labels_names_to_ids[workitem_constants.label_2]
if used:
r = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=used)[0]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_2] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=None)
finally:
r.raise_for_status()
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_defects(self, wi_name):
r = helpers.create_workitem_SCRUM(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypedefect)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem
try:
used = dynamic_vars.labels_names_to_ids[workitem_constants.label_2]
if used:
r = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=used)[0]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_2] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=None)
finally:
r.raise_for_status()
@pytest.mark.parametrize("wi_name", helpers.generate_entity_names("Workitem_Title", 1))
def test_create_backlog_tasks(self, wi_name):
r = helpers.create_workitem_SCRUM(title=wi_name, spaceid=dynamic_vars.spaceid, witype=workitem_constants.witypetask1)
# Add a couple of comments to the workitem
helpers.add_workitem_comment(dynamic_vars.wi_names_to_links[wi_name], workitem_constants.comment_1_text)
# Add a label to the workitem
try:
used = dynamic_vars.labels_names_to_ids[workitem_constants.label_2]
if used:
r = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=used)[0]
except KeyError:
r, dynamic_vars.labels_names_to_ids[workitem_constants.label_2] = helpers.add_workitem_label(workitem_link=dynamic_vars.wi_names_to_links[wi_name], label_text=workitem_constants.label_2, label_id=None)
finally:
r.raise_for_status()
class TestClass_Teardown(object):
def test_teardown(self, cleanup):
import os
import json
end_time = time.time()
launch_detail.launch_details_dict["space_name_scrum"] = dynamic_vars.spacename
launch_detail.launch_details_dict["space_id_scrum"] = dynamic_vars.spaceid
launch_detail.launch_details_dict["space_link_scrum"] = dynamic_vars.spacelink
try:
curr_dir = os.path.dirname(__file__)
filepath = os.path.join(curr_dir, '..', 'launch_info_dump.json')
with open(filepath, 'w') as f:
json.dump(launch_detail.launch_details_dict, f, sort_keys=True, indent=4)
except Exception:
print("Exception creating launch_info_dump.json")
if cleanup:
print("\nSpace deleted : %s" % dynamic_vars.spacename)
r = helpers.delete_space(dynamic_vars.spaceid)
assert r.status_code == 200
global start_time
print("\n\nTotal time taken: %s seconds" % int((end_time - start_time)))
print("\n+++++++++++++++++ Planner API Tests Complete +++++++++++++++")
| 56.566116 | 244 | 0.663306 | 3,398 | 27,378 | 5.015892 | 0.070041 | 0.063893 | 0.035672 | 0.043182 | 0.918505 | 0.907123 | 0.891164 | 0.885884 | 0.869573 | 0.869573 | 0 | 0.006016 | 0.247096 | 27,378 | 483 | 245 | 56.68323 | 0.820841 | 0.084082 | 0 | 0.79822 | 0 | 0 | 0.101673 | 0.0273 | 0 | 0 | 0 | 0 | 0.083086 | 1 | 0.089021 | false | 0 | 0.026706 | 0 | 0.154303 | 0.047478 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f580089315a404e4045bb26f343126afa2f3ace7 | 4,355 | py | Python | tests/test_users.py | abadojack/StackOverflow-lite | ce709190428097e2b7356c1407276829d5c68402 | [
"MIT"
] | 2 | 2019-01-30T18:48:14.000Z | 2020-05-14T08:17:55.000Z | tests/test_users.py | abadojack/StackOverflow-lite | ce709190428097e2b7356c1407276829d5c68402 | [
"MIT"
] | 5 | 2018-08-24T05:10:55.000Z | 2018-08-31T00:59:09.000Z | tests/test_users.py | abadojack/StackOverflow-lite | ce709190428097e2b7356c1407276829d5c68402 | [
"MIT"
] | 2 | 2019-01-07T17:23:02.000Z | 2019-01-30T18:48:17.000Z | import json
from . import BaseTest
class TestUsers(BaseTest):
def test_sign_up_success(self):
res = self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='test@gmail.com', username='test', password='password')),
content_type='application/json')
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 201)
self.assertEqual(res.content_type, 'application/json')
self.assertEqual(resp_data['response'], 'user created successfully')
def test_sign_up_empty_email(self):
res = self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='', username='test', password='password')),
content_type='application/json')
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 400)
self.assertEqual(resp_data['response'], 'invalid email')
def test_sign_up_invalid_email(self):
res = self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='mail', username='test', password='password')),
content_type='application/json')
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 400)
self.assertEqual(resp_data['response'], 'invalid email')
def test_sign_up_no_email(self):
res = self.client().post('api/v1/auth/signup', data=json.dumps(
dict(username='test', password='password')),
content_type='application/json')
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 400)
self.assertEqual(resp_data['response'], 'json body must contain username, password and email')
def test_sign_up_empty_username(self):
res = self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='test@gmail.com', username='', password='password')),
content_type='application/json')
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 400)
self.assertEqual(resp_data['response'], 'invalid username')
def test_sign_up_empty_password(self):
res = self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='test@gmail.com', username='test', password='')),
content_type='application/json')
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 400)
self.assertEqual(resp_data['response'], 'password must contain 6 or more characters')
def test_login_success(self):
# sign up new user
self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='test@gmail.com', username='test', password='password')),
content_type='application/json')
res_login = self.client().post('api/v1/auth/login', data=json.dumps(
dict(username='test', password='password')),
content_type='application/json')
resp_data = json.loads(res_login.data.decode())
self.assertTrue(resp_data['token'])
self.assertEqual(res_login.status_code, 200)
self.assertEqual(res_login.content_type, 'application/json')
self.assertEqual(resp_data['response'], 'login successful')
def test_sign_out_success(self):
# sign up new user
self.client().post('api/v1/auth/signup', data=json.dumps(
dict(email='test@gmail.com', username='test', password='password')),
content_type='application/json')
# log in the user
res_login = self.client().post('api/v1/auth/login', data=json.dumps(
dict(username='test', password='password')),
content_type='application/json')
token = json.loads(res_login.data.decode())["token"]
res = self.client().post('api/v1/auth/signout', content_type='application/json', headers=dict(token=token))
resp_data = json.loads(res.data.decode())
self.assertEqual(res.status_code, 200)
self.assertEqual(res.content_type, 'application/json')
self.assertEqual(resp_data['response'], 'signed out')
| 48.388889 | 115 | 0.616303 | 518 | 4,355 | 5.040541 | 0.129344 | 0.109154 | 0.117962 | 0.13941 | 0.851398 | 0.828801 | 0.799694 | 0.789736 | 0.789736 | 0.767905 | 0 | 0.010873 | 0.239724 | 4,355 | 89 | 116 | 48.932584 | 0.777711 | 0.011251 | 0 | 0.591549 | 0 | 0 | 0.200604 | 0 | 0 | 0 | 0 | 0 | 0.28169 | 1 | 0.112676 | false | 0.183099 | 0.028169 | 0 | 0.15493 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 7 |
1932f44445a75a35f9ad2b2c6f5730fd6a24a420 | 9,210 | py | Python | articles code reproduction/DeepGBM/train_models.py | iloncka/neurotrees | ddb52dc0e7ac1cf67a426b401ba06149807e03ec | [
"MIT"
] | null | null | null | articles code reproduction/DeepGBM/train_models.py | iloncka/neurotrees | ddb52dc0e7ac1cf67a426b401ba06149807e03ec | [
"MIT"
] | null | null | null | articles code reproduction/DeepGBM/train_models.py | iloncka/neurotrees | ddb52dc0e7ac1cf67a426b401ba06149807e03ec | [
"MIT"
] | 2 | 2021-12-19T15:16:49.000Z | 2022-01-15T14:29:06.000Z | from models.components import *
from models.deepgbm import *
from helper import *
from tqdm import tqdm
import pdb
import torch
import gc
def train_GBDT2NN(args, num_data, plot_title, key="", trained_gbdt_model=None):
tree_layers = [int(x) for x in args.tree_layers.split(',')]
train_x, train_y, test_x, test_y = num_data
if trained_gbdt_model:
gbm, train_tree_pred = trained_gbdt_model
else:
gbm, train_tree_pred = TrainGBDT(train_x, train_y, test_x, test_y, args.tree_lr, args.ntrees, args.maxleaf, args.mindata, args.task)
gbms = SubGBDTLeaf_cls(train_x, test_x, gbm, args.maxleaf, num_slices=args.nslices, args = args)
min_len_features = train_x.shape[1]
used_features = []
tree_outputs = []
leaf_preds = []
test_leaf_preds = []
n_output = train_y.shape[1]
max_ntree_per_split = 0
group_average = []
for used_feature, new_train_y, leaf_pred, test_leaf_pred, avg, all_avg in gbms:
used_features.append(used_feature)
min_len_features = min(min_len_features, len(used_feature))
tree_outputs.append(new_train_y)
leaf_preds.append(leaf_pred)
test_leaf_preds.append(test_leaf_pred)
group_average.append(avg)
max_ntree_per_split = max(max_ntree_per_split, leaf_pred.shape[1])
for i in range(len(used_features)):
used_features[i] = sorted(used_features[i][:min_len_features])
n_models = len(used_features)
group_average = np.asarray(group_average).reshape(n_models, 1, 1)
for i in range(n_models):
if leaf_preds[i].shape[1] < max_ntree_per_split:
leaf_preds[i] = np.concatenate([leaf_preds[i] + 1,
np.zeros([leaf_preds[i].shape[0],
max_ntree_per_split-leaf_preds[i].shape[1]],
dtype=np.int32)], axis=1)
test_leaf_preds[i] = np.concatenate([test_leaf_preds[i] + 1,
np.zeros([test_leaf_preds[i].shape[0],
max_ntree_per_split-test_leaf_preds[i].shape[1]],
dtype=np.int32)], axis=1)
leaf_preds = np.concatenate(leaf_preds, axis=1)
test_leaf_preds = np.concatenate(test_leaf_preds, axis=1)
emb_model = EmbeddingModel(n_models, max_ntree_per_split, args.embsize, args.maxleaf+1, n_output, group_average, task=args.task).to(device)
tree_layers.append(args.embsize)
opt = AdamW(emb_model.parameters(), lr=args.emb_lr, weight_decay=args.l2_reg)
tree_outputs = np.asarray(tree_outputs).reshape((n_models, leaf_preds.shape[0])).transpose((1,0))
TrainWithLog(args, plot_title, leaf_preds, train_y, tree_outputs,
test_leaf_preds, test_y, emb_model, opt,
args.emb_epoch, args.batch_size, n_output, key+"emb-")
output_w = emb_model.bout.weight.data.cpu().numpy().reshape(n_models*args.embsize, n_output)
output_b = np.array(emb_model.bout.bias.data.cpu().numpy().sum())
train_embs = GetEmbPred(emb_model, emb_model.lastlayer, leaf_preds, args.test_batch_size)
del tree_outputs, leaf_preds, test_leaf_preds
gc.collect()
concate_train_x = np.concatenate([train_x, np.zeros((train_x.shape[0],1), dtype=np.float32)], axis=-1)
concate_test_x = np.concatenate([test_x, np.zeros((test_x.shape[0],1), dtype=np.float32)], axis=-1)
tree_outputs = train_embs
for seed in args.seeds:
np.random.seed(seed)
torch.cuda.manual_seed_all(seed)
gbdt2nn_model = GBDT2NN(concate_train_x.shape[1],
np.asarray(used_features,dtype=np.int64),
tree_layers,
output_w, output_b, args.task).to(device)
opt = AdamW(gbdt2nn_model.parameters(), lr=args.lr, weight_decay=args.l2_reg, amsgrad=False)
TrainWithLog(args, plot_title+'seed'+str(seed), concate_train_x, train_y, tree_outputs,
concate_test_x, test_y, gbdt2nn_model, opt,
args.max_epoch, args.batch_size, n_output, key)
_,pred_y = EvalTestset(concate_test_x, test_y, gbdt2nn_model, args.test_batch_size)
metric = eval_metrics(args.task, test_y, pred_y)
print('Final metrics: %s'%str(metric))
return gbdt2nn_model, opt, metric
def train_DEEPGBM(args, num_data, cate_data, plot_title, key="", trained_gbdt_model=None):
tree_layers = [int(x) for x in args.tree_layers.split(',')]
cate_layers = [int(x) for x in args.cate_layers.split(',')]
train_x, train_y, test_x, test_y = num_data
if trained_gbdt_model:
gbm, train_tree_pred = trained_gbdt_model
else:
gbm, train_tree_pred = TrainGBDT(train_x, train_y, test_x, test_y, args.tree_lr, args.ntrees, args.maxleaf, args.mindata, args.task)
gbms = SubGBDTLeaf_cls(train_x, test_x, gbm, args.maxleaf, num_slices=args.nslices, args = args)
min_len_features = train_x.shape[1]
used_features = []
tree_outputs = []
leaf_preds = []
test_leaf_preds = []
n_output = train_y.shape[1]
max_ntree_per_split = 0
group_average = []
for used_feature, new_train_y, leaf_pred, test_leaf_pred, avg, all_avg in gbms:
used_features.append(used_feature)
min_len_features = min(min_len_features, len(used_feature))
tree_outputs.append(new_train_y)
leaf_preds.append(leaf_pred)
test_leaf_preds.append(test_leaf_pred)
group_average.append(avg)
max_ntree_per_split = max(max_ntree_per_split, leaf_pred.shape[1])
for i in range(len(used_features)):
used_features[i] = sorted(used_features[i][:min_len_features])
n_models = len(used_features)
group_average = np.asarray(group_average).reshape(n_models, 1, 1)
for i in range(n_models):
if leaf_preds[i].shape[1] < max_ntree_per_split:
leaf_preds[i] = np.concatenate([leaf_preds[i] + 1,
np.zeros([leaf_preds[i].shape[0],
max_ntree_per_split-leaf_preds[i].shape[1]],
dtype=np.int32)], axis=1)
test_leaf_preds[i] = np.concatenate([test_leaf_preds[i] + 1,
np.zeros([test_leaf_preds[i].shape[0],
max_ntree_per_split-test_leaf_preds[i].shape[1]],
dtype=np.int32)], axis=1)
leaf_preds = np.concatenate(leaf_preds, axis=1)
test_leaf_preds = np.concatenate(test_leaf_preds, axis=1)
emb_model = EmbeddingModel(n_models, max_ntree_per_split, args.embsize, args.maxleaf+1, n_output, group_average, task=args.task).to(device)
tree_layers.append(args.embsize)
opt = AdamW(emb_model.parameters(), lr=args.emb_lr, weight_decay=args.l2_reg)
tree_outputs = np.asarray(tree_outputs).reshape((n_models, leaf_preds.shape[0])).transpose((1,0))
TrainWithLog(args, plot_title, leaf_preds, train_y, tree_outputs,
test_leaf_preds, test_y, emb_model, opt,
args.emb_epoch, args.batch_size, n_output, key+"emb-")
output_w = emb_model.bout.weight.data.cpu().numpy().reshape(n_models*args.embsize, n_output)
output_b = np.array(emb_model.bout.bias.data.cpu().numpy().sum())
train_embs = GetEmbPred(emb_model, emb_model.lastlayer, leaf_preds, args.test_batch_size)
del tree_outputs, leaf_preds, test_leaf_preds
gc.collect()
tree_outputs = train_embs
# cate_model dataset loading
train, test = cate_data
train_xc, _, feature_sizes = train
test_xc, _, _ = test
field_size = train_xc.shape[1]
concate_train_x = np.concatenate([train_x, np.zeros((train_x.shape[0],1), dtype=np.float32)], axis=-1)
concate_test_x = np.concatenate([test_x, np.zeros((test_x.shape[0],1), dtype=np.float32)], axis=-1)
del train_x, test_x
gc.collect()
for seed in args.seeds:
np.random.seed(seed)
torch.cuda.manual_seed_all(seed)
deepgbm_model = DeepGBM(concate_train_x.shape[1],np.asarray(used_features,dtype=np.int64),
tree_layers, output_w, output_b, args.task,
field_size, feature_sizes,
embedding_size=args.embsize).to(device)
opt = AdamW(deepgbm_model.parameters(), lr=args.lr, weight_decay=args.l2_reg, amsgrad=False, model_decay_opt=deepgbm_model, weight_decay_opt=args.l2_reg_opt, key_opt='deepfm')
TrainWithLog(args, plot_title+'seed'+str(seed), concate_train_x, train_y, tree_outputs,
concate_test_x, test_y, deepgbm_model, opt,
args.max_epoch, args.batch_size, n_output, key,
train_x_opt=train_xc, test_x_opt=test_xc)
_,pred_y = EvalTestset(concate_test_x, test_y, deepgbm_model, args.test_batch_size, test_x_opt=test_xc)
metric = eval_metrics(args.task, test_y, pred_y)
print('Final metrics: %s'%str(metric))
return deepgbm_model, opt, metric | 57.204969 | 183 | 0.646906 | 1,325 | 9,210 | 4.165283 | 0.103396 | 0.075014 | 0.04711 | 0.040587 | 0.894909 | 0.883675 | 0.883675 | 0.873165 | 0.861207 | 0.861207 | 0 | 0.012731 | 0.240934 | 9,210 | 161 | 184 | 57.204969 | 0.776713 | 0.002823 | 0 | 0.780645 | 0 | 0 | 0.006425 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012903 | false | 0 | 0.045161 | 0 | 0.070968 | 0.012903 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
193766c2ec91ad26f81f9f3e162634967a682075 | 45,600 | py | Python | pypy/objspace/std/test/startswith.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2021-06-02T23:02:09.000Z | 2021-06-02T23:02:09.000Z | pypy/objspace/std/test/startswith.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2021-03-30T18:08:41.000Z | 2021-03-30T18:08:41.000Z | pypy/objspace/std/test/startswith.py | olliemath/pypy | 8b873bd0b8bf76075aba3d915c260789f26f5788 | [
"Apache-2.0",
"OpenSSL"
] | 1 | 2022-03-30T11:42:37.000Z | 2022-03-30T11:42:37.000Z | # # This file is generated by running the following code on top of the
# # target version of CPython:
#
# import sys
# with open(sys.argv[0]) as f:
# for line in f:
# print('# ' + line.rstrip())
#
# ranges = [None] + list(range(-4, 5))
#
# print('')
# print('def check(s1, s2, start, end, bitmask):')
# print(' b1 = bytes(s1, "ascii")')
# print(' b2 = bytes(s2, "ascii")')
# print(' a1 = bytearray(s1, "ascii")')
# print(' a2 = bytearray(s2, "ascii")')
# print(' assert s1.startswith(s2, start, end) == ((bitmask & 1) != 0)')
# print(' assert b1.startswith(b2, start, end) == ((bitmask & 2) != 0)')
# print(' assert a1.startswith(a2, start, end) == ((bitmask & 4) != 0)')
# print(' assert s1.endswith(s2, start, end) == ((bitmask & 8) != 0)')
# print(' assert b1.endswith(b2, start, end) == ((bitmask & 16) != 0)')
# print(' assert a1.endswith(a2, start, end) == ((bitmask & 32) != 0)')
# print('')
# for len1 in range(0, 4):
# s1 = ''.join(chr(48+n) for n in range(len1))
# for len2 in range(0, 4):
# for start in ranges:
# for end in ranges:
# s2 = s1[start:end]
# r = 0
# b1 = bytes(s1, 'ascii')
# b2 = bytes(s2, 'ascii')
# a1 = bytearray(s1, 'ascii')
# a2 = bytearray(s2, 'ascii')
# if s1.startswith(s2, start, end): r |= 1
# if b1.startswith(b2, start, end): r |= 2
# if a1.startswith(a2, start, end): r |= 4
# if s1.endswith(s2, start, end): r |= 8
# if b1.endswith(b2, start, end): r |= 16
# if a1.endswith(a2, start, end): r |= 32
# line = 'check(%r, %r, %r, %r, %d)' % (s1, s2, start, end, r)
# if r != 0 and r != 63:
# line += ' # IRREGULAR'
# print(line)
def check(s1, s2, start, end, bitmask):
b1 = bytes(s1, "ascii")
b2 = bytes(s2, "ascii")
a1 = bytearray(s1, "ascii")
a2 = bytearray(s2, "ascii")
assert s1.startswith(s2, start, end) == ((bitmask & 1) != 0)
assert b1.startswith(b2, start, end) == ((bitmask & 2) != 0)
assert a1.startswith(a2, start, end) == ((bitmask & 4) != 0)
assert s1.endswith(s2, start, end) == ((bitmask & 8) != 0)
assert b1.endswith(b2, start, end) == ((bitmask & 16) != 0)
assert a1.endswith(a2, start, end) == ((bitmask & 32) != 0)
check('', '', None, None, 63)
check('', '', None, -4, 63)
check('', '', None, -3, 63)
check('', '', None, -2, 63)
check('', '', None, -1, 63)
check('', '', None, 0, 63)
check('', '', None, 1, 63)
check('', '', None, 2, 63)
check('', '', None, 3, 63)
check('', '', None, 4, 63)
check('', '', -4, None, 63)
check('', '', -4, -4, 63)
check('', '', -4, -3, 63)
check('', '', -4, -2, 63)
check('', '', -4, -1, 63)
check('', '', -4, 0, 63)
check('', '', -4, 1, 63)
check('', '', -4, 2, 63)
check('', '', -4, 3, 63)
check('', '', -4, 4, 63)
check('', '', -3, None, 63)
check('', '', -3, -4, 63)
check('', '', -3, -3, 63)
check('', '', -3, -2, 63)
check('', '', -3, -1, 63)
check('', '', -3, 0, 63)
check('', '', -3, 1, 63)
check('', '', -3, 2, 63)
check('', '', -3, 3, 63)
check('', '', -3, 4, 63)
check('', '', -2, None, 63)
check('', '', -2, -4, 63)
check('', '', -2, -3, 63)
check('', '', -2, -2, 63)
check('', '', -2, -1, 63)
check('', '', -2, 0, 63)
check('', '', -2, 1, 63)
check('', '', -2, 2, 63)
check('', '', -2, 3, 63)
check('', '', -2, 4, 63)
check('', '', -1, None, 63)
check('', '', -1, -4, 63)
check('', '', -1, -3, 63)
check('', '', -1, -2, 63)
check('', '', -1, -1, 63)
check('', '', -1, 0, 63)
check('', '', -1, 1, 63)
check('', '', -1, 2, 63)
check('', '', -1, 3, 63)
check('', '', -1, 4, 63)
check('', '', 0, None, 63)
check('', '', 0, -4, 63)
check('', '', 0, -3, 63)
check('', '', 0, -2, 63)
check('', '', 0, -1, 63)
check('', '', 0, 0, 63)
check('', '', 0, 1, 63)
check('', '', 0, 2, 63)
check('', '', 0, 3, 63)
check('', '', 0, 4, 63)
check('', '', 1, None, 0)
check('', '', 1, -4, 0)
check('', '', 1, -3, 0)
check('', '', 1, -2, 0)
check('', '', 1, -1, 0)
check('', '', 1, 0, 0)
check('', '', 1, 1, 0)
check('', '', 1, 2, 0)
check('', '', 1, 3, 0)
check('', '', 1, 4, 0)
check('', '', 2, None, 0)
check('', '', 2, -4, 0)
check('', '', 2, -3, 0)
check('', '', 2, -2, 0)
check('', '', 2, -1, 0)
check('', '', 2, 0, 0)
check('', '', 2, 1, 0)
check('', '', 2, 2, 0)
check('', '', 2, 3, 0)
check('', '', 2, 4, 0)
check('', '', 3, None, 0)
check('', '', 3, -4, 0)
check('', '', 3, -3, 0)
check('', '', 3, -2, 0)
check('', '', 3, -1, 0)
check('', '', 3, 0, 0)
check('', '', 3, 1, 0)
check('', '', 3, 2, 0)
check('', '', 3, 3, 0)
check('', '', 3, 4, 0)
check('', '', 4, None, 0)
check('', '', 4, -4, 0)
check('', '', 4, -3, 0)
check('', '', 4, -2, 0)
check('', '', 4, -1, 0)
check('', '', 4, 0, 0)
check('', '', 4, 1, 0)
check('', '', 4, 2, 0)
check('', '', 4, 3, 0)
check('', '', 4, 4, 0)
check('', '', None, None, 63)
check('', '', None, -4, 63)
check('', '', None, -3, 63)
check('', '', None, -2, 63)
check('', '', None, -1, 63)
check('', '', None, 0, 63)
check('', '', None, 1, 63)
check('', '', None, 2, 63)
check('', '', None, 3, 63)
check('', '', None, 4, 63)
check('', '', -4, None, 63)
check('', '', -4, -4, 63)
check('', '', -4, -3, 63)
check('', '', -4, -2, 63)
check('', '', -4, -1, 63)
check('', '', -4, 0, 63)
check('', '', -4, 1, 63)
check('', '', -4, 2, 63)
check('', '', -4, 3, 63)
check('', '', -4, 4, 63)
check('', '', -3, None, 63)
check('', '', -3, -4, 63)
check('', '', -3, -3, 63)
check('', '', -3, -2, 63)
check('', '', -3, -1, 63)
check('', '', -3, 0, 63)
check('', '', -3, 1, 63)
check('', '', -3, 2, 63)
check('', '', -3, 3, 63)
check('', '', -3, 4, 63)
check('', '', -2, None, 63)
check('', '', -2, -4, 63)
check('', '', -2, -3, 63)
check('', '', -2, -2, 63)
check('', '', -2, -1, 63)
check('', '', -2, 0, 63)
check('', '', -2, 1, 63)
check('', '', -2, 2, 63)
check('', '', -2, 3, 63)
check('', '', -2, 4, 63)
check('', '', -1, None, 63)
check('', '', -1, -4, 63)
check('', '', -1, -3, 63)
check('', '', -1, -2, 63)
check('', '', -1, -1, 63)
check('', '', -1, 0, 63)
check('', '', -1, 1, 63)
check('', '', -1, 2, 63)
check('', '', -1, 3, 63)
check('', '', -1, 4, 63)
check('', '', 0, None, 63)
check('', '', 0, -4, 63)
check('', '', 0, -3, 63)
check('', '', 0, -2, 63)
check('', '', 0, -1, 63)
check('', '', 0, 0, 63)
check('', '', 0, 1, 63)
check('', '', 0, 2, 63)
check('', '', 0, 3, 63)
check('', '', 0, 4, 63)
check('', '', 1, None, 0)
check('', '', 1, -4, 0)
check('', '', 1, -3, 0)
check('', '', 1, -2, 0)
check('', '', 1, -1, 0)
check('', '', 1, 0, 0)
check('', '', 1, 1, 0)
check('', '', 1, 2, 0)
check('', '', 1, 3, 0)
check('', '', 1, 4, 0)
check('', '', 2, None, 0)
check('', '', 2, -4, 0)
check('', '', 2, -3, 0)
check('', '', 2, -2, 0)
check('', '', 2, -1, 0)
check('', '', 2, 0, 0)
check('', '', 2, 1, 0)
check('', '', 2, 2, 0)
check('', '', 2, 3, 0)
check('', '', 2, 4, 0)
check('', '', 3, None, 0)
check('', '', 3, -4, 0)
check('', '', 3, -3, 0)
check('', '', 3, -2, 0)
check('', '', 3, -1, 0)
check('', '', 3, 0, 0)
check('', '', 3, 1, 0)
check('', '', 3, 2, 0)
check('', '', 3, 3, 0)
check('', '', 3, 4, 0)
check('', '', 4, None, 0)
check('', '', 4, -4, 0)
check('', '', 4, -3, 0)
check('', '', 4, -2, 0)
check('', '', 4, -1, 0)
check('', '', 4, 0, 0)
check('', '', 4, 1, 0)
check('', '', 4, 2, 0)
check('', '', 4, 3, 0)
check('', '', 4, 4, 0)
check('', '', None, None, 63)
check('', '', None, -4, 63)
check('', '', None, -3, 63)
check('', '', None, -2, 63)
check('', '', None, -1, 63)
check('', '', None, 0, 63)
check('', '', None, 1, 63)
check('', '', None, 2, 63)
check('', '', None, 3, 63)
check('', '', None, 4, 63)
check('', '', -4, None, 63)
check('', '', -4, -4, 63)
check('', '', -4, -3, 63)
check('', '', -4, -2, 63)
check('', '', -4, -1, 63)
check('', '', -4, 0, 63)
check('', '', -4, 1, 63)
check('', '', -4, 2, 63)
check('', '', -4, 3, 63)
check('', '', -4, 4, 63)
check('', '', -3, None, 63)
check('', '', -3, -4, 63)
check('', '', -3, -3, 63)
check('', '', -3, -2, 63)
check('', '', -3, -1, 63)
check('', '', -3, 0, 63)
check('', '', -3, 1, 63)
check('', '', -3, 2, 63)
check('', '', -3, 3, 63)
check('', '', -3, 4, 63)
check('', '', -2, None, 63)
check('', '', -2, -4, 63)
check('', '', -2, -3, 63)
check('', '', -2, -2, 63)
check('', '', -2, -1, 63)
check('', '', -2, 0, 63)
check('', '', -2, 1, 63)
check('', '', -2, 2, 63)
check('', '', -2, 3, 63)
check('', '', -2, 4, 63)
check('', '', -1, None, 63)
check('', '', -1, -4, 63)
check('', '', -1, -3, 63)
check('', '', -1, -2, 63)
check('', '', -1, -1, 63)
check('', '', -1, 0, 63)
check('', '', -1, 1, 63)
check('', '', -1, 2, 63)
check('', '', -1, 3, 63)
check('', '', -1, 4, 63)
check('', '', 0, None, 63)
check('', '', 0, -4, 63)
check('', '', 0, -3, 63)
check('', '', 0, -2, 63)
check('', '', 0, -1, 63)
check('', '', 0, 0, 63)
check('', '', 0, 1, 63)
check('', '', 0, 2, 63)
check('', '', 0, 3, 63)
check('', '', 0, 4, 63)
check('', '', 1, None, 0)
check('', '', 1, -4, 0)
check('', '', 1, -3, 0)
check('', '', 1, -2, 0)
check('', '', 1, -1, 0)
check('', '', 1, 0, 0)
check('', '', 1, 1, 0)
check('', '', 1, 2, 0)
check('', '', 1, 3, 0)
check('', '', 1, 4, 0)
check('', '', 2, None, 0)
check('', '', 2, -4, 0)
check('', '', 2, -3, 0)
check('', '', 2, -2, 0)
check('', '', 2, -1, 0)
check('', '', 2, 0, 0)
check('', '', 2, 1, 0)
check('', '', 2, 2, 0)
check('', '', 2, 3, 0)
check('', '', 2, 4, 0)
check('', '', 3, None, 0)
check('', '', 3, -4, 0)
check('', '', 3, -3, 0)
check('', '', 3, -2, 0)
check('', '', 3, -1, 0)
check('', '', 3, 0, 0)
check('', '', 3, 1, 0)
check('', '', 3, 2, 0)
check('', '', 3, 3, 0)
check('', '', 3, 4, 0)
check('', '', 4, None, 0)
check('', '', 4, -4, 0)
check('', '', 4, -3, 0)
check('', '', 4, -2, 0)
check('', '', 4, -1, 0)
check('', '', 4, 0, 0)
check('', '', 4, 1, 0)
check('', '', 4, 2, 0)
check('', '', 4, 3, 0)
check('', '', 4, 4, 0)
check('', '', None, None, 63)
check('', '', None, -4, 63)
check('', '', None, -3, 63)
check('', '', None, -2, 63)
check('', '', None, -1, 63)
check('', '', None, 0, 63)
check('', '', None, 1, 63)
check('', '', None, 2, 63)
check('', '', None, 3, 63)
check('', '', None, 4, 63)
check('', '', -4, None, 63)
check('', '', -4, -4, 63)
check('', '', -4, -3, 63)
check('', '', -4, -2, 63)
check('', '', -4, -1, 63)
check('', '', -4, 0, 63)
check('', '', -4, 1, 63)
check('', '', -4, 2, 63)
check('', '', -4, 3, 63)
check('', '', -4, 4, 63)
check('', '', -3, None, 63)
check('', '', -3, -4, 63)
check('', '', -3, -3, 63)
check('', '', -3, -2, 63)
check('', '', -3, -1, 63)
check('', '', -3, 0, 63)
check('', '', -3, 1, 63)
check('', '', -3, 2, 63)
check('', '', -3, 3, 63)
check('', '', -3, 4, 63)
check('', '', -2, None, 63)
check('', '', -2, -4, 63)
check('', '', -2, -3, 63)
check('', '', -2, -2, 63)
check('', '', -2, -1, 63)
check('', '', -2, 0, 63)
check('', '', -2, 1, 63)
check('', '', -2, 2, 63)
check('', '', -2, 3, 63)
check('', '', -2, 4, 63)
check('', '', -1, None, 63)
check('', '', -1, -4, 63)
check('', '', -1, -3, 63)
check('', '', -1, -2, 63)
check('', '', -1, -1, 63)
check('', '', -1, 0, 63)
check('', '', -1, 1, 63)
check('', '', -1, 2, 63)
check('', '', -1, 3, 63)
check('', '', -1, 4, 63)
check('', '', 0, None, 63)
check('', '', 0, -4, 63)
check('', '', 0, -3, 63)
check('', '', 0, -2, 63)
check('', '', 0, -1, 63)
check('', '', 0, 0, 63)
check('', '', 0, 1, 63)
check('', '', 0, 2, 63)
check('', '', 0, 3, 63)
check('', '', 0, 4, 63)
check('', '', 1, None, 0)
check('', '', 1, -4, 0)
check('', '', 1, -3, 0)
check('', '', 1, -2, 0)
check('', '', 1, -1, 0)
check('', '', 1, 0, 0)
check('', '', 1, 1, 0)
check('', '', 1, 2, 0)
check('', '', 1, 3, 0)
check('', '', 1, 4, 0)
check('', '', 2, None, 0)
check('', '', 2, -4, 0)
check('', '', 2, -3, 0)
check('', '', 2, -2, 0)
check('', '', 2, -1, 0)
check('', '', 2, 0, 0)
check('', '', 2, 1, 0)
check('', '', 2, 2, 0)
check('', '', 2, 3, 0)
check('', '', 2, 4, 0)
check('', '', 3, None, 0)
check('', '', 3, -4, 0)
check('', '', 3, -3, 0)
check('', '', 3, -2, 0)
check('', '', 3, -1, 0)
check('', '', 3, 0, 0)
check('', '', 3, 1, 0)
check('', '', 3, 2, 0)
check('', '', 3, 3, 0)
check('', '', 3, 4, 0)
check('', '', 4, None, 0)
check('', '', 4, -4, 0)
check('', '', 4, -3, 0)
check('', '', 4, -2, 0)
check('', '', 4, -1, 0)
check('', '', 4, 0, 0)
check('', '', 4, 1, 0)
check('', '', 4, 2, 0)
check('', '', 4, 3, 0)
check('', '', 4, 4, 0)
check('0', '0', None, None, 63)
check('0', '', None, -4, 63)
check('0', '', None, -3, 63)
check('0', '', None, -2, 63)
check('0', '', None, -1, 63)
check('0', '', None, 0, 63)
check('0', '0', None, 1, 63)
check('0', '0', None, 2, 63)
check('0', '0', None, 3, 63)
check('0', '0', None, 4, 63)
check('0', '0', -4, None, 63)
check('0', '', -4, -4, 63)
check('0', '', -4, -3, 63)
check('0', '', -4, -2, 63)
check('0', '', -4, -1, 63)
check('0', '', -4, 0, 63)
check('0', '0', -4, 1, 63)
check('0', '0', -4, 2, 63)
check('0', '0', -4, 3, 63)
check('0', '0', -4, 4, 63)
check('0', '0', -3, None, 63)
check('0', '', -3, -4, 63)
check('0', '', -3, -3, 63)
check('0', '', -3, -2, 63)
check('0', '', -3, -1, 63)
check('0', '', -3, 0, 63)
check('0', '0', -3, 1, 63)
check('0', '0', -3, 2, 63)
check('0', '0', -3, 3, 63)
check('0', '0', -3, 4, 63)
check('0', '0', -2, None, 63)
check('0', '', -2, -4, 63)
check('0', '', -2, -3, 63)
check('0', '', -2, -2, 63)
check('0', '', -2, -1, 63)
check('0', '', -2, 0, 63)
check('0', '0', -2, 1, 63)
check('0', '0', -2, 2, 63)
check('0', '0', -2, 3, 63)
check('0', '0', -2, 4, 63)
check('0', '0', -1, None, 63)
check('0', '', -1, -4, 63)
check('0', '', -1, -3, 63)
check('0', '', -1, -2, 63)
check('0', '', -1, -1, 63)
check('0', '', -1, 0, 63)
check('0', '0', -1, 1, 63)
check('0', '0', -1, 2, 63)
check('0', '0', -1, 3, 63)
check('0', '0', -1, 4, 63)
check('0', '0', 0, None, 63)
check('0', '', 0, -4, 63)
check('0', '', 0, -3, 63)
check('0', '', 0, -2, 63)
check('0', '', 0, -1, 63)
check('0', '', 0, 0, 63)
check('0', '0', 0, 1, 63)
check('0', '0', 0, 2, 63)
check('0', '0', 0, 3, 63)
check('0', '0', 0, 4, 63)
check('0', '', 1, None, 63)
check('0', '', 1, -4, 0)
check('0', '', 1, -3, 0)
check('0', '', 1, -2, 0)
check('0', '', 1, -1, 0)
check('0', '', 1, 0, 0)
check('0', '', 1, 1, 63)
check('0', '', 1, 2, 63)
check('0', '', 1, 3, 63)
check('0', '', 1, 4, 63)
check('0', '', 2, None, 0)
check('0', '', 2, -4, 0)
check('0', '', 2, -3, 0)
check('0', '', 2, -2, 0)
check('0', '', 2, -1, 0)
check('0', '', 2, 0, 0)
check('0', '', 2, 1, 0)
check('0', '', 2, 2, 0)
check('0', '', 2, 3, 0)
check('0', '', 2, 4, 0)
check('0', '', 3, None, 0)
check('0', '', 3, -4, 0)
check('0', '', 3, -3, 0)
check('0', '', 3, -2, 0)
check('0', '', 3, -1, 0)
check('0', '', 3, 0, 0)
check('0', '', 3, 1, 0)
check('0', '', 3, 2, 0)
check('0', '', 3, 3, 0)
check('0', '', 3, 4, 0)
check('0', '', 4, None, 0)
check('0', '', 4, -4, 0)
check('0', '', 4, -3, 0)
check('0', '', 4, -2, 0)
check('0', '', 4, -1, 0)
check('0', '', 4, 0, 0)
check('0', '', 4, 1, 0)
check('0', '', 4, 2, 0)
check('0', '', 4, 3, 0)
check('0', '', 4, 4, 0)
check('0', '0', None, None, 63)
check('0', '', None, -4, 63)
check('0', '', None, -3, 63)
check('0', '', None, -2, 63)
check('0', '', None, -1, 63)
check('0', '', None, 0, 63)
check('0', '0', None, 1, 63)
check('0', '0', None, 2, 63)
check('0', '0', None, 3, 63)
check('0', '0', None, 4, 63)
check('0', '0', -4, None, 63)
check('0', '', -4, -4, 63)
check('0', '', -4, -3, 63)
check('0', '', -4, -2, 63)
check('0', '', -4, -1, 63)
check('0', '', -4, 0, 63)
check('0', '0', -4, 1, 63)
check('0', '0', -4, 2, 63)
check('0', '0', -4, 3, 63)
check('0', '0', -4, 4, 63)
check('0', '0', -3, None, 63)
check('0', '', -3, -4, 63)
check('0', '', -3, -3, 63)
check('0', '', -3, -2, 63)
check('0', '', -3, -1, 63)
check('0', '', -3, 0, 63)
check('0', '0', -3, 1, 63)
check('0', '0', -3, 2, 63)
check('0', '0', -3, 3, 63)
check('0', '0', -3, 4, 63)
check('0', '0', -2, None, 63)
check('0', '', -2, -4, 63)
check('0', '', -2, -3, 63)
check('0', '', -2, -2, 63)
check('0', '', -2, -1, 63)
check('0', '', -2, 0, 63)
check('0', '0', -2, 1, 63)
check('0', '0', -2, 2, 63)
check('0', '0', -2, 3, 63)
check('0', '0', -2, 4, 63)
check('0', '0', -1, None, 63)
check('0', '', -1, -4, 63)
check('0', '', -1, -3, 63)
check('0', '', -1, -2, 63)
check('0', '', -1, -1, 63)
check('0', '', -1, 0, 63)
check('0', '0', -1, 1, 63)
check('0', '0', -1, 2, 63)
check('0', '0', -1, 3, 63)
check('0', '0', -1, 4, 63)
check('0', '0', 0, None, 63)
check('0', '', 0, -4, 63)
check('0', '', 0, -3, 63)
check('0', '', 0, -2, 63)
check('0', '', 0, -1, 63)
check('0', '', 0, 0, 63)
check('0', '0', 0, 1, 63)
check('0', '0', 0, 2, 63)
check('0', '0', 0, 3, 63)
check('0', '0', 0, 4, 63)
check('0', '', 1, None, 63)
check('0', '', 1, -4, 0)
check('0', '', 1, -3, 0)
check('0', '', 1, -2, 0)
check('0', '', 1, -1, 0)
check('0', '', 1, 0, 0)
check('0', '', 1, 1, 63)
check('0', '', 1, 2, 63)
check('0', '', 1, 3, 63)
check('0', '', 1, 4, 63)
check('0', '', 2, None, 0)
check('0', '', 2, -4, 0)
check('0', '', 2, -3, 0)
check('0', '', 2, -2, 0)
check('0', '', 2, -1, 0)
check('0', '', 2, 0, 0)
check('0', '', 2, 1, 0)
check('0', '', 2, 2, 0)
check('0', '', 2, 3, 0)
check('0', '', 2, 4, 0)
check('0', '', 3, None, 0)
check('0', '', 3, -4, 0)
check('0', '', 3, -3, 0)
check('0', '', 3, -2, 0)
check('0', '', 3, -1, 0)
check('0', '', 3, 0, 0)
check('0', '', 3, 1, 0)
check('0', '', 3, 2, 0)
check('0', '', 3, 3, 0)
check('0', '', 3, 4, 0)
check('0', '', 4, None, 0)
check('0', '', 4, -4, 0)
check('0', '', 4, -3, 0)
check('0', '', 4, -2, 0)
check('0', '', 4, -1, 0)
check('0', '', 4, 0, 0)
check('0', '', 4, 1, 0)
check('0', '', 4, 2, 0)
check('0', '', 4, 3, 0)
check('0', '', 4, 4, 0)
check('0', '0', None, None, 63)
check('0', '', None, -4, 63)
check('0', '', None, -3, 63)
check('0', '', None, -2, 63)
check('0', '', None, -1, 63)
check('0', '', None, 0, 63)
check('0', '0', None, 1, 63)
check('0', '0', None, 2, 63)
check('0', '0', None, 3, 63)
check('0', '0', None, 4, 63)
check('0', '0', -4, None, 63)
check('0', '', -4, -4, 63)
check('0', '', -4, -3, 63)
check('0', '', -4, -2, 63)
check('0', '', -4, -1, 63)
check('0', '', -4, 0, 63)
check('0', '0', -4, 1, 63)
check('0', '0', -4, 2, 63)
check('0', '0', -4, 3, 63)
check('0', '0', -4, 4, 63)
check('0', '0', -3, None, 63)
check('0', '', -3, -4, 63)
check('0', '', -3, -3, 63)
check('0', '', -3, -2, 63)
check('0', '', -3, -1, 63)
check('0', '', -3, 0, 63)
check('0', '0', -3, 1, 63)
check('0', '0', -3, 2, 63)
check('0', '0', -3, 3, 63)
check('0', '0', -3, 4, 63)
check('0', '0', -2, None, 63)
check('0', '', -2, -4, 63)
check('0', '', -2, -3, 63)
check('0', '', -2, -2, 63)
check('0', '', -2, -1, 63)
check('0', '', -2, 0, 63)
check('0', '0', -2, 1, 63)
check('0', '0', -2, 2, 63)
check('0', '0', -2, 3, 63)
check('0', '0', -2, 4, 63)
check('0', '0', -1, None, 63)
check('0', '', -1, -4, 63)
check('0', '', -1, -3, 63)
check('0', '', -1, -2, 63)
check('0', '', -1, -1, 63)
check('0', '', -1, 0, 63)
check('0', '0', -1, 1, 63)
check('0', '0', -1, 2, 63)
check('0', '0', -1, 3, 63)
check('0', '0', -1, 4, 63)
check('0', '0', 0, None, 63)
check('0', '', 0, -4, 63)
check('0', '', 0, -3, 63)
check('0', '', 0, -2, 63)
check('0', '', 0, -1, 63)
check('0', '', 0, 0, 63)
check('0', '0', 0, 1, 63)
check('0', '0', 0, 2, 63)
check('0', '0', 0, 3, 63)
check('0', '0', 0, 4, 63)
check('0', '', 1, None, 63)
check('0', '', 1, -4, 0)
check('0', '', 1, -3, 0)
check('0', '', 1, -2, 0)
check('0', '', 1, -1, 0)
check('0', '', 1, 0, 0)
check('0', '', 1, 1, 63)
check('0', '', 1, 2, 63)
check('0', '', 1, 3, 63)
check('0', '', 1, 4, 63)
check('0', '', 2, None, 0)
check('0', '', 2, -4, 0)
check('0', '', 2, -3, 0)
check('0', '', 2, -2, 0)
check('0', '', 2, -1, 0)
check('0', '', 2, 0, 0)
check('0', '', 2, 1, 0)
check('0', '', 2, 2, 0)
check('0', '', 2, 3, 0)
check('0', '', 2, 4, 0)
check('0', '', 3, None, 0)
check('0', '', 3, -4, 0)
check('0', '', 3, -3, 0)
check('0', '', 3, -2, 0)
check('0', '', 3, -1, 0)
check('0', '', 3, 0, 0)
check('0', '', 3, 1, 0)
check('0', '', 3, 2, 0)
check('0', '', 3, 3, 0)
check('0', '', 3, 4, 0)
check('0', '', 4, None, 0)
check('0', '', 4, -4, 0)
check('0', '', 4, -3, 0)
check('0', '', 4, -2, 0)
check('0', '', 4, -1, 0)
check('0', '', 4, 0, 0)
check('0', '', 4, 1, 0)
check('0', '', 4, 2, 0)
check('0', '', 4, 3, 0)
check('0', '', 4, 4, 0)
check('0', '0', None, None, 63)
check('0', '', None, -4, 63)
check('0', '', None, -3, 63)
check('0', '', None, -2, 63)
check('0', '', None, -1, 63)
check('0', '', None, 0, 63)
check('0', '0', None, 1, 63)
check('0', '0', None, 2, 63)
check('0', '0', None, 3, 63)
check('0', '0', None, 4, 63)
check('0', '0', -4, None, 63)
check('0', '', -4, -4, 63)
check('0', '', -4, -3, 63)
check('0', '', -4, -2, 63)
check('0', '', -4, -1, 63)
check('0', '', -4, 0, 63)
check('0', '0', -4, 1, 63)
check('0', '0', -4, 2, 63)
check('0', '0', -4, 3, 63)
check('0', '0', -4, 4, 63)
check('0', '0', -3, None, 63)
check('0', '', -3, -4, 63)
check('0', '', -3, -3, 63)
check('0', '', -3, -2, 63)
check('0', '', -3, -1, 63)
check('0', '', -3, 0, 63)
check('0', '0', -3, 1, 63)
check('0', '0', -3, 2, 63)
check('0', '0', -3, 3, 63)
check('0', '0', -3, 4, 63)
check('0', '0', -2, None, 63)
check('0', '', -2, -4, 63)
check('0', '', -2, -3, 63)
check('0', '', -2, -2, 63)
check('0', '', -2, -1, 63)
check('0', '', -2, 0, 63)
check('0', '0', -2, 1, 63)
check('0', '0', -2, 2, 63)
check('0', '0', -2, 3, 63)
check('0', '0', -2, 4, 63)
check('0', '0', -1, None, 63)
check('0', '', -1, -4, 63)
check('0', '', -1, -3, 63)
check('0', '', -1, -2, 63)
check('0', '', -1, -1, 63)
check('0', '', -1, 0, 63)
check('0', '0', -1, 1, 63)
check('0', '0', -1, 2, 63)
check('0', '0', -1, 3, 63)
check('0', '0', -1, 4, 63)
check('0', '0', 0, None, 63)
check('0', '', 0, -4, 63)
check('0', '', 0, -3, 63)
check('0', '', 0, -2, 63)
check('0', '', 0, -1, 63)
check('0', '', 0, 0, 63)
check('0', '0', 0, 1, 63)
check('0', '0', 0, 2, 63)
check('0', '0', 0, 3, 63)
check('0', '0', 0, 4, 63)
check('0', '', 1, None, 63)
check('0', '', 1, -4, 0)
check('0', '', 1, -3, 0)
check('0', '', 1, -2, 0)
check('0', '', 1, -1, 0)
check('0', '', 1, 0, 0)
check('0', '', 1, 1, 63)
check('0', '', 1, 2, 63)
check('0', '', 1, 3, 63)
check('0', '', 1, 4, 63)
check('0', '', 2, None, 0)
check('0', '', 2, -4, 0)
check('0', '', 2, -3, 0)
check('0', '', 2, -2, 0)
check('0', '', 2, -1, 0)
check('0', '', 2, 0, 0)
check('0', '', 2, 1, 0)
check('0', '', 2, 2, 0)
check('0', '', 2, 3, 0)
check('0', '', 2, 4, 0)
check('0', '', 3, None, 0)
check('0', '', 3, -4, 0)
check('0', '', 3, -3, 0)
check('0', '', 3, -2, 0)
check('0', '', 3, -1, 0)
check('0', '', 3, 0, 0)
check('0', '', 3, 1, 0)
check('0', '', 3, 2, 0)
check('0', '', 3, 3, 0)
check('0', '', 3, 4, 0)
check('0', '', 4, None, 0)
check('0', '', 4, -4, 0)
check('0', '', 4, -3, 0)
check('0', '', 4, -2, 0)
check('0', '', 4, -1, 0)
check('0', '', 4, 0, 0)
check('0', '', 4, 1, 0)
check('0', '', 4, 2, 0)
check('0', '', 4, 3, 0)
check('0', '', 4, 4, 0)
check('01', '01', None, None, 63)
check('01', '', None, -4, 63)
check('01', '', None, -3, 63)
check('01', '', None, -2, 63)
check('01', '0', None, -1, 63)
check('01', '', None, 0, 63)
check('01', '0', None, 1, 63)
check('01', '01', None, 2, 63)
check('01', '01', None, 3, 63)
check('01', '01', None, 4, 63)
check('01', '01', -4, None, 63)
check('01', '', -4, -4, 63)
check('01', '', -4, -3, 63)
check('01', '', -4, -2, 63)
check('01', '0', -4, -1, 63)
check('01', '', -4, 0, 63)
check('01', '0', -4, 1, 63)
check('01', '01', -4, 2, 63)
check('01', '01', -4, 3, 63)
check('01', '01', -4, 4, 63)
check('01', '01', -3, None, 63)
check('01', '', -3, -4, 63)
check('01', '', -3, -3, 63)
check('01', '', -3, -2, 63)
check('01', '0', -3, -1, 63)
check('01', '', -3, 0, 63)
check('01', '0', -3, 1, 63)
check('01', '01', -3, 2, 63)
check('01', '01', -3, 3, 63)
check('01', '01', -3, 4, 63)
check('01', '01', -2, None, 63)
check('01', '', -2, -4, 63)
check('01', '', -2, -3, 63)
check('01', '', -2, -2, 63)
check('01', '0', -2, -1, 63)
check('01', '', -2, 0, 63)
check('01', '0', -2, 1, 63)
check('01', '01', -2, 2, 63)
check('01', '01', -2, 3, 63)
check('01', '01', -2, 4, 63)
check('01', '1', -1, None, 63)
check('01', '', -1, -4, 0)
check('01', '', -1, -3, 0)
check('01', '', -1, -2, 0)
check('01', '', -1, -1, 63)
check('01', '', -1, 0, 0)
check('01', '', -1, 1, 63)
check('01', '1', -1, 2, 63)
check('01', '1', -1, 3, 63)
check('01', '1', -1, 4, 63)
check('01', '01', 0, None, 63)
check('01', '', 0, -4, 63)
check('01', '', 0, -3, 63)
check('01', '', 0, -2, 63)
check('01', '0', 0, -1, 63)
check('01', '', 0, 0, 63)
check('01', '0', 0, 1, 63)
check('01', '01', 0, 2, 63)
check('01', '01', 0, 3, 63)
check('01', '01', 0, 4, 63)
check('01', '1', 1, None, 63)
check('01', '', 1, -4, 0)
check('01', '', 1, -3, 0)
check('01', '', 1, -2, 0)
check('01', '', 1, -1, 63)
check('01', '', 1, 0, 0)
check('01', '', 1, 1, 63)
check('01', '1', 1, 2, 63)
check('01', '1', 1, 3, 63)
check('01', '1', 1, 4, 63)
check('01', '', 2, None, 63)
check('01', '', 2, -4, 0)
check('01', '', 2, -3, 0)
check('01', '', 2, -2, 0)
check('01', '', 2, -1, 0)
check('01', '', 2, 0, 0)
check('01', '', 2, 1, 0)
check('01', '', 2, 2, 63)
check('01', '', 2, 3, 63)
check('01', '', 2, 4, 63)
check('01', '', 3, None, 0)
check('01', '', 3, -4, 0)
check('01', '', 3, -3, 0)
check('01', '', 3, -2, 0)
check('01', '', 3, -1, 0)
check('01', '', 3, 0, 0)
check('01', '', 3, 1, 0)
check('01', '', 3, 2, 0)
check('01', '', 3, 3, 0)
check('01', '', 3, 4, 0)
check('01', '', 4, None, 0)
check('01', '', 4, -4, 0)
check('01', '', 4, -3, 0)
check('01', '', 4, -2, 0)
check('01', '', 4, -1, 0)
check('01', '', 4, 0, 0)
check('01', '', 4, 1, 0)
check('01', '', 4, 2, 0)
check('01', '', 4, 3, 0)
check('01', '', 4, 4, 0)
check('01', '01', None, None, 63)
check('01', '', None, -4, 63)
check('01', '', None, -3, 63)
check('01', '', None, -2, 63)
check('01', '0', None, -1, 63)
check('01', '', None, 0, 63)
check('01', '0', None, 1, 63)
check('01', '01', None, 2, 63)
check('01', '01', None, 3, 63)
check('01', '01', None, 4, 63)
check('01', '01', -4, None, 63)
check('01', '', -4, -4, 63)
check('01', '', -4, -3, 63)
check('01', '', -4, -2, 63)
check('01', '0', -4, -1, 63)
check('01', '', -4, 0, 63)
check('01', '0', -4, 1, 63)
check('01', '01', -4, 2, 63)
check('01', '01', -4, 3, 63)
check('01', '01', -4, 4, 63)
check('01', '01', -3, None, 63)
check('01', '', -3, -4, 63)
check('01', '', -3, -3, 63)
check('01', '', -3, -2, 63)
check('01', '0', -3, -1, 63)
check('01', '', -3, 0, 63)
check('01', '0', -3, 1, 63)
check('01', '01', -3, 2, 63)
check('01', '01', -3, 3, 63)
check('01', '01', -3, 4, 63)
check('01', '01', -2, None, 63)
check('01', '', -2, -4, 63)
check('01', '', -2, -3, 63)
check('01', '', -2, -2, 63)
check('01', '0', -2, -1, 63)
check('01', '', -2, 0, 63)
check('01', '0', -2, 1, 63)
check('01', '01', -2, 2, 63)
check('01', '01', -2, 3, 63)
check('01', '01', -2, 4, 63)
check('01', '1', -1, None, 63)
check('01', '', -1, -4, 0)
check('01', '', -1, -3, 0)
check('01', '', -1, -2, 0)
check('01', '', -1, -1, 63)
check('01', '', -1, 0, 0)
check('01', '', -1, 1, 63)
check('01', '1', -1, 2, 63)
check('01', '1', -1, 3, 63)
check('01', '1', -1, 4, 63)
check('01', '01', 0, None, 63)
check('01', '', 0, -4, 63)
check('01', '', 0, -3, 63)
check('01', '', 0, -2, 63)
check('01', '0', 0, -1, 63)
check('01', '', 0, 0, 63)
check('01', '0', 0, 1, 63)
check('01', '01', 0, 2, 63)
check('01', '01', 0, 3, 63)
check('01', '01', 0, 4, 63)
check('01', '1', 1, None, 63)
check('01', '', 1, -4, 0)
check('01', '', 1, -3, 0)
check('01', '', 1, -2, 0)
check('01', '', 1, -1, 63)
check('01', '', 1, 0, 0)
check('01', '', 1, 1, 63)
check('01', '1', 1, 2, 63)
check('01', '1', 1, 3, 63)
check('01', '1', 1, 4, 63)
check('01', '', 2, None, 63)
check('01', '', 2, -4, 0)
check('01', '', 2, -3, 0)
check('01', '', 2, -2, 0)
check('01', '', 2, -1, 0)
check('01', '', 2, 0, 0)
check('01', '', 2, 1, 0)
check('01', '', 2, 2, 63)
check('01', '', 2, 3, 63)
check('01', '', 2, 4, 63)
check('01', '', 3, None, 0)
check('01', '', 3, -4, 0)
check('01', '', 3, -3, 0)
check('01', '', 3, -2, 0)
check('01', '', 3, -1, 0)
check('01', '', 3, 0, 0)
check('01', '', 3, 1, 0)
check('01', '', 3, 2, 0)
check('01', '', 3, 3, 0)
check('01', '', 3, 4, 0)
check('01', '', 4, None, 0)
check('01', '', 4, -4, 0)
check('01', '', 4, -3, 0)
check('01', '', 4, -2, 0)
check('01', '', 4, -1, 0)
check('01', '', 4, 0, 0)
check('01', '', 4, 1, 0)
check('01', '', 4, 2, 0)
check('01', '', 4, 3, 0)
check('01', '', 4, 4, 0)
check('01', '01', None, None, 63)
check('01', '', None, -4, 63)
check('01', '', None, -3, 63)
check('01', '', None, -2, 63)
check('01', '0', None, -1, 63)
check('01', '', None, 0, 63)
check('01', '0', None, 1, 63)
check('01', '01', None, 2, 63)
check('01', '01', None, 3, 63)
check('01', '01', None, 4, 63)
check('01', '01', -4, None, 63)
check('01', '', -4, -4, 63)
check('01', '', -4, -3, 63)
check('01', '', -4, -2, 63)
check('01', '0', -4, -1, 63)
check('01', '', -4, 0, 63)
check('01', '0', -4, 1, 63)
check('01', '01', -4, 2, 63)
check('01', '01', -4, 3, 63)
check('01', '01', -4, 4, 63)
check('01', '01', -3, None, 63)
check('01', '', -3, -4, 63)
check('01', '', -3, -3, 63)
check('01', '', -3, -2, 63)
check('01', '0', -3, -1, 63)
check('01', '', -3, 0, 63)
check('01', '0', -3, 1, 63)
check('01', '01', -3, 2, 63)
check('01', '01', -3, 3, 63)
check('01', '01', -3, 4, 63)
check('01', '01', -2, None, 63)
check('01', '', -2, -4, 63)
check('01', '', -2, -3, 63)
check('01', '', -2, -2, 63)
check('01', '0', -2, -1, 63)
check('01', '', -2, 0, 63)
check('01', '0', -2, 1, 63)
check('01', '01', -2, 2, 63)
check('01', '01', -2, 3, 63)
check('01', '01', -2, 4, 63)
check('01', '1', -1, None, 63)
check('01', '', -1, -4, 0)
check('01', '', -1, -3, 0)
check('01', '', -1, -2, 0)
check('01', '', -1, -1, 63)
check('01', '', -1, 0, 0)
check('01', '', -1, 1, 63)
check('01', '1', -1, 2, 63)
check('01', '1', -1, 3, 63)
check('01', '1', -1, 4, 63)
check('01', '01', 0, None, 63)
check('01', '', 0, -4, 63)
check('01', '', 0, -3, 63)
check('01', '', 0, -2, 63)
check('01', '0', 0, -1, 63)
check('01', '', 0, 0, 63)
check('01', '0', 0, 1, 63)
check('01', '01', 0, 2, 63)
check('01', '01', 0, 3, 63)
check('01', '01', 0, 4, 63)
check('01', '1', 1, None, 63)
check('01', '', 1, -4, 0)
check('01', '', 1, -3, 0)
check('01', '', 1, -2, 0)
check('01', '', 1, -1, 63)
check('01', '', 1, 0, 0)
check('01', '', 1, 1, 63)
check('01', '1', 1, 2, 63)
check('01', '1', 1, 3, 63)
check('01', '1', 1, 4, 63)
check('01', '', 2, None, 63)
check('01', '', 2, -4, 0)
check('01', '', 2, -3, 0)
check('01', '', 2, -2, 0)
check('01', '', 2, -1, 0)
check('01', '', 2, 0, 0)
check('01', '', 2, 1, 0)
check('01', '', 2, 2, 63)
check('01', '', 2, 3, 63)
check('01', '', 2, 4, 63)
check('01', '', 3, None, 0)
check('01', '', 3, -4, 0)
check('01', '', 3, -3, 0)
check('01', '', 3, -2, 0)
check('01', '', 3, -1, 0)
check('01', '', 3, 0, 0)
check('01', '', 3, 1, 0)
check('01', '', 3, 2, 0)
check('01', '', 3, 3, 0)
check('01', '', 3, 4, 0)
check('01', '', 4, None, 0)
check('01', '', 4, -4, 0)
check('01', '', 4, -3, 0)
check('01', '', 4, -2, 0)
check('01', '', 4, -1, 0)
check('01', '', 4, 0, 0)
check('01', '', 4, 1, 0)
check('01', '', 4, 2, 0)
check('01', '', 4, 3, 0)
check('01', '', 4, 4, 0)
check('01', '01', None, None, 63)
check('01', '', None, -4, 63)
check('01', '', None, -3, 63)
check('01', '', None, -2, 63)
check('01', '0', None, -1, 63)
check('01', '', None, 0, 63)
check('01', '0', None, 1, 63)
check('01', '01', None, 2, 63)
check('01', '01', None, 3, 63)
check('01', '01', None, 4, 63)
check('01', '01', -4, None, 63)
check('01', '', -4, -4, 63)
check('01', '', -4, -3, 63)
check('01', '', -4, -2, 63)
check('01', '0', -4, -1, 63)
check('01', '', -4, 0, 63)
check('01', '0', -4, 1, 63)
check('01', '01', -4, 2, 63)
check('01', '01', -4, 3, 63)
check('01', '01', -4, 4, 63)
check('01', '01', -3, None, 63)
check('01', '', -3, -4, 63)
check('01', '', -3, -3, 63)
check('01', '', -3, -2, 63)
check('01', '0', -3, -1, 63)
check('01', '', -3, 0, 63)
check('01', '0', -3, 1, 63)
check('01', '01', -3, 2, 63)
check('01', '01', -3, 3, 63)
check('01', '01', -3, 4, 63)
check('01', '01', -2, None, 63)
check('01', '', -2, -4, 63)
check('01', '', -2, -3, 63)
check('01', '', -2, -2, 63)
check('01', '0', -2, -1, 63)
check('01', '', -2, 0, 63)
check('01', '0', -2, 1, 63)
check('01', '01', -2, 2, 63)
check('01', '01', -2, 3, 63)
check('01', '01', -2, 4, 63)
check('01', '1', -1, None, 63)
check('01', '', -1, -4, 0)
check('01', '', -1, -3, 0)
check('01', '', -1, -2, 0)
check('01', '', -1, -1, 63)
check('01', '', -1, 0, 0)
check('01', '', -1, 1, 63)
check('01', '1', -1, 2, 63)
check('01', '1', -1, 3, 63)
check('01', '1', -1, 4, 63)
check('01', '01', 0, None, 63)
check('01', '', 0, -4, 63)
check('01', '', 0, -3, 63)
check('01', '', 0, -2, 63)
check('01', '0', 0, -1, 63)
check('01', '', 0, 0, 63)
check('01', '0', 0, 1, 63)
check('01', '01', 0, 2, 63)
check('01', '01', 0, 3, 63)
check('01', '01', 0, 4, 63)
check('01', '1', 1, None, 63)
check('01', '', 1, -4, 0)
check('01', '', 1, -3, 0)
check('01', '', 1, -2, 0)
check('01', '', 1, -1, 63)
check('01', '', 1, 0, 0)
check('01', '', 1, 1, 63)
check('01', '1', 1, 2, 63)
check('01', '1', 1, 3, 63)
check('01', '1', 1, 4, 63)
check('01', '', 2, None, 63)
check('01', '', 2, -4, 0)
check('01', '', 2, -3, 0)
check('01', '', 2, -2, 0)
check('01', '', 2, -1, 0)
check('01', '', 2, 0, 0)
check('01', '', 2, 1, 0)
check('01', '', 2, 2, 63)
check('01', '', 2, 3, 63)
check('01', '', 2, 4, 63)
check('01', '', 3, None, 0)
check('01', '', 3, -4, 0)
check('01', '', 3, -3, 0)
check('01', '', 3, -2, 0)
check('01', '', 3, -1, 0)
check('01', '', 3, 0, 0)
check('01', '', 3, 1, 0)
check('01', '', 3, 2, 0)
check('01', '', 3, 3, 0)
check('01', '', 3, 4, 0)
check('01', '', 4, None, 0)
check('01', '', 4, -4, 0)
check('01', '', 4, -3, 0)
check('01', '', 4, -2, 0)
check('01', '', 4, -1, 0)
check('01', '', 4, 0, 0)
check('01', '', 4, 1, 0)
check('01', '', 4, 2, 0)
check('01', '', 4, 3, 0)
check('01', '', 4, 4, 0)
check('012', '012', None, None, 63)
check('012', '', None, -4, 63)
check('012', '', None, -3, 63)
check('012', '0', None, -2, 63)
check('012', '01', None, -1, 63)
check('012', '', None, 0, 63)
check('012', '0', None, 1, 63)
check('012', '01', None, 2, 63)
check('012', '012', None, 3, 63)
check('012', '012', None, 4, 63)
check('012', '012', -4, None, 63)
check('012', '', -4, -4, 63)
check('012', '', -4, -3, 63)
check('012', '0', -4, -2, 63)
check('012', '01', -4, -1, 63)
check('012', '', -4, 0, 63)
check('012', '0', -4, 1, 63)
check('012', '01', -4, 2, 63)
check('012', '012', -4, 3, 63)
check('012', '012', -4, 4, 63)
check('012', '012', -3, None, 63)
check('012', '', -3, -4, 63)
check('012', '', -3, -3, 63)
check('012', '0', -3, -2, 63)
check('012', '01', -3, -1, 63)
check('012', '', -3, 0, 63)
check('012', '0', -3, 1, 63)
check('012', '01', -3, 2, 63)
check('012', '012', -3, 3, 63)
check('012', '012', -3, 4, 63)
check('012', '12', -2, None, 63)
check('012', '', -2, -4, 0)
check('012', '', -2, -3, 0)
check('012', '', -2, -2, 63)
check('012', '1', -2, -1, 63)
check('012', '', -2, 0, 0)
check('012', '', -2, 1, 63)
check('012', '1', -2, 2, 63)
check('012', '12', -2, 3, 63)
check('012', '12', -2, 4, 63)
check('012', '2', -1, None, 63)
check('012', '', -1, -4, 0)
check('012', '', -1, -3, 0)
check('012', '', -1, -2, 0)
check('012', '', -1, -1, 63)
check('012', '', -1, 0, 0)
check('012', '', -1, 1, 0)
check('012', '', -1, 2, 63)
check('012', '2', -1, 3, 63)
check('012', '2', -1, 4, 63)
check('012', '012', 0, None, 63)
check('012', '', 0, -4, 63)
check('012', '', 0, -3, 63)
check('012', '0', 0, -2, 63)
check('012', '01', 0, -1, 63)
check('012', '', 0, 0, 63)
check('012', '0', 0, 1, 63)
check('012', '01', 0, 2, 63)
check('012', '012', 0, 3, 63)
check('012', '012', 0, 4, 63)
check('012', '12', 1, None, 63)
check('012', '', 1, -4, 0)
check('012', '', 1, -3, 0)
check('012', '', 1, -2, 63)
check('012', '1', 1, -1, 63)
check('012', '', 1, 0, 0)
check('012', '', 1, 1, 63)
check('012', '1', 1, 2, 63)
check('012', '12', 1, 3, 63)
check('012', '12', 1, 4, 63)
check('012', '2', 2, None, 63)
check('012', '', 2, -4, 0)
check('012', '', 2, -3, 0)
check('012', '', 2, -2, 0)
check('012', '', 2, -1, 63)
check('012', '', 2, 0, 0)
check('012', '', 2, 1, 0)
check('012', '', 2, 2, 63)
check('012', '2', 2, 3, 63)
check('012', '2', 2, 4, 63)
check('012', '', 3, None, 63)
check('012', '', 3, -4, 0)
check('012', '', 3, -3, 0)
check('012', '', 3, -2, 0)
check('012', '', 3, -1, 0)
check('012', '', 3, 0, 0)
check('012', '', 3, 1, 0)
check('012', '', 3, 2, 0)
check('012', '', 3, 3, 63)
check('012', '', 3, 4, 63)
check('012', '', 4, None, 0)
check('012', '', 4, -4, 0)
check('012', '', 4, -3, 0)
check('012', '', 4, -2, 0)
check('012', '', 4, -1, 0)
check('012', '', 4, 0, 0)
check('012', '', 4, 1, 0)
check('012', '', 4, 2, 0)
check('012', '', 4, 3, 0)
check('012', '', 4, 4, 0)
check('012', '012', None, None, 63)
check('012', '', None, -4, 63)
check('012', '', None, -3, 63)
check('012', '0', None, -2, 63)
check('012', '01', None, -1, 63)
check('012', '', None, 0, 63)
check('012', '0', None, 1, 63)
check('012', '01', None, 2, 63)
check('012', '012', None, 3, 63)
check('012', '012', None, 4, 63)
check('012', '012', -4, None, 63)
check('012', '', -4, -4, 63)
check('012', '', -4, -3, 63)
check('012', '0', -4, -2, 63)
check('012', '01', -4, -1, 63)
check('012', '', -4, 0, 63)
check('012', '0', -4, 1, 63)
check('012', '01', -4, 2, 63)
check('012', '012', -4, 3, 63)
check('012', '012', -4, 4, 63)
check('012', '012', -3, None, 63)
check('012', '', -3, -4, 63)
check('012', '', -3, -3, 63)
check('012', '0', -3, -2, 63)
check('012', '01', -3, -1, 63)
check('012', '', -3, 0, 63)
check('012', '0', -3, 1, 63)
check('012', '01', -3, 2, 63)
check('012', '012', -3, 3, 63)
check('012', '012', -3, 4, 63)
check('012', '12', -2, None, 63)
check('012', '', -2, -4, 0)
check('012', '', -2, -3, 0)
check('012', '', -2, -2, 63)
check('012', '1', -2, -1, 63)
check('012', '', -2, 0, 0)
check('012', '', -2, 1, 63)
check('012', '1', -2, 2, 63)
check('012', '12', -2, 3, 63)
check('012', '12', -2, 4, 63)
check('012', '2', -1, None, 63)
check('012', '', -1, -4, 0)
check('012', '', -1, -3, 0)
check('012', '', -1, -2, 0)
check('012', '', -1, -1, 63)
check('012', '', -1, 0, 0)
check('012', '', -1, 1, 0)
check('012', '', -1, 2, 63)
check('012', '2', -1, 3, 63)
check('012', '2', -1, 4, 63)
check('012', '012', 0, None, 63)
check('012', '', 0, -4, 63)
check('012', '', 0, -3, 63)
check('012', '0', 0, -2, 63)
check('012', '01', 0, -1, 63)
check('012', '', 0, 0, 63)
check('012', '0', 0, 1, 63)
check('012', '01', 0, 2, 63)
check('012', '012', 0, 3, 63)
check('012', '012', 0, 4, 63)
check('012', '12', 1, None, 63)
check('012', '', 1, -4, 0)
check('012', '', 1, -3, 0)
check('012', '', 1, -2, 63)
check('012', '1', 1, -1, 63)
check('012', '', 1, 0, 0)
check('012', '', 1, 1, 63)
check('012', '1', 1, 2, 63)
check('012', '12', 1, 3, 63)
check('012', '12', 1, 4, 63)
check('012', '2', 2, None, 63)
check('012', '', 2, -4, 0)
check('012', '', 2, -3, 0)
check('012', '', 2, -2, 0)
check('012', '', 2, -1, 63)
check('012', '', 2, 0, 0)
check('012', '', 2, 1, 0)
check('012', '', 2, 2, 63)
check('012', '2', 2, 3, 63)
check('012', '2', 2, 4, 63)
check('012', '', 3, None, 63)
check('012', '', 3, -4, 0)
check('012', '', 3, -3, 0)
check('012', '', 3, -2, 0)
check('012', '', 3, -1, 0)
check('012', '', 3, 0, 0)
check('012', '', 3, 1, 0)
check('012', '', 3, 2, 0)
check('012', '', 3, 3, 63)
check('012', '', 3, 4, 63)
check('012', '', 4, None, 0)
check('012', '', 4, -4, 0)
check('012', '', 4, -3, 0)
check('012', '', 4, -2, 0)
check('012', '', 4, -1, 0)
check('012', '', 4, 0, 0)
check('012', '', 4, 1, 0)
check('012', '', 4, 2, 0)
check('012', '', 4, 3, 0)
check('012', '', 4, 4, 0)
check('012', '012', None, None, 63)
check('012', '', None, -4, 63)
check('012', '', None, -3, 63)
check('012', '0', None, -2, 63)
check('012', '01', None, -1, 63)
check('012', '', None, 0, 63)
check('012', '0', None, 1, 63)
check('012', '01', None, 2, 63)
check('012', '012', None, 3, 63)
check('012', '012', None, 4, 63)
check('012', '012', -4, None, 63)
check('012', '', -4, -4, 63)
check('012', '', -4, -3, 63)
check('012', '0', -4, -2, 63)
check('012', '01', -4, -1, 63)
check('012', '', -4, 0, 63)
check('012', '0', -4, 1, 63)
check('012', '01', -4, 2, 63)
check('012', '012', -4, 3, 63)
check('012', '012', -4, 4, 63)
check('012', '012', -3, None, 63)
check('012', '', -3, -4, 63)
check('012', '', -3, -3, 63)
check('012', '0', -3, -2, 63)
check('012', '01', -3, -1, 63)
check('012', '', -3, 0, 63)
check('012', '0', -3, 1, 63)
check('012', '01', -3, 2, 63)
check('012', '012', -3, 3, 63)
check('012', '012', -3, 4, 63)
check('012', '12', -2, None, 63)
check('012', '', -2, -4, 0)
check('012', '', -2, -3, 0)
check('012', '', -2, -2, 63)
check('012', '1', -2, -1, 63)
check('012', '', -2, 0, 0)
check('012', '', -2, 1, 63)
check('012', '1', -2, 2, 63)
check('012', '12', -2, 3, 63)
check('012', '12', -2, 4, 63)
check('012', '2', -1, None, 63)
check('012', '', -1, -4, 0)
check('012', '', -1, -3, 0)
check('012', '', -1, -2, 0)
check('012', '', -1, -1, 63)
check('012', '', -1, 0, 0)
check('012', '', -1, 1, 0)
check('012', '', -1, 2, 63)
check('012', '2', -1, 3, 63)
check('012', '2', -1, 4, 63)
check('012', '012', 0, None, 63)
check('012', '', 0, -4, 63)
check('012', '', 0, -3, 63)
check('012', '0', 0, -2, 63)
check('012', '01', 0, -1, 63)
check('012', '', 0, 0, 63)
check('012', '0', 0, 1, 63)
check('012', '01', 0, 2, 63)
check('012', '012', 0, 3, 63)
check('012', '012', 0, 4, 63)
check('012', '12', 1, None, 63)
check('012', '', 1, -4, 0)
check('012', '', 1, -3, 0)
check('012', '', 1, -2, 63)
check('012', '1', 1, -1, 63)
check('012', '', 1, 0, 0)
check('012', '', 1, 1, 63)
check('012', '1', 1, 2, 63)
check('012', '12', 1, 3, 63)
check('012', '12', 1, 4, 63)
check('012', '2', 2, None, 63)
check('012', '', 2, -4, 0)
check('012', '', 2, -3, 0)
check('012', '', 2, -2, 0)
check('012', '', 2, -1, 63)
check('012', '', 2, 0, 0)
check('012', '', 2, 1, 0)
check('012', '', 2, 2, 63)
check('012', '2', 2, 3, 63)
check('012', '2', 2, 4, 63)
check('012', '', 3, None, 63)
check('012', '', 3, -4, 0)
check('012', '', 3, -3, 0)
check('012', '', 3, -2, 0)
check('012', '', 3, -1, 0)
check('012', '', 3, 0, 0)
check('012', '', 3, 1, 0)
check('012', '', 3, 2, 0)
check('012', '', 3, 3, 63)
check('012', '', 3, 4, 63)
check('012', '', 4, None, 0)
check('012', '', 4, -4, 0)
check('012', '', 4, -3, 0)
check('012', '', 4, -2, 0)
check('012', '', 4, -1, 0)
check('012', '', 4, 0, 0)
check('012', '', 4, 1, 0)
check('012', '', 4, 2, 0)
check('012', '', 4, 3, 0)
check('012', '', 4, 4, 0)
check('012', '012', None, None, 63)
check('012', '', None, -4, 63)
check('012', '', None, -3, 63)
check('012', '0', None, -2, 63)
check('012', '01', None, -1, 63)
check('012', '', None, 0, 63)
check('012', '0', None, 1, 63)
check('012', '01', None, 2, 63)
check('012', '012', None, 3, 63)
check('012', '012', None, 4, 63)
check('012', '012', -4, None, 63)
check('012', '', -4, -4, 63)
check('012', '', -4, -3, 63)
check('012', '0', -4, -2, 63)
check('012', '01', -4, -1, 63)
check('012', '', -4, 0, 63)
check('012', '0', -4, 1, 63)
check('012', '01', -4, 2, 63)
check('012', '012', -4, 3, 63)
check('012', '012', -4, 4, 63)
check('012', '012', -3, None, 63)
check('012', '', -3, -4, 63)
check('012', '', -3, -3, 63)
check('012', '0', -3, -2, 63)
check('012', '01', -3, -1, 63)
check('012', '', -3, 0, 63)
check('012', '0', -3, 1, 63)
check('012', '01', -3, 2, 63)
check('012', '012', -3, 3, 63)
check('012', '012', -3, 4, 63)
check('012', '12', -2, None, 63)
check('012', '', -2, -4, 0)
check('012', '', -2, -3, 0)
check('012', '', -2, -2, 63)
check('012', '1', -2, -1, 63)
check('012', '', -2, 0, 0)
check('012', '', -2, 1, 63)
check('012', '1', -2, 2, 63)
check('012', '12', -2, 3, 63)
check('012', '12', -2, 4, 63)
check('012', '2', -1, None, 63)
check('012', '', -1, -4, 0)
check('012', '', -1, -3, 0)
check('012', '', -1, -2, 0)
check('012', '', -1, -1, 63)
check('012', '', -1, 0, 0)
check('012', '', -1, 1, 0)
check('012', '', -1, 2, 63)
check('012', '2', -1, 3, 63)
check('012', '2', -1, 4, 63)
check('012', '012', 0, None, 63)
check('012', '', 0, -4, 63)
check('012', '', 0, -3, 63)
check('012', '0', 0, -2, 63)
check('012', '01', 0, -1, 63)
check('012', '', 0, 0, 63)
check('012', '0', 0, 1, 63)
check('012', '01', 0, 2, 63)
check('012', '012', 0, 3, 63)
check('012', '012', 0, 4, 63)
check('012', '12', 1, None, 63)
check('012', '', 1, -4, 0)
check('012', '', 1, -3, 0)
check('012', '', 1, -2, 63)
check('012', '1', 1, -1, 63)
check('012', '', 1, 0, 0)
check('012', '', 1, 1, 63)
check('012', '1', 1, 2, 63)
check('012', '12', 1, 3, 63)
check('012', '12', 1, 4, 63)
check('012', '2', 2, None, 63)
check('012', '', 2, -4, 0)
check('012', '', 2, -3, 0)
check('012', '', 2, -2, 0)
check('012', '', 2, -1, 63)
check('012', '', 2, 0, 0)
check('012', '', 2, 1, 0)
check('012', '', 2, 2, 63)
check('012', '2', 2, 3, 63)
check('012', '2', 2, 4, 63)
check('012', '', 3, None, 63)
check('012', '', 3, -4, 0)
check('012', '', 3, -3, 0)
check('012', '', 3, -2, 0)
check('012', '', 3, -1, 0)
check('012', '', 3, 0, 0)
check('012', '', 3, 1, 0)
check('012', '', 3, 2, 0)
check('012', '', 3, 3, 63)
check('012', '', 3, 4, 63)
check('012', '', 4, None, 0)
check('012', '', 4, -4, 0)
check('012', '', 4, -3, 0)
check('012', '', 4, -2, 0)
check('012', '', 4, -1, 0)
check('012', '', 4, 0, 0)
check('012', '', 4, 1, 0)
check('012', '', 4, 2, 0)
check('012', '', 4, 3, 0)
check('012', '', 4, 4, 0)
| 27.503016 | 78 | 0.418487 | 8,376 | 45,600 | 2.278295 | 0.008596 | 0.378557 | 0.125766 | 0.066027 | 0.975528 | 0.968925 | 0.968925 | 0.966095 | 0.966095 | 0.9433 | 0 | 0.236451 | 0.191908 | 45,600 | 1,657 | 79 | 27.519614 | 0.281419 | 0.039605 | 0 | 0.993172 | 1 | 0 | 0.070867 | 0 | 0 | 0 | 0 | 0 | 0.003724 | 1 | 0.000621 | false | 0 | 0 | 0 | 0.000621 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
19931630925ca934bb056c38713ad894209bce03 | 59 | py | Python | src/sdm_modbus/__init__.py | christof1977/sdm_modbus | 27ea27d658ce424e65079d5fd01cbdcdc1452ba5 | [
"MIT"
] | null | null | null | src/sdm_modbus/__init__.py | christof1977/sdm_modbus | 27ea27d658ce424e65079d5fd01cbdcdc1452ba5 | [
"MIT"
] | null | null | null | src/sdm_modbus/__init__.py | christof1977/sdm_modbus | 27ea27d658ce424e65079d5fd01cbdcdc1452ba5 | [
"MIT"
] | null | null | null | from sdm_modbus.sdm import *
from sdm_modbus.garo import *
| 19.666667 | 29 | 0.79661 | 10 | 59 | 4.5 | 0.5 | 0.311111 | 0.577778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 30 | 29.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
19993eaf74fcfa9e98ba8811d951b04fe304e971 | 14,104 | py | Python | software/atlas-collection/bdi_walking/py_bdi_step_translator/python/test/test_bdi_step_translator.py | liangfok/oh-distro | eeee1d832164adce667e56667dafc64a8d7b8cee | [
"BSD-3-Clause"
] | 92 | 2016-01-14T21:03:50.000Z | 2021-12-01T17:57:46.000Z | software/atlas-collection/bdi_walking/py_bdi_step_translator/python/test/test_bdi_step_translator.py | liangfok/oh-distro | eeee1d832164adce667e56667dafc64a8d7b8cee | [
"BSD-3-Clause"
] | 62 | 2016-01-16T18:08:14.000Z | 2016-03-24T15:16:28.000Z | software/atlas-collection/bdi_walking/py_bdi_step_translator/python/test/test_bdi_step_translator.py | liangfok/oh-distro | eeee1d832164adce667e56667dafc64a8d7b8cee | [
"BSD-3-Clause"
] | 41 | 2016-01-14T21:26:58.000Z | 2022-03-28T03:10:39.000Z | import random
import unittest
import drc
import lcm
from bdi_step.translator import BDIStepTranslator, Mode
class TestStepTranslation(unittest.TestCase):
def generate_deprecated_plan(self, behavior):
plan = drc.deprecated_footstep_plan_t()
plan.utime = 0
plan.robot_name = 'atlas'
plan.num_steps = 10
plan.is_new_plan = True
plan.footstep_opts = drc.footstep_opts_t()
plan.footstep_opts.mu = True
plan.footstep_opts.behavior = behavior
for j in range(plan.num_steps):
goal = drc.footstep_goal_t()
goal.utime = 0
goal.robot_name = 'atlas'
goal.pos = drc.position_3d_t();
goal.pos.translation = drc.vector_3d_t()
if 1 <= j <= 2: # this works in Python!
goal.pos.translation.x = 0
goal.pos.translation.y = 0
goal.pos.translation.z = 0
goal.pos.rotation = drc.quaternion_t()
goal.pos.rotation.x = 0
goal.pos.rotation.y = 0
goal.pos.rotation.z = 0
goal.pos.rotation.w = 1
else:
goal.pos.translation.x = 0.15 * j + (0.5 - random.random()) * 0.15
goal.pos.translation.y = random.random() * 0.15 * j + (0.5 - random.random()) * 0.2
goal.pos.translation.z = (0.5 - random.random()) * 0.2
goal.pos.rotation = drc.quaternion_t()
goal.pos.rotation.x = random.random()
goal.pos.rotation.y = random.random()
goal.pos.rotation.z = random.random()
goal.pos.rotation.w = random.random()
goal.step_speed = 1.5
goal.step_height = random.random() * 0.25
goal.id = j+1
goal.is_right_foot = j % 2 == 0
goal.is_in_contact = True
goal.fixed_x = True
goal.fixed_y = True
goal.fixed_z = True
goal.fixed_roll = True
goal.fixed_pitch= True
goal.fixed_yaw = True
goal.bdi_step_duration = 2.0
goal.bdi_sway_duration = 0
goal.bdi_lift_height = random.random() * 0.15
goal.bdi_toe_off = 0
goal.bdi_knee_nominal = 0
goal.num_terrain_pts = 3
goal.terrain_path_dist = [0, 0.1, 0.2]
goal.terrain_height = [0, random.random() * 0.15, 0]
plan.footstep_goals.append(goal)
return plan
def generate_plan(self, behavior):
plan = drc.footstep_plan_t()
plan.utime = 0
plan.params = drc.footstep_plan_params_t()
plan.params.behavior = behavior
plan.footsteps = []
plan.num_steps = 10
for j in range(plan.num_steps):
goal = drc.footstep_t()
goal.utime = 0
goal.pos = drc.position_3d_t();
goal.pos.translation = drc.vector_3d_t()
goal.params = drc.footstep_params_t()
if 1 <= j <= 2: # this works in Python!
goal.pos.translation.x = 0
goal.pos.translation.y = 0
goal.pos.translation.z = 0
goal.pos.rotation = drc.quaternion_t()
goal.pos.rotation.x = 0
goal.pos.rotation.y = 0
goal.pos.rotation.z = 0
goal.pos.rotation.w = 1
else:
goal.pos.translation.x = 0.15 * j + (0.5 - random.random()) * 0.15
goal.pos.translation.y = random.random() * 0.15 * j + (0.5 - random.random()) * 0.2
goal.pos.translation.z = (0.5 - random.random()) * 0.2
goal.pos.rotation = drc.quaternion_t()
goal.pos.rotation.x = random.random()
goal.pos.rotation.y = random.random()
goal.pos.rotation.z = random.random()
goal.pos.rotation.w = random.random()
goal.id = j+1
goal.is_right_foot = j % 2 == 0
goal.is_in_contact = True
goal.fixed_x = True
goal.fixed_y = True
goal.fixed_z = True
goal.fixed_roll = True
goal.fixed_pitch= True
goal.fixed_yaw = True
goal.params.step_speed = 1.5
goal.params.step_height = random.random() * 0.25
goal.params.bdi_step_duration = 2.0
goal.params.bdi_sway_duration = 0
goal.params.bdi_lift_height = random.random() * 0.15
goal.params.bdi_toe_off = 0
goal.params.bdi_knee_nominal = 0
goal.num_terrain_pts = 3
goal.terrain_path_dist = [0, 0.1, 0.2]
goal.terrain_height = [0, random.random() * 0.15, 0]
plan.footsteps.append(goal)
return plan
def test_stepping(self):
plan = self.generate_plan(drc.footstep_opts_t.BEHAVIOR_BDI_STEPPING)
lc = lcm.LCM()
lc.publish('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
translator = BDIStepTranslator()
def handle_steps(channel, msg_data):
msg = atlas.behavior_step_params_t.decode(msg_data)
self.assertAlmostEqual(msg.desired_step_spec.foot.position[0], 0.04)
self.assertAlmostEqual(msg.desired_step_spec.foot.position[1], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.position[2], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.normal[0], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.normal[1], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.normal[2], 1)
self.assertEqual(msg.use_spec, True)
lc.subscribe('ATLAS_STEP_PARAMS', handle_steps)
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
lc.handle()
# import pdb; pdb.set_trace()
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[0], 0.04)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[2], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[0], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[2], 1)
self.assertEqual(translator.use_spec, True)
plotter = BDIStepTranslator(mode=Mode.plotting)
plotter.handle_footstep_plan('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
def test_walking(self):
plan = self.generate_plan(drc.footstep_opts_t.BEHAVIOR_BDI_WALKING)
lc = lcm.LCM()
lc.publish('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
translator = BDIStepTranslator()
def handle_steps(channel, msg_data):
msg = atlas.behavior_walk_params_t.decode(msg_data)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.position[0], 0.04)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.position[1], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.position[2], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.normal[0], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.normal[1], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.normal[2], 1)
self.assertEqual(msg.use_spec, True)
lc.subscribe('ATLAS_WALK_PARAMS', handle_steps)
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
lc.handle()
plotter = BDIStepTranslator(mode=Mode.plotting)
plotter.handle_footstep_plan('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[0], 0.04)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[2], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[0], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[2], 1)
self.assertEqual(translator.use_spec, True)
def test_stop_walking(self):
plan = self.generate_plan(drc.footstep_opts_t.BEHAVIOR_BDI_STEPPING)
translator = BDIStepTranslator()
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
def handle_steps(channel, msg_data):
msg = atlas.behavior_step_params_t.decode(msg_data)
self.assertEqual(msg.desired_step_spec.step_index, -1)
lc = lcm.LCM()
lc.subscribe('ATLAS_STEP_PARAMS', handle_steps)
translator.handle_stop_walking('STOP_WALKING', None)
lc.handle()
def test_stop_walking_no_queue(self):
translator = BDIStepTranslator()
def handle_steps(channel, msg_data):
msg = atlas.behavior_step_params_t.decode(msg_data)
self.assertEqual(msg.desired_step_spec.step_index, -1)
lc = lcm.LCM()
lc.subscribe('ATLAS_STEP_PARAMS', handle_steps)
translator.handle_stop_walking('STOP_WALKING', None)
lc.handle()
def test_atlas_status(self):
plan = self.generate_plan(drc.footstep_opts_t.BEHAVIOR_BDI_STEPPING)
lc = lcm.LCM()
lc.publish('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
translator = BDIStepTranslator()
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
self.assertEqual(translator.delivered_index, 1)
status = atlas.status_t()
status.step_feedback = atlas.step_feedback_t()
status.step_feedback.next_step_index_needed = 2
translator.executing = True
translator.handle_atlas_status('ATLAS_STATUS', status)
translator.executing = False
self.assertEqual(translator.delivered_index, 2)
def test_terrain_clearance(self):
plan = self.generate_plan(drc.footstep_opts_t.BEHAVIOR_BDI_STEPPING)
translator = BDIStepTranslator()
def handle_steps(channel, msg_data):
msg = atlas.behavior_step_params_t.decode(msg_data)
self.assertAlmostEqual(msg.desired_step_spec.action.lift_height, plan.footsteps[2].params.bdi_lift_height + plan.footsteps[2].terrain_height[1])
lc = lcm.LCM()
lc.subscribe('ATLAS_STEP_PARAMS', handle_steps)
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
lc.handle()
def test_deprecated_stepping(self):
plan = self.generate_deprecated_plan(drc.footstep_opts_t.BEHAVIOR_BDI_STEPPING)
lc = lcm.LCM()
lc.publish('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
translator = BDIStepTranslator()
def handle_steps(channel, msg_data):
msg = atlas.behavior_step_params_t.decode(msg_data)
self.assertAlmostEqual(msg.desired_step_spec.foot.position[0], 0.04)
self.assertAlmostEqual(msg.desired_step_spec.foot.position[1], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.position[2], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.normal[0], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.normal[1], 0)
self.assertAlmostEqual(msg.desired_step_spec.foot.normal[2], 1)
self.assertEqual(msg.use_spec, True)
lc.subscribe('ATLAS_STEP_PARAMS', handle_steps)
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
lc.handle()
# import pdb; pdb.set_trace()
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[0], 0.04)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[2], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[0], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[2], 1)
self.assertEqual(translator.use_spec, True)
plotter = BDIStepTranslator(mode=Mode.plotting)
plotter.handle_footstep_plan('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
def test_deprecated_walking(self):
plan = self.generate_deprecated_plan(drc.footstep_opts_t.BEHAVIOR_BDI_WALKING)
lc = lcm.LCM()
lc.publish('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
translator = BDIStepTranslator()
def handle_steps(channel, msg_data):
msg = atlas.behavior_walk_params_t.decode(msg_data)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.position[0], 0.04)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.position[1], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.position[2], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.normal[0], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.normal[1], 0)
self.assertAlmostEqual(msg.walk_spec_queue[0].foot.normal[2], 1)
self.assertEqual(msg.use_spec, True)
lc.subscribe('ATLAS_WALK_PARAMS', handle_steps)
translator.handle_footstep_plan('COMMITTED_FOOTSTEP_PLAN', plan.encode())
lc.handle()
plotter = BDIStepTranslator(mode=Mode.plotting)
plotter.handle_footstep_plan('CANDIDATE_FOOTSTEP_PLAN', plan.encode())
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[0], 0.04)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.position[2], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[0], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[1], 0)
self.assertAlmostEqual(translator.bdi_step_queue_out[0].foot.normal[2], 1)
self.assertEqual(translator.use_spec, True)
| 46.857143 | 156 | 0.645916 | 1,808 | 14,104 | 4.801991 | 0.071903 | 0.118521 | 0.081087 | 0.093988 | 0.90751 | 0.865469 | 0.860631 | 0.848192 | 0.84082 | 0.84082 | 0 | 0.02604 | 0.243052 | 14,104 | 300 | 157 | 47.013333 | 0.787186 | 0.007019 | 0 | 0.776923 | 1 | 0 | 0.038088 | 0.026297 | 0 | 0 | 0 | 0 | 0.234615 | 1 | 0.065385 | false | 0 | 0.019231 | 0 | 0.096154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
5fd972afea7c92a83fd117d7df81011fee4af281 | 5,887 | py | Python | data_structures/trees/binaryHeap.py | greglan/python_scripts | f2e98ed3fd975d79b0a6b569b65c850a7f4f3ab3 | [
"MIT"
] | null | null | null | data_structures/trees/binaryHeap.py | greglan/python_scripts | f2e98ed3fd975d79b0a6b569b65c850a7f4f3ab3 | [
"MIT"
] | null | null | null | data_structures/trees/binaryHeap.py | greglan/python_scripts | f2e98ed3fd975d79b0a6b569b65c850a7f4f3ab3 | [
"MIT"
] | null | null | null | class BinaryHeap:
def __init__(self):
"""
Root index starts at 1.
Children are at indexes 2i and 2i+1
Parent is at index floor((i-1)/2)
"""
self.data = [None]
self.size = 0
def empty(self):
return self.size == 0
def __repr__(self):
return str(self.data)
def _swap(self, i, j):
"""
Swap the elements identified by the given indexes
:param i: index of the first element
:param j: index of the second element
:return: None
"""
self.data[j], self.data[i] = self.data[i], self.data[j]
def _get_bottom_element_index(self):
return self.size
def _insert_at_bottom(self, e):
self.data.append(e)
self.size += 1
class MinHeap(BinaryHeap):
def insert(self, e):
"""
Insert an element in the min-heap
:param e: element to insert
:return: None
"""
# Add the element to the bottom of the heap
self._insert_at_bottom(e)
# Percolate up the newly added element
self.__percolate_up_from_bottom()
def get(self):
"""
:return: the value of the lowest element in the heap
"""
# Get the minimum node
min_node = self.data[1]
# Replace the root with the last element on the last level
bottom_element_index = self._get_bottom_element_index()
self._swap(1, bottom_element_index)
self.data.pop()
self.size -= 1
# Restore min-heap property
if self.size > 0:
self.__percolate_down_from_root()
return min_node
def __get_min_child_index(self, i):
"""
Return the child of minimum value of the given node
:param i: index of the node
:return: the index of the child
"""
if 2 * i > self.size:
return i
elif 2 * i + 1 > self.size:
return 2 * i
else:
if self.data[2 * i] < self.data[2 * i + 1]:
return 2 * i
else:
return 2 * i + 1
def __percolate_up_from_bottom(self):
self.__percolate_up(self.size)
def __percolate_up(self, start_index):
"""
Percolate up the element identified by the given index
:type start_index: int
:return: None
"""
current_index = start_index
parent_index = current_index // 2
# While the node and its parent are not in the correct order, swap them
while parent_index > 0 and self.data[current_index] < self.data[parent_index]:
self._swap(parent_index, current_index)
current_index = parent_index
parent_index = current_index // 2
def __percolate_down_from_root(self):
self.__percolate_down(1)
def __percolate_down(self, start_index):
"""
Percolate down the element identified by start_index
:type start_index: int
:return: None
"""
current_index = start_index
min_child_index = self.__get_min_child_index(current_index)
while self.data[current_index] > self.data[min_child_index]:
self._swap(min_child_index, current_index)
current_index = min_child_index
min_child_index = self.__get_min_child_index(current_index)
class MaxHeap(BinaryHeap):
def insert(self, e):
"""
Insert an element in the max-heap
:param e: element to insert
:return: None
"""
# Add the element to the bottom of the heap
self._insert_at_bottom(e)
# Percolate up the newly added element
self.__percolate_up_from_bottom()
def get(self):
# Get the maximum node
max_node = self.data[1]
# Replace the root with the last element on the last level
bottom_element_index = self._get_bottom_element_index()
self._swap(1, bottom_element_index)
self.data.pop()
self.size -= 1
# Restore max-heap property
if self.size > 0:
self.__percolate_down_from_root()
return max_node
def _get_max_child_index(self, i):
"""
Return the child of minimum value of the given node
:param i: index of the node
:return: the index of the child
"""
if 2 * i > self.size:
return i
elif 2 * i + 1 > self.size:
return 2 * i
else:
if self.data[2 * i] < self.data[2 * i + 1]:
return 2 * i + 1
else:
return 2 * i
def __percolate_up_from_bottom(self):
self.__percolate_up(self.size)
def __percolate_up(self, start_index):
"""
Percolate up the element identified by the given index
:type start_index: int
:return: None
"""
current_index = start_index
parent_index = current_index // 2
# While the node and its parent are not in the correct order, swap them
while parent_index > 0 and self.data[current_index] > self.data[parent_index]:
self._swap(current_index, parent_index)
current_index = parent_index
parent_index = current_index // 2
def __percolate_down_from_root(self):
self.__percolate_down(1)
def __percolate_down(self, start_index):
"""
Percolate down the element identified by start_index
:type start_index: int
:return: None
"""
current_index = start_index
max_child_index = self._get_max_child_index(current_index)
while self.data[current_index] < self.data[max_child_index]:
self._swap(current_index, max_child_index)
current_index = max_child_index
max_child_index = self._get_max_child_index(current_index)
| 29.883249 | 86 | 0.590963 | 775 | 5,887 | 4.219355 | 0.112258 | 0.088073 | 0.072783 | 0.047095 | 0.8263 | 0.767584 | 0.767584 | 0.767584 | 0.767584 | 0.767584 | 0 | 0.011427 | 0.331068 | 5,887 | 196 | 87 | 30.035714 | 0.818944 | 0.260404 | 0 | 0.659794 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206186 | false | 0 | 0 | 0.030928 | 0.371134 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
270b2a0f118011f7653211c6f62e0fe3d20e18af | 1,844 | py | Python | epytope/Data/pssms/smm/mat/A_30_02_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 7 | 2021-02-01T18:11:28.000Z | 2022-01-31T19:14:07.000Z | epytope/Data/pssms/smm/mat/A_30_02_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 22 | 2021-01-02T15:25:23.000Z | 2022-03-14T11:32:53.000Z | epytope/Data/pssms/smm/mat/A_30_02_8.py | christopher-mohr/epytope | 8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd | [
"BSD-3-Clause"
] | 4 | 2021-05-28T08:50:38.000Z | 2022-03-14T11:45:32.000Z | A_30_02_8 = {0: {'A': -0.0, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': 0.0, 'I': 0.0, 'H': -0.0, 'K': -0.0, 'M': -0.0, 'L': -0.0, 'N': 0.0, 'Q': 0.0, 'P': 0.0, 'S': 0.0, 'R': -0.0, 'T': 0.0, 'W': -0.0, 'V': 0.0, 'Y': -0.0}, 1: {'A': 0.0, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': 0.0, 'I': 0.0, 'H': -0.0, 'K': 0.0, 'M': -0.0, 'L': 0.0, 'N': 0.0, 'Q': 0.0, 'P': 0.0, 'S': -0.0, 'R': 0.0, 'T': -0.0, 'W': 0.0, 'V': -0.0, 'Y': -0.0}, 2: {'A': 0.0, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': -0.0, 'I': -0.0, 'H': 0.0, 'K': 0.0, 'M': 0.0, 'L': 0.0, 'N': 0.0, 'Q': 0.0, 'P': 0.0, 'S': -0.0, 'R': 0.0, 'T': 0.0, 'W': -0.0, 'V': 0.0, 'Y': -0.0}, 3: {'A': -0.217, 'C': -0.603, 'E': 0.326, 'D': 0.539, 'G': 0.032, 'F': -0.0, 'I': -0.823, 'H': 0.054, 'K': 0.033, 'M': 0.084, 'L': 0.025, 'N': 0.146, 'Q': 0.084, 'P': 0.034, 'S': -0.469, 'R': 0.363, 'T': 0.249, 'W': -0.139, 'V': 0.175, 'Y': 0.106}, 4: {'A': 0.059, 'C': 0.133, 'E': 0.025, 'D': 0.0, 'G': -0.782, 'F': -0.239, 'I': 0.079, 'H': 0.0, 'K': 0.123, 'M': -0.064, 'L': 0.064, 'N': 0.025, 'Q': -0.132, 'P': 0.227, 'S': -0.093, 'R': 0.159, 'T': 0.379, 'W': 0.0, 'V': 0.031, 'Y': 0.005}, 5: {'A': 0.0, 'C': 0.0, 'E': 0.0, 'D': 0.0, 'G': -0.0, 'F': -0.0, 'I': 0.0, 'H': 0.0, 'K': 0.0, 'M': 0.0, 'L': -0.0, 'N': -0.0, 'Q': 0.0, 'P': 0.0, 'S': -0.0, 'R': 0.0, 'T': -0.0, 'W': 0.0, 'V': -0.0, 'Y': 0.0}, 6: {'A': 0.015, 'C': 0.0, 'E': 0.036, 'D': -0.118, 'G': 0.012, 'F': 0.031, 'I': -0.014, 'H': 0.018, 'K': 0.032, 'M': 0.017, 'L': -0.072, 'N': 0.0, 'Q': 0.0, 'P': -0.082, 'S': -0.082, 'R': 0.025, 'T': 0.057, 'W': 0.0, 'V': 0.091, 'Y': 0.034}, 7: {'A': 0.071, 'C': 0.157, 'E': 0.0, 'D': 0.0, 'G': 0.0, 'F': 0.593, 'I': 0.23, 'H': 0.0, 'K': 0.328, 'M': 0.134, 'L': 0.124, 'N': 0.0, 'Q': 0.0, 'P': 0.0, 'S': 0.0, 'R': 0.122, 'T': 0.176, 'W': 0.076, 'V': -0.513, 'Y': -1.499}, -1: {'con': 4.4224}} | 1,844 | 1,844 | 0.343275 | 496 | 1,844 | 1.270161 | 0.177419 | 0.304762 | 0.028571 | 0.038095 | 0.488889 | 0.433333 | 0.433333 | 0.433333 | 0.420635 | 0.420635 | 0 | 0.308201 | 0.180043 | 1,844 | 1 | 1,844 | 1,844 | 0.108466 | 0 | 0 | 0 | 0 | 0 | 0.088347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
271597f800ff0b2aff8bf98e025393f8c81c6d02 | 246 | py | Python | constants.py | bluckau/rl-helpers | 359e8183a630c011c003374451eb281263ab5dab | [
"BSD-2-Clause"
] | null | null | null | constants.py | bluckau/rl-helpers | 359e8183a630c011c003374451eb281263ab5dab | [
"BSD-2-Clause"
] | null | null | null | constants.py | bluckau/rl-helpers | 359e8183a630c011c003374451eb281263ab5dab | [
"BSD-2-Clause"
] | null | null | null | # Dashboard https://portal.routerlimits.com/user/dashboard
# https://portal.routerlimits.com/user/groups
# https://portal.routerlimits.com/user/limits
# https://portal.routerlimits.com/user/history
# https://portal.routerlimits.com/user/settings
| 41 | 58 | 0.792683 | 31 | 246 | 6.290323 | 0.322581 | 0.282051 | 0.589744 | 0.666667 | 0.861538 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044715 | 246 | 5 | 59 | 49.2 | 0.829787 | 0.955285 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
27179bc52376c793951a9360fcf3e7bdb975da22 | 7,298 | py | Python | pygam/links.py | VerdigrisTech/pyGAM | b57b4cf8783a90976031e1857e748ca3e6ec650b | [
"Apache-2.0"
] | 714 | 2017-01-19T17:26:42.000Z | 2022-03-26T07:51:43.000Z | pygam/links.py | VerdigrisTech/pyGAM | b57b4cf8783a90976031e1857e748ca3e6ec650b | [
"Apache-2.0"
] | 300 | 2017-01-24T07:42:18.000Z | 2022-03-30T23:39:00.000Z | pygam/links.py | VerdigrisTech/pyGAM | b57b4cf8783a90976031e1857e748ca3e6ec650b | [
"Apache-2.0"
] | 143 | 2017-05-18T04:22:22.000Z | 2022-03-27T16:39:15.000Z | """
Link functions
"""
from __future__ import division, absolute_import
import numpy as np
from pygam.core import Core
class Link(Core):
def __init__(self, name=None):
"""
creates an instance of a Link object
Parameters
----------
name : str, default: None
Returns
-------
self
"""
super(Link, self).__init__(name=name)
class IdentityLink(Link):
def __init__(self):
"""
creates an instance of an IdentityLink object
Parameters
----------
None
Returns
-------
self
"""
super(IdentityLink, self).__init__(name='identity')
def link(self, mu, dist):
"""
glm link function
this is useful for going from mu to the linear prediction
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
lp : np.array of length n
"""
return mu
def mu(self, lp, dist):
"""
glm mean function, ie inverse of link function
this is useful for going from the linear prediction to mu
Parameters
----------
lp : array-like of legth n
dist : Distribution instance
Returns
-------
mu : np.array of length n
"""
return lp
def gradient(self, mu, dist):
"""
derivative of the link function wrt mu
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
grad : np.array of length n
"""
return np.ones_like(mu)
class LogitLink(Link):
def __init__(self):
"""
creates an instance of a LogitLink object
Parameters
----------
None
Returns
-------
self
"""
super(LogitLink, self).__init__(name='logit')
def link(self, mu, dist):
"""
glm link function
this is useful for going from mu to the linear prediction
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
lp : np.array of length n
"""
return np.log(mu) - np.log(dist.levels - mu)
def mu(self, lp, dist):
"""
glm mean function, ie inverse of link function
this is useful for going from the linear prediction to mu
Parameters
----------
lp : array-like of legth n
dist : Distribution instance
Returns
-------
mu : np.array of length n
"""
elp = np.exp(lp)
return dist.levels * elp / (elp + 1)
def gradient(self, mu, dist):
"""
derivative of the link function wrt mu
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
grad : np.array of length n
"""
return dist.levels/(mu*(dist.levels - mu))
class LogLink(Link):
def __init__(self):
"""
creates an instance of a LogitLink object
Parameters
----------
None
Returns
-------
self
"""
super(LogLink, self).__init__(name='log')
def link(self, mu, dist):
"""
glm link function
this is useful for going from mu to the linear prediction
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
lp : np.array of length n
"""
return np.log(mu)
def mu(self, lp, dist):
"""
glm mean function, ie inverse of link function
this is useful for going from the linear prediction to mu
Parameters
----------
lp : array-like of legth n
dist : Distribution instance
Returns
-------
mu : np.array of length n
"""
return np.exp(lp)
def gradient(self, mu, dist):
"""
derivative of the link function wrt mu
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
grad : np.array of length n
"""
return 1. / mu
class InverseLink(Link):
def __init__(self):
"""
creates an instance of a InverseLink object
Parameters
----------
None
Returns
-------
self
"""
super(InverseLink, self).__init__(name='inverse')
def link(self, mu, dist):
"""
glm link function
this is useful for going from mu to the linear prediction
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
lp : np.array of length n
"""
return mu ** -1.
def mu(self, lp, dist):
"""
glm mean function, ie inverse of link function
this is useful for going from the linear prediction to mu
Parameters
----------
lp : array-like of legth n
dist : Distribution instance
Returns
-------
mu : np.array of length n
"""
return lp ** -1.
def gradient(self, mu, dist):
"""
derivative of the link function wrt mu
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
grad : np.array of length n
"""
return -1 * mu**-2.
class InvSquaredLink(Link):
def __init__(self):
"""
creates an instance of an InverseLink object
Parameters
----------
name : str, default: None
Returns
-------
self
"""
super(InvSquaredLink, self).__init__(name='inv_squared')
def link(self, mu, dist):
"""
glm link function
this is useful for going from mu to the linear prediction
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
lp : np.array of length n
"""
return mu ** -2.
def mu(self, lp, dist):
"""
glm mean function, ie inverse of link function
this is useful for going from the linear prediction to mu
Parameters
----------
lp : array-like of legth n
dist : Distribution instance
Returns
-------
mu : np.array of length n
"""
return lp ** -0.5
def gradient(self, mu, dist):
"""
derivative of the link function wrt mu
Parameters
----------
mu : array-like of legth n
dist : Distribution instance
Returns
-------
grad : np.array of length n
"""
return -2 * mu**-3.
LINKS = {'identity': IdentityLink,
'log': LogLink,
'logit': LogitLink,
'inverse': InverseLink,
'inv_squared': InvSquaredLink
}
| 21.215116 | 65 | 0.488901 | 773 | 7,298 | 4.543338 | 0.099612 | 0.051253 | 0.046982 | 0.068337 | 0.832859 | 0.827164 | 0.806663 | 0.805524 | 0.805524 | 0.746583 | 0 | 0.002501 | 0.397232 | 7,298 | 343 | 66 | 21.276968 | 0.795863 | 0.486709 | 0 | 0.344828 | 0 | 0 | 0.033219 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.362069 | false | 0 | 0.051724 | 0 | 0.775862 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 8 |
272fa46a634b7fbaf512da21b22fd89bccc2ca48 | 994 | py | Python | Codewars/7kyu/is-it-negative-zero-0/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/is-it-negative-zero-0/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/is-it-negative-zero-0/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 3.6.0
@test.describe('Basic Tests')
def basic_tests():
@test.it('should return true for -0.0 and false for all other numbers')
def basic_test_case():
test.assert_equals(is_negative_zero(-0.0), True)
test.assert_equals(is_negative_zero(-(float('inf'))), False)
test.assert_equals(is_negative_zero(-5.0), False)
test.assert_equals(is_negative_zero(-4.0), False)
test.assert_equals(is_negative_zero(-3.0), False)
test.assert_equals(is_negative_zero(-2.0), False)
test.assert_equals(is_negative_zero(-1.0), False)
test.assert_equals(is_negative_zero(0.0), False)
test.assert_equals(is_negative_zero(1.0), False)
test.assert_equals(is_negative_zero(2.0), False)
test.assert_equals(is_negative_zero(3.0), False)
test.assert_equals(is_negative_zero(4.0), False)
test.assert_equals(is_negative_zero(5.0), False)
test.assert_equals(is_negative_zero(float('inf')), False)
| 47.333333 | 75 | 0.691147 | 155 | 994 | 4.141935 | 0.2 | 0.218069 | 0.34891 | 0.392523 | 0.817757 | 0.817757 | 0.817757 | 0.817757 | 0.766355 | 0.686916 | 0 | 0.035194 | 0.171026 | 994 | 20 | 76 | 49.7 | 0.743932 | 0.014085 | 0 | 0 | 0 | 0 | 0.07771 | 0 | 0 | 0 | 0 | 0 | 0.777778 | 1 | 0.111111 | true | 0 | 0 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 11 |
2763eda699b59a932973f5c7583da31ebcf78532 | 27,217 | py | Python | flask-docker-master/apps/charts.py | nephylum/city-data-comparison-ds | 286698a7137774dd5c9245a5180911a1e6c48720 | [
"MIT"
] | 2 | 2020-09-08T22:07:21.000Z | 2022-01-05T23:51:15.000Z | flask-docker-master/apps/charts.py | nephylum/city-data-comparison-ds | 286698a7137774dd5c9245a5180911a1e6c48720 | [
"MIT"
] | null | null | null | flask-docker-master/apps/charts.py | nephylum/city-data-comparison-ds | 286698a7137774dd5c9245a5180911a1e6c48720 | [
"MIT"
] | 2 | 2020-05-05T21:16:22.000Z | 2021-01-20T22:18:21.000Z | import plotly
import plotly.graph_objs as go
import pandas as pd
import numpy as np
import json
def seattle():
with open('apps/data/seattle.json', 'r') as myfile:
data=myfile.read()
seattlejsn = json.loads(data)
return(seattlejsn)
def housing(seattle):
homevals = seattle['Historical Property Value Data']
avghome = homevals['Average Home Value']
dates = list(avghome.keys())
values = list(avghome.values())
onedates = list(homevals['One Bedroom Houses'].keys())
onevalues = list(homevals['One Bedroom Houses'].values())
twodates = list(homevals['Two Bedroom Houses'].keys())
twovalues = list(homevals['Two Bedroom Houses'].values())
threedates = list(homevals['Three Bedroom Houses'].keys())
threevalues = list(homevals['Three Bedroom Houses'].values())
fourdates = list(homevals['Four Bedroom Houses'].keys())
fourvalues = list(homevals['Four Bedroom Houses'].values())
fivedates = list(homevals['Five Bedroom Houses'].keys())
fivevalues = list(homevals['Five Bedroom Houses'].values())
fig = go.Figure(data=go.Scatter(x=dates, y=values, name='Avg Price for all homes',
line = dict(color='black', width=4, dash='dash')))
fig.update_layout(
title="Seattle Washington Property Value",
plot_bgcolor='#F9F9FB'
)
fig.add_trace(go.Scatter(x=onedates, y=onevalues,
mode='lines',
name='One Bedroom Houses'))
fig.add_trace(go.Scatter(x=twodates, y=twovalues,
mode='lines',
name='Two Bedroom Houses'))
fig.add_trace(go.Scatter(x=threedates, y=threevalues,
mode='lines',
name='Three Bedroom Houses'))
fig.add_trace(go.Scatter(x=fourdates, y=fourvalues,
mode='lines',
name='Four Bedroom Houses'))
fig.add_trace(go.Scatter(x=fivedates, y=fivevalues,
mode='lines',
name='five Bedroom Houses'))
graphJSON = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder)
return graphJSON
def rent(seattle2):
rent = seattle2['Rent']
rentkeys = list(rent.keys())
rentvalues = list(rent.values())
fig2 = go.Figure(go.Bar(
x=rentvalues,
y=rentkeys,
orientation='h'))
fig2.update_layout(
title="Rent",
plot_bgcolor='#F9F9FB'
)
graphJSON2 = json.dumps(fig2, cls=plotly.utils.PlotlyJSONEncoder)
return graphJSON2
def housingtest(seattle):
rng = pd.date_range('1/1/2011', periods=7500, freq='H')
ts = pd.Series(np.random.randn(len(rng)), index=rng)
homevals = seattle['Historical Property Value Data']
avghome = homevals['Average Home Value']
dates = list(avghome.keys())
values = list(avghome.values())
onedates = list(homevals['One Bedroom Houses'].keys())
onevalues = list(homevals['One Bedroom Houses'].values())
twodates = list(homevals['Two Bedroom Houses'].keys())
twovalues = list(homevals['Two Bedroom Houses'].values())
threedates = list(homevals['Three Bedroom Houses'].keys())
threevalues = list(homevals['Three Bedroom Houses'].values())
fourdates = list(homevals['Four Bedroom Houses'].keys())
fourvalues = list(homevals['Four Bedroom Houses'].values())
fivedates = list(homevals['Five Bedroom Houses'].keys())
fivevalues = list(homevals['Five Bedroom Houses'].values())
fig = go.Figure(data=go.Scatter(x=dates, y=values, name='Avg Price for all homes',
line = dict(color='black', width=4, dash='dash')))
fig.update_layout(
title="Seattle Washington Property Value",
plot_bgcolor='#F9F9FB'
)
fig.add_trace(go.Scatter(x=onedates, y=onevalues,
mode='lines',
name='One Bedroom Houses'))
fig.add_trace(go.Scatter(x=twodates, y=twovalues,
mode='lines',
name='Two Bedroom Houses'))
fig.add_trace(go.Scatter(x=threedates, y=threevalues,
mode='lines',
name='Three Bedroom Houses'))
fig.add_trace(go.Scatter(x=fourdates, y=fourvalues,
mode='lines',
name='Four Bedroom Houses'))
fig.add_trace(go.Scatter(x=fivedates, y=fivevalues,
mode='lines',
name='five Bedroom Houses'))
rent = seattle['Rent']
rentkeys = list(rent.keys())
rentvalues = list(rent.values())
orgkeys = [rentkeys[0],rentkeys[6],rentkeys[1],rentkeys[2],rentkeys[3],rentkeys[4],rentkeys[5]]
orgvals = [rentvalues[0],rentvalues[6],rentvalues[1],rentvalues[2],rentvalues[3],rentvalues[4],rentvalues[5]]
fig2 = go.Figure(go.Bar(
x=orgkeys,
y=orgvals))
fig2.update_layout(
title="Avg Rent Price in Seattle, Washington",
plot_bgcolor='#F9F9FB'
)
built = seattle['Year Built']
builtkeys = list(built.keys())
builtvalues = list(built.values())
fig3 = go.Figure(go.Bar(
x=builtkeys,
y=builtvalues))
fig3.update_layout(
title="All Properties in Seattle Washington broken down by year built",
plot_bgcolor='#F9F9FB'
)
fig3.update_yaxes(title_text='% of all houses')
bedrooms = seattle['Housing by bedrooms']
bedroomskeys = list(bedrooms.keys())
bedroomsvalues = list(bedrooms.values())
fig4 = go.Figure(go.Bar(
x=bedroomskeys,
y=bedroomsvalues))
fig4.update_layout(
title="All Properties in Seattle Washington broken down by Number of bedrooms",
plot_bgcolor='#F9F9FB'
)
fig4.update_yaxes(title_text='% of all houses')
smoc = seattle['Selected Monthly Owner Costs with Mortgage']
smockeys = list(smoc.keys())
smocvalues = list(smoc.values())
fig5 = go.Figure(go.Bar(
x=smockeys,
y=smocvalues))
fig5.update_layout(
title="Selected Monthly Owner Costs with Mortgage",
plot_bgcolor='#F9F9FB'
)
fig5.update_yaxes(title_text='% by price range')
vehicle = seattle['Vehicles Available']
vehiclekeys = list(vehicle.keys())
vehiclevalues = list(vehicle.values())
fig6 = go.Figure(go.Bar(
x=vehiclekeys,
y=vehiclevalues))
fig6.update_layout(
title= "Number of Vehicles Available per Home",
plot_bgcolor='#F9F9FB'
)
fig6.update_yaxes(title_text='% of all homes')
Population = seattle['Population Growth']
Populationkeys = list(Population.keys())
Populationvalues = list(Population.values())
fig7 = go.Figure(go.Scatter(
x=Populationkeys,
y=Populationvalues))
fig7.update_layout(
title= "Population Growth of Seattle Washington",
plot_bgcolor='#F9F9FB'
)
fig7.update_yaxes(title_text='')
males = seattle['Marital Status']['Males']
females = seattle['Marital Status']['Females']
maleskeys = list(males.keys())
malesvalues = list(males.values())
femaleskeys = list(females.keys())
femalesvalues = list(females.values())
fig8 = go.Figure(go.Bar(
x=maleskeys,
y=malesvalues,
name='Male'))
fig8.add_trace(go.Bar(x=femaleskeys , y=femalesvalues, name="Female"))
fig8.update_layout(
title= "Marital Status by Gender",
plot_bgcolor='#F9F9FB'
)
fig8.update_yaxes(title_text='% of all homes')
mothers = seattle['Recent Mothers']['Age Distribution']
motherna = seattle['Recent Mothers']['National Avg']
motherskeys = list(mothers.keys())
mothersvalues = list(mothers.values())
mothernakeys = list(motherna.keys())
mothernavalues = list(motherna.values())
fig9 = go.Figure(go.Pie(labels=motherskeys , values=mothersvalues, name="Mothers in Seattle"))
fig9.update_layout(
title= "Age Distribution of mothers who gave birth in the last 12 months",
plot_bgcolor='#F9F9FB'
)
fig9.update_yaxes(title_text='% of all homes')
school = seattle['School Enrollment']
schoolkeys = list(school.keys())
schoolvalues = list(school.values())
fig10 = go.Figure(go.Bar(
x=schoolkeys,
y=schoolvalues,
name='School Enrollment'))
fig10.update_layout(
title= "Percentage distribution of school enrollment in Seattle",
plot_bgcolor='#F9F9FB'
)
fig10.update_yaxes(title_text='% of population over age of 5')
education = seattle['Educational Attainment']
educationkeys = list(education.keys())
educationvalues = list(education.values())
fig11 = go.Figure(go.Bar(
x=educationkeys,
y=educationvalues,
name='Educational Attainment'))
fig11.update_layout(
title= "Percentage distribution of Educational Attainment",
plot_bgcolor='#F9F9FB'
)
fig11.update_yaxes(title_text='% of population over age of 24')
ethnicity = seattle['Ethnicity']
ethnicitykeys = list(ethnicity.keys())
ethnicityvalues = list(ethnicity.values())
fig12 = go.Figure(go.Bar(
x=ethnicitykeys,
y=ethnicityvalues,
name='Ethnicity'))
fig12.update_layout(
title= "Percentage of population by Ethnicity",
plot_bgcolor='#F9F9FB'
)
fig12.update_yaxes(title_text='% of population')
sex = seattle['Sex of Labor Force']
sexkeys = list(sex.keys())
sexvalues = list(sex.values())
fig13 = go.Figure(go.Bar(
x=sexkeys,
y=sexvalues,
name='Gender'))
fig13.update_layout(
title= "Percentage of work force by gender",
plot_bgcolor='#F9F9FB'
)
fig13.update_yaxes(title_text='% of work force')
commute = seattle['Commuting to Work']
commutekeys = list(commute.keys())
commutevalues = list(commute.values())
fig14 = go.Figure(go.Bar(
x=commutekeys,
y=commutevalues,
name='Commute'))
fig14.update_layout(
title= "Percentage of work force by means of commute",
plot_bgcolor='#F9F9FB'
)
fig14.update_yaxes(title_text='% of work force')
industry = seattle['Industry']
industrykeys = list(industry.keys())
industryvalues = list(industry.values())
fig15 = go.Figure(go.Bar(
x=industrykeys,
y=industryvalues,
name='Industry'))
fig15.update_layout(
title= "Percentage of work force by industry",
plot_bgcolor='#F9F9FB'
)
fig15.update_yaxes(title_text='% of work force')
classofw = seattle['Class of Worker']
classofwkeys = list(classofw.keys())
classofwvalues = list(classofw.values())
fig16 = go.Figure(go.Bar(
x=classofwkeys,
y=classofwvalues,
name='Class of Worker'))
fig16.update_layout(
title= "Percentage of work force by class of worker",
plot_bgcolor='#F9F9FB'
)
fig16.update_yaxes(title_text='% of work force')
occupation = seattle['Occupation']
occupationkeys = list(occupation.keys())
occupationvalues = list(occupation.values())
fig17 = go.Figure(go.Bar(
x=occupationkeys,
y=occupationvalues,
name='Occupation'))
fig17.update_layout(
title= "Percentage of work force by Occupation",
plot_bgcolor='#F9F9FB'
)
fig17.update_yaxes(title_text='% of work force')
incomehouse = seattle['Household Income']
incomehousekeys = list(incomehouse.keys())
incomehousevalues = list(incomehouse.values())
fig18 = go.Figure(go.Bar(
x=incomehousekeys,
y=incomehousevalues,
name='Household Income'))
fig18.update_layout(
title= "Percentage of households by income",
plot_bgcolor='#F9F9FB'
)
fig18.update_yaxes(title_text='% of households')
pci = seattle['Per Capita by Gender']
pcikeys = list(pci.keys())
pcivalues = list(pci.values())
fig19 = go.Figure(go.Bar(
x=pcikeys,
y=pcivalues,
name='Per capita income'))
fig19.update_layout(
title= "Per capita income by gender",
plot_bgcolor='#F9F9FB'
)
fig19.update_yaxes(title_text='Yearly Income in USD')
graphs = [fig,fig2,fig3, fig4, fig5, fig6, fig7, fig8, fig9, fig10, fig11, fig12, fig13, fig14, fig15, fig16, fig17, fig18, fig19]
ids = ['graph-{}'.format(i) for i, _ in enumerate(graphs)]
content = [['Housing Prices', 'Data pulled from the "Historical Property Value Data" key.', 'housing'],
['Rent Prices','', ''],
['Year Structure was Built','', ''],
['All houses by number of bedrooms.','', ''],
['Selected Monthly Owner Costs with Mortgage','',''],
['Vehicles Available by Home','',''],
['Population Growth','','social'],
['Marital Status by Gender','',''],
['Recent Mothers','',''],
['School Enrollment','',''],
['Educational Attainment','',''],
['Ethnicity','',''],
['Work Force by Gender','','work'],
['Method of Commuting to Work','',''],
['Industry','',''],
['Class of worker','',''],
['Occupation','',''],
['Household Income','','eco'],
['Per Capita Income','','']]
graphJSON = json.dumps(graphs, cls=plotly.utils.PlotlyJSONEncoder)
return((graphJSON, ids, content))
def housing(seattle):
homevals = seattle['Historical Property Value Data']
avghome = homevals['Average Home Value']
dates = list(avghome.keys())
values = list(avghome.values())
onedates = list(homevals['One Bedroom Houses'].keys())
onevalues = list(homevals['One Bedroom Houses'].values())
twodates = list(homevals['Two Bedroom Houses'].keys())
twovalues = list(homevals['Two Bedroom Houses'].values())
threedates = list(homevals['Three Bedroom Houses'].keys())
threevalues = list(homevals['Three Bedroom Houses'].values())
fourdates = list(homevals['Four Bedroom Houses'].keys())
fourvalues = list(homevals['Four Bedroom Houses'].values())
fivedates = list(homevals['Five Bedroom Houses'].keys())
fivevalues = list(homevals['Five Bedroom Houses'].values())
fig = go.Figure(data=go.Scatter(x=dates, y=values, name='Avg Price for all homes',
line = dict(color='black', width=4, dash='dash')))
fig.update_layout(
title="Seattle Washington Property Value",
plot_bgcolor='#F9F9FB'
)
fig.add_trace(go.Scatter(x=onedates, y=onevalues,
mode='lines',
name='One Bedroom Houses'))
fig.add_trace(go.Scatter(x=twodates, y=twovalues,
mode='lines',
name='Two Bedroom Houses'))
fig.add_trace(go.Scatter(x=threedates, y=threevalues,
mode='lines',
name='Three Bedroom Houses'))
fig.add_trace(go.Scatter(x=fourdates, y=fourvalues,
mode='lines',
name='Four Bedroom Houses'))
fig.add_trace(go.Scatter(x=fivedates, y=fivevalues,
mode='lines',
name='five Bedroom Houses'))
graphJSON = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder)
return graphJSON
def rent(seattle2):
rent = seattle2['Rent']
rentkeys = list(rent.keys())
rentvalues = list(rent.values())
fig2 = go.Figure(go.Bar(
x=rentvalues,
y=rentkeys,
orientation='h'))
fig2.update_layout(
title="Rent",
plot_bgcolor='#F9F9FB'
)
graphJSON2 = json.dumps(fig2, cls=plotly.utils.PlotlyJSONEncoder)
return graphJSON2
def housingtest2(seattle):
rng = pd.date_range('1/1/2011', periods=7500, freq='H')
ts = pd.Series(np.random.randn(len(rng)), index=rng)
homevals = seattle['Historical Property Value Data']
avghome = homevals['Average Home Value']
dates = list(avghome.keys())
values = list(avghome.values())
onedates = list(homevals['One Bedroom Houses'].keys())
onevalues = list(homevals['One Bedroom Houses'].values())
twodates = list(homevals['Two Bedroom Houses'].keys())
twovalues = list(homevals['Two Bedroom Houses'].values())
threedates = list(homevals['Three Bedroom Houses'].keys())
threevalues = list(homevals['Three Bedroom Houses'].values())
fourdates = list(homevals['Four Bedroom Houses'].keys())
fourvalues = list(homevals['Four Bedroom Houses'].values())
fivedates = list(homevals['Five Bedroom Houses'].keys())
fivevalues = list(homevals['Five Bedroom Houses'].values())
fig = go.Figure(data=go.Scatter(x=dates, y=values, name='Avg Price for all homes',
line = dict(color='black', width=4, dash='dash')))
fig.update_layout(
title="Seattle Washington Property Value",
plot_bgcolor='#F9F9FB'
)
fig.add_trace(go.Scatter(x=onedates, y=onevalues,
mode='lines',
name='One Bedroom Houses'))
fig.add_trace(go.Scatter(x=twodates, y=twovalues,
mode='lines',
name='Two Bedroom Houses'))
fig.add_trace(go.Scatter(x=threedates, y=threevalues,
mode='lines',
name='Three Bedroom Houses'))
fig.add_trace(go.Scatter(x=fourdates, y=fourvalues,
mode='lines',
name='Four Bedroom Houses'))
fig.add_trace(go.Scatter(x=fivedates, y=fivevalues,
mode='lines',
name='five Bedroom Houses'))
rent = seattle['Rent']
rentkeys = list(rent.keys())
rentvalues = list(rent.values())
orgkeys = [rentkeys[0],rentkeys[6],rentkeys[1],rentkeys[2],rentkeys[3],rentkeys[4],rentkeys[5]]
orgvals = [rentvalues[0],rentvalues[6],rentvalues[1],rentvalues[2],rentvalues[3],rentvalues[4],rentvalues[5]]
fig2 = go.Figure(go.Bar(
x=orgkeys,
y=orgvals))
fig2.update_layout(
title="Avg Rent Price in Seattle, Washington",
plot_bgcolor='#F9F9FB'
)
built = seattle['Year Built']
builtkeys = list(built.keys())
builtvalues = list(built.values())
fig3 = go.Figure(go.Bar(
x=builtkeys,
y=builtvalues))
fig3.update_layout(
title="All Properties in Seattle Washington broken down by year built",
plot_bgcolor='#F9F9FB'
)
fig3.update_yaxes(title_text='% of all houses')
bedrooms = seattle['Housing by bedrooms']
bedroomskeys = list(bedrooms.keys())
bedroomsvalues = list(bedrooms.values())
fig4 = go.Figure(go.Bar(
x=bedroomskeys,
y=bedroomsvalues))
fig4.update_layout(
title="All Properties in Seattle Washington broken down by Number of bedrooms",
plot_bgcolor='#F9F9FB'
)
fig4.update_yaxes(title_text='% of all houses')
smoc = seattle['Selected Monthly Owner Costs with Mortgage']
smockeys = list(smoc.keys())
smocvalues = list(smoc.values())
fig5 = go.Figure(go.Bar(
x=smockeys,
y=smocvalues))
fig5.update_layout(
title="Selected Monthly Owner Costs with Mortgage",
plot_bgcolor='#F9F9FB'
)
fig5.update_yaxes(title_text='% by price range')
vehicle = seattle['Vehicles Available']
vehiclekeys = list(vehicle.keys())
vehiclevalues = list(vehicle.values())
fig6 = go.Figure(go.Bar(
x=vehiclekeys,
y=vehiclevalues))
fig6.update_layout(
title= "Number of Vehicles Available per Home",
plot_bgcolor='#F9F9FB'
)
fig6.update_yaxes(title_text='% of all homes')
Population = seattle['Population Growth']
Populationkeys = list(Population.keys())
Populationvalues = list(Population.values())
fig7 = go.Figure(go.Scatter(
x=Populationkeys,
y=Populationvalues))
fig7.update_layout(
title= "Population Growth of Seattle Washington",
plot_bgcolor='#F9F9FB'
)
fig7.update_yaxes(title_text='')
males = seattle['Marital Status']['Males']
females = seattle['Marital Status']['Females']
maleskeys = list(males.keys())
malesvalues = list(males.values())
femaleskeys = list(females.keys())
femalesvalues = list(females.values())
fig8 = go.Figure(go.Bar(
x=maleskeys,
y=malesvalues,
name='Male'))
fig8.add_trace(go.Bar(x=femaleskeys , y=femalesvalues, name="Female"))
fig8.update_layout(
title= "Marital Status by Gender",
plot_bgcolor='#F9F9FB'
)
fig8.update_yaxes(title_text='% of all homes')
mothers = seattle['Recent Mothers']['Age Distribution']
motherna = seattle['Recent Mothers']['National Avg']
motherskeys = list(mothers.keys())
mothersvalues = list(mothers.values())
mothernakeys = list(motherna.keys())
mothernavalues = list(motherna.values())
fig9 = go.Figure(go.Pie(labels=motherskeys , values=mothersvalues, name="Mothers in Seattle"))
fig9.update_layout(
title= "Age Distribution of mothers who gave birth in the last 12 months",
plot_bgcolor='#F9F9FB'
)
fig9.update_yaxes(title_text='% of all homes')
school = seattle['School Enrollment']
schoolkeys = list(school.keys())
schoolvalues = list(school.values())
fig10 = go.Figure(go.Bar(
x=schoolkeys,
y=schoolvalues,
name='School Enrollment'))
fig10.update_layout(
title= "Percentage distribution of school enrollment in Seattle",
plot_bgcolor='#F9F9FB'
)
fig10.update_yaxes(title_text='% of population over age of 5')
education = seattle['Educational Attainment']
educationkeys = list(education.keys())
educationvalues = list(education.values())
fig11 = go.Figure(go.Bar(
x=educationkeys,
y=educationvalues,
name='Educational Attainment'))
fig11.update_layout(
title= "Percentage distribution of Educational Attainment",
plot_bgcolor='#F9F9FB'
)
fig11.update_yaxes(title_text='% of population over age of 24')
ethnicity = seattle['Ethnicity']
ethnicitykeys = list(ethnicity.keys())
ethnicityvalues = list(ethnicity.values())
fig12 = go.Figure(go.Bar(
x=ethnicitykeys,
y=ethnicityvalues,
name='Ethnicity'))
fig12.update_layout(
title= "Percentage of population by Ethnicity",
plot_bgcolor='#F9F9FB'
)
fig12.update_yaxes(title_text='% of population')
sex = seattle['Sex of Labor Force']
sexkeys = list(sex.keys())
sexvalues = list(sex.values())
fig13 = go.Figure(go.Bar(
x=sexkeys,
y=sexvalues,
name='Gender'))
fig13.update_layout(
title= "Percentage of work force by gender",
plot_bgcolor='#F9F9FB'
)
fig13.update_yaxes(title_text='% of work force')
commute = seattle['Commuting to Work']
commutekeys = list(commute.keys())
commutevalues = list(commute.values())
fig14 = go.Figure(go.Bar(
x=commutekeys,
y=commutevalues,
name='Commute'))
fig14.update_layout(
title= "Percentage of work force by means of commute",
plot_bgcolor='#F9F9FB'
)
fig14.update_yaxes(title_text='% of work force')
industry = seattle['Industry']
industrykeys = list(industry.keys())
industryvalues = list(industry.values())
fig15 = go.Figure(go.Bar(
x=industrykeys,
y=industryvalues,
name='Industry'))
fig15.update_layout(
title= "Percentage of work force by industry",
plot_bgcolor='#F9F9FB'
)
fig15.update_yaxes(title_text='% of work force')
classofw = seattle['Class of Worker']
classofwkeys = list(classofw.keys())
classofwvalues = list(classofw.values())
fig16 = go.Figure(go.Bar(
x=classofwkeys,
y=classofwvalues,
name='Class of Worker'))
fig16.update_layout(
title= "Percentage of work force by class of worker",
plot_bgcolor='#F9F9FB'
)
fig16.update_yaxes(title_text='% of work force')
occupation = seattle['Occupation']
occupationkeys = list(occupation.keys())
occupationvalues = list(occupation.values())
fig17 = go.Figure(go.Bar(
x=occupationkeys,
y=occupationvalues,
name='Occupation'))
fig17.update_layout(
title= "Percentage of work force by Occupation",
plot_bgcolor='#F9F9FB'
)
fig17.update_yaxes(title_text='% of work force')
incomehouse = seattle['Household Income']
incomehousekeys = list(incomehouse.keys())
incomehousevalues = list(incomehouse.values())
fig18 = go.Figure(go.Bar(
x=incomehousekeys,
y=incomehousevalues,
name='Household Income'))
fig18.update_layout(
title= "Percentage of households by income",
plot_bgcolor='#F9F9FB'
)
fig18.update_yaxes(title_text='% of households')
pci = seattle['Per Capita by Gender']
pcikeys = list(pci.keys())
pcivalues = list(pci.values())
fig19 = go.Figure(go.Bar(
x=pcikeys,
y=pcivalues,
name='Per capita income'))
fig19.update_layout(
title= "Per capita income by gender",
plot_bgcolor='#F9F9FB'
)
fig19.update_yaxes(title_text='Yearly Income in USD')
graphs = [fig,fig2,fig3, fig4, fig5, fig6, fig7, fig8, fig9, fig10, fig11, fig12, fig13, fig14, fig15, fig16, fig17, fig18, fig19]
ids = ['graph-{}'.format(i) for i, _ in enumerate(graphs)]
content = [['Housing Prices', 'Data pulled from the "Historical Property Value Data" key.', 'housing'],
['Rent Prices','', ''],
['Year Structure was Built','', ''],
['All houses by number of bedrooms.','', ''],
['Selected Monthly Owner Costs with Mortgage','',''],
['Vehicles Available by Home','',''],
['Population Growth','','social'],
['Marital Status by Gender','',''],
['Recent Mothers','',''],
['School Enrollment','',''],
['Educational Attainment','',''],
['Ethnicity','',''],
['Work Force by Gender','','work'],
['Method of Commuting to Work','',''],
['Industry','',''],
['Class of worker','',''],
['Occupation','',''],
['Household Income','','eco'],
['Per Capita Income','','']]
graphJSON = json.dumps(graphs, cls=plotly.utils.PlotlyJSONEncoder)
return((graphJSON, ids, content))
| 33.76799 | 134 | 0.60341 | 2,964 | 27,217 | 5.480432 | 0.089069 | 0.048018 | 0.043955 | 0.02721 | 0.987688 | 0.987688 | 0.987688 | 0.987688 | 0.987688 | 0.987688 | 0 | 0.019189 | 0.262814 | 27,217 | 805 | 135 | 33.809938 | 0.790421 | 0 | 0 | 0.918919 | 0 | 0 | 0.222324 | 0.000808 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010511 | false | 0 | 0.007508 | 0 | 0.024024 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
2771f69b43b8b72d9fb4ef84e6d28c661deeed97 | 182 | py | Python | object_bucket/errors/__init__.py | Adwaith-Rajesh/Object-Bucket | 9ebed017c2cd46b955cea275a67f7b195e159a55 | [
"MIT"
] | 4 | 2021-01-28T08:51:08.000Z | 2021-05-30T08:12:23.000Z | object_bucket/errors/__init__.py | Adwaith-Rajesh/object-bucket | 9ebed017c2cd46b955cea275a67f7b195e159a55 | [
"MIT"
] | null | null | null | object_bucket/errors/__init__.py | Adwaith-Rajesh/object-bucket | 9ebed017c2cd46b955cea275a67f7b195e159a55 | [
"MIT"
] | null | null | null | from .bucket_error import DropletDoesNotExistsError # noqa: F401
from .bucket_error import DropletExistsError # noqa: F401
from .bucket_error import DropletTypeError # noqa: F401
| 45.5 | 65 | 0.818681 | 21 | 182 | 6.952381 | 0.428571 | 0.205479 | 0.308219 | 0.431507 | 0.39726 | 0.39726 | 0 | 0 | 0 | 0 | 0 | 0.056962 | 0.131868 | 182 | 3 | 66 | 60.666667 | 0.867089 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 7 |
27c98d476e9a53b9d3109f4bcecaa7441b5243da | 24,044 | py | Python | mmnas/loader/load_data_itm.py | ParadoxZW/mmnas | 186ef8648e71b5fc4433faf80431a0f8bc9261a0 | [
"Apache-2.0"
] | 23 | 2020-09-23T03:26:37.000Z | 2022-01-24T03:35:17.000Z | mmnas/loader/load_data_itm.py | ParadoxZW/mmnas | 186ef8648e71b5fc4433faf80431a0f8bc9261a0 | [
"Apache-2.0"
] | 9 | 2021-02-24T02:59:03.000Z | 2021-11-16T22:41:36.000Z | mmnas/loader/load_data_itm.py | ParadoxZW/mmnas | 186ef8648e71b5fc4433faf80431a0f8bc9261a0 | [
"Apache-2.0"
] | 8 | 2020-09-18T06:38:47.000Z | 2022-01-24T03:35:19.000Z | import numpy as np
import glob, json, re, torch, en_vectors_web_lg, random
import torch.utils.data as Data
def relation_embedding(f_g):
x_min, y_min, x_max, y_max = torch.chunk(f_g, 4, dim=1) # [n_obj, 1]
cx = (x_min + x_max) * 0.5 # [n_obj, 1]
cy = (y_min + y_max) * 0.5 # [n_obj, 1]
w = (x_max - x_min) + 1. # [n_obj, 1]
h = (y_max - y_min) + 1. # [n_obj, 1]
delta_x = cx - cx.view(1, -1)
delta_x = torch.clamp(torch.abs(delta_x / w), min=1e-3)
delta_x = torch.log(delta_x) # [n_obj, n_obj]
delta_y = cy - cy.view(1, -1)
delta_y = torch.clamp(torch.abs(delta_y / h), min=1e-3)
delta_y = torch.log(delta_y) # [n_obj, n_obj]
delta_w = torch.log(w / w.view(1, -1)) # [n_obj, n_obj]
delta_h = torch.log(h / h.view(1, -1)) # [n_obj, n_obj]
size = delta_h.size()
delta_x = delta_x.view(size[0], size[1], 1)
delta_y = delta_y.view(size[0], size[1], 1)
delta_w = delta_w.view(size[0], size[1], 1)
delta_h = delta_h.view(size[0], size[1], 1) # [n_obj, n_obj, 1]
position_mat = torch.cat((delta_x, delta_y, delta_w, delta_h), -1) # [n_obj, n_obj, 4]
return position_mat
class DataSet(Data.Dataset):
def __init__(self, __C, RUN_MODE):
self.__C = __C
self.RUN_MODE = RUN_MODE
# Loading all image paths
frcn_feat_path_list = []
for feat_split in __C.IMGFEAT_PATH[__C.DATASET]:
frcn_feat_path_list += glob.glob(__C.IMGFEAT_PATH[__C.DATASET][feat_split] + '*.npz')
# Loading question word list
stat_caps_list = []
for cap_split in __C.CAPTION_PATH[__C.DATASET]:
if 'caps' in cap_split:
with open(__C.CAPTION_PATH[__C.DATASET][cap_split], "r") as f:
for line in f:
# print(line)
stat_caps_list.append(line.strip())
# Loading question and answer list
self.caps_list = []
self.feat_ids_list = []
self.feat_ids_div = 5
split_list = __C.SPLIT[RUN_MODE].split('+')
for split in split_list:
with open(__C.CAPTION_PATH[__C.DATASET][split + '-caps'], "r") as f:
for line in f:
self.caps_list.append(line.strip())
with open(__C.CAPTION_PATH[__C.DATASET][split + '-ids'], "r") as f:
for line_i, line in enumerate(f):
if split in ['train']:
self.feat_ids_list.append(line.strip())
else:
if line_i % self.feat_ids_div == 0:
self.feat_ids_list.append(line.strip())
print(' ========== Images size:', len(self.feat_ids_list))
self.data_size = self.caps_list.__len__()
print(' ========== Caption size:', self.data_size)
id_map = None
if __C.DATASET in ['flickr']:
orin_caps = json.load(open(__C.CAPTION_PATH[__C.DATASET]['orin'], 'r'))
id_map = {}
for orin_cap in orin_caps['images']:
orin_id = orin_cap['filename'].split('.')[0]
id_map[orin_id] = str(orin_cap['imgid'])
# print(id_map)
# {image id} -> {image feature absolutely path}
self.iid_to_frcn_feat_path = self.img_feat_path_load(frcn_feat_path_list, id_map=id_map)
# Tokenize
self.token_to_ix, self.pretrained_emb, max_token = self.tokenize(stat_caps_list, __C.GLOVE_FEATURE)
self.token_size = self.token_to_ix.__len__()
print(' ========== Caption token vocab size:', self.token_size)
if __C.MAX_TOKEN < 0:
self.max_token = max_token
else:
self.max_token = __C.MAX_TOKEN
print(' ========== Caption token max length:', self.max_token)
self.neg_caps_idx_tensor = torch.randint(high=self.data_size, size=(len(self.feat_ids_list), self.__C.NEG_HARDSIZE)).long()
self.neg_imgs_idx_tensor = torch.randint(high=len(self.feat_ids_list), size=(self.data_size, self.__C.NEG_HARDSIZE)).long()
def shuffle_neg_idx(self):
self.neg_caps_idx_tensor = torch.randint(high=self.data_size, size=(len(self.feat_ids_list), self.__C.NEG_HARDSIZE)).long()
self.neg_imgs_idx_tensor = torch.randint(high=len(self.feat_ids_list), size=(self.data_size, self.__C.NEG_HARDSIZE)).long()
def img_feat_path_load(self, path_list, id_map=None):
iid_to_path = {}
for ix, path in enumerate(path_list):
iid = str(int(path.split('/')[-1].split('_')[-1].split('.')[0]))
# print(iid)
if id_map is not None:
if iid not in id_map:
continue
iid = id_map[iid]
iid_to_path[iid] = path
return iid_to_path
def tokenize(self, stat_caps_list, use_glove):
max_token = 0
token_to_ix = {
'PAD': 0,
'UNK': 1,
'CLS': 2,
}
spacy_tool = None
pretrained_emb = []
if use_glove:
spacy_tool = en_vectors_web_lg.load()
pretrained_emb.append(spacy_tool('PAD').vector)
pretrained_emb.append(spacy_tool('UNK').vector)
pretrained_emb.append(spacy_tool('CLS').vector)
for cap in stat_caps_list:
words = re.sub(r"([.,'!?\"()*#:;])", '', cap.lower()).replace('-', ' ').replace('/', ' ').split()
max_token = max(len(words), max_token)
for word in words:
if word not in token_to_ix:
token_to_ix[word] = len(token_to_ix)
if use_glove:
pretrained_emb.append(spacy_tool(word).vector)
pretrained_emb = np.array(pretrained_emb)
return token_to_ix, pretrained_emb, max_token
def get_all_caps(self):
cap_ix_iter_list = []
for idx in range(self.data_size):
cap = self.caps_list[idx]
cap_ix_iter = self.proc_cap(cap, self.token_to_ix, max_token=self.max_token)
cap_ix_iter = torch.from_numpy(cap_ix_iter).unsqueeze(0)
cap_ix_iter_list.append(cap_ix_iter)
cap_ix_iter_list = torch.cat(cap_ix_iter_list, dim=0)
return cap_ix_iter_list, torch.zeros(self.data_size, self.max_token, self.max_token, 3)
def get_all_imgs(self):
frcn_feat_iter_list = []
bbox_feat_iter_list = []
rel_img_iter_list = []
for idx in range(len(self.feat_ids_list)):
frcn_feat = np.load(self.iid_to_frcn_feat_path[self.feat_ids_list[idx]])
frcn_feat_x = frcn_feat['x'].transpose((1, 0))
frcn_feat_iter = self.proc_img_feat(frcn_feat_x, img_feat_pad_size=self.__C.FRCNFEAT_LEN)
frcn_feat_iter = torch.from_numpy(frcn_feat_iter).unsqueeze(0)
frcn_feat_iter_list.append(frcn_feat_iter)
bbox_feat_iter = self.proc_img_feat(
self.proc_bbox_feat(
frcn_feat['bbox'],
(frcn_feat['image_h'], frcn_feat['image_w'])
),
img_feat_pad_size=self.__C.FRCNFEAT_LEN
)
bbox_feat_iter = torch.from_numpy(bbox_feat_iter).unsqueeze(0)
bbox_feat_iter_list.append(bbox_feat_iter)
bbox = torch.from_numpy(frcn_feat['bbox'].astype(np.float32))
rel_img = relation_embedding(bbox) # [n_obj, n_obj, 4]
rel_img_iter = torch.zeros(self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_LEN, 4)
rel_img_iter[:rel_img.size(0), :rel_img.size(1), :] = rel_img[:]
rel_img_iter = rel_img_iter.unsqueeze(0)
rel_img_iter_list.append(rel_img_iter)
frcn_feat_iter_list = torch.cat(frcn_feat_iter_list, dim=0)
bbox_feat_iter_list = torch.cat(bbox_feat_iter_list, dim=0)
rel_img_iter_list = torch.cat(rel_img_iter_list, dim=0)
return frcn_feat_iter_list, bbox_feat_iter_list, rel_img_iter_list
def __getitem__(self, idx):
# pos caps
cap = self.caps_list[idx]
cap_ix_iter = self.proc_cap(cap, self.token_to_ix, max_token=self.max_token)
cap_ix_iter = torch.from_numpy(cap_ix_iter)
rel_cap_iter = torch.zeros(self.max_token, self.max_token, 3)
# pos imgs
frcn_feat = np.load(self.iid_to_frcn_feat_path[self.feat_ids_list[int(idx / self.feat_ids_div)]])
frcn_feat_x = frcn_feat['x'].transpose((1, 0))
frcn_feat_iter = self.proc_img_feat(frcn_feat_x, img_feat_pad_size=self.__C.FRCNFEAT_LEN)
frcn_feat_iter = torch.from_numpy(frcn_feat_iter)
bbox_feat_iter = self.proc_img_feat(
self.proc_bbox_feat(
frcn_feat['bbox'],
(frcn_feat['image_h'], frcn_feat['image_w'])
),
img_feat_pad_size=self.__C.FRCNFEAT_LEN
)
bbox_feat_iter = torch.from_numpy(bbox_feat_iter)
bbox = torch.from_numpy(frcn_feat['bbox'].astype(np.float32))
rel_img = relation_embedding(bbox) # [n_obj, n_obj, 4]
rel_img_iter = torch.zeros(self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_LEN, 4)
rel_img_iter[:rel_img.size(0), :rel_img.size(1), :] = rel_img[:]
neg_frcn_feat_iter = torch.zeros(1)
neg_bbox_feat_iter = torch.zeros(1)
neg_rel_img_iter = torch.zeros(1)
neg_cap_ix_iter = torch.zeros(1)
neg_rel_cap_iter = torch.zeros(1)
if self.RUN_MODE == 'train':
# neg caps
neg_cap_idx = random.randint(0, self.__C.NEG_HARDSIZE - 1)
neg_cap = self.caps_list[self.neg_caps_idx_tensor[int(idx / self.feat_ids_div), neg_cap_idx]]
neg_cap_ix_iter = self.proc_cap(neg_cap, self.token_to_ix, max_token=self.max_token)
neg_cap_ix_iter = torch.from_numpy(neg_cap_ix_iter)
neg_rel_cap_iter = torch.zeros(self.max_token, self.max_token, 3)
# neg imgs
neg_img_idx = random.randint(0, self.__C.NEG_HARDSIZE - 1)
neg_frcn_feat = np.load(self.iid_to_frcn_feat_path[self.feat_ids_list[self.neg_imgs_idx_tensor[idx, neg_img_idx]]])
neg_frcn_feat_x = neg_frcn_feat['x'].transpose((1, 0))
neg_frcn_feat_iter = self.proc_img_feat(neg_frcn_feat_x, img_feat_pad_size=self.__C.FRCNFEAT_LEN)
neg_frcn_feat_iter = torch.from_numpy(neg_frcn_feat_iter)
neg_bbox_feat_iter = self.proc_img_feat(
self.proc_bbox_feat(
neg_frcn_feat['bbox'],
(neg_frcn_feat['image_h'], neg_frcn_feat['image_w'])
),
img_feat_pad_size=self.__C.FRCNFEAT_LEN
)
neg_bbox_feat_iter = torch.from_numpy(neg_bbox_feat_iter)
neg_bbox = torch.from_numpy(neg_frcn_feat['bbox'].astype(np.float32))
neg_rel_img = relation_embedding(neg_bbox) # [n_obj, n_obj, 4]
neg_rel_img_iter = torch.zeros(self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_LEN, 4)
neg_rel_img_iter[:neg_rel_img.size(0), :neg_rel_img.size(1), :] = neg_rel_img[:]
return frcn_feat_iter, \
bbox_feat_iter, \
rel_img_iter, \
cap_ix_iter, \
rel_cap_iter,\
neg_frcn_feat_iter, \
neg_bbox_feat_iter, \
neg_rel_img_iter, \
neg_cap_ix_iter, \
neg_rel_cap_iter
def __len__(self):
return self.data_size
def proc_img_feat(self, img_feat, img_feat_pad_size):
if img_feat.shape[0] > img_feat_pad_size:
img_feat = img_feat[:img_feat_pad_size]
img_feat = np.pad(
img_feat,
((0, img_feat_pad_size - img_feat.shape[0]), (0, 0)),
mode='constant',
constant_values=0
)
return img_feat
def proc_bbox_feat(self, bbox, img_shape):
bbox_feat = np.zeros((bbox.shape[0], 5), dtype=np.float32)
bbox_feat[:, 0] = bbox[:, 0] / float(img_shape[1])
bbox_feat[:, 1] = bbox[:, 1] / float(img_shape[0])
bbox_feat[:, 2] = bbox[:, 2] / float(img_shape[1])
bbox_feat[:, 3] = bbox[:, 3] / float(img_shape[0])
bbox_feat[:, 4] = (bbox[:, 2] - bbox[:, 0]) * (bbox[:, 3] - bbox[:, 1]) / float(img_shape[0] * img_shape[1])
return bbox_feat
def proc_cap(self, cap, token_to_ix, max_token):
cap_ix = np.zeros(max_token, np.int64)
words = re.sub(r"([.,'!?\"()*#:;])", '', cap.lower()).replace('-', ' ').replace('/', ' ').split()
for ix, word in enumerate(words):
if word in token_to_ix:
cap_ix[ix] = token_to_ix[word]
else:
cap_ix[ix] = token_to_ix['UNK']
if ix + 1 == max_token:
break
return cap_ix
class DataSet_Neg(Data.Dataset):
def __init__(self, __C, keep):
print(' ========== Neg Loader Keep:', keep)
self.__C = __C
self.keep = keep
# Loading all image paths
frcn_feat_path_list = []
for feat_split in __C.IMGFEAT_PATH[__C.DATASET]:
frcn_feat_path_list += glob.glob(__C.IMGFEAT_PATH[__C.DATASET][feat_split] + '*.npz')
# Loading question word list
stat_caps_list = []
for cap_split in __C.CAPTION_PATH[__C.DATASET]:
if 'caps' in cap_split:
with open(__C.CAPTION_PATH[__C.DATASET][cap_split], "r") as f:
for line in f:
# print(line)
stat_caps_list.append(line.strip())
# Loading question and answer list
self.caps_list = []
self.feat_ids_list = []
self.feat_ids_div = 5
split_list = __C.SPLIT['train'].split('+')
for split in split_list:
with open(__C.CAPTION_PATH[__C.DATASET][split + '-caps'], "r") as f:
for line in f:
self.caps_list.append(line.strip())
with open(__C.CAPTION_PATH[__C.DATASET][split + '-ids'], "r") as f:
for line_i, line in enumerate(f):
if split in ['train']:
self.feat_ids_list.append(line.strip())
else:
if line_i % self.feat_ids_div == 0:
self.feat_ids_list.append(line.strip())
print(' ========== Images size:', len(self.feat_ids_list))
self.data_size = self.caps_list.__len__()
print(' ========== Caption size:', self.data_size)
id_map = None
if __C.DATASET in ['flickr']:
orin_caps = json.load(open(__C.CAPTION_PATH[__C.DATASET]['orin'], 'r'))
id_map = {}
for orin_cap in orin_caps['images']:
orin_id = orin_cap['filename'].split('.')[0]
id_map[orin_id] = str(orin_cap['imgid'])
# print(id_map)
# {image id} -> {image feature absolutely path}
self.iid_to_frcn_feat_path = self.img_feat_path_load(frcn_feat_path_list, id_map=id_map)
# Tokenize
self.token_to_ix, self.pretrained_emb, max_token = self.tokenize(stat_caps_list, __C.GLOVE_FEATURE)
self.token_size = self.token_to_ix.__len__()
print(' ========== Caption token vocab size:', self.token_size)
if __C.MAX_TOKEN < 0:
self.max_token = max_token
else:
self.max_token = __C.MAX_TOKEN
print(' ========== Caption token max length:', self.max_token)
def img_feat_path_load(self, path_list, id_map=None):
iid_to_path = {}
for ix, path in enumerate(path_list):
iid = str(int(path.split('/')[-1].split('_')[-1].split('.')[0]))
# print(iid)
if id_map is not None:
if iid not in id_map:
continue
iid = id_map[iid]
iid_to_path[iid] = path
return iid_to_path
def tokenize(self, stat_caps_list, use_glove):
max_token = 0
token_to_ix = {
'PAD': 0,
'UNK': 1,
'CLS': 2,
}
spacy_tool = None
pretrained_emb = []
if use_glove:
spacy_tool = en_vectors_web_lg.load()
pretrained_emb.append(spacy_tool('PAD').vector)
pretrained_emb.append(spacy_tool('UNK').vector)
pretrained_emb.append(spacy_tool('CLS').vector)
for cap in stat_caps_list:
words = re.sub(r"([.,'!?\"()*#:;])", '', cap.lower()).replace('-', ' ').replace('/', ' ').split()
max_token = max(len(words), max_token)
for word in words:
if word not in token_to_ix:
token_to_ix[word] = len(token_to_ix)
if use_glove:
pretrained_emb.append(spacy_tool(word).vector)
pretrained_emb = np.array(pretrained_emb)
return token_to_ix, pretrained_emb, max_token
def get_all_caps(self):
cap_ix_iter_list = []
for idx in range(self.data_size):
cap = self.caps_list[idx]
cap_ix_iter = self.proc_cap(cap, self.token_to_ix, max_token=self.max_token)
cap_ix_iter = torch.from_numpy(cap_ix_iter).unsqueeze(0)
cap_ix_iter_list.append(cap_ix_iter)
cap_ix_iter_list = torch.cat(cap_ix_iter_list, dim=0)
return cap_ix_iter_list, torch.zeros(self.data_size, self.max_token, self.max_token, 3)
def get_all_imgs(self):
frcn_feat_iter_list = []
bbox_feat_iter_list = []
rel_img_iter_list = []
for idx in range(len(self.feat_ids_list)):
frcn_feat = np.load(self.iid_to_frcn_feat_path[self.feat_ids_list[idx]])
frcn_feat_x = frcn_feat['x'].transpose((1, 0))
frcn_feat_iter = self.proc_img_feat(frcn_feat_x, img_feat_pad_size=self.__C.FRCNFEAT_LEN)
frcn_feat_iter = torch.from_numpy(frcn_feat_iter).unsqueeze(0)
frcn_feat_iter_list.append(frcn_feat_iter)
bbox_feat_iter = self.proc_img_feat(
self.proc_bbox_feat(
frcn_feat['bbox'],
(frcn_feat['image_h'], frcn_feat['image_w'])
),
img_feat_pad_size=self.__C.FRCNFEAT_LEN
)
bbox_feat_iter = torch.from_numpy(bbox_feat_iter).unsqueeze(0)
bbox_feat_iter_list.append(bbox_feat_iter)
bbox = torch.from_numpy(frcn_feat['bbox'].astype(np.float32))
rel_img = relation_embedding(bbox) # [n_obj, n_obj, 4]
rel_img_iter = torch.zeros(self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_LEN, 4)
rel_img_iter[:rel_img.size(0), :rel_img.size(1), :] = rel_img[:]
rel_img_iter = rel_img_iter.unsqueeze(0)
rel_img_iter_list.append(rel_img_iter)
frcn_feat_iter_list = torch.cat(frcn_feat_iter_list, dim=0)
bbox_feat_iter_list = torch.cat(bbox_feat_iter_list, dim=0)
rel_img_iter_list = torch.cat(rel_img_iter_list, dim=0)
return frcn_feat_iter_list, bbox_feat_iter_list, rel_img_iter_list
def __getitem__(self, idx):
if self.keep == 'caps':
cap = self.caps_list[idx]
cap_ix_iter = self.proc_cap(cap, self.token_to_ix, max_token=self.max_token)
cap_ix_iter_list = torch.from_numpy(cap_ix_iter).unsqueeze(0).repeat(self.__C.NEG_RANDSIZE, 1)
rel_cap_iter_list = torch.zeros(self.__C.NEG_RANDSIZE, self.max_token, self.max_token, 3)
frcn_feat_iter_list = torch.zeros(self.__C.NEG_RANDSIZE, self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_SIZE)
bbox_feat_iter_list = torch.zeros(self.__C.NEG_RANDSIZE, self.__C.FRCNFEAT_LEN, 5)
rel_img_iter_list = torch.zeros(self.__C.NEG_RANDSIZE, self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_LEN, 4)
neg_idx_list = torch.zeros(self.__C.NEG_RANDSIZE).long()
for neg_step in range(self.__C.NEG_RANDSIZE):
avoid_id = int(idx / self.feat_ids_div)
rind = random.randint(0, len(self.feat_ids_list) - 1)
while (rind == avoid_id):
rind = random.randint(0, len(self.feat_ids_list) - 1)
neg_idx_list[neg_step] = rind
else:
frcn_feat = np.load(self.iid_to_frcn_feat_path[self.feat_ids_list[idx]])
frcn_feat_x = frcn_feat['x'].transpose((1, 0))
frcn_feat_iter = self.proc_img_feat(frcn_feat_x, img_feat_pad_size=self.__C.FRCNFEAT_LEN)
frcn_feat_iter_list = torch.from_numpy(frcn_feat_iter).unsqueeze(0).repeat(self.__C.NEG_RANDSIZE, 1, 1)
bbox_feat_iter = self.proc_img_feat(
self.proc_bbox_feat(
frcn_feat['bbox'],
(frcn_feat['image_h'], frcn_feat['image_w'])
),
img_feat_pad_size=self.__C.FRCNFEAT_LEN
)
bbox_feat_iter_list = torch.from_numpy(bbox_feat_iter).unsqueeze(0).repeat(self.__C.NEG_RANDSIZE, 1, 1)
bbox = torch.from_numpy(frcn_feat['bbox'].astype(np.float32))
rel_img = relation_embedding(bbox) # [n_obj, n_obj, 4]
rel_img_iter = torch.zeros(self.__C.FRCNFEAT_LEN, self.__C.FRCNFEAT_LEN, 4)
rel_img_iter[:rel_img.size(0), :rel_img.size(1), :] = rel_img[:]
rel_img_iter_list = rel_img_iter.unsqueeze(0).repeat(self.__C.NEG_RANDSIZE, 1, 1, 1)
cap_ix_iter_list = torch.zeros(self.__C.NEG_RANDSIZE, self.max_token).long()
rel_cap_iter_list = torch.zeros(self.__C.NEG_RANDSIZE, self.max_token, self.max_token, 3)
neg_idx_list = torch.zeros(self.__C.NEG_RANDSIZE).long()
for neg_step in range(self.__C.NEG_RANDSIZE):
avoid_id = tuple(idx * self.feat_ids_div + bias for bias in range(self.feat_ids_div))
rind = random.randint(0, self.data_size - 1)
while (rind in avoid_id):
rind = random.randint(0, self.data_size - 1)
neg_idx_list[neg_step] = rind
# print(rind)
cap = self.caps_list[rind]
cap_ix_iter = self.proc_cap(cap, self.token_to_ix, max_token=self.max_token)
cap_ix_iter = torch.from_numpy(cap_ix_iter)
# print(cap_ix_iter.size())
cap_ix_iter_list[neg_step, :] = cap_ix_iter
return frcn_feat_iter_list, bbox_feat_iter_list, rel_img_iter_list, cap_ix_iter_list, rel_cap_iter_list, neg_idx_list
def __len__(self):
if self.keep == 'caps':
return self.data_size
else:
return len(self.feat_ids_list)
def proc_img_feat(self, img_feat, img_feat_pad_size):
if img_feat.shape[0] > img_feat_pad_size:
img_feat = img_feat[:img_feat_pad_size]
img_feat = np.pad(
img_feat,
((0, img_feat_pad_size - img_feat.shape[0]), (0, 0)),
mode='constant',
constant_values=0
)
return img_feat
def proc_bbox_feat(self, bbox, img_shape):
bbox_feat = np.zeros((bbox.shape[0], 5), dtype=np.float32)
bbox_feat[:, 0] = bbox[:, 0] / float(img_shape[1])
bbox_feat[:, 1] = bbox[:, 1] / float(img_shape[0])
bbox_feat[:, 2] = bbox[:, 2] / float(img_shape[1])
bbox_feat[:, 3] = bbox[:, 3] / float(img_shape[0])
bbox_feat[:, 4] = (bbox[:, 2] - bbox[:, 0]) * (bbox[:, 3] - bbox[:, 1]) / float(img_shape[0] * img_shape[1])
return bbox_feat
def proc_cap(self, cap, token_to_ix, max_token):
cap_ix = np.zeros(max_token, np.int64)
words = re.sub(r"([.,'!?\"()*#:;])", '', cap.lower()).replace('-', ' ').replace('/', ' ').split()
for ix, word in enumerate(words):
if word in token_to_ix:
cap_ix[ix] = token_to_ix[word]
else:
cap_ix[ix] = token_to_ix['UNK']
if ix + 1 == max_token:
break
return cap_ix
| 40.891156 | 131 | 0.588879 | 3,485 | 24,044 | 3.648207 | 0.049354 | 0.053484 | 0.026899 | 0.030203 | 0.920088 | 0.898694 | 0.860941 | 0.848199 | 0.829637 | 0.826255 | 0 | 0.012763 | 0.28635 | 24,044 | 587 | 132 | 40.960818 | 0.728189 | 0.027699 | 0 | 0.779545 | 0 | 0.009091 | 0.027208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.006818 | 0.002273 | 0.106818 | 0.020455 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
27e931d118a11bf1bba74951d015b32a2452f164 | 1,830 | py | Python | tests/test_main.py | Nikoleta-v3/rhabm | aa415cda861c1ee2f68e1004e70f8a872ccff9b5 | [
"MIT"
] | null | null | null | tests/test_main.py | Nikoleta-v3/rhabm | aa415cda861c1ee2f68e1004e70f8a872ccff9b5 | [
"MIT"
] | 8 | 2019-03-21T10:13:25.000Z | 2019-06-24T09:11:46.000Z | tests/test_main.py | Nikoleta-v3/rhabm | aa415cda861c1ee2f68e1004e70f8a872ccff9b5 | [
"MIT"
] | null | null | null | import rhabm
def test_simulate_returns_park():
width = 5
height = 5
number_of_rhinos = 2
number_of_poachers = 2
number_of_security_agents = 1
clock = 5
simulation = rhabm.simulate(
width=width,
height=height,
number_of_rhinos=number_of_rhinos,
number_of_poachers=number_of_poachers,
number_of_security_agents=number_of_security_agents,
clock=clock,
)
assert isinstance(simulation, rhabm.Park)
assert simulation.height == height
assert simulation.width == width
assert isinstance(simulation.__repr__(), str)
def test_simulate_with_history():
width = 5
height = 5
number_of_rhinos = 2
number_of_poachers = 2
number_of_security_agents = 1
clock = 5
keep_history = True
simulation = rhabm.simulate(
width=width,
height=height,
number_of_rhinos=number_of_rhinos,
number_of_poachers=number_of_poachers,
number_of_security_agents=number_of_security_agents,
clock=clock,
keep_history=keep_history,
)
assert isinstance(simulation, rhabm.Park)
assert simulation.height == height
assert simulation.width == width
assert len(simulation.history) == clock
def test_simulate_with_non_symmetrical_park():
width = 1
height = 2
number_of_rhinos = 0
number_of_poachers = 0
number_of_security_agents = 0
simulation = rhabm.simulate(
width=width,
height=height,
number_of_rhinos=number_of_rhinos,
number_of_poachers=number_of_poachers,
number_of_security_agents=number_of_security_agents,
)
assert isinstance(simulation, rhabm.Park)
assert simulation.height == height
assert simulation.width == width
assert simulation.coordinates == [(0, 0), (1, 0)]
| 25.774648 | 60 | 0.690164 | 222 | 1,830 | 5.324324 | 0.148649 | 0.182741 | 0.106599 | 0.167513 | 0.761421 | 0.761421 | 0.761421 | 0.761421 | 0.761421 | 0.761421 | 0 | 0.015097 | 0.239891 | 1,830 | 70 | 61 | 26.142857 | 0.834651 | 0 | 0 | 0.706897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 1 | 0.051724 | false | 0 | 0.017241 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
27eca036b820e8e5e24b637d725d3235827b58f5 | 32 | py | Python | function_19241084.py | zhang-3000/Study-9 | a1dcedd1c35ced46339990b0601341f83c5b9e52 | [
"MIT"
] | null | null | null | function_19241084.py | zhang-3000/Study-9 | a1dcedd1c35ced46339990b0601341f83c5b9e52 | [
"MIT"
] | null | null | null | function_19241084.py | zhang-3000/Study-9 | a1dcedd1c35ced46339990b0601341f83c5b9e52 | [
"MIT"
] | null | null | null | print('My student_id: 19241084') | 32 | 32 | 0.78125 | 5 | 32 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 0.0625 | 32 | 1 | 32 | 32 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
fdf353404131bee57f908a5a9a3bfac3abd02fde | 1,012 | py | Python | tests/test_search_submission_comment_ids.py | admariner/pmaw | f617106da920a74ba4f53ef9a2f0b8e7b89d6c5a | [
"MIT"
] | 82 | 2021-01-27T04:22:59.000Z | 2022-03-29T11:12:20.000Z | tests/test_search_submission_comment_ids.py | mattpodolak/pmaw | 32806477b5f9b11393f9130394397e0f7eb01abe | [
"MIT"
] | 36 | 2021-02-01T16:11:40.000Z | 2022-03-23T01:33:10.000Z | tests/test_search_submission_comment_ids.py | admariner/pmaw | f617106da920a74ba4f53ef9a2f0b8e7b89d6c5a | [
"MIT"
] | 13 | 2021-02-07T21:02:56.000Z | 2022-03-31T22:30:41.000Z | from .config import tape, reddit, post_ids
from pmaw import PushshiftAPI
@tape.use_cassette()
def test_submission_comment_ids_search():
api = PushshiftAPI(file_checkpoint=1)
comments = api.search_submission_comment_ids(ids=post_ids)
assert(len(comments) == 66)
@tape.use_cassette()
def test_submission_comment_ids_praw():
api_praw = PushshiftAPI(file_checkpoint=1, praw=reddit)
comments = api_praw.search_submission_comment_ids(ids=post_ids)
assert(len(comments) == 66)
@tape.use_cassette('test_submission_comment_ids_search')
def test_submission_comment_ids_search_mem_safe():
api = PushshiftAPI(file_checkpoint=1)
comments = api.search_submission_comment_ids(ids=post_ids, mem_safe=True)
assert(len(comments) == 66)
@tape.use_cassette('test_submission_comment_ids_praw')
def test_submission_comment_ids_praw_mem_safe():
api_praw = PushshiftAPI(file_checkpoint=1, praw=reddit)
comments = api_praw.search_submission_comment_ids(ids=post_ids, mem_safe=True)
assert(len(comments) == 66) | 38.923077 | 80 | 0.810277 | 147 | 1,012 | 5.176871 | 0.190476 | 0.22339 | 0.262812 | 0.189225 | 0.904074 | 0.890933 | 0.793693 | 0.793693 | 0.703022 | 0.703022 | 0 | 0.013001 | 0.087945 | 1,012 | 26 | 81 | 38.923077 | 0.811484 | 0 | 0 | 0.454545 | 0 | 0 | 0.065153 | 0.065153 | 0 | 0 | 0 | 0 | 0.181818 | 1 | 0.181818 | false | 0 | 0.090909 | 0 | 0.272727 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
fdfd749f0bbc1ae79bb4ce2ecd9520c4320b1e65 | 29,479 | py | Python | sdk/python/pulumi_alicloud/polardb/endpoint.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 42 | 2019-03-18T06:34:37.000Z | 2022-03-24T07:08:57.000Z | sdk/python/pulumi_alicloud/polardb/endpoint.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 152 | 2019-04-15T21:03:44.000Z | 2022-03-29T18:00:57.000Z | sdk/python/pulumi_alicloud/polardb/endpoint.py | pulumi/pulumi-alicloud | 9c34d84b4588a7c885c6bec1f03b5016e5a41683 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2020-08-26T17:30:07.000Z | 2021-07-05T01:37:45.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
__all__ = ['EndpointArgs', 'Endpoint']
@pulumi.input_type
class EndpointArgs:
def __init__(__self__, *,
db_cluster_id: pulumi.Input[str],
auto_add_new_nodes: Optional[pulumi.Input[str]] = None,
endpoint_config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
endpoint_type: Optional[pulumi.Input[str]] = None,
net_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
read_write_mode: Optional[pulumi.Input[str]] = None,
ssl_auto_rotate: Optional[pulumi.Input[str]] = None,
ssl_enabled: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a Endpoint resource.
:param pulumi.Input[str] endpoint_type: Type of endpoint.
"""
pulumi.set(__self__, "db_cluster_id", db_cluster_id)
if auto_add_new_nodes is not None:
pulumi.set(__self__, "auto_add_new_nodes", auto_add_new_nodes)
if endpoint_config is not None:
pulumi.set(__self__, "endpoint_config", endpoint_config)
if endpoint_type is not None:
pulumi.set(__self__, "endpoint_type", endpoint_type)
if net_type is not None:
pulumi.set(__self__, "net_type", net_type)
if nodes is not None:
pulumi.set(__self__, "nodes", nodes)
if read_write_mode is not None:
pulumi.set(__self__, "read_write_mode", read_write_mode)
if ssl_auto_rotate is not None:
pulumi.set(__self__, "ssl_auto_rotate", ssl_auto_rotate)
if ssl_enabled is not None:
pulumi.set(__self__, "ssl_enabled", ssl_enabled)
@property
@pulumi.getter(name="dbClusterId")
def db_cluster_id(self) -> pulumi.Input[str]:
return pulumi.get(self, "db_cluster_id")
@db_cluster_id.setter
def db_cluster_id(self, value: pulumi.Input[str]):
pulumi.set(self, "db_cluster_id", value)
@property
@pulumi.getter(name="autoAddNewNodes")
def auto_add_new_nodes(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "auto_add_new_nodes")
@auto_add_new_nodes.setter
def auto_add_new_nodes(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "auto_add_new_nodes", value)
@property
@pulumi.getter(name="endpointConfig")
def endpoint_config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
return pulumi.get(self, "endpoint_config")
@endpoint_config.setter
def endpoint_config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "endpoint_config", value)
@property
@pulumi.getter(name="endpointType")
def endpoint_type(self) -> Optional[pulumi.Input[str]]:
"""
Type of endpoint.
"""
return pulumi.get(self, "endpoint_type")
@endpoint_type.setter
def endpoint_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "endpoint_type", value)
@property
@pulumi.getter(name="netType")
def net_type(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "net_type")
@net_type.setter
def net_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "net_type", value)
@property
@pulumi.getter
def nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
return pulumi.get(self, "nodes")
@nodes.setter
def nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "nodes", value)
@property
@pulumi.getter(name="readWriteMode")
def read_write_mode(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "read_write_mode")
@read_write_mode.setter
def read_write_mode(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "read_write_mode", value)
@property
@pulumi.getter(name="sslAutoRotate")
def ssl_auto_rotate(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "ssl_auto_rotate")
@ssl_auto_rotate.setter
def ssl_auto_rotate(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_auto_rotate", value)
@property
@pulumi.getter(name="sslEnabled")
def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "ssl_enabled")
@ssl_enabled.setter
def ssl_enabled(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_enabled", value)
@pulumi.input_type
class _EndpointState:
def __init__(__self__, *,
auto_add_new_nodes: Optional[pulumi.Input[str]] = None,
db_cluster_id: Optional[pulumi.Input[str]] = None,
endpoint_config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
endpoint_type: Optional[pulumi.Input[str]] = None,
net_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
read_write_mode: Optional[pulumi.Input[str]] = None,
ssl_auto_rotate: Optional[pulumi.Input[str]] = None,
ssl_certificate_url: Optional[pulumi.Input[str]] = None,
ssl_connection_string: Optional[pulumi.Input[str]] = None,
ssl_enabled: Optional[pulumi.Input[str]] = None,
ssl_expire_time: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering Endpoint resources.
:param pulumi.Input[str] endpoint_type: Type of endpoint.
:param pulumi.Input[str] ssl_connection_string: (Available in v1.121.0+) The SSL connection string.
:param pulumi.Input[str] ssl_expire_time: (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
"""
if auto_add_new_nodes is not None:
pulumi.set(__self__, "auto_add_new_nodes", auto_add_new_nodes)
if db_cluster_id is not None:
pulumi.set(__self__, "db_cluster_id", db_cluster_id)
if endpoint_config is not None:
pulumi.set(__self__, "endpoint_config", endpoint_config)
if endpoint_type is not None:
pulumi.set(__self__, "endpoint_type", endpoint_type)
if net_type is not None:
pulumi.set(__self__, "net_type", net_type)
if nodes is not None:
pulumi.set(__self__, "nodes", nodes)
if read_write_mode is not None:
pulumi.set(__self__, "read_write_mode", read_write_mode)
if ssl_auto_rotate is not None:
pulumi.set(__self__, "ssl_auto_rotate", ssl_auto_rotate)
if ssl_certificate_url is not None:
pulumi.set(__self__, "ssl_certificate_url", ssl_certificate_url)
if ssl_connection_string is not None:
pulumi.set(__self__, "ssl_connection_string", ssl_connection_string)
if ssl_enabled is not None:
pulumi.set(__self__, "ssl_enabled", ssl_enabled)
if ssl_expire_time is not None:
pulumi.set(__self__, "ssl_expire_time", ssl_expire_time)
@property
@pulumi.getter(name="autoAddNewNodes")
def auto_add_new_nodes(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "auto_add_new_nodes")
@auto_add_new_nodes.setter
def auto_add_new_nodes(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "auto_add_new_nodes", value)
@property
@pulumi.getter(name="dbClusterId")
def db_cluster_id(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "db_cluster_id")
@db_cluster_id.setter
def db_cluster_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "db_cluster_id", value)
@property
@pulumi.getter(name="endpointConfig")
def endpoint_config(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
return pulumi.get(self, "endpoint_config")
@endpoint_config.setter
def endpoint_config(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
pulumi.set(self, "endpoint_config", value)
@property
@pulumi.getter(name="endpointType")
def endpoint_type(self) -> Optional[pulumi.Input[str]]:
"""
Type of endpoint.
"""
return pulumi.get(self, "endpoint_type")
@endpoint_type.setter
def endpoint_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "endpoint_type", value)
@property
@pulumi.getter(name="netType")
def net_type(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "net_type")
@net_type.setter
def net_type(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "net_type", value)
@property
@pulumi.getter
def nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
return pulumi.get(self, "nodes")
@nodes.setter
def nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "nodes", value)
@property
@pulumi.getter(name="readWriteMode")
def read_write_mode(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "read_write_mode")
@read_write_mode.setter
def read_write_mode(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "read_write_mode", value)
@property
@pulumi.getter(name="sslAutoRotate")
def ssl_auto_rotate(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "ssl_auto_rotate")
@ssl_auto_rotate.setter
def ssl_auto_rotate(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_auto_rotate", value)
@property
@pulumi.getter(name="sslCertificateUrl")
def ssl_certificate_url(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "ssl_certificate_url")
@ssl_certificate_url.setter
def ssl_certificate_url(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_certificate_url", value)
@property
@pulumi.getter(name="sslConnectionString")
def ssl_connection_string(self) -> Optional[pulumi.Input[str]]:
"""
(Available in v1.121.0+) The SSL connection string.
"""
return pulumi.get(self, "ssl_connection_string")
@ssl_connection_string.setter
def ssl_connection_string(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_connection_string", value)
@property
@pulumi.getter(name="sslEnabled")
def ssl_enabled(self) -> Optional[pulumi.Input[str]]:
return pulumi.get(self, "ssl_enabled")
@ssl_enabled.setter
def ssl_enabled(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_enabled", value)
@property
@pulumi.getter(name="sslExpireTime")
def ssl_expire_time(self) -> Optional[pulumi.Input[str]]:
"""
(Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
"""
return pulumi.get(self, "ssl_expire_time")
@ssl_expire_time.setter
def ssl_expire_time(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ssl_expire_time", value)
class Endpoint(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
auto_add_new_nodes: Optional[pulumi.Input[str]] = None,
db_cluster_id: Optional[pulumi.Input[str]] = None,
endpoint_config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
endpoint_type: Optional[pulumi.Input[str]] = None,
net_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
read_write_mode: Optional[pulumi.Input[str]] = None,
ssl_auto_rotate: Optional[pulumi.Input[str]] = None,
ssl_enabled: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Provides a PolarDB endpoint resource to manage endpoint of PolarDB cluster.
> **NOTE:** After v1.80.0 and before v1.121.0, you can only use this resource to manage the custom endpoint. Since v1.121.0, you also can import the primary endpoint and the cluster endpoint, to modify their ssl status and so on.
> **NOTE:** The primary endpoint and the default cluster endpoint can not be created or deleted manually.
## Example Usage
```python
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
creation = config.get("creation")
if creation is None:
creation = "PolarDB"
name = config.get("name")
if name is None:
name = "polardbconnectionbasic"
default_zones = alicloud.get_zones(available_resource_creation=creation)
default_network = alicloud.vpc.Network("defaultNetwork", cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("defaultSwitch",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default_zones.zones[0].id)
default_cluster = alicloud.polardb.Cluster("defaultCluster",
db_type="MySQL",
db_version="8.0",
pay_type="PostPaid",
db_node_class="polar.mysql.x4.large",
vswitch_id=default_switch.id,
description=name)
endpoint = alicloud.polardb.Endpoint("endpoint",
db_cluster_id=default_cluster.id,
endpoint_type="Custom")
```
## Argument Reference
The following arguments are supported:
* `db_cluster_id` - (Required, ForceNew) The Id of cluster that can run database.
* `endpoint_type` - (Required & ForceNew before v1.121.0, Optional in v1.121.0+) Type of the endpoint. Before v1.121.0, it only can be `Custom`. since v1.121.0, `Custom`, `Cluster`, `Primary` are valid, default to `Custom`. However when creating a new endpoint, it also only can be `Custom`.
* `read_write_mode` - (Optional) Read or write mode. Valid values are `ReadWrite`, `ReadOnly`. When creating a new custom endpoint, default to `ReadOnly`.
* `nodes` - (Optional) Node id list for endpoint configuration. At least 2 nodes if specified, or if the cluster has more than 3 nodes, read-only endpoint is allowed to mount only one node. Default is all nodes.
* `auto_add_new_nodes` - (Optional) Whether the new node automatically joins the default cluster address. Valid values are `Enable`, `Disable`. When creating a new custom endpoint, default to `Disable`.
* `endpoint_config` - (Optional) The advanced settings of the endpoint of Apsara PolarDB clusters are in JSON format. Including the settings of consistency level, transaction splitting, connection pool, and offload reads from primary node. For more details, see the [description of EndpointConfig in the Request parameters table for details](https://www.alibabacloud.com/help/doc-detail/116593.htm).
* `ssl_enabled` - (Optional, Available in v1.121.0+) Specifies how to modify the SSL encryption status. Valid values: `Disable`, `Enable`, `Update`.
* `net_type` - (Optional, Available in v1.121.0+) The network type of the endpoint address.
* `ssl_auto_rotate` - (Available in v1.132.0+) Specifies whether automatic rotation of SSL certificates is enabled. Valid values: `Enable`,`Disable`.
* `ssl_certificate_url` - (Available in v1.132.0+) Specifies SSL certificate download link.\
**NOTE:** For a PolarDB for MySQL cluster, this parameter is required, and only one connection string in each endpoint can enable the ssl, for other notes, see [Configure SSL encryption](https://www.alibabacloud.com/help/doc-detail/153182.htm).\
For a PolarDB for PostgreSQL cluster or a PolarDB-O cluster, this parameter is not required, by default, SSL encryption is enabled for all endpoints.
## Import
PolarDB endpoint can be imported using the id, e.g.
```sh
$ pulumi import alicloud:polardb/endpoint:Endpoint example pc-abc123456:pe-abc123456
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] endpoint_type: Type of endpoint.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: EndpointArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Provides a PolarDB endpoint resource to manage endpoint of PolarDB cluster.
> **NOTE:** After v1.80.0 and before v1.121.0, you can only use this resource to manage the custom endpoint. Since v1.121.0, you also can import the primary endpoint and the cluster endpoint, to modify their ssl status and so on.
> **NOTE:** The primary endpoint and the default cluster endpoint can not be created or deleted manually.
## Example Usage
```python
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
creation = config.get("creation")
if creation is None:
creation = "PolarDB"
name = config.get("name")
if name is None:
name = "polardbconnectionbasic"
default_zones = alicloud.get_zones(available_resource_creation=creation)
default_network = alicloud.vpc.Network("defaultNetwork", cidr_block="172.16.0.0/16")
default_switch = alicloud.vpc.Switch("defaultSwitch",
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default_zones.zones[0].id)
default_cluster = alicloud.polardb.Cluster("defaultCluster",
db_type="MySQL",
db_version="8.0",
pay_type="PostPaid",
db_node_class="polar.mysql.x4.large",
vswitch_id=default_switch.id,
description=name)
endpoint = alicloud.polardb.Endpoint("endpoint",
db_cluster_id=default_cluster.id,
endpoint_type="Custom")
```
## Argument Reference
The following arguments are supported:
* `db_cluster_id` - (Required, ForceNew) The Id of cluster that can run database.
* `endpoint_type` - (Required & ForceNew before v1.121.0, Optional in v1.121.0+) Type of the endpoint. Before v1.121.0, it only can be `Custom`. since v1.121.0, `Custom`, `Cluster`, `Primary` are valid, default to `Custom`. However when creating a new endpoint, it also only can be `Custom`.
* `read_write_mode` - (Optional) Read or write mode. Valid values are `ReadWrite`, `ReadOnly`. When creating a new custom endpoint, default to `ReadOnly`.
* `nodes` - (Optional) Node id list for endpoint configuration. At least 2 nodes if specified, or if the cluster has more than 3 nodes, read-only endpoint is allowed to mount only one node. Default is all nodes.
* `auto_add_new_nodes` - (Optional) Whether the new node automatically joins the default cluster address. Valid values are `Enable`, `Disable`. When creating a new custom endpoint, default to `Disable`.
* `endpoint_config` - (Optional) The advanced settings of the endpoint of Apsara PolarDB clusters are in JSON format. Including the settings of consistency level, transaction splitting, connection pool, and offload reads from primary node. For more details, see the [description of EndpointConfig in the Request parameters table for details](https://www.alibabacloud.com/help/doc-detail/116593.htm).
* `ssl_enabled` - (Optional, Available in v1.121.0+) Specifies how to modify the SSL encryption status. Valid values: `Disable`, `Enable`, `Update`.
* `net_type` - (Optional, Available in v1.121.0+) The network type of the endpoint address.
* `ssl_auto_rotate` - (Available in v1.132.0+) Specifies whether automatic rotation of SSL certificates is enabled. Valid values: `Enable`,`Disable`.
* `ssl_certificate_url` - (Available in v1.132.0+) Specifies SSL certificate download link.\
**NOTE:** For a PolarDB for MySQL cluster, this parameter is required, and only one connection string in each endpoint can enable the ssl, for other notes, see [Configure SSL encryption](https://www.alibabacloud.com/help/doc-detail/153182.htm).\
For a PolarDB for PostgreSQL cluster or a PolarDB-O cluster, this parameter is not required, by default, SSL encryption is enabled for all endpoints.
## Import
PolarDB endpoint can be imported using the id, e.g.
```sh
$ pulumi import alicloud:polardb/endpoint:Endpoint example pc-abc123456:pe-abc123456
```
:param str resource_name: The name of the resource.
:param EndpointArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(EndpointArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
auto_add_new_nodes: Optional[pulumi.Input[str]] = None,
db_cluster_id: Optional[pulumi.Input[str]] = None,
endpoint_config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
endpoint_type: Optional[pulumi.Input[str]] = None,
net_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
read_write_mode: Optional[pulumi.Input[str]] = None,
ssl_auto_rotate: Optional[pulumi.Input[str]] = None,
ssl_enabled: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = EndpointArgs.__new__(EndpointArgs)
__props__.__dict__["auto_add_new_nodes"] = auto_add_new_nodes
if db_cluster_id is None and not opts.urn:
raise TypeError("Missing required property 'db_cluster_id'")
__props__.__dict__["db_cluster_id"] = db_cluster_id
__props__.__dict__["endpoint_config"] = endpoint_config
__props__.__dict__["endpoint_type"] = endpoint_type
__props__.__dict__["net_type"] = net_type
__props__.__dict__["nodes"] = nodes
__props__.__dict__["read_write_mode"] = read_write_mode
__props__.__dict__["ssl_auto_rotate"] = ssl_auto_rotate
__props__.__dict__["ssl_enabled"] = ssl_enabled
__props__.__dict__["ssl_certificate_url"] = None
__props__.__dict__["ssl_connection_string"] = None
__props__.__dict__["ssl_expire_time"] = None
super(Endpoint, __self__).__init__(
'alicloud:polardb/endpoint:Endpoint',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
auto_add_new_nodes: Optional[pulumi.Input[str]] = None,
db_cluster_id: Optional[pulumi.Input[str]] = None,
endpoint_config: Optional[pulumi.Input[Mapping[str, Any]]] = None,
endpoint_type: Optional[pulumi.Input[str]] = None,
net_type: Optional[pulumi.Input[str]] = None,
nodes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
read_write_mode: Optional[pulumi.Input[str]] = None,
ssl_auto_rotate: Optional[pulumi.Input[str]] = None,
ssl_certificate_url: Optional[pulumi.Input[str]] = None,
ssl_connection_string: Optional[pulumi.Input[str]] = None,
ssl_enabled: Optional[pulumi.Input[str]] = None,
ssl_expire_time: Optional[pulumi.Input[str]] = None) -> 'Endpoint':
"""
Get an existing Endpoint resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[str] endpoint_type: Type of endpoint.
:param pulumi.Input[str] ssl_connection_string: (Available in v1.121.0+) The SSL connection string.
:param pulumi.Input[str] ssl_expire_time: (Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _EndpointState.__new__(_EndpointState)
__props__.__dict__["auto_add_new_nodes"] = auto_add_new_nodes
__props__.__dict__["db_cluster_id"] = db_cluster_id
__props__.__dict__["endpoint_config"] = endpoint_config
__props__.__dict__["endpoint_type"] = endpoint_type
__props__.__dict__["net_type"] = net_type
__props__.__dict__["nodes"] = nodes
__props__.__dict__["read_write_mode"] = read_write_mode
__props__.__dict__["ssl_auto_rotate"] = ssl_auto_rotate
__props__.__dict__["ssl_certificate_url"] = ssl_certificate_url
__props__.__dict__["ssl_connection_string"] = ssl_connection_string
__props__.__dict__["ssl_enabled"] = ssl_enabled
__props__.__dict__["ssl_expire_time"] = ssl_expire_time
return Endpoint(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="autoAddNewNodes")
def auto_add_new_nodes(self) -> pulumi.Output[str]:
return pulumi.get(self, "auto_add_new_nodes")
@property
@pulumi.getter(name="dbClusterId")
def db_cluster_id(self) -> pulumi.Output[str]:
return pulumi.get(self, "db_cluster_id")
@property
@pulumi.getter(name="endpointConfig")
def endpoint_config(self) -> pulumi.Output[Mapping[str, Any]]:
return pulumi.get(self, "endpoint_config")
@property
@pulumi.getter(name="endpointType")
def endpoint_type(self) -> pulumi.Output[Optional[str]]:
"""
Type of endpoint.
"""
return pulumi.get(self, "endpoint_type")
@property
@pulumi.getter(name="netType")
def net_type(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "net_type")
@property
@pulumi.getter
def nodes(self) -> pulumi.Output[Sequence[str]]:
return pulumi.get(self, "nodes")
@property
@pulumi.getter(name="readWriteMode")
def read_write_mode(self) -> pulumi.Output[str]:
return pulumi.get(self, "read_write_mode")
@property
@pulumi.getter(name="sslAutoRotate")
def ssl_auto_rotate(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "ssl_auto_rotate")
@property
@pulumi.getter(name="sslCertificateUrl")
def ssl_certificate_url(self) -> pulumi.Output[str]:
return pulumi.get(self, "ssl_certificate_url")
@property
@pulumi.getter(name="sslConnectionString")
def ssl_connection_string(self) -> pulumi.Output[str]:
"""
(Available in v1.121.0+) The SSL connection string.
"""
return pulumi.get(self, "ssl_connection_string")
@property
@pulumi.getter(name="sslEnabled")
def ssl_enabled(self) -> pulumi.Output[Optional[str]]:
return pulumi.get(self, "ssl_enabled")
@property
@pulumi.getter(name="sslExpireTime")
def ssl_expire_time(self) -> pulumi.Output[str]:
"""
(Available in v1.121.0+) The time when the SSL certificate expires. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
"""
return pulumi.get(self, "ssl_expire_time")
| 47.933333 | 407 | 0.663252 | 3,739 | 29,479 | 4.973522 | 0.08184 | 0.067434 | 0.070768 | 0.08518 | 0.909174 | 0.893579 | 0.881426 | 0.864971 | 0.852925 | 0.829695 | 0 | 0.011485 | 0.229078 | 29,479 | 614 | 408 | 48.011401 | 0.806785 | 0.337087 | 0 | 0.767568 | 1 | 0 | 0.108352 | 0.008712 | 0 | 0 | 0 | 0 | 0 | 1 | 0.164865 | false | 0.002703 | 0.013514 | 0.07027 | 0.278378 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
8bcfbeb8e9f33367e537da8c1723069fbd8336c6 | 157 | py | Python | edw_fluent/plugins/file/appsettings.py | infolabs/django_edw_fluent | ddb013c0b4dde9c7b00282c9b0c43b06e21b7c19 | [
"MIT"
] | 1 | 2020-10-23T08:55:21.000Z | 2020-10-23T08:55:21.000Z | edw_fluent/plugins/file/appsettings.py | EagerBeager/django-edw-fluent | ab10ffe17000f2d07f29e4a25892ebc0e2e47101 | [
"MIT"
] | 3 | 2020-03-24T14:34:37.000Z | 2021-06-10T21:12:53.000Z | edw_fluent/plugins/file/appsettings.py | EagerBeager/django-edw-fluent | ab10ffe17000f2d07f29e4a25892ebc0e2e47101 | [
"MIT"
] | 2 | 2020-10-23T08:55:19.000Z | 2022-03-02T07:05:45.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.conf import settings
FILE_UPLOAD_TO = getattr(settings, 'FILE_UPLOAD_TO', '.')
| 22.428571 | 57 | 0.745223 | 21 | 157 | 5.142857 | 0.714286 | 0.222222 | 0.333333 | 0.37037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.127389 | 157 | 6 | 58 | 26.166667 | 0.781022 | 0.133758 | 0 | 0 | 0 | 0 | 0.11194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4738202e257ec8617e89882574dda5c84fd610f6 | 161 | py | Python | 20190209_SWIG/example3/main_ex3_1.py | 3x3x3/Presentations | 3c31b136ed4d9214bb3730fa41a4a575da38edc9 | [
"MIT"
] | null | null | null | 20190209_SWIG/example3/main_ex3_1.py | 3x3x3/Presentations | 3c31b136ed4d9214bb3730fa41a4a575da38edc9 | [
"MIT"
] | null | null | null | 20190209_SWIG/example3/main_ex3_1.py | 3x3x3/Presentations | 3c31b136ed4d9214bb3730fa41a4a575da38edc9 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import swig_ex3
print("C++내에서 출력:")
swig_ex3.print_in_cxx()
print("\nPython에서 넘겨준 문자열을 C++내에서 출력:")
swig_ex3.print_in_cxx("안녕하세요 !\n")
| 17.888889 | 39 | 0.670807 | 29 | 161 | 3.482759 | 0.586207 | 0.207921 | 0.356436 | 0.19802 | 0.455446 | 0.455446 | 0.455446 | 0.455446 | 0 | 0 | 0 | 0.028169 | 0.118012 | 161 | 8 | 40 | 20.125 | 0.683099 | 0.130435 | 0 | 0 | 0 | 0 | 0.355072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.8 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
9a3f0d0a2f8884024dfa03c1bf55150ebbbc5482 | 700,013 | py | Python | tests/benchmarks/assign_incr_100k.py | feihong/arturo | b07bb638874c59d2fe976d7344dac065be04a459 | [
"MIT"
] | 401 | 2019-09-22T14:50:12.000Z | 2022-03-24T02:00:40.000Z | tests/benchmarks/assign_incr_100k.py | feihong/arturo | b07bb638874c59d2fe976d7344dac065be04a459 | [
"MIT"
] | 394 | 2020-02-04T05:46:39.000Z | 2022-03-18T18:09:16.000Z | tests/benchmarks/assign_incr_100k.py | feihong/arturo | b07bb638874c59d2fe976d7344dac065be04a459 | [
"MIT"
] | 14 | 2020-07-17T18:19:35.000Z | 2022-03-05T18:51:48.000Z | a = 0
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
a += 1
print a | 6.99999 | 7 | 0.28572 | 200,004 | 700,013 | 1.00002 | 0.00002 | 0.99996 | 1.499925 | 1.9999 | 0.99996 | 0.99996 | 0.99996 | 0.99996 | 0.99996 | 0.99996 | 0 | 0.249997 | 0.428569 | 700,013 | 100,002 | 7 | 6.99999 | 0.250012 | 0 | 0 | 0.99998 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.00001 | 0 | 0 | 1 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 15 |
9a6075ad23540ce3f9167787d6d4552d4e29a638 | 165 | py | Python | ddganAE/models/__init__.py | Zeff020/Adversarial_ROM | 8c9e7ff86250e9370e5fdd2018f9ad04ded5f122 | [
"MIT"
] | 1 | 2021-12-27T06:14:32.000Z | 2021-12-27T06:14:32.000Z | ddganAE/models/__init__.py | Zeff020/Adversarial_ROM | 8c9e7ff86250e9370e5fdd2018f9ad04ded5f122 | [
"MIT"
] | null | null | null | ddganAE/models/__init__.py | Zeff020/Adversarial_ROM | 8c9e7ff86250e9370e5fdd2018f9ad04ded5f122 | [
"MIT"
] | 3 | 2021-08-05T11:17:37.000Z | 2021-09-02T02:37:44.000Z | from .aae import * # noqa: F403, F401
from .cae import * # noqa: F403, F401
from .svdae import * # noqa: F403, F401
from .predictive import * # noqa: F403, F401
| 33 | 45 | 0.660606 | 24 | 165 | 4.541667 | 0.375 | 0.366972 | 0.513761 | 0.66055 | 0.605505 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186047 | 0.218182 | 165 | 4 | 46 | 41.25 | 0.658915 | 0.406061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 8 |
d0a038083bc668788ada7c70d73cfd0a0e4754e9 | 5,721 | py | Python | calaccess_processed_filings/migrations/0004_form496part1item_form496part1itemversion.py | ryanvmenezes/django-calaccess-processed-data | 966635c8438cda440a12f7765af7c79b5bcb3995 | [
"MIT"
] | 10 | 2016-09-20T10:39:51.000Z | 2022-01-31T03:28:43.000Z | calaccess_processed_filings/migrations/0004_form496part1item_form496part1itemversion.py | ryanvmenezes/django-calaccess-processed-data | 966635c8438cda440a12f7765af7c79b5bcb3995 | [
"MIT"
] | 221 | 2016-02-14T23:08:00.000Z | 2021-06-20T15:30:09.000Z | calaccess_processed_filings/migrations/0004_form496part1item_form496part1itemversion.py | ryanvmenezes/django-calaccess-processed-data | 966635c8438cda440a12f7765af7c79b5bcb3995 | [
"MIT"
] | 44 | 2016-09-30T18:02:25.000Z | 2022-01-14T02:25:55.000Z | # Generated by Django 2.0.4 on 2018-04-25 00:27
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('calaccess_processed_filings', '0003_auto_20180424_2300'),
]
operations = [
migrations.CreateModel(
name='Form496Part1Item',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('candidate_title', models.CharField(blank=True, help_text='Name title of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAMT)', max_length=10, verbose_name='candidate title')),
('candidate_lastname', models.CharField(blank=True, help_text='Last name of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAML)', max_length=200, verbose_name='candidate lastname')),
('candidate_firstname', models.CharField(help_text='First name of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAMF)', max_length=45, verbose_name='candidate firstname')),
('candidate_name_suffix', models.CharField(blank=True, help_text='Name suffix of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAMS)', max_length=10, verbose_name='candidate name suffix')),
('candidate_office_code', models.CharField(blank=True, help_text='Code describing the office sought sought by the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.OFFICE_CD)', max_length=3, verbose_name='candidate office code')),
('ballot_measure_name', models.CharField(blank=True, help_text='Name of the ballot measure supported or opposed by the recipient (from CVR_CAMPAIGN_DISCLOSURE_CD.BAL_NAME)', max_length=200, verbose_name='Ballot measure name')),
('ballot_measure_number', models.CharField(blank=True, help_text='Ballot measure number (from CVR_CAMPAIGN_DISCLOSURE_CD.BAL_NUM)', max_length=7, verbose_name='Ballot measure number')),
('ballot_measure_jurisdiction', models.CharField(blank=True, help_text='Jurisdiction of the ballot measure supported or opposed by the recipient (from CVR_CAMPAIGN_DISCLOSURE_CD.BAL_JURIS)', max_length=40, verbose_name='ballot measure jurisdiction')),
('support_opposition_code', models.CharField(blank=True, choices=[('O', 'Opposition'), ('S', 'Support')], help_text='Code describing whether the contribuitor supports or opposesthe candidate or ballot measure (from CVR_CAMPAIGN_DISCLOSURE_CD.SUP_OPP_CD)', max_length=1, verbose_name='support opposition code')),
('filing', models.ForeignKey(help_text='Unique identification number for the Schedule 496 filing (from S496_CD.FILING_ID)', null=True, on_delete=django.db.models.deletion.SET_NULL, to='calaccess_processed_filings.Form496Filing')),
],
options={
'verbose_name': 'Form 496 (Late Independent Expenditure) Part 1 item',
},
),
migrations.CreateModel(
name='Form496Part1ItemVersion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('candidate_title', models.CharField(blank=True, help_text='Name title of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAMT)', max_length=10, verbose_name='candidate title')),
('candidate_lastname', models.CharField(blank=True, help_text='Last name of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAML)', max_length=200, verbose_name='candidate lastname')),
('candidate_firstname', models.CharField(help_text='First name of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAMF)', max_length=45, verbose_name='candidate firstname')),
('candidate_name_suffix', models.CharField(blank=True, help_text='Name suffix of the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.CAND_NAMS)', max_length=10, verbose_name='candidate name suffix')),
('candidate_office_code', models.CharField(blank=True, help_text='Code describing the office sought sought by the candidate (from CVR_CAMPAIGN_DISCLOSURE_CD.OFFICE_CD)', max_length=3, verbose_name='candidate office code')),
('ballot_measure_name', models.CharField(blank=True, help_text='Name of the ballot measure supported or opposed by the recipient (from CVR_CAMPAIGN_DISCLOSURE_CD.BAL_NAME)', max_length=200, verbose_name='Ballot measure name')),
('ballot_measure_number', models.CharField(blank=True, help_text='Ballot measure number (from CVR_CAMPAIGN_DISCLOSURE_CD.BAL_NUM)', max_length=7, verbose_name='Ballot measure number')),
('ballot_measure_jurisdiction', models.CharField(blank=True, help_text='Jurisdiction of the ballot measure supported or opposed by the recipient (from CVR_CAMPAIGN_DISCLOSURE_CD.BAL_JURIS)', max_length=40, verbose_name='ballot measure jurisdiction')),
('support_opposition_code', models.CharField(blank=True, choices=[('O', 'Opposition'), ('S', 'Support')], help_text='Code describing whether the contribuitor supports or opposesthe candidate or ballot measure (from CVR_CAMPAIGN_DISCLOSURE_CD.SUP_OPP_CD)', max_length=1, verbose_name='support opposition code')),
('filing_version', models.ForeignKey(help_text='Foreign key referring to the version of the Schedule 496 that includes the received contribution', null=True, on_delete=django.db.models.deletion.SET_NULL, to='calaccess_processed_filings.Form496FilingVersion')),
],
options={
'verbose_name': 'Form 496 (Late Independent Expenditure) Part 1 item version',
},
),
]
| 107.943396 | 327 | 0.72767 | 726 | 5,721 | 5.480716 | 0.176309 | 0.060819 | 0.067856 | 0.113094 | 0.867052 | 0.867052 | 0.867052 | 0.867052 | 0.867052 | 0.867052 | 0 | 0.020096 | 0.165006 | 5,721 | 52 | 328 | 110.019231 | 0.812853 | 0.007866 | 0 | 0.652174 | 1 | 0 | 0.511984 | 0.185055 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.043478 | 0 | 0.108696 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d0ae2fb9b6f9613300ccfae56a65dc3363756548 | 201 | py | Python | tests/parser/choice.42.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/choice.42.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | tests/parser/choice.42.test.py | veltri/DLV2 | 944aaef803aa75e7ec51d7e0c2b0d964687fdd0e | [
"Apache-2.0"
] | null | null | null | input = """
a | b.
b | c.
d :- not e.
e :- a, not c.
e :- c.
:- not d, a.
:- not d, c.
"""
output = """
a | b.
b | c.
d :- not e.
e :- a, not c.
e :- c.
:- not d, a.
:- not d, c.
"""
| 9.571429 | 15 | 0.323383 | 40 | 201 | 1.625 | 0.2 | 0.246154 | 0.092308 | 0.123077 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0.830769 | 0 | 0 | 0.38806 | 201 | 20 | 16 | 10.05 | 0.528455 | 0 | 0 | 0.888889 | 0 | 0 | 0.832432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
efd53a280ba82b38f776b54eb8d13dfa43a97efd | 276,050 | py | Python | boto3_type_annotations_with_docs/boto3_type_annotations/ses/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/ses/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations_with_docs/boto3_type_annotations/ses/client.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Optional
from botocore.client import BaseClient
from typing import Dict
from botocore.paginate import Paginator
from botocore.waiter import Waiter
from typing import Union
from typing import List
class Client(BaseClient):
def can_paginate(self, operation_name: str = None):
"""
Check if an operation can be paginated.
:type operation_name: string
:param operation_name: The operation name. This is the same name
as the method name on the client. For example, if the
method name is ``create_foo``, and you\'d normally invoke the
operation as ``client.create_foo(**kwargs)``, if the
``create_foo`` operation can be paginated, you can use the
call ``client.get_paginator(\"create_foo\")``.
:return: ``True`` if the operation can be paginated,
``False`` otherwise.
"""
pass
def clone_receipt_rule_set(self, RuleSetName: str, OriginalRuleSetName: str) -> Dict:
"""
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet>`_
**Request Syntax**
::
response = client.clone_receipt_rule_set(
RuleSetName='string',
OriginalRuleSetName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the rule set to create. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
:type OriginalRuleSetName: string
:param OriginalRuleSetName: **[REQUIRED]**
The name of the rule set to clone.
:rtype: dict
:returns:
"""
pass
def create_configuration_set(self, ConfigurationSet: Dict) -> Dict:
"""
Creates a configuration set.
Configuration sets enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet>`_
**Request Syntax**
::
response = client.create_configuration_set(
ConfigurationSet={
'Name': 'string'
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSet: dict
:param ConfigurationSet: **[REQUIRED]**
A data structure that contains the name of the configuration set.
- **Name** *(string) --* **[REQUIRED]**
The name of the configuration set. The name must meet the following requirements:
* Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain 64 characters or fewer.
:rtype: dict
:returns:
"""
pass
def create_configuration_set_event_destination(self, ConfigurationSetName: str, EventDestination: Dict) -> Dict:
"""
Creates a configuration set event destination.
.. note::
When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination>`_
**Request Syntax**
::
response = client.create_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestination={
'Name': 'string',
'Enabled': True|False,
'MatchingEventTypes': [
'send'|'reject'|'bounce'|'complaint'|'delivery'|'open'|'click'|'renderingFailure',
],
'KinesisFirehoseDestination': {
'IAMRoleARN': 'string',
'DeliveryStreamARN': 'string'
},
'CloudWatchDestination': {
'DimensionConfigurations': [
{
'DimensionName': 'string',
'DimensionValueSource': 'messageTag'|'emailHeader'|'linkTag',
'DefaultDimensionValue': 'string'
},
]
},
'SNSDestination': {
'TopicARN': 'string'
}
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set that the event destination should be associated with.
:type EventDestination: dict
:param EventDestination: **[REQUIRED]**
An object that describes the AWS service that email sending event information will be published to.
- **Name** *(string) --* **[REQUIRED]**
The name of the event destination. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to ``true`` to enable publishing to this destination; set to ``false`` to prevent publishing to this destination. The default value is ``false`` .
- **MatchingEventTypes** *(list) --* **[REQUIRED]**
The type of email sending events to publish to the event destination.
- *(string) --*
- **KinesisFirehoseDestination** *(dict) --*
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
- **IAMRoleARN** *(string) --* **[REQUIRED]**
The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.
- **DeliveryStreamARN** *(string) --* **[REQUIRED]**
The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.
- **CloudWatchDestination** *(dict) --*
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
- **DimensionConfigurations** *(list) --* **[REQUIRED]**
A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
- *(dict) --*
Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
For information about publishing email sending events to Amazon CloudWatch, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **DimensionName** *(string) --* **[REQUIRED]**
The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **DimensionValueSource** *(string) --* **[REQUIRED]**
The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an ``X-SES-MESSAGE-TAGS`` header or a parameter to the ``SendEmail`` /``SendRawEmail`` API, choose ``messageTag`` . If you want Amazon SES to use your own email headers, choose ``emailHeader`` .
- **DefaultDimensionValue** *(string) --* **[REQUIRED]**
The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **SNSDestination** *(dict) --*
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
- **TopicARN** *(string) --* **[REQUIRED]**
The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
:rtype: dict
:returns:
"""
pass
def create_configuration_set_tracking_options(self, ConfigurationSetName: str, TrackingOptions: Dict) -> Dict:
"""
Creates an association between a configuration set and a custom domain for open and click event tracking.
By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions>`_
**Request Syntax**
::
response = client.create_configuration_set_tracking_options(
ConfigurationSetName='string',
TrackingOptions={
'CustomRedirectDomain': 'string'
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set that the tracking options should be associated with.
:type TrackingOptions: dict
:param TrackingOptions: **[REQUIRED]**
A domain that is used to redirect email recipients to an Amazon SES-operated domain. This domain captures open and click events generated by Amazon SES emails.
For more information, see `Configuring Custom Domains to Handle Open and Click Tracking <ses/latest/DeveloperGuide/configure-custom-open-click-domains.html>`__ in the *Amazon SES Developer Guide* .
- **CustomRedirectDomain** *(string) --*
The custom subdomain that will be used to redirect email recipients to the Amazon SES event tracking domain.
:rtype: dict
:returns:
"""
pass
def create_custom_verification_email_template(self, TemplateName: str, FromEmailAddress: str, TemplateSubject: str, TemplateContent: str, SuccessRedirectionURL: str, FailureRedirectionURL: str):
"""
Creates a new custom verification email template.
For more information about custom verification email templates, see `Using Custom Verification Email Templates <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html>`__ in the *Amazon SES Developer Guide* .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate>`_
**Request Syntax**
::
response = client.create_custom_verification_email_template(
TemplateName='string',
FromEmailAddress='string',
TemplateSubject='string',
TemplateContent='string',
SuccessRedirectionURL='string',
FailureRedirectionURL='string'
)
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the custom verification email template.
:type FromEmailAddress: string
:param FromEmailAddress: **[REQUIRED]**
The email address that the custom verification email is sent from.
:type TemplateSubject: string
:param TemplateSubject: **[REQUIRED]**
The subject line of the custom verification email.
:type TemplateContent: string
:param TemplateContent: **[REQUIRED]**
The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see `Custom Verification Email Frequently Asked Questions <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq>`__ in the *Amazon SES Developer Guide* .
:type SuccessRedirectionURL: string
:param SuccessRedirectionURL: **[REQUIRED]**
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
:type FailureRedirectionURL: string
:param FailureRedirectionURL: **[REQUIRED]**
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
:returns: None
"""
pass
def create_receipt_filter(self, Filter: Dict) -> Dict:
"""
Creates a new IP address filter.
For information about setting up IP address filters, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter>`_
**Request Syntax**
::
response = client.create_receipt_filter(
Filter={
'Name': 'string',
'IpFilter': {
'Policy': 'Block'|'Allow',
'Cidr': 'string'
}
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Filter: dict
:param Filter: **[REQUIRED]**
A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
- **Name** *(string) --* **[REQUIRED]**
The name of the IP address filter. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **IpFilter** *(dict) --* **[REQUIRED]**
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- **Policy** *(string) --* **[REQUIRED]**
Indicates whether to block or allow incoming mail from the specified IP addresses.
- **Cidr** *(string) --* **[REQUIRED]**
A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see `RFC 2317 <https://tools.ietf.org/html/rfc2317>`__ .
:rtype: dict
:returns:
"""
pass
def create_receipt_rule(self, RuleSetName: str, Rule: Dict, After: str = None) -> Dict:
"""
Creates a receipt rule.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule>`_
**Request Syntax**
::
response = client.create_receipt_rule(
RuleSetName='string',
After='string',
Rule={
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the rule set that the receipt rule will be added to.
:type After: string
:param After:
The name of an existing rule after which the new rule will be placed. If this parameter is null, the new rule will be inserted at the beginning of the rule list.
:type Rule: dict
:param Rule: **[REQUIRED]**
A data structure that contains the specified rule\'s name, actions, recipients, domains, enabled status, scan status, and TLS policy.
- **Name** *(string) --* **[REQUIRED]**
The name of the receipt rule. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
If ``true`` , the receipt rule is active. The default value is ``false`` .
- **TlsPolicy** *(string) --*
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to ``Require`` , Amazon SES will bounce emails that are not received over TLS. The default is ``Optional`` .
- **Recipients** *(list) --*
The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.
- *(string) --*
- **Actions** *(list) --*
An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
- *(dict) --*
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **S3Action** *(dict) --*
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **BucketName** *(string) --* **[REQUIRED]**
The name of the Amazon S3 bucket that incoming email will be saved to.
- **ObjectKeyPrefix** *(string) --*
The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
- **KmsKeyArn** *(string) --*
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
* To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don\'t need to perform any extra steps to give Amazon SES permission to use the key.
* To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key\'s policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html>`__ .
For more information about key policies, see the `AWS KMS Developer Guide <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`__ . If you do not specify a master key, Amazon SES will not encrypt your emails.
.. warning::
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <http://aws.amazon.com/sdk-for-java/>`__ and `AWS SDK for Ruby <http://aws.amazon.com/sdk-for-ruby/>`__ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`__ .
- **BounceAction** *(dict) --*
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **SmtpReplyCode** *(string) --* **[REQUIRED]**
The SMTP reply code, as defined by `RFC 5321 <https://tools.ietf.org/html/rfc5321>`__ .
- **StatusCode** *(string) --*
The SMTP enhanced status code, as defined by `RFC 3463 <https://tools.ietf.org/html/rfc3463>`__ .
- **Message** *(string) --* **[REQUIRED]**
Human-readable text to include in the bounce message.
- **Sender** *(string) --* **[REQUIRED]**
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
- **WorkmailAction** *(dict) --*
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **OrganizationArn** *(string) --* **[REQUIRED]**
The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is ``arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7`` . For information about Amazon WorkMail organizations, see the `Amazon WorkMail Administrator Guide <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html>`__ .
- **LambdaAction** *(dict) --*
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **FunctionArn** *(string) --* **[REQUIRED]**
The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is ``arn:aws:lambda:us-west-2:account-id:function:MyFunction`` . For more information about AWS Lambda, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html>`__ .
- **InvocationType** *(string) --*
The invocation type of the AWS Lambda function. An invocation type of ``RequestResponse`` means that the execution of the function will immediately result in a response, and a value of ``Event`` means that the function will be invoked asynchronously. The default value is ``Event`` . For information about AWS Lambda invocation types, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html>`__ .
.. warning::
There is a 30-second timeout on ``RequestResponse`` invocations. You should use ``Event`` invocation in most cases. Use ``RequestResponse`` only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
- **StopAction** *(dict) --*
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
- **Scope** *(string) --* **[REQUIRED]**
The name of the RuleSet that is being stopped.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **AddHeaderAction** *(dict) --*
Adds a header to the received email.
- **HeaderName** *(string) --* **[REQUIRED]**
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **HeaderValue** *(string) --* **[REQUIRED]**
Must be less than 2048 characters, and must not contain newline characters (\"\r\" or \"\n\").
- **SNSAction** *(dict) --*
Publishes the email content within a notification to Amazon SNS.
- **TopicArn** *(string) --* **[REQUIRED]**
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **Encoding** *(string) --*
The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
- **ScanEnabled** *(boolean) --*
If ``true`` , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is ``false`` .
:rtype: dict
:returns:
"""
pass
def create_receipt_rule_set(self, RuleSetName: str) -> Dict:
"""
Creates an empty receipt rule set.
For information about setting up receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet>`_
**Request Syntax**
::
response = client.create_receipt_rule_set(
RuleSetName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the rule set to create. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
:rtype: dict
:returns:
"""
pass
def create_template(self, Template: Dict) -> Dict:
"""
Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate>`_
**Request Syntax**
::
response = client.create_template(
Template={
'TemplateName': 'string',
'SubjectPart': 'string',
'TextPart': 'string',
'HtmlPart': 'string'
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
:type Template: dict
:param Template: **[REQUIRED]**
The content of the email, composed of a subject line, an HTML part, and a text-only part.
- **TemplateName** *(string) --* **[REQUIRED]**
The name of the template. You will refer to this name when you send email using the ``SendTemplatedEmail`` or ``SendBulkTemplatedEmail`` operations.
- **SubjectPart** *(string) --*
The subject line of the email.
- **TextPart** *(string) --*
The email body that will be visible to recipients whose email clients do not display HTML.
- **HtmlPart** *(string) --*
The HTML body of the email.
:rtype: dict
:returns:
"""
pass
def delete_configuration_set(self, ConfigurationSetName: str) -> Dict:
"""
Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet>`_
**Request Syntax**
::
response = client.delete_configuration_set(
ConfigurationSetName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set to delete.
:rtype: dict
:returns:
"""
pass
def delete_configuration_set_event_destination(self, ConfigurationSetName: str, EventDestinationName: str) -> Dict:
"""
Deletes a configuration set event destination. Configuration set event destinations are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination>`_
**Request Syntax**
::
response = client.delete_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestinationName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set from which to delete the event destination.
:type EventDestinationName: string
:param EventDestinationName: **[REQUIRED]**
The name of the event destination to delete.
:rtype: dict
:returns:
"""
pass
def delete_configuration_set_tracking_options(self, ConfigurationSetName: str) -> Dict:
"""
Deletes an association between a configuration set and a custom domain for open and click event tracking.
By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html>`__ .
.. note::
Deleting this kind of association will result in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions>`_
**Request Syntax**
::
response = client.delete_configuration_set_tracking_options(
ConfigurationSetName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set from which you want to delete the tracking options.
:rtype: dict
:returns:
"""
pass
def delete_custom_verification_email_template(self, TemplateName: str):
"""
Deletes an existing custom verification email template.
For more information about custom verification email templates, see `Using Custom Verification Email Templates <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html>`__ in the *Amazon SES Developer Guide* .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate>`_
**Request Syntax**
::
response = client.delete_custom_verification_email_template(
TemplateName='string'
)
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the custom verification email template that you want to delete.
:returns: None
"""
pass
def delete_identity(self, Identity: str) -> Dict:
"""
Deletes the specified identity (an email address or a domain) from the list of verified identities.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity>`_
**Request Syntax**
::
response = client.delete_identity(
Identity='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity to be removed from the list of identities for the AWS Account.
:rtype: dict
:returns:
"""
pass
def delete_identity_policy(self, Identity: str, PolicyName: str) -> Dict:
"""
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
.. note::
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy>`_
**Request Syntax**
::
response = client.delete_identity_policy(
Identity='string',
PolicyName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity that is associated with the policy that you want to delete. You can specify the identity by using its name or by using its Amazon Resource Name (ARN). Examples: ``user@example.com`` , ``example.com`` , ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` .
To successfully call this API, you must own the identity.
:type PolicyName: string
:param PolicyName: **[REQUIRED]**
The name of the policy to be deleted.
:rtype: dict
:returns:
"""
pass
def delete_receipt_filter(self, FilterName: str) -> Dict:
"""
Deletes the specified IP address filter.
For information about managing IP address filters, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-ip-filters.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter>`_
**Request Syntax**
::
response = client.delete_receipt_filter(
FilterName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type FilterName: string
:param FilterName: **[REQUIRED]**
The name of the IP address filter to delete.
:rtype: dict
:returns:
"""
pass
def delete_receipt_rule(self, RuleSetName: str, RuleName: str) -> Dict:
"""
Deletes the specified receipt rule.
For information about managing receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule>`_
**Request Syntax**
::
response = client.delete_receipt_rule(
RuleSetName='string',
RuleName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set that contains the receipt rule to delete.
:type RuleName: string
:param RuleName: **[REQUIRED]**
The name of the receipt rule to delete.
:rtype: dict
:returns:
"""
pass
def delete_receipt_rule_set(self, RuleSetName: str) -> Dict:
"""
Deletes the specified receipt rule set and all of the receipt rules it contains.
.. note::
The currently active rule set cannot be deleted.
For information about managing receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet>`_
**Request Syntax**
::
response = client.delete_receipt_rule_set(
RuleSetName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set to delete.
:rtype: dict
:returns:
"""
pass
def delete_template(self, TemplateName: str) -> Dict:
"""
Deletes an email template.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplate>`_
**Request Syntax**
::
response = client.delete_template(
TemplateName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the template to be deleted.
:rtype: dict
:returns:
"""
pass
def delete_verified_email_address(self, EmailAddress: str):
"""
Deprecated. Use the ``DeleteIdentity`` operation to delete email addresses and domains.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddress>`_
**Request Syntax**
::
response = client.delete_verified_email_address(
EmailAddress='string'
)
:type EmailAddress: string
:param EmailAddress: **[REQUIRED]**
An email address to be removed from the list of verified addresses.
:returns: None
"""
pass
def describe_active_receipt_rule_set(self) -> Dict:
"""
Returns the metadata and receipt rules for the receipt rule set that is currently active.
For information about setting up receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet>`_
**Request Syntax**
::
response = client.describe_active_receipt_rule_set()
**Response Syntax**
::
{
'Metadata': {
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
'Rules': [
{
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
},
]
}
**Response Structure**
- *(dict) --*
Represents the metadata and receipt rules for the receipt rule set that is currently active.
- **Metadata** *(dict) --*
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and a timestamp of when the rule set was created.
- **Name** *(string) --*
The name of the receipt rule set. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **CreatedTimestamp** *(datetime) --*
The date and time the receipt rule set was created.
- **Rules** *(list) --*
The receipt rules that belong to the active rule set.
- *(dict) --*
Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.
Each receipt rule defines a set of email addresses or domains that it applies to. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **Name** *(string) --*
The name of the receipt rule. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
If ``true`` , the receipt rule is active. The default value is ``false`` .
- **TlsPolicy** *(string) --*
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to ``Require`` , Amazon SES will bounce emails that are not received over TLS. The default is ``Optional`` .
- **Recipients** *(list) --*
The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.
- *(string) --*
- **Actions** *(list) --*
An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
- *(dict) --*
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **S3Action** *(dict) --*
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **BucketName** *(string) --*
The name of the Amazon S3 bucket that incoming email will be saved to.
- **ObjectKeyPrefix** *(string) --*
The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
- **KmsKeyArn** *(string) --*
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
* To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
* To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html>`__ .
For more information about key policies, see the `AWS KMS Developer Guide <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`__ . If you do not specify a master key, Amazon SES will not encrypt your emails.
.. warning::
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <http://aws.amazon.com/sdk-for-java/>`__ and `AWS SDK for Ruby <http://aws.amazon.com/sdk-for-ruby/>`__ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`__ .
- **BounceAction** *(dict) --*
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **SmtpReplyCode** *(string) --*
The SMTP reply code, as defined by `RFC 5321 <https://tools.ietf.org/html/rfc5321>`__ .
- **StatusCode** *(string) --*
The SMTP enhanced status code, as defined by `RFC 3463 <https://tools.ietf.org/html/rfc3463>`__ .
- **Message** *(string) --*
Human-readable text to include in the bounce message.
- **Sender** *(string) --*
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
- **WorkmailAction** *(dict) --*
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **OrganizationArn** *(string) --*
The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is ``arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7`` . For information about Amazon WorkMail organizations, see the `Amazon WorkMail Administrator Guide <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html>`__ .
- **LambdaAction** *(dict) --*
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **FunctionArn** *(string) --*
The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is ``arn:aws:lambda:us-west-2:account-id:function:MyFunction`` . For more information about AWS Lambda, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html>`__ .
- **InvocationType** *(string) --*
The invocation type of the AWS Lambda function. An invocation type of ``RequestResponse`` means that the execution of the function will immediately result in a response, and a value of ``Event`` means that the function will be invoked asynchronously. The default value is ``Event`` . For information about AWS Lambda invocation types, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html>`__ .
.. warning::
There is a 30-second timeout on ``RequestResponse`` invocations. You should use ``Event`` invocation in most cases. Use ``RequestResponse`` only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
- **StopAction** *(dict) --*
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
- **Scope** *(string) --*
The name of the RuleSet that is being stopped.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **AddHeaderAction** *(dict) --*
Adds a header to the received email.
- **HeaderName** *(string) --*
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **HeaderValue** *(string) --*
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
- **SNSAction** *(dict) --*
Publishes the email content within a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **Encoding** *(string) --*
The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
- **ScanEnabled** *(boolean) --*
If ``true`` , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is ``false`` .
:rtype: dict
:returns:
"""
pass
def describe_configuration_set(self, ConfigurationSetName: str, ConfigurationSetAttributeNames: List = None) -> Dict:
"""
Returns the details of the specified configuration set. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet>`_
**Request Syntax**
::
response = client.describe_configuration_set(
ConfigurationSetName='string',
ConfigurationSetAttributeNames=[
'eventDestinations'|'trackingOptions'|'reputationOptions',
]
)
**Response Syntax**
::
{
'ConfigurationSet': {
'Name': 'string'
},
'EventDestinations': [
{
'Name': 'string',
'Enabled': True|False,
'MatchingEventTypes': [
'send'|'reject'|'bounce'|'complaint'|'delivery'|'open'|'click'|'renderingFailure',
],
'KinesisFirehoseDestination': {
'IAMRoleARN': 'string',
'DeliveryStreamARN': 'string'
},
'CloudWatchDestination': {
'DimensionConfigurations': [
{
'DimensionName': 'string',
'DimensionValueSource': 'messageTag'|'emailHeader'|'linkTag',
'DefaultDimensionValue': 'string'
},
]
},
'SNSDestination': {
'TopicARN': 'string'
}
},
],
'TrackingOptions': {
'CustomRedirectDomain': 'string'
},
'ReputationOptions': {
'SendingEnabled': True|False,
'ReputationMetricsEnabled': True|False,
'LastFreshStart': datetime(2015, 1, 1)
}
}
**Response Structure**
- *(dict) --*
Represents the details of a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **ConfigurationSet** *(dict) --*
The configuration set object associated with the specified configuration set.
- **Name** *(string) --*
The name of the configuration set. The name must meet the following requirements:
* Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain 64 characters or fewer.
- **EventDestinations** *(list) --*
A list of event destinations associated with the configuration set.
- *(dict) --*
Contains information about the event destination that the specified email sending events will be published to.
.. note::
When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS).
Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **Name** *(string) --*
The name of the event destination. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to ``true`` to enable publishing to this destination; set to ``false`` to prevent publishing to this destination. The default value is ``false`` .
- **MatchingEventTypes** *(list) --*
The type of email sending events to publish to the event destination.
- *(string) --*
- **KinesisFirehoseDestination** *(dict) --*
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
- **IAMRoleARN** *(string) --*
The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.
- **DeliveryStreamARN** *(string) --*
The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.
- **CloudWatchDestination** *(dict) --*
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
- **DimensionConfigurations** *(list) --*
A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
- *(dict) --*
Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
For information about publishing email sending events to Amazon CloudWatch, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **DimensionName** *(string) --*
The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **DimensionValueSource** *(string) --*
The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an ``X-SES-MESSAGE-TAGS`` header or a parameter to the ``SendEmail`` /``SendRawEmail`` API, choose ``messageTag`` . If you want Amazon SES to use your own email headers, choose ``emailHeader`` .
- **DefaultDimensionValue** *(string) --*
The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **SNSDestination** *(dict) --*
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
- **TopicARN** *(string) --*
The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **TrackingOptions** *(dict) --*
The name of the custom open and click tracking domain associated with the configuration set.
- **CustomRedirectDomain** *(string) --*
The custom subdomain that will be used to redirect email recipients to the Amazon SES event tracking domain.
- **ReputationOptions** *(dict) --*
An object that represents the reputation settings for the configuration set.
- **SendingEnabled** *(boolean) --*
Describes whether email sending is enabled or disabled for the configuration set. If the value is ``true`` , then Amazon SES will send emails that use the configuration set. If the value is ``false`` , Amazon SES will not send emails that use the configuration set. The default value is ``true`` . You can change this setting using UpdateConfigurationSetSendingEnabled .
- **ReputationMetricsEnabled** *(boolean) --*
Describes whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
If the value is ``true`` , reputation metrics are published. If the value is ``false`` , reputation metrics are not published. The default value is ``false`` .
- **LastFreshStart** *(datetime) --*
The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a *fresh start* .
When you disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled and later re-enable it, the reputation metrics for the configuration set (but not for the entire Amazon SES account) are reset.
If email sending for the configuration set has never been disabled and later re-enabled, the value of this attribute is ``null`` .
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set to describe.
:type ConfigurationSetAttributeNames: list
:param ConfigurationSetAttributeNames:
A list of configuration set attributes to return.
- *(string) --*
:rtype: dict
:returns:
"""
pass
def describe_receipt_rule(self, RuleSetName: str, RuleName: str) -> Dict:
"""
Returns the details of the specified receipt rule.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule>`_
**Request Syntax**
::
response = client.describe_receipt_rule(
RuleSetName='string',
RuleName='string'
)
**Response Syntax**
::
{
'Rule': {
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
}
}
**Response Structure**
- *(dict) --*
Represents the details of a receipt rule.
- **Rule** *(dict) --*
A data structure that contains the specified receipt rule's name, actions, recipients, domains, enabled status, scan status, and Transport Layer Security (TLS) policy.
- **Name** *(string) --*
The name of the receipt rule. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
If ``true`` , the receipt rule is active. The default value is ``false`` .
- **TlsPolicy** *(string) --*
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to ``Require`` , Amazon SES will bounce emails that are not received over TLS. The default is ``Optional`` .
- **Recipients** *(list) --*
The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.
- *(string) --*
- **Actions** *(list) --*
An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
- *(dict) --*
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **S3Action** *(dict) --*
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **BucketName** *(string) --*
The name of the Amazon S3 bucket that incoming email will be saved to.
- **ObjectKeyPrefix** *(string) --*
The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
- **KmsKeyArn** *(string) --*
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
* To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
* To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html>`__ .
For more information about key policies, see the `AWS KMS Developer Guide <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`__ . If you do not specify a master key, Amazon SES will not encrypt your emails.
.. warning::
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <http://aws.amazon.com/sdk-for-java/>`__ and `AWS SDK for Ruby <http://aws.amazon.com/sdk-for-ruby/>`__ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`__ .
- **BounceAction** *(dict) --*
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **SmtpReplyCode** *(string) --*
The SMTP reply code, as defined by `RFC 5321 <https://tools.ietf.org/html/rfc5321>`__ .
- **StatusCode** *(string) --*
The SMTP enhanced status code, as defined by `RFC 3463 <https://tools.ietf.org/html/rfc3463>`__ .
- **Message** *(string) --*
Human-readable text to include in the bounce message.
- **Sender** *(string) --*
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
- **WorkmailAction** *(dict) --*
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **OrganizationArn** *(string) --*
The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is ``arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7`` . For information about Amazon WorkMail organizations, see the `Amazon WorkMail Administrator Guide <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html>`__ .
- **LambdaAction** *(dict) --*
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **FunctionArn** *(string) --*
The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is ``arn:aws:lambda:us-west-2:account-id:function:MyFunction`` . For more information about AWS Lambda, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html>`__ .
- **InvocationType** *(string) --*
The invocation type of the AWS Lambda function. An invocation type of ``RequestResponse`` means that the execution of the function will immediately result in a response, and a value of ``Event`` means that the function will be invoked asynchronously. The default value is ``Event`` . For information about AWS Lambda invocation types, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html>`__ .
.. warning::
There is a 30-second timeout on ``RequestResponse`` invocations. You should use ``Event`` invocation in most cases. Use ``RequestResponse`` only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
- **StopAction** *(dict) --*
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
- **Scope** *(string) --*
The name of the RuleSet that is being stopped.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **AddHeaderAction** *(dict) --*
Adds a header to the received email.
- **HeaderName** *(string) --*
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **HeaderValue** *(string) --*
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
- **SNSAction** *(dict) --*
Publishes the email content within a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **Encoding** *(string) --*
The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
- **ScanEnabled** *(boolean) --*
If ``true`` , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is ``false`` .
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set that the receipt rule belongs to.
:type RuleName: string
:param RuleName: **[REQUIRED]**
The name of the receipt rule.
:rtype: dict
:returns:
"""
pass
def describe_receipt_rule_set(self, RuleSetName: str) -> Dict:
"""
Returns the details of the specified receipt rule set.
For information about managing receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet>`_
**Request Syntax**
::
response = client.describe_receipt_rule_set(
RuleSetName='string'
)
**Response Syntax**
::
{
'Metadata': {
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
'Rules': [
{
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
},
]
}
**Response Structure**
- *(dict) --*
Represents the details of the specified receipt rule set.
- **Metadata** *(dict) --*
The metadata for the receipt rule set, which consists of the rule set name and the timestamp of when the rule set was created.
- **Name** *(string) --*
The name of the receipt rule set. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **CreatedTimestamp** *(datetime) --*
The date and time the receipt rule set was created.
- **Rules** *(list) --*
A list of the receipt rules that belong to the specified receipt rule set.
- *(dict) --*
Receipt rules enable you to specify which actions Amazon SES should take when it receives mail on behalf of one or more email addresses or domains that you own.
Each receipt rule defines a set of email addresses or domains that it applies to. If the email addresses or domains match at least one recipient address of the message, Amazon SES executes all of the receipt rule's actions on the message.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **Name** *(string) --*
The name of the receipt rule. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
If ``true`` , the receipt rule is active. The default value is ``false`` .
- **TlsPolicy** *(string) --*
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to ``Require`` , Amazon SES will bounce emails that are not received over TLS. The default is ``Optional`` .
- **Recipients** *(list) --*
The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.
- *(string) --*
- **Actions** *(list) --*
An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
- *(dict) --*
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **S3Action** *(dict) --*
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **BucketName** *(string) --*
The name of the Amazon S3 bucket that incoming email will be saved to.
- **ObjectKeyPrefix** *(string) --*
The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
- **KmsKeyArn** *(string) --*
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
* To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don't need to perform any extra steps to give Amazon SES permission to use the key.
* To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key's policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html>`__ .
For more information about key policies, see the `AWS KMS Developer Guide <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`__ . If you do not specify a master key, Amazon SES will not encrypt your emails.
.. warning::
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <http://aws.amazon.com/sdk-for-java/>`__ and `AWS SDK for Ruby <http://aws.amazon.com/sdk-for-ruby/>`__ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`__ .
- **BounceAction** *(dict) --*
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **SmtpReplyCode** *(string) --*
The SMTP reply code, as defined by `RFC 5321 <https://tools.ietf.org/html/rfc5321>`__ .
- **StatusCode** *(string) --*
The SMTP enhanced status code, as defined by `RFC 3463 <https://tools.ietf.org/html/rfc3463>`__ .
- **Message** *(string) --*
Human-readable text to include in the bounce message.
- **Sender** *(string) --*
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
- **WorkmailAction** *(dict) --*
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **OrganizationArn** *(string) --*
The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is ``arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7`` . For information about Amazon WorkMail organizations, see the `Amazon WorkMail Administrator Guide <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html>`__ .
- **LambdaAction** *(dict) --*
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **FunctionArn** *(string) --*
The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is ``arn:aws:lambda:us-west-2:account-id:function:MyFunction`` . For more information about AWS Lambda, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html>`__ .
- **InvocationType** *(string) --*
The invocation type of the AWS Lambda function. An invocation type of ``RequestResponse`` means that the execution of the function will immediately result in a response, and a value of ``Event`` means that the function will be invoked asynchronously. The default value is ``Event`` . For information about AWS Lambda invocation types, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html>`__ .
.. warning::
There is a 30-second timeout on ``RequestResponse`` invocations. You should use ``Event`` invocation in most cases. Use ``RequestResponse`` only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
- **StopAction** *(dict) --*
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
- **Scope** *(string) --*
The name of the RuleSet that is being stopped.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **AddHeaderAction** *(dict) --*
Adds a header to the received email.
- **HeaderName** *(string) --*
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **HeaderValue** *(string) --*
Must be less than 2048 characters, and must not contain newline characters ("\r" or "\n").
- **SNSAction** *(dict) --*
Publishes the email content within a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **Encoding** *(string) --*
The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
- **ScanEnabled** *(boolean) --*
If ``true`` , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is ``false`` .
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set to describe.
:rtype: dict
:returns:
"""
pass
def generate_presigned_url(self, ClientMethod: str = None, Params: Dict = None, ExpiresIn: int = None, HttpMethod: str = None):
"""
Generate a presigned url given a client, its method, and arguments
:type ClientMethod: string
:param ClientMethod: The client method to presign for
:type Params: dict
:param Params: The parameters normally passed to
``ClientMethod``.
:type ExpiresIn: int
:param ExpiresIn: The number of seconds the presigned url is valid
for. By default it expires in an hour (3600 seconds)
:type HttpMethod: string
:param HttpMethod: The http method to use on the generated url. By
default, the http method is whatever is used in the method\'s model.
:returns: The presigned url
"""
pass
def get_account_sending_enabled(self) -> Dict:
"""
Returns the email sending status of the Amazon SES account for the current region.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabled>`_
**Request Syntax**
::
response = client.get_account_sending_enabled()
**Response Syntax**
::
{
'Enabled': True|False
}
**Response Structure**
- *(dict) --*
Represents a request to return the email sending status for your Amazon SES account in the current AWS Region.
- **Enabled** *(boolean) --*
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
:rtype: dict
:returns:
"""
pass
def get_custom_verification_email_template(self, TemplateName: str) -> Dict:
"""
Returns the custom email verification template for the template name you specify.
For more information about custom verification email templates, see `Using Custom Verification Email Templates <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html>`__ in the *Amazon SES Developer Guide* .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplate>`_
**Request Syntax**
::
response = client.get_custom_verification_email_template(
TemplateName='string'
)
**Response Syntax**
::
{
'TemplateName': 'string',
'FromEmailAddress': 'string',
'TemplateSubject': 'string',
'TemplateContent': 'string',
'SuccessRedirectionURL': 'string',
'FailureRedirectionURL': 'string'
}
**Response Structure**
- *(dict) --*
The content of the custom verification email template.
- **TemplateName** *(string) --*
The name of the custom verification email template.
- **FromEmailAddress** *(string) --*
The email address that the custom verification email is sent from.
- **TemplateSubject** *(string) --*
The subject line of the custom verification email.
- **TemplateContent** *(string) --*
The content of the custom verification email.
- **SuccessRedirectionURL** *(string) --*
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
- **FailureRedirectionURL** *(string) --*
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the custom verification email template that you want to retrieve.
:rtype: dict
:returns:
"""
pass
def get_identity_dkim_attributes(self, Identities: List) -> Dict:
"""
Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.
This operation takes a list of identities as input and returns the following information for each:
* Whether Easy DKIM signing is enabled or disabled.
* A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
* Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.
This operation is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.
For more information about creating DNS records using DKIM tokens, go to the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributes>`_
**Request Syntax**
::
response = client.get_identity_dkim_attributes(
Identities=[
'string',
]
)
**Response Syntax**
::
{
'DkimAttributes': {
'string': {
'DkimEnabled': True|False,
'DkimVerificationStatus': 'Pending'|'Success'|'Failed'|'TemporaryFailure'|'NotStarted',
'DkimTokens': [
'string',
]
}
}
}
**Response Structure**
- *(dict) --*
Represents the status of Amazon SES Easy DKIM signing for an identity. For domain identities, this response also contains the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES successfully verified that these tokens were published.
- **DkimAttributes** *(dict) --*
The DKIM attributes for an email address or a domain.
- *(string) --*
- *(dict) --*
Represents the DKIM attributes of a verified email address or a domain.
- **DkimEnabled** *(boolean) --*
True if DKIM signing is enabled for email sent from the identity; false otherwise. The default value is true.
- **DkimVerificationStatus** *(string) --*
Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name's DNS. (This only applies to domain identities, not email address identities.)
- **DkimTokens** *(list) --*
A set of character strings that represent the domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain. (This only applies to domain identities, not email address identities.)
For more information about creating DNS records using DKIM tokens, go to the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html>`__ .
- *(string) --*
:type Identities: list
:param Identities: **[REQUIRED]**
A list of one or more verified identities - email addresses, domains, or both.
- *(string) --*
:rtype: dict
:returns:
"""
pass
def get_identity_mail_from_domain_attributes(self, Identities: List) -> Dict:
"""
Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).
This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributes>`_
**Request Syntax**
::
response = client.get_identity_mail_from_domain_attributes(
Identities=[
'string',
]
)
**Response Syntax**
::
{
'MailFromDomainAttributes': {
'string': {
'MailFromDomain': 'string',
'MailFromDomainStatus': 'Pending'|'Success'|'Failed'|'TemporaryFailure',
'BehaviorOnMXFailure': 'UseDefaultValue'|'RejectMessage'
}
}
}
**Response Structure**
- *(dict) --*
Represents the custom MAIL FROM attributes for a list of identities.
- **MailFromDomainAttributes** *(dict) --*
A map of identities to custom MAIL FROM attributes.
- *(string) --*
- *(dict) --*
Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).
- **MailFromDomain** *(string) --*
The custom MAIL FROM domain that the identity is configured to use.
- **MailFromDomainStatus** *(string) --*
The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is ``Success`` , Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by ``BehaviorOnMXFailure`` .
- **BehaviorOnMXFailure** *(string) --*
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of ``UseDefaultValue`` indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of ``RejectMessage`` indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a ``MailFromDomainNotVerified`` error and does not send the email.
The custom MAIL FROM setup states that result in this behavior are ``Pending`` , ``Failed`` , and ``TemporaryFailure`` .
:type Identities: list
:param Identities: **[REQUIRED]**
A list of one or more identities.
- *(string) --*
:rtype: dict
:returns:
"""
pass
def get_identity_notification_attributes(self, Identities: List) -> Dict:
"""
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
This operation is throttled at one request per second and can only get notification attributes for up to 100 identities at a time.
For more information about using notifications with Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributes>`_
**Request Syntax**
::
response = client.get_identity_notification_attributes(
Identities=[
'string',
]
)
**Response Syntax**
::
{
'NotificationAttributes': {
'string': {
'BounceTopic': 'string',
'ComplaintTopic': 'string',
'DeliveryTopic': 'string',
'ForwardingEnabled': True|False,
'HeadersInBounceNotificationsEnabled': True|False,
'HeadersInComplaintNotificationsEnabled': True|False,
'HeadersInDeliveryNotificationsEnabled': True|False
}
}
}
**Response Structure**
- *(dict) --*
Represents the notification attributes for a list of identities.
- **NotificationAttributes** *(dict) --*
A map of Identity to IdentityNotificationAttributes.
- *(string) --*
- *(dict) --*
Represents the notification attributes of an identity, including whether an identity has Amazon Simple Notification Service (Amazon SNS) topics set for bounce, complaint, and/or delivery notifications, and whether feedback forwarding is enabled for bounce and complaint notifications.
- **BounceTopic** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
- **ComplaintTopic** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
- **DeliveryTopic** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
- **ForwardingEnabled** *(boolean) --*
Describes whether Amazon SES will forward bounce and complaint notifications as email. ``true`` indicates that Amazon SES will forward bounce and complaint notifications as email, while ``false`` indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.
- **HeadersInBounceNotificationsEnabled** *(boolean) --*
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type ``Bounce`` . A value of ``true`` specifies that Amazon SES will include headers in bounce notifications, and a value of ``false`` specifies that Amazon SES will not include headers in bounce notifications.
- **HeadersInComplaintNotificationsEnabled** *(boolean) --*
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type ``Complaint`` . A value of ``true`` specifies that Amazon SES will include headers in complaint notifications, and a value of ``false`` specifies that Amazon SES will not include headers in complaint notifications.
- **HeadersInDeliveryNotificationsEnabled** *(boolean) --*
Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of type ``Delivery`` . A value of ``true`` specifies that Amazon SES will include headers in delivery notifications, and a value of ``false`` specifies that Amazon SES will not include headers in delivery notifications.
:type Identities: list
:param Identities: **[REQUIRED]**
A list of one or more identities. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: ``user@example.com`` , ``example.com`` , ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` .
- *(string) --*
:rtype: dict
:returns:
"""
pass
def get_identity_policies(self, Identity: str, PolicyNames: List) -> Dict:
"""
Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.
.. note::
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPolicies>`_
**Request Syntax**
::
response = client.get_identity_policies(
Identity='string',
PolicyNames=[
'string',
]
)
**Response Syntax**
::
{
'Policies': {
'string': 'string'
}
}
**Response Structure**
- *(dict) --*
Represents the requested sending authorization policies.
- **Policies** *(dict) --*
A map of policy names to policies.
- *(string) --*
- *(string) --*
:type Identity: string
:param Identity: **[REQUIRED]**
The identity for which the policies will be retrieved. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: ``user@example.com`` , ``example.com`` , ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` .
To successfully call this API, you must own the identity.
:type PolicyNames: list
:param PolicyNames: **[REQUIRED]**
A list of the names of policies to be retrieved. You can retrieve a maximum of 20 policies at a time. If you do not know the names of the policies that are attached to the identity, you can use ``ListIdentityPolicies`` .
- *(string) --*
:rtype: dict
:returns:
"""
pass
def get_identity_verification_attributes(self, Identities: List) -> Dict:
"""
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
The verification status of an email address is "Pending" until the email address owner clicks the link within the verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24 hours, the verification status of the email address changes to "Success". If the link is not clicked within 24 hours, the verification status changes to "Failed." In that case, if you still want to verify the email address, you must restart the verification process from the beginning.
For domain identities, the domain's verification status is "Pending" as Amazon SES searches for the required TXT record in the DNS settings of the domain. When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, if you still want to verify the domain, you must restart the verification process from the beginning.
This operation is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes>`_
**Request Syntax**
::
response = client.get_identity_verification_attributes(
Identities=[
'string',
]
)
**Response Syntax**
::
{
'VerificationAttributes': {
'string': {
'VerificationStatus': 'Pending'|'Success'|'Failed'|'TemporaryFailure'|'NotStarted',
'VerificationToken': 'string'
}
}
}
**Response Structure**
- *(dict) --*
The Amazon SES verification status of a list of identities. For domain identities, this response also contains the verification token.
- **VerificationAttributes** *(dict) --*
A map of Identities to IdentityVerificationAttributes objects.
- *(string) --*
- *(dict) --*
Represents the verification attributes of a single identity.
- **VerificationStatus** *(string) --*
The verification status of the identity: "Pending", "Success", "Failed", or "TemporaryFailure".
- **VerificationToken** *(string) --*
The verification token for a domain identity. Null for email address identities.
:type Identities: list
:param Identities: **[REQUIRED]**
A list of identities.
- *(string) --*
:rtype: dict
:returns:
"""
pass
def get_paginator(self, operation_name: str = None) -> Paginator:
"""
Create a paginator for an operation.
:type operation_name: string
:param operation_name: The operation name. This is the same name
as the method name on the client. For example, if the
method name is ``create_foo``, and you\'d normally invoke the
operation as ``client.create_foo(**kwargs)``, if the
``create_foo`` operation can be paginated, you can use the
call ``client.get_paginator(\"create_foo\")``.
:raise OperationNotPageableError: Raised if the operation is not
pageable. You can use the ``client.can_paginate`` method to
check if an operation is pageable.
:rtype: L{botocore.paginate.Paginator}
:return: A paginator object.
"""
pass
def get_send_quota(self) -> Dict:
"""
Provides the sending limits for the Amazon SES account.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuota>`_
**Request Syntax**
::
response = client.get_send_quota()
**Response Syntax**
::
{
'Max24HourSend': 123.0,
'MaxSendRate': 123.0,
'SentLast24Hours': 123.0
}
**Response Structure**
- *(dict) --*
Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.
- **Max24HourSend** *(float) --*
The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota.
- **MaxSendRate** *(float) --*
The maximum number of emails that Amazon SES can accept from the user's account per second.
.. note::
The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate.
- **SentLast24Hours** *(float) --*
The number of emails sent during the previous 24 hours.
:rtype: dict
:returns:
"""
pass
def get_send_statistics(self) -> Dict:
"""
Provides sending statistics for the current AWS Region. The result is a list of data points, representing the last two weeks of sending activity. Each data point in the list contains statistics for a 15-minute period of time.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatistics>`_
**Request Syntax**
::
response = client.get_send_statistics()
**Response Syntax**
::
{
'SendDataPoints': [
{
'Timestamp': datetime(2015, 1, 1),
'DeliveryAttempts': 123,
'Bounces': 123,
'Complaints': 123,
'Rejects': 123
},
]
}
**Response Structure**
- *(dict) --*
Represents a list of data points. This list contains aggregated data from the previous two weeks of your sending activity with Amazon SES.
- **SendDataPoints** *(list) --*
A list of data points, each of which represents 15 minutes of activity.
- *(dict) --*
Represents sending statistics data. Each ``SendDataPoint`` contains statistics for a 15-minute period of sending activity.
- **Timestamp** *(datetime) --*
Time of the data point.
- **DeliveryAttempts** *(integer) --*
Number of emails that have been sent.
- **Bounces** *(integer) --*
Number of emails that have bounced.
- **Complaints** *(integer) --*
Number of unwanted emails that were rejected by recipients.
- **Rejects** *(integer) --*
Number of emails rejected by Amazon SES.
:rtype: dict
:returns:
"""
pass
def get_template(self, TemplateName: str) -> Dict:
"""
Displays the template object (which includes the Subject line, HTML part and text part) for the template you specify.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate>`_
**Request Syntax**
::
response = client.get_template(
TemplateName='string'
)
**Response Syntax**
::
{
'Template': {
'TemplateName': 'string',
'SubjectPart': 'string',
'TextPart': 'string',
'HtmlPart': 'string'
}
}
**Response Structure**
- *(dict) --*
- **Template** *(dict) --*
The content of the email, composed of a subject line, an HTML part, and a text-only part.
- **TemplateName** *(string) --*
The name of the template. You will refer to this name when you send email using the ``SendTemplatedEmail`` or ``SendBulkTemplatedEmail`` operations.
- **SubjectPart** *(string) --*
The subject line of the email.
- **TextPart** *(string) --*
The email body that will be visible to recipients whose email clients do not display HTML.
- **HtmlPart** *(string) --*
The HTML body of the email.
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the template you want to retrieve.
:rtype: dict
:returns:
"""
pass
def get_waiter(self, waiter_name: str = None) -> Waiter:
"""
Returns an object that can wait for some condition.
:type waiter_name: str
:param waiter_name: The name of the waiter to get. See the waiters
section of the service docs for a list of available waiters.
:returns: The specified waiter object.
:rtype: botocore.waiter.Waiter
"""
pass
def list_configuration_sets(self, NextToken: str = None, MaxItems: int = None) -> Dict:
"""
Provides a list of the configuration sets associated with your Amazon SES account in the current AWS Region. For information about using configuration sets, see `Monitoring Your Amazon SES Sending Activity <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ in the *Amazon SES Developer Guide.*
You can execute this operation no more than once per second. This operation will return up to 1,000 configuration sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation will also return a NextToken element. You can then execute the ``ListConfigurationSets`` operation again, passing the ``NextToken`` parameter and the value of the NextToken element to retrieve additional results.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSets>`_
**Request Syntax**
::
response = client.list_configuration_sets(
NextToken='string',
MaxItems=123
)
**Response Syntax**
::
{
'ConfigurationSets': [
{
'Name': 'string'
},
],
'NextToken': 'string'
}
**Response Structure**
- *(dict) --*
A list of configuration sets associated with your AWS account. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **ConfigurationSets** *(list) --*
A list of configuration sets.
- *(dict) --*
The name of the configuration set.
Configuration sets let you create groups of rules that you can apply to the emails you send using Amazon SES. For more information about using configuration sets, see `Using Amazon SES Configuration Sets <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/using-configuration-sets.html>`__ in the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/>`__ .
- **Name** *(string) --*
The name of the configuration set. The name must meet the following requirements:
* Contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain 64 characters or fewer.
- **NextToken** *(string) --*
A token indicating that there are additional configuration sets available to be listed. Pass this token to successive calls of ``ListConfigurationSets`` .
:type NextToken: string
:param NextToken:
A token returned from a previous call to ``ListConfigurationSets`` to indicate the position of the configuration set in the configuration set list.
:type MaxItems: integer
:param MaxItems:
The number of configuration sets to return.
:rtype: dict
:returns:
"""
pass
def list_custom_verification_email_templates(self, NextToken: str = None, MaxResults: int = None) -> Dict:
"""
Lists the existing custom verification email templates for your account in the current AWS Region.
For more information about custom verification email templates, see `Using Custom Verification Email Templates <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html>`__ in the *Amazon SES Developer Guide* .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplates>`_
**Request Syntax**
::
response = client.list_custom_verification_email_templates(
NextToken='string',
MaxResults=123
)
**Response Syntax**
::
{
'CustomVerificationEmailTemplates': [
{
'TemplateName': 'string',
'FromEmailAddress': 'string',
'TemplateSubject': 'string',
'SuccessRedirectionURL': 'string',
'FailureRedirectionURL': 'string'
},
],
'NextToken': 'string'
}
**Response Structure**
- *(dict) --*
A paginated list of custom verification email templates.
- **CustomVerificationEmailTemplates** *(list) --*
A list of the custom verification email templates that exist in your account.
- *(dict) --*
Contains information about a custom verification email template.
- **TemplateName** *(string) --*
The name of the custom verification email template.
- **FromEmailAddress** *(string) --*
The email address that the custom verification email is sent from.
- **TemplateSubject** *(string) --*
The subject line of the custom verification email.
- **SuccessRedirectionURL** *(string) --*
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
- **FailureRedirectionURL** *(string) --*
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
- **NextToken** *(string) --*
A token indicating that there are additional custom verification email templates available to be listed. Pass this token to a subsequent call to ``ListTemplates`` to retrieve the next 50 custom verification email templates.
:type NextToken: string
:param NextToken:
An array the contains the name and creation time stamp for each template in your Amazon SES account.
:type MaxResults: integer
:param MaxResults:
The maximum number of custom verification email templates to return. This value must be at least 1 and less than or equal to 50. If you do not specify a value, or if you specify a value less than 1 or greater than 50, the operation will return up to 50 results.
:rtype: dict
:returns:
"""
pass
def list_identities(self, IdentityType: str = None, NextToken: str = None, MaxItems: int = None) -> Dict:
"""
Returns a list containing all of the identities (email addresses and domains) for your AWS account in the current AWS Region, regardless of verification status.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentities>`_
**Request Syntax**
::
response = client.list_identities(
IdentityType='EmailAddress'|'Domain',
NextToken='string',
MaxItems=123
)
**Response Syntax**
::
{
'Identities': [
'string',
],
'NextToken': 'string'
}
**Response Structure**
- *(dict) --*
A list of all identities that you have attempted to verify under your AWS account, regardless of verification status.
- **Identities** *(list) --*
A list of identities.
- *(string) --*
- **NextToken** *(string) --*
The token used for pagination.
:type IdentityType: string
:param IdentityType:
The type of the identities to list. Possible values are \"EmailAddress\" and \"Domain\". If this parameter is omitted, then all identities will be listed.
:type NextToken: string
:param NextToken:
The token to use for pagination.
:type MaxItems: integer
:param MaxItems:
The maximum number of identities per page. Possible values are 1-1000 inclusive.
:rtype: dict
:returns:
"""
pass
def list_identity_policies(self, Identity: str) -> Dict:
"""
Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This API returns only a list. If you want the actual policy content, you can use ``GetIdentityPolicies`` .
.. note::
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPolicies>`_
**Request Syntax**
::
response = client.list_identity_policies(
Identity='string'
)
**Response Syntax**
::
{
'PolicyNames': [
'string',
]
}
**Response Structure**
- *(dict) --*
A list of names of sending authorization policies that apply to an identity.
- **PolicyNames** *(list) --*
A list of names of policies that apply to the specified identity.
- *(string) --*
:type Identity: string
:param Identity: **[REQUIRED]**
The identity that is associated with the policy for which the policies will be listed. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: ``user@example.com`` , ``example.com`` , ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` .
To successfully call this API, you must own the identity.
:rtype: dict
:returns:
"""
pass
def list_receipt_filters(self) -> Dict:
"""
Lists the IP address filters associated with your AWS account in the current AWS Region.
For information about managing IP address filters, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-ip-filters.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFilters>`_
**Request Syntax**
::
response = client.list_receipt_filters()
**Response Syntax**
::
{
'Filters': [
{
'Name': 'string',
'IpFilter': {
'Policy': 'Block'|'Allow',
'Cidr': 'string'
}
},
]
}
**Response Structure**
- *(dict) --*
A list of IP address filters that exist under your AWS account.
- **Filters** *(list) --*
A list of IP address filter data structures, which each consist of a name, an IP address range, and whether to allow or block mail from it.
- *(dict) --*
A receipt IP address filter enables you to specify whether to accept or reject mail originating from an IP address or range of IP addresses.
For information about setting up IP address filters, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-ip-filters.html>`__ .
- **Name** *(string) --*
The name of the IP address filter. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **IpFilter** *(dict) --*
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- **Policy** *(string) --*
Indicates whether to block or allow incoming mail from the specified IP addresses.
- **Cidr** *(string) --*
A single IP address or a range of IP addresses that you want to block or allow, specified in Classless Inter-Domain Routing (CIDR) notation. An example of a single email address is 10.0.0.1. An example of a range of IP addresses is 10.0.0.1/24. For more information about CIDR notation, see `RFC 2317 <https://tools.ietf.org/html/rfc2317>`__ .
:rtype: dict
:returns:
"""
pass
def list_receipt_rule_sets(self, NextToken: str = None) -> Dict:
"""
Lists the receipt rule sets that exist under your AWS account in the current AWS Region. If there are additional receipt rule sets to be retrieved, you will receive a ``NextToken`` that you can provide to the next call to ``ListReceiptRuleSets`` to retrieve the additional entries.
For information about managing receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSets>`_
**Request Syntax**
::
response = client.list_receipt_rule_sets(
NextToken='string'
)
**Response Syntax**
::
{
'RuleSets': [
{
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
**Response Structure**
- *(dict) --*
A list of receipt rule sets that exist under your AWS account.
- **RuleSets** *(list) --*
The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.
- *(dict) --*
Information about a receipt rule set.
A receipt rule set is a collection of rules that specify what Amazon SES should do with mail it receives on behalf of your account's verified domains.
For information about setting up receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rule-set.html>`__ .
- **Name** *(string) --*
The name of the receipt rule set. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **CreatedTimestamp** *(datetime) --*
The date and time the receipt rule set was created.
- **NextToken** *(string) --*
A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of ``ListReceiptRuleSets`` to retrieve up to 100 receipt rule sets at a time.
:type NextToken: string
:param NextToken:
A token returned from a previous call to ``ListReceiptRuleSets`` to indicate the position in the receipt rule set list.
:rtype: dict
:returns:
"""
pass
def list_templates(self, NextToken: str = None, MaxItems: int = None) -> Dict:
"""
Lists the email templates present in your Amazon SES account in the current AWS Region.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplates>`_
**Request Syntax**
::
response = client.list_templates(
NextToken='string',
MaxItems=123
)
**Response Syntax**
::
{
'TemplatesMetadata': [
{
'Name': 'string',
'CreatedTimestamp': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
**Response Structure**
- *(dict) --*
- **TemplatesMetadata** *(list) --*
An array the contains the name and creation time stamp for each template in your Amazon SES account.
- *(dict) --*
Contains information about an email template.
- **Name** *(string) --*
The name of the template.
- **CreatedTimestamp** *(datetime) --*
The time and date the template was created.
- **NextToken** *(string) --*
A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent call to ``ListTemplates`` to retrieve the next 50 email templates.
:type NextToken: string
:param NextToken:
A token returned from a previous call to ``ListTemplates`` to indicate the position in the list of email templates.
:type MaxItems: integer
:param MaxItems:
The maximum number of templates to return. This value must be at least 1 and less than or equal to 10. If you do not specify a value, or if you specify a value less than 1 or greater than 10, the operation will return up to 10 results.
:rtype: dict
:returns:
"""
pass
def list_verified_email_addresses(self) -> Dict:
"""
Deprecated. Use the ``ListIdentities`` operation to list the email addresses and domains associated with your account.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddresses>`_
**Request Syntax**
::
response = client.list_verified_email_addresses()
**Response Syntax**
::
{
'VerifiedEmailAddresses': [
'string',
]
}
**Response Structure**
- *(dict) --*
A list of email addresses that you have verified with Amazon SES under your AWS account.
- **VerifiedEmailAddresses** *(list) --*
A list of email addresses that have been verified.
- *(string) --*
:rtype: dict
:returns:
"""
pass
def put_identity_policy(self, Identity: str, PolicyName: str, Policy: str) -> Dict:
"""
Adds or updates a sending authorization policy for the specified identity (an email address or a domain).
.. note::
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy>`_
**Request Syntax**
::
response = client.put_identity_policy(
Identity='string',
PolicyName='string',
Policy='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity that the policy will apply to. You can specify an identity by using its name or by using its Amazon Resource Name (ARN). Examples: ``user@example.com`` , ``example.com`` , ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` .
To successfully call this API, you must own the identity.
:type PolicyName: string
:param PolicyName: **[REQUIRED]**
The name of the policy.
The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.
:type Policy: string
:param Policy: **[REQUIRED]**
The text of the policy in JSON format. The policy cannot exceed 4 KB.
For information about the syntax of sending authorization policies, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-policies.html>`__ .
:rtype: dict
:returns:
"""
pass
def reorder_receipt_rule_set(self, RuleSetName: str, RuleNames: List) -> Dict:
"""
Reorders the receipt rules within a receipt rule set.
.. note::
All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules.
For information about managing receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet>`_
**Request Syntax**
::
response = client.reorder_receipt_rule_set(
RuleSetName='string',
RuleNames=[
'string',
]
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set to reorder.
:type RuleNames: list
:param RuleNames: **[REQUIRED]**
A list of the specified receipt rule set\'s receipt rules in the order that you want to put them.
- *(string) --*
:rtype: dict
:returns:
"""
pass
def send_bounce(self, OriginalMessageId: str, BounceSender: str, BouncedRecipientInfoList: List, Explanation: str = None, MessageDsn: Dict = None, BounceSenderArn: str = None) -> Dict:
"""
Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it.
.. note::
You cannot use this API to send generic bounces for mail that was not received by Amazon SES.
For information about receiving email through Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce>`_
**Request Syntax**
::
response = client.send_bounce(
OriginalMessageId='string',
BounceSender='string',
Explanation='string',
MessageDsn={
'ReportingMta': 'string',
'ArrivalDate': datetime(2015, 1, 1),
'ExtensionFields': [
{
'Name': 'string',
'Value': 'string'
},
]
},
BouncedRecipientInfoList=[
{
'Recipient': 'string',
'RecipientArn': 'string',
'BounceType': 'DoesNotExist'|'MessageTooLarge'|'ExceededQuota'|'ContentRejected'|'Undefined'|'TemporaryFailure',
'RecipientDsnFields': {
'FinalRecipient': 'string',
'Action': 'failed'|'delayed'|'delivered'|'relayed'|'expanded',
'RemoteMta': 'string',
'Status': 'string',
'DiagnosticCode': 'string',
'LastAttemptDate': datetime(2015, 1, 1),
'ExtensionFields': [
{
'Name': 'string',
'Value': 'string'
},
]
}
},
],
BounceSenderArn='string'
)
**Response Syntax**
::
{
'MessageId': 'string'
}
**Response Structure**
- *(dict) --*
Represents a unique message ID.
- **MessageId** *(string) --*
The message ID of the bounce message.
:type OriginalMessageId: string
:param OriginalMessageId: **[REQUIRED]**
The message ID of the message to be bounced.
:type BounceSender: string
:param BounceSender: **[REQUIRED]**
The address to use in the \"From\" header of the bounce message. This must be an identity that you have verified with Amazon SES.
:type Explanation: string
:param Explanation:
Human-readable text for the bounce message to explain the failure. If not specified, the text will be auto-generated based on the bounced recipient information.
:type MessageDsn: dict
:param MessageDsn:
Message-related DSN fields. If not specified, Amazon SES will choose the values.
- **ReportingMta** *(string) --* **[REQUIRED]**
The reporting MTA that attempted to deliver the message, formatted as specified in `RFC 3464 <https://tools.ietf.org/html/rfc3464>`__ (``mta-name-type; mta-name`` ). The default value is ``dns; inbound-smtp.[region].amazonaws.com`` .
- **ArrivalDate** *(datetime) --*
When the message was received by the reporting mail transfer agent (MTA), in `RFC 822 <https://www.ietf.org/rfc/rfc0822.txt>`__ date-time format.
- **ExtensionFields** *(list) --*
Additional X-headers to include in the DSN.
- *(dict) --*
Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **Value** *(string) --* **[REQUIRED]**
The value of the header to add. Must be less than 2048 characters, and must not contain newline characters (\"\r\" or \"\n\").
:type BouncedRecipientInfoList: list
:param BouncedRecipientInfoList: **[REQUIRED]**
A list of recipients of the bounced message, including the information required to create the Delivery Status Notifications (DSNs) for the recipients. You must specify at least one ``BouncedRecipientInfo`` in the list.
- *(dict) --*
Recipient-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html>`__ .
- **Recipient** *(string) --* **[REQUIRED]**
The email address of the recipient of the bounced email.
- **RecipientArn** *(string) --*
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to receive email for the recipient of the bounced email. For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
- **BounceType** *(string) --*
The reason for the bounce. You must provide either this parameter or ``RecipientDsnFields`` .
- **RecipientDsnFields** *(dict) --*
Recipient-related DSN fields, most of which would normally be filled in automatically when provided with a ``BounceType`` . You must provide either this parameter or ``BounceType`` .
- **FinalRecipient** *(string) --*
The email address that the message was ultimately delivered to. This corresponds to the ``Final-Recipient`` in the DSN. If not specified, ``FinalRecipient`` will be set to the ``Recipient`` specified in the ``BouncedRecipientInfo`` structure. Either ``FinalRecipient`` or the recipient in ``BouncedRecipientInfo`` must be a recipient of the original bounced message.
.. note::
Do not prepend the ``FinalRecipient`` email address with ``rfc 822;`` , as described in `RFC 3798 <https://tools.ietf.org/html/rfc3798>`__ .
- **Action** *(string) --* **[REQUIRED]**
The action performed by the reporting mail transfer agent (MTA) as a result of its attempt to deliver the message to the recipient address. This is required by `RFC 3464 <https://tools.ietf.org/html/rfc3464>`__ .
- **RemoteMta** *(string) --*
The MTA to which the remote MTA attempted to deliver the message, formatted as specified in `RFC 3464 <https://tools.ietf.org/html/rfc3464>`__ (``mta-name-type; mta-name`` ). This parameter typically applies only to propagating synchronous bounces.
- **Status** *(string) --* **[REQUIRED]**
The status code that indicates what went wrong. This is required by `RFC 3464 <https://tools.ietf.org/html/rfc3464>`__ .
- **DiagnosticCode** *(string) --*
An extended explanation of what went wrong; this is usually an SMTP response. See `RFC 3463 <https://tools.ietf.org/html/rfc3463>`__ for the correct formatting of this parameter.
- **LastAttemptDate** *(datetime) --*
The time the final delivery attempt was made, in `RFC 822 <https://www.ietf.org/rfc/rfc0822.txt>`__ date-time format.
- **ExtensionFields** *(list) --*
Additional X-headers to include in the DSN.
- *(dict) --*
Additional X-headers to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **Value** *(string) --* **[REQUIRED]**
The value of the header to add. Must be less than 2048 characters, and must not contain newline characters (\"\r\" or \"\n\").
:type BounceSenderArn: string
:param BounceSenderArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the address in the \"From\" header of the bounce. For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:rtype: dict
:returns:
"""
pass
def send_bulk_templated_email(self, Source: str, Template: str, Destinations: List, SourceArn: str = None, ReplyToAddresses: List = None, ReturnPath: str = None, ReturnPathArn: str = None, ConfigurationSetName: str = None, DefaultTags: List = None, TemplateArn: str = None, DefaultTemplateData: str = None) -> Dict:
"""
Composes an email message to multiple destinations. The message body is created using an email template.
In order to send email using the ``SendBulkTemplatedEmail`` operation, your call to the API must meet the following requirements:
* The call must refer to an existing email template. You can create email templates using the CreateTemplate operation.
* The message must be sent from a verified email address or domain.
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see `Verifying Email Addresses and Domains <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ in the *Amazon SES Developer Guide.*
* The maximum message size is 10 MB.
* Each ``Destination`` parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format *UserName@[SubDomain.]Domain.TopLevelDomain* ), the entire message will be rejected, even if the message contains other recipients that are valid.
* The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the ``SendBulkTemplatedEmail`` operation several times to send the message to each group.
* The number of destinations you can contact in a single call to the API may be limited by your account's maximum sending rate.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail>`_
**Request Syntax**
::
response = client.send_bulk_templated_email(
Source='string',
SourceArn='string',
ReplyToAddresses=[
'string',
],
ReturnPath='string',
ReturnPathArn='string',
ConfigurationSetName='string',
DefaultTags=[
{
'Name': 'string',
'Value': 'string'
},
],
Template='string',
TemplateArn='string',
DefaultTemplateData='string',
Destinations=[
{
'Destination': {
'ToAddresses': [
'string',
],
'CcAddresses': [
'string',
],
'BccAddresses': [
'string',
]
},
'ReplacementTags': [
{
'Name': 'string',
'Value': 'string'
},
],
'ReplacementTemplateData': 'string'
},
]
)
**Response Syntax**
::
{
'Status': [
{
'Status': 'Success'|'MessageRejected'|'MailFromDomainNotVerified'|'ConfigurationSetDoesNotExist'|'TemplateDoesNotExist'|'AccountSuspended'|'AccountThrottled'|'AccountDailyQuotaExceeded'|'InvalidSendingPoolName'|'AccountSendingPaused'|'ConfigurationSetSendingPaused'|'InvalidParameterValue'|'TransientFailure'|'Failed',
'Error': 'string',
'MessageId': 'string'
},
]
}
**Response Structure**
- *(dict) --*
- **Status** *(list) --*
The unique message identifier returned from the ``SendBulkTemplatedEmail`` action.
- *(dict) --*
An object that contains the response from the ``SendBulkTemplatedEmail`` operation.
- **Status** *(string) --*
The status of a message sent using the ``SendBulkTemplatedEmail`` operation.
Possible values for this parameter include:
* ``Success`` : Amazon SES accepted the message, and will attempt to deliver it to the recipients.
* ``MessageRejected`` : The message was rejected because it contained a virus.
* ``MailFromDomainNotVerified`` : The sender's email address or domain was not verified.
* ``ConfigurationSetDoesNotExist`` : The configuration set you specified does not exist.
* ``TemplateDoesNotExist`` : The template you specified does not exist.
* ``AccountSuspended`` : Your account has been shut down because of issues related to your email sending practices.
* ``AccountThrottled`` : The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.
* ``AccountDailyQuotaExceeded`` : You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.
* ``InvalidSendingPoolName`` : The configuration set you specified refers to an IP pool that does not exist.
* ``AccountSendingPaused`` : Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.
* ``ConfigurationSetSendingPaused`` : Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.
* ``InvalidParameterValue`` : One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.
* ``TransientFailure`` : Amazon SES was unable to process your request because of a temporary issue.
* ``Failed`` : Amazon SES was unable to process your request. See the error message for additional information.
- **Error** *(string) --*
A description of an error that prevented a message being sent using the ``SendBulkTemplatedEmail`` operation.
- **MessageId** *(string) --*
The unique message identifier returned from the ``SendBulkTemplatedEmail`` operation.
:type Source: string
:param Source: **[REQUIRED]**
The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ .
If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the ``SourceArn`` parameter. For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
.. note::
Amazon SES does not support the SMTPUTF8 extension, as described in `RFC6531 <https://tools.ietf.org/html/rfc6531>`__ . For this reason, the *local part* of a source email address (the part of the email address that precedes the @ sign) may only contain `7-bit ASCII characters <https://en.wikipedia.org/wiki/Email_address#Local-part>`__ . If the *domain part* of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in `RFC3492 <https://tools.ietf.org/html/rfc3492.html>`__ . The sender name (also known as the *friendly name* ) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in `RFC 2047 <https://tools.ietf.org/html/rfc2047>`__ . MIME encoded-word syntax uses the following form: ``=?charset?encoding?encoded-text?=`` .
:type SourceArn: string
:param SourceArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the ``Source`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to send from ``user@example.com`` , then you would specify the ``SourceArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``Source`` to be ``user@example.com`` .
For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:type ReplyToAddresses: list
:param ReplyToAddresses:
The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
- *(string) --*
:type ReturnPath: string
:param ReturnPath:
The email address that bounces and complaints will be forwarded to when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient\'s ISP; this message will then be forwarded to the email address specified by the ``ReturnPath`` parameter. The ``ReturnPath`` parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
:type ReturnPathArn: string
:param ReturnPathArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ``ReturnPath`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to use ``feedback@example.com`` , then you would specify the ``ReturnPathArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``ReturnPath`` to be ``feedback@example.com`` .
For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:type ConfigurationSetName: string
:param ConfigurationSetName:
The name of the configuration set to use when you send an email using ``SendBulkTemplatedEmail`` .
:type DefaultTags: list
:param DefaultTags:
A list of tags, in the form of name/value pairs, to apply to an email that you send to a destination using ``SendBulkTemplatedEmail`` .
- *(dict) --*
Contains the name and value of a tag that you can provide to ``SendEmail`` or ``SendRawEmail`` to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the tag. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **Value** *(string) --* **[REQUIRED]**
The value of the tag. The value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
:type Template: string
:param Template: **[REQUIRED]**
The template to use when sending this email.
:type TemplateArn: string
:param TemplateArn:
The ARN of the template to use when sending this email.
:type DefaultTemplateData: string
:param DefaultTemplateData:
A list of replacement values to apply to the template when replacement data is not specified in a Destination object. These values act as a default or fallback option when no other data is available.
The template data is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
:type Destinations: list
:param Destinations: **[REQUIRED]**
One or more ``Destination`` objects. All of the recipients in a ``Destination`` will receive the same version of the email. You can specify up to 50 ``Destination`` objects within a ``Destinations`` array.
- *(dict) --*
An array that contains one or more Destinations, as well as the tags and replacement data associated with each of those Destinations.
- **Destination** *(dict) --* **[REQUIRED]**
Represents the destination of the message, consisting of To:, CC:, and BCC: fields.
.. note::
Amazon SES does not support the SMTPUTF8 extension, as described in `RFC6531 <https://tools.ietf.org/html/rfc6531>`__ . For this reason, the *local part* of a destination email address (the part of the email address that precedes the @ sign) may only contain `7-bit ASCII characters <https://en.wikipedia.org/wiki/Email_address#Local-part>`__ . If the *domain part* of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in `RFC3492 <https://tools.ietf.org/html/rfc3492.html>`__ .
- **ToAddresses** *(list) --*
The To: field(s) of the message.
- *(string) --*
- **CcAddresses** *(list) --*
The CC: field(s) of the message.
- *(string) --*
- **BccAddresses** *(list) --*
The BCC: field(s) of the message.
- *(string) --*
- **ReplacementTags** *(list) --*
A list of tags, in the form of name/value pairs, to apply to an email that you send using ``SendBulkTemplatedEmail`` . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
- *(dict) --*
Contains the name and value of a tag that you can provide to ``SendEmail`` or ``SendRawEmail`` to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the tag. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **Value** *(string) --* **[REQUIRED]**
The value of the tag. The value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **ReplacementTemplateData** *(string) --*
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
:rtype: dict
:returns:
"""
pass
def send_custom_verification_email(self, EmailAddress: str, TemplateName: str, ConfigurationSetName: str = None) -> Dict:
"""
Adds an email address to the list of identities for your Amazon SES account in the current AWS Region and attempts to verify it. As a result of executing this operation, a customized verification email is sent to the specified address.
To use this operation, you must first create a custom verification email template. For more information about creating and using custom verification email templates, see `Using Custom Verification Email Templates <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html>`__ in the *Amazon SES Developer Guide* .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmail>`_
**Request Syntax**
::
response = client.send_custom_verification_email(
EmailAddress='string',
TemplateName='string',
ConfigurationSetName='string'
)
**Response Syntax**
::
{
'MessageId': 'string'
}
**Response Structure**
- *(dict) --*
The response received when attempting to send the custom verification email.
- **MessageId** *(string) --*
The unique message identifier returned from the ``SendCustomVerificationEmail`` operation.
:type EmailAddress: string
:param EmailAddress: **[REQUIRED]**
The email address to verify.
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the custom verification email template to use when sending the verification email.
:type ConfigurationSetName: string
:param ConfigurationSetName:
Name of a configuration set to use when sending the verification email.
:rtype: dict
:returns:
"""
pass
def send_email(self, Source: str, Destination: Dict, Message: Dict, ReplyToAddresses: List = None, ReturnPath: str = None, SourceArn: str = None, ReturnPathArn: str = None, Tags: List = None, ConfigurationSetName: str = None) -> Dict:
"""
Composes an email message and immediately queues it for sending. In order to send email using the ``SendEmail`` operation, your message must meet the following requirements:
* The message must be sent from a verified email address or domain. If you attempt to send email using a non-verified address or domain, the operation will result in an "Email address not verified" error.
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see `Verifying Email Addresses and Domains <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ in the *Amazon SES Developer Guide.*
* The maximum message size is 10 MB.
* The message must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format *UserName@[SubDomain.]Domain.TopLevelDomain* ), the entire message will be rejected, even if the message contains other recipients that are valid.
* The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the ``SendEmail`` operation several times to send the message to each group.
.. warning::
For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your *sending quota* ). For more information about sending quotas in Amazon SES, see `Managing Your Amazon SES Sending Limits <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html>`__ in the *Amazon SES Developer Guide.*
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail>`_
**Request Syntax**
::
response = client.send_email(
Source='string',
Destination={
'ToAddresses': [
'string',
],
'CcAddresses': [
'string',
],
'BccAddresses': [
'string',
]
},
Message={
'Subject': {
'Data': 'string',
'Charset': 'string'
},
'Body': {
'Text': {
'Data': 'string',
'Charset': 'string'
},
'Html': {
'Data': 'string',
'Charset': 'string'
}
}
},
ReplyToAddresses=[
'string',
],
ReturnPath='string',
SourceArn='string',
ReturnPathArn='string',
Tags=[
{
'Name': 'string',
'Value': 'string'
},
],
ConfigurationSetName='string'
)
**Response Syntax**
::
{
'MessageId': 'string'
}
**Response Structure**
- *(dict) --*
Represents a unique message ID.
- **MessageId** *(string) --*
The unique message identifier returned from the ``SendEmail`` action.
:type Source: string
:param Source: **[REQUIRED]**
The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ .
If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the ``SourceArn`` parameter. For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
.. note::
Amazon SES does not support the SMTPUTF8 extension, as described in `RFC6531 <https://tools.ietf.org/html/rfc6531>`__ . For this reason, the *local part* of a source email address (the part of the email address that precedes the @ sign) may only contain `7-bit ASCII characters <https://en.wikipedia.org/wiki/Email_address#Local-part>`__ . If the *domain part* of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in `RFC3492 <https://tools.ietf.org/html/rfc3492.html>`__ . The sender name (also known as the *friendly name* ) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in `RFC 2047 <https://tools.ietf.org/html/rfc2047>`__ . MIME encoded-word syntax uses the following form: ``=?charset?encoding?encoded-text?=`` .
:type Destination: dict
:param Destination: **[REQUIRED]**
The destination for this email, composed of To:, CC:, and BCC: fields.
- **ToAddresses** *(list) --*
The To: field(s) of the message.
- *(string) --*
- **CcAddresses** *(list) --*
The CC: field(s) of the message.
- *(string) --*
- **BccAddresses** *(list) --*
The BCC: field(s) of the message.
- *(string) --*
:type Message: dict
:param Message: **[REQUIRED]**
The message to be sent.
- **Subject** *(dict) --* **[REQUIRED]**
The subject of the message: A short summary of the content, which will appear in the recipient\'s inbox.
- **Data** *(string) --* **[REQUIRED]**
The textual data of the content.
- **Charset** *(string) --*
The character set of the content.
- **Body** *(dict) --* **[REQUIRED]**
The message body.
- **Text** *(dict) --*
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).
- **Data** *(string) --* **[REQUIRED]**
The textual data of the content.
- **Charset** *(string) --*
The character set of the content.
- **Html** *(dict) --*
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
- **Data** *(string) --* **[REQUIRED]**
The textual data of the content.
- **Charset** *(string) --*
The character set of the content.
:type ReplyToAddresses: list
:param ReplyToAddresses:
The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
- *(string) --*
:type ReturnPath: string
:param ReturnPath:
The email address that bounces and complaints will be forwarded to when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient\'s ISP; this message will then be forwarded to the email address specified by the ``ReturnPath`` parameter. The ``ReturnPath`` parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
:type SourceArn: string
:param SourceArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the ``Source`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to send from ``user@example.com`` , then you would specify the ``SourceArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``Source`` to be ``user@example.com`` .
For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:type ReturnPathArn: string
:param ReturnPathArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ``ReturnPath`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to use ``feedback@example.com`` , then you would specify the ``ReturnPathArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``ReturnPath`` to be ``feedback@example.com`` .
For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:type Tags: list
:param Tags:
A list of tags, in the form of name/value pairs, to apply to an email that you send using ``SendEmail`` . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
- *(dict) --*
Contains the name and value of a tag that you can provide to ``SendEmail`` or ``SendRawEmail`` to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the tag. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **Value** *(string) --* **[REQUIRED]**
The value of the tag. The value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
:type ConfigurationSetName: string
:param ConfigurationSetName:
The name of the configuration set to use when you send an email using ``SendEmail`` .
:rtype: dict
:returns:
"""
pass
def send_raw_email(self, RawMessage: Dict, Source: str = None, Destinations: List = None, FromArn: str = None, SourceArn: str = None, ReturnPathArn: str = None, Tags: List = None, ConfigurationSetName: str = None) -> Dict:
"""
Composes an email message and immediately queues it for sending.
This operation is more flexible than the ``SendEmail`` API operation. When you use the ``SendRawEmail`` operation, you can specify the headers of the message as well as its content. This flexibility is useful, for example, when you want to send a multipart MIME email (such a message that contains both a text and an HTML version). You can also use this operation to send messages that include attachments.
The ``SendRawEmail`` operation has the following requirements:
* You can only send email from `verified email addresses or domains <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ . If you try to send email from an address that isn't verified, the operation results in an "Email address not verified" error.
* If your account is still in the `Amazon SES sandbox <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html>`__ , you can only send email to other verified addresses in your account, or to addresses that are associated with the `Amazon SES mailbox simulator <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mailbox-simulator.html>`__ .
* The maximum message size, including attachments, is 10 MB.
* Each message has to include at least one recipient address. A recipient address includes any address on the To:, CC:, or BCC: lines.
* If you send a single message to more than one recipient address, and one of the recipient addresses isn't in a valid format (that is, it's not in the format *UserName@[SubDomain.]Domain.TopLevelDomain* ), Amazon SES rejects the entire message, even if the other addresses are valid.
* Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: lines. If you need to send a single message to more than 50 recipients, you have to split the list of recipient addresses into groups of less than 50 recipients, and send separate messages to each group.
* Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message parts. However, if Amazon SES has to modify the contents of your message (for example, if you use open and click tracking), 8-bit content isn't preserved. For this reason, we highly recommend that you encode all content that isn't 7-bit ASCII. For more information, see `MIME Encoding <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding>`__ in the *Amazon SES Developer Guide* .
Additionally, keep the following considerations in mind when using the ``SendRawEmail`` operation:
* Although you can customize the message headers when using the ``SendRawEmail`` operation, Amazon SES will automatically apply its own ``Message-ID`` and ``Date`` headers; if you passed these headers when creating the message, they will be overwritten by the values that Amazon SES provides.
* If you are using sending authorization to send on behalf of another user, ``SendRawEmail`` enables you to specify the cross-account identity for the email's Source, From, and Return-Path parameters in one of two ways: you can pass optional parameters ``SourceArn`` , ``FromArn`` , and/or ``ReturnPathArn`` to the API, or you can include the following X-headers in the header of your raw email:
* ``X-SES-SOURCE-ARN``
* ``X-SES-FROM-ARN``
* ``X-SES-RETURN-PATH-ARN``
.. warning::
Do not include these X-headers in the DKIM signature; Amazon SES will remove them before sending the email.
For most common sending authorization scenarios, we recommend that you specify the ``SourceIdentityArn`` parameter and not the ``FromIdentityArn`` or ``ReturnPathIdentityArn`` parameters. If you only specify the ``SourceIdentityArn`` parameter, Amazon SES will set the From and Return Path addresses to the identity specified in ``SourceIdentityArn`` . For more information about sending authorization, see the `Using Sending Authorization with Amazon SES <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ in the *Amazon SES Developer Guide.*
* For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your *sending quota* ). For more information about sending quotas in Amazon SES, see `Managing Your Amazon SES Sending Limits <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html>`__ in the *Amazon SES Developer Guide.*
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail>`_
**Request Syntax**
::
response = client.send_raw_email(
Source='string',
Destinations=[
'string',
],
RawMessage={
'Data': b'bytes'
},
FromArn='string',
SourceArn='string',
ReturnPathArn='string',
Tags=[
{
'Name': 'string',
'Value': 'string'
},
],
ConfigurationSetName='string'
)
**Response Syntax**
::
{
'MessageId': 'string'
}
**Response Structure**
- *(dict) --*
Represents a unique message ID.
- **MessageId** *(string) --*
The unique message identifier returned from the ``SendRawEmail`` action.
:type Source: string
:param Source:
The identity\'s email address. If you do not provide a value for this parameter, you must specify a \"From\" address in the raw text of the message. (You can also specify both.)
.. note::
Amazon SES does not support the SMTPUTF8 extension, as described in`RFC6531 <https://tools.ietf.org/html/rfc6531>`__ . For this reason, the *local part* of a source email address (the part of the email address that precedes the @ sign) may only contain `7-bit ASCII characters <https://en.wikipedia.org/wiki/Email_address#Local-part>`__ . If the *domain part* of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in `RFC3492 <https://tools.ietf.org/html/rfc3492.html>`__ . The sender name (also known as the *friendly name* ) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in `RFC 2047 <https://tools.ietf.org/html/rfc2047>`__ . MIME encoded-word syntax uses the following form: ``=?charset?encoding?encoded-text?=`` .
If you specify the ``Source`` parameter and have feedback forwarding enabled, then bounces and complaints will be sent to this email address. This takes precedence over any Return-Path header that you might include in the raw text of the message.
:type Destinations: list
:param Destinations:
A list of destinations for the message, consisting of To:, CC:, and BCC: addresses.
- *(string) --*
:type RawMessage: dict
:param RawMessage: **[REQUIRED]**
The raw email message itself. The message has to meet the following criteria:
* The message has to contain a header and a body, separated by a blank line.
* All of the required header fields must be present in the message.
* Each part of a multipart MIME message must be formatted properly.
* Attachments must be of a content type that Amazon SES supports. For a list on unsupported content types, see `Unsupported Attachment Types <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types.html>`__ in the *Amazon SES Developer Guide* .
* The entire message must be base64-encoded.
* If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, we highly recommend that you encode that content. For more information, see `Sending Raw Email <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html>`__ in the *Amazon SES Developer Guide* .
* Per `RFC 5321 <https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6>`__ , the maximum length of each line of text, including the <CRLF>, must not exceed 1,000 characters.
- **Data** *(bytes) --* **[REQUIRED]**
The raw data of the message. This data needs to base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an AWS SDK, the SDK takes care of the base 64-encoding for you. In all cases, the client must ensure that the message format complies with Internet email standards regarding email header fields, MIME types, and MIME encoding.
The To:, CC:, and BCC: headers in the raw message can contain a group list.
If you are using ``SendRawEmail`` with sending authorization, you can include X-headers in the raw message to specify the \"Source,\" \"From,\" and \"Return-Path\" addresses. For more information, see the documentation for ``SendRawEmail`` .
.. warning::
Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email.
For more information, go to the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html>`__ .
:type FromArn: string
:param FromArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to specify a particular \"From\" address in the header of the raw email.
Instead of using this parameter, you can use the X-header ``X-SES-FROM-ARN`` in the raw message of the email. If you use both the ``FromArn`` parameter and the corresponding X-header, Amazon SES uses the value of the ``FromArn`` parameter.
.. note::
For information about when to use this parameter, see the description of ``SendRawEmail`` in this guide, or see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-delegate-sender-tasks-email.html>`__ .
:type SourceArn: string
:param SourceArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the ``Source`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to send from ``user@example.com`` , then you would specify the ``SourceArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``Source`` to be ``user@example.com`` .
Instead of using this parameter, you can use the X-header ``X-SES-SOURCE-ARN`` in the raw message of the email. If you use both the ``SourceArn`` parameter and the corresponding X-header, Amazon SES uses the value of the ``SourceArn`` parameter.
.. note::
For information about when to use this parameter, see the description of ``SendRawEmail`` in this guide, or see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-delegate-sender-tasks-email.html>`__ .
:type ReturnPathArn: string
:param ReturnPathArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ``ReturnPath`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to use ``feedback@example.com`` , then you would specify the ``ReturnPathArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``ReturnPath`` to be ``feedback@example.com`` .
Instead of using this parameter, you can use the X-header ``X-SES-RETURN-PATH-ARN`` in the raw message of the email. If you use both the ``ReturnPathArn`` parameter and the corresponding X-header, Amazon SES uses the value of the ``ReturnPathArn`` parameter.
.. note::
For information about when to use this parameter, see the description of ``SendRawEmail`` in this guide, or see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization-delegate-sender-tasks-email.html>`__ .
:type Tags: list
:param Tags:
A list of tags, in the form of name/value pairs, to apply to an email that you send using ``SendRawEmail`` . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
- *(dict) --*
Contains the name and value of a tag that you can provide to ``SendEmail`` or ``SendRawEmail`` to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the tag. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **Value** *(string) --* **[REQUIRED]**
The value of the tag. The value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
:type ConfigurationSetName: string
:param ConfigurationSetName:
The name of the configuration set to use when you send an email using ``SendRawEmail`` .
:rtype: dict
:returns:
"""
pass
def send_templated_email(self, Source: str, Destination: Dict, Template: str, TemplateData: str, ReplyToAddresses: List = None, ReturnPath: str = None, SourceArn: str = None, ReturnPathArn: str = None, Tags: List = None, ConfigurationSetName: str = None, TemplateArn: str = None) -> Dict:
"""
Composes an email message using an email template and immediately queues it for sending.
In order to send email using the ``SendTemplatedEmail`` operation, your call to the API must meet the following requirements:
* The call must refer to an existing email template. You can create email templates using the CreateTemplate operation.
* The message must be sent from a verified email address or domain.
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see `Verifying Email Addresses and Domains <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ in the *Amazon SES Developer Guide.*
* The maximum message size is 10 MB.
* Calls to the ``SendTemplatedEmail`` operation may only include one ``Destination`` parameter. A destination is a set of recipients who will receive the same version of the email. The ``Destination`` parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.
* The ``Destination`` parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format *UserName@[SubDomain.]Domain.TopLevelDomain* ), the entire message will be rejected, even if the message contains other recipients that are valid.
.. warning::
If your call to the ``SendTemplatedEmail`` operation includes all of the required parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon SES can't render the email because the template contains errors, it doesn't send the email. Additionally, because it already accepted the message, Amazon SES doesn't return a message stating that it was unable to send the email.
For these reasons, we highly recommend that you set up Amazon SES to send you notifications when Rendering Failure events occur. For more information, see `Sending Personalized Email Using the Amazon SES API <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html>`__ in the *Amazon Simple Email Service Developer Guide* .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail>`_
**Request Syntax**
::
response = client.send_templated_email(
Source='string',
Destination={
'ToAddresses': [
'string',
],
'CcAddresses': [
'string',
],
'BccAddresses': [
'string',
]
},
ReplyToAddresses=[
'string',
],
ReturnPath='string',
SourceArn='string',
ReturnPathArn='string',
Tags=[
{
'Name': 'string',
'Value': 'string'
},
],
ConfigurationSetName='string',
Template='string',
TemplateArn='string',
TemplateData='string'
)
**Response Syntax**
::
{
'MessageId': 'string'
}
**Response Structure**
- *(dict) --*
- **MessageId** *(string) --*
The unique message identifier returned from the ``SendTemplatedEmail`` action.
:type Source: string
:param Source: **[REQUIRED]**
The email address that is sending the email. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES. For information about verifying identities, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ .
If you are sending on behalf of another user and have been permitted to do so by a sending authorization policy, then you must also specify the ``SourceArn`` parameter. For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
.. note::
Amazon SES does not support the SMTPUTF8 extension, as described in `RFC6531 <https://tools.ietf.org/html/rfc6531>`__ . For this reason, the *local part* of a source email address (the part of the email address that precedes the @ sign) may only contain `7-bit ASCII characters <https://en.wikipedia.org/wiki/Email_address#Local-part>`__ . If the *domain part* of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in `RFC3492 <https://tools.ietf.org/html/rfc3492.html>`__ . The sender name (also known as the *friendly name* ) may contain non-ASCII characters. These characters must be encoded using MIME encoded-word syntax, as described in`RFC 2047 <https://tools.ietf.org/html/rfc2047>`__ . MIME encoded-word syntax uses the following form: ``=?charset?encoding?encoded-text?=`` .
:type Destination: dict
:param Destination: **[REQUIRED]**
The destination for this email, composed of To:, CC:, and BCC: fields. A Destination can include up to 50 recipients across these three fields.
- **ToAddresses** *(list) --*
The To: field(s) of the message.
- *(string) --*
- **CcAddresses** *(list) --*
The CC: field(s) of the message.
- *(string) --*
- **BccAddresses** *(list) --*
The BCC: field(s) of the message.
- *(string) --*
:type ReplyToAddresses: list
:param ReplyToAddresses:
The reply-to email address(es) for the message. If the recipient replies to the message, each reply-to address will receive the reply.
- *(string) --*
:type ReturnPath: string
:param ReturnPath:
The email address that bounces and complaints will be forwarded to when feedback forwarding is enabled. If the message cannot be delivered to the recipient, then an error message will be returned from the recipient\'s ISP; this message will then be forwarded to the email address specified by the ``ReturnPath`` parameter. The ``ReturnPath`` parameter is never overwritten. This email address must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
:type SourceArn: string
:param SourceArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to send for the email address specified in the ``Source`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to send from ``user@example.com`` , then you would specify the ``SourceArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``Source`` to be ``user@example.com`` .
For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:type ReturnPathArn: string
:param ReturnPathArn:
This parameter is used only for sending authorization. It is the ARN of the identity that is associated with the sending authorization policy that permits you to use the email address specified in the ``ReturnPath`` parameter.
For example, if the owner of ``example.com`` (which has ARN ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` ) attaches a policy to it that authorizes you to use ``feedback@example.com`` , then you would specify the ``ReturnPathArn`` to be ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` , and the ``ReturnPath`` to be ``feedback@example.com`` .
For more information about sending authorization, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html>`__ .
:type Tags: list
:param Tags:
A list of tags, in the form of name/value pairs, to apply to an email that you send using ``SendTemplatedEmail`` . Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
- *(dict) --*
Contains the name and value of a tag that you can provide to ``SendEmail`` or ``SendRawEmail`` to apply to an email.
Message tags, which you use with configuration sets, enable you to publish email sending events. For information about using configuration sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **Name** *(string) --* **[REQUIRED]**
The name of the tag. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **Value** *(string) --* **[REQUIRED]**
The value of the tag. The value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
:type ConfigurationSetName: string
:param ConfigurationSetName:
The name of the configuration set to use when you send an email using ``SendTemplatedEmail`` .
:type Template: string
:param Template: **[REQUIRED]**
The template to use when sending this email.
:type TemplateArn: string
:param TemplateArn:
The ARN of the template to use when sending this email.
:type TemplateData: string
:param TemplateData: **[REQUIRED]**
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
:rtype: dict
:returns:
"""
pass
def set_active_receipt_rule_set(self, RuleSetName: str = None) -> Dict:
"""
Sets the specified receipt rule set as the active receipt rule set.
.. note::
To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null.
For information about managing receipt rule sets, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rule-sets.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet>`_
**Request Syntax**
::
response = client.set_active_receipt_rule_set(
RuleSetName='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName:
The name of the receipt rule set to make active. Setting this value to null disables all email receiving.
:rtype: dict
:returns:
"""
pass
def set_identity_dkim_enabled(self, Identity: str, DkimEnabled: bool) -> Dict:
"""
Enables or disables Easy DKIM signing of email sent from an identity:
* If Easy DKIM signing is enabled for a domain name identity (such as ``example.com`` ), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (for example, ``user@example.com`` ).
* If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.
For email addresses (for example, ``user@example.com`` ), you can only enable Easy DKIM signing if the corresponding domain (in this case, ``example.com`` ) has been set up for Easy DKIM using the AWS Console or the ``VerifyDomainDkim`` operation.
You can execute this operation no more than once per second.
For more information about Easy DKIM signing, go to the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabled>`_
**Request Syntax**
::
response = client.set_identity_dkim_enabled(
Identity='string',
DkimEnabled=True|False
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity for which DKIM signing should be enabled or disabled.
:type DkimEnabled: boolean
:param DkimEnabled: **[REQUIRED]**
Sets whether DKIM signing is enabled for an identity. Set to ``true`` to enable DKIM signing for this identity; ``false`` to disable it.
:rtype: dict
:returns:
"""
pass
def set_identity_feedback_forwarding_enabled(self, Identity: str, ForwardingEnabled: bool) -> Dict:
"""
Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
.. note::
Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.
You can execute this operation no more than once per second.
For more information about using notifications with Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabled>`_
**Request Syntax**
::
response = client.set_identity_feedback_forwarding_enabled(
Identity='string',
ForwardingEnabled=True|False
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity for which to set bounce and complaint notification forwarding. Examples: ``user@example.com`` , ``example.com`` .
:type ForwardingEnabled: boolean
:param ForwardingEnabled: **[REQUIRED]**
Sets whether Amazon SES will forward bounce and complaint notifications as email. ``true`` specifies that Amazon SES will forward bounce and complaint notifications as email, in addition to any Amazon SNS topic publishing otherwise specified. ``false`` specifies that Amazon SES will publish bounce and complaint notifications only through Amazon SNS. This value can only be set to ``false`` when Amazon SNS topics are set for both ``Bounce`` and ``Complaint`` notification types.
:rtype: dict
:returns:
"""
pass
def set_identity_headers_in_notifications_enabled(self, Identity: str, NotificationType: str, Enabled: bool) -> Dict:
"""
Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.
You can execute this operation no more than once per second.
For more information about using notifications with Amazon SES, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabled>`_
**Request Syntax**
::
response = client.set_identity_headers_in_notifications_enabled(
Identity='string',
NotificationType='Bounce'|'Complaint'|'Delivery',
Enabled=True|False
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity for which to enable or disable headers in notifications. Examples: ``user@example.com`` , ``example.com`` .
:type NotificationType: string
:param NotificationType: **[REQUIRED]**
The notification type for which to enable or disable headers in notifications.
:type Enabled: boolean
:param Enabled: **[REQUIRED]**
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of ``true`` specifies that Amazon SES will include headers in notifications, and a value of ``false`` specifies that Amazon SES will not include headers in notifications.
This value can only be set when ``NotificationType`` is already set to use a particular Amazon SNS topic.
:rtype: dict
:returns:
"""
pass
def set_identity_mail_from_domain(self, Identity: str, MailFromDomain: str = None, BehaviorOnMXFailure: str = None) -> Dict:
"""
Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).
.. warning::
To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomain>`_
**Request Syntax**
::
response = client.set_identity_mail_from_domain(
Identity='string',
MailFromDomain='string',
BehaviorOnMXFailure='UseDefaultValue'|'RejectMessage'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The verified identity for which you want to enable or disable the specified custom MAIL FROM domain.
:type MailFromDomain: string
:param MailFromDomain:
The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must 1) be a subdomain of the verified identity, 2) not be used in a \"From\" address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html>`__ ), and 3) not be used to receive emails. A value of ``null`` disables the custom MAIL FROM setting for the identity.
:type BehaviorOnMXFailure: string
:param BehaviorOnMXFailure:
The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose ``UseDefaultValue`` , Amazon SES will use amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you choose ``RejectMessage`` , Amazon SES will return a ``MailFromDomainNotVerified`` error and not send the email.
The action specified in ``BehaviorOnMXFailure`` is taken when the custom MAIL FROM domain setup is in the ``Pending`` , ``Failed`` , and ``TemporaryFailure`` states.
:rtype: dict
:returns:
"""
pass
def set_identity_notification_topic(self, Identity: str, NotificationType: str, SnsTopic: str = None) -> Dict:
"""
Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use this operation, you specify a verified identity, such as an email address or domain. When you send an email that uses the chosen identity in the Source field, Amazon SES sends notifications to the topic you specified. You can send bounce, complaint, or delivery notifications (or any combination of the three) to the Amazon SNS topic that you specify.
You can execute this operation no more than once per second.
For more information about feedback notification, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notifications.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopic>`_
**Request Syntax**
::
response = client.set_identity_notification_topic(
Identity='string',
NotificationType='Bounce'|'Complaint'|'Delivery',
SnsTopic='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type Identity: string
:param Identity: **[REQUIRED]**
The identity (email address or domain) that you want to set the Amazon SNS topic for.
.. warning::
You can only specify a verified identity for this parameter.
You can specify an identity by using its name or by using its Amazon Resource Name (ARN). The following examples are all valid identities: ``sender@example.com`` , ``example.com`` , ``arn:aws:ses:us-east-1:123456789012:identity/example.com`` .
:type NotificationType: string
:param NotificationType: **[REQUIRED]**
The type of notifications that will be published to the specified Amazon SNS topic.
:type SnsTopic: string
:param SnsTopic:
The Amazon Resource Name (ARN) of the Amazon SNS topic. If the parameter is omitted from the request or a null value is passed, ``SnsTopic`` is cleared and publishing is disabled.
:rtype: dict
:returns:
"""
pass
def set_receipt_rule_position(self, RuleSetName: str, RuleName: str, After: str = None) -> Dict:
"""
Sets the position of the specified receipt rule in the receipt rule set.
For information about managing receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition>`_
**Request Syntax**
::
response = client.set_receipt_rule_position(
RuleSetName='string',
RuleName='string',
After='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set that contains the receipt rule to reposition.
:type RuleName: string
:param RuleName: **[REQUIRED]**
The name of the receipt rule to reposition.
:type After: string
:param After:
The name of the receipt rule after which to place the specified receipt rule.
:rtype: dict
:returns:
"""
pass
def test_render_template(self, TemplateName: str, TemplateData: str) -> Dict:
"""
Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate>`_
**Request Syntax**
::
response = client.test_render_template(
TemplateName='string',
TemplateData='string'
)
**Response Syntax**
::
{
'RenderedTemplate': 'string'
}
**Response Structure**
- *(dict) --*
- **RenderedTemplate** *(string) --*
The complete MIME message rendered by applying the data in the TemplateData parameter to the template specified in the TemplateName parameter.
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the template that you want to render.
:type TemplateData: string
:param TemplateData: **[REQUIRED]**
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
:rtype: dict
:returns:
"""
pass
def update_account_sending_enabled(self, Enabled: bool = None):
"""
Enables or disables email sending across your entire Amazon SES account in the current AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given AWS Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabled>`_
**Request Syntax**
::
response = client.update_account_sending_enabled(
Enabled=True|False
)
:type Enabled: boolean
:param Enabled:
Describes whether email sending is enabled or disabled for your Amazon SES account in the current AWS Region.
:returns: None
"""
pass
def update_configuration_set_event_destination(self, ConfigurationSetName: str, EventDestination: Dict) -> Dict:
"""
Updates the event destination of a configuration set. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see `Monitoring Your Amazon SES Sending Activity <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ in the *Amazon SES Developer Guide.*
.. note::
When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination>`_
**Request Syntax**
::
response = client.update_configuration_set_event_destination(
ConfigurationSetName='string',
EventDestination={
'Name': 'string',
'Enabled': True|False,
'MatchingEventTypes': [
'send'|'reject'|'bounce'|'complaint'|'delivery'|'open'|'click'|'renderingFailure',
],
'KinesisFirehoseDestination': {
'IAMRoleARN': 'string',
'DeliveryStreamARN': 'string'
},
'CloudWatchDestination': {
'DimensionConfigurations': [
{
'DimensionName': 'string',
'DimensionValueSource': 'messageTag'|'emailHeader'|'linkTag',
'DefaultDimensionValue': 'string'
},
]
},
'SNSDestination': {
'TopicARN': 'string'
}
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set that contains the event destination that you want to update.
:type EventDestination: dict
:param EventDestination: **[REQUIRED]**
The event destination object that you want to apply to the specified configuration set.
- **Name** *(string) --* **[REQUIRED]**
The name of the event destination. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to ``true`` to enable publishing to this destination; set to ``false`` to prevent publishing to this destination. The default value is ``false`` .
- **MatchingEventTypes** *(list) --* **[REQUIRED]**
The type of email sending events to publish to the event destination.
- *(string) --*
- **KinesisFirehoseDestination** *(dict) --*
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
- **IAMRoleARN** *(string) --* **[REQUIRED]**
The ARN of the IAM role under which Amazon SES publishes email sending events to the Amazon Kinesis Firehose stream.
- **DeliveryStreamARN** *(string) --* **[REQUIRED]**
The ARN of the Amazon Kinesis Firehose stream that email sending events should be published to.
- **CloudWatchDestination** *(dict) --*
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
- **DimensionConfigurations** *(list) --* **[REQUIRED]**
A list of dimensions upon which to categorize your emails when you publish email sending events to Amazon CloudWatch.
- *(dict) --*
Contains the dimension configuration to use when you publish email sending events to Amazon CloudWatch.
For information about publishing email sending events to Amazon CloudWatch, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>`__ .
- **DimensionName** *(string) --* **[REQUIRED]**
The name of an Amazon CloudWatch dimension associated with an email sending metric. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **DimensionValueSource** *(string) --* **[REQUIRED]**
The place where Amazon SES finds the value of a dimension to publish to Amazon CloudWatch. If you want Amazon SES to use the message tags that you specify using an ``X-SES-MESSAGE-TAGS`` header or a parameter to the ``SendEmail`` /``SendRawEmail`` API, choose ``messageTag`` . If you want Amazon SES to use your own email headers, choose ``emailHeader`` .
- **DefaultDimensionValue** *(string) --* **[REQUIRED]**
The default value of the dimension that is published to Amazon CloudWatch if you do not provide the value of the dimension when you send an email. The default value must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Contain less than 256 characters.
- **SNSDestination** *(dict) --*
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
- **TopicARN** *(string) --* **[REQUIRED]**
The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
:rtype: dict
:returns:
"""
pass
def update_configuration_set_reputation_metrics_enabled(self, ConfigurationSetName: str, Enabled: bool):
"""
Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a given AWS Region. Reputation metrics include bounce and complaint rates. These metrics are published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed certain thresholds.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabled>`_
**Request Syntax**
::
response = client.update_configuration_set_reputation_metrics_enabled(
ConfigurationSetName='string',
Enabled=True|False
)
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set that you want to update.
:type Enabled: boolean
:param Enabled: **[REQUIRED]**
Describes whether or not Amazon SES will publish reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch.
:returns: None
"""
pass
def update_configuration_set_sending_enabled(self, ConfigurationSetName: str, Enabled: bool):
"""
Enables or disables email sending for messages sent using a specific configuration set in a given AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabled>`_
**Request Syntax**
::
response = client.update_configuration_set_sending_enabled(
ConfigurationSetName='string',
Enabled=True|False
)
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set that you want to update.
:type Enabled: boolean
:param Enabled: **[REQUIRED]**
Describes whether email sending is enabled or disabled for the configuration set.
:returns: None
"""
pass
def update_configuration_set_tracking_options(self, ConfigurationSetName: str, TrackingOptions: Dict) -> Dict:
"""
Modifies an association between a configuration set and a custom domain for open and click event tracking.
By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-custom-open-click-domains.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions>`_
**Request Syntax**
::
response = client.update_configuration_set_tracking_options(
ConfigurationSetName='string',
TrackingOptions={
'CustomRedirectDomain': 'string'
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type ConfigurationSetName: string
:param ConfigurationSetName: **[REQUIRED]**
The name of the configuration set for which you want to update the custom tracking domain.
:type TrackingOptions: dict
:param TrackingOptions: **[REQUIRED]**
A domain that is used to redirect email recipients to an Amazon SES-operated domain. This domain captures open and click events generated by Amazon SES emails.
For more information, see `Configuring Custom Domains to Handle Open and Click Tracking <ses/latest/DeveloperGuide/configure-custom-open-click-domains.html>`__ in the *Amazon SES Developer Guide* .
- **CustomRedirectDomain** *(string) --*
The custom subdomain that will be used to redirect email recipients to the Amazon SES event tracking domain.
:rtype: dict
:returns:
"""
pass
def update_custom_verification_email_template(self, TemplateName: str, FromEmailAddress: str = None, TemplateSubject: str = None, TemplateContent: str = None, SuccessRedirectionURL: str = None, FailureRedirectionURL: str = None):
"""
Updates an existing custom verification email template.
For more information about custom verification email templates, see `Using Custom Verification Email Templates <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html>`__ in the *Amazon SES Developer Guide* .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplate>`_
**Request Syntax**
::
response = client.update_custom_verification_email_template(
TemplateName='string',
FromEmailAddress='string',
TemplateSubject='string',
TemplateContent='string',
SuccessRedirectionURL='string',
FailureRedirectionURL='string'
)
:type TemplateName: string
:param TemplateName: **[REQUIRED]**
The name of the custom verification email template that you want to update.
:type FromEmailAddress: string
:param FromEmailAddress:
The email address that the custom verification email is sent from.
:type TemplateSubject: string
:param TemplateSubject:
The subject line of the custom verification email.
:type TemplateContent: string
:param TemplateContent:
The content of the custom verification email. The total size of the email must be less than 10 MB. The message body may contain HTML, with some limitations. For more information, see `Custom Verification Email Frequently Asked Questions <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/custom-verification-emails.html#custom-verification-emails-faq>`__ in the *Amazon SES Developer Guide* .
:type SuccessRedirectionURL: string
:param SuccessRedirectionURL:
The URL that the recipient of the verification email is sent to if his or her address is successfully verified.
:type FailureRedirectionURL: string
:param FailureRedirectionURL:
The URL that the recipient of the verification email is sent to if his or her address is not successfully verified.
:returns: None
"""
pass
def update_receipt_rule(self, RuleSetName: str, Rule: Dict) -> Dict:
"""
Updates a receipt rule.
For information about managing receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-managing-receipt-rules.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule>`_
**Request Syntax**
::
response = client.update_receipt_rule(
RuleSetName='string',
Rule={
'Name': 'string',
'Enabled': True|False,
'TlsPolicy': 'Require'|'Optional',
'Recipients': [
'string',
],
'Actions': [
{
'S3Action': {
'TopicArn': 'string',
'BucketName': 'string',
'ObjectKeyPrefix': 'string',
'KmsKeyArn': 'string'
},
'BounceAction': {
'TopicArn': 'string',
'SmtpReplyCode': 'string',
'StatusCode': 'string',
'Message': 'string',
'Sender': 'string'
},
'WorkmailAction': {
'TopicArn': 'string',
'OrganizationArn': 'string'
},
'LambdaAction': {
'TopicArn': 'string',
'FunctionArn': 'string',
'InvocationType': 'Event'|'RequestResponse'
},
'StopAction': {
'Scope': 'RuleSet',
'TopicArn': 'string'
},
'AddHeaderAction': {
'HeaderName': 'string',
'HeaderValue': 'string'
},
'SNSAction': {
'TopicArn': 'string',
'Encoding': 'UTF-8'|'Base64'
}
},
],
'ScanEnabled': True|False
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type RuleSetName: string
:param RuleSetName: **[REQUIRED]**
The name of the receipt rule set that the receipt rule belongs to.
:type Rule: dict
:param Rule: **[REQUIRED]**
A data structure that contains the updated receipt rule information.
- **Name** *(string) --* **[REQUIRED]**
The name of the receipt rule. The name must:
* This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
* Start and end with a letter or number.
* Contain less than 64 characters.
- **Enabled** *(boolean) --*
If ``true`` , the receipt rule is active. The default value is ``false`` .
- **TlsPolicy** *(string) --*
Specifies whether Amazon SES should require that incoming email is delivered over a connection encrypted with Transport Layer Security (TLS). If this parameter is set to ``Require`` , Amazon SES will bounce emails that are not received over TLS. The default is ``Optional`` .
- **Recipients** *(list) --*
The recipient domains and email addresses that the receipt rule applies to. If this field is not specified, this rule will match all recipients under all verified domains.
- *(string) --*
- **Actions** *(list) --*
An ordered list of actions to perform on messages that match at least one of the recipient email addresses or domains specified in the receipt rule.
- *(dict) --*
An action that Amazon SES can take when it receives an email on behalf of one or more email addresses or domains that you own. An instance of this data type can represent only one action.
For information about setting up receipt rules, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-receipt-rules.html>`__ .
- **S3Action** *(dict) --*
Saves the received message to an Amazon Simple Storage Service (Amazon S3) bucket and, optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **BucketName** *(string) --* **[REQUIRED]**
The name of the Amazon S3 bucket that incoming email will be saved to.
- **ObjectKeyPrefix** *(string) --*
The key prefix of the Amazon S3 bucket. The key prefix is similar to a directory name that enables you to store similar data under the same directory in a bucket.
- **KmsKeyArn** *(string) --*
The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket. You can use the default master key or a custom master key you created in AWS KMS as follows:
* To use the default master key, provide an ARN in the form of ``arn:aws:kms:REGION:ACCOUNT-ID-WITHOUT-HYPHENS:alias/aws/ses`` . For example, if your AWS account ID is 123456789012 and you want to use the default master key in the US West (Oregon) region, the ARN of the default master key would be ``arn:aws:kms:us-west-2:123456789012:alias/aws/ses`` . If you use the default master key, you don\'t need to perform any extra steps to give Amazon SES permission to use the key.
* To use a custom master key you created in AWS KMS, provide the ARN of the master key and ensure that you add a statement to your key\'s policy to give Amazon SES permission to use it. For more information about giving permissions, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html>`__ .
For more information about key policies, see the `AWS KMS Developer Guide <http://docs.aws.amazon.com/kms/latest/developerguide/concepts.html>`__ . If you do not specify a master key, Amazon SES will not encrypt your emails.
.. warning::
Your mail is encrypted by Amazon SES using the Amazon S3 encryption client before the mail is submitted to Amazon S3 for storage. It is not encrypted using Amazon S3 server-side encryption. This means that you must use the Amazon S3 encryption client to decrypt the email after retrieving it from Amazon S3, as the service has no access to use your AWS KMS keys for decryption. This encryption client is currently available with the `AWS SDK for Java <http://aws.amazon.com/sdk-for-java/>`__ and `AWS SDK for Ruby <http://aws.amazon.com/sdk-for-ruby/>`__ only. For more information about client-side encryption using AWS KMS master keys, see the `Amazon S3 Developer Guide <http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html>`__ .
- **BounceAction** *(dict) --*
Rejects the received email by returning a bounce response to the sender and, optionally, publishes a notification to Amazon Simple Notification Service (Amazon SNS).
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **SmtpReplyCode** *(string) --* **[REQUIRED]**
The SMTP reply code, as defined by `RFC 5321 <https://tools.ietf.org/html/rfc5321>`__ .
- **StatusCode** *(string) --*
The SMTP enhanced status code, as defined by `RFC 3463 <https://tools.ietf.org/html/rfc3463>`__ .
- **Message** *(string) --* **[REQUIRED]**
Human-readable text to include in the bounce message.
- **Sender** *(string) --* **[REQUIRED]**
The email address of the sender of the bounced email. This is the address from which the bounce message will be sent.
- **WorkmailAction** *(dict) --*
Calls Amazon WorkMail and, optionally, publishes a notification to Amazon Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the WorkMail action is called. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **OrganizationArn** *(string) --* **[REQUIRED]**
The ARN of the Amazon WorkMail organization. An example of an Amazon WorkMail organization ARN is ``arn:aws:workmail:us-west-2:123456789012:organization/m-68755160c4cb4e29a2b2f8fb58f359d7`` . For information about Amazon WorkMail organizations, see the `Amazon WorkMail Administrator Guide <http://docs.aws.amazon.com/workmail/latest/adminguide/organizations_overview.html>`__ .
- **LambdaAction** *(dict) --*
Calls an AWS Lambda function, and optionally, publishes a notification to Amazon SNS.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the Lambda action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **FunctionArn** *(string) --* **[REQUIRED]**
The Amazon Resource Name (ARN) of the AWS Lambda function. An example of an AWS Lambda function ARN is ``arn:aws:lambda:us-west-2:account-id:function:MyFunction`` . For more information about AWS Lambda, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/welcome.html>`__ .
- **InvocationType** *(string) --*
The invocation type of the AWS Lambda function. An invocation type of ``RequestResponse`` means that the execution of the function will immediately result in a response, and a value of ``Event`` means that the function will be invoked asynchronously. The default value is ``Event`` . For information about AWS Lambda invocation types, see the `AWS Lambda Developer Guide <http://docs.aws.amazon.com/lambda/latest/dg/API_Invoke.html>`__ .
.. warning::
There is a 30-second timeout on ``RequestResponse`` invocations. You should use ``Event`` invocation in most cases. Use ``RequestResponse`` only when you want to make a mail flow decision, such as whether to stop the receipt rule or the receipt rule set.
- **StopAction** *(dict) --*
Terminates the evaluation of the receipt rule set and optionally publishes a notification to Amazon SNS.
- **Scope** *(string) --* **[REQUIRED]**
The name of the RuleSet that is being stopped.
- **TopicArn** *(string) --*
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the stop action is taken. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **AddHeaderAction** *(dict) --*
Adds a header to the received email.
- **HeaderName** *(string) --* **[REQUIRED]**
The name of the header to add. Must be between 1 and 50 characters, inclusive, and consist of alphanumeric (a-z, A-Z, 0-9) characters and dashes only.
- **HeaderValue** *(string) --* **[REQUIRED]**
Must be less than 2048 characters, and must not contain newline characters (\"\r\" or \"\n\").
- **SNSAction** *(dict) --*
Publishes the email content within a notification to Amazon SNS.
- **TopicArn** *(string) --* **[REQUIRED]**
The Amazon Resource Name (ARN) of the Amazon SNS topic to notify. An example of an Amazon SNS topic ARN is ``arn:aws:sns:us-west-2:123456789012:MyTopic`` . For more information about Amazon SNS topics, see the `Amazon SNS Developer Guide <http://docs.aws.amazon.com/sns/latest/dg/CreateTopic.html>`__ .
- **Encoding** *(string) --*
The encoding to use for the email within the Amazon SNS notification. UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.
- **ScanEnabled** *(boolean) --*
If ``true`` , then messages that this receipt rule applies to are scanned for spam and viruses. The default value is ``false`` .
:rtype: dict
:returns:
"""
pass
def update_template(self, Template: Dict) -> Dict:
"""
Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-personalized-email-api.html>`__ .
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate>`_
**Request Syntax**
::
response = client.update_template(
Template={
'TemplateName': 'string',
'SubjectPart': 'string',
'TextPart': 'string',
'HtmlPart': 'string'
}
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
:type Template: dict
:param Template: **[REQUIRED]**
The content of the email, composed of a subject line, an HTML part, and a text-only part.
- **TemplateName** *(string) --* **[REQUIRED]**
The name of the template. You will refer to this name when you send email using the ``SendTemplatedEmail`` or ``SendBulkTemplatedEmail`` operations.
- **SubjectPart** *(string) --*
The subject line of the email.
- **TextPart** *(string) --*
The email body that will be visible to recipients whose email clients do not display HTML.
- **HtmlPart** *(string) --*
The HTML body of the email.
:rtype: dict
:returns:
"""
pass
def verify_domain_dkim(self, Domain: str) -> Dict:
"""
Returns a set of DKIM tokens for a domain. DKIM *tokens* are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.
You can execute this operation no more than once per second.
To enable or disable Easy DKIM signing for a domain, use the ``SetIdentityDkimEnabled`` operation.
For more information about creating DNS records using DKIM tokens, go to the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html>`__ .
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkim>`_
**Request Syntax**
::
response = client.verify_domain_dkim(
Domain='string'
)
**Response Syntax**
::
{
'DkimTokens': [
'string',
]
}
**Response Structure**
- *(dict) --*
Returns CNAME records that you must publish to the DNS server of your domain to set up Easy DKIM with Amazon SES.
- **DkimTokens** *(list) --*
A set of character strings that represent the domain's identity. If the identity is an email address, the tokens represent the domain of that address.
Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign emails originating from that domain.
For more information about creating DNS records using DKIM tokens, go to the `Amazon SES Developer Guide <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/easy-dkim-dns-records.html>`__ .
- *(string) --*
:type Domain: string
:param Domain: **[REQUIRED]**
The name of the domain to be verified for Easy DKIM signing.
:rtype: dict
:returns:
"""
pass
def verify_domain_identity(self, Domain: str) -> Dict:
"""
Adds a domain to the list of identities for your Amazon SES account in the current AWS Region and attempts to verify it. For more information about verifying domains, see `Verifying Email Addresses and Domains <http://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html>`__ in the *Amazon SES Developer Guide.*
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentity>`_
**Request Syntax**
::
response = client.verify_domain_identity(
Domain='string'
)
**Response Syntax**
::
{
'VerificationToken': 'string'
}
**Response Structure**
- *(dict) --*
Returns a TXT record that you must publish to the DNS server of your domain to complete domain verification with Amazon SES.
- **VerificationToken** *(string) --*
A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.
As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, if you still want to verify the domain, you must restart the verification process from the beginning.
:type Domain: string
:param Domain: **[REQUIRED]**
The domain to be verified.
:rtype: dict
:returns:
"""
pass
def verify_email_address(self, EmailAddress: str):
"""
Deprecated. Use the ``VerifyEmailIdentity`` operation to verify a new email address.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddress>`_
**Request Syntax**
::
response = client.verify_email_address(
EmailAddress='string'
)
:type EmailAddress: string
:param EmailAddress: **[REQUIRED]**
The email address to be verified.
:returns: None
"""
pass
def verify_email_identity(self, EmailAddress: str) -> Dict:
"""
Adds an email address to the list of identities for your Amazon SES account in the current AWS region and attempts to verify it. As a result of executing this operation, a verification email is sent to the specified address.
You can execute this operation no more than once per second.
See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentity>`_
**Request Syntax**
::
response = client.verify_email_identity(
EmailAddress='string'
)
**Response Syntax**
::
{}
**Response Structure**
- *(dict) --*
An empty element returned on a successful request.
:type EmailAddress: string
:param EmailAddress: **[REQUIRED]**
The email address to be verified.
:rtype: dict
:returns:
"""
pass
| 68.806082 | 866 | 0.616012 | 32,247 | 276,050 | 5.243154 | 0.038887 | 0.010143 | 0.017956 | 0.022996 | 0.822902 | 0.786723 | 0.759854 | 0.735646 | 0.72122 | 0.710686 | 0 | 0.012676 | 0.296975 | 276,050 | 4,011 | 867 | 68.823236 | 0.858536 | 0.884948 | 0 | 0.474359 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.474359 | false | 0.474359 | 0.044872 | 0 | 0.525641 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
efec8a3f5283b8e616f120c5bd6bbd0f0dec1c60 | 9,196 | py | Python | Calibration_code.py | zie225/Ab5_Consulting_Agritech | d98f52bd6b45be1f66811102e27c8e8e564d60de | [
"MIT"
] | 1 | 2021-11-14T17:49:35.000Z | 2021-11-14T17:49:35.000Z | Calibration_code.py | zie225/Ab5_Consulting_Agritech | d98f52bd6b45be1f66811102e27c8e8e564d60de | [
"MIT"
] | null | null | null | Calibration_code.py | zie225/Ab5_Consulting_Agritech | d98f52bd6b45be1f66811102e27c8e8e564d60de | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sat Oct 30 23:58:04 2021
@author: Mc Zie
"""
##############################
# Capacitive Soil Moisture
# Sensor Calibration Analysis
##############################
#
import numpy as np
import matplotlib.pyplot as plt
from scipy import stats
container_mass = 19.67 # measured mass of container [g]
soil_mass_dry = 183 # mass of dry soil [g]
soil_vol = 153 # volume of soil sample [ml]
rho_s = (soil_mass_dry/1000.0)/(soil_vol*np.power(10.0,-6.0)) # bulk density of soil [kg/m^3]
rho_w = 997.0 # density of water [kg/m^3]
###############################################
# Data inputs
#
soil_masses = np.subtract([116.45,137.68,151.69,170.22,183.56,
191.14,193.31,194.48,197.19],container_mass) # mass measurements [g]
cap_sensor_readings = np.array([1.63,1.43,1.36,1.32,1.29,1.26,1.25,1.20,1.19]) # cap sensor readings [V]
###############################################
# calculating volumetric water content [%]
#
theta_g = (soil_masses - soil_mass_dry)/soil_mass_dry # water proportion
theta_v = ((theta_g*rho_s)/rho_w) # volumetric soil content [g/ml / g/ml]
###############################################
# Fitting 1/sensor readings with measurements
#
x_for_training = 1.0/cap_sensor_readings # 1/sensor readings
slope, intercept, r_value, p_value, std_err = stats.linregress(x_for_training, theta_v) # linear fit
theta_predict = (slope*(x_for_training))+intercept # prediction of theta_v with sensor
###############################################
# Plot the results
#
plt.style.use('ggplot')
fig,axs = plt.subplots(2,1,figsize=(12,9))
# plotting the sensor to theta_v
ax = axs[0]
fig.suptitle('Capacitive soil moisture sensor calibration for sandy soil', fontsize=16)
ax.plot(x_for_training,theta_v,label='Data',linestyle='',marker='o',color=plt.cm.Set1(0),
markersize=10,zorder=999)
ax.plot(x_for_training,theta_predict,label='Fit ({0:2.2f}$\cdot$(1/V) {1:+2.2f})'.format(slope,intercept),
color=plt.cm.Set1(1),linewidth=4)
ax.set_xlabel(r'Inverse of Capacitive Sensor Voltage [V$^{-1}$]',fontsize=18)
ax.set_ylabel(r'$\theta_v$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax.legend(fontsize=16)
rmse = np.sqrt(np.mean(np.power(np.subtract(theta_predict,theta_v),2.0))) # value error
mape = np.mean(np.divide(np.subtract(theta_predict,theta_v),theta_v)*100) # % error
# plotting the comparison between fit and data
ax2 = axs[1]
ax2.plot(theta_predict,theta_v,label='Capacitive (RMSE: {0:2.3f}, MAPE: {1:2.0f}%)'.format(rmse,mape),
linestyle='',marker='o',color=plt.cm.Set1(2),markersize=10,zorder=999)
ax2.plot(theta_v,theta_v,label='Gravimetric',color=plt.cm.Set1(3),linewidth=4)
ax2.set_xlabel(r'$\theta_{v,cap}$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax2.set_ylabel(r'$\theta_{v,grav}$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax2.legend(fontsize=16)
fig.savefig('soil_moisture_calibration_results_for_sandy_soil.png',dpi=300,bbox_inches='tight',facecolor='#FCFCFC')
plt.show()
#################################################################################################################################"
##############################
# Capacitive Soil Moisture
# Sensor Calibration Analysis
##############################
#
import numpy as np
import matplotlib.pyplot as plt
from scipy import stats
container_mass = 19.67 # measured mass of container [g]
soil_mass_dry = 183 # mass of dry soil [g]
soil_vol = 153 # volume of soil sample [ml]
rho_s = (soil_mass_dry/1000.0)/(soil_vol*np.power(10.0,-6.0)) # bulk density of soil [kg/m^3]
rho_w = 997.0 # density of water [kg/m^3]
###############################################
# Data inputs
#
soil_masses = np.subtract([102.23,112.92,133.81,139.65,145.12,
148.80,156.69,162.61,190.81],container_mass) # mass measurements [g]
cap_sensor_readings = np.array([1.47,1.40,1.32,1.27,1.25,1.24,1.22,1.21,1.20]) # cap sensor readings [V]
###############################################
# calculating volumetric water content [%]
#
theta_g = (soil_masses - soil_mass_dry)/soil_mass_dry # water proportion
theta_v = ((theta_g*rho_s)/rho_w) # volumetric soil content [g/ml / g/ml]
###############################################
# Fitting 1/sensor readings with measurements
#
x_for_training = 1.0/cap_sensor_readings # 1/sensor readings
slope, intercept, r_value, p_value, std_err = stats.linregress(x_for_training, theta_v) # linear fit
theta_predict = (slope*(x_for_training))+intercept # prediction of theta_v with sensor
###############################################
# Plot the results
#
plt.style.use('ggplot')
fig,axs = plt.subplots(2,1,figsize=(12,9))
# plotting the sensor to theta_v
ax = axs[0]
fig.suptitle('Capacitive soil moisture sensor calibration for clayey soil', fontsize=16)
ax.plot(x_for_training,theta_v,label='Data',linestyle='',marker='o',color=plt.cm.Set1(0),
markersize=10,zorder=999)
ax.plot(x_for_training,theta_predict,label='Fit ({0:2.2f}$\cdot$(1/V) {1:+2.2f})'.format(slope,intercept),
color=plt.cm.Set1(1),linewidth=4)
ax.set_xlabel(r'Inverse of Capacitive Sensor Voltage [V$^{-1}$]',fontsize=18)
ax.set_ylabel(r'$\theta_v$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax.legend(fontsize=16)
rmse = np.sqrt(np.mean(np.power(np.subtract(theta_predict,theta_v),2.0))) # value error
mape = np.mean(np.divide(np.subtract(theta_predict,theta_v),theta_v)*100) # % error
# plotting the comparison between fit and data
ax2 = axs[1]
ax2.plot(theta_predict,theta_v,label='Capacitive (RMSE: {0:2.3f}, MAPE: {1:2.0f}%)'.format(rmse,mape),
linestyle='',marker='o',color=plt.cm.Set1(2),markersize=10,zorder=999)
ax2.plot(theta_v,theta_v,label='Gravimetric',color=plt.cm.Set1(3),linewidth=4)
ax2.set_xlabel(r'$\theta_{v,cap}$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax2.set_ylabel(r'$\theta_{v,grav}$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax2.legend(fontsize=16)
fig.savefig('soil_moisture_calibration_results_for_clayey_soil.png',dpi=300,bbox_inches='tight',facecolor='#FCFCFC')
plt.show()
########################################################################################################################
##############################
# Capacitive Soil Moisture
# Sensor Calibration Analysis
##############################
#
import numpy as np
import matplotlib.pyplot as plt
from scipy import stats
container_mass = 19.67 # measured mass of container [g]
soil_mass_dry = 183 # mass of dry soil [g]
soil_vol = 153 # volume of soil sample [ml]
rho_s = (soil_mass_dry/1000.0)/(soil_vol*np.power(10.0,-6.0)) # bulk density of soil [kg/m^3]
rho_w = 997.0 # density of water [kg/m^3]
###############################################
# Data inputs
#
soil_masses = np.subtract([61.30,88.71,109.00,123.92,131.80,
136.34,139.32,149.99,156.34],container_mass) # mass measurements [g]
cap_sensor_readings = np.array([2.17,1.99,1.53,1.39,1.33,1.30,1.26,1.24,1.21]) # cap sensor readings [V]
###############################################
# calculating volumetric water content [%]
#
theta_g = (soil_masses - soil_mass_dry)/soil_mass_dry # water proportion
theta_v = ((theta_g*rho_s)/rho_w) # volumetric soil content [g/ml / g/ml]
###############################################
# Fitting 1/sensor readings with measurements
#
x_for_training = 1.0/cap_sensor_readings # 1/sensor readings
slope, intercept, r_value, p_value, std_err = stats.linregress(x_for_training, theta_v) # linear fit
theta_predict = (slope*(x_for_training))+intercept # prediction of theta_v with sensor
###############################################
# Plot the results
#
plt.style.use('ggplot')
fig,axs = plt.subplots(2,1,figsize=(12,9))
# plotting the sensor to theta_v
ax = axs[0]
fig.suptitle('Capacitive soil moisture sensor calibration for silty soil', fontsize=16)
ax.plot(x_for_training,theta_v,label='Data',linestyle='',marker='o',color=plt.cm.Set1(0),
markersize=10,zorder=999)
ax.plot(x_for_training,theta_predict,label='Fit ({0:2.2f}$\cdot$(1/V) {1:+2.2f})'.format(slope,intercept),
color=plt.cm.Set1(1),linewidth=4)
ax.set_xlabel(r'Inverse of Capacitive Sensor Voltage [V$^{-1}$]',fontsize=18)
ax.set_ylabel(r'$\theta_v$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax.legend(fontsize=16)
rmse = np.sqrt(np.mean(np.power(np.subtract(theta_predict,theta_v),2.0))) # value error
mape = np.mean(np.divide(np.subtract(theta_predict,theta_v),theta_v)*100) # % error
# plotting the comparison between fit and data
ax2 = axs[1]
ax2.plot(theta_predict,theta_v,label='Capacitive (RMSE: {0:2.3f}, MAPE: {1:2.0f}%)'.format(rmse,mape),
linestyle='',marker='o',color=plt.cm.Set1(2),markersize=10,zorder=999)
ax2.plot(theta_v,theta_v,label='Gravimetric',color=plt.cm.Set1(3),linewidth=4)
ax2.set_xlabel(r'$\theta_{v,cap}$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax2.set_ylabel(r'$\theta_{v,grav}$ [cm$^{3}$/cm$^3$]',fontsize=18)
ax2.legend(fontsize=16)
fig.savefig('soil_moisture_calibration_results_for_silty_soil.png',dpi=300,bbox_inches='tight',facecolor='#FCFCFC')
plt.show() | 42.183486 | 131 | 0.621466 | 1,404 | 9,196 | 3.92735 | 0.155271 | 0.045702 | 0.032644 | 0.030468 | 0.947044 | 0.947044 | 0.947044 | 0.947044 | 0.947044 | 0.947044 | 0 | 0.067071 | 0.121248 | 9,196 | 218 | 132 | 42.183486 | 0.61527 | 0.191605 | 0 | 0.868421 | 0 | 0.026316 | 0.181255 | 0.03586 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.078947 | 0 | 0.078947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ef16ec69cb27d211b4235d183bacb4bde0ea8c8d | 80 | py | Python | gutfit/__init__.py | earlyuniverse/gutfit | f3b176e6fa0ee4bd2467fb657562066a6e41b1e5 | [
"MIT"
] | null | null | null | gutfit/__init__.py | earlyuniverse/gutfit | f3b176e6fa0ee4bd2467fb657562066a6e41b1e5 | [
"MIT"
] | 1 | 2022-01-24T18:46:28.000Z | 2022-01-24T18:46:28.000Z | gutfit/__init__.py | earlyuniverse/gutfit | f3b176e6fa0ee4bd2467fb657562066a6e41b1e5 | [
"MIT"
] | null | null | null | from gutfit import *
# from gutfit import models
# from gutfit.models import
| 13.333333 | 28 | 0.75 | 11 | 80 | 5.454545 | 0.363636 | 0.5 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 80 | 5 | 29 | 16 | 0.9375 | 0.6375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
ef4790b7e5b3094749e4fdced6d395d982c9df40 | 13,486 | py | Python | Scripts/plot_ClimoWavex_FIT.py | zmlabe/ThicknessSensitivity | 6defdd897a61d7d1a02f34a9f4ec92b2b17b3075 | [
"MIT"
] | 1 | 2017-10-22T02:22:14.000Z | 2017-10-22T02:22:14.000Z | Scripts/plot_ClimoWavex_FIT.py | zmlabe/ThicknessSensitivity | 6defdd897a61d7d1a02f34a9f4ec92b2b17b3075 | [
"MIT"
] | null | null | null | Scripts/plot_ClimoWavex_FIT.py | zmlabe/ThicknessSensitivity | 6defdd897a61d7d1a02f34a9f4ec92b2b17b3075 | [
"MIT"
] | 4 | 2018-04-05T17:55:36.000Z | 2022-03-31T07:05:01.000Z | """
Plots DJF for climatological wave number X for WACCM4 experiments
Notes
-----
Author : Zachary Labe
Date : 12 November 2017
"""
### Import modules
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.basemap import Basemap, addcyclic, shiftgrid
import nclcmaps as ncm
import datetime
import read_MonthlyOutput as MO
import calc_Utilities as UT
### Define directories
directorydata = '/surtsey/zlabe/simu/'
directoryfigure = '/home/zlabe/Desktop/'
#directoryfigure = '/home/zlabe/Documents/Research/SITperturb/Figures/'
### Define time
now = datetime.datetime.now()
currentmn = str(now.month)
currentdy = str(now.day)
currentyr = str(now.year)
currenttime = currentmn + '_' + currentdy + '_' + currentyr
titletime = currentmn + '/' + currentdy + '/' + currentyr
print('\n' '----Plotting Climo Wave - %s----' % titletime)
### Alott time series
year1 = 1900
year2 = 2000
years = np.arange(year1,year2+1,1)
varnames = ['Z300']
qbophase = ['pos','non','neg']
for v in range(len(varnames)):
### Call function for geopotential height data from reach run
lat,lon1,time,lev,varhit = MO.readExperi(directorydata,
'%s' % varnames[v],'HIT','surface')
lat,lon1,time,lev,varfit = MO.readExperi(directorydata,
'%s' % varnames[v],'FIT','surface')
### Create 2d array of latitude and longitude
lon2,lat2 = np.meshgrid(lon1,lat)
### Concatonate runs
runnames = [r'HIT',r'FIT']
experiments = [r'\textbf{FIT--HIT}']
runs = [varhit,varfit]
### Read in QBO phases
filenamefitp = directorydata + 'FIT/monthly/QBO_%s_FIT.txt' % qbophase[0]
filenamefitno = directorydata + 'FIT/monthly/QBO_%s_FIT.txt' % qbophase[1]
filenamefitn = directorydata + 'FIT/monthly/QBO_%s_FIT.txt' % qbophase[2]
pos_fit = np.genfromtxt(filenamefitp,unpack=True,usecols=[0],dtype='int')
non_fit = np.genfromtxt(filenamefitno,unpack=True,usecols=[0],dtype='int')
neg_fit = np.genfromtxt(filenamefitn,unpack=True,usecols=[0],dtype='int')
### Separate per periods (Feb,Mar)
varh_f = runs[0][:,1,:,:]
# varh_f = varh_f[pos_fit,:,:]
varh_m = runs[0][:,2,:,:]
# varh_m = varh_m[pos_fit,:,:]
filenamehitp = directorydata + 'HIT/monthly/QBO_%s_HIT.txt' % qbophase[0]
filenamehitno = directorydata + 'HIT/monthly/QBO_%s_HIT.txt' % qbophase[1]
filenamehitn = directorydata + 'HIT/monthly/QBO_%s_HIT.txt' % qbophase[2]
pos_hit = np.genfromtxt(filenamehitp,unpack=True,usecols=[0],dtype='int')
non_hit = np.genfromtxt(filenamehitno,unpack=True,usecols=[0],dtype='int')
neg_hit = np.genfromtxt(filenamehitn,unpack=True,usecols=[0],dtype='int')
varf_f = runs[1][:,1,:,:]
# varf_f = varf_f[pos_hit,:,:]
varf_m = runs[1][:,2,:,:]
# varf_m = varf_m[pos_hit,:,:]
### Compute comparisons for FM - taken ensemble average
diff_feb = np.nanmean(varf_f - varh_f,axis=0)
diff_mar = np.nanmean(varf_m - varh_m,axis=0)
### Calculate significance for FM
stat_feb,pvalue_feb = UT.calc_indttest(varfit[:,1,:,:],varhit[:,1,:,:])
stat_mar,pvalue_mar = UT.calc_indttest(varfit[:,1,:,:],varhit[:,1,:,:])
### Read in wave number
lat,lon,time,lev,waveh= MO.readExperi(directorydata,
'%sxwave1' % varnames[v],'HIT',
'surface')
# lat,lon,time,lev,wavef = MO.readExperi(directorydata,
# '%sxwave1' % varnames[v],'FIT',
# 'surface')
climowaveh_feb = np.nanmean(waveh[:,1,:,:],axis=0)
climowaveh_mar = np.nanmean(waveh[:,2,:,:],axis=0)
###########################################################################
###########################################################################
###########################################################################
#### Plot climatological wave
plt.rc('text',usetex=True)
plt.rc('font',**{'family':'sans-serif','sans-serif':['Avant Garde']})
fig = plt.figure()
ax = plt.subplot(121)
var = diff_feb
pvar = pvalue_feb
climo = climowaveh_feb
limit = np.arange(-60,61,5)
barlim = np.arange(-60,61,30)
m = Basemap(projection='ortho',lon_0=0,lat_0=90,resolution='l',
area_thresh=10000.)
var, lons_cyclic = addcyclic(var, lon1)
var, lons_cyclic = shiftgrid(180., var, lons_cyclic, start=False)
lon2d, lat2d = np.meshgrid(lons_cyclic, lat)
x, y = m(lon2d, lat2d)
pvar,lons_cyclic = addcyclic(pvar, lon1)
pvar,lons_cyclic = shiftgrid(180.,pvar,lons_cyclic,start=False)
lon2c,lat2c = np.meshgrid(lon, lat)
m.drawmapboundary(fill_color='white',color='w',linewidth=0.7)
m.drawcoastlines(color='dimgray',linewidth=0.65)
cs = m.contourf(x,y,var,limit,extend='both',alpha=0.7,antiliased=True)
cs1 = m.contourf(x,y,pvar,colors='None',hatches=['....'])
cs2 = m.contour(lon2c,lat2c,climo,np.arange(-200,201,50),
colors='k',linewidths=1.5,latlon=True,zorder=10)
cmap = ncm.cmap('nrl_sirkes')
cs.set_cmap(cmap)
m.drawcoastlines(color='dimgray',linewidth=0.8)
### Add experiment text to subplot
ax.annotate(r'\textbf{FEB}',xy=(0,0),xytext=(0.5,1.1),
textcoords='axes fraction',color='dimgray',fontsize=23,
rotation=0,ha='center',va='center')
ax.annotate(r'\textbf{FIT--HIT}',xy=(0,0),xytext=(-0.1,0.5),
textcoords='axes fraction',color='dimgray',fontsize=23,
rotation=90,ha='center',va='center')
###########################################################################
ax = plt.subplot(122)
var = diff_mar
pvar = pvalue_mar
climo = climowaveh_mar
limit = np.arange(-60,61,5)
barlim = np.arange(-60,61,30)
m = Basemap(projection='ortho',lon_0=0,lat_0=90,resolution='l',
area_thresh=10000.)
var, lons_cyclic = addcyclic(var, lon1)
var, lons_cyclic = shiftgrid(180., var, lons_cyclic, start=False)
lon2d, lat2d = np.meshgrid(lons_cyclic, lat)
x, y = m(lon2d, lat2d)
pvar,lons_cyclic = addcyclic(pvar, lon1)
pvar,lons_cyclic = shiftgrid(180.,pvar,lons_cyclic,start=False)
lon2c,lat2c = np.meshgrid(lon, lat)
m.drawmapboundary(fill_color='white',color='w',linewidth=0.7)
m.drawcoastlines(color='dimgray',linewidth=0.65)
cs = m.contourf(x,y,var,limit,extend='both',alpha=0.7,antiliased=True)
cs1 = m.contourf(x,y,pvar,colors='None',hatches=['....'])
cs2 = m.contour(lon2c,lat2c,climo,np.arange(-200,201,50),
colors='k',linewidths=1.5,latlon=True,zorder=10)
cmap = ncm.cmap('nrl_sirkes')
cs.set_cmap(cmap)
m.drawcoastlines(color='dimgray',linewidth=0.8)
### Add text
ax.annotate(r'\textbf{MAR}',xy=(0,0),xytext=(0.5,1.1),
textcoords='axes fraction',color='dimgray',fontsize=23,
rotation=0,ha='center',va='center')
cbar_ax = fig.add_axes([0.312,0.13,0.4,0.03])
cbar = fig.colorbar(cs,cax=cbar_ax,orientation='horizontal',
extend='max',extendfrac=0.07,drawedges=True)
cbar.set_label(r'\textbf{m}',fontsize=11,color='dimgray')
cbar.set_ticks(barlim)
cbar.set_ticklabels(list(map(str,barlim)))
cbar.ax.tick_params(axis='x', size=.01)
cbar.outline.set_edgecolor('dimgray')
plt.subplots_adjust(wspace=0.01)
plt.savefig(directoryfigure + '%s_climowave1.png' % varnames[v],
dpi=300)
###############################################################################
###############################################################################
###############################################################################
varnames = ['Z30']
for v in range(len(varnames)):
### Call function for geopotential height data from reach run
lat,lon1,time,lev,varhit = MO.readExperi(directorydata,
'%s' % varnames[v],'HIT','surface')
lat,lon1,time,lev,varfit = MO.readExperi(directorydata,
'%s' % varnames[v],'FIT','surface')
### Create 2d array of latitude and longitude
lon2,lat2 = np.meshgrid(lon1,lat)
### Concatonate runs
runnames = [r'HIT',r'FIT']
experiments = [r'\textbf{FIT--HIT}']
runs = [varhit,varfit]
### Separate per periods (Feb,Mar)
varh_f = runs[0][:,1,:,:]
varh_m = runs[0][:,2,:,:]
varf_f = runs[1][:,1,:,:]
varf_m = runs[1][:,2,:,:]
### Compute comparisons for FM - taken ensemble average
diff_feb = np.nanmean(varf_f - varh_f,axis=0)
diff_mar = np.nanmean(varf_m - varh_m,axis=0)
### Calculate significance for FM
stat_feb,pvalue_feb = UT.calc_indttest(varfit[:,1,:,:],varhit[:,1,:,:])
stat_mar,pvalue_mar = UT.calc_indttest(varfit[:,2,:,:],varhit[:,2,:,:])
### Calculate climatology
climowaveh_feb = np.nanmean(varhit[:,1,:,:],axis=0)
climowaveh_mar = np.nanmean(varhit[:,2,:,:],axis=0)
###########################################################################
###########################################################################
###########################################################################
#### Plot Z30
plt.rc('text',usetex=True)
plt.rc('font',**{'family':'sans-serif','sans-serif':['Avant Garde']})
fig = plt.figure()
ax = plt.subplot(121)
var = diff_feb
pvar = pvalue_feb
climo = climowaveh_feb
limit = np.arange(-100,101,5)
barlim = np.arange(-100,101,50)
m = Basemap(projection='ortho',lon_0=0,lat_0=90,resolution='l',
area_thresh=10000.)
var, lons_cyclic = addcyclic(var, lon1)
var, lons_cyclic = shiftgrid(180., var, lons_cyclic, start=False)
lon2d, lat2d = np.meshgrid(lons_cyclic, lat)
x, y = m(lon2d, lat2d)
pvar,lons_cyclic = addcyclic(pvar, lon1)
pvar,lons_cyclic = shiftgrid(180.,pvar,lons_cyclic,start=False)
climo,lons_cyclic = addcyclic(climowaveh_feb, lon1)
climo,lons_cyclic = shiftgrid(180.,climo,lons_cyclic,start=False)
m.drawmapboundary(fill_color='white',color='dimgray',linewidth=0.7)
m.drawcoastlines(color='dimgray',linewidth=0.65)
cs = m.contourf(x,y,var,limit,extend='both',alpha=1)
cs1 = m.contourf(x,y,pvar,colors='None',hatches=['....'])
cs2 = m.contour(x,y,climo,np.arange(21900,23500,250),
colors='k',linewidths=1.5,zorder=10)
cmap = ncm.cmap('nrl_sirkes')
cs.set_cmap(cmap)
m.drawcoastlines(color='dimgray',linewidth=0.8)
### Add experiment text to subplot
ax.annotate(r'\textbf{FEB}',xy=(0,0),xytext=(0.5,1.1),
textcoords='axes fraction',color='dimgray',fontsize=23,
rotation=0,ha='center',va='center')
ax.annotate(r'\textbf{FIT--HIT}',xy=(0,0),xytext=(-0.1,0.5),
textcoords='axes fraction',color='dimgray',fontsize=23,
rotation=90,ha='center',va='center')
###########################################################################
ax = plt.subplot(122)
var = diff_mar
pvar = pvalue_mar
climo = climowaveh_mar
limit = np.arange(-125,126,5)
barlim = np.arange(-125,126,125)
m = Basemap(projection='ortho',lon_0=0,lat_0=90,resolution='l',
area_thresh=10000.)
var, lons_cyclic = addcyclic(var, lon1)
var, lons_cyclic = shiftgrid(180., var, lons_cyclic, start=False)
lon2d, lat2d = np.meshgrid(lons_cyclic, lat)
x, y = m(lon2d, lat2d)
pvar,lons_cyclic = addcyclic(pvar, lon1)
pvar,lons_cyclic = shiftgrid(180.,pvar,lons_cyclic,start=False)
climo,lons_cyclic = addcyclic(climowaveh_mar, lon1)
climo,lons_cyclic = shiftgrid(180.,climo,lons_cyclic,start=False)
m.drawmapboundary(fill_color='white',color='dimgray',linewidth=0.7)
m.drawcoastlines(color='dimgray',linewidth=0.65)
cs = m.contourf(x,y,var,limit,extend='both',alpha=1)
cs1 = m.contourf(x,y,pvar,colors='None',hatches=['....'])
cs2 = m.contour(x,y,climo,np.arange(21900,23500,250),
colors='k',linewidths=1.5,zorder=10)
cmap = ncm.cmap('nrl_sirkes')
cs.set_cmap(cmap)
m.drawcoastlines(color='dimgray',linewidth=0.8)
### Add text
ax.annotate(r'\textbf{MAR}',xy=(0,0),xytext=(0.5,1.1),
textcoords='axes fraction',color='dimgray',fontsize=23,
rotation=0,ha='center',va='center')
cbar_ax = fig.add_axes([0.312,0.13,0.4,0.03])
cbar = fig.colorbar(cs,cax=cbar_ax,orientation='horizontal',
extend='max',extendfrac=0.07,drawedges=True)
cbar.set_label(r'\textbf{m}',fontsize=11,color='dimgray')
cbar.set_ticks(barlim)
cbar.set_ticklabels(list(map(str,barlim)))
cbar.ax.tick_params(axis='x', size=.01)
cbar.outline.set_edgecolor('dimgray')
plt.subplots_adjust(wspace=0.01)
plt.savefig(directoryfigure + '%s_FIT-HIT.png' % varnames[v],
dpi=300)
print('Completed: Script done!')
| 38.531429 | 79 | 0.568293 | 1,689 | 13,486 | 4.441089 | 0.178804 | 0.045327 | 0.020797 | 0.029329 | 0.82189 | 0.810559 | 0.788695 | 0.764698 | 0.731902 | 0.731902 | 0 | 0.043991 | 0.214519 | 13,486 | 349 | 80 | 38.641834 | 0.664118 | 0.090983 | 0 | 0.763636 | 0 | 0 | 0.095507 | 0.01377 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.031818 | 0 | 0.031818 | 0.009091 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
ef4965f7be1acef5e27dacd26358f03608780e00 | 235,109 | py | Python | src/etl/gold_data_transform_rules.py | acdh-oeaw/mara_nlp_suite | 223850ffde46bb9fedce9981d1f7a94f865a6a5a | [
"MIT"
] | null | null | null | src/etl/gold_data_transform_rules.py | acdh-oeaw/mara_nlp_suite | 223850ffde46bb9fedce9981d1f7a94f865a6a5a | [
"MIT"
] | null | null | null | src/etl/gold_data_transform_rules.py | acdh-oeaw/mara_nlp_suite | 223850ffde46bb9fedce9981d1f7a94f865a6a5a | [
"MIT"
] | null | null | null | from typing import List, Tuple
class TransformRule:
"""Since there are no categories yet which have the same name but different parent categories,
no distinction is necessary regarding their full path. So until there are no such categories it
is sufficient to only replace one string with another without having to traverse any category tree.
So only the 'leaf' categories of the 'category tree' are replaced."""
cat_replacements: List[Tuple[str, str]]
class TransformRule1(TransformRule): #TODO: Train a model on this (data can be found in commit ef93afaf77a3161c554ea997925a5a65b0db04dc data/training_data/codings_merged/train100-eval0/eval_data.csv)
"""SC + SM + Andere Anwendungsfelder"""
# formerly TransformRule2
cat_replacements = [
("Soziales, soz. Interaktion, Companions, vermenschlichte Robots", "Social Companions"),
("Robotik", "Social Companions"),
("Seniorenbetreuung, Altenpflege", "Social Companions"),
("Social Media (Facebook, Youtube & Co.), Suchmaschinen, Plattfor", "Soziale Medien"),
("Politische Informationen und Nachrichten in Sozialen Medien/SM+", "Soziale Medien"),
("mehrere Anwendungsfelder", "Andere Anwendungsfelder"),
("KI, Rob, Alg oder Autom allgem/unabhängig von AF/Meta/", "Andere Anwendungsfelder"),
("Ausbildung, Bildung zu und für KI, Algo, Bots, Autom", "Andere Anwendungsfelder"),
("Agrar-/Landwirtschaft (zB Smart Farming, Autom. in LW), Lebensm", "Andere Anwendungsfelder"),
("Industrie, Fertigung, Industrie 4.0 (z.b. Automatisierung von F", "Andere Anwendungsfelder"),
("F&E: Industrie, Fertigung, Maschinen / gener. Forsch an KI, Rob", "Andere Anwendungsfelder"),
("Medizinische Forschung (zb Automatis. der Qualitätskontrolle)", "Andere Anwendungsfelder"),
("Medizin, Gesundheit (Anwendungsbezogen)", "Andere Anwendungsfelder"),
("Werbung/Marketing/PR, CRM, SEO", "Andere Anwendungsfelder"),
("Verkehr/Logistik, Mobilität (autonomes Fahren)", "Andere Anwendungsfelder"),
("Luftfahrt, Raumfaht", "Andere Anwendungsfelder"),
("Smart home, smart living, consumer electronics", "Andere Anwendungsfelder"),
("Medien, Telekommunikation", "Andere Anwendungsfelder"),
("Druck/Reprotechnik", "Andere Anwendungsfelder"),
("Energie- und Bauwirtschaft", "Andere Anwendungsfelder"),
("Sport/Wettbewerbe (z.B. Roboter-Cup)", "Andere Anwendungsfelder"),
("Computer-/Videospiele", "Andere Anwendungsfelder"),
("Kreativleistung (KI schreibt, komponiert) und E-Kunst", "Andere Anwendungsfelder"),
("Öffentl. Sicherheit (Polizei, Geheimdienst, Predictiv Policing)", "Andere Anwendungsfelder"),
("Militär und Krieg", "Andere Anwendungsfelder"),
("Post / Zustelldienste", "Andere Anwendungsfelder"),
("Rettungswesen, Bergungen", "Andere Anwendungsfelder"),
("Gastgewerbe, Handel, Tourismus", "Andere Anwendungsfelder"),
("Mess-/Analyse-/Labortechnik", "Andere Anwendungsfelder"),
("Bilderkennung, Spracherkennung, Sentiment Analyse, Machine Lear", "Andere Anwendungsfelder"),
("diverse IT-Anwendungen (Kryptogr., Netzwerkanal., etc)", "Andere Anwendungsfelder"),
("Reinigungsbranche", "Andere Anwendungsfelder"),
("Banken, Börsen-, Versicherungen, Finanzdienste", "Andere Anwendungsfelder"),
("Recht & Justiz", "Andere Anwendungsfelder"),
("Automatisierung/KI in anderen Feldern: MEMO!", "Andere Anwendungsfelder"),
("Personalwesen (Personalauswahl/-recruting, HR, AMS)", "Andere Anwendungsfelder"),
]
class TransformRule2(TransformRule):
"""SC + SM + Alle Anwendungsfelder
Improvement on TransformRule2
"""
# formerly TransformRule2_1
cat_replacements = [
("Soziales, soz. Interaktion, Companions, vermenschlichte Robots", "AF: Social Companions"),
("Robotik", "AF: Social Companions"),
("Seniorenbetreuung, Altenpflege", "AF: Social Companions"),
("Social Media (Facebook, Youtube & Co.), Suchmaschinen, Plattfor", "AF: Soziale Medien"),
("Politische Informationen und Nachrichten in Sozialen Medien/SM+", "AF: Soziale Medien"),
("mehrere Anwendungsfelder", "AF: mehrere Anwendungsfelder"),
("KI, Rob, Alg oder Autom allgem/unabhängig von AF/Meta/", "AF: KI, Rob, Alg oder Autom allgem/unabhängig von AF/Meta/"),
("Ausbildung, Bildung zu und für KI, Algo, Bots, Autom", "AF: Ausbildung, Bildung zu und für KI, Algo, Bots, Autom"),
("Agrar-/Landwirtschaft (zB Smart Farming, Autom. in LW), Lebensm", "AF: Agrar-/Landwirtschaft (zB Smart Farming, Autom. in LW), Lebensm"),
("Industrie, Fertigung, Industrie 4.0 (z.b. Automatisierung von F", "AF: Industrie, Fertigung, Industrie 4.0 (z.b. Automatisierung von F"),
("F&E: Industrie, Fertigung, Maschinen / gener. Forsch an KI, Rob", "AF: F&E: Industrie, Fertigung, Maschinen / gener. Forsch an KI, Rob"),
("Medizinische Forschung (zb Automatis. der Qualitätskontrolle)", "AF: Medizinische Forschung (zb Automatis. der Qualitätskontrolle)"),
("Medizin, Gesundheit (Anwendungsbezogen)", "AF: Medizin, Gesundheit (Anwendungsbezogen)"),
("Werbung/Marketing/PR, CRM, SEO", "AF: Werbung/Marketing/PR, CRM, SEO"),
("Verkehr/Logistik, Mobilität (autonomes Fahren)", "AF: Verkehr/Logistik, Mobilität (autonomes Fahren)"),
("Luftfahrt, Raumfaht", "AF: Luftfahrt, Raumfaht"),
("Smart home, smart living, consumer electronics", "AF: Smart home, smart living, consumer electronics"),
("Medien, Telekommunikation", "AF: Medien, Telekommunikation"),
("Druck/Reprotechnik", "AF: Druck/Reprotechnik"),
("Energie- und Bauwirtschaft", "AF: Energie- und Bauwirtschaft"),
("Sport/Wettbewerbe (z.B. Roboter-Cup)", "AF: Sport/Wettbewerbe (z.B. Roboter-Cup)"),
("Computer-/Videospiele", "AF: Computer-/Videospiele"),
("Kreativleistung (KI schreibt, komponiert) und E-Kunst", "AF: Kreativleistung (KI schreibt, komponiert) und E-Kunst"),
("Öffentl. Sicherheit (Polizei, Geheimdienst, Predictiv Policing)", "AF: Öffentl. Sicherheit (Polizei, Geheimdienst, Predictiv Policing)"),
("Militär und Krieg", "AF: Militär und Krieg"),
("Post / Zustelldienste", "AF: Post / Zustelldienste"),
("Rettungswesen, Bergungen", "AF: Rettungswesen, Bergungen"),
("Gastgewerbe, Handel, Tourismus", "AF: Gastgewerbe, Handel, Tourismus"),
("Mess-/Analyse-/Labortechnik", "AF: Mess-/Analyse-/Labortechnik"),
("Bilderkennung, Spracherkennung, Sentiment Analyse, Machine Lear", "AF: Bilderkennung, Spracherkennung, Sentiment Analyse, Machine Lear"),
("diverse IT-Anwendungen (Kryptogr., Netzwerkanal., etc)", "AF: diverse IT-Anwendungen (Kryptogr., Netzwerkanal., etc)"),
("Reinigungsbranche", "AF: Reinigungsbranche"),
("Banken, Börsen-, Versicherungen, Finanzdienste", "AF: Banken, Börsen-, Versicherungen, Finanzdienste"),
("Recht & Justiz", "AF: Recht & Justiz"),
("Automatisierung/KI in anderen Feldern: MEMO!", "AF: Automatisierung/KI in anderen Feldern: MEMO!"),
("Personalwesen (Personalauswahl/-recruting, HR, AMS)", "AF: Personalwesen (Personalauswahl/-recruting, HR, AMS)"),
]
class TransformRule3(TransformRule):
"""Tonalitäten"""
cat_replacements = [
("negativ", "T: negativ"),
("überwiegend negativ", "T: negativ"),
("ambivalent", "T: ambivalent"),
("überwiegend positiv ", "T: positiv"),
("positiv", "T: positiv"),
("keine Tonalität ggü. KI, Algorithmen, Automatisierung", "T: keine Tonalität ggü. KI, Algorithmen, Automatisierung"),
]
class TransformRule4(TransformRule):
"""Genres"""
cat_replacements = [
("1 Nachricht, Bericht, Meldung", "G: 1 Nachricht, Bericht, Meldung"),
("2 Kurzmeldung", "G: 2 Kurzmeldung"),
("3 Meldungsblock", "G: 3 Meldungsblock"),
("4 Hintergrundberichterstattung/Doku/Analyse/Reportage", "G: 4 Hintergrundberichterstattung/Doku/Analyse/Reportage"),
("5 Interview", "G: 5 Interview"),
("6 Meinungsbeitrag Journalist_Medium", "G: 6 Meinungsbeitrag Journalist_Medium"),
("7 Meinungsbeitrag andere (Gastautoren etc)", "G: 7 Meinungsbeitrag andere (Gastautoren etc)"),
("8 Leserbrief", "G: 8 Leserbrief"),
("9 Programm-/Veranstaltungshinweise", "G: 9 Programm-/Veranstaltungshinweise"),
("10 Sonstige", "G: 10 Sonstige"),
("11 dienstleistender Sachtext (auch informierend Sachtext)", "G: 11 dienstleistender Sachtext (auch informierend Sachtext)"),
("12 Filmkritiken", "G: 12 Filmkritiken"),
]
class TransformRule5(TransformRule):
"""Thematisierungsintensität"""
cat_replacements = [
("Hauptthema", "TI: Hauptthema"),
("Nebenthema", "TI: Nebenthema"),
("Verweis", "TI: Verweis"),
]
class TransformRule6(TransformRule):
"""Alle Anwendungsfelder"""
cat_replacements = [
("mehrere Anwendungsfelder", "AF: mehrere Anwendungsfelder"),
("KI, Rob, Alg oder Autom allgem/unabhängig von AF/Meta/", "AF: KI, Rob, Alg oder Autom allgem/unabhängig von AF/Meta/"),
("Ausbildung, Bildung zu und für KI, Algo, Bots, Autom", "AF: Ausbildung, Bildung zu und für KI, Algo, Bots, Autom"),
("Agrar-/Landwirtschaft (zB Smart Farming, Autom. in LW), Lebensm", "AF: Agrar-/Landwirtschaft (zB Smart Farming, Autom. in LW), Lebensm"),
("Industrie, Fertigung, Industrie 4.0 (z.b. Automatisierung von F", "AF: Industrie, Fertigung, Industrie 4.0 (z.b. Automatisierung von F"),
("F&E: Industrie, Fertigung, Maschinen / gener. Forsch an KI, Rob", "AF: F&E: Industrie, Fertigung, Maschinen / gener. Forsch an KI, Rob"),
("Medizinische Forschung (zb Automatis. der Qualitätskontrolle)", "AF: Medizinische Forschung (zb Automatis. der Qualitätskontrolle)"),
("Medizin, Gesundheit (Anwendungsbezogen)", "AF: Medizin, Gesundheit (Anwendungsbezogen)"),
("Seniorenbetreuung, Altenpflege", "AF: Seniorenbetreuung, Altenpflege"),
("Social Media (Facebook, Youtube & Co.), Suchmaschinen, Plattfor", "AF: Social Media (Facebook, Youtube & Co.), Suchmaschinen, Plattfor"),
("Werbung/Marketing/PR, CRM, SEO", "AF: Werbung/Marketing/PR, CRM, SEO"),
("Verkehr/Logistik, Mobilität (autonomes Fahren)", "AF: Verkehr/Logistik, Mobilität (autonomes Fahren)"),
("Luftfahrt, Raumfaht", "AF: Luftfahrt, Raumfaht"),
("Smart home, smart living, consumer electronics", "AF: Smart home, smart living, consumer electronics"),
("Politische Informationen und Nachrichten in Sozialen Medien/SM+", "AF: Politische Informationen und Nachrichten in Sozialen Medien/SM+"),
("Medien, Telekommunikation", "AF: Medien, Telekommunikation"),
("Druck/Reprotechnik", "AF: Druck/Reprotechnik"),
("Soziales, soz. Interaktion, Companions, vermenschlichte Robots", "AF: Soziales, soz. Interaktion, Companions, vermenschlichte Robots"),
("Energie- und Bauwirtschaft", "AF: Energie- und Bauwirtschaft"),
("Sport/Wettbewerbe (z.B. Roboter-Cup)", "AF: Sport/Wettbewerbe (z.B. Roboter-Cup)"),
("Computer-/Videospiele", "AF: Computer-/Videospiele"),
("Kreativleistung (KI schreibt, komponiert) und E-Kunst", "AF: Kreativleistung (KI schreibt, komponiert) und E-Kunst"),
("Öffentl. Sicherheit (Polizei, Geheimdienst, Predictiv Policing)", "AF: Öffentl. Sicherheit (Polizei, Geheimdienst, Predictiv Policing)"),
("Militär und Krieg", "AF: Militär und Krieg"),
("Post / Zustelldienste", "AF: Post / Zustelldienste"),
("Rettungswesen, Bergungen", "AF: Rettungswesen, Bergungen"),
("Gastgewerbe, Handel, Tourismus", "AF: Gastgewerbe, Handel, Tourismus"),
("Mess-/Analyse-/Labortechnik", "AF: Mess-/Analyse-/Labortechnik"),
("Bilderkennung, Spracherkennung, Sentiment Analyse, Machine Lear", "AF: Bilderkennung, Spracherkennung, Sentiment Analyse, Machine Lear"),
("diverse IT-Anwendungen (Kryptogr., Netzwerkanal., etc)", "AF: diverse IT-Anwendungen (Kryptogr., Netzwerkanal., etc)"),
("Reinigungsbranche", "AF: Reinigungsbranche"),
("Banken, Börsen-, Versicherungen, Finanzdienste", "AF: Banken, Börsen-, Versicherungen, Finanzdienste"),
("Recht & Justiz", "AF: Recht & Justiz"),
("Automatisierung/KI in anderen Feldern: MEMO!", "AF: Automatisierung/KI in anderen Feldern: MEMO!"),
("Personalwesen (Personalauswahl/-recruting, HR, AMS)", "AF: Personalwesen (Personalauswahl/-recruting, HR, AMS)"),
]
class TransformRule7(TransformRule):
"""Verantwortungen"""
cat_replacements = [
("ZP_Politik_1", "Verantwortungsreferenz"),
("ZP_Wirtschaft_1", "Verantwortungsreferenz"),
("ZP_Rechtsorgane_1", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_1", "Verantwortungsreferenz"),
("ZP_Gesellschaft/Öffentlichkeit_1", "Verantwortungsreferenz"),
("ZP_Individuum/en_1", "Verantwortungsreferenz"),
("ZP_Medien/Presse_1", "Verantwortungsreferenz"),
("ZP_Kultur_1", "Verantwortungsreferenz"),
("VS_Politik_1", "Verantwortungsreferenz"),
("VS_Wirtschaft_1", "Verantwortungsreferenz"),
("VS_Rechtsorgane_1", "Verantwortungsreferenz"),
("VS_Wissenschaft/Bildung_1", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_1", "Verantwortungsreferenz"),
("VS_Individuum/en_1", "Verantwortungsreferenz"),
("VS_Medien/Presse_1", "Verantwortungsreferenz"),
("VS_Kultur_1", "Verantwortungsreferenz"),
("Fremdzuschreibung_1", "Verantwortungsreferenz"),
("Selbstzuschreibung_1", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Fremdzuschreibung_1", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Selbstzuschreibung_1", "Verantwortungsreferenz"),
("Prospektive Verantwortung_1", "Verantwortungsreferenz"),
("Retrospektive Verantwortung_1", "Verantwortungsreferenz"),
("ZP_Politik_2", "Verantwortungsreferenz"),
("ZP_Wirtschaft_2", "Verantwortungsreferenz"),
("ZP_Rechtsorgane_2", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_2", "Verantwortungsreferenz"),
("ZP_Gesellschaft/Öffentlichkeit_2", "Verantwortungsreferenz"),
("ZP_Individuum/en_2", "Verantwortungsreferenz"),
("ZP_Medien/Presse_2", "Verantwortungsreferenz"),
("VS_Politik_2", "Verantwortungsreferenz"),
("VS_Wirtschaft_2", "Verantwortungsreferenz"),
("VS_Rechtsorgane_2", "Verantwortungsreferenz"),
("VS_Wissenschaft/Bildung_2", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_2", "Verantwortungsreferenz"),
("VS_Individuum/en_2", "Verantwortungsreferenz"),
("VS_Medien/Presse_2", "Verantwortungsreferenz"),
("Fremdzuschreibung_2", "Verantwortungsreferenz"),
("Selbstzuschreibung_2", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Fremdzuschreibung_2", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Selbstzuschreibung_2", "Verantwortungsreferenz"),
("Retrospektive Verantwortung_2", "Verantwortungsreferenz"),
("Prospektive Verantwortung_2", "Verantwortungsreferenz"),
("ZP_Politik_3", "Verantwortungsreferenz"),
("ZP_Wirtschaft_3", "Verantwortungsreferenz"),
("ZP_Rechtsorgane_3", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_3", "Verantwortungsreferenz"),
("ZP_Gesellschaft/Öffentlichkeit_3", "Verantwortungsreferenz"),
("ZP_Individuum/en_3", "Verantwortungsreferenz"),
("ZP_Medien/Presse_3", "Verantwortungsreferenz"),
("VS_Politik_3", "Verantwortungsreferenz"),
("VS_Wirtschaft_3", "Verantwortungsreferenz"),
("VS_Rechtsorgane_3", "Verantwortungsreferenz"),
("VS_Wissenschaft/Bildung_3", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_3", "Verantwortungsreferenz"),
("VS_Individuum/en_3", "Verantwortungsreferenz"),
("VS_Medien/Presse_3", "Verantwortungsreferenz"),
("Fremdzuschreibung_3", "Verantwortungsreferenz"),
("Selbstzuschreibung_3", "Verantwortungsreferenz"),
("Leugnung/Ablehnung _Fremdzuschreibung_3", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Selbstzuschreibung_3", "Verantwortungsreferenz"),
("Prospektive Verantwortung_3", "Verantwortungsreferenz"),
("Retrospektive Verantwortung_3", "Verantwortungsreferenz"),
("ZP_Politik_4", "Verantwortungsreferenz"),
("ZP_Wirtschaft_4", "Verantwortungsreferenz"),
("ZP_Rechtsorgane_4", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_4", "Verantwortungsreferenz"),
("ZP_Gesellschaft/Öffentlichkeit_4", "Verantwortungsreferenz"),
("ZP_Individuum/en_4", "Verantwortungsreferenz"),
("ZP_Presse/Medien_4", "Verantwortungsreferenz"),
("VS_Politik_4", "Verantwortungsreferenz"),
("VS_Wirtschaft_4", "Verantwortungsreferenz"),
("VS_Rechtsorgane_4", "Verantwortungsreferenz"),
("VS_Wissenschaft/Bildung_4", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_4", "Verantwortungsreferenz"),
("VS_Individuum/en_4", "Verantwortungsreferenz"),
("VS_Presse/Medien_4", "Verantwortungsreferenz"),
("Fremdzuschreibung_4", "Verantwortungsreferenz"),
("Selbstzuschreibung_4", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Fremdzuschreibung_4", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Selbstzuschreibung_4", "Verantwortungsreferenz"),
("Prospektive Verantwortung_4", "Verantwortungsreferenz"),
("Retrospektive Verantwortung_4", "Verantwortungsreferenz"),
("ZP_Politik_5", "Verantwortungsreferenz"),
("ZP_Wirtschaft_5", "Verantwortungsreferenz"),
("ZP_Rechtsorgane_5", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_5", "Verantwortungsreferenz"),
("ZP_Gesellschaft/Öffentlichkeit_5", "Verantwortungsreferenz"),
("ZP_Individuum/en_5", "Verantwortungsreferenz"),
("ZP_Presse/Medien_5", "Verantwortungsreferenz"),
("VS_Politik_5", "Verantwortungsreferenz"),
("VS_Wirtschaft_5", "Verantwortungsreferenz"),
("VS_Rechtsorgane_5", "Verantwortungsreferenz"),
("VS_Wissenschaft/Bildung_5", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_5", "Verantwortungsreferenz"),
("VS_Individuum/en_5", "Verantwortungsreferenz"),
("VS_Presse/Medien_5", "Verantwortungsreferenz"),
("Fremdzuschreibung_5", "Verantwortungsreferenz"),
("Selbstzuschreibung_5", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Fremdzuschreibung_5", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Selbstzuschreibung_5", "Verantwortungsreferenz"),
("Prospektive Verantwortung_5", "Verantwortungsreferenz"),
("Retrospektive Verantwortung_5", "Verantwortungsreferenz"),
("ZP_Politik_6", "Verantwortungsreferenz"),
("ZP_Wirtschaft_6", "Verantwortungsreferenz"),
("ZP_Rechtsorgane_6", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_6", "Verantwortungsreferenz"),
("ZP_Gesellschaft/Öffentlichkeit_6", "Verantwortungsreferenz"),
("ZP_Individuum/en_6", "Verantwortungsreferenz"),
("ZP_Presse/Medien_6", "Verantwortungsreferenz"),
("VS_Politik_6", "Verantwortungsreferenz"),
("VS_Wirtschaft_6", "Verantwortungsreferenz"),
("VS_Rechtsorgane_6", "Verantwortungsreferenz"),
("VS_Wissenschaft/Bildung_6", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_6", "Verantwortungsreferenz"),
("VS_Individuum/en_6", "Verantwortungsreferenz"),
("VS_Presse/Medien_6", "Verantwortungsreferenz"),
("Fremdzuschreibung_6", "Verantwortungsreferenz"),
("Selbstzuschreibung_6", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Fremdzuschreibung_6", "Verantwortungsreferenz"),
("Leugnung/Ablehnung_Selbstzuschreibung_6", "Verantwortungsreferenz"),
("Prospektive Verantwortung 6", "Verantwortungsreferenz"),
("Retrospektive Verantwortung 6", "Verantwortungsreferenz"),
("ZP_Wissenschaft/Bildung_7", "Verantwortungsreferenz"),
("VS_Gesellschaft/Öffentlichkeit_7", "Verantwortungsreferenz"),
("Fremdzuschreibung_7", "Verantwortungsreferenz"),
("Retrospektive Verantwortung_7", "Verantwortungsreferenz"),
]
class TransformRule8(TransformRule):
# formerly: TransformRule8__s1_tr2_1__s3__s4__s5__s6
# These replacements seem redundant but they are used to remove all other cats that do not match
cat_replacements = [
("AF: Social Companions", "AF: Social Companions"),
("AF: Soziale Medien", "AF: Soziale Medien"),
]
class TransformRule9(TransformRule):
# formerly: TransformRule9__s2
cat_replacements = [
("Social Companions", "AF: Social Companions"),
("Soziale Medien", "AF: Soziale Medien"),
]
class TransformRule10(TransformRule):
# formerly: TransformRule10__s3__s4__s5__s6
# These replacements seem redundant but they are used to remove all other cats that do not match
cat_replacements = [
("TI: Hauptthema", "TI: Hauptthema"),
("TI: Nebenthema", "TI: Nebenthema"),
("TI: Verweis", "TI: Verweis")
]
class TransformRule11(TransformRule):
"""Risikotypen"""
cat_replacements = [
("Datenschutz, Privatsphäre, Überwachung", "R: RT: Datenschutz, Privatsphäre, Überwachung"),
("Haftung/Verantwortung", "R: RT: Haftung/Verantwortung"),
("Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen", "R: RT: Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen"),
("Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein", "R: RT: Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein"),
("Intransparenz (Blackbox)", "R: RT: Intransparenz (Blackbox)"),
("Kommodifizierung der Nutzer (Ausbeutung)", "R: RT: Kommodifizierung der Nutzer (Ausbeutung)"),
("Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny ", "R: RT: Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny"),
("Diskriminierung, Ungleichheit", "R: RT: Diskriminierung, Ungleichheit"),
("mangelnde Qualität der Automatisierung, Algorithmen, Ki", "R: RT: mangelnde Qualität der Automatisierung, Algorithmen, Ki"),
("Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup", "R: RT: Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup"),
("ethisch, moralisch, philosophische Fragen der KI, Algorithmen", "R: RT: ethisch, moralisch, philosophische Fragen der KI, Algorithmen"),
("Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit", "R: RT: Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit"),
("IT-/KI-Security (Sicherheit vor Hackern etc)", "R: RT: IT-/KI-Security (Sicherheit vor Hackern etc)"),
("Ungleichheit bei Sozialabgaben / Steuergerechtigkeit", "R: RT: Ungleichheit bei Sozialabgaben / Steuergerechtigkeit"),
("Fehlallokation von Ressourcen", "R: RT: Wirtschaftlichkeit und Effizienz"),
("Mängel bei produktiver Effizienz", "R: RT: Wirtschaftlichkeit und Effizienz"),
("Investitionsrisiko", "R: RT: Wirtschaftlichkeit und Effizienz"),
("mangelnde Adaption/Literacy/Ausbildung/Bildung", "R: RT: mangelnde Adaption/Literacy/Ausbildung/Bildung"),
("mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft", "R: RT: mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft"),
("Arbeitsplatzverluste / Zukünftige Arbeit", "R: RT: Arbeitsplatzverluste / Zukünftige Arbeit"),
("Marktmacht, Monopolisierung", "R: RT: Marktmacht, Monopolisierung")
]
class TransformRule12(TransformRule):
"""Verantwortungsreferenzen für g8"""
cat_replacements = [
("VR: enthalten", "Verantwortungsreferenz"),
]
class TransformRule13(TransformRule):
cat_replacements = [
("T: negativ", "T: negativ"),
("T: ambivalent", "T: ambivalent"),
("T: positiv", "T: positiv"),
("T: keine Tonalität ggü. KI, Algorithmen, Automatisierung", "T: keine Tonalität ggü. KI, Algorithmen, Automatisierung"),
]
class TransformRule14(TransformRule):
# Rules for Transforming Vertiefungsanalyse zu SC
# With case handling of 'SpecialPathCase' (the logic leading to these cases can be found by searching for 'SpecialPathCase')
# There are two kinds of cats: Those with and those without 'Verantwortungsreferenz' leading their value
# The following list 'cat_replacements' was created by an intermediate manual step with this code:
# for c_old in gdc.cats_list:
# c_new = c_old
# if c_old.startswith("Verantwortungsreferenz "):
# c_new = re.sub(r" \d+", "", c_old)
# print(f'(r"{c_old}", r"{c_new}"),')
cat_replacements = [
(r"Analogien zu Science Fiction Figuren und Welten", r"Analogien zu Science Fiction Figuren und Welten"),
(r"Fiction Film, Literatur, Spiel, Kunst", r"Fiction Film, Literatur, Spiel, Kunst"),
(r"Wiederholung von bereits codiertem Artikel", r"Wiederholung von bereits codiertem Artikel"),
(r"Kein Verantwortungsverweis", r"Kein Verantwortungsverweis"),
(r"SC nicht Thema", r"SC nicht Thema"),
(r"SC Nebenthema", r"SC Nebenthema"),
(r"negativ", r"negativ"),
(r"überwiegend negativ", r"überwiegend negativ"),
(r"ambivalent", r"ambivalent"),
(r"überwiegend positiv ", r"überwiegend positiv "),
(r"positiv", r"positiv"),
(r"keine Tonalität ggü. KI, Algorithmen, Automatisierung", r"keine Tonalität ggü. KI, Algorithmen, Automatisierung"),
(r"Datenschutz, Privatsphäre, Überwachung", r"Datenschutz, Privatsphäre, Überwachung"),
(r"Haftung/Verantwortung", r"Haftung/Verantwortung"),
(r"Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen", r"Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen"),
(r"Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein", r"Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein"),
(r"Intransparenz (Blackbox)", r"Intransparenz (Blackbox)"),
(r"Kommodifizierung der Nutzer (Ausbeutung)", r"Kommodifizierung der Nutzer (Ausbeutung)"),
(r"Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny ", r"Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny "),
(r"Diskriminierung, Ungleichheit", r"Diskriminierung, Ungleichheit"),
(r"mangelnde Qualität der Automatisierung, Algorithmen, Ki", r"mangelnde Qualität der Automatisierung, Algorithmen, Ki"),
(r"Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup", r"Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup"),
(r"ethisch, moralisch, philosophische Fragen der KI, Algorithmen", r"ethisch, moralisch, philosophische Fragen der KI, Algorithmen"),
(r"Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit", r"Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit"),
(r"IT-/KI-Security (Sicherheit vor Hackern etc)", r"IT-/KI-Security (Sicherheit vor Hackern etc)"),
(r"Wirtschaftlichkeit und Effizienz ", r"Wirtschaftlichkeit und Effizienz "),
(r"Fehlallokation von Ressourcen", r"Fehlallokation von Ressourcen"),
(r"Investitionsrisiko", r"Investitionsrisiko"),
(r"mangelnde Adaption/Literacy/Ausbildung/Bildung", r"mangelnde Adaption/Literacy/Ausbildung/Bildung"),
(r"mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft", r"mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft"),
(r"Arbeitsplatzverluste / Zukünftige Arbeit", r"Arbeitsplatzverluste / Zukünftige Arbeit"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Künstler*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Presseorgane & Journalist*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Gesellschaftliche Interessenvertretungen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Rechtliche Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Private User*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Politische Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Einrichtungen und Subjekte im Gesundheitsbereich 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Einrichtungen und Subjekte im Gesundheitsbereich"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Kommerzielle/Öffentliche Unternehmen/Einrichtungen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Kommerzielle/Öffentliche Unternehmen/Einrichtungen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Hersteller*innen und Verkäufer*innen von Social Robotics 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Mitglieder von Ethikräten & Philosoph*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Bildungseinrichtungen & Lehrkräfte 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Forschungseinrichtungen und Wissenschaftler*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Forschungseinrichtungen und Wissenschaftler*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Bildungseinrichtungen & Lehrkräfte 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Mitglieder von Ethikräten & Philosoph*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Presseorgane/Journalist*innen/Medien 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane/Journalist*innen/Medien"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Hersteller*innen und Verkäufer*innen von Social Robotics 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Kommerzielle/Öffentliche Unternehmen/Einrichtungen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Kommerzielle/Öffentliche Unternehmen/Einrichtungen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Einrichtungen und Subjekte im Gesundheitsbereich 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Einrichtungen und Subjekte im Gesundheitsbereich"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Politische Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Private User*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Der Mensch/die Menschheit/die Menschen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Technologien wird indirekt selbst Verantwortung zugewiesen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Rechtliche Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Entwicklung/Herstellung von SR 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Einsatz von SR in Pflege/Therapie/Bildung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einsatz von SR in Pflege/Therapie/Bildung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Diskurs/Transparenz/Aufklärung/Bewusstsein 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Zusammenleben/Gestaltung der Beziehungen zu Robotern 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Ökonomische Konsequenzen und Faktoren 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Sicherheit/Datenschutz/Haftung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Regulierung/Abschätzung von Folgen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung/Abschätzung von Folgen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Roboter/Technologien 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Roboter/Technologien"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Der Mensch/die Menschheit/Menschen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Geschädigte 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Geschädigte"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Patient*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Patient*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Arbeitnehmer*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Stakeholder 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\User*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Kinder & Jugendliche 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Der Mensch/die Menschheit/Menschen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Ethikräte 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Ethikräte"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Arbeitnehmer*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Patient*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Patient*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\User*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Marktakteur*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Demokratische/Politische/Staatliche Instanzen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Rechtliche Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Ökonomische Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Soziale Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Rechtliche Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Politische Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Moralische Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Fremdzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Selbstzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Leugnung/Ablehnung_Fremdzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Retrospektiv nicht explitzit negativ/positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Retrospektiv positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Retrospektiv negativ 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Prospektiv nicht explizit negativ/positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Prospektiv positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Prospektiv negativ 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Künstler*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Presseorgane & Journalist*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Gesellschaftliche Interessenvertretungen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Politische Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Einrichtungen und Subjekte im Gesundheitsbereich 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Einrichtungen und Subjekte im Gesundheitsbereich"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Hersteller*innen und Verkäufer*innen von Social Robotics 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Mitglieder von Ethikräten & Philosoph*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Forschungseinrichtungen und Wissenschaftler*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Künstler*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Künstler*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Der Mensch/die Menschheit/die Menschen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Forschungseinrichtungen und Wissenschaftler*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Bildungseinrichtungen & Lehrkräfte 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Mitglieder von Ethikräten & Philosoph*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Hersteller*innen und Verkäufer*innen von Social Robotics 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Einrichtungen und Subjekte im Gesundheitsbereich 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Einrichtungen und Subjekte im Gesundheitsbereich"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Öffentliche Institutionen (in Kultur, Bildung etc.) 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Öffentliche Institutionen (in Kultur, Bildung etc.)"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Politische Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Private User*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Rechtliche Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Technologien wird indirekt selbst Verantwortung zugewiesen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Entwicklung/Herstellung von SR 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Einsatz von SR in Pflege/Therapie/Bildung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einsatz von SR in Pflege/Therapie/Bildung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Diskurs/Transparenz/Aufklärung/Bewusstsein 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Zusammenleben/Gestaltung der Beziehungen zu Robotern 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Ökonomische Konsequenzen und Faktoren 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Sicherheit/Datenschutz/Haftung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Regulierung/Abschätzung von Folgen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung/Abschätzung von Folgen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Roboter/Technologien 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Roboter/Technologien"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Der Mensch/die Menschheit/Menschen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Patient*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Patient*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Arbeitnehmer*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Stakeholder 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\User*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Der Mensch/die Menschheit/Menschen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Ethikräte 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Ethikräte"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Patient*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Patient*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\User*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Demokratische/Politische/Staatliche InstanzenInstanzen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche InstanzenInstanzen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Rechtliche Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Ökonomische Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Soziale Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Rechtliche Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Politische Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Moralische Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Fremdzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Selbstzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Leugnung/Ablehnung_Fremdzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Leugnung/Ablehnung_Selbstzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Retrospektiv nicht explitzit negativ/positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Retrospektiv positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Retrospektiv negativ 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Prospektiv nicht explizit negativ/positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Prospektiv positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Prospektiv negativ 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Nicht zuweisbar 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Künstler*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Presseorgane & Journalist*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Gesellschaftliche Interessenvertretungen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Rechtliche Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Private User*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Politische Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Hersteller*innen und Verkäufer*innen von Social Robotics 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Mitglieder von Ethikräten & Philosoph*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Forschungseinrichtungen und Wissenschaftler*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Der Mensch/die Menschheit/die Menschen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Künstler*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Künstler*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Forschungseinrichtungen und Wissenschaftler*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Mitglieder von Ethikräten & Philosoph*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Hersteller*innen und Verkäufer*innen von Social Robotics 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Politische Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Private User*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Technologien wird indirekt selbst Verantwortung zugewiesen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Entwicklung/Herstellung von SR 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Einsatz von SR in Pflege/Therapie/Bildung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einsatz von SR in Pflege/Therapie/Bildung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Diskurs/Transparenz/Aufklärung/Bewusstsein 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Zusammenleben/Gestaltung der Beziehungen zu Robotern 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Sicherheit/Datenschutz/Haftung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Regulierung/Abschätzung von Folgen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung/Abschätzung von Folgen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Roboter/Technologien 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Roboter/Technologien"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Der Mensch/die Menschheit/Menschen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Geschädigte 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Geschädigte"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Patient*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Patient*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Arbeitnehmer*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\User*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Kinder & Jugendliche 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Der Mensch/die Menschheit/Menschen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Ethikräte 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Ethikräte"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Patient*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Patient*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\User*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Demokratische/Politische/Staatliche Instanzen Instanzen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen Instanzen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Rechtliche Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Soziale Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Rechtliche Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Politische Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Moralische Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Fremdzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Selbstzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Leugnung/Ablehnung_Fremdzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Retrospektiv nicht explitzit negativ/positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Retrospektiv positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Retrospektiv negativ 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Prospektiv nicht explizit negativ/positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Prospektiv positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Prospektiv negativ 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Künstler*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Presseorgane & Journalist*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Gesellschaftliche Interessenvertretungen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Kommerzielle/Öffentliche Unternehmen/Einrichtungen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Kommerzielle/Öffentliche Unternehmen/Einrichtungen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Hersteller*innen und Verkäufer*innen von Social Robotics 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Mitglieder von Ethikräten & Philosoph*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Forschungseinrichtungen und Wissenschaftler*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Künstler*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Künstler*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Der Mensch/die Menschheit/die Menschen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Forschungseinrichtungen und Wissenschaftler*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Mitglieder von Ethikräten & Philosoph*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Hersteller*innen und Verkäufer*innen von Social Robotics 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Einrichtungen und Subjekte im Gesundheitsbereich 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Einrichtungen und Subjekte im Gesundheitsbereich"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Politische Entscheidungsträger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Private User*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Technologien wird indirekt selbst Verantwortung zugewiesen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Entwicklung/Herstellung von SR 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Einsatz von SR in Pflege/Therapie/Bildung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einsatz von SR in Pflege/Therapie/Bildung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Diskurs/Transparenz/Aufklärung/Bewusstsein 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Zusammenleben/Gestaltung der Beziehungen zu Robotern 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Regulierung/Abschätzung von Folgen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung/Abschätzung von Folgen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Roboter/Technologien 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Roboter/Technologien"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Der Mensch/die Menschheit/Menschen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Patient*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Patient*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Arbeitnehmer*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Stakeholder 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\User*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Kinder & Jugendliche 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\Der Mensch/die Menschheit/Menschen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\Patient*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Patient*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Soziale Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Rechtliche Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Politische Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Moralische Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 4\Modi der Verantwortungszuweisung 4\Fremdzuschreibung_4", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 4\Modi der Verantwortungszuweisung 4\Selbstzuschreibung_4", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Retrospektiv negativ 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Prospektiv nicht explizit negativ/positiv 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Prospektiv positiv 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Prospektiv negativ 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Künstler*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Presseorgane & Journalist*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Gesellschaftliche Interessenvertretungen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Mitglieder von Ethikräten & Philosoph*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Forschungseinrichtungen und Wissenschaftler*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Der Mensch/die Menschheit/die Menschen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\nicht zuweisbar 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Mitglieder von Ethikräten & Philosoph*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Hersteller*innen und Verkäufer*innen von Social Robotics 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Kommerzielle/Öffentliche Unternehmen/Einrichtungen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Kommerzielle/Öffentliche Unternehmen/Einrichtungen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Politische Entscheidungsträger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Technologien wird indirekt selbst Verantwortung zugewiesen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Entwicklung/Herstellung von SR 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Einsatz von SR in Pflege/Therapie/Bildung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einsatz von SR in Pflege/Therapie/Bildung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Regulierung/Abschätzung von Folgen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung/Abschätzung von Folgen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Diskurs/Transparenz/Aufklärung/Bewusstsein 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Zusammenleben/Gestaltung der Beziehungen zu Robotern 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Sicherheit/Datenschutz/Haftung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Roboter/Technologien 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Roboter/Technologien"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Der Mensch/die Menschheit/Menschen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\nicht zuweisbar 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Patient*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Patient*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Arbeitnehmer*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Kinder & Jugendliche 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Der Mensch/die Menschheit/Menschen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Demokratische/Politische/Staatliche Instanzen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Rechtliche Entscheidungsträger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\nicht zuweisbar 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Soziale Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Rechtliche Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Politische Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Moralische Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 5\Modi der Verantwortungszuweisung 5\Fremdzuschreibung_5", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 5\Modi der Verantwortungszuweisung 5\Selbstzuschreibung_5", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Retrospektiv positiv 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Prospektiv nicht explizit negativ/positiv 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Prospektiv positiv 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Prospektiv negativ 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Künstler*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Presseorgane & Journalist*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Gesellschaftliche Interessenvertretungen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Mitglieder von Ethikräten & Philosoph*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Forschungseinrichtungen und Wissenschaftler*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\nicht zuweisbar 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Hersteller*innen und Verkäufer*innen von Social Robotics 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Kommerzielle/Öffentliche Unternehmen/Einrichtungen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Kommerzielle/Öffentliche Unternehmen/Einrichtungen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Einrichtungen und Subjekte im Gesundheitsbereich 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Einrichtungen und Subjekte im Gesundheitsbereich"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Politische Entscheidungsträger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Gesellschaft/Bürger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Technologien wird indirekt selbst Verantwortung zugewiesen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Entwicklung/Herstellung von SR 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Einsatz von SR in Pflege/Therapie/Bildung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einsatz von SR in Pflege/Therapie/Bildung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Regulierung/Abschätzung von Folgen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung/Abschätzung von Folgen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Einfluss auf Gesellschaft/Sozialität/Selbstverständnis Mensch"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Zusammenleben/Gestaltung der sozialen Beziehungen etc. 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der sozialen Beziehungen etc."),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Sicherheit/Datenschutz/Haftung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\Der Mensch/die Menschheit/Menschen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\nicht zuweisbar 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\Patient*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Patient*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\Stakeholder 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\User*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\Gesellschaft/Bürger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Der Mensch/die Menschheit/Menschen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Marktakteur*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Demokratische/Politische/Staatliche Instanzen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Rechtliche Entscheidungsträger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Gesellschaft/Bürger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\nicht zuweisbar 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Ökonomische Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Soziale Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Rechtliche Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Politische Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Moralische Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 6\Modi der Verantwortungszuweisung 6\Fremdzuschreibung_6", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 6\Modi der Verantwortungszuweisung 6\Selbstzuschreibung_6", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Retrospektiv negativ 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Prospektiv nicht explizit negativ/positiv 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Prospektiv positiv 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Prospektiv negativ 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Künstler*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Presseorgane & Journalist*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Gesellschaftliche Interessenvertretungen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Mitglieder von Ethikräten & Philosoph*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Forschungseinrichtungen und Wissenschaftler*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Der Mensch/die Menschheit/die Menschen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Forschungseinrichtungen und Wissenschaftler*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Bildungseinrichtungen & Lehrkräfte 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Hersteller*innen und Verkäufer*innen von Social Robotics 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Kommerzielle/Öffentliche Unternehmen/Einrichtungen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Kommerzielle/Öffentliche Unternehmen/Einrichtungen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Politische Entscheidungsträger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Private User*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Gesellschaft/Bürger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Entwicklung/Herstellung von SR 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung/Herstellung von SR"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Diskurs/Transparenz/Aufklärung/Bewusstsein 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Zusammenleben/Gestaltung der Beziehungen zu Robotern 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Sicherheit/Datenschutz/Haftung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Der Mensch/die Menschheit/Menschen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\nicht zuweisbar 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Arbeitnehmer*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\User*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Kinder & Jugendliche 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Gesellschaft/Bürger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\Gesellschaft/Bürger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\nicht zuweisbar 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Ökonomische Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Politische Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Moralische Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 7\Modi der Verantwortungszuweisung 7\Fremdzuschreibung_7", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 7\Modi der Verantwortungszuweisung 7\Selbstzuschreibung_7", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Retrospektiv negativ 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Prospektiv nicht explizit negativ/positiv 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Prospektiv positiv 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Prospektiv negativ 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Künstler*innen 8", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Mitglieder von Ethikräten & Philosoph*innen 8 ", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Forschungseinrichtungen und Wissenschaftler*innen 8", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Hersteller*innen und Verkäufer*innen von Social Robotics 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Politische Entscheidungsträger*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Gesellschaft/Bürger*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Diskurs/Transparenz/Aufklärung/Bewusstsein 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Zusammenleben/Gestaltung der Beziehungen zu Robotern 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\Der Mensch/die Menschheit/Menschen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\nicht zuweisbar 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\Gesellschaft/Bürger*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Instanz 8\nicht zuweisbar 8", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Normative Kriterien 8\Soziale Verantwortung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Normative Kriterien 8\Moralische Verantwortung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 8\Modi der Verantwortungszuweisung 8\Fremdzuschreibung_8", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 8\Modi der Verantwortungszuweisung 8\Selbstzuschreibung_8", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Retrospektiv negativ 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Prospektiv nicht explizit negativ/positiv 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Prospektiv positiv 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 9\Zuweisende Partei/Sprecher*in 9\Künstler*innen 9", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 9\Zuweisende Partei/Sprecher*in 9\Mitglieder von Ethikräten & Philosoph*innen 9", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Subjekt 9\Bildungseinrichtungen & Lehrkräfte 9", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Subjekt 9\Hersteller*innen und Verkäufer*innen von Social Robotics 9", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Objekt 9\Diskurs/Transparenz/Aufklärung/Bewusstsein 9", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparenz/Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Objekt 9\Sicherheit/Datenschutz/Haftung 9", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Sicherheit/Datenschutz/Haftung"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Adressat*in 9\Stakeholder 9", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Adressat*in 9\Kinder & Jugendliche 9", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Instanz 9\Marktakteur*innen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Instanz 9\nicht zuweisbar 9", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Normative Kriterien 9\Ökonomische Verantwortung 9", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Normative Kriterien 9\Soziale Verantwortung 9", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 9\Modi der Verantwortungszuweisung 9\Fremdzuschreibung_9", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 9\Zeit und Qualität der Verantwortungszuweisung 9\Prospektiv nicht explizit negativ/positiv 9", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 10\Zuweisende Partei/Sprecher*in 10\Mitglieder von Ethikräten & Philosoph*innen 10", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Subjekt 10\Der Mensch/die Menschheit/die Menschen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Objekt 10\Zusammenleben/Gestaltung der Beziehungen zu Robotern 10", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Zusammenleben/Gestaltung der Beziehungen zu Robotern"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Adressat*in 10\nicht zuweisbar 10", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Instanz 10\Der Mensch/die Menschheit/Menschen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Normative Kriterien 10\Moralische Verantwortung 10", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 10\Modi der Verantwortungszuweisung 10\Fremdzuschreibung_10", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 10\Zeit und Qualität der Verantwortungszuweisung 10\Prospektiv positiv 10", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
]
class TransformRule15(TransformRule):
# Rules for Transforming Vertiefungsanalyse zu SM
# With case handling of 'SpecialPathCase' (the logic leading to these cases can be found by searching for 'SpecialPathCase')
# There are two kinds of cats: Those with and those without 'Verantwortungsreferenz' leading their value
# The following list 'cat_replacements' was created by an intermediate manual step with this code:
# for c_old in gdc.cats_list:
# c_new = c_old
# if c_old.startswith("Verantwortungsreferenz "):
# c_new = re.sub(r" \d+", "", c_old)
# print(f'(r"{c_old}", r"{c_new}"),')
cat_replacements = [
(r"negativ", r"negativ"),
(r"überwiegend negativ", r"überwiegend negativ"),
(r"ambivalent", r"ambivalent"),
(r"überwiegend positiv ", r"überwiegend positiv "),
(r"positiv", r"positiv"),
(r"keine Tonalität ggü. KI, Algorithmen, Automatisierung", r"keine Tonalität ggü. KI, Algorithmen, Automatisierung"),
(r"Datenschutz, Privatsphäre, Überwachung", r"Datenschutz, Privatsphäre, Überwachung"),
(r"Intransparenz (Blackbox)", r"Intransparenz (Blackbox)"),
(r"Haftung/Verantwortung", r"Haftung/Verantwortung"),
(r"Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen", r"Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen"),
(r"Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein", r"Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein"),
(r"Kommodifizierung der Nutzer (Ausbeutung)", r"Kommodifizierung der Nutzer (Ausbeutung)"),
(r"Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny ", r"Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny "),
(r"Diskriminierung, Ungleichheit", r"Diskriminierung, Ungleichheit"),
(r"mangelnde Qualität der Automatisierung, Algorithmen, Ki", r"mangelnde Qualität der Automatisierung, Algorithmen, Ki"),
(r"ethisch, moralisch, philosophische Fragen der KI, Algorithmen", r"ethisch, moralisch, philosophische Fragen der KI, Algorithmen"),
(r"Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup", r"Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup"),
(r"Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit", r"Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit"),
(r"IT-/KI-Security (Sicherheit vor Hackern etc)", r"IT-/KI-Security (Sicherheit vor Hackern etc)"),
(r"Ungleichheit bei Sozialabgaben / Steuergerechtigkeit", r"Ungleichheit bei Sozialabgaben / Steuergerechtigkeit"),
(r"Wirtschaftlichkeit und Effizienz ", r"Wirtschaftlichkeit und Effizienz "),
(r"Mängel bei produktiver Effizienz", r"Mängel bei produktiver Effizienz"),
(r"Investitionsrisiko", r"Investitionsrisiko"),
(r"mangelnde Adaption/Literacy/Ausbildung/Bildung", r"mangelnde Adaption/Literacy/Ausbildung/Bildung"),
(r"mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft", r"mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft"),
(r"Arbeitsplatzverluste / Zukünftige Arbeit", r"Arbeitsplatzverluste / Zukünftige Arbeit"),
(r"Marktmacht, Monopolisierung", r"Marktmacht, Monopolisierung"),
(r"Fiction Film, Literatur, Spiel, Kunst", r"Fiction Film, Literatur, Spiel, Kunst"),
(r"Analogien zu Science Fiction Figuren und Welten", r"Analogien zu Science Fiction Figuren und Welten"),
(r"False Positive", r"False Positive"),
(r"SM oder algorithmen, etc. nur Nebenthema", r"SM oder algorithmen, etc. nur Nebenthema"),
(r"SM oder algorithmen, automatisierung, etc. nicht Thema", r"SM oder algorithmen, automatisierung, etc. nicht Thema"),
(r"Kein Verantwortungsverweis", r"Kein Verantwortungsverweis"),
(r"Wiederholung von bereits codiertem Artikel", r"Wiederholung von bereits codiertem Artikel"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Presseorgane & Journalist*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Internetplattformen & Social Media-Anbieter*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Rechtliche Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Private User*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Politische Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Gesellschaftliche Interessenvertretungen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Softwareentwickler*innen & Programmierer*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Mitglieder von Ethikräten & Philosoph*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Forschungseinrichtungen und Wissenschaftler*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 1\Zuweisende Partei/Sprecher*in 1\Künstler*innen 1", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Presseorgane & Journalist*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Internetplattformen & Social Media-Anbieter*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Rechtliche Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Private User*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Politische Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Softwareentwickler*innen & Programmierer*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Datenanalyst*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Mitglieder von Ethikräten & Philosoph*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Bildungseinrichtungen & Lehrkräfte 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Forschungseinrichtungen und Wissenschaftler*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\Technologien wird indirekt selbst Verantwortung zugewiesen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Subjekt 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Datenschutz/Transparenz/Privatsphäre/Sicherheit 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Kontrolle von Inhalten 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Politischer Einfluss & Meinungsbildung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Medienbildung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Ökonomische Konsequenzen und Faktoren 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Objekt 1\Entwicklung von Algorithmen/Technologien 1", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung von Algorithmen/Technologien"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Geschädigte 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Geschädigte"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Arbeitnehmer*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Stakeholder 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\User*innen/Leser*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Kinder & Jugendliche 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Adressat*in 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\User*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Marktakteur*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Demokratische/Politische/Staatliche Instanzen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Rechtliche Entscheidungsträger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\Gesellschaft/Bürger*innen 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Instanz 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\nicht zuweisbar 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Ökonomische Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Soziale Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Rechtliche Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Politische Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 1\Relata der Verantwortung 1\Normative Kriterien 1\Moralische Verantwortung 1", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Fremdzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Selbstzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Leugnung/Ablehnung_Fremdzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 1\Modi der Verantwortungszuweisung 1\Leugnung/Ablehnung_Selbstzuschreibung_1", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Retrospektiv positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Retrospektiv negativ 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Prospektiv nicht explizit negativ/positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Prospektiv positiv 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 1\Zeit und Qualität der Verantwortungszuweisung 1\Prospektiv negativ 1", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Presseorgane & Journalist*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Internetplattformen & Social Media-Anbieter*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Rechtliche Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Private User*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Politische Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Gesellschaftliche Interessenvertretungen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Datenanalyst*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Datenanalyst*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Mitglieder von Ethikräten & Philosoph*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Bildungseinrichtungen & Lehrkräfte 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 2\Zuweisende Partei/Sprecher*in 2\Forschungseinrichtungen und Wissenschaftler*innen 2", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Presseorgane & Journalist*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Internetplattformen & Social Media-Anbieter*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Rechtliche Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Private User*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Politische Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.) 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.)"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Softwareentwickler*innen & Programmierer*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Datenanalyst*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Mitglieder von Ethikräten & Philosoph*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Bildungseinrichtungen & Lehrkräfte 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Forschungseinrichtungen und Wissenschaftler*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\Technologien wird indirekt selbst Verantwortung zugewiesen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Subjekt 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Datenschutz/Transparenz/Privatsphäre/Sicherheit 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Kontrolle von Inhalten 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Politischer Einfluss & Meinungsbildung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Medienbildung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Ökonomische Konsequenzen und Faktoren 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Objekt 2\Entwicklung von Algorithmen/Technologien 2", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung von Algorithmen/Technologien"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Geschädigte 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Geschädigte"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Stakeholder 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\User*innen/Leser*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Kinder & Jugendliche 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Adressat*in 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\User*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Marktakteur*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Demokratische/Politische/Staatliche Instanzen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Rechtliche Entscheidungsträger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\Gesellschaft/Bürger*innen 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Instanz 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\nicht zuweisbar 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Ökonomische Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Soziale Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Rechtliche Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Politische Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 2\Relata der Verantwortung 2\Normative Kriterien 2\Moralische Verantwortung 2", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Fremdzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Selbstzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Leugnung/Ablehnung_Fremdzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 2\Modi der Verantwortungszuweisung 2\Leugnung/Ablehnung_Selbstzuschreibung_2", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Retrospektiv nicht explitzit negativ/positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Retrospektiv positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Retrospektiv negativ 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Prospektiv nicht explizit negativ/positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Prospektiv positiv 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 2\Zeit und Qualität der Verantwortungszuweisung 2\Prospektiv negativ 2", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Presseorgane & Journalist*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Internetplattformen & Social Media-Anbieter*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Rechtliche Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Politische Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Gesellschaftliche Interessenvertretungen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Datenanalyst*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Datenanalyst*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Mitglieder von Ethikräten & Philosoph*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 3\Zuweisende Partei/Sprecher*in 3\Forschungseinrichtungen und Wissenschaftler*innen 3", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Presseorgane & Journalist*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Internetplattformen & Social Media-Anbieter*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Rechtliche Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Private User*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Politische Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.) 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.)"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Softwareentwickler*innen & Programmierer*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Datenanalyst*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Mitglieder von Ethikräten & Philosoph*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Bildungseinrichtungen & Lehrkräfte 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Forschungseinrichtungen und Wissenschaftler*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\Technologien wird indirekt selbst Verantwortung zugewiesen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Subjekt 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Datenschutz/Transparenz/Privatsphäre/Sicherheit 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Kontrolle von Inhalten 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Politischer Einfluss & Meinungsbildung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Medienbildung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Ökonomische Konsequenzen und Faktoren 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Objekt 3\Entwicklung von Algorithmen/Technologien 3", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung von Algorithmen/Technologien"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Der Mensch/die Menschheit/Menschen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Der Mensch/die Menschheit/Menschen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Stakeholder 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\User*innen/Leser*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Kinder & Jugendliche 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Adressat*in 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\User*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Marktakteur*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Demokratische/Politische/Staatliche Instanzen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Rechtliche Entscheidungsträger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\Gesellschaft/Bürger*innen 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Instanz 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\nicht zuweisbar 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Ökonomische Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Soziale Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Rechtliche Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Politische Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 3\Relata der Verantwortung 3\Normative Kriterien 3\Moralische Verantwortung 3", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Fremdzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Selbstzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Leugnung/Ablehnung_Fremdzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 3\Modi der Verantwortungszuweisung 3\Leugnung/Ablehnung_Selbstzuschreibung_3", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Retrospektiv positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Retrospektiv negativ 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Prospektiv nicht explizit negativ/positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Prospektiv positiv 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 3\Zeit und Qualität der Verantwortungszuweisung 3\Prospektiv negativ 3", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Presseorgane & Journalist*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Internetplattformen & Social Media-Anbieter*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Politische Entscheidungsträger*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Gesellschaftliche Interessenvertretungen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Mitglieder von Ethikräten & Philosoph*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 4\Zuweisende Partei/Sprecher*in 4\Forschungseinrichtungen und Wissenschaftler*innen 4", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Presseorgane & Journalist*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Internetplattformen & Social Media-Anbieter*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Private User*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Politische Entscheidungsträger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Softwareentwickler*innen & Programmierer*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Datenanalyst*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Bildungseinrichtungen & Lehrkräfte 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\Technologien wird indirekt selbst Verantwortung zugewiesen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Subjekt 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Datenschutz/Transparenz/Privatsphäre/Sicherheit 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Kontrolle von Inhalten 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Politischer Einfluss & Meinungsbildung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Medienbildung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Ökonomische Konsequenzen und Faktoren 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Objekt 4\Entwicklung von Algorithmen/Technologien 4", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung von Algorithmen/Technologien"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Geschädigte 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Geschädigte"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Stakeholder 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\User*innen/Leser*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Kinder & Jugendliche 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Adressat*in 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\User*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\Marktakteur*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\Demokratische/Politische/Staatliche Instanzen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\Gesellschaft/Bürger*innen 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Instanz 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\nicht zuweisbar 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\nicht zuweisbar"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Ökonomische Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Soziale Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Rechtliche Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Politische Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 4\Relata der Verantwortung 4\Normative Kriterien 4\Moralische Verantwortung 4", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 4\Modi der Verantwortungszuweisung 4\Fremdzuschreibung_4", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 4\Modi der Verantwortungszuweisung 4\Selbstzuschreibung_4", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 4\Modi der Verantwortungszuweisung 4\Leugnung/Ablehnung_Selbstzuschreibung_4", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Retrospektiv positiv 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Retrospektiv negativ 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Prospektiv nicht explizit negativ/positiv 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Prospektiv positiv 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 4\Zeit und Qualität der Verantwortungszuweisung 4\Prospektiv negativ 4", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Presseorgane & Journalist*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Internetplattformen & Social Media-Anbieter*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Politische Entscheidungsträger*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Gesellschaftliche Interessenvertretungen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Softwareentwickler*innen & Programmierer*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Mitglieder von Ethikräten & Philosoph*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 5\Zuweisende Partei/Sprecher*in 5\Forschungseinrichtungen und Wissenschaftler*innen 5", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Presseorgane & Journalist*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Internetplattformen & Social Media-Anbieter*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Politische Entscheidungsträger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.) 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.)"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Softwareentwickler*innen & Programmierer*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Softwareentwickler*innen & Programmierer*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Bildungseinrichtungen & Lehrkräfte 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\Technologien wird indirekt selbst Verantwortung zugewiesen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Subjekt 5\nicht zuweisbar 5", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\nicht zuweisbar"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Datenschutz/Transparenz/Privatsphäre/Sicherheit 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Kontrolle von Inhalten 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Politischer Einfluss & Meinungsbildung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Medienbildung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Ökonomische Konsequenzen und Faktoren 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Objekt 5\Entwicklung von Algorithmen/Technologien 5", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung von Algorithmen/Technologien"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Arbeitnehmer*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Stakeholder 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\User*innen/Leser*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Kinder & Jugendliche 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Adressat*in 5\nicht zuweisbar 5", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Marktakteur*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Demokratische/Politische/Staatliche Instanzen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Rechtliche Entscheidungsträger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\Gesellschaft/Bürger*innen 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Instanz 5\nicht zuweisbar 5", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Ökonomische Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Soziale Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Rechtliche Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Politische Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 5\Relata der Verantwortung 5\Normative Kriterien 5\Moralische Verantwortung 5", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 5\Modi der Verantwortungszuweisung 5\Fremdzuschreibung_5", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 5\Modi der Verantwortungszuweisung 5\Selbstzuschreibung_5", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 5\Modi der Verantwortungszuweisung 5\Leugnung/Ablehnung_Fremdzuschreibung_5", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 5\Modi der Verantwortungszuweisung 5\Leugnung/Ablehnung_Selbstzuschreibung_5", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Retrospektiv positiv 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Retrospektiv negativ 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Prospektiv nicht explizit negativ/positiv 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Prospektiv positiv 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 5\Zeit und Qualität der Verantwortungszuweisung 5\Prospektiv negativ 5", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Presseorgane & Journalist*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Private User*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Politische Entscheidungsträger*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Gesellschaftliche Interessenvertretungen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 6\Zuweisende Partei/Sprecher*in 6\Forschungseinrichtungen und Wissenschaftler*innen 6", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Presseorgane & Journalist*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Internetplattformen & Social Media-Anbieter*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Gesellschaft/Bürger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Politische Entscheidungsträger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.) 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.)"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Datenanalyst*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Subjekt 6\Forschungseinrichtungen und Wissenschaftler*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Datenschutz/Transparenz/Privatsphäre/Sicherheit 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Kontrolle von Inhalten 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Politischer Einfluss & Meinungsbildung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Medienbildung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Ökonomische Konsequenzen und Faktoren 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Objekt 6\Entwicklung von Algorithmen/Technologien 6", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Entwicklung von Algorithmen/Technologien"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\Stakeholder 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\User*innen/Leser*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\Gesellschaft/Bürger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Adressat*in 6\nicht zuweisbar 6", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Marktakteur*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Demokratische/Politische/Staatliche Instanzen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Rechtliche Entscheidungsträger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Rechtliche Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\Gesellschaft/Bürger*innen 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Instanz 6\nicht zuweisbar 6", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Ökonomische Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Soziale Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Rechtliche Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Rechtliche Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Politische Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 6\Relata der Verantwortung 6\Normative Kriterien 6\Moralische Verantwortung 6", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 6\Modi der Verantwortungszuweisung 6\Fremdzuschreibung_6", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 6\Modi der Verantwortungszuweisung 6\Selbstzuschreibung_6", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Retrospektiv negativ 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Prospektiv nicht explizit negativ/positiv 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 6\Zeit und Qualität der Verantwortungszuweisung 6\Prospektiv negativ 6", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Presseorgane & Journalist*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Gesellschaftliche Interessenvertretungen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Datenanalyst*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Datenanalyst*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Mitglieder von Ethikräten & Philosoph*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 7\Zuweisende Partei/Sprecher*in 7\Forschungseinrichtungen und Wissenschaftler*innen 7", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Presseorgane & Journalist*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Internetplattformen & Social Media-Anbieter*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Gesellschaft/Bürger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Private User*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Politische Entscheidungsträger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Subjekt 7\Forschungseinrichtungen und Wissenschaftler*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Datenschutz/Transparenz/Privatsphäre/Sicherheit 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Politischer Einfluss & Meinungsbildung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Medienbildung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Ökonomische Konsequenzen und Faktoren 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Objekt 7\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 7", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Arbeitnehmer*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Stakeholder 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\User*innen/Leser*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\Gesellschaft/Bürger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Adressat*in 7\nicht zuweisbar 7", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\User*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\User*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\Marktakteur*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Marktakteur*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\Demokratische/Politische/Staatliche Instanzen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\Gesellschaft/Bürger*innen 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Instanz 7\nicht zuweisbar 7", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Ökonomische Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Ökonomische Verantwortung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Soziale Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Politische Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 7\Relata der Verantwortung 7\Normative Kriterien 7\Moralische Verantwortung 7", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 7\Modi der Verantwortungszuweisung 7\Fremdzuschreibung_7", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 7\Modi der Verantwortungszuweisung 7\Selbstzuschreibung_7", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 7\Modi der Verantwortungszuweisung 7\Leugnung/Ablehnung_Fremdzuschreibung_7", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Prospektiv nicht explizit negativ/positiv 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Prospektiv positiv 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 7\Zeit und Qualität der Verantwortungszuweisung 7\Prospektiv negativ 7", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Presseorgane & Journalist*innen 8", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Gesellschaftliche Interessenvertretungen 8", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Mitglieder von Ethikräten & Philosoph*innen 8", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 8\Zuweisende Partei/Sprecher*in 8\Forschungseinrichtungen und Wissenschaftler*innen 8", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Internetplattformen & Social Media-Anbieter*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Gesellschaft/Bürger*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Politische Entscheidungsträger*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Datenanalyst*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Mitglieder von Ethikräten & Philosoph*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Subjekt 8\Bildungseinrichtungen & Lehrkräfte 8", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Kontrolle von Inhalten 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Konsequenzen für Gesellschaft/Sozialität/Kommunikation 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Konsequenzen für Gesellschaft/Sozialität/Kommunikation"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Politischer Einfluss & Meinungsbildung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Medienbildung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Medienbildung"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Objekt 8\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 8", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\User*innen/Leser*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\Kinder & Jugendliche 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Kinder & Jugendliche"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\Gesellschaft/Bürger*innen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Adressat*in 8\nicht zuweisbar 8", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Instanz 8\Demokratische/Politische/Staatliche Instanzen 8", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Instanz 8\nicht zuweisbar 8", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Normative Kriterien 8\Soziale Verantwortung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Normative Kriterien 8\Politische Verantwortung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 8\Relata der Verantwortung 8\Normative Kriterien 8\Moralische Verantwortung 8", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 8\Modi der Verantwortungszuweisung 8\Fremdzuschreibung_8", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 8\Modi der Verantwortungszuweisung 8\Selbstzuschreibung_8", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 8\Modi der Verantwortungszuweisung 8\Leugnung/Ablehnung_Fremdzuschreibung_8", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Retrospektiv nicht explitzit negativ/positiv 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Prospektiv nicht explizit negativ/positiv 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Prospektiv positiv 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 8\Zeit und Qualität der Verantwortungszuweisung 8\Prospektiv negativ 8", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 9\Zuweisende Partei/Sprecher*in 9\Presseorgane & Journalist*innen 9", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 9\Zuweisende Partei/Sprecher*in 9\Gesellschaftliche Interessenvertretungen 9", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 9\Zuweisende Partei/Sprecher*in 9\Mitglieder von Ethikräten & Philosoph*innen 9", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Subjekt 9\Internetplattformen & Social Media-Anbieter*innen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Subjekt 9\Gesellschaft/Bürger*innen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Subjekt 9\Politische Entscheidungsträger*innen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Subjekt 9\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.) 9", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaftliche Interessenvertretungen (NGOs, Vereine etc.)"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Objekt 9\Kontrolle von Inhalten 9", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Kontrolle von Inhalten"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Objekt 9\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 9", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Objekt 9\Politischer Einfluss & Meinungsbildung 9", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Objekt 9\Diskurs/Transparente Komm./Aufklärung/Bewusstsein 9", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Adressat*in 9\User*innen/Leser*innen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Adressat*in 9\Gesellschaft/Bürger*innen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Instanz 9\Demokratische/Politische/Staatliche Instanzen 9", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Instanz 9\nicht zuweisbar 9", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Normative Kriterien 9\Soziale Verantwortung 9", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 9\Relata der Verantwortung 9\Normative Kriterien 9\Politische Verantwortung 9", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 9\Modi der Verantwortungszuweisung 9\Fremdzuschreibung_9", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 9\Modi der Verantwortungszuweisung 9\Leugnung/Ablehnung_Fremdzuschreibung_9", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 9\Zeit und Qualität der Verantwortungszuweisung 9\Prospektiv nicht explizit negativ/positiv 9", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 9\Zeit und Qualität der Verantwortungszuweisung 9\Prospektiv positiv 9", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 9\Zeit und Qualität der Verantwortungszuweisung 9\Prospektiv negativ 9", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 10\Zuweisende Partei/Sprecher*in 10\Presseorgane & Journalist*innen 10", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen"),
(r"Verantwortungsreferenz 10\Zuweisende Partei/Sprecher*in 10\Gesellschaftliche Interessenvertretungen 10", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 10\Zuweisende Partei/Sprecher*in 10\Mitglieder von Ethikräten & Philosoph*innen 10", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Subjekt 10\Internetplattformen & Social Media-Anbieter*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Subjekt 10\Gesellschaft/Bürger*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Subjekt 10\Politische Entscheidungsträger*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Subjekt 10\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Objekt 10\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 10", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Objekt 10\Politischer Einfluss & Meinungsbildung 10", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Politischer Einfluss & Meinungsbildung"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Objekt 10\Ökonomische Konsequenzen und Faktoren 10", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Ökonomische Konsequenzen und Faktoren"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Objekt 10\Diskurs/Transparente Komm./Aufklärung/Bewusstsein10", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Diskurs/Transparente Komm./Aufklärung/Bewusstsein10"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Adressat*in 10\Arbeitnehmer*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Arbeitnehmer*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Adressat*in 10\Stakeholder 10", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Stakeholder"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Adressat*in 10\User*innen/Leser*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Adressat*in 10\Gesellschaft/Bürger*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Instanz 10\Demokratische/Politische/Staatliche Instanzen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Instanz 10\Gesellschaft/Bürger*innen 10", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Gesellschaft/Bürger*innen"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Instanz 10\nicht zuweisbar 10", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Normative Kriterien 10\Soziale Verantwortung 10", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Soziale Verantwortung"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Normative Kriterien 10\Politische Verantwortung 10", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 10\Relata der Verantwortung 10\Normative Kriterien 10\Moralische Verantwortung 10", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Moralische Verantwortung"),
(r"Verantwortungsreferenz 10\Modi der Verantwortungszuweisung 10\Fremdzuschreibung_10", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 10\Modi der Verantwortungszuweisung 10\Selbstzuschreibung_10", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 10\Modi der Verantwortungszuweisung 10\Leugnung/Ablehnung_Fremdzuschreibung_10", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz 10\Zeit und Qualität der Verantwortungszuweisung 10\Retrospektiv negativ 10", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ"),
(r"Verantwortungsreferenz 10\Zeit und Qualität der Verantwortungszuweisung 10\Prospektiv nicht explizit negativ/positiv 10", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
(r"Verantwortungsreferenz 10\Zeit und Qualität der Verantwortungszuweisung 10\Prospektiv positiv 10", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 10\Zeit und Qualität der Verantwortungszuweisung 10\Prospektiv negativ 10", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ"),
(r"Verantwortungsreferenz 11\Zuweisende Partei/Sprecher*in 11\Internetplattformen & Social Media-Anbieter*innen 11", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 11\Relata der Verantwortung 11\Subjekt 11\Internetplattformen & Social Media-Anbieter*innen 11", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen"),
(r"Verantwortungsreferenz 11\Relata der Verantwortung 11\Objekt 11\Datenschutz/Transparenz/Privatsphäre/Sicherheit 11", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Datenschutz/Transparenz/Privatsphäre/Sicherheit"),
(r"Verantwortungsreferenz 11\Relata der Verantwortung 11\Adressat*in 11\User*innen/Leser*innen 11", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\User*innen/Leser*innen"),
(r"Verantwortungsreferenz 11\Relata der Verantwortung 11\Instanz 11\Demokratische/Politische/Staatliche Instanzen 11", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\Demokratische/Politische/Staatliche Instanzen"),
(r"Verantwortungsreferenz 11\Relata der Verantwortung 11\Normative Kriterien 11\Politische Verantwortung 11", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 11\Modi der Verantwortungszuweisung 11\Selbstzuschreibung_11", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung"),
(r"Verantwortungsreferenz 11\Zeit und Qualität der Verantwortungszuweisung 11\Prospektiv positiv 11", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv"),
(r"Verantwortungsreferenz 12\Zuweisende Partei/Sprecher*in 12\Gesellschaftliche Interessenvertretungen 12", r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen"),
(r"Verantwortungsreferenz 12\Relata der Verantwortung 12\Subjekt 12\Politische Entscheidungsträger*innen 12", r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen"),
(r"Verantwortungsreferenz 12\Relata der Verantwortung 12\Objekt 12\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.) 12", r"Verantwortungsreferenz\Relata der Verantwortung\Objekt\Regulierung (durch Gesetze/Steuern/ethische Vorgaben etc.)"),
(r"Verantwortungsreferenz 12\Relata der Verantwortung 12\Adressat*in 12\nicht zuweisbar 12", r"Verantwortungsreferenz\Relata der Verantwortung\Adressat*in\nicht zuweisbar"),
(r"Verantwortungsreferenz 12\Relata der Verantwortung 12\Instanz 12\nicht zuweisbar 12", r"Verantwortungsreferenz\Relata der Verantwortung\Instanz\nicht zuweisbar"),
(r"Verantwortungsreferenz 12\Relata der Verantwortung 12\Normative Kriterien 12\Politische Verantwortung 12", r"Verantwortungsreferenz\Relata der Verantwortung\Normative Kriterien\Politische Verantwortung"),
(r"Verantwortungsreferenz 12\Modi der Verantwortungszuweisung 12\Fremdzuschreibung_12", r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung"),
(r"Verantwortungsreferenz 12\Zeit und Qualität der Verantwortungszuweisung 12\Prospektiv nicht explizit negativ/positiv 12", r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv"),
]
class TransformRule16(TransformRule): # TODO final Replace 'ZP_' with 'ZP: '
# Used on 'MARA_Full sample _1250320_V1.mx18.xlsx'
# The following cat_replacements list was made manually for each category with this script:
# str_old = "Leugnung/Ablehnung_Selbstzuschreibung_"
# str_new = "V: Leugnung/Ablehnung_Selbstzuschreibung"
# for cat in gdc.cats_list:
# if cat.startswith(str_old):
# print(f'(r"{cat}", r"{str_new}"),')
cat_replacements = [
(r"ZP_Politik_1", r"V: ZP_Politik"),
(r"ZP_Politik_2", r"V: ZP_Politik"),
(r"ZP_Politik_3", r"V: ZP_Politik"),
(r"ZP_Wirtschaft_1", r"V: ZP_Wirtschaft"),
(r"ZP_Wirtschaft_2", r"V: ZP_Wirtschaft"),
(r"ZP_Wirtschaft_3", r"V: ZP_Wirtschaft"),
(r"ZP_Wirtschaft_4", r"V: ZP_Wirtschaft"),
(r"ZP_Wirtschaft_5", r"V: ZP_Wirtschaft"),
(r"ZP_Wissenschaft/Bildung_1", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Wissenschaft/Bildung_2", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Wissenschaft/Bildung_3", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Wissenschaft/Bildung_4", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Wissenschaft/Bildung_5", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Wissenschaft/Bildung_6", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Wissenschaft/Bildung_7", r"V: ZP_Wissenschaft/Bildung"),
(r"ZP_Gesellschaft/Öffentlichkeit_1", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"ZP_Gesellschaft/Öffentlichkeit_2", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"ZP_Gesellschaft/Öffentlichkeit_3", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"ZP_Gesellschaft/Öffentlichkeit_4", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"ZP_Gesellschaft/Öffentlichkeit_5", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"ZP_Gesellschaft/Öffentlichkeit_6", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"ZP_Individuum/en_1", r"V: ZP_Individuum/en"),
(r"ZP_Individuum/en_2", r"V: ZP_Individuum/en"),
(r"ZP_Medien/Presse_1", r"V: ZP_Medien/Presse"),
(r"ZP_Medien/Presse_2", r"V: ZP_Medien/Presse"),
(r"ZP_Medien/Presse_3", r"V: ZP_Medien/Presse"),
(r"ZP_Kultur_1", r"V: ZP_Kultur"),
(r"VS_Politik_1", r"V: VS_Politik"),
(r"VS_Politik_2", r"V: VS_Politik"),
(r"VS_Politik_3", r"V: VS_Politik"),
(r"VS_Politik_4", r"V: VS_Politik"),
(r"VS_Politik_5", r"V: VS_Politik"),
(r"VS_Wirtschaft_1", r"V: VS_Wirtschaft"),
(r"VS_Wirtschaft_2", r"V: VS_Wirtschaft"),
(r"VS_Wirtschaft_3", r"V: VS_Wirtschaft"),
(r"VS_Wirtschaft_4", r"V: VS_Wirtschaft"),
(r"VS_Wirtschaft_5", r"V: VS_Wirtschaft"),
(r"VS_Rechtsorgane_1", r"V: VS_Rechtsorgane"),
(r"VS_Rechtsorgane_2", r"V: VS_Rechtsorgane"),
(r"VS_Wissenschaft/Bildung_1", r"V: VS_Wissenschaft/Bildung"),
(r"VS_Wissenschaft/Bildung_2", r"V: VS_Wissenschaft/Bildung"),
(r"VS_Wissenschaft/Bildung_3", r"V: VS_Wissenschaft/Bildung"),
(r"VS_Wissenschaft/Bildung_4", r"V: VS_Wissenschaft/Bildung"),
(r"VS_Wissenschaft/Bildung_5", r"V: VS_Wissenschaft/Bildung"),
(r"VS_Wissenschaft/Bildung_6", r"V: VS_Wissenschaft/Bildung"),
(r"VS_Gesellschaft/Öffentlichkeit_1", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Gesellschaft/Öffentlichkeit_2", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Gesellschaft/Öffentlichkeit_3", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Gesellschaft/Öffentlichkeit_4", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Gesellschaft/Öffentlichkeit_5", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Gesellschaft/Öffentlichkeit_6", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Gesellschaft/Öffentlichkeit_7", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"VS_Individuum/en_1", r"V: VS_Individuum/en"),
(r"VS_Individuum/en_2", r"V: VS_Individuum/en"),
(r"VS_Individuum/en_3", r"V: VS_Individuum/en"),
(r"VS_Individuum/en_4", r"V: VS_Individuum/en"),
(r"VS_Individuum/en_6", r"V: VS_Individuum/en"),
(r"VS_Medien/Presse_1", r"V: VS_Medien/Presse"),
(r"VS_Medien/Presse_3", r"V: VS_Medien/Presse"),
(r"Fremdzuschreibung_1", r"V: MVZ_Fremdzuschreibung"),
(r"Fremdzuschreibung_2", r"V: MVZ_Fremdzuschreibung"),
(r"Fremdzuschreibung_3", r"V: MVZ_Fremdzuschreibung"),
(r"Fremdzuschreibung_4", r"V: MVZ_Fremdzuschreibung"),
(r"Fremdzuschreibung_5", r"V: MVZ_Fremdzuschreibung"),
(r"Fremdzuschreibung_6", r"V: MVZ_Fremdzuschreibung"),
(r"Fremdzuschreibung_7", r"V: MVZ_Fremdzuschreibung"),
(r"Selbstzuschreibung_1", r"V: MVZ_Selbstzuschreibung"),
(r"Selbstzuschreibung_2", r"V: MVZ_Selbstzuschreibung"),
(r"Selbstzuschreibung_3", r"V: MVZ_Selbstzuschreibung"),
(r"Selbstzuschreibung_4", r"V: MVZ_Selbstzuschreibung"),
(r"Selbstzuschreibung_5", r"V: MVZ_Selbstzuschreibung"),
(r"Selbstzuschreibung_6", r"V: MVZ_Selbstzuschreibung"),
(r"Leugnung/Ablehnung_Fremdzuschreibung_1", r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Leugnung/Ablehnung_Fremdzuschreibung_2", r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Leugnung/Ablehnung_Fremdzuschreibung_4", r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Leugnung/Ablehnung_Fremdzuschreibung_5", r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Leugnung/Ablehnung_Selbstzuschreibung_3", r"V: MVZ_Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Leugnung/Ablehnung_Selbstzuschreibung_4", r"V: MVZ_Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Prospektive Verantwortung_1", r"V: ZD_Prospektive Verantwortung"),
(r"Prospektive Verantwortung_2", r"V: ZD_Prospektive Verantwortung"),
(r"Prospektive Verantwortung_3", r"V: ZD_Prospektive Verantwortung"),
(r"Prospektive Verantwortung_4", r"V: ZD_Prospektive Verantwortung"),
(r"Prospektive Verantwortung_5", r"V: ZD_Prospektive Verantwortung"),
(r"Retrospektive Verantwortung_1", r"V: ZD_Retrospektive Verantwortung"),
(r"Retrospektive Verantwortung_2", r"V: ZD_Retrospektive Verantwortung"),
(r"Retrospektive Verantwortung_3", r"V: ZD_Retrospektive Verantwortung"),
(r"Retrospektive Verantwortung_4", r"V: ZD_Retrospektive Verantwortung"),
(r"Retrospektive Verantwortung_5", r"V: ZD_Retrospektive Verantwortung"),
(r"Retrospektive Verantwortung_7", r"V: ZD_Retrospektive Verantwortung"),
]
class TransformRule17(TransformRule):
# Used on 'MARA_Full sample _1250320_V1.mx18.xlsx' after application of TransformRule16
cat_replacements = [
(r"V: ZP_Politik", r"V: Zuweisende Partei"),
(r"V: ZP_Wirtschaft", r"V: Zuweisende Partei"),
(r"V: ZP_Wissenschaft/Bildung", r"V: Zuweisende Partei"),
(r"V: ZP_Gesellschaft/Öffentlichkeit", r"V: Zuweisende Partei"),
(r"V: ZP_Individuum/en", r"V: Zuweisende Partei"),
(r"V: ZP_Medien/Presse", r"V: Zuweisende Partei"),
(r"V: ZP_Kultur", r"V: Zuweisende Partei"),
(r"V: VS_Politik", r"V: Verantwortungssubjekt"),
(r"V: VS_Wirtschaft", r"V: Verantwortungssubjekt"),
(r"V: VS_Rechtsorgane", r"V: Verantwortungssubjekt"),
(r"V: VS_Wissenschaft/Bildung", r"V: Verantwortungssubjekt"),
(r"V: VS_Gesellschaft/Öffentlichkeit", r"V: Verantwortungssubjekt"),
(r"V: VS_Individuum/en", r"V: Verantwortungssubjekt"),
(r"V: VS_Medien/Presse", r"V: Verantwortungssubjekt"),
(r"V: MVZ_Fremdzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: MVZ_Selbstzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: MVZ_Leugnung/Ablehnung_Selbstzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: ZD_Prospektive Verantwortung", r"V: Zeitliche Dimension"),
(r"V: ZD_Retrospektive Verantwortung", r"V: Zeitliche Dimension"),
]
class TransformRule18(TransformRule):
cat_replacements = [
(r"R: RT: Datenschutz, Privatsphäre, Überwachung", r"R: Risikotypen"),
(r"R: RT: Haftung/Verantwortung", r"R: Risikotypen"),
(r"R: RT: Manipulation, Verzerrung, Unwahrh, Filterblas, Polarisieru, Zen", r"R: Risikotypen"),
(r"R: RT: Souv-/Autonomie/Kontrollverlust,Fremdbest.,Überlegenh,Macht/Ein", r"R: Risikotypen"),
(r"R: RT: Intransparenz (Blackbox)", r"R: Risikotypen"),
(r"R: RT: Kommodifizierung der Nutzer (Ausbeutung)", r"R: Risikotypen"),
(r"R: RT: Sozialität, Entfremdung vom Natürlichen, Lebenssinn, uncanny", r"R: Risikotypen"),
(r"R: RT: Diskriminierung, Ungleichheit", r"R: Risikotypen"),
(r"R: RT: mangelnde Qualität der Automatisierung, Algorithmen, Ki", r"R: Risikotypen"),
(r"R: RT: Missbrauch d KI, Algorith durch Staat, Unternehm,Interessengrup", r"R: Risikotypen"),
(r"R: RT: ethisch, moralisch, philosophische Fragen der KI, Algorithmen", r"R: Risikotypen"),
(r"R: RT: Sicherheit (Safety), Unfälle, körperliche/psychische Sicherheit", r"R: Risikotypen"),
(r"R: RT: IT-/KI-Security (Sicherheit vor Hackern etc)", r"R: Risikotypen"),
(r"R: RT: Ungleichheit bei Sozialabgaben / Steuergerechtigkeit", r"R: Risikotypen"),
(r"R: RT: Wirtschaftlichkeit und Effizienz", r"R: Risikotypen"),
(r"R: RT: Wirtschaftlichkeit und Effizienz", r"R: Risikotypen"),
(r"R: RT: Wirtschaftlichkeit und Effizienz", r"R: Risikotypen"),
(r"R: RT: mangelnde Adaption/Literacy/Ausbildung/Bildung", r"R: Risikotypen"),
(r"R: RT: mangelnde Adpation v. Industrie, Wirtschaft, Volkswirtschaft", r"R: Risikotypen"),
(r"R: RT: Arbeitsplatzverluste / Zukünftige Arbeit", r"R: Risikotypen"),
(r"R: RT: Marktmacht, Monopolisierung", r"R: Risikotypen"),
]
class TransformRule19(TransformRule): # TODO final: Change all target cats to 'V: beinhaltet Verantwortungsreferenz'
cat_replacements = [
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen", r"V: ZP_Politik"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Kommerzielle/Öffentliche Unternehmen/Einrichtungen", r"V: ZP_Wirtschaft"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Hersteller*innen und Verkäufer*innen von Social Robotics", r"V: ZP_Wirtschaft"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Bildungseinrichtungen & Lehrkräfte", r"V: ZP_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen", r"V: ZP_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen", r"V: ZP_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen", r"V: ZP_Gesellschaft/Öffentlichkeit"),
# (r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen", r""), # In training data there could be a category 'ZP_Rechtsorgane' but it was never assigned and hence never got integrated into training. No need then to use it in evaluation
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Einrichtungen und Subjekte im Gesundheitsbereich", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen", r"V: ZP_Individuum/en"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen", r"V: ZP_Medien/Presse"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen", r"V: ZP_Kultur"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen", r"V: VS_Politik"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Kommerzielle/Öffentliche Unternehmen/Einrichtungen", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Hersteller*innen und Verkäufer*innen von Social Robotics", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen", r"V: VS_Rechtsorgane"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Öffentliche Institutionen (in Kultur, Bildung etc.)", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Der Mensch/die Menschheit/die Menschen", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Einrichtungen und Subjekte im Gesundheitsbereich", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen", r"V: VS_Individuum/en"),
# (r"Verantwortungsreferenz\\Relata der Verantwortung\\Subjekt\\Künstler*innen", r""), # In training data there could be a category 'VS_Kultur' but it was never assigned and hence never got integrated into training. No need then to use it in evaluation
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane/Journalist*innen/Medien", r"V: VS_Medien/Presse"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung", r"V: MVZ_Fremdzuschreibung"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung", r"V: MVZ_Selbstzuschreibung"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung", r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung", r"V: MVZ_Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ", r"V: ZD_Prospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv", r"V: ZD_Prospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv", r"V: ZD_Prospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ", r"V: ZD_Retrospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv", r"V: ZD_Retrospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv", r"V: ZD_Retrospektive Verantwortung"),
]
class TransformRule20(TransformRule): # TODO final: Change all target cats to 'V: beinhaltet Verantwortungsreferenz'
cat_replacements = [
(r"V: ZP_Politik", r"V: Zuweisende Partei"),
(r"V: ZP_Wirtschaft", r"V: Zuweisende Partei"),
(r"V: ZP_Wissenschaft/Bildung", r"V: Zuweisende Partei"),
(r"V: ZP_Gesellschaft/Öffentlichkeit", r"V: Zuweisende Partei"),
(r"V: ZP_Individuum/en", r"V: Zuweisende Partei"),
(r"V: ZP_Medien/Presse", r"V: Zuweisende Partei"),
(r"V: ZP_Kultur", r"V: Zuweisende Partei"),
(r"V: VS_Politik", r"V: Verantwortungssubjekt"),
(r"V: VS_Wirtschaft", r"V: Verantwortungssubjekt"),
(r"V: VS_Rechtsorgane", r"V: Verantwortungssubjekt"),
(r"V: VS_Wissenschaft/Bildung", r"V: Verantwortungssubjekt"),
(r"V: VS_Gesellschaft/Öffentlichkeit", r"V: Verantwortungssubjekt"),
(r"V: VS_Individuum/en", r"V: Verantwortungssubjekt"),
(r"V: VS_Medien/Presse", r"V: Verantwortungssubjekt"),
(r"V: MVZ_Fremdzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: MVZ_Selbstzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: V: MVZ_Leugnung/Ablehnung_Selbstzuschreibung", r"V: Modi Verantwortungszuweisung"),
(r"V: ZD_Prospektive Verantwortung", r"V: Zeitliche Dimension"),
(r"V: ZD_Retrospektive Verantwortung", r"V: Zeitliche Dimension"),
]
class TransformRule21(TransformRule):
cat_replacements = [
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Politische Entscheidungsträger*innen", r"V: ZP_Politik"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen", r"V: ZP_Wirtschaft"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Internetplattformen & Social Media-Anbieter*innen", r"V: ZP_Wirtschaft"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Bildungseinrichtungen & Lehrkräfte", r"V: ZP_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Forschungseinrichtungen und Wissenschaftler*innen", r"V: ZP_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Mitglieder von Ethikräten & Philosoph*innen", r"V: ZP_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaft/Bürger*innen", r"V: ZP_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Gesellschaftliche Interessenvertretungen", r"V: ZP_Gesellschaft/Öffentlichkeit"),
#(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Rechtliche Entscheidungsträger*innen", r""), # In training data there could be a category 'ZP_Rechtsorgane' but it was never assigned and hence never got integrated into training. No need then to use it in evaluation
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Private User*innen", r"V: ZP_Individuum/en"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Presseorgane & Journalist*innen", r"V: ZP_Medien/Presse"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Künstler*innen", r"V: ZP_Kultur"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Softwareentwickler*innen & Programmierer*innen", r"V: ZP_Wirtschaft"),
(r"Verantwortungsreferenz\Zuweisende Partei/Sprecher*in\Datenanalyst*innen", r"V: ZP_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Politische Entscheidungsträger*innen", r"V: VS_Politik"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Unternehmen/Anwender/ Profiteure/Dienstleistungsnutzer*innen", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Internetplattformen & Social Media-Anbieter*innen", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Rechtliche Entscheidungsträger*innen", r"V: VS_Rechtsorgane"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Bildungseinrichtungen & Lehrkräfte", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Forschungseinrichtungen und Wissenschaftler*innen", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Mitglieder von Ethikräten & Philosoph*innen", r"V: VS_Wissenschaft/Bildung"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Gesellschaft/Bürger*innen", r"V: VS_Gesellschaft/Öffentlichkeit"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Private User*innen", r"V: VS_Individuum/en"),
# (r"Verantwortungsreferenz\\Relata der Verantwortung\\Subjekt\\Künstler*innen", r""), # In training data there could be a category 'VS_Kultur' but it was never assigned and hence never got integrated into training. No need then to use it in evaluation
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Presseorgane & Journalist*innen", r"V: VS_Medien/Presse"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Softwareentwickler*innen & Programmierer*innen", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Datenanalyst*innen", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Relata der Verantwortung\Subjekt\Technologien wird indirekt selbst Verantwortung zugewiesen", r"V: VS_Wirtschaft"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Fremdzuschreibung", r"V: MVZ_Fremdzuschreibung"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Selbstzuschreibung", r"V: MVZ_Selbstzuschreibung"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Fremdzuschreibung", r"V: MVZ_Leugnung/Ablehnung_Fremdzuschreibung"),
(r"Verantwortungsreferenz\Modi der Verantwortungszuweisung\Leugnung/Ablehnung_Selbstzuschreibung", r"V: MVZ_Leugnung/Ablehnung_Selbstzuschreibung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv negativ", r"V: ZD_Prospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv nicht explizit negativ/positiv", r"V: ZD_Prospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Prospektiv positiv", r"V: ZD_Prospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv negativ", r"V: ZD_Retrospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv nicht explitzit negativ/positiv", r"V: ZD_Retrospektive Verantwortung"),
(r"Verantwortungsreferenz\Zeit und Qualität der Verantwortungszuweisung\Retrospektiv positiv", r"V: ZD_Retrospektive Verantwortung"),
]
class TransformRule22(TransformRule):
cat_replacements = [
("AF: Social Companions", "AF: Social Companions")
]
class TransformRule23(TransformRule):
cat_replacements = [
("SC nicht Thema", "AF: NOT Social Companions"),
("SC Nebenthema", "AF: NOT Social Companions"),
]
class TransformRule24(TransformRule):
cat_replacements = [
("AF: Soziale Medien", "AF: Soziale Medien")
]
class TransformRule25(TransformRule):
cat_replacements = [
("SM oder algorithmen, automatisierung, etc. nicht Thema", "AF: NOT Soziale Medien"),
("SM oder algorithmen, etc. nur Nebenthema", "AF: NOT Soziale Medien"),
] | 142.576713 | 282 | 0.791862 | 25,402 | 235,109 | 7.298402 | 0.024132 | 0.225417 | 0.144773 | 0.107706 | 0.92551 | 0.911373 | 0.894824 | 0.876549 | 0.859483 | 0.811617 | 0 | 0.018138 | 0.116852 | 235,109 | 1,649 | 283 | 142.576713 | 0.874742 | 0.016469 | 0 | 0.462042 | 0 | 0.042539 | 0.866118 | 0.482408 | 0 | 0 | 0 | 0.001213 | 0 | 1 | 0 | false | 0 | 0.000654 | 0 | 0.034686 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
ef5941f4e0cd5168f2311c5aef404c6d17f1f9cc | 11,242 | py | Python | apps/api/serializers/signup.py | LizanLycan/CertsGen | 2e18d8ddea6adf90805face16cbb8f8fa06989c3 | [
"MIT"
] | null | null | null | apps/api/serializers/signup.py | LizanLycan/CertsGen | 2e18d8ddea6adf90805face16cbb8f8fa06989c3 | [
"MIT"
] | 1 | 2020-02-04T01:56:42.000Z | 2020-02-04T01:56:42.000Z | apps/api/serializers/signup.py | LizanLycan/CertsGen | 2e18d8ddea6adf90805face16cbb8f8fa06989c3 | [
"MIT"
] | null | null | null | from django.contrib.auth.hashers import make_password
from django.contrib.auth.models import User
from rest_framework import serializers, status
from apps.user_profile.models import (
Certifier,
Recipient
)
from apps.authorities.models import (
CertificationAuthority,
AccreditationAuthority
)
from apps.api.helpers import CustomAPIException
from web3 import Web3
class SingUpAccreditationAuthoritySerializer(serializers.Serializer):
"""
This handles the validation process of all the data that comes in the
request to create the required model instances for the 1st SingUp
"""
owner = serializers.CharField(
write_only=True,
required=True,
min_length=32,
max_length=64,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The password is too short < 32",
"max_length": "The password is too long > 64",
},
)
password = serializers.CharField(
write_only=True,
required=True,
min_length=8,
max_length=52,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The password is too short < 8",
"max_length": "The password is too long > 52",
},
)
email = serializers.EmailField(
required=True,
write_only=True
)
name = serializers.CharField(
required=True,
write_only=True,
min_length=2,
max_length=150,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The first_name is too short < 2",
"max_length": "The first_name is too long > 150",
},
)
id = serializers.IntegerField(
required=True,
write_only=True,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
},
)
def validate(self, attrs):
"""
This function validates the data that comes in hand from the request
to validate it in the serialziers.
:param attrs: attributes passed to the serialaizer
:return: attrs
"""
if not Web3.isChecksumAddress(attrs["owner"]):
raise CustomAPIException(
"Owner is not a valid address.",
1001
)
if User.objects.filter(
first_name__iexact=attrs["name"]
).exists():
raise CustomAPIException(
"Name Already in use.",
1002
)
if User.objects.filter(
email__iexact=attrs["email"]
).exists():
raise CustomAPIException(
"Email Already in use.",
1002
)
if AccreditationAuthority.objects.filter(
owner=attrs["owner"]
).exists():
raise CustomAPIException(
"Owner already register.",
1003
)
return attrs
class CertificationAuthoritySignUpSerializer(serializers.Serializer):
"""
This handles the validation process of all the data that comes in the
request to create the required model instances for the 1st SingUp
"""
owner = serializers.CharField(
write_only=True,
required=True,
min_length=32,
max_length=64,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The password is too short < 32",
"max_length": "The password is too long > 64",
},
)
email = serializers.EmailField(
required=True,
write_only=True
)
name = serializers.CharField(
required=True,
write_only=True,
min_length=2,
max_length=150,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The first_name is too short < 2",
"max_length": "The first_name is too long > 150",
},
)
id = serializers.IntegerField(
required=True,
write_only=True,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
},
)
def validate(self, attrs):
"""
This function validates the data that comes in hand from the request
to validate it in the serialziers.
:param attrs: attributes passed to the serialaizer
:return: attrs
"""
if not Web3.isChecksumAddress(attrs["owner"]):
raise CustomAPIException(
"Owner is not a valid address.",
1001
)
if User.objects.filter(
first_name__iexact=attrs["name"]
).exists():
raise CustomAPIException(
"Name Already in use.",
1002
)
if User.objects.filter(
email__iexact=attrs["email"]
).exists():
raise CustomAPIException(
"Email Already in use.",
1002
)
if CertificationAuthority.objects.filter(
owner=attrs["owner"]
).exists():
raise CustomAPIException(
"Owner already register.",
1003
)
return attrs
class CertifierSignUpSerializer(serializers.Serializer):
"""
This handles the validation process of all the data that comes in the
request to create the required model instances for the 1st SingUp
"""
owner = serializers.CharField(
write_only=True,
required=True,
min_length=32,
max_length=64,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The password is too short < 32",
"max_length": "The password is too long > 64",
},
)
email = serializers.EmailField(
required=True,
write_only=True
)
name = serializers.CharField(
required=True,
write_only=True,
min_length=2,
max_length=150,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The first_name is too short < 2",
"max_length": "The first_name is too long > 150",
},
)
id = serializers.CharField(
required=True,
write_only=True,
min_length=2,
max_length=150,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The first_name is too short < 2",
"max_length": "The first_name is too long > 150",
},
)
id_number = serializers.IntegerField(
required=True,
write_only=True,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
},
)
def validate(self, attrs):
"""
This function validates the data that comes in hand from the request
to validate it in the serialziers.
:param attrs: attributes passed to the serialaizer
:return: attrs
"""
if not Web3.isChecksumAddress(attrs["owner"]):
raise CustomAPIException(
"Owner is not a valid address.",
1001
)
if User.objects.filter(
first_name__iexact=attrs["name"]
).exists():
raise CustomAPIException(
"Name Already in use.",
1002
)
if User.objects.filter(
email__iexact=attrs["email"]
).exists():
raise CustomAPIException(
"Email Already in use.",
1002
)
if Certifier.objects.filter(
owner=attrs["owner"]
).exists():
raise CustomAPIException(
"Owner already register.",
1003
)
return attrs
class RecipientSignUpSerializer(serializers.Serializer):
"""
This handles the validation process of all the data that comes in the
request to create the required model instances for the 1st SingUp
"""
owner = serializers.CharField(
write_only=True,
required=True,
min_length=32,
max_length=64,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The password is too short < 32",
"max_length": "The password is too long > 64",
},
)
email = serializers.EmailField(
required=True,
write_only=True
)
name = serializers.CharField(
required=True,
write_only=True,
min_length=2,
max_length=150,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The first_name is too short < 2",
"max_length": "The first_name is too long > 150",
},
)
id = serializers.CharField(
required=True,
write_only=True,
min_length=2,
max_length=150,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
"min_length": "The first_name is too short < 2",
"max_length": "The first_name is too long > 150",
},
)
id_number = serializers.IntegerField(
required=True,
write_only=True,
error_messages={
"blank": "This Field can't be empty",
"required": "This field is required",
},
)
def validate(self, attrs):
"""
This function validates the data that comes in hand from the request
to validate it in the serialziers.
:param attrs: attributes passed to the serialaizer
:return: attrs
"""
if not Web3.isChecksumAddress(attrs["owner"]):
raise CustomAPIException(
"Owner is not a valid address.",
1001
)
if User.objects.filter(
first_name__iexact=attrs["name"]
).exists():
raise CustomAPIException(
"Name Already in use.",
1002
)
if User.objects.filter(
email__iexact=attrs["email"]
).exists():
raise CustomAPIException(
"Email Already in use.",
1002
)
if Recipient.objects.filter(
owner=attrs["owner"]
).exists():
raise CustomAPIException(
"Owner already register.",
1003
)
return attrs
| 28.034913 | 76 | 0.544476 | 1,156 | 11,242 | 5.195502 | 0.099481 | 0.044955 | 0.041126 | 0.054945 | 0.91292 | 0.91292 | 0.91292 | 0.908092 | 0.908092 | 0.899101 | 0 | 0.022456 | 0.366216 | 11,242 | 400 | 77 | 28.105 | 0.820491 | 0.109144 | 0 | 0.754045 | 0 | 0 | 0.229744 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012945 | false | 0.038835 | 0.022654 | 0 | 0.122977 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
32383745d38ea5ef64d12d3e0f1e1352afabe500 | 9,401 | py | Python | transformers/webnlg/args.py | jordiclive/ControlPrefixes | b647f68bf0c7e771f847c4a51e5f22af2ac95699 | [
"Apache-1.1"
] | 26 | 2021-11-23T09:01:32.000Z | 2022-03-25T11:34:15.000Z | transformers/webnlg/args.py | jordiclive/ControlPrefixes | b647f68bf0c7e771f847c4a51e5f22af2ac95699 | [
"Apache-1.1"
] | 3 | 2021-12-10T17:43:23.000Z | 2022-03-18T11:37:19.000Z | transformers/webnlg/args.py | jordiclive/ControlPrefixes | b647f68bf0c7e771f847c4a51e5f22af2ac95699 | [
"Apache-1.1"
] | 5 | 2021-12-19T03:22:08.000Z | 2022-02-14T04:41:04.000Z | import sys
from collections import defaultdict
import argparse
import sys
from collections import defaultdict
# p = argparse.ArgumentParser()
# args, extras = p.parse_known_args()
import os, sys
import argparse
import time
if __name__ == '__main__':
dir = os.path.dirname(os.path.realpath(__file__))
parser = argparse.ArgumentParser(description = 'Args_save_checkpoint')
parser.add_argument("--save_hf", type = str, default = '')
parser.add_argument("--hf_checkpoint", type = bool, default = True)
args, extras = parser.parse_known_args()
print(args)
print(extras)
COMMANDLINE = f"python {dir}"+'/finetune_m_prefix.py '
for i in vars(args).items():
extras.append(i[0])
extras.append(str(i[1]))
COMMANDLINE += """ """.join(extras)
print(COMMANDLINE)
x = 2
for i in vars(args).items():
a.append(i[0])
a.append(str(i[1]))
# # Convert
# COMMANDLINE = 'python {} ' \
# '--num_train_epochs {} ' \
# '--num_sanity_val_steps 1 ' \
# '--output_dir {} ' \
# '--data_dir {} ' \
# '--learning_rate {} ' \
# '--eval_min_length {} ' \
# '--gpus {} ' \
# '--eval_beams {} ' \
# '--precision {} ' \
# '--amp_level {} ' \
# '--val_metric {} ' \
# '--max_source_length={} ' \
# '--max_target_length={} ' \
# '--test_max_target_length={} ' \
# '--val_max_target_length={} ' \
# '--eval_max_gen_length={} ' \
# '--n_val=-1 ' \
# '--different_scheduler {} ' \
# '--new_tokens {} ' \
# '--save_hf {} ' \
# '--resume_from_checkpoint {} ' \
# '--hf_checkpoint {} ' \
# '--adafactor ' \
# '--preseqlen {}'.format(dir + '/finetune_m_prefix.py',
# args.num_train_epochs,
# args.output_dir,
# args.data_dir,
# args.learning_rate,
# args.eval_min_length,
# args.gpus,
# args.eval_beams,
# args.precision,
# args.amp_level,
# args.val_metric,
# args.max_source_length,
# args.max_target_length,
# args.test_max_target_length,
# args.val_max_target_length,
# args.eval_max_gen_length,
# args.different_scheduler,
# args.new_tokens,
# args.save_hf,
# args.resume_from_checkpoint,
# args.hf_checkpoint,
# args.preseqlen)
#
# print(COMMANDLINE)
#
# os.system(COMMANDLINE)
# if __name__ == '__main__':
# dir = os.path.dirname(os.path.realpath(__file__))
# parser = argparse.ArgumentParser(description='Args_save_checkpoint')
# import sys
# from collections import defaultdict
# import argparse
# args, extras = parser.parse_known_args()
# print(args)
# print(extras)
# parser.add_argument("--save_hf", type = str, default = '')
# parser.add_argument("--resume_from_checkpoint", type = str, default = '')
# parser.add_argument("--hf_checkpoint", type = bool, default = True)
#
#
# args = parser.parse_args()
#
# # Convert
# COMMANDLINE = 'python {} ' \
# '--num_train_epochs {} ' \
# '--num_sanity_val_steps 1 ' \
# '--output_dir {} ' \
# '--data_dir {} ' \
# '--learning_rate {} ' \
# '--eval_min_length {} ' \
# '--gpus {} ' \
# '--eval_beams {} ' \
# '--precision {} ' \
# '--amp_level {} ' \
# '--val_metric {} ' \
# '--max_source_length={} ' \
# '--max_target_length={} ' \
# '--test_max_target_length={} ' \
# '--val_max_target_length={} ' \
# '--eval_max_gen_length={} ' \
# '--n_val=-1 ' \
# '--different_scheduler {} ' \
# '--new_tokens {} ' \
# '--save_hf {} ' \
# '--resume_from_checkpoint {} ' \
# '--hf_checkpoint {} ' \
# '--adafactor ' \
# '--preseqlen {}'.format(dir + '/finetune_m_prefix.py',
# args.num_train_epochs,
# args.output_dir,
# args.data_dir,
# args.learning_rate,
# args.eval_min_length,
# args.gpus,
# args.eval_beams,
# args.precision,
# args.amp_level,
# args.val_metric,
# args.max_source_length,
# args.max_target_length,
# args.test_max_target_length,
# args.val_max_target_length,
# args.eval_max_gen_length,
# args.different_scheduler,
# args.new_tokens,
# args.save_hf,
# args.resume_from_checkpoint,
# args.hf_checkpoint,
# args.preseqlen)
#
# print(COMMANDLINE)
#
# os.system(COMMANDLINE)
#
# time.sleep(60)
# os.system(f'rm -rf {args.output_dir}')
#
# # Run Test
# COMMANDLINE = 'python {} ' \
# '--num_train_epochs {} ' \
# '--num_sanity_val_steps 1 ' \
# '--output_dir {} ' \
# '--data_dir {} ' \
# '--learning_rate {} ' \
# '--eval_min_length {} ' \
# '--gpus {} ' \
# '--eval_beams {} ' \
# '--precision {} ' \
# '--amp_level {} ' \
# '--val_metric {} ' \
# '--max_source_length={} ' \
# '--max_target_length={} ' \
# '--test_max_target_length={} ' \
# '--val_max_target_length={} ' \
# '--eval_max_gen_length={} ' \
# '--n_val=-1 ' \
# '--different_scheduler {} ' \
# '--preseqlen {} ' \
# '--new_tokens {} ' \
# '--skip_train {} ' \
# '--prefixModel_name_or_path {} '.format(dir + '/finetune_m_prefix.py',
# args.num_train_epochs,
# args.output_dir,
# args.data_dir,
# args.learning_rate,
# args.eval_min_length,
# args.gpus,
# args.eval_beams,
# args.precision,
# args.amp_level,
# args.val_metric,
# args.max_source_length,
# args.max_target_length,
# args.test_max_target_length,
# args.val_max_target_length,
# args.eval_max_gen_length,
# args.different_scheduler,
# args.preseqlen,
# args.new_tokens,
# args.skip_train,
# args.save_hf + '/checkpoint-curr_best')
#
#
# print(COMMANDLINE)
#
# os.system(COMMANDLINE)
#
| 45.197115 | 90 | 0.351346 | 627 | 9,401 | 4.885167 | 0.157895 | 0.052889 | 0.088149 | 0.055828 | 0.875286 | 0.857329 | 0.831538 | 0.831538 | 0.795625 | 0.795625 | 0 | 0.002978 | 0.535688 | 9,401 | 207 | 91 | 45.415459 | 0.69874 | 0.829805 | 0 | 0.307692 | 0 | 0 | 0.061224 | 0.014778 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 0.115385 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 9 |
32881f59aa497a42e99cdc85a6958ebadb5d5272 | 31,119 | py | Python | arus/tests/test_accelerometer.py | qutang/arus | ee422bbadc72635037944359d00475f698e8fc61 | [
"MIT"
] | null | null | null | arus/tests/test_accelerometer.py | qutang/arus | ee422bbadc72635037944359d00475f698e8fc61 | [
"MIT"
] | 264 | 2019-09-25T14:15:39.000Z | 2022-03-11T10:11:38.000Z | arus/tests/test_accelerometer.py | qutang/arus | ee422bbadc72635037944359d00475f698e8fc61 | [
"MIT"
] | null | null | null | import numpy as np
from .. import accelerometer as accel
class TestActivationFeatures:
def test_activation(self):
# test on single sample multi-channel signal
X = np.array([[0, 1, 0]])
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0]]))
# test on single sample single-channel signal
X = np.array([[0, ]])
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[0, 0, 0, 0]]))
X = np.array([[1, ]])
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[1, 1, 1, 0]]))
# test on multi sample multi-channel signal edge case
X = np.concatenate(
(np.zeros((5, 3)), np.ones((5, 3)), np.zeros((5, 3))), axis=0)
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[5/15, 5/15, 5/15, 1/5, 1/5, 1/5, 5/15, 5/15, 5/15, 0, 0, 0]]))
X = np.concatenate(
(np.zeros((5, 3)), np.ones((5, 3))), axis=0)
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[5/10, 5/10, 5/10, 1/5, 1/5, 1/5, 5/10, 5/10, 5/10, 0, 0, 0]]))
# test on multi sample multi-channel signal edge case
X = np.concatenate(
(np.ones((5, 3)), np.zeros((5, 3))), axis=0)
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[5/10, 5/10, 5/10, 1/5, 1/5, 1/5, 5/10, 5/10, 5/10, 0, 0, 0]]))
# test on multi sample multi-channel signal edge case
X = np.ones((10, 3))
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[10/10, 10/10, 10/10, 1/10, 1/10, 1/10, 10/10, 10/10, 10/10, 0, 0, 0]]))
X = np.zeros((10, 3))
result = accel.activation_features(X)
np.testing.assert_array_equal(result[0], np.array(
[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]))
# test multiple activations
X = np.concatenate(
(np.zeros((5, 3)), np.ones((5, 3)), np.zeros((5, 3)), np.ones((10, 3))), axis=0)
result = accel.activation_features(X)
np.testing.assert_array_almost_equal(result[0], np.array(
[[15/25, 15/25, 15/25, 2/15, 2/15, 2/15, 7.5/25, 7.5/25, 7.5/25, 3.53553/25, 3.53553/25, 3.53553/25]]))
class TestCounts:
def test_enmo(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.enmo(X)
assert np.allclose(result[0], np.sqrt(3) - 1, atol=0.001)
assert result[1] == 'ENMO_0'
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.enmo(X)
assert np.allclose(result[0], np.nan, atol=0.001, equal_nan=True)
assert result[1] == 'ENMO_0'
# test on an array
X = np.array([[1., 1., 1., ], [1., 1., 1.]])
result = accel.enmo(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.sqrt(3) - 1]]))
assert result[1] == 'ENMO_0'
# test on an array with nan
X = np.array([[1., 1., 1., ], [2., np.nan, 2.]])
result = accel.enmo(X)
np.testing.assert_array_equal(result[0], np.array([[np.sqrt(3) - 1]]))
assert result[1] == 'ENMO_0'
class TestOrientation:
def test_gravity_angles(self):
# test without subwins
# test angles (0, 90, 90) with unit in degree on 1d array
X = np.array([[1., 0., 0.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array([[0, 90, 90]]))
# test angles (90, 0, 90) with unit in degree on 1d array
X = np.array([[0, 1., 0.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array([[90, 0, 90]]))
# test angles (90, 90, 0) with unit in degree on 1d array
X = np.array([[0, 0., 1.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array([[90, 90, 0]]))
# test angles (45, 45, 90) with unit in degree on 1d array
X = np.array([[np.sqrt(2)/2, np.sqrt(2)/2, 0.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(
result[0], np.array([[45, 45, 90]]))
# test angles (0, 90, 90) with unit in radian on 1d array
X = np.array([[1., 0., 0.]])
result = accel.gravity_angles(X, unit='rad')
np.testing.assert_array_equal(result[0], np.array(
[[np.deg2rad(0), np.deg2rad(90), np.deg2rad(90)]]))
# test angles (0, 90, 90) with unit in degree on 2d array
X = np.array([[1., 0., 0.], [1., 0., 0.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array(
[[0, 90, 90]]))
# test angles (0, 90, 90) with unit in degree on 2d array containing nan
X = np.array([[1., 0., 0.], [1., np.nan, 0.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array(
[[0, 90, 90]]))
# test angles (0, 90, 90) with unit in degree on 2d array containing nan in the whole column
X = np.array([[1., np.nan, 0.], [1., np.nan, 0.]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array([[np.nan] * 3]))
# test on a single row with nan
X = np.array([[1., np.nan, 0., ]])
result = accel.gravity_angles(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array(
[[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(
result[1], ["G_ANGLE_X_0", "G_ANGLE_Y_0", "G_ANGLE_Z_0"])
# test on a 2d array with subwins
X = np.concatenate([np.tile([[0., -1., 0., ]], (5, 1)),
np.tile([[1., 0., 0., ]], (5, 1)),
np.tile([[0., 0., 1., ]], (5, 1))], axis=0)
result = accel.gravity_angles(X, subwins=3, unit='deg')
np.testing.assert_array_almost_equal(result[0], np.array(
[[90, 180, 90, 0, 90, 90, 90, 90, 0]]))
np.testing.assert_array_equal(result[1], ["G_ANGLE_X_0", "G_ANGLE_Y_0", "G_ANGLE_Z_0", "G_ANGLE_X_1",
"G_ANGLE_Y_1", "G_ANGLE_Z_1", "G_ANGLE_X_2", "G_ANGLE_Y_2", "G_ANGLE_Z_2"])
def test_orientation_features(self):
# test on a single row
X = np.array([[1., 0., 0., ]])
result = accel.orientation_features(X, unit='deg')
np.testing.assert_array_equal(result[0], np.array(
[[0, 90, 90, 0, 0, 0, np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(result[1], ["MEDIAN_G_ANGLE_0",
"MEDIAN_G_ANGLE_1", "MEDIAN_G_ANGLE_2", "RANGE_G_ANGLE_0",
"RANGE_G_ANGLE_1", "RANGE_G_ANGLE_2", "STD_G_ANGLE_0", "STD_G_ANGLE_1", "STD_G_ANGLE_2"])
# test on a single row with nan
X = np.array([[1., np.nan, 0., ]])
result = accel.orientation_features(X, unit='deg')
np.testing.assert_array_equal(result[0], np.full((1, 9), np.nan))
np.testing.assert_array_equal(result[1], ["MEDIAN_G_ANGLE_0",
"MEDIAN_G_ANGLE_1", "MEDIAN_G_ANGLE_2", "RANGE_G_ANGLE_0",
"RANGE_G_ANGLE_1", "RANGE_G_ANGLE_2", "STD_G_ANGLE_0", "STD_G_ANGLE_1", "STD_G_ANGLE_2"])
# test on a 2d array with subwins
X = np.concatenate([np.tile([[0., -1., 0., ]], (5, 1)),
np.tile([[1., 0., 0., ]], (5, 1)),
np.tile([[0., 0., 1., ]], (5, 1))], axis=0)
result = accel.orientation_features(X, subwins=3, unit='deg')
np.testing.assert_array_almost_equal(result[0], np.array(
[[90, 90, 90, 90, 90, 90, 51.961524, 51.961524, 51.961524]]))
np.testing.assert_array_equal(result[1], ["MEDIAN_G_ANGLE_0",
"MEDIAN_G_ANGLE_1", "MEDIAN_G_ANGLE_2", "RANGE_G_ANGLE_0",
"RANGE_G_ANGLE_1", "RANGE_G_ANGLE_2", "STD_G_ANGLE_0", "STD_G_ANGLE_1", "STD_G_ANGLE_2"])
class TestSpectrum:
def test_spectrum_features(self):
names = ['DOM_FREQ_0',
'DOM_FREQ_POWER_0',
'TOTAL_FREQ_POWER_0',
'FREQ_POWER_ABOVE_3DOT5_0',
'FREQ_POWER_RATIO_ABOVE_3DOT5_0',
'DOM_FREQ_POWER_RATIO_0',
'FREQ_POWER_RATIO_BEWTEEN_DOT5_2DOT5_0',
'DOM_FREQ_POWER_BETWEEN_DOT6_2DOT6_0',
'DOM_FREQ_RATIO_PREV_BOUT_0',
'SPECTRAL_ENTROPY_0']
# test on single sample single channel signal
X = np.array([[0, ]])
result = accel.spectrum_features(
X, sr=80, freq_range=None, prev_spectrum_features=None)
np.testing.assert_array_equal(
result[0], np.array(
[[0, 0, 0, 0, 0, 0, 0, np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(result[1], names)
# test on multiple sample single channel signal
dom_freq = 1
sr = 100
X = np.atleast_2d(np.sin(2*np.pi * dom_freq *
np.arange(0, 1, 1.0 / sr))).T
result = accel.spectrum_features(
X, sr=100, freq_range=None, prev_spectrum_features=None)
np.testing.assert_array_almost_equal(
result[0], np.array(
[[1, 4.283017e-01, 6.107265e-01, 0, 0, 4.283017e-01 / 6.107265e-01, 1, 4.283017e-01, np.nan, 0.15508315]]))
np.testing.assert_array_equal(result[1], names)
# test on multiple sample single channel signal with nan
dom_freq = 1
sr = 100
X = np.atleast_2d(np.sin(2*np.pi * dom_freq *
np.arange(0, 1, 1.0 / sr))).T
X[5:10, 0] = np.nan
result = accel.spectrum_features(
X, sr=100, freq_range=None, prev_spectrum_features=None)
np.testing.assert_array_almost_equal(
result[0], np.array(
[[1, 4.283017e-01, 6.107265e-01, 0, 0, 4.283017e-01 / 6.107265e-01, 1, 4.283017e-01, np.nan, 0.15508315]]), decimal=4)
np.testing.assert_array_equal(result[1], names)
# test on single sample multi channel signal
names = ['DOM_FREQ_0', 'DOM_FREQ_1', 'DOM_FREQ_2'] + \
['DOM_FREQ_POWER_0', 'DOM_FREQ_POWER_1', 'DOM_FREQ_POWER_2'] + \
['TOTAL_FREQ_POWER_0', 'TOTAL_FREQ_POWER_1', 'TOTAL_FREQ_POWER_2'] + \
['FREQ_POWER_ABOVE_3DOT5_0', 'FREQ_POWER_ABOVE_3DOT5_1', 'FREQ_POWER_ABOVE_3DOT5_2'] + \
['FREQ_POWER_RATIO_ABOVE_3DOT5_0', 'FREQ_POWER_RATIO_ABOVE_3DOT5_1', 'FREQ_POWER_RATIO_ABOVE_3DOT5_2'] + \
['DOM_FREQ_POWER_RATIO_0', 'DOM_FREQ_POWER_RATIO_1', 'DOM_FREQ_POWER_RATIO_2'] + \
['FREQ_POWER_RATIO_BEWTEEN_DOT5_2DOT5_0', 'FREQ_POWER_RATIO_BEWTEEN_DOT5_2DOT5_1', 'FREQ_POWER_RATIO_BEWTEEN_DOT5_2DOT5_2'] + \
['DOM_FREQ_POWER_BETWEEN_DOT6_2DOT6_0', 'DOM_FREQ_POWER_BETWEEN_DOT6_2DOT6_1', 'DOM_FREQ_POWER_BETWEEN_DOT6_2DOT6_2'] + \
['DOM_FREQ_RATIO_PREV_BOUT_0', 'DOM_FREQ_RATIO_PREV_BOUT_1',
'DOM_FREQ_RATIO_PREV_BOUT_2', 'SPECTRAL_ENTROPY_0', 'SPECTRAL_ENTROPY_1', 'SPECTRAL_ENTROPY_2']
sr = 100
X = np.array([[0, 0, 0]])
result = accel.spectrum_features(
X, sr=100, freq_range=None, prev_spectrum_features=None)
np.testing.assert_array_almost_equal(
result[0], np.array(
[[0] * 3 +
[0] * 3 +
[0] * 3 +
[0] * 3 +
[0] * 3 +
[0] * 3 +
[0] * 3 +
[np.nan] * 3 +
[np.nan] * 3 +
[np.nan] * 3]))
np.testing.assert_array_equal(result[1], names)
# test on multiple sample multi channel signal
dom_freq = 1
sr = 100
X = np.tile(np.sin(2*np.pi * dom_freq *
np.arange(0, 1, 1.0 / sr)), (3, 1)).T
result = accel.spectrum_features(
X, sr=100, freq_range=None, prev_spectrum_features=None)
np.testing.assert_array_almost_equal(
result[0],
[[1] * 3 +
[4.283017e-01] * 3 +
[6.107265e-01] * 3 +
[0] * 3 +
[0] * 3 +
[4.283017e-01 / 6.107265e-01] * 3 +
[1] * 3 +
[4.283017e-01] * 3 +
[np.nan] * 3 +
[0.15508315] * 3]
)
np.testing.assert_array_equal(result[1], names)
class TestStats:
def test_mean(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.mean(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(
result[1], ['MEAN_0', 'MEAN_1', 'MEAN_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.mean(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(
result[1], ['MEAN_0', 'MEAN_1', 'MEAN_2'])
# test on an array
X = np.array([[1., 1., 1., ], [2., 2., 2.]])
result = accel.mean(X)
np.testing.assert_array_equal(result[0], np.array([[1.5, 1.5, 1.5]]))
np.testing.assert_array_equal(
result[1], ['MEAN_0', 'MEAN_1', 'MEAN_2'])
# test on an array with nan
X = np.array([[1., 1., 1., ], [2., np.nan, 2.]])
result = accel.mean(X)
np.testing.assert_array_equal(result[0], np.array([[1.5, 1, 1.5]]))
np.testing.assert_array_equal(
result[1], ['MEAN_0', 'MEAN_1', 'MEAN_2'])
def test_median(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.median(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(
result[1], ['MEDIAN_0', 'MEDIAN_1', 'MEDIAN_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.median(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(
result[1], ['MEDIAN_0', 'MEDIAN_1', 'MEDIAN_2'])
# test on an array
X = np.array([[1., 1., 1., ], [2., 2., 2.]])
result = accel.median(X)
np.testing.assert_array_equal(result[0], np.array([[1.5, 1.5, 1.5]]))
np.testing.assert_array_equal(
result[1], ['MEDIAN_0', 'MEDIAN_1', 'MEDIAN_2'])
# test on larger array
X = np.array([[1., 1., 1., ], [2., 2., 2.], [5., 5., 5.]])
result = accel.median(X)
np.testing.assert_array_equal(result[0], np.array([[2, 2, 2]]))
np.testing.assert_array_equal(
result[1], ['MEDIAN_0', 'MEDIAN_1', 'MEDIAN_2'])
# test on an array with nan
X = np.array([[1., 1., 1., ], [2., np.nan, 2.]])
result = accel.median(X)
np.testing.assert_array_equal(result[0], np.array([[1.5, 1, 1.5]]))
np.testing.assert_array_equal(
result[1], ['MEDIAN_0', 'MEDIAN_1', 'MEDIAN_2'])
def test_std(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.std(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.nan, np.nan, np.nan, ]]))
np.testing.assert_array_equal(result[1], ['STD_0', 'STD_1', 'STD_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.std(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(result[1], ['STD_0', 'STD_1', 'STD_2'])
# test on an array
X = np.array([[1., 1., 1., ], [2., 2., 2.]])
result = accel.std(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.sqrt(0.5), np.sqrt(0.5), np.sqrt(0.5)]]))
np.testing.assert_array_equal(result[1], ['STD_0', 'STD_1', 'STD_2'])
# test on an array with nan
X = np.array([[1., 1., 1., ], [2., np.nan, 2.]])
result = accel.std(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.sqrt(0.5), np.nan, np.sqrt(0.5)]]))
np.testing.assert_array_equal(result[1], ['STD_0', 'STD_1', 'STD_2'])
# test on an array with more than two rows with nan
X = np.array([[1., 1., 1., ], [2., 2, 2.], [1.5, np.nan, 1.5]])
result = accel.std(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.sqrt(0.25), np.sqrt(0.5), np.sqrt(0.25)]]))
np.testing.assert_array_equal(result[1], ['STD_0', 'STD_1', 'STD_2'])
def test_skew(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.skew(X)
np.testing.assert_array_equal(result[0], np.atleast_2d([0, 0, 0]))
np.testing.assert_array_equal(
result[1], ['SKEW_0', 'SKEW_1', 'SKEW_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.skew(X)
np.testing.assert_array_equal(result[0], np.atleast_2d([0, np.nan, 0]))
np.testing.assert_array_equal(
result[1], ['SKEW_0', 'SKEW_1', 'SKEW_2'])
# test on an array
X = np.array([[1., 1., 1., ], [2., 2., 2.]])
result = accel.skew(X)
np.testing.assert_array_equal(result[0], np.array([[0, 0, 0]]))
np.testing.assert_array_equal(
result[1], ['SKEW_0', 'SKEW_1', 'SKEW_2'])
# test on normal distribution
X = np.random.randn(1000000, 3)
result = accel.skew(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[0, 0, 0]]), decimal=1)
np.testing.assert_array_equal(
result[1], ['SKEW_0', 'SKEW_1', 'SKEW_2'])
# test on normal distribution with nan
X = np.random.randn(1000000, 3)
X[np.random.randint(0, 49, 1), 0:3] = np.nan
result = accel.skew(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[0, 0, 0]]), decimal=1)
np.testing.assert_array_equal(
result[1], ['SKEW_0', 'SKEW_1', 'SKEW_2'])
# test on exponential distribution
X = np.random.standard_exponential(size=(1000000, 3))
result = accel.skew(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[2, 2, 2]]), decimal=1)
np.testing.assert_array_equal(
result[1], ['SKEW_0', 'SKEW_1', 'SKEW_2'])
def test_kurtosis(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.kurtosis(X)
np.testing.assert_array_equal(result[0], np.atleast_2d([-3, -3, -3]))
np.testing.assert_array_equal(
result[1], ['KURTOSIS_0', 'KURTOSIS_1', 'KURTOSIS_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.kurtosis(X)
np.testing.assert_array_equal(
result[0], np.atleast_2d([-3, np.nan, -3]))
np.testing.assert_array_equal(
result[1], ['KURTOSIS_0', 'KURTOSIS_1', 'KURTOSIS_2'])
# test on uniform distribution
X = np.random.uniform(low=0, high=1, size=(1000000, 3))
result = accel.kurtosis(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[-1.2, -1.2, -1.2]]), decimal=2)
np.testing.assert_array_equal(
result[1], ['KURTOSIS_0', 'KURTOSIS_1', 'KURTOSIS_2'])
# test on normal distribution
X = np.random.randn(1000000, 3)
result = accel.kurtosis(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[0, 0, 0]]), decimal=1)
np.testing.assert_array_equal(
result[1], ['KURTOSIS_0', 'KURTOSIS_1', 'KURTOSIS_2'])
# test on normal distribution with nan
X = np.random.randn(1000000, 3)
X[np.random.randint(0, 49, 1), 0:3] = np.nan
result = accel.kurtosis(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[0, 0, 0]]), decimal=1)
np.testing.assert_array_equal(
result[1], ['KURTOSIS_0', 'KURTOSIS_1', 'KURTOSIS_2'])
# test on laplace distribution
X = np.random.laplace(loc=0, scale=1, size=(1000000, 3))
result = accel.kurtosis(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[3, 3, 3]]), decimal=1)
np.testing.assert_array_equal(
result[1], ['KURTOSIS_0', 'KURTOSIS_1', 'KURTOSIS_2'])
def test_max_value(self):
# test on a single row
X = np.array([[1., 1., 1., ]])
result = accel.max_value(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(result[1], ['MAX_0', 'MAX_1', 'MAX_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.max_value(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(result[1], ['MAX_0', 'MAX_1', 'MAX_2'])
# test on an array
X = np.array([[1., 1., 1., ], [2., 2., 2.]])
result = accel.max_value(X)
np.testing.assert_array_equal(result[0], np.array([[2, 2, 2]]))
np.testing.assert_array_equal(result[1], ['MAX_0', 'MAX_1', 'MAX_2'])
# test on an array with nan
X = np.array([[1., 1., 1., ], [2., np.nan, 2.]])
result = accel.max_value(X)
np.testing.assert_array_equal(result[0], np.array([[2, 1, 2]]))
np.testing.assert_array_equal(result[1], ['MAX_0', 'MAX_1', 'MAX_2'])
def test_min_value(self):
# test on a single row
X = np.array([[-1., -1., -1., ]])
result = accel.min_value(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(result[1], ['MIN_0', 'MIN_1', 'MIN_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.min_value(X)
np.testing.assert_array_equal(result[0], X)
np.testing.assert_array_equal(result[1], ['MIN_0', 'MIN_1', 'MIN_2'])
# test on an array
X = np.array([[1., 1., 1., ], [2., 2., 2.]])
result = accel.min_value(X)
np.testing.assert_array_equal(result[0], np.array([[1, 1, 1]]))
np.testing.assert_array_equal(result[1], ['MIN_0', 'MIN_1', 'MIN_2'])
# test on an array with nan
X = np.array([[1., 1., 1., ], [2., np.nan, 2.]])
result = accel.min_value(X)
np.testing.assert_array_equal(result[0], np.array([[1, 1, 1]]))
np.testing.assert_array_equal(result[1], ['MIN_0', 'MIN_1', 'MIN_2'])
def test_range(self):
# test on a single row
X = np.array([[-1., -1., -1.]])
result = accel.max_minus_min(X)
np.testing.assert_array_equal(result[0], np.array([[0., 0., 0.]]))
np.testing.assert_array_equal(
result[1], ['RANGE_0', 'RANGE_1', 'RANGE_2'])
# test on a single row with nan
X = np.array([[1., np.nan, 1., ]])
result = accel.max_minus_min(X)
np.testing.assert_array_equal(result[0], np.array(
[[0., np.nan, 0., ]]))
np.testing.assert_array_equal(
result[1], ['RANGE_0', 'RANGE_1', 'RANGE_2'])
# test on an array
X = np.array([[1., 1., 1., ], [3., 3., 3.]])
result = accel.max_minus_min(X)
np.testing.assert_array_equal(result[0], np.array([[2, 2, 2]]))
np.testing.assert_array_equal(
result[1], ['RANGE_0', 'RANGE_1', 'RANGE_2'])
# test on an array with nan
X = np.array([[1., 1., 1., ], [3., np.nan, 3.]])
result = accel.max_minus_min(X)
np.testing.assert_array_equal(result[0], np.array([[2, 0, 2]]))
np.testing.assert_array_equal(
result[1], ['RANGE_0', 'RANGE_1', 'RANGE_2'])
def test_abs_max_value(self):
# test on a single row
X = np.array([[1., -1., 1., ]])
result = accel.abs_max_value(X)
np.testing.assert_array_equal(result[0], np.array([[1., 1., 1., ]]))
np.testing.assert_array_equal(
result[1], ['ABS_MAX_0', 'ABS_MAX_1', 'ABS_MAX_2'])
# test on a single row with nan
X = np.array([[1., np.nan, -1., ]])
result = accel.abs_max_value(X)
np.testing.assert_array_equal(result[0], np.array(
[[1., np.nan, 1., ]]))
np.testing.assert_array_equal(
result[1], ['ABS_MAX_0', 'ABS_MAX_1', 'ABS_MAX_2'])
# test on an array
X = np.array([[1., 1., -1., ], [-2., 2., 2.]])
result = accel.abs_max_value(X)
np.testing.assert_array_equal(result[0], np.array([[2, 2, 2]]))
np.testing.assert_array_equal(
result[1], ['ABS_MAX_0', 'ABS_MAX_1', 'ABS_MAX_2'])
# test on an array with nan
X = np.array([[1., -1., 1., ], [-2., np.nan, 2.]])
result = accel.abs_max_value(X)
np.testing.assert_array_equal(result[0], np.array([[2, 1, 2]]))
np.testing.assert_array_equal(
result[1], ['ABS_MAX_0', 'ABS_MAX_1', 'ABS_MAX_2'])
def test_abs_min_value(self):
# test on a single row
X = np.array([[-1., -1., -1.]])
result = accel.abs_min_value(X)
np.testing.assert_array_equal(result[0], np.array([[1., 1., 1.]]))
np.testing.assert_array_equal(
result[1], ['ABS_MIN_0', 'ABS_MIN_1', 'ABS_MIN_2'])
# test on a single row with nan
X = np.array([[-1., np.nan, -1., ]])
result = accel.abs_min_value(X)
np.testing.assert_array_equal(result[0], np.array(
[[1., np.nan, 1., ]]))
np.testing.assert_array_equal(
result[1], ['ABS_MIN_0', 'ABS_MIN_1', 'ABS_MIN_2'])
# test on an array
X = np.array([[1., -1., 1., ], [-2., 2., 2.]])
result = accel.abs_min_value(X)
np.testing.assert_array_equal(result[0], np.array([[1, 1, 1]]))
np.testing.assert_array_equal(
result[1], ['ABS_MIN_0', 'ABS_MIN_1', 'ABS_MIN_2'])
# test on an array with nan
X = np.array([[1., -1., 1., ], [2., np.nan, -2.]])
result = accel.abs_min_value(X)
np.testing.assert_array_equal(result[0], np.array([[1, 1, 1]]))
np.testing.assert_array_equal(
result[1], ['ABS_MIN_0', 'ABS_MIN_1', 'ABS_MIN_2'])
def test_zcr(self):
# test on a single row
X = np.array([[-1., -1., -1.]])
result = accel.zcr(X)
np.testing.assert_array_equal(
result[0], np.array([[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(
result[1], ['ZCR_0', 'ZCR_1', 'ZCR_2'])
# test on a single row with nan
X = np.array([[-1., np.nan, -1., ]])
result = accel.zcr(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.nan, np.nan, np.nan, ]]))
np.testing.assert_array_equal(
result[1], ['ZCR_0', 'ZCR_1', 'ZCR_2'])
# test on an array
X = np.array([[1., -1., 1., ], [-2., 2., 2.]])
result = accel.zcr(X)
np.testing.assert_array_equal(result[0], np.array([[1, 1, 0]]))
np.testing.assert_array_equal(
result[1], ['ZCR_0', 'ZCR_1', 'ZCR_2'])
# test on an array with nan
X = np.array([[1., -1., 1., ], [2., np.nan, -2.]])
result = accel.zcr(X)
np.testing.assert_array_equal(result[0], np.array([[0, 0, 1]]))
np.testing.assert_array_equal(
result[1], ['ZCR_0', 'ZCR_1', 'ZCR_2'])
def test_mcr(self):
# test on a single row
X = np.array([[-1., -1., -1.]])
result = accel.mcr(X)
np.testing.assert_array_equal(
result[0], np.array([[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(
result[1], ['MCR_0', 'MCR_1', 'MCR_2'])
# test on a single row with nan
X = np.array([[-1., np.nan, -1., ]])
result = accel.mcr(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.nan, np.nan, np.nan, ]]))
np.testing.assert_array_equal(
result[1], ['MCR_0', 'MCR_1', 'MCR_2'])
# test on an array
X = np.array([[1., -1., 1., ], [-2., 2., 2.]])
result = accel.mcr(X)
np.testing.assert_array_equal(result[0], np.array([[1, 1, 1]]))
np.testing.assert_array_equal(
result[1], ['MCR_0', 'MCR_1', 'MCR_2'])
# test on an array with nan
X = np.array([[1., -1., 1., ], [2., np.nan, -2.]])
result = accel.mcr(X)
np.testing.assert_array_equal(result[0], np.array([[1, 0, 1]]))
np.testing.assert_array_equal(
result[1], ['MCR_0', 'MCR_1', 'MCR_2'])
def test_correlation(self):
# test on a single row
X = np.array([[1., 1., 1.]])
result = accel.correlation(X)
np.testing.assert_array_equal(
result[0], np.array([[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(
result[1], ['CORRELATION_0', 'CORRELATION_1', 'CORRELATION_2'])
# test on a single row with nan
X = np.array([[-1., np.nan, -1., ]])
result = accel.correlation(X)
np.testing.assert_array_equal(result[0], np.array(
[[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(
result[1], ['CORRELATION_0', 'CORRELATION_1', 'CORRELATION_2'])
# test on an array
x = np.transpose(np.atleast_2d(np.arange(10)))
y = np.transpose(-np.atleast_2d(np.arange(10)))
z = np.transpose(np.atleast_2d(np.arange(10)/5))
X = np.hstack((x, y, z))
result = accel.correlation(X)
np.testing.assert_array_almost_equal(
result[0], np.array([[-1, 1, -1]]))
np.testing.assert_array_equal(
result[1], ['CORRELATION_0', 'CORRELATION_1', 'CORRELATION_2'])
# test on an array with nan
x = np.transpose(np.atleast_2d(np.arange(10)))
y = np.transpose(-np.atleast_2d(np.arange(10)))
z = np.transpose(np.atleast_2d(np.arange(10)/5))
X = np.hstack((x, y, z))
X[np.random.randint(0, 10, 1), 0:3] = np.nan
result = accel.correlation(X)
np.testing.assert_array_equal(
result[0], np.array([[np.nan, np.nan, np.nan]]))
np.testing.assert_array_equal(
result[1], ['CORRELATION_0', 'CORRELATION_1', 'CORRELATION_2'])
| 43.280946 | 139 | 0.541566 | 4,675 | 31,119 | 3.407059 | 0.034652 | 0.032207 | 0.145969 | 0.194626 | 0.928302 | 0.916248 | 0.8944 | 0.871484 | 0.863887 | 0.850075 | 0 | 0.075056 | 0.283717 | 31,119 | 718 | 140 | 43.341226 | 0.639524 | 0.086924 | 0 | 0.743068 | 0 | 0 | 0.098355 | 0.024571 | 0 | 0 | 0 | 0 | 0.297597 | 1 | 0.033272 | false | 0 | 0.003697 | 0 | 0.046211 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
08a66c8a29427c4d77ec85528bfd4e2d3f96a290 | 2,833 | py | Python | test.py | SebastienFour/simple_robot_simulator | 243b89acb9f1382ec8f21b846201b672a7991956 | [
"MIT"
] | 2 | 2020-05-21T19:26:56.000Z | 2021-03-21T12:55:24.000Z | test.py | SebastienFour/simple_robot_simulator | 243b89acb9f1382ec8f21b846201b672a7991956 | [
"MIT"
] | null | null | null | test.py | SebastienFour/simple_robot_simulator | 243b89acb9f1382ec8f21b846201b672a7991956 | [
"MIT"
] | null | null | null | import model
m = model.Model()
def test_dk():
print("\n### Test of dk function ###\n")
print("\nDefault model: {}\n".format(m))
print("#### Setting speed for one motor ####\n")
m.m1.speed = 0.1
print("## Current settings ##\nmodel: {}".format(m))
linear_speed, rotational_speed = m.dk()
print("\nlinear_speed={}\nrotational_speed={}\n".format(linear_speed, rotational_speed))
if m.m1.speed == 0.1 :
print("Test is OK !\n")
else:
print("Test failed !\n")
print("#### Setting same speed for both motors ####\n")
m.m1.speed = 0.1
m.m2.speed = 0.2
print("## Current settings ##\nmodel: {}".format(m))
linear_speed, rotational_speed = m.dk()
print("\nlinear_speed={}\nrotational_speed={}\n".format(linear_speed, rotational_speed))
if m.m1.speed == 0.1 and m.m2.speed == 0.2:
print("Test is OK !\n")
else:
print("Test failed !\n")
print("#### Setting opposed speed for both motors ####\n")
m.m1.speed = 0.1
m.m2.speed = -0.1
print("## Current settings ##\nmodel: {}".format(m))
linear_speed, rotational_speed = m.dk()
print("\nlinear_speed={}\nrotational_speed={}\n".format(linear_speed, rotational_speed))
if m.m1.speed == 0.1 and m.m2.speed == -0.1 :
print("Test is OK !\n")
else:
print("Test failed !\n")
print("#### Setting speed of motor2 = 2 * motor1 ####\n")
m.m1.speed = 0.1
m.m2.speed = 0.2
print("## Current settings ##\nmodel: {}".format(m))
linear_speed, rotational_speed = m.dk()
print("\nlinear_speed={}\nrotational_speed={}\n".format(linear_speed, rotational_speed))
if m.m1.speed == 0.1 and m.m2.speed == 0.2 :
print("Test is OK !\n")
else:
print("Test failed !\n")
m.m1.speed = 0
#resetting speeds
m.m2.speed = 0
test_dk()
def test_ik():
print("\n### Test of ik function ###\n")
print("\nDefault model: {}\n".format(m))
print("#### Setting linear speed ####\n")
linear_speed = 0.1
rotational_speed = 0
print("## Current settings ##\nmodel: {}".format(m))
m1_speed, m2_speed = m.dk()
print("\nm1_speed={}\nm2_speed={}\n".format(m1_speed, m2_speed))
print("#### Setting rotational speed ####\n")
linear_speed = 0
rotational_speed = 0.1
print("## Current settings ##\nmodel: {}".format(m))
m1_speed, m2_speed = m.dk()
print("\nm1_speed={}\nm2_speed={}\n".format(m1_speed, m2_speed))
print("#### Setting both linear and rotationnal speed ####\n")
linear_speed = 0.1
rotational_speed = 0.1
print("## Current settings ##\nmodel: {}".format(m))
m1_speed, m2_speed = m.dk()
print("\nm1_speed={}\nm2_speed={}\n".format(m1_speed, m2_speed))
test_ik() | 31.831461 | 92 | 0.576421 | 400 | 2,833 | 3.9525 | 0.1175 | 0.083491 | 0.061986 | 0.051233 | 0.87919 | 0.862113 | 0.859583 | 0.859583 | 0.859583 | 0.825427 | 0 | 0.03524 | 0.228733 | 2,833 | 89 | 93 | 31.831461 | 0.68833 | 0.005648 | 0 | 0.681159 | 0 | 0 | 0.356763 | 0.086617 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028986 | false | 0 | 0.014493 | 0 | 0.043478 | 0.478261 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
3eed780853cea086a305d1d7a84e7e1d0b4fad63 | 27 | py | Python | narayanan.py | ceadoor/hello-world | 07972e1f14c20e5288e52eb61359e93efb39b131 | [
"MIT"
] | 4 | 2019-10-15T13:07:16.000Z | 2020-01-13T13:18:02.000Z | narayanan.py | ceadoor/hello-world | 07972e1f14c20e5288e52eb61359e93efb39b131 | [
"MIT"
] | 2 | 2019-10-11T15:07:32.000Z | 2021-05-24T04:37:21.000Z | narayanan.py | ceadoor/hello-world | 07972e1f14c20e5288e52eb61359e93efb39b131 | [
"MIT"
] | 77 | 2019-10-10T06:50:03.000Z | 2021-03-09T12:24:04.000Z | print("narayanansrikumar")
| 13.5 | 26 | 0.814815 | 2 | 27 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 27 | 1 | 27 | 27 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.62963 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
f5deabd0a685442c2423fe607849574d1a6b1a27 | 286 | py | Python | src/stk/molecular/molecule/utilities/updaters/__init__.py | andrewtarzia/stk | 1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a | [
"MIT"
] | 21 | 2018-04-12T16:25:24.000Z | 2022-02-14T23:05:43.000Z | src/stk/molecular/molecule/utilities/updaters/__init__.py | JelfsMaterialsGroup/stk | 0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2 | [
"MIT"
] | 8 | 2019-03-19T12:36:36.000Z | 2020-11-11T12:46:00.000Z | src/stk/molecular/molecule/utilities/updaters/__init__.py | supramolecular-toolkit/stk | 0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2 | [
"MIT"
] | 5 | 2018-08-07T13:00:16.000Z | 2021-11-01T00:55:10.000Z | from .mdl_mol import get_position_matrix_from_mol # noqa
from .mae import get_position_matrix_from_mae # noqa
from .xyz import get_position_matrix_from_xyz # noqa
from .turbomole import get_position_matrix_from_turbomole # noqa
from .pdb import get_position_matrix_from_pdb # noqa
| 47.666667 | 65 | 0.842657 | 46 | 286 | 4.782609 | 0.26087 | 0.204545 | 0.386364 | 0.522727 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122378 | 286 | 5 | 66 | 57.2 | 0.876494 | 0.083916 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
de329e05925c20fcada9aa414f867008ede276f0 | 11,681 | py | Python | tests/commands/test_commands.py | MoonCrystalPower/Dr.Hyde | e324f60899fad0d96aa35a6e669c9aa7dff6ca58 | [
"MIT"
] | null | null | null | tests/commands/test_commands.py | MoonCrystalPower/Dr.Hyde | e324f60899fad0d96aa35a6e669c9aa7dff6ca58 | [
"MIT"
] | null | null | null | tests/commands/test_commands.py | MoonCrystalPower/Dr.Hyde | e324f60899fad0d96aa35a6e669c9aa7dff6ca58 | [
"MIT"
] | null | null | null | import os
from shutil import rmtree
from hyde.app import app
from flask import request
import json
import requests
from flask import url_for
from tests.commands.test_base import BaseTestCase
from flask.ext.testing import TestCase
from flask.ext.login import current_user
test_dir = 'test_dir'
class TestViews(BaseTestCase):
def setUp(self):
os.mkdir(test_dir)
self.app = app
self.client = app.test_client()
self.repo_url = 'https://github.com/sh92/sh92.github.io'
repo_path = test_dir+'/'+self.repo_url.split('/')[-1]
self.header = {'title': 'blabla', 'category': 'blog'}
self.repo_path = os.path.abspath(repo_path)
def tearDown(self):
rmtree(test_dir)
def test_success_branch(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('create_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
name = 'test'
file_path = './'+test_dir + '/' + name + '.md'
body = '<strong>aaaa</strong>'
data = {'body': body, 'repo_path': self.repo_path,
'file_path': file_path, 'header': self.header}
json_data = json.dumps(data)
response = self.client.post(
url_for('write_html2md'),
data=json_data,
content_type='application/json')
self.assert_200(response)
comment = 'This comment is Test'
data = {'comment': comment, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('commit'),
data=json_data,
content_type='application/json')
self.assert_200(response)
remote_name = 'origin'
branch_name = 'test_branch'
data = {'remote_name': remote_name,
'repo_path': self.repo_path, 'branch_name': branch_name}
json_data = json.dumps(data)
response = self.client.post(
url_for('pull'),
data=json_data,
content_type='application/json')
self.assert_200(response)
response = self.client.post(
url_for('push'),
data=json_data,
content_type='application/json')
self.assert_200(response)
def test_success_delete_branch(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('create_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'master'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('checkout_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('delete_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
def test_not_json_clone(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data)
self.assert_400(response)
def test_not_json_branch(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('checkout_branch'),
data=json_data)
self.assert_400(response)
def test_not_json_new_branch(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(url_for('create_branch'), data=json_data)
self.assert_400(response)
def test_not_json_filewrite(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('create_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
name = 'test'
file_path = './'+test_dir + '/' + name + '.md'
body = '<strong>aaaa</strong>'
data = {'body': body, 'repo_path': self.repo_path,
'file_path': file_path, 'header': self.header}
json_data = json.dumps(data)
response = self.client.post(url_for('write_html2md'), data=json_data)
self.assert_400(response)
def test_not_json_commit(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('create_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
name = 'test'
file_path = './'+test_dir + '/' + name + '.md'
body = '<strong>aaaa</strong>'
data = {'body': body, 'repo_path': self.repo_path,
'file_path': file_path, 'header': self.header}
json_data = json.dumps(data)
response = self.client.post(
url_for('write_html2md'),
data=json_data,
content_type='application/json')
self.assert_200(response)
comment = 'This comment is Test'
data = {'comment': comment, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(url_for('commit'), data=json_data)
self.assert_400(response)
def test_not_json_pull(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('create_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
name = 'test'
file_path = './'+test_dir + '/' + name + '.md'
body = '<strong>aaaa</strong>'
data = {'body': body, 'repo_path': self.repo_path,
'file_path': file_path, 'header': self.header}
json_data = json.dumps(data)
response = self.client.post(
url_for('write_html2md'),
data=json_data,
content_type='application/json')
self.assert_200(response)
comment = 'This comment is Test'
data = {'comment': comment, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('commit'),
data=json_data,
content_type='application/json')
self.assert_200(response)
remote_name = 'origin'
branch_name = 'test_branch'
data = {'remote_name': remote_name,
'repo_path': self.repo_path, 'branch_name': branch_name}
json_data = json.dumps(data)
response = self.client.post(url_for('pull'), data=json_data)
self.assert_400(response)
def test_not_json_push(self):
data = {'repo_url': self.repo_url, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('clone_repository'),
data=json_data,
content_type='application/json')
self.assert_200(response)
branch_name = 'test_branch'
data = {'branch_name': branch_name, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('create_branch'),
data=json_data,
content_type='application/json')
self.assert_200(response)
name = 'test'
file_path = './'+test_dir + '/' + name + '.md'
body = '<strong>aaaa</strong>'
data = {'body': body, 'repo_path': self.repo_path,
'file_path': file_path, 'header': self.header}
json_data = json.dumps(data)
response = self.client.post(
url_for('write_html2md'),
data=json_data,
content_type='application/json')
self.assert_200(response)
comment = 'This comment is Test'
data = {'comment': comment, 'repo_path': self.repo_path}
json_data = json.dumps(data)
response = self.client.post(
url_for('commit'),
data=json_data,
content_type='application/json')
self.assert_200(response)
remote_name = 'origin'
branch_name = 'test_branch'
data = {'remote_name': remote_name,
'repo_path': self.repo_path, 'branch_name': branch_name}
json_data = json.dumps(data)
response = self.client.post(
url_for('pull'),
data=json_data,
content_type='application/json')
self.assert_200(response)
response = self.client.post(url_for('push'), data=json_data)
self.assert_400(response)
| 36.052469 | 77 | 0.593014 | 1,392 | 11,681 | 4.702586 | 0.061063 | 0.079438 | 0.090742 | 0.110907 | 0.913993 | 0.912924 | 0.912924 | 0.909716 | 0.909716 | 0.909716 | 0 | 0.013059 | 0.285421 | 11,681 | 323 | 78 | 36.164087 | 0.771175 | 0 | 0 | 0.862676 | 0 | 0 | 0.163941 | 0.008989 | 0 | 0 | 0 | 0 | 0.116197 | 1 | 0.038732 | false | 0 | 0.035211 | 0 | 0.077465 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
9d06ac753ada5cc3a8ad71cf2513ae76182f6458 | 40,413 | py | Python | aquacrop/crops/crop_params.py | aquacropos/aquacrop | 78ed597683028aa43261921ee73a0746700b24b8 | [
"Apache-2.0"
] | 5 | 2022-01-17T14:08:10.000Z | 2022-03-29T11:10:16.000Z | aquacrop/crops/crop_params.py | aquacropos/aquacrop | 78ed597683028aa43261921ee73a0746700b24b8 | [
"Apache-2.0"
] | 28 | 2022-01-14T12:09:54.000Z | 2022-03-01T11:10:23.000Z | aquacrop/crops/crop_params.py | aquacropos/aquacrop | 78ed597683028aa43261921ee73a0746700b24b8 | [
"Apache-2.0"
] | 8 | 2022-01-07T15:43:04.000Z | 2022-03-29T12:57:13.000Z | crop_params={'Barley': {'Aer': 15.0,
'CCx': 0.8,
'CDC': -9.0,
'CDC_CD': 0.07697,
'CGC': -9.0,
'CGC_CD': 0.1241,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 7.0,
'Flowering': -9.0,
'FloweringCD': 12.0,
'GDD_lo': 0,
'GDD_up': 14.0,
'GDDmethod': 3,
'HI0': 0.33,
'HIstart': -9.0,
'HIstartCD': 60.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 93.0,
'MaxRooting': -9.0,
'MaxRootingCD': 60.0,
'Name': 'Barley',
'PlantMethod': 1.0,
'PlantPop': 1500000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.5,
'Senescence': -9.0,
'SenescenceCD': 65.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 0.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 0.0,
'Tmin_up': 5.0,
'TrColdStress': 1,
'Tupp': 15.0,
'WP': 15.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 27.0,
'Zmax': 1.3,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 5.0,
'dHI0': 15.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.6,
'p_up3': 0.55,
'p_up4': 0.85},
'BarleyGDD': {'Aer': 15.0,
'CCx': 0.8,
'CDC': 0.006,
'CDC_CD': 0.07971,
'CGC': 0.008697,
'CGC_CD': 0.1241,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 98.0,
'EmergenceCD': 7.0,
'Flowering': 160.0,
'FloweringCD': 12.0,
'GDD_lo': 0,
'GDD_up': 14.0,
'GDDmethod': 3,
'HI0': 0.33,
'HIstart': 867.0,
'HIstartCD': 60.0,
'Kcb': 1.1,
'Maturity': 1296.0,
'MaturityCD': 93.0,
'MaxRooting': 854.0,
'MaxRootingCD': 60.0,
'Name': 'BarleyGDD',
'PlantMethod': 1.0,
'PlantPop': 1500000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.5,
'Senescence': 924.0,
'SenescenceCD': 65.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 0.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 0.0,
'Tmin_up': 5.0,
'TrColdStress': 1,
'Tupp': 15.0,
'WP': 15.0,
'WPy': 100.0,
'YldForm': 351.0,
'YldFormCD': 27.0,
'Zmax': 1.3,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 5.0,
'dHI0': 15.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.6,
'p_up3': 0.55,
'p_up4': 0.85},
'Cotton': {'Aer': 5.0,
'CCx': 0.98,
'CDC': -9.0,
'CDC_CD': 0.02917,
'CGC': -9.0,
'CGC_CD': 0.07611,
'CalendarType': 1,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 14.0,
'Flowering': -9.0,
'FloweringCD': 52.0,
'GDD_lo': 0,
'GDD_up': -9.0,
'GDDmethod': 3,
'HI0': 0.35,
'HIstart': -9.0,
'HIstartCD': 64.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 174.0,
'MaxRooting': -9.0,
'MaxRootingCD': 98.0,
'Name': 'Cotton',
'PlantMethod': 1.0,
'PlantPop': 120000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.0,
'Senescence': -9.0,
'SenescenceCD': 144.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 12.0,
'Tmax_lo': 48.0,
'Tmax_up': 43.0,
'Tmin_lo': 10.0,
'Tmin_up': 15.0,
'TrColdStress': 0,
'Tupp': 35.0,
'WP': 15.0,
'WPy': 70.0,
'YldForm': -9.0,
'YldFormCD': 105.0,
'Zmax': 2.0,
'Zmin': 0.3,
'a_HI': 2.0,
'b_HI': 10.0,
'dHI0': 30.0,
'dHI_pre': 5.0,
'exc': 200.0,
'fage': 0.3,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.7,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.75,
'p_up3': 0.75,
'p_up4': 0.85},
'CottonGDD': {'Aer': 5.0,
'CCx': 0.98,
'CDC': 0.002465,
'CDC_CD': 0.02823,
'CGC': 0.006503,
'CGC_CD': 0.06712,
'CalendarType': 2,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': 12.0,
'EmergenceCD': 14.0,
'Flowering': 709.0,
'FloweringCD': 52.0,
'GDD_lo': 0,
'GDD_up': -9.0,
'GDDmethod': 3,
'HI0': 0.35,
'HIstart': 502.0,
'HIstartCD': 65.0,
'Kcb': 1.1,
'Maturity': 1956.0,
'MaturityCD': 174.0,
'MaxRooting': 956.0,
'MaxRootingCD': 99.0,
'Name': 'CottonGDD',
'PlantMethod': 1.0,
'PlantPop': 120000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.0,
'Senescence': 1601.0,
'SenescenceCD': 144.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 12.0,
'Tmax_lo': 48.0,
'Tmax_up': 43.0,
'Tmin_lo': 10.0,
'Tmin_up': 15.0,
'TrColdStress': 0,
'Tupp': 35.0,
'WP': 15.0,
'WPy': 70.0,
'YldForm': 1403.0,
'YldFormCD': 106.0,
'Zmax': 2.0,
'Zmin': 0.3,
'a_HI': 2.0,
'b_HI': 10.0,
'dHI0': 30.0,
'dHI_pre': 5.0,
'exc': 200.0,
'fage': 0.3,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.7,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.75,
'p_up3': 0.75,
'p_up4': 0.85},
'DryBean': {'Aer': 5.0,
'CCx': 0.99,
'CDC': -9.0,
'CDC_CD': 0.08612,
'CGC': -9.0,
'CGC_CD': 0.11804,
'CalendarType': 1,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 6.0,
'Flowering': -9.0,
'FloweringCD': 20.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.4,
'HIstart': -9.0,
'HIstartCD': 47.0,
'Kcb': 1.05,
'Maturity': -9.0,
'MaturityCD': 115.0,
'MaxRooting': -9.0,
'MaxRootingCD': 75.0,
'Name': 'DryBean',
'PlantMethod': 1.0,
'PlantPop': 131579.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 10.0,
'Senescence': -9.0,
'SenescenceCD': 75.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 9.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 15.0,
'WPy': 90.0,
'YldForm': -9.0,
'YldFormCD': 61.0,
'Zmax': 1.7,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 1.0,
'dHI0': 10.0,
'dHI_pre': 3.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.5,
'fshape_w1': 2.5,
'fshape_w2': 3.0,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.88},
'DryBeanGDD': {'Aer': 5.0,
'CCx': 0.99,
'CDC': 0.008813,
'CDC_CD': 0.08612,
'CGC': 0.009879,
'CGC_CD': 0.11804,
'CalendarType': 2,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': 59.0,
'EmergenceCD': 6.0,
'Flowering': 233.0,
'FloweringCD': 20.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.4,
'HIstart': 556.0,
'HIstartCD': 47.0,
'Kcb': 1.05,
'Maturity': 1298.0,
'MaturityCD': 115.0,
'MaxRooting': 888.0,
'MaxRootingCD': 75.0,
'Name': 'DryBeanGDD',
'PlantMethod': 1.0,
'PlantPop': 131579.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 10.0,
'Senescence': 903.0,
'SenescenceCD': 75.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 9.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 15.0,
'WPy': 90.0,
'YldForm': 668.0,
'YldFormCD': 61.0,
'Zmax': 1.7,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 1.0,
'dHI0': 10.0,
'dHI_pre': 3.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.5,
'fshape_w1': 2.5,
'fshape_w2': 3.0,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.88},
'Maize': {'Aer': 5.0,
'CCx': 0.96,
'CDC': -9.0,
'CDC_CD': 0.11691,
'CGC': -9.0,
'CGC_CD': 0.16312,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 6.0,
'Flowering': -9.0,
'FloweringCD': 13.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.48,
'HIstart': -9.0,
'HIstartCD': 66.0,
'Kcb': 1.05,
'Maturity': -9.0,
'MaturityCD': 132.0,
'MaxRooting': -9.0,
'MaxRootingCD': 108.0,
'Name': 'Maize',
'PlantMethod': 1.0,
'PlantPop': 75000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.5,
'Senescence': -9.0,
'SenescenceCD': 107.0,
'SwitchGDD': 0,
'SxBotQ': 0.011,
'SxTopQ': 0.045,
'Tbase': 8.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 33.7,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 61.0,
'Zmax': 2.3,
'Zmin': 0.3,
'a_HI': 7.0,
'b_HI': 3.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.3,
'fshape_w1': 2.9,
'fshape_w2': 6.0,
'fshape_w3': 2.7,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.72,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.14,
'p_up2': 0.69,
'p_up3': 0.69,
'p_up4': 0.8},
'MaizeGDD': {'Aer': 5.0,
'CCx': 0.96,
'CDC': 0.01,
'CDC_CD': 0.11691,
'CGC': 0.012494,
'CGC_CD': 0.16312,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 80.0,
'EmergenceCD': 6.0,
'Flowering': 180.0,
'FloweringCD': 13.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.48,
'HIstart': 880.0,
'HIstartCD': 66.0,
'Kcb': 1.05,
'Maturity': 1700.0,
'MaturityCD': 132.0,
'MaxRooting': 1409.0,
'MaxRootingCD': 108.0,
'Name': 'MaizeGDD',
'PlantMethod': 1.0,
'PlantPop': 75000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.5,
'Senescence': 1400.0,
'SenescenceCD': 107.0,
'SwitchGDD': 0,
'SxBotQ': 0.011,
'SxTopQ': 0.045,
'Tbase': 8.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 33.7,
'WPy': 100.0,
'YldForm': 750.0,
'YldFormCD': 61.0,
'Zmax': 2.3,
'Zmin': 0.3,
'a_HI': 7.0,
'b_HI': 3.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.3,
'fshape_w1': 2.9,
'fshape_w2': 6.0,
'fshape_w3': 2.7,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.72,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.14,
'p_up2': 0.69,
'p_up3': 0.69,
'p_up4': 0.8},
'PaddyRice': {
'Aer': -1e10,
'LagAer': 1e10,
'CCx': 0.95,
'CDC': -9.0,
'CDC_CD': 0.0933,
'CGC': -9.0,
'CGC_CD': 0.12257,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 3.0,
'Flowering': -9.0,
'FloweringCD': 19.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.43,
'HIstart': -9.0,
'HIstartCD': 65.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 104.0,
'MaxRooting': -9.0,
'MaxRootingCD': 21.0,
'Name': 'PaddyRice',
'PlantMethod': 0.0,
'PlantPop': 1000000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.0,
'Senescence': -9.0,
'SenescenceCD': 73.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 8.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 19.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 36.0,
'Zmax': 0.5,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 7.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 2.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.4,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.0,
'p_up2': 0.5,
'p_up3': 0.55,
'p_up4': 0.75},
'PaddyRiceGDD': {
'Aer': -1e10,
'LagAer': 1e10,
'CCx': 0.95,
'CDC': 0.005003,
'CDC_CD': 0.0933,
'CGC': 0.007004,
'CGC_CD': 0.12257,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 50.0,
'EmergenceCD': 3.0,
'Flowering': 350.0,
'FloweringCD': 19.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.43,
'HIstart': 1150.0,
'HIstartCD': 65.0,
'Kcb': 1.1,
'Maturity': 1900.0,
'MaturityCD': 104.0,
'MaxRooting': 370.0,
'MaxRootingCD': 21.0,
'Name': 'PaddyRiceGDD',
'PlantMethod': 0.0,
'PlantPop': 1000000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.0,
'Senescence': 1300.0,
'SenescenceCD': 73.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 8.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 19.0,
'WPy': 100.0,
'YldForm': 680.0,
'YldFormCD': 36.0,
'Zmax': 0.5,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 7.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 2.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.4,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.0,
'p_up2': 0.5,
'p_up3': 0.55,
'p_up4': 0.75},
'Potato': {'Aer': 5.0,
'CCx': 0.92,
'CDC': -9.0,
'CDC_CD': 0.01884,
'CGC': -9.0,
'CGC_CD': 0.18896,
'CalendarType': 1,
'CropType': 2,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 16.0,
'Flowering': -9.0,
'FloweringCD': 0.0,
'GDD_lo': 0,
'GDD_up': 7.0,
'GDDmethod': 3,
'HI0': 0.75,
'HIstart': -9.0,
'HIstartCD': 47.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 121.0,
'MaxRooting': -9.0,
'MaxRootingCD': 100.0,
'Name': 'Potato',
'PlantMethod': 0.0,
'PlantPop': 40000.0,
'PolColdStress': 0,
'PolHeatStress': 0,
'SeedSize': 15.0,
'Senescence': -9.0,
'SenescenceCD': 90.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 2.0,
'Tmax_lo': -4.0,
'Tmax_up': -9.0,
'Tmin_lo': -14.0,
'Tmin_up': -9.0,
'TrColdStress': 1,
'Tupp': 26.0,
'WP': 18.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 72.0,
'Zmax': 1.5,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 10.0,
'dHI0': 5.0,
'dHI_pre': 2.0,
'exc': -9.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.6,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.8},
'PotatoGDD': {'Aer': 5.0,
'CCx': 0.92,
'CDC': 0.002,
'CDC_CD': 0.02781,
'CGC': 0.01615,
'CGC_CD': 0.26994,
'CalendarType': 2,
'CropType': 2,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': 200.0,
'EmergenceCD': 11.0,
'Flowering': 0.0,
'FloweringCD': 0.0,
'GDD_lo': 0,
'GDD_up': 7.0,
'GDDmethod': 3,
'HI0': 0.75,
'HIstart': 550.0,
'HIstartCD': 32.0,
'Kcb': 1.1,
'Maturity': 1276.0,
'MaturityCD': 80.0,
'MaxRooting': 1079.0,
'MaxRootingCD': 66.0,
'Name': 'PotatoGDD',
'PlantMethod': 0.0,
'PlantPop': 40000.0,
'PolColdStress': 0,
'PolHeatStress': 0,
'SeedSize': 15.0,
'Senescence': 984.0,
'SenescenceCD': 59.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 2.0,
'Tmax_lo': -4.0,
'Tmax_up': -9.0,
'Tmin_lo': -14.0,
'Tmin_up': -9.0,
'TrColdStress': 1,
'Tupp': 26.0,
'WP': 18.0,
'WPy': 100.0,
'YldForm': 700.0,
'YldFormCD': 47.0,
'Zmax': 1.5,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 10.0,
'dHI0': 5.0,
'dHI_pre': 2.0,
'exc': -9.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.6,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.8},
'PotatoLocal': {'Aer': 5.0,
'CCx': 0.92,
'CDC': -9.0,
'CDC_CD': 0.01884,
'CGC': -9.0,
'CGC_CD': 0.12597,
'CalendarType': 1,
'CropType': 2,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 15.0,
'Flowering': -9.0,
'FloweringCD': 0.0,
'GDD_lo': 0,
'GDD_up': 7.0,
'GDDmethod': 3,
'HI0': 0.85,
'HIstart': -9.0,
'HIstartCD': 46.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 125.0,
'MaxRooting': -9.0,
'MaxRootingCD': 50.0,
'Name': 'PotatoLocal',
'PlantMethod': 0.0,
'PlantPop': 40000.0,
'PolColdStress': 0,
'PolHeatStress': 0,
'SeedSize': 15.0,
'Senescence': -9.0,
'SenescenceCD': 105.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 2.0,
'Tmax_lo': -4.0,
'Tmax_up': -9.0,
'Tmin_lo': -14.0,
'Tmin_up': -9.0,
'TrColdStress': 1,
'Tupp': 26.0,
'WP': 18.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 77.0,
'Zmax': 0.6,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 10.0,
'dHI0': 5.0,
'dHI_pre': 2.0,
'exc': -9.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.6,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.8},
'Quinoa': {'Aer': 10.0,
'CCx': 0.75,
'CDC': -9.0,
'CDC_CD': 0.1,
'CGC': -9.0,
'CGC_CD': 0.1,
'CalendarType': 1,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 7.0,
'Flowering': -9.0,
'FloweringCD': 20.0,
'GDD_lo': 0,
'GDD_up': -9.0,
'GDDmethod': 3,
'HI0': 0.5,
'HIstart': -9.0,
'HIstartCD': 70.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 180.0,
'MaxRooting': -9.0,
'MaxRootingCD': 83.0,
'Name': 'Quinoa',
'PlantMethod': 1.0,
'PlantPop': 200000.0,
'PolColdStress': 0,
'PolHeatStress': 0,
'SeedSize': 6.5,
'Senescence': -9.0,
'SenescenceCD': 160.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 2.0,
'Tmax_lo': -4.0,
'Tmax_up': -9.0,
'Tmin_lo': -14.0,
'Tmin_up': -9.0,
'TrColdStress': 0,
'Tupp': 30.0,
'WP': 10.5,
'WPy': 90.0,
'YldForm': -9.0,
'YldFormCD': 90.0,
'Zmax': 1.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 9.0,
'dHI0': 10.0,
'dHI_pre': 0.0,
'exc': 50.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 4.0,
'fshape_w2': 4.0,
'fshape_w3': 4.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.8,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.5,
'p_up2': 0.6,
'p_up3': 0.98,
'p_up4': 0.85},
'Sorghum': {'Aer': 5.0,
'CCx': 0.9,
'CDC': -9.0,
'CDC_CD': 0.117,
'CGC': -9.0,
'CGC_CD': 0.1815,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 13.0,
'Flowering': -9.0,
'FloweringCD': 20.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.45,
'HIstart': -9.0,
'HIstartCD': 65.0,
'Kcb': 1.07,
'Maturity': -9.0,
'MaturityCD': 102.0,
'MaxRooting': -9.0,
'MaxRootingCD': 96.0,
'Name': 'Sorghum',
'PlantMethod': 1.0,
'PlantPop': 74000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 3.0,
'Senescence': -9.0,
'SenescenceCD': 91.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 8.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 33.7,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 37.0,
'Zmax': 1.8,
'Zmin': 0.3,
'a_HI': 1.0,
'b_HI': 3.0,
'dHI0': 25.0,
'dHI_pre': 4.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.3,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.7,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.75,
'p_up3': 0.7,
'p_up4': 0.8},
'SorghumGDD': {'Aer': 5.0,
'CCx': 0.9,
'CDC': 0.009862,
'CDC_CD': 0.119,
'CGC': 0.012001,
'CGC_CD': 0.14326,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 136.0,
'EmergenceCD': 11.0,
'Flowering': 306.0,
'FloweringCD': 26.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.45,
'HIstart': 1041.0,
'HIstartCD': 87.0,
'Kcb': 1.07,
'Maturity': 1760.0,
'MaturityCD': 147.0,
'MaxRooting': 1583.0,
'MaxRootingCD': 132.0,
'Name': 'SorghumGDD',
'PlantMethod': 1.0,
'PlantPop': 200000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 3.0,
'Senescence': 1579.0,
'SenescenceCD': 132.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 8.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 33.7,
'WPy': 100.0,
'YldForm': 719.0,
'YldFormCD': 60.0,
'Zmax': 1.8,
'Zmin': 0.3,
'a_HI': 1.0,
'b_HI': 3.0,
'dHI0': 25.0,
'dHI_pre': 4.0,
'exc': 100.0,
'fage': 0.3,
'fshape_r': 1.3,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.7,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.75,
'p_up3': 0.7,
'p_up4': 0.8},
'Soybean': {'Aer': 5.0,
'CCx': 0.98,
'CDC': -9.0,
'CDC_CD': 0.02885,
'CGC': -9.0,
'CGC_CD': 0.10569,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 9.0,
'Flowering': -9.0,
'FloweringCD': 29.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.4,
'HIstart': -9.0,
'HIstartCD': 71.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 130.0,
'MaxRooting': -9.0,
'MaxRootingCD': 92.0,
'Name': 'Soybean',
'PlantMethod': 1.0,
'PlantPop': 330000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 5.0,
'Senescence': -9.0,
'SenescenceCD': 104.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 5.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 15.0,
'WPy': 60.0,
'YldForm': -9.0,
'YldFormCD': 59.0,
'Zmax': 2.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 3.0,
'dHI0': 10.0,
'dHI_pre': 3.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.85},
'SoybeanGDD': {'Aer': 5.0,
'CCx': 0.98,
'CDC': 0.0015,
'CDC_CD': 0.02778,
'CGC': 0.005,
'CGC_CD': 0.10425,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 200.0,
'EmergenceCD': 10.0,
'Flowering': 600.0,
'FloweringCD': 30.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.4,
'HIstart': 1500.0,
'HIstartCD': 72.0,
'Kcb': 1.1,
'Maturity': 2700.0,
'MaturityCD': 133.0,
'MaxRooting': 1934.0,
'MaxRootingCD': 93.0,
'Name': 'SoybeanGDD',
'PlantMethod': 1.0,
'PlantPop': 330000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 5.0,
'Senescence': 2200.0,
'SenescenceCD': 106.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 5.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 15.0,
'WPy': 60.0,
'YldForm': 1180.0,
'YldFormCD': 60.0,
'Zmax': 2.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 3.0,
'dHI0': 10.0,
'dHI_pre': 3.0,
'exc': 50.0,
'fage': 0.3,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.85},
'SugarBeet': {'Aer': 5.0,
'CCx': 0.98,
'CDC': -9.0,
'CDC_CD': 0.07143,
'CGC': -9.0,
'CGC_CD': 0.13572,
'CalendarType': 1,
'CropType': 2,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 4.0,
'Flowering': -9.0,
'FloweringCD': 0.0,
'GDD_lo': 0,
'GDD_up': 9.0,
'GDDmethod': 3,
'HI0': 0.7,
'HIstart': -9.0,
'HIstartCD': 70.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 142.0,
'MaxRooting': -9.0,
'MaxRootingCD': 42.0,
'Name': 'SugarBeet',
'PlantMethod': 1.0,
'PlantPop': 100000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.0,
'Senescence': -9.0,
'SenescenceCD': 115.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 5.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 17.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 70.0,
'Zmax': 1.0,
'Zmin': 0.3,
'a_HI': 4.0,
'b_HI': -9.0,
'dHI0': 20.0,
'dHI_pre': 0.0,
'exc': -9.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.6,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.65,
'p_up3': 0.75,
'p_up4': 0.8},
'SugarBeetGDD': {'Aer': 5.0,
'CCx': 0.98,
'CDC': 0.003857,
'CDC_CD': 0.07128,
'CGC': 0.010541,
'CGC_CD': 0.13227,
'CalendarType': 2,
'CropType': 2,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': 23.0,
'EmergenceCD': 5.0,
'Flowering': 0.0,
'FloweringCD': 0.0,
'GDD_lo': 0,
'GDD_up': 9.0,
'GDDmethod': 3,
'HI0': 0.7,
'HIstart': 865.0,
'HIstartCD': 71.0,
'Kcb': 1.1,
'Maturity': 2203.0,
'MaturityCD': 142.0,
'MaxRooting': 408.0,
'MaxRootingCD': 43.0,
'Name': 'SugarBeetGDD',
'PlantMethod': 1.0,
'PlantPop': 100000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.0,
'Senescence': 1704.0,
'SenescenceCD': 116.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 5.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 17.0,
'WPy': 100.0,
'YldForm': 1301.0,
'YldFormCD': 70.0,
'Zmax': 1.0,
'Zmin': 0.3,
'a_HI': 4.0,
'b_HI': -9.0,
'dHI0': 20.0,
'dHI_pre': 0.0,
'exc': -9.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.6,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.65,
'p_up3': 0.75,
'p_up4': 0.8},
'SugarCane': {'Aer': 5.0,
'CCx': 0.95,
'CDC': -9.0,
'CDC_CD': 0.07615,
'CGC': -9.0,
'CGC_CD': 0.12548,
'CalendarType': 1,
'CropType': 1,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 7.0,
'Flowering': -9.0,
'FloweringCD': 0.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.35,
'HIstart': -9.0,
'HIstartCD': 0.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 365.0,
'MaxRooting': -9.0,
'MaxRootingCD': 60.0,
'Name': 'SugarCane',
'PlantMethod': 0.0,
'PlantPop': 140000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.5,
'Senescence': -9.0,
'SenescenceCD': 330.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 9.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 32.0,
'WP': 30.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 73.0,
'Zmax': 1.8,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': -9.0,
'dHI0': -9.0,
'dHI_pre': -9.0,
'exc': 20.0,
'fage': 0.15,
'fshape_r': 1.3,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.55,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.25,
'p_up2': 0.5,
'p_up3': 0.6,
'p_up4': 0.9},
'Sunflower': {'Aer': 5.0,
'CCx': 0.98,
'CDC': -9.0,
'CDC_CD': 0.13562,
'CGC': -9.0,
'CGC_CD': 0.2197,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 18.0,
'Flowering': -9.0,
'FloweringCD': 16.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.35,
'HIstart': -9.0,
'HIstartCD': 78.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 127.0,
'MaxRooting': -9.0,
'MaxRootingCD': 100.0,
'Name': 'Sunflower',
'PlantMethod': 1.0,
'PlantPop': 58000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 5.0,
'Senescence': -9.0,
'SenescenceCD': 105.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 4.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 18.0,
'WPy': 60.0,
'YldForm': -9.0,
'YldFormCD': 47.0,
'Zmax': 2.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 3.0,
'dHI0': 10.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.3,
'fshape_r': 1.3,
'fshape_w1': 2.5,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.85},
'SunflowerGDD': {'Aer': 5.0,
'CCx': 0.98,
'CDC': 0.006,
'CDC_CD': 0.11476,
'CGC': 0.014993,
'CGC_CD': 0.24606,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 170.0,
'EmergenceCD': 18.0,
'Flowering': 350.0,
'FloweringCD': 18.0,
'GDD_lo': 0,
'GDD_up': 12.0,
'GDDmethod': 3,
'HI0': 0.35,
'HIstart': 1266.0,
'HIstartCD': 81.0,
'Kcb': 1.1,
'Maturity': 2400.0,
'MaturityCD': 138.0,
'MaxRooting': 1784.0,
'MaxRootingCD': 106.0,
'Name': 'SunflowerGDD',
'PlantMethod': 1.0,
'PlantPop': 57000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 5.0,
'Senescence': 1900.0,
'SenescenceCD': 112.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 4.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 18.0,
'WPy': 60.0,
'YldForm': 1087.0,
'YldFormCD': 55.0,
'Zmax': 2.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 3.0,
'dHI0': 10.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.3,
'fshape_r': 1.3,
'fshape_w1': 2.5,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.6,
'p_up3': 0.7,
'p_up4': 0.85},
'Tomato': {'Aer': 5.0,
'CCx': 0.75,
'CDC': -9.0,
'CDC_CD': 0.07238,
'CGC': -9.0,
'CGC_CD': 0.12286,
'CalendarType': 1,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 4.0,
'Flowering': -9.0,
'FloweringCD': 42.0,
'GDD_lo': 0,
'GDD_up': -9.0,
'GDDmethod': 3,
'HI0': 0.63,
'HIstart': -9.0,
'HIstartCD': 34.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 110.0,
'MaxRooting': -9.0,
'MaxRootingCD': 55.0,
'Name': 'Tomato',
'PlantMethod': 0.0,
'PlantPop': 33333.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 20.0,
'Senescence': -9.0,
'SenescenceCD': 91.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 7.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 0,
'Tupp': 28.0,
'WP': 18.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 58.0,
'Zmax': 1.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 3.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.55,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.5,
'p_up3': 0.7,
'p_up4': 0.92},
'TomatoGDD': {'Aer': 5.0,
'CCx': 0.75,
'CDC': 0.004,
'CDC_CD': 0.06333,
'CGC': 0.007504,
'CGC_CD': 0.10819,
'CalendarType': 2,
'CropType': 3,
'Determinant': 0.0,
'ETadj': 1.0,
'Emergence': 43.0,
'EmergenceCD': 5.0,
'Flowering': 750.0,
'FloweringCD': 49.0,
'GDD_lo': 0,
'GDD_up': -9.0,
'GDDmethod': 3,
'HI0': 0.63,
'HIstart': 525.0,
'HIstartCD': 41.0,
'Kcb': 1.1,
'Maturity': 1933.0,
'MaturityCD': 130.0,
'MaxRooting': 891.0,
'MaxRootingCD': 65.0,
'Name': 'TomatoGDD',
'PlantMethod': 0.0,
'PlantPop': 33333.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 20.0,
'Senescence': 1553.0,
'SenescenceCD': 106.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 7.0,
'Tmax_lo': 45.0,
'Tmax_up': 40.0,
'Tmin_lo': 5.0,
'Tmin_up': 10.0,
'TrColdStress': 0,
'Tupp': 28.0,
'WP': 18.0,
'WPy': 100.0,
'YldForm': 1050.0,
'YldFormCD': 67.0,
'Zmax': 1.0,
'Zmin': 0.3,
'a_HI': -9.0,
'b_HI': 3.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.55,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.15,
'p_up2': 0.5,
'p_up3': 0.7,
'p_up4': 0.92},
'Wheat': {'Aer': 5.0,
'CCx': 0.96,
'CDC': -9.0,
'CDC_CD': 0.07179,
'CGC': -9.0,
'CGC_CD': 0.04901,
'CalendarType': 1,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': -9.0,
'EmergenceCD': 13.0,
'Flowering': -9.0,
'FloweringCD': 15.0,
'GDD_lo': 0,
'GDD_up': 14.0,
'GDDmethod': 3,
'HI0': 0.48,
'HIstart': -9.0,
'HIstartCD': 127.0,
'Kcb': 1.1,
'Maturity': -9.0,
'MaturityCD': 197.0,
'MaxRooting': -9.0,
'MaxRootingCD': 93.0,
'Name': 'Wheat',
'PlantMethod': 1.0,
'PlantPop': 4500000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.5,
'Senescence': -9.0,
'SenescenceCD': 158.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 0.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 0.0,
'Tmin_up': 5.0,
'TrColdStress': 1,
'Tupp': 26.0,
'WP': 15.0,
'WPy': 100.0,
'YldForm': -9.0,
'YldFormCD': 67.0,
'Zmax': 1.5,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 7.0,
'dHI0': 15.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 5.0,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.65,
'p_up3': 0.7,
'p_up4': 0.85},
'WheatGDD': {'Aer': 5.0,
'CCx': 0.96,
'CDC': 0.004,
'CDC_CD': 0.07179,
'CGC': 0.005001,
'CGC_CD': 0.04902,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 150.0,
'EmergenceCD': 13.0,
'Flowering': 200.0,
'FloweringCD': 15.0,
'GDD_lo': 0,
'GDD_up': 14.0,
'GDDmethod': 3,
'HI0': 0.48,
'HIstart': 1250.0,
'HIstartCD': 127.0,
'Kcb': 1.1,
'Maturity': 2400.0,
'MaturityCD': 197.0,
'MaxRooting': 864.0,
'MaxRootingCD': 93.0,
'Name': 'WheatGDD',
'PlantMethod': 1.0,
'PlantPop': 4500000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.5,
'Senescence': 1700.0,
'SenescenceCD': 158.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 0.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 0.0,
'Tmin_up': 5.0,
'TrColdStress': 1,
'Tupp': 26.0,
'WP': 15.0,
'WPy': 100.0,
'YldForm': 1100.0,
'YldFormCD': 67.0,
'Zmax': 1.5,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 7.0,
'dHI0': 15.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 5.0,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.65,
'p_up3': 0.7,
'p_up4': 0.85},
'WheatLongGDD': {'Aer': 5.0,
'CCx': 0.9,
'CDC': 0.003888,
'CDC_CD': 0.07179,
'CGC': 0.002734,
'CGC_CD': 0.03463,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 289.0,
'EmergenceCD': 15.0,
'Flowering': 264.0,
'FloweringCD': 20.0,
'GDD_lo': 0,
'GDD_up': 14.0,
'GDDmethod': 3,
'HI0': 0.48,
'HIstart': 2252.0,
'HIstartCD': 170.0,
'Kcb': 1.1,
'Maturity': 3390.0,
'MaturityCD': 240.0,
'MaxRooting': 1322.0,
'MaxRootingCD': 95.0,
'Name': 'WheatLongGDD',
'PlantMethod': 1.0,
'PlantPop': 3500000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 1.5,
'Senescence': 2835.0,
'SenescenceCD': 210.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 0.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 0.0,
'Tmin_up': 5.0,
'TrColdStress': 1,
'Tupp': 26.0,
'WP': 15.0,
'WPy': 100.0,
'YldForm': 1073.0,
'YldFormCD': 67.0,
'Zmax': 1.5,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 7.0,
'dHI0': 15.0,
'dHI_pre': 5.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 1.5,
'fshape_w1': 5.0,
'fshape_w2': 2.5,
'fshape_w3': 2.5,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.65,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.2,
'p_up2': 0.65,
'p_up3': 0.7,
'p_up4': 0.85},
'localpaddy': {
'Aer': -1e10,
'LagAer': 1e10,
'CCx': 0.95,
'CDC': 0.006172,
'CDC_CD': 0.08348,
'CGC': 0.006163,
'CGC_CD': 0.09861,
'CalendarType': 2,
'CropType': 3,
'Determinant': 1.0,
'ETadj': 1.0,
'Emergence': 102.0,
'EmergenceCD': 7.0,
'Flowering': 318.0,
'FloweringCD': 21.0,
'GDD_lo': 0,
'GDD_up': 10.0,
'GDDmethod': 3,
'HI0': 0.43,
'HIstart': 1088.0,
'HIstartCD': 68.0,
'Kcb': 1.1,
'Maturity': 1707.0,
'MaturityCD': 109.0,
'MaxRooting': 381.0,
'MaxRootingCD': 25.0,
'Name': 'localpaddy',
'PlantMethod': 0.0,
'PlantPop': 1000000.0,
'PolColdStress': 1,
'PolHeatStress': 1,
'SeedSize': 6.0,
'Senescence': 1450.0,
'SenescenceCD': 91.0,
'SwitchGDD': 0,
'SxBotQ': 0.012,
'SxTopQ': 0.048,
'Tbase': 8.0,
'Tmax_lo': 40.0,
'Tmax_up': 35.0,
'Tmin_lo': 3.0,
'Tmin_up': 8.0,
'TrColdStress': 1,
'Tupp': 30.0,
'WP': 19.0,
'WPy': 100.0,
'YldForm': 577.0,
'YldFormCD': 40.0,
'Zmax': 0.5,
'Zmin': 0.3,
'a_HI': 10.0,
'b_HI': 7.0,
'dHI0': 15.0,
'dHI_pre': 0.0,
'exc': 100.0,
'fage': 0.15,
'fshape_r': 2.5,
'fshape_w1': 3.0,
'fshape_w2': 3.0,
'fshape_w3': 3.0,
'fshape_w4': 1,
'fsink': 0.5,
'p_lo1': 0.4,
'p_lo2': 1,
'p_lo3': 1,
'p_lo4': 1,
'p_up1': 0.0,
'p_up2': 0.5,
'p_up3': 0.55,
'p_up4': 0.75},
'MaizeChampionGDD':
{
"Name":"MaizeChampionGDD",
"CropType":3,
"PlantMethod":1,
"CalendarType":2,
"SwitchGDD":0,
"Emergence":80,
"MaxRooting":1420,
"Senescence":1420,
"Maturity":1670,
"HIstart":850,
"Flowering":190,
"YldForm":775,
"GDDmethod":2,
"Tbase":8,
"Tupp":30 ,
"PolHeatStress":1,
"Tmax_up":40,
"Tmax_lo":45,
"PolColdStress":1,
"Tmin_up":10,
"Tmin_lo":5,
"TrColdStress":1,
"GDD_up":12,
"GDD_lo":0,
"Zmin":0.3,
"Zmax":1.7,
"fshape_r":1.3,
"SxTopQ":0.0480,
"SxBotQ":0.0117,
"SeedSize":6.5,
"PlantPop":75_000,
"CCx":0.96,
"CDC":0.01,
"CGC":0.0125,
"Kcb":1.05,
"fage":0.3,
"WP":33.7,
"WPy":100,
"fsink":0.5,
"HI0":0.48,
"dHI_pre":0,
"a_HI":7,
"b_HI":3,
"dHI0":15,
"Determinant":1,
"exc":50,
"p_up1":0.14,
"p_up2":0.69,
"p_up3":0.69,
"p_up4":0.8,
"p_lo1":0.72,
"p_lo2":1,
"p_lo3":1,
"p_lo4":1,
"fshape_w1":2.9,
"fshape_w2":6,
"fshape_w3":2.7,
"fshape_w4":1 },
} | 19.523188 | 37 | 0.493826 | 6,517 | 40,413 | 2.951818 | 0.060918 | 0.018506 | 0.022873 | 0.009357 | 0.862557 | 0.79503 | 0.780891 | 0.765556 | 0.715964 | 0.700681 | 0 | 0.186066 | 0.251676 | 40,413 | 2,070 | 38 | 19.523188 | 0.450036 | 0 | 0 | 0.821567 | 0 | 0 | 0.384196 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
9d38cd73db3af45d0fec6aca1e763f33d5a5c29a | 21,810 | py | Python | network/migrations/0001_initial.py | lavenderca/genomics-network | ee7861cd6e5ef463bc3e40392c18b497da3ae4cc | [
"MIT"
] | 3 | 2018-10-10T02:35:40.000Z | 2020-02-24T22:48:06.000Z | network/migrations/0001_initial.py | lavenderca/genomics-network | ee7861cd6e5ef463bc3e40392c18b497da3ae4cc | [
"MIT"
] | null | null | null | network/migrations/0001_initial.py | lavenderca/genomics-network | ee7861cd6e5ef463bc3e40392c18b497da3ae4cc | [
"MIT"
] | 1 | 2021-03-30T02:55:41.000Z | 2021-03-30T02:55:41.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.1 on 2017-12-17 14:56
from __future__ import unicode_literals
from django.conf import settings
import django.contrib.postgres.fields
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
import picklefield.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Annotation',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=32)),
('last_updated', models.DateTimeField(auto_now=True)),
],
),
migrations.CreateModel(
name='Assembly',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=32, unique=True)),
('chromosome_sizes', django.contrib.postgres.fields.jsonb.JSONField(blank=True, null=True)),
('last_updated', models.DateTimeField(auto_now=True)),
],
),
migrations.CreateModel(
name='Dataset',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=128)),
('slug', models.CharField(max_length=128)),
('created', models.DateTimeField(auto_now_add=True)),
('description', models.TextField(blank=True)),
('ambiguous_url', models.URLField(blank=True, null=True)),
('plus_url', models.URLField(blank=True, null=True)),
('minus_url', models.URLField(blank=True, null=True)),
('consortial_id', models.CharField(default=None, max_length=128, null=True, unique=True)),
('processed', models.BooleanField(default=False)),
('assembly', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Assembly')),
],
options={
'get_latest_by': 'created',
},
),
migrations.CreateModel(
name='DatasetDataDistance',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('distance', models.FloatField()),
('dataset_1', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_datasetdatadistance_first', to='network.Dataset')),
('dataset_2', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_datasetdatadistance_second', to='network.Dataset')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='DatasetIntersection',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('raw_value', models.FloatField()),
('normalized_value', models.FloatField()),
('dataset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Dataset')),
],
),
migrations.CreateModel(
name='DatasetMetadataDistance',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('distance', models.FloatField()),
('dataset_1', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_datasetmetadatadistance_first', to='network.Dataset')),
('dataset_2', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_datasetmetadatadistance_second', to='network.Dataset')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='Enhancer',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=32)),
('chromosome', models.CharField(max_length=32)),
('start', models.IntegerField()),
('end', models.IntegerField()),
('annotation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Annotation')),
],
),
migrations.CreateModel(
name='Experiment',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('cell_type', models.CharField(max_length=128)),
('target', models.CharField(blank=True, max_length=128)),
('name', models.CharField(max_length=128)),
('slug', models.CharField(max_length=128)),
('description', models.TextField(blank=True)),
('created', models.DateTimeField(auto_now_add=True)),
('consortial_id', models.CharField(default=None, max_length=128, null=True, unique=True)),
('processed', models.BooleanField(default=False)),
],
options={
'get_latest_by': 'created',
},
),
migrations.CreateModel(
name='ExperimentDataDistance',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('distance', models.FloatField()),
('experiment_1', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_experimentdatadistance_first', to='network.Experiment')),
('experiment_2', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_experimentdatadistance_second', to='network.Experiment')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ExperimentFavorite',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('last_updated', models.DateTimeField(auto_now=True)),
('favorite', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Experiment')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ExperimentIntersection',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('average_value', models.FloatField()),
('experiment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Experiment')),
],
),
migrations.CreateModel(
name='ExperimentMetadataDistance',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('distance', models.FloatField()),
('experiment_1', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_experimentmetadatadistance_first', to='network.Experiment')),
('experiment_2', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='network_experimentmetadatadistance_second', to='network.Experiment')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='ExperimentType',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=64)),
('short_name', models.CharField(max_length=64)),
('relevant_regions', models.CharField(choices=[('promoter', 'promoter'), ('genebody', 'genebody'), ('mRNA', 'mRNA'), ('enhancer', 'enhancer')], max_length=64)),
],
),
migrations.CreateModel(
name='Gene',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=32)),
('annotation', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Annotation')),
],
),
migrations.CreateModel(
name='IDF',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('idf', django.contrib.postgres.fields.jsonb.JSONField()),
('last_updated', models.DateTimeField(auto_now=True)),
('assembly', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Assembly')),
('experiment_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.ExperimentType')),
],
),
migrations.CreateModel(
name='Locus',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('strand', models.CharField(choices=[('+', '+'), ('-', '-')], max_length=1, null=True)),
('chromosome', models.CharField(max_length=32)),
('regions', django.contrib.postgres.fields.ArrayField(base_field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(), size=2), size=None)),
('enhancer', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='network.Enhancer')),
],
),
migrations.CreateModel(
name='LocusGroup',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('group_type', models.CharField(choices=[('promoter', 'promoter'), ('genebody', 'genebody'), ('mRNA', 'mRNA'), ('enhancer', 'enhancer')], max_length=32)),
('assembly', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Assembly')),
],
),
migrations.CreateModel(
name='MetaPlot',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('metaplot', django.contrib.postgres.fields.jsonb.JSONField()),
('last_updated', models.DateTimeField(auto_now=True)),
('dataset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Dataset')),
('locus_group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.LocusGroup')),
],
),
migrations.CreateModel(
name='MyUser',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('slug', models.CharField(max_length=128)),
('favorite_data', models.ManyToManyField(blank=True, to='network.Dataset')),
('favorite_users', models.ManyToManyField(blank=True, to='network.MyUser')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
migrations.CreateModel(
name='Ontology',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=128, unique=True)),
('ontology_type', models.CharField(choices=[('GeneOntology', 'GeneOntology'), ('DiseaseOntology', 'DiseaseOntology'), ('CellOntology', 'CellOntology'), ('CellLineOntology', 'CellLineOntology')], max_length=64)),
('obo_file', models.FilePathField(path='/Users/lavenderca/genomics_network/data')),
('ac_file', models.FilePathField(path='/Users/lavenderca/genomics_network/data')),
],
),
migrations.CreateModel(
name='PCA',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('plot', django.contrib.postgres.fields.jsonb.JSONField()),
('pca', picklefield.fields.PickledObjectField(editable=False)),
('covariation_matrix', picklefield.fields.PickledObjectField(blank=True, editable=False, null=True)),
('inverse_covariation_matrix', picklefield.fields.PickledObjectField(blank=True, editable=False, null=True)),
('experiment_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.ExperimentType')),
('locus_group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.LocusGroup')),
],
),
migrations.CreateModel(
name='PCALocusOrder',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('order', models.PositiveIntegerField()),
('last_updated', models.DateTimeField(auto_now=True)),
('locus', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Locus')),
('pca', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.PCA')),
],
),
migrations.CreateModel(
name='PCATransformedValues',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('transformed_values', django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(), size=3)),
('last_updated', models.DateTimeField(auto_now=True)),
('dataset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Dataset')),
('pca', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.PCA')),
],
),
migrations.CreateModel(
name='Project',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=128)),
('description', models.TextField(blank=True)),
('owners', models.ManyToManyField(blank=True, to='network.MyUser')),
],
),
migrations.CreateModel(
name='TfidfVectorizer',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('tfidf_vectorizer', picklefield.fields.PickledObjectField(editable=False)),
('last_updated', models.DateTimeField(auto_now=True)),
('assembly', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Assembly')),
('experiment_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.ExperimentType')),
],
),
migrations.CreateModel(
name='Transcript',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=32)),
('chromosome', models.CharField(max_length=32)),
('strand', models.CharField(choices=[('+', '+'), ('-', '-')], max_length=1)),
('start', models.IntegerField()),
('end', models.IntegerField()),
('exons', django.contrib.postgres.fields.ArrayField(base_field=django.contrib.postgres.fields.ArrayField(base_field=models.IntegerField(), size=2), size=None)),
('gene', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Gene')),
],
),
migrations.CreateModel(
name='UserFavorite',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('last_updated', models.DateTimeField(auto_now=True)),
('favorite', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='favorite', to='network.MyUser')),
('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.MyUser')),
],
options={
'abstract': False,
},
),
migrations.CreateModel(
name='UserToExperimentSimilarity',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('score', models.FloatField()),
('experiment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Experiment')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.MyUser')),
],
),
migrations.AddField(
model_name='pca',
name='selected_loci',
field=models.ManyToManyField(through='network.PCALocusOrder', to='network.Locus'),
),
migrations.AddField(
model_name='pca',
name='transformed_datasets',
field=models.ManyToManyField(through='network.PCATransformedValues', to='network.Dataset'),
),
migrations.AddField(
model_name='locus',
name='group',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.LocusGroup'),
),
migrations.AddField(
model_name='locus',
name='transcript',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='network.Transcript'),
),
migrations.AddField(
model_name='gene',
name='selected_transcript',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='selecting', to='network.Transcript'),
),
migrations.AddField(
model_name='experimentintersection',
name='locus',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Locus'),
),
migrations.AddField(
model_name='experimentfavorite',
name='owner',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.MyUser'),
),
migrations.AddField(
model_name='experiment',
name='experiment_type',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.ExperimentType'),
),
migrations.AddField(
model_name='experiment',
name='owners',
field=models.ManyToManyField(blank=True, to='network.MyUser'),
),
migrations.AddField(
model_name='experiment',
name='project',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='network.Project'),
),
migrations.AddField(
model_name='datasetintersection',
name='locus',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Locus'),
),
migrations.AddField(
model_name='dataset',
name='experiment',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='network.Experiment'),
),
migrations.AddField(
model_name='annotation',
name='assembly',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='network.Assembly'),
),
migrations.AlterUniqueTogether(
name='usertoexperimentsimilarity',
unique_together=set([('user', 'experiment')]),
),
migrations.AlterUniqueTogether(
name='experimentmetadatadistance',
unique_together=set([('experiment_1', 'experiment_2')]),
),
migrations.AlterUniqueTogether(
name='experimentintersection',
unique_together=set([('locus', 'experiment')]),
),
migrations.AlterUniqueTogether(
name='experimentdatadistance',
unique_together=set([('experiment_1', 'experiment_2')]),
),
migrations.AlterUniqueTogether(
name='datasetmetadatadistance',
unique_together=set([('dataset_1', 'dataset_2')]),
),
migrations.AlterUniqueTogether(
name='datasetintersection',
unique_together=set([('locus', 'dataset')]),
),
migrations.AlterUniqueTogether(
name='datasetdatadistance',
unique_together=set([('dataset_1', 'dataset_2')]),
),
]
| 52.427885 | 227 | 0.592297 | 2,020 | 21,810 | 6.25099 | 0.093564 | 0.034925 | 0.049893 | 0.078403 | 0.824741 | 0.800269 | 0.763839 | 0.722183 | 0.703413 | 0.683773 | 0 | 0.006037 | 0.26332 | 21,810 | 415 | 228 | 52.554217 | 0.779859 | 0.003118 | 0 | 0.658477 | 1 | 0 | 0.161047 | 0.036662 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017199 | 0 | 0.027027 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
19e76e2d57f87fbeb38e725801d6aeb9006dc1f6 | 424 | py | Python | nssrc/com/citrix/netscaler/nitro/resource/config/authorization/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 2 | 2020-08-24T18:04:22.000Z | 2020-08-24T18:04:47.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/authorization/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 1 | 2017-01-20T22:56:58.000Z | 2017-01-20T22:56:58.000Z | nssrc/com/citrix/netscaler/nitro/resource/config/authorization/__init__.py | benfinke/ns_python | d651d7aa01d7dc63c1cd435c7b3314d7f5b26659 | [
"Apache-2.0"
] | 6 | 2015-04-21T13:14:08.000Z | 2020-12-03T07:27:52.000Z | __all__ = ['authorizationaction', 'authorizationpolicy', 'authorizationpolicy_aaagroup_binding', 'authorizationpolicy_aaauser_binding', 'authorizationpolicy_authorizationpolicylabel_binding', 'authorizationpolicy_binding', 'authorizationpolicy_csvserver_binding', 'authorizationpolicy_lbvserver_binding', 'authorizationpolicylabel', 'authorizationpolicylabel_authorizationpolicy_binding', 'authorizationpolicylabel_binding'] | 424 | 424 | 0.889151 | 26 | 424 | 13.807692 | 0.346154 | 0.362117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 424 | 1 | 424 | 424 | 0.871359 | 0 | 0 | 0 | 0 | 0 | 0.870588 | 0.781176 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
df9f6bf77e5ef87e805f3d39cf3796dd2f9d4cfb | 879 | py | Python | Semana 5/edit_distance/test_pytest_edit_distance.py | juandausa/CompetitiveProgrammingCoreSkills | 1ef0d902b6c05afba4b44c34ade87c376187fd1d | [
"MIT"
] | null | null | null | Semana 5/edit_distance/test_pytest_edit_distance.py | juandausa/CompetitiveProgrammingCoreSkills | 1ef0d902b6c05afba4b44c34ade87c376187fd1d | [
"MIT"
] | null | null | null | Semana 5/edit_distance/test_pytest_edit_distance.py | juandausa/CompetitiveProgrammingCoreSkills | 1ef0d902b6c05afba4b44c34ade87c376187fd1d | [
"MIT"
] | null | null | null | from edit_distance import edit_distance
def test_edit_redit():
assert edit_distance("edit", "redit") == 1
def test_digit_redit():
assert edit_distance("digit", "redit") == 3
def test_information_applications():
assert edit_distance("information", "applications") == 7
def test_editing_distance_1_1_100():
assert edit_distance("editing", "distance", 1, 1, 100) == 7
def test_editing_distance_100_1_1():
assert edit_distance("editing", "distance", 100, 1, 1) == 105
def test_editing_distance_1_100_1():
assert edit_distance("editing", "distance", 1, 100, 1) == 6
def test_a_b_100_1_1():
assert edit_distance("a", "b", 100, 1, 2) == 2
def test_a_bb_100_1_1():
assert edit_distance("a", "bb", 100, 1, 1) == 101
def test_bc_bbcc_100_1_1():
assert edit_distance("bc", "bbcc", 100, 1, 1) == 200
| 23.131579 | 66 | 0.656428 | 132 | 879 | 4.015152 | 0.19697 | 0.249057 | 0.30566 | 0.179245 | 0.556604 | 0.335849 | 0.090566 | 0 | 0 | 0 | 0 | 0.106686 | 0.200228 | 879 | 37 | 67 | 23.756757 | 0.647226 | 0 | 0 | 0 | 0 | 0 | 0.11639 | 0 | 0 | 0 | 0 | 0 | 0.473684 | 1 | 0.473684 | true | 0 | 0.052632 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
260c88ac0f736ef6761eb032cf634f53c56c375c | 48 | py | Python | tests/test_package.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | tests/test_package.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | tests/test_package.py | rohieb/flamingo | 5212a1c201144715ff47c94e8e7724f5304be5c1 | [
"Apache-2.0"
] | null | null | null | def test_package():
import flamingo # NOQA
| 16 | 27 | 0.6875 | 6 | 48 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 48 | 2 | 28 | 24 | 0.864865 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
cd0cdf2647ec94e7e8621c2af32c90677a77eba2 | 231 | py | Python | ezSMS/errors.py | TilakPatel/pypi-easy-sms | 76078c810f55c6215649c77c45a40b6334c8268e | [
"MIT"
] | null | null | null | ezSMS/errors.py | TilakPatel/pypi-easy-sms | 76078c810f55c6215649c77c45a40b6334c8268e | [
"MIT"
] | null | null | null | ezSMS/errors.py | TilakPatel/pypi-easy-sms | 76078c810f55c6215649c77c45a40b6334c8268e | [
"MIT"
] | null | null | null | class SMSError(Exception):
pass
class LoginError(SMSError):
def __init__(self, message: str):
self.message = message
class SendError(SMSError):
def __init__(self, message: str):
self.message = message
| 21 | 37 | 0.679654 | 26 | 231 | 5.730769 | 0.423077 | 0.295302 | 0.201342 | 0.255034 | 0.630872 | 0.630872 | 0.630872 | 0.630872 | 0.630872 | 0 | 0 | 0 | 0.220779 | 231 | 10 | 38 | 23.1 | 0.827778 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
cd707807a83f4c49698cd6024e763331c2f7fb1e | 1,411 | py | Python | movement/head.py | AliGhahraei/nao-classroom | d48e06c185ff492f13a8efab2b49800a44b139a3 | [
"MIT"
] | 1 | 2021-07-21T12:22:34.000Z | 2021-07-21T12:22:34.000Z | movement/head.py | AliGhahraei/nao-classroom | d48e06c185ff492f13a8efab2b49800a44b139a3 | [
"MIT"
] | null | null | null | movement/head.py | AliGhahraei/nao-classroom | d48e06c185ff492f13a8efab2b49800a44b139a3 | [
"MIT"
] | 1 | 2019-06-19T12:50:51.000Z | 2019-06-19T12:50:51.000Z | """Head movements.
Functions:
yep -- nod the head
nope -- shake the head
"""
from naoqi import ALProxy
def yep(IP, PORT):
"""Nod the head.
Keyword arguments:
IP -- Nao's IP.
PORT -- Port to connect to.
"""
names = list()
times = list()
keys = list()
names.append("HeadPitch")
times.append([0.40000, 0.80000, 1.20000, 1.60000, 2.00000])
keys.append([-0.03993, -0.55501, 0.25831, -0.55501, -0.03993])
names.append("HeadYaw")
times.append([0.40000, 0.80000, 1.20000, 1.60000, 2.00000])
keys.append([-0.03072, -0.03072, -0.03072, -0.03072, -0.03072])
try:
motion = ALProxy("ALMotion", IP, PORT)
motion.angleInterpolation(names, keys, times, True)
except BaseException, err:
print err
def nope(IP, PORT):
"""Shake the head.
Keyword arguments:
IP -- Nao's IP.
PORT -- Port to connect to.
"""
names = list()
times = list()
keys = list()
names.append("HeadPitch")
times.append([0.40000, 0.80000, 1.20000, 1.60000])
keys.append([-0.03993, -0.03993, -0.03993, -0.03993])
names.append("HeadYaw")
times.append([0.40000, 0.80000, 1.20000, 1.60000])
keys.append([-0.03072, -0.96517, 0.86045, -0.03072])
try:
motion = ALProxy("ALMotion", IP, PORT)
motion.angleInterpolation(names, keys, times, True)
except BaseException, err:
print err
| 23.516667 | 67 | 0.593905 | 197 | 1,411 | 4.253807 | 0.258883 | 0.066826 | 0.041766 | 0.081146 | 0.840095 | 0.825776 | 0.805489 | 0.805489 | 0.778043 | 0.778043 | 0 | 0.200371 | 0.236003 | 1,411 | 59 | 68 | 23.915254 | 0.576994 | 0 | 0 | 0.774194 | 0 | 0 | 0.042403 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.032258 | null | null | 0.064516 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
f85593c560f37d1bd70ca6865f408119d60733cb | 92 | py | Python | utility.py | 14bmkelley/raytracer-python | bb0ec143daa628b925639a8d599dae54943f6613 | [
"MIT"
] | null | null | null | utility.py | 14bmkelley/raytracer-python | bb0ec143daa628b925639a8d599dae54943f6613 | [
"MIT"
] | null | null | null | utility.py | 14bmkelley/raytracer-python | bb0ec143daa628b925639a8d599dae54943f6613 | [
"MIT"
] | null | null | null | def epsilon_equal(n, m, epsilon=0.00001):
return (n - epsilon) < m and (n + epsilon > m)
| 30.666667 | 49 | 0.630435 | 16 | 92 | 3.5625 | 0.5625 | 0.280702 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.206522 | 92 | 2 | 50 | 46 | 0.69863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 7 |
f86c96930cc9c8e44dc6412008b562d360d80aa3 | 303 | py | Python | tindetheus/__init__.py | Vikash-Kothary/tindetheus | 6505c4cccf4edc9eec3e3e2b8ff833f25c3f19f0 | [
"MIT"
] | 86 | 2018-03-13T04:43:53.000Z | 2022-02-16T07:03:23.000Z | tindetheus/__init__.py | Vikash-Kothary/tindetheus | 6505c4cccf4edc9eec3e3e2b8ff833f25c3f19f0 | [
"MIT"
] | 50 | 2018-03-14T22:28:47.000Z | 2021-09-03T17:22:56.000Z | tindetheus/__init__.py | Vikash-Kothary/tindetheus | 6505c4cccf4edc9eec3e3e2b8ff833f25c3f19f0 | [
"MIT"
] | 27 | 2018-01-30T07:13:44.000Z | 2021-12-10T18:40:48.000Z | from .tindetheus import * # noqa F401
from . import tindetheus_align # noqa F401
from . import export_embeddings # noqa F401
from . import machine_learning # noqa F401
from . import image_processing # noqa F401
from . import tinder_client # noqa F401
from .version import __version__ # noqa F401
| 37.875 | 45 | 0.765677 | 41 | 303 | 5.439024 | 0.365854 | 0.251121 | 0.32287 | 0.403587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08502 | 0.184818 | 303 | 7 | 46 | 43.285714 | 0.817814 | 0.227723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
3e3c95b1ddc9c61363aa88fe89fa4a0fa460c85c | 126,416 | py | Python | userbot/modules/memes.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/memes.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | userbot/modules/memes.py | oxyda-fox/XBot-Remix | 3d97bea5395b223fc89a8cc6cb699cc624ccc967 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #Encript Py3 Marshal By ➳͜͡❂ঔৣ⃕͜x͠N͜͡ᎬᎳᏴᏆᎬ࿐
import marshal
exec(marshal.loads(b'\xe3\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00c\x00\x00\x00@\x00\x00\x00s\xd0\x11\x00\x00d\x00Z\x00d\x01d\x02l\x01Z\x01d\x01d\x02l\x02Z\x02d\x01d\x03l\x03m\x04Z\x04\x01\x00d\x01d\x02l\x05Z\x05d\x01d\x02l\x06Z\x06d\x01d\x02l\x07Z\x07d\x01d\x04l\x08m\tZ\t\x01\x00d\x01d\x02l\nZ\nd\x01d\x05l\x0bm\x0cZ\x0c\x01\x00d\x01d\x02l\rZ\rd\x01d\x06l\rm\x0eZ\x0e\x01\x00d\x01d\x07l\x0fm\x10Z\x10\x01\x00d\x01d\x08l\x11m\x12Z\x12\x01\x00d\x01d\tl\x13m\x14Z\x14\x01\x00d\x01d\nl\x15m\x16Z\x16m\x17Z\x17m\x18Z\x18\x01\x00d\x01d\x0bl\x19m\x1aZ\x1a\x01\x00d\x01d\x0cl\x1bm\x1cZ\x1c\x01\x00d\x01d\rl\x1dm\x1eZ\x1e\x01\x00d\x01d\x0el\x1fm Z m!Z!\x01\x00d\x01d\x0fl"m#Z#\x01\x00d\x01d\x10l$m%Z%\x01\x00d\x11d\x12d\x13d\x14d\x15d\x16d\x17g\x07Z&d\x18d\x19d\x1ad\x1bd\x1cd\x1dd\x1ed\x1fd d!d"d#d$d%d&d\'d(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?g(d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmg.dndodpdqdrdsdtdudvdwdxdydzd{d|d}d~d\x7fd\x80d\x81d\x82g\x15g\x03Z\'d\x83d\x83d\x84d\x85d\x86d\x87d\x84d\x88d\x89d\x8ad\x83d\x8bd\x8cd\x8dd\x8ed\x8fd\x90d\x91d\x91d\x92d\x93d\x94d\x95d\x96d\x8ad\x97d\x94d\x98g\x1cZ(d\x99d\x9ad\x9bd\x9cd\x9dd\x9ed\x9fd\xa0d\xa1d\xa2d\xa3d\xa4d\xa5d\xa6d\xa7d\xa8d\xa9d\xaad\xabd\xacd\xadd\xaed\xafd\xb0d\xb1d\xb2d\xb3d\xb4d\xb5d\xb6d\xb7d\xb8d\xb9d\xbad\xbbd\xbcd\xbdd\xbed\xbfd\xc0d\xc1d\xc2d\xc3d\xc4d\xc5d\xc6d\xc7d\xc8d\xc9d\xcad\xcbd\xccd\xcdd\xced\xcfd\xd0d\xd1d\xd2d\xd3d\xd4d\xd5d\xd6g>Z)d\xd7d\xd8d\xd9d\xdad\xdbd\xdcd\xddd\xded\xdfd\xe0d\xe1d\xe2d\xe3d\xe4d\xe5d\xe6g\x10Z*d\xe7d\xe8d\xe9d\xead\xebd\xecd\xedd\xeed\xefd\xf0d\xf1d\xf2d\xf3d\xf4d\xf5d\xf6d\xf7d\xf8d\xf9d\xfad\xfbd\xfcd\xfdg\x17Z+d\xfed\xff\x90\x01d\x00\x90\x01d\x01\x90\x01d\x02\x90\x01d\x03\x90\x01d\x04\x90\x01d\x05\x90\x01d\x06\x90\x01d\x07\x90\x01d\x08\x90\x01d\t\x90\x01d\n\x90\x01d\x0b\x90\x01d\x0c\x90\x01d\r\x90\x01d\x0e\x90\x01d\x0f\x90\x01d\x10\x90\x01d\x11\x90\x01d\x12\x90\x01d\x13\x90\x01d\x14\x90\x01d\x15\x90\x01d\x16\x90\x01d\x17\x90\x01d\x18\x90\x01d\x19\x90\x01d\x1a\x90\x01d\x1b\x90\x01d\x1c\x90\x01d\x1d\x90\x01d\x1e\x90\x01d\x1f\x90\x01d \x90\x01d!\x90\x01d"\x90\x01d#\x90\x01d$\x90\x01d%\x90\x01d&\x90\x01d\'\x90\x01d(\x90\x01d)\x90\x01d*\x90\x01d+\x90\x01d,\x90\x01d-\x90\x01d.\x90\x01d/\x90\x01d0\x90\x01d1\x90\x01d2\x90\x01d3\x90\x01d4\x90\x01d5\x90\x01d6\x90\x01d7\x90\x01d8\x90\x01d9\x90\x01d:\x90\x01d;\x90\x01d<\x90\x01d=\x90\x01d>\x90\x01d?\x90\x01d@\x90\x01dA\x90\x01dB\x90\x01dC\x90\x01dD\x90\x01dE\x90\x01dF\x90\x01dG\x90\x01dH\x90\x01dI\x90\x01dJ\x90\x01dK\x90\x01dL\x90\x01dM\x90\x01dN\x90\x01dO\x90\x01dP\x90\x01dQ\x90\x01dR\x90\x01dS\x90\x01dT\x90\x01dU\x90\x01dV\x90\x01dWd\xfa\x90\x01dX\x90\x01dY\x90\x01dZ\x90\x01d[\x90\x01d\\\x90\x01d]\x90\x01d^\x90\x01d_gcZ,\x90\x01d`\x90\x01da\x90\x01db\x90\x01dc\x90\x01dd\x90\x01de\x90\x01df\x90\x01dg\x90\x01dh\x90\x01di\x90\x01dj\x90\x01dk\x90\x01dl\x90\x01dm\x90\x01dn\x90\x01do\x90\x01dp\x90\x01dq\x90\x01drg\x13Z-\x90\x01ds\x90\x01dt\x90\x01du\x90\x01dv\x90\x01dw\x90\x01dx\x90\x01dy\x90\x01dz\x90\x01d{\x90\x01d|\x90\x01d}\x90\x01d~\x90\x01d\x7f\x90\x01d\x80\x90\x01d\x81\x90\x01d\x82\x90\x01d\x83\x90\x01d\x84\x90\x01d\x85\x90\x01d\x86\x90\x01d\x87\x90\x01d\x88\x90\x01d\x89\x90\x01d\x8a\x90\x01d\x8b\x90\x01d\x8c\x90\x01d\x8d\x90\x01d\x8e\x90\x01d\x8f\x90\x01d\x90\x90\x01d\x91\x90\x01d\x92\x90\x01d\x93\x90\x01d\x94\x90\x01d\x95\x90\x01d\x96\x90\x01d\x97\x90\x01d\x98\x90\x01d\x99\x90\x01d\x9a\x90\x01d\x9b\x90\x01d\x9c\x90\x01d\x9d\x90\x01d\x9e\x90\x01d\x9f\x90\x01d\xa0\x90\x01d\xa1\x90\x01d\xa2g0Z.\x90\x01d\xa3\x90\x01d\xa4\x90\x01d\xa5\x90\x01d\xa6\x90\x01d\xa7\x90\x01d\xa8\x90\x01d\xa9\x90\x01d\xaa\x90\x01d\xab\x90\x01d\xac\x90\x01d\xad\x90\x01d\xae\x90\x01d\xaf\x90\x01d\xb0\x90\x01d\xb1\x90\x01d\xb2\x90\x01d\xb3\x90\x01d\xb4\x90\x01d\xb5g\x13Z/d\xe7d\xe8d\xe9d\xead\xebd\xecd\xedd\xeed\xefd\xf0d\xf1d\xf2d\xf3d\xf4d\xf5d\xf6d\xf7d\xf8d\xf9d\xfad\xfbd\xfcd\xfdg\x17Z0\x90\x01d\xb6\x90\x01d\xb7\x90\x01d\xb8\x90\x01d\xb9\x90\x01d\xba\x90\x01d\xbb\x90\x01d\xbc\x90\x01d\xbd\x90\x01d\xbe\x90\x01d\xbf\x90\x01d\xc0\x90\x01d\xc1\x90\x01d\xc2\x90\x01d\xc3\x90\x01d\xc4\x90\x01d\xc5\x90\x01d\xc6\x90\x01d\xc7\x90\x01d\xc8\x90\x01d\xc9\x90\x01d\xca\x90\x01d\xcb\x90\x01d\xcc\x90\x01d\xcd\x90\x01d\xce\x90\x01d\xcf\x90\x01d\xd0\x90\x01d\xd1\x90\x01d\xd2\x90\x01d1g\x1eZ1\x90\x01d\xd3\x90\x01d\xd4\x90\x01d\xd5\x90\x01d\xd6\x90\x01d\xd7\x90\x01d\xd8\x90\x01d\xd9\x90\x01d\xda\x90\x01d\xdb\x90\x01d\xdc\x90\x01d\xdd\x90\x01d\xde\x90\x01d\xdf\x90\x01d\xdd\x90\x01d\xe0\x90\x01d\xe1\x90\x01d\xe2\x90\x01d\xe3\x90\x01d\xe4\x90\x01d\xe5\x90\x01d\xe6\x90\x01d\xe7\x90\x01d\xe8\x90\x01d\xe9\x90\x01d\xea\x90\x01d\xeb\x90\x01d\xec\x90\x01d\xed\x90\x01d\xee\x90\x01d\xef\x90\x01d\xf0\x90\x01d\xf1\x90\x01d\xf2\x90\x01d\xf3g"Z2\x90\x01d\xf4\x90\x01d\xf5\x90\x01d\xf6\x90\x01d\xf7\x90\x01d\xf8\x90\x01d\xf9\x90\x01d\xfa\x90\x01d\xfb\x90\x01d\xfc\x90\x01d\xfd\x90\x01d\xfe\x90\x01d\xff\x90\x02d\x00\x90\x02d\x01\x90\x02d\x02\x90\x02d\x03\x90\x02d\x04\x90\x02d\x05\x90\x02d\x06\x90\x02d\x07\x90\x02d\x08\x90\x02d\t\x90\x02d\n\x90\x02d\x0b\x90\x02d\x0c\x90\x02d\r\x90\x02d\x0e\x90\x02d\x0f\x90\x02d\x10\x90\x02d\x11\x90\x02d\x12\x90\x02d\x13\x90\x02d\x14\x90\x02d\x15\x90\x02d\x16\x90\x02d\x17g$Z3\x90\x02d\x18\x90\x02d\x19\x90\x02d\x1a\x90\x02d\x1bg\x04Z4\x90\x02d\x1c\x90\x02d\x1d\x90\x02d\x1e\x90\x02d\x1f\x90\x02d g\x05Z5\x90\x02d!\x90\x02d"\x90\x02d#\x90\x02d$g\x04Z6\x90\x02d%\x90\x02d&\x90\x02d\'\x90\x02d(\x90\x02d)\x90\x02d*\x90\x02d+\x90\x02d,\x90\x02d-\x90\x02d.\x90\x02d/\x90\x02d0\x90\x02d1\x90\x02d2\x90\x02d3\x90\x02d4\x90\x02d5\x90\x02d6\x90\x02d7g\x13Z7\x90\x02d8\x90\x02d9\x90\x02d:\x90\x02d;\x90\x02d<\x90\x02d=\x90\x02d>\x90\x02d?\x90\x02d@\x90\x02dA\x90\x02dB\x90\x02dC\x90\x02dD\x90\x02dE\x90\x02dF\x90\x02dG\x90\x02dH\x90\x02dI\x90\x02dJ\x90\x02dK\x90\x02dL\x90\x02dM\x90\x02dN\x90\x02dO\x90\x02dP\x90\x02dQ\x90\x02dR\x90\x02dS\x90\x02dT\x90\x02dU\x90\x02dV\x90\x02dW\x90\x02dX\x90\x02dY\x90\x02dZ\x90\x02d[\x90\x02d\\\x90\x02d]\x90\x02d^\x90\x02d_\x90\x02d`\x90\x02da\x90\x02db\x90\x02dc\x90\x02dd\x90\x02de\x90\x02df\x90\x02dgg0Z8\x90\x02dh\x90\x02dig\x02Z9\x90\x02dj\x90\x02dk\x90\x02dlg\x03Z:\x90\x02dm\x90\x02dn\x90\x02do\x90\x02dpg\x04Z;\x90\x02dq\x90\x02dr\x90\x02ds\x90\x02dtg\x04Z<\x90\x02du\x90\x02dvg\x02Z=\x90\x02dw\x90\x02dxg\x02Z>\x90\x02dy\x90\x02dzg\x02Z?\x90\x02d{Z@\x90\x02d|ZA\x90\x02d}ZB\x90\x02d~\x90\x02d\x7f\x90\x02d\x80\x90\x02d\x81g\x04ZC\x90\x02d\x82\x90\x02d\x83\x90\x02d\x84\x90\x02d\x85\x90\x02d\x86\x90\x02d\x87\x90\x02d\x88\x90\x02d\x89\x90\x02d\x8a\x90\x02d\x8b\x90\x02d\x8c\x90\x02d\x8d\x90\x02d\x8e\x90\x02d\x8f\x90\x02d\x90\x90\x02d\x91\x90\x02d\x92\x90\x02d\x93\x90\x02d\x94\x90\x02d\x95\x90\x02d\x96\x90\x02d\x97\x90\x02d\x98\x90\x02d\x99\x90\x02d\x9a\x90\x02d\x9bg\x1aZD\x90\x02d\x9c\x90\x02d\x9d\x90\x02d\x9e\x90\x02d\x9f\x90\x02d\xa0\x90\x02d\xa1\x90\x02d\xa2\x90\x02d\xa3\x90\x02d\xa4\x90\x02d\xa5\x90\x02d\xa6\x90\x02d\xa7\x90\x02d\xa8\x90\x02d\xa9\x90\x02d\xaa\x90\x02d\xab\x90\x02d\xac\x90\x02d\xad\x90\x02d\xae\x90\x02d\xaf\x90\x02d\xb0\x90\x02d\xb1\x90\x02d\xb2\x90\x02d\xb3\x90\x02d\xb4\x90\x02d\xb5g\x1aZEe#\x90\x02d\xb6\x90\x02d\xb7\x90\x02d\xb8\x8d\x02\x90\x02d\xb9\x90\x02d\xba\x84\x00\x83\x01ZFe#\x90\x02d\xb6\x90\x02d\xbb\x90\x02d\xb8\x8d\x02\x90\x02d\xbc\x90\x02d\xbd\x84\x00\x83\x01ZGe#\x90\x02d\xbe\x90\x02d\xb6\x90\x02d\xbf\x8d\x02\x90\x02d\xc0\x90\x02d\xc1\x84\x00\x83\x01ZH\x90\x02d\xc2\x90\x02d\xc3\x84\x00ZIe#\x90\x02d\xb6\x90\x02d\xc4\x90\x02d\xb8\x8d\x02\x90\x02d\xc5\x90\x02d\xc6\x84\x00\x83\x01ZJe#\x90\x02d\xb6\x90\x02d\xc7\x90\x02d\xb8\x8d\x02\x90\x02d\xc8\x90\x02d\xc9\x84\x00\x83\x01ZKe#\x90\x02d\xb6\x90\x02d\xca\x90\x02d\xb8\x8d\x02\x90\x02d\xcb\x90\x02d\xcc\x84\x00\x83\x01ZLe#\x90\x02d\xb6\x90\x02d\xcd\x90\x02d\xb8\x8d\x02\x90\x02d\xce\x90\x02d\xcf\x84\x00\x83\x01ZMe#\x90\x02d\xb6\x90\x02d\xd0\x90\x02d\xb8\x8d\x02\x90\x02d\xd1\x90\x02d\xd2\x84\x00\x83\x01ZNe#\x90\x02d\xb6\x90\x02d\xd3\x90\x02d\xb8\x8d\x02\x90\x02d\xd4\x90\x02d\xd5\x84\x00\x83\x01ZOe#\x90\x02d\xb6\x90\x02d\xd6\x90\x02d\xb8\x8d\x02\x90\x02d\xd7\x90\x02d\xd8\x84\x00\x83\x01ZPe#\x90\x02d\xb6\x90\x02d\xd9\x90\x02d\xb8\x8d\x02\x90\x02d\xda\x90\x02d\xdb\x84\x00\x83\x01ZQe#\x90\x02d\xb6\x90\x02d\xdc\x90\x02d\xb8\x8d\x02\x90\x02d\xdd\x90\x02d\xde\x84\x00\x83\x01ZRe#\x90\x02d\xb6\x90\x02d\xdf\x90\x02d\xb8\x8d\x02\x90\x02d\xe0\x90\x02d\xe1\x84\x00\x83\x01ZSe#\x90\x02d\xb6\x90\x02d\xe2\x90\x02d\xb8\x8d\x02\x90\x02d\xe3\x90\x02d\xe4\x84\x00\x83\x01ZTe#\x90\x02d\xb6\x90\x02d\xe5\x90\x02d\xb8\x8d\x02\x90\x02d\xe6\x90\x02d\xe7\x84\x00\x83\x01ZUe#\x90\x02d\xb6\x90\x02d\xe8\x90\x02d\xb8\x8d\x02\x90\x02d\xe9\x90\x02d\xea\x84\x00\x83\x01ZVe#\x90\x02d\xb6\x90\x02d\xeb\x90\x02d\xb8\x8d\x02\x90\x02d\xec\x90\x02d\xed\x84\x00\x83\x01ZWe#\x90\x02d\xb6\x90\x02d\xee\x90\x02d\xb8\x8d\x02\x90\x02d\xef\x90\x02d\xf0\x84\x00\x83\x01ZXe#\x90\x02d\xb6\x90\x02d\xf1\x90\x02d\xb8\x8d\x02\x90\x02d\xf2\x90\x02d\xf3\x84\x00\x83\x01ZYe#\x90\x02d\xb6\x90\x02d\xf4\x90\x02d\xb8\x8d\x02\x90\x02d\xf5\x90\x02d\xf6\x84\x00\x83\x01ZZe#\x90\x02d\xb6\x90\x02d\xf7\x90\x02d\xb8\x8d\x02\x90\x02d\xf8\x90\x02d\xf9\x84\x00\x83\x01Z[e#\x90\x02d\xb6\x90\x02d\xfa\x90\x02d\xb8\x8d\x02\x90\x02d\xfb\x90\x02d\xfc\x84\x00\x83\x01Z\\e#\x90\x02d\xb6\x90\x02d\xfd\x90\x02d\xb8\x8d\x02\x90\x02d\xfe\x90\x02d\xff\x84\x00\x83\x01Z]e#\x90\x02d\xb6\x90\x03d\x00\x90\x02d\xb8\x8d\x02\x90\x03d\x01\x90\x02d\xff\x84\x00\x83\x01Z]e#\x90\x02d\xb6\x90\x03d\x02\x90\x02d\xb8\x8d\x02\x90\x03d\x03\x90\x03d\x04\x84\x00\x83\x01Z^e#\x90\x02d\xb6\x90\x03d\x05\x90\x02d\xb8\x8d\x02\x90\x03d\x06\x90\x03d\x07\x84\x00\x83\x01Z_e#\x90\x02d\xb6\x90\x03d\x08\x90\x02d\xb8\x8d\x02\x90\x03d\t\x90\x03d\n\x84\x00\x83\x01Z`e#\x90\x02d\xb6\x90\x03d\x0b\x90\x02d\xb8\x8d\x02\x90\x03d\x0c\x90\x03d\r\x84\x00\x83\x01Zae#\x90\x02d\xb6\x90\x03d\x0e\x90\x02d\xb8\x8d\x02\x90\x03d\x0f\x90\x03d\x10\x84\x00\x83\x01Zbe#\x90\x02d\xb6\x90\x03d\x11\x90\x02d\xb8\x8d\x02\x90\x03d\x12\x90\x03d\x10\x84\x00\x83\x01Zbe#\x90\x02d\xb6\x90\x03d\x13\x90\x02d\xb8\x8d\x02\x90\x03d\x14\x90\x03d\x15\x84\x00\x83\x01Zce#\x90\x02d\xb6\x90\x03d\x16\x90\x02d\xb8\x8d\x02\x90\x03d\x17\x90\x03d\x18\x84\x00\x83\x01Zde#\x90\x02d\xb6\x90\x03d\x19\x90\x02d\xb8\x8d\x02\x90\x03d\x1a\x90\x03d\x1b\x84\x00\x83\x01Zee#\x90\x02d\xb6\x90\x03d\x1c\x90\x02d\xb8\x8d\x02\x90\x03d\x1d\x90\x03d\x1e\x84\x00\x83\x01Zfe#\x90\x02d\xb6\x90\x03d\x1f\x90\x02d\xb8\x8d\x02\x90\x03d \x90\x03d!\x84\x00\x83\x01Zge#\x90\x02d\xb6\x90\x03d"\x90\x02d\xb8\x8d\x02\x90\x03d#\x90\x03d$\x84\x00\x83\x01Zhe#\x90\x02d\xb6\x90\x03d%\x90\x02d\xb8\x8d\x02\x90\x03d&\x90\x03d\'\x84\x00\x83\x01Zie#\x90\x03d(\x90\x02d\xb6\x90\x02d\xbf\x8d\x02\x90\x03d)\x90\x03d*\x84\x00\x83\x01Zje#\x90\x03d+\x90\x02d\xb6\x90\x02d\xbf\x8d\x02\x90\x03d,\x90\x03d-\x84\x00\x83\x01Zke#\x90\x02d\xb6\x90\x03d.\x90\x02d\xb8\x8d\x02\x90\x03d/\x90\x03d0\x84\x00\x83\x01Zle#\x90\x02d\xb6\x90\x03d1\x90\x02d\xb8\x8d\x02\x90\x03d2\x90\x03d3\x84\x00\x83\x01Zme#\x90\x02d\xb6\x90\x03d4\x90\x02d\xb8\x8d\x02\x90\x03d5\x90\x03d6\x84\x00\x83\x01Zne#\x90\x02d\xb6\x90\x03d7\x90\x02d\xb8\x8d\x02\x90\x03d8\x90\x03d9\x84\x00\x83\x01Zoe#\x90\x02d\xb6\x90\x03d:\x90\x02d\xb8\x8d\x02\x90\x03d;\x90\x03d<\x84\x00\x83\x01Zpe#\x90\x02d\xb6\x90\x03d=\x90\x02d\xb8\x8d\x02\x90\x03d>\x90\x03d?\x84\x00\x83\x01Zqe#\x90\x02d\xb6\x90\x03d@\x90\x02d\xb8\x8d\x02\x90\x03dA\x90\x03dB\x84\x00\x83\x01Zre#\x90\x02d\xb6\x90\x03dC\x90\x02d\xb8\x8d\x02\x90\x03dD\x90\x03d?\x84\x00\x83\x01Zqe#\x90\x02d\xb6\x90\x03dE\x90\x02d\xb8\x8d\x02\x90\x03dF\x90\x03dG\x84\x00\x83\x01Zse#\x90\x02d\xb6\x90\x03dH\x90\x02d\xb8\x8d\x02\x90\x03dI\x90\x03dJ\x84\x00\x83\x01Zte#\x90\x02d\xb6\x90\x03dK\x90\x02d\xb8\x8d\x02\x90\x03dL\x90\x03dM\x84\x00\x83\x01Zue#\x90\x02d\xb6\x90\x03dN\x90\x02d\xb8\x8d\x02\x90\x03dO\x90\x03dP\x84\x00\x83\x01Zve#\x90\x02d\xb6\x90\x03dQ\x90\x02d\xb8\x8d\x02\x90\x03dR\x90\x03dP\x84\x00\x83\x01Zve#\x90\x02d\xb6\x90\x03dS\x90\x02d\xb8\x8d\x02\x90\x03dT\x90\x03dU\x84\x00\x83\x01Z e#\x90\x02d\xb6\x90\x03dV\x90\x02d\xb8\x8d\x02\x90\x03dW\x90\x03dX\x84\x00\x83\x01Zwe#\x90\x02d\xb6\x90\x03dY\x90\x02d\xb8\x8d\x02\x90\x03dZ\x90\x03d[\x84\x00\x83\x01Zxe#\x90\x02d\xb6\x90\x03d\\\x90\x02d\xb8\x8d\x02\x90\x03d]\x90\x02d\xe7\x84\x00\x83\x01ZUe#\x90\x02d\xb6\x90\x03d^\x90\x02d\xb8\x8d\x02\x90\x03d_\x90\x03d`\x84\x00\x83\x01Zye#\x90\x02d\xb6\x90\x03da\x90\x02d\xb8\x8d\x02\x90\x03db\x90\x03dc\x84\x00\x83\x01Zze#\x90\x02d\xb6\x90\x02d\xeb\x90\x02d\xb8\x8d\x02\x90\x03dd\x90\x02d\xed\x84\x00\x83\x01ZWe#\x90\x02d\xb6\x90\x03de\x90\x02d\xb8\x8d\x02\x90\x03df\x90\x03dg\x84\x00\x83\x01Z{e#\x90\x02d\xb6\x90\x03dh\x90\x02d\xb8\x8d\x02\x90\x03di\x90\x03dj\x84\x00\x83\x01Z|e#\x90\x02d\xb6\x90\x03dk\x90\x02d\xb8\x8d\x02\x90\x03dl\x90\x03dm\x84\x00\x83\x01Z}e!\xa0~\x90\x03dn\x90\x03doi\x01\xa1\x01\x01\x00d\x02S\x00(p\x03\x00\x00z1 Userbot module for having some fun with people. \xe9\x00\x00\x00\x00N)\x01\xda\x06events)\x01\xda\x07urlopen)\x01\xda\rBeautifulSoup)\x01\xda\x03sub)\x01\xda\x03cow)\x01\xda\x05sleep)\x01\xda\x05deque)\x03\xda\x06choice\xda\x0bgetrandbits\xda\x07randint)\x01\xda\x11MessageMediaPhoto)\x01\xda\x05Image)\x01\xda\x1bUpdateNotifySettingsRequest)\x02\xda\x03bot\xda\x08CMD_HELP)\x01\xda\x08register)\x01\xda\x13get_user_from_eventz\rMe too thanksz\x10Haha yes, me tooz\x08Same lolz\x06Me irlz\tSame herez\x08Haha yesz\x05Me rnu\x02\x00\x00\x00\xcc\x96u\x03\x00\x00\x00 \xcc\x97u\x03\x00\x00\x00 \xcc\x98u\x03\x00\x00\x00 \xcc\x99u\x03\x00\x00\x00 \xcc\x9cu\x03\x00\x00\x00 \xcc\x9du\x03\x00\x00\x00 \xcc\x9eu\x03\x00\x00\x00 \xcc\x9fu\x03\x00\x00\x00 \xcc\xa0u\x03\x00\x00\x00 \xcc\xa4u\x03\x00\x00\x00 \xcc\xa5u\x03\x00\x00\x00 \xcc\xa6u\x03\x00\x00\x00 \xcc\xa9u\x03\x00\x00\x00 \xcc\xaau\x03\x00\x00\x00 \xcc\xabu\x03\x00\x00\x00 \xcc\xacu\x03\x00\x00\x00 \xcc\xadu\x03\x00\x00\x00 \xcc\xaeu\x03\x00\x00\x00 \xcc\xafu\x03\x00\x00\x00 \xcc\xb0u\x03\x00\x00\x00 \xcc\xb1u\x03\x00\x00\x00 \xcc\xb2u\x03\x00\x00\x00 \xcc\xb3u\x03\x00\x00\x00 \xcc\xb9u\x03\x00\x00\x00 \xcc\xbau\x03\x00\x00\x00 \xcc\xbbu\x03\x00\x00\x00 \xcc\xbcu\x03\x00\x00\x00 \xcd\x85u\x03\x00\x00\x00 \xcd\x87u\x03\x00\x00\x00 \xcd\x88u\x03\x00\x00\x00 \xcd\x89u\x03\x00\x00\x00 \xcd\x8du\x03\x00\x00\x00 \xcd\x8eu\x03\x00\x00\x00 \xcd\x93u\x03\x00\x00\x00 \xcd\x94u\x03\x00\x00\x00 \xcd\x95u\x03\x00\x00\x00 \xcd\x96u\x03\x00\x00\x00 \xcd\x99u\x03\x00\x00\x00 \xcd\x9a\xfa\x01 u\x03\x00\x00\x00 \xcc\x8du\x03\x00\x00\x00 \xcc\x8eu\x03\x00\x00\x00 \xcc\x84u\x03\x00\x00\x00 \xcc\x85u\x03\x00\x00\x00 \xcc\xbfu\x03\x00\x00\x00 \xcc\x91u\x03\x00\x00\x00 \xcc\x86u\x03\x00\x00\x00 \xcc\x90u\x03\x00\x00\x00 \xcd\x92u\x03\x00\x00\x00 \xcd\x97u\x03\x00\x00\x00 \xcd\x91u\x03\x00\x00\x00 \xcc\x87u\x03\x00\x00\x00 \xcc\x88u\x03\x00\x00\x00 \xcc\x8au\x03\x00\x00\x00 \xcd\x82u\x03\x00\x00\x00 \xcd\x83u\x03\x00\x00\x00 \xcd\x84u\x03\x00\x00\x00 \xcd\x8au\x03\x00\x00\x00 \xcd\x8bu\x03\x00\x00\x00 \xcd\x8cu\x03\x00\x00\x00 \xcc\x83u\x03\x00\x00\x00 \xcc\x82u\x03\x00\x00\x00 \xcc\x8cu\x03\x00\x00\x00 \xcd\x90u\x03\x00\x00\x00 \xcc\x81u\x03\x00\x00\x00 \xcc\x8bu\x03\x00\x00\x00 \xcc\x8fu\x03\x00\x00\x00 \xcc\xbdu\x03\x00\x00\x00 \xcc\x89u\x03\x00\x00\x00 \xcd\xa3u\x03\x00\x00\x00 \xcd\xa4u\x03\x00\x00\x00 \xcd\xa5u\x03\x00\x00\x00 \xcd\xa6u\x03\x00\x00\x00 \xcd\xa7u\x03\x00\x00\x00 \xcd\xa8u\x03\x00\x00\x00 \xcd\xa9u\x03\x00\x00\x00 \xcd\xaau\x03\x00\x00\x00 \xcd\xabu\x03\x00\x00\x00 \xcd\xacu\x03\x00\x00\x00 \xcd\xadu\x03\x00\x00\x00 \xcd\xaeu\x03\x00\x00\x00 \xcd\xafu\x03\x00\x00\x00 \xcc\xbeu\x03\x00\x00\x00 \xcd\x9bu\x03\x00\x00\x00 \xcd\x86u\x03\x00\x00\x00 \xcc\x9au\x03\x00\x00\x00 \xcc\x95u\x03\x00\x00\x00 \xcc\x9bu\x03\x00\x00\x00 \xcd\x80u\x03\x00\x00\x00 \xcd\x81u\x03\x00\x00\x00 \xcd\x98u\x03\x00\x00\x00 \xcc\xa1u\x03\x00\x00\x00 \xcc\xa2u\x03\x00\x00\x00 \xcc\xa7u\x03\x00\x00\x00 \xcc\xa8u\x03\x00\x00\x00 \xcc\xb4u\x03\x00\x00\x00 \xcc\xb5u\x03\x00\x00\x00 \xcc\xb6u\x03\x00\x00\x00 \xcd\x9cu\x03\x00\x00\x00 \xcd\x9du\x03\x00\x00\x00 \xcd\x9eu\x03\x00\x00\x00 \xcd\x9fu\x03\x00\x00\x00 \xcd\xa0u\x03\x00\x00\x00 \xcd\xa2u\x03\x00\x00\x00 \xcc\xb8u\x03\x00\x00\x00 \xcc\xb7u\x03\x00\x00\x00 \xcd\xa1\xf5\x04\x00\x00\x00\xf0\x9f\x98\x82u\x04\x00\x00\x00\xf0\x9f\x91\x8cu\x03\x00\x00\x00\xe2\x9c\x8cu\x04\x00\x00\x00\xf0\x9f\x92\x9eu\x04\x00\x00\x00\xf0\x9f\x91\x8du\x04\x00\x00\x00\xf0\x9f\x92\xafu\x04\x00\x00\x00\xf0\x9f\x8e\xb6u\x04\x00\x00\x00\xf0\x9f\x91\x80u\x04\x00\x00\x00\xf0\x9f\x91\x93u\x04\x00\x00\x00\xf0\x9f\x91\x8fu\x04\x00\x00\x00\xf0\x9f\x91\x90u\x04\x00\x00\x00\xf0\x9f\x8d\x95u\x04\x00\x00\x00\xf0\x9f\x92\xa5u\x04\x00\x00\x00\xf0\x9f\x8d\xb4u\x04\x00\x00\x00\xf0\x9f\x92\xa6u\x04\x00\x00\x00\xf0\x9f\x8d\x91u\x04\x00\x00\x00\xf0\x9f\x8d\x86u\x04\x00\x00\x00\xf0\x9f\x98\xa9u\x04\x00\x00\x00\xf0\x9f\x98\x8fu\x08\x00\x00\x00\xf0\x9f\x91\x89\xf0\x9f\x91\x8cu\x04\x00\x00\x00\xf0\x9f\x91\x85u\x04\x00\x00\x00\xf0\x9f\x9a\xb0z\x1dOwww ... Such a stupid idiot.z\x15Don\'t drink and type.z5I think you should go home or better a mental asylum.z(Command not found. Just like your brain.zADo you realize you are making a fool of yourself? Apparently not.z\x1eYou can type better than that.zKBot rule 544 section 9 prevents me from replying to stupid humans like you.z\x1dSorry, we do not sell brains.z\x1eBelieve me you are not normal.zDI bet your brain feels as good as new, seeing that you never use it.zBIf I wanted to kill myself I\'d climb your ego and jump to your IQ.z"Zombies eat brains... you\'re safe.z3You didn\'t evolve from apes, they evolved from you.z9Come back and talk to me when your I.Q. exceeds your age.z\\I\'m not saying you\'re stupid, I\'m just saying you\'ve got bad luck when it comes to thinking.z>What language are you speaking? Cause it sounds like bullshit.z/Stupidity is not a crime so you are free to go.z/You are proof that evolution CAN go in reverse.zEI would ask you how old you are but I know you can\'t count that high.z4As an outsider, what do you think of the human race?z7Brains aren\'t everything. In your case they\'re nothing.z0Ordinarily people live and learn. You just live.z;I don\'t know what makes you so stupid, but it really works.zKKeep talking, someday you\'ll say something intelligent! (I doubt it though)z$Shock me, say something intelligent.z$Your IQ\'s lower than your shoe size.z1Alas! Your neurotransmitters are no more working.z\x17Are you crazy you fool.zFEveryone has the right to be stupid but you are abusing the privilege.zYI\'m sorry I hurt your feelings when I called you stupid. I thought you already knew that.z\x1fYou should try tasting cyanide.z,Your enzymes are meant to digest rat poison.z You should try sleeping forever.z!Pick up a gun and shoot yourself.zHYou could make a world record by jumping from a plane without parachute.z<Stop talking BS and jump in front of a running bullet train.z4Try bathing with Hydrochloric Acid instead of water.zWTry this: if you hold your breath underwater for an hour, you can then hold it forever.z\x1fGo Green! Stop inhaling Oxygen.z8God was searching for you. You should leave to meet him.z%give your 100%. Now, go donate blood.zFTry jumping from a hundred story building but you can do it only once.z;You should donate your brain seeing that you never used it.z(Volunteer for target in an firing range.z%Head shots are fun. Get yourself one.z0You should try swimming with great white sharks.z9You should paint yourself red and run in a bull marathon.zIYou can stay underwater for the rest of your life without coming back up.z>How about you stop breathing for like 1 day? That\'ll be great.z3Try provoking a tiger while you both are in a cage.z?Have you tried shooting yourself as high as 100m using a canon.z9You should try holding TNT in your mouth and igniting it.z-Try playing catch and throw with RDX its fun.zKI heard phogine is poisonous but i guess you wont mind inhaling it for fun.zBLaunch yourself into outer space while forgetting oxygen on Earth.zJYou should try playing snake and ladders, with real snakes and no ladders.z$Dance naked on a couple of HT wires.z1Active Volcano is the best swimming pool for you.z%You should try hot bath in a volcano.z>Try to spend one day in a coffin and it will be yours forever.z\\Hit Uranium with a slow moving neutron in your presence. It will be a worthwhile experience.z7You can be the first person to step on sun. Have a try.u\r\x00\x00\x00(\xe3\x83\xbb`\xcf\x89\xc2\xb4\xe3\x83\xbb)z\x05;;w;;\xda\x03owoZ\x03UwUz\x03>w<z\x03^w^z\r\\(^o\\) (/o^)/u\x0e\x00\x00\x00( ^ _ ^)\xe2\x88\xa0\xe2\x98\x86u\x07\x00\x00\x00(\xc3\xb4_\xc3\xb4)z\x03~:oz\x03;-;z\x05(*^*)z\x03(>_u\t\x00\x00\x00(\xe2\x99\xa5_\xe2\x99\xa5)z\x07*(^O^)*z\x07((+_+))u\x0f\x00\x00\x00\xe2\x94\x90(\xc2\xb4\xd0\xb4\xef\xbd\x80)\xe2\x94\x8cu\x10\x00\x00\x00\xe2\x94\x90(\xc2\xb4\xef\xbd\x9e\xef\xbd\x80)\xe2\x94\x8cu\x10\x00\x00\x00\xe2\x94\x90(\xc2\xb4\xe3\x83\xbc\xef\xbd\x80)\xe2\x94\x8cu\x11\x00\x00\x00\xe2\x94\x90(\xef\xbf\xa3\xe3\x83\x98\xef\xbf\xa3)\xe2\x94\x8cu\x11\x00\x00\x00\xe2\x95\xae(\xe2\x95\xaf\xe2\x88\x80\xe2\x95\xb0)\xe2\x95\xadu\x0f\x00\x00\x00\xe2\x95\xae(\xe2\x95\xaf_\xe2\x95\xb0)\xe2\x95\xadu\r\x00\x00\x00\xe2\x94\x90(\xc2\xb4\xd0\xb4`)\xe2\x94\x8cu\x10\x00\x00\x00\xe2\x94\x90(\xc2\xb4\xe2\x88\x80\xef\xbd\x80)\xe2\x94\x8cu\x0e\x00\x00\x00\xca\x85(\xcc\x81\xe2\x97\xa1\xe2\x97\x9d)\xca\x83u\x11\x00\x00\x00\xe2\x94\x90(\xef\xbe\x9f\xef\xbd\x9e\xef\xbe\x9f)\xe2\x94\x8cu\x0c\x00\x00\x00\xe2\x94\x90(\'\xd0\xb4\')\xe2\x94\x8cu\x10\x00\x00\x00\xe2\x94\x90(\xe2\x80\x98\xef\xbd\x9e`;)\xe2\x94\x8cu\x11\x00\x00\x00\xe3\x83\x98(\xc2\xb4\xef\xbc\x8d\xef\xbd\x80;)\xe3\x83\x98u\x0e\x00\x00\x00\xe2\x94\x90( -\xe2\x80\x9c-)\xe2\x94\x8cu\x15\x00\x00\x00\xca\x85\xef\xbc\x88\xc2\xb4\xe2\x97\x94\xe0\xb1\xaa\xe2\x97\x94\xef\xbc\x89\xca\x83u\x12\x00\x00\x00\xe3\x83\xbd(\xe3\x82\x9c\xef\xbd\x9e\xe3\x82\x9co)\xe3\x83\x8eu\x0e\x00\x00\x00\xe3\x83\xbd(~\xef\xbd\x9e~ )\xe3\x83\x8eu\x0e\x00\x00\x00\xe2\x94\x90(~\xe3\x83\xbc~;)\xe2\x94\x8cu\x10\x00\x00\x00\xe2\x94\x90(-\xe3\x80\x82\xe3\x83\xbc;)\xe2\x94\x8cu\r\x00\x00\x00\xc2\xaf\\_(\xe3\x83\x84)_/\xc2\xafu\x13\x00\x00\x00\xc2\xaf\\_(\xe2\x8a\x99_\xca\x96\xe2\x8a\x99)_/\xc2\xafu\x1b\x00\x00\x00\xc2\xaf\\_\xe0\xbc\xbc \xe0\xb2\xa5 \xe2\x80\xbf \xe0\xb2\xa5 \xe0\xbc\xbd_/\xc2\xafu\x1c\x00\x00\x00\xe4\xb9\x81( \xe2\x81\xb0\xcd\xa1 \xc4\xb9\xcc\xaf \xe2\x81\xb0\xcd\xa1 ) \xe3\x84\x8fu\x07\x00\x00\x00\xca\x98\xe2\x80\xbf\xca\x98u\x0c\x00\x00\x00\xe3\x83\xbe(-_- )\xe3\x82\x9eu\r\x00\x00\x00(\xe3\x81\xa3\xcb\x98\xda\xa1\xcb\x98\xcf\x82)u\x0b\x00\x00\x00(\xc2\xb4\xd0\xb6\xef\xbd\x80\xcf\x82)u\x0f\x00\x00\x00( \xe0\xb2\xa0 \xca\x96\xcc\xaf \xe0\xb2\xa0)u\x16\x00\x00\x00(\xc2\xb0 \xcd\x9c\xca\x96\xcd\xa1\xc2\xb0)\xe2\x95\xad\xe2\x88\xa9\xe2\x95\xaeu\x12\x00\x00\x00(\xe1\xb5\x9f\xe0\xba\xb6\xef\xb8\xb5 \xe1\xb5\x9f\xe0\xba\xb6)u\x0b\x00\x00\x00(\xe0\xb8\x87\xe3\x83\x84)\xe0\xb8\xa7u\t\x00\x00\x00\xca\x9a(\xe2\x80\xa2\xef\xbd\x80u\x10\x00\x00\x00(\xe3\x81\xa3\xe2\x96\x80\xc2\xaf\xe2\x96\x80)\xe3\x81\xa4u\x0b\x00\x00\x00(\xe2\x97\xa0\xef\xb9\x8f\xe2\x97\xa0)u\x13\x00\x00\x00( \xcd\xa1\xe0\xb2\xa0 \xca\x96\xcc\xaf \xcd\xa1\xe0\xb2\xa0)u\x0f\x00\x00\x00( \xe0\xb0\xa0 \xcd\x9f\xca\x96 \xe0\xb0\xa0)u"\x00\x00\x00(\xe2\x88\xa9\xef\xbd\x80-\xc2\xb4)\xe2\x8a\x83\xe2\x94\x81\xe2\x98\x86\xef\xbe\x9f.*\xef\xbd\xa5\xef\xbd\xa1\xef\xbe\x9fu\x1b\x00\x00\x00(\xe2\x8a\x83\xef\xbd\xa1\xe2\x80\xa2\xcc\x81\xe2\x80\xbf\xe2\x80\xa2\xcc\x80\xef\xbd\xa1)\xe2\x8a\x83z\x05(._.)u\r\x00\x00\x00{\xe2\x80\xa2\xcc\x83_\xe2\x80\xa2\xcc\x83}u\x0b\x00\x00\x00(\xe1\xb5\x94\xe1\xb4\xa5\xe1\xb5\x94)u\x07\x00\x00\x00\xe2\x99\xa8_\xe2\x99\xa8u\x07\x00\x00\x00\xe2\xa5\x80.\xe2\xa5\x80u\r\x00\x00\x00\xd8\xad\xcb\x9a\xe0\xaf\xb0\xcb\x9a\xe3\x81\xa5 u\x0b\x00\x00\x00(\xd2\x82\xe2\x97\xa1_\xe2\x97\xa1)u\x13\x00\x00\x00\xc6\xaa(\xda\x93\xd7\xb2)\xe2\x80\x8e\xc6\xaa\xe2\x80\x8b\xe2\x80\x8bu\x18\x00\x00\x00(\xe3\x81\xa3\xe2\x80\xa2\xcc\x81\xef\xbd\xa1\xe2\x80\xa2\xcc\x81)\xe2\x99\xaa\xe2\x99\xacu\x18\x00\x00\x00\xe2\x97\x96\xe1\xb5\x94\xe1\xb4\xa5\xe1\xb5\x94\xe2\x97\x97 \xe2\x99\xaa \xe2\x99\xab u\x11\x00\x00\x00(\xe2\x98\x9e\xef\xbe\x9f\xe3\x83\xae\xef\xbe\x9f)\xe2\x98\x9eu\x0b\x00\x00\x00[\xc2\xac\xc2\xba-\xc2\xb0]\xc2\xacu\n\x00\x00\x00(\xd4\xbe\xe2\x80\xb8 \xd4\xbe)u\x16\x00\x00\x00(\xe2\x80\xa2\xcc\x80\xe1\xb4\x97\xe2\x80\xa2\xcc\x81)\xd9\x88 \xcc\x91\xcc\x91u\x17\x00\x00\x00\xe3\x83\xbe(\xc2\xb4\xe3\x80\x87`)\xef\xbe\x89\xe2\x99\xaa\xe2\x99\xaa\xe2\x99\xaau\x0f\x00\x00\x00(\xe0\xb8\x87\'\xcc\x80-\'\xcc\x81)\xe0\xb8\x87u\x12\x00\x00\x00\xe1\x83\x9a(\xe2\x80\xa2\xcc\x81\xe2\x80\xa2\xcc\x81\xe1\x83\x9a)u\x13\x00\x00\x00\xca\x95 \xe2\x80\xa2\xcc\x81\xd8\x88\xe2\x80\xa2\xcc\x80 \xe2\x82\x8eu\x17\x00\x00\x00\xe2\x99\xaa\xe2\x99\xaa \xe3\x83\xbd(\xcb\x87\xe2\x88\x80\xcb\x87 )\xe3\x82\x9eu\x12\x00\x00\x00\xd1\x89\xef\xbc\x88\xef\xbe\x9f\xd0\x94\xef\xbe\x9f\xd1\x89\xef\xbc\x89u\x0b\x00\x00\x00( \xcb\x87\xe0\xb7\xb4\xcb\x87 )u\x07\x00\x00\x00\xeb\x88\x88_\xeb\x88\x88u\x18\x00\x00\x00(\xe0\xb9\x91\xe2\x80\xa2\xcc\x81 \xe2\x82\x83 \xe2\x80\xa2\xcc\x80\xe0\xb9\x91) u\x0e\x00\x00\x00( \xcb\x98 \xc2\xb3\xcb\x98)\xe2\x99\xa5 u\x0f\x00\x00\x00\xd4\x85(\xe2\x89\x96\xe2\x80\xbf\xe2\x89\x96\xd4\x85)u\t\x00\x00\x00\xe2\x99\xa5\xe2\x80\xbf\xe2\x99\xa5u\x07\x00\x00\x00\xe2\x97\x94_\xe2\x97\x94u\x1d\x00\x00\x00\xe2\x81\xbd\xe2\x81\xbd\xe0\xac\x98( \xcb\x8a\xe1\xb5\x95\xcb\x8b )\xe0\xac\x93\xe2\x81\xbe\xe2\x81\xbeu*\x00\x00\x00\xe4\xb9\x81( \xe2\x97\x94 \xe0\xb1\xaa\xe2\x97\x94)\xe3\x80\x8c \xe2\x94\x91(\xef\xbf\xa3\xd0\x94 \xef\xbf\xa3)\xe2\x94\x8du\x10\x00\x00\x00( \xe0\xb0\xa0\xe0\xb5\xa0\xe0\xb0\xa0 )\xef\xbe\x89u\r\x00\x00\x00\xd9\xa9(\xe0\xb9\x8f_\xe0\xb9\x8f)\xdb\xb6u\x10\x00\x00\x00\xe2\x94\x8c(\xe3\x86\x86\xe3\x89\xa8\xe3\x86\x86)\xca\x83u\x07\x00\x00\x00\xe0\xb0\xa0_\xe0\xb0\xa0u\x1a\x00\x00\x00(\xe3\x81\xa5\xef\xbd\xa1\xe2\x97\x95\xe2\x80\xbf\xe2\x80\xbf\xe2\x97\x95\xef\xbd\xa1)\xe3\x81\xa5u\x1e\x00\x00\x00(\xe3\x83\x8e\xe0\xb2\xa0 \xe2\x88\xa9\xe0\xb2\xa0)\xe3\x83\x8e\xe5\xbd\xa1( \\o\xc2\xb0o)\\u\x16\x00\x00\x00\xe2\x80\x9c\xe3\x83\xbd(\xc2\xb4\xe2\x96\xbd\xef\xbd\x80)\xe3\x83\x8e\xe2\x80\x9du\x18\x00\x00\x00\xe0\xbc\xbc \xe0\xbc\x8e\xe0\xba\xb6 \xe0\xb7\xb4 \xe0\xbc\x8e\xe0\xba\xb6\xe0\xbc\xbdu\x1e\x00\x00\x00\xef\xbd\xa1\xef\xbe\x9f( \xef\xbe\x9f\xe0\xae\x87\xe2\x80\xb8\xe0\xae\x87\xef\xbe\x9f)\xef\xbe\x9f\xef\xbd\xa1u\x11\x00\x00\x00(\xe3\x81\xa5\xef\xbf\xa3 \xc2\xb3\xef\xbf\xa3)\xe3\x81\xa5u\n\x00\x00\x00(\xe2\x8a\x99.\xe2\x98\x89)7u\r\x00\x00\x00\xe1\x95\x95( \xe1\x90\x9b )\xe1\x95\x97z\x07t(-_-t)u\x0b\x00\x00\x00(\xe0\xb2\xa5\xe2\x8c\xa3\xe0\xb2\xa5)u\x17\x00\x00\x00\xe3\x83\xbd\xe0\xbc\xbc \xe0\xb2\xa0\xe7\x9b\x8a\xe0\xb2\xa0 \xe0\xbc\xbd\xef\xbe\x89u\'\x00\x00\x00\xe0\xbc\xbc\xe2\x88\xb5\xe0\xbc\xbd \xe0\xbc\xbc\xe2\x8d\xa8\xe0\xbc\xbd \xe0\xbc\xbc\xe2\x8d\xa2\xe0\xbc\xbd \xe0\xbc\xbc\xe2\x8d\xa4\xe0\xbc\xbdu\x0f\x00\x00\x00\xe3\x83\x9f\xe2\x97\x8f\xef\xb9\x8f\xe2\x98\x89\xe3\x83\x9fu\t\x00\x00\x00(\xe2\x8a\x99_\xe2\x97\x8e)u\x0c\x00\x00\x00\xc2\xbf\xe2\x93\xa7_\xe2\x93\xa7\xef\xae\x8cu\x07\x00\x00\x00\xe0\xb2\xa0_\xe0\xb2\xa0u\x0c\x00\x00\x00(\xc2\xb4\xef\xbd\xa5_\xef\xbd\xa5`)u\x0f\x00\x00\x00\xe1\x95\xa6(\xc3\xb2_\xc3\xb3\xcb\x87)\xe1\x95\xa4u\t\x00\x00\x00\xe2\x8a\x99\xef\xb9\x8f\xe2\x8a\x99u\x1e\x00\x00\x00(\xe2\x95\xaf\xc2\xb0\xe2\x96\xa1\xc2\xb0\xef\xbc\x89\xe2\x95\xaf\xef\xb8\xb5 \xe2\x94\xbb\xe2\x94\x81\xe2\x94\xbbu\x13\x00\x00\x00\xc2\xaf\\_(\xe2\x8a\x99\xef\xb8\xbf\xe2\x8a\x99)_/\xc2\xafu\x0c\x00\x00\x00\xd9\xa9\xe2\x97\x94\xcc\xaf\xe2\x97\x94\xdb\xb6u\n\x00\x00\x00\xc2\xb0\xe2\x80\xbf\xe2\x80\xbf\xc2\xb0u\x14\x00\x00\x00\xe1\x95\x99(\xe2\x87\x80\xe2\x80\xb8\xe2\x86\xbc\xe2\x80\xb6)\xe1\x95\x97u\x11\x00\x00\x00\xe2\x8a\x82(\xe2\x97\x89\xe2\x80\xbf\xe2\x97\x89)\xe3\x81\xa4u\x0b\x00\x00\x00V\xe2\x80\xa2\xe1\xb4\xa5\xe2\x80\xa2Vu\r\x00\x00\x00q(\xe2\x9d\x82\xe2\x80\xbf\xe2\x9d\x82)pu\x07\x00\x00\x00\xe0\xb2\xa5_\xe0\xb2\xa5u\x11\x00\x00\x00\xe0\xb8\x85^\xe2\x80\xa2\xef\xbb\x8c\xe2\x80\xa2^\xe0\xb8\x85u\t\x00\x00\x00\xe0\xb2\xa5\xef\xb9\x8f\xe0\xb2\xa5u\x1c\x00\x00\x00\xef\xbc\x88 ^_^\xef\xbc\x89o\xe8\x87\xaa\xe8\x87\xaao\xef\xbc\x88^_^ \xef\xbc\x89u\t\x00\x00\x00\xe0\xb2\xa0\xe2\x80\xbf\xe0\xb2\xa0u\x0c\x00\x00\x00\xe3\x83\xbd(\xc2\xb4\xe2\x96\xbd`)/u\n\x00\x00\x00\xe1\xb5\x92\xe1\xb4\xa5\xe1\xb5\x92#u\x11\x00\x00\x00( \xcd\xa1\xc2\xb0 \xcd\x9c\xca\x96 \xcd\xa1\xc2\xb0)u\x1d\x00\x00\x00\xe2\x94\xac\xe2\x94\x80\xe2\x94\xac\xef\xbb\xbf \xe3\x83\x8e( \xe3\x82\x9c-\xe3\x82\x9c\xe3\x83\x8e)u\x10\x00\x00\x00\xe3\x83\xbd(\xc2\xb4\xe3\x83\xbc\xef\xbd\x80)\xe3\x83\x8eu\x11\x00\x00\x00\xe2\x98\x9c(\xe2\x8c\x92\xe2\x96\xbd\xe2\x8c\x92)\xe2\x98\x9eu\x18\x00\x00\x00\xce\xb5=\xce\xb5=\xce\xb5=\xe2\x94\x8c(;*\xc2\xb4\xd0\x94`)\xef\xbe\x89u\x0f\x00\x00\x00(\xe2\x95\xac \xe0\xb2\xa0\xe7\x9b\x8a\xe0\xb2\xa0)u!\x00\x00\x00\xe2\x94\xac\xe2\x94\x80\xe2\x94\xac\xe2\x83\xb0\xcd\xa1\xe2\x80\x87(\xe1\xb5\x94\xe1\xb5\x95\xe1\xb5\x94\xcd\x9c\xe2\x80\x87)u*\x00\x00\x00\xe2\x94\xbb\xe2\x94\x81\xe2\x94\xbb \xef\xb8\xb5\xe3\x83\xbd(`\xd0\x94\xc2\xb4)\xef\xbe\x89\xef\xb8\xb5\xef\xbb\xbf \xe2\x94\xbb\xe2\x94\x81\xe2\x94\xbbu\r\x00\x00\x00\xca\x95\xe1\xb5\x94\xe1\xb4\xa5\xe1\xb5\x94\xca\x94u\r\x00\x00\x00(`\xef\xbd\xa5\xcf\x89\xef\xbd\xa5\xc2\xb4)u\r\x00\x00\x00\xca\x95\xe2\x80\xa2\xe1\xb4\xa5\xe2\x80\xa2\xca\x94u\x10\x00\x00\x00\xe1\x83\x9a(\xef\xbd\x80\xe3\x83\xbc\xc2\xb4\xe1\x83\x9a)u\x0e\x00\x00\x00\xca\x95\xca\x98\xcc\x85\xcd\x9c\xca\x98\xcc\x85\xca\x94u\x11\x00\x00\x00\xef\xbc\x88\xe3\x80\x80\xef\xbe\x9f\xd0\x94\xef\xbe\x9f\xef\xbc\x89u\x0c\x00\x00\x00\xc2\xaf\\(\xc2\xb0_o)/\xc2\xafu\x11\x00\x00\x00(\xef\xbd\xa1\xe2\x97\x95\xe2\x80\xbf\xe2\x97\x95\xef\xbd\xa1)z\x10Runs to Thanos..z\x1fRuns far, far away from earth..z-Running faster than Bolt coz i\'mma userbot !!z\x0fRuns to Marie..z)This Group is too cancerous to deal with.z\x08Cya boisZ\x03Kysz\tI go awayz)I am just walking off, coz me is too fat.z\rI Fugged off!z\x17Will run for chocolate.z!I run because I really like food.z,Running...\nbecause dieting is not an option.z\x12Wicked fast runnahz\x93If you wanna catch me, you got to be fast...\nIf you wanna stay with me, you got to be good...\nBut if you wanna pass me...\nYou\'ve got to be kidding.z]Anyone can run a hundred meters, it\'s the next forty-two thousand and two hundred that count.z&Why are all these people following me?z\x1eAre the kids still chasing me?z-Running a marathon...there\'s an app for that.z Where do you think you\'re going?z\x1dHuh? what? did they get away?z6ZZzzZZzz... Huh? what? oh, just them again, nevermind.z\x0eGet back here!z\x0eNot so fast...z\x16Look out for the wall!z Don\'t leave me alone with them!!z\x11You run, you die.z\x1cJokes on you, I\'m everywherez\x1bYou\'re gonna regret that...z.You could also try /kickme, I hear that\'s fun.z*Go bother someone else, no-one here cares.z You can run, but you can\'t hide.z\x17Is that all you\'ve got?z\x11I\'m behind you...z\x13You\'ve got company!z-We can do this the easy way, or the hard way.z\x1eYou just don\'t get it, do you?z\x15Yeah, you better run!z"Please, remind me how much I care?z\x1dI\'d run faster if I were you.z.That\'s definitely the droid we\'re looking for.z$May the odds be ever in your favour.z\x12Famous last words.z5And they disappeared forever, never to be seen again.zB"Oh, look at me! I\'m so cool, I can run from a bot!" - this personz$Yeah yeah, just tap /kickme already.z;Here, take this ring and head to Mordor while you\'re at it.z\'Legend has it, they\'re still running...z<Unlike Harry Potter, your parents can\'t protect you from me.z|Fear leads to anger. Anger leads to hate. Hate leads to suffering. If you keep running in fear, you might be the next Vader.zYMultiple calculations later, I have decided my interest in your shenanigans is exactly 0.z%Legend has it, they\'re still running.z-Keep it up, not sure we want you here anyway.z7You\'re a wiza- Oh. Wait. You\'re not Harry, keep moving.z\x1bNO RUNNING IN THE HALLWAYS!z\x15Hasta la vista, baby.z\x15Who let the dogs out?z!It\'s funny, because no one cares.z#Ah, what a waste. I liked that one.z&Frankly, my dear, I don\'t give a damn.z:My milkshake brings all the boys to yard... So run faster!z\x1bYou can\'t HANDLE the truth!zcA long time ago, in a galaxy far far away... Someone would\'ve cared about that. Not anymore though.zIHey, look at them! They\'re running from the inevitable banhammer... Cute.z\x1aHan shot first. So will I.z+What are you running after, a white rabbit?z\x1fAs The Doctor would say... RUN!z\x04Hi !u\x11\x00\x00\x00\xe2\x80\x98Ello, gov\'nor!u\x14\x00\x00\x00What\xe2\x80\x99s crackin\xe2\x80\x99?u\x12\x00\x00\x00\xe2\x80\x98Sup, homeslice?z\x14Howdy, howdy ,howdy!z Hello, who\'s there, I\'m talking.z\x15You know who this is.z\x03Yo!z\x08Whaddup.z\x1aGreetings and salutations!z\x10Hello, sunshine!z\x0fHey, howdy, hi!u#\x00\x00\x00What\xe2\x80\x99s kickin\xe2\x80\x99, little chicken?z\x0bPeek-a-boo!z\x0cHowdy-doody!z\x14Hey there, freshman!z\x10I come in peace!z\x0cAhoy, matey!z\x05Hiya!u\x07\x00\x00\x00\xd8\xa3\xe2\x80\xbf\xd8\xa3u\t\x00\x00\x00\xe2\x95\xa5\xef\xb9\x8f\xe2\x95\xa5u\x07\x00\x00\x00(;\xef\xb9\x8f;)z\x05(ToT)u\n\x00\x00\x00(\xe2\x94\xb3\xd0\x94\xe2\x94\xb3)u\x0b\x00\x00\x00(\xe0\xb2\xa5\xef\xb9\x8f\xe0\xb2\xa5)u\x0f\x00\x00\x00\xef\xbc\x88\xef\xbc\x9b\xe3\x81\xb8\xef\xbc\x9a\xef\xbc\x89u\x07\x00\x00\x00(T\xef\xbc\xbfT)u\r\x00\x00\x00\xef\xbc\x88\xcf\x80\xe3\x83\xbc\xcf\x80\xef\xbc\x89u\x0b\x00\x00\x00(\xef\xbc\xb4\xe2\x96\xbd\xef\xbc\xb4)u\x0b\x00\x00\x00(\xe2\x8b\x9f\xef\xb9\x8f\xe2\x8b\x9e)u\x0e\x00\x00\x00\xef\xbc\x88\xef\xbd\x89\xd0\x94\xef\xbd\x89\xef\xbc\x89u\x0b\x00\x00\x00(\xc2\xb4\xd0\x94\xe2\x8a\x82\xe3\x83\xbdu\x06\x00\x00\x00(;\xd0\x94;)u\x0b\x00\x00\x00\xef\xbc\x88>\xef\xb9\x8f<\xef\xbc\x89u\x06\x00\x00\x00(T\xd0\xb4T)u\x0b\x00\x00\x00(\xe3\x81\xa4\xef\xb9\x8f\xe2\x8a\x82)u\x0f\x00\x00\x00\xe0\xbc\xbc\xe2\x98\xaf\xef\xb9\x8f\xe2\x98\xaf\xe0\xbc\xbdu\x0b\x00\x00\x00(\xe3\x83\x8e\xef\xb9\x8f\xe3\x83\xbd)u\t\x00\x00\x00(\xe3\x83\x8eA\xe3\x83\xbd)u\t\x00\x00\x00(\xe2\x95\xa5_\xe2\x95\xa5)u\x07\x00\x00\x00(T\xe2\x8c\x93T)u\x11\x00\x00\x00(\xe0\xbc\x8e\xe0\xba\xb6\xe2\x8c\x91\xe0\xbc\x8e\xe0\xba\xb6)u\x0e\x00\x00\x00(\xe2\x98\x8d\xef\xb9\x8f\xe2\x81\xb0)\xef\xbd\xa1u\x0b\x00\x00\x00(\xe0\xb2\xa5_\xca\x96\xe0\xb2\xa5)u\n\x00\x00\x00(\xe3\x81\xa4\xd0\xb4\xe2\x8a\x82)u\r\x00\x00\x00(\xe2\x89\x96\xcd\x9e_\xe2\x89\x96\xcc\xa5)u\x0f\x00\x00\x00(\xe0\xae\x87\xef\xb9\x8f\xe0\xae\x87`\xef\xbd\xa1)u\r\x00\x00\x00\xe0\xbc\xbc\xe0\xb2\xa2_\xe0\xb2\xa2\xe0\xbc\xbdz\x1e{hits} {victim} with a {item}.z*{hits} {victim} in the face with a {item}.z+{hits} {victim} around a bit with a {item}.z `{throws} a {item} at {victim}.`z2grabs a {item} and {throws} it at {victim}\'s face.z\x1c{hits} a {item} at {victim}.z"{throws} a few {item} at {victim}.z2grabs a {item} and {throws} it in {victim}\'s face.z2launches a {item} in {victim}\'s general direction.z8sits on {victim}\'s face while slamming a {item} {where}.z-starts slapping {victim} silly with a {item}.z<pins {victim} down and repeatedly {hits} them with a {item}.z.grabs up a {item} and {hits} {victim} with it.z=holds {victim} down and repeatedly {hits} them with a {item}.z\x1dprods {victim} with a {item}.z.picks up a {item} and {hits} {victim} with it.z9`ties {victim} to a chair and {throws} a {item} at them.`z&{hits} {victim} {where} with a {item}.zyties {victim} to a pole and whips them {where} with a {item}.gave a friendly push to help {victim} learn to swim in lava.z\x1bsent {victim} to /dev/null.z#sent {victim} down the memory hole.z\x12beheaded {victim}.z\x1ethrew {victim} off a building.z1replaced all of {victim}\'s music with Nickelback.z\x19spammed {victim}\'s email.z!made {victim} a knuckle sandwich.z#slapped {victim} with pure nothing.z2hit {victim} with a small, interstellar spaceship.z\x15quickscoped {victim}.z\x1bput {victim} in check-mate.z3RSA-encrypted {victim} and deleted the private key.z\x1fput {victim} in the friendzone.z,slaps {victim} with a DMCA takedown request!z\x11cast iron skilletz\x0blarge troutz\x0cbaseball batz\x0bcricket batz\x0bwooden caneZ\x04nailZ\x07printerZ\x06shovelz\x10pair of trousersz\x0bCRT monitorz\rdiamond swordZ\x08baguettez\x10physics textbookZ\x07toasterz\x1cportrait of Richard StallmanZ\ntelevisionZ\x08mau5headz\x0efive ton truckz\x11roll of duct tapeZ\x04bookZ\x06laptopz\x0eold televisionz\rsack of rocksz\rrainbow troutz\x11cobblestone blockz\x0blava bucketz\x0erubber chickenz\nspiked batz\ngold blockz\x11fire extinguisherz\nheavy rockz\rchunk of dirtZ\x07beehivez\x14piece of rotten meatZ\x04bearz\rton of bricks\xda\x06throwsZ\x06flingsZ\x06chucksZ\x05hurls\xda\x04hitsZ\x06whacksZ\x05slapsZ\x06smacksZ\x06bashesz\x0cin the chestz\x0bon the headz\x0bon the buttz\ron the crotchz\x1e{hits} {victim} dengan {item}.z({throws} sebuah {item} kepada {victim}.z\'mengambil {item} dan {hits} {victim} .z7Mengambil Sebuah {item} dan {hits} {victim} Dengan itu.z\x1dMenjatuhkan {victim} Ke Lava.z\x1eMengirimkan {victim} ke Kawah.z\x1aMembuang {victim} Ke Laut.z Mengeluarkan {victim} Dari Bumi.z"Melempar {victim} Ke luar angkasa.z\x1aMenaruh {victim} di Pluto.z&Melemparkan sebuah {item} ke {victim}.z#Melemparkan {item} kepada {victim}.z%Menampar {victim} menggunakan {item}.z\x1bMembuang {victim} Ke udara.z%Menghapus {victim} Dari Daftar Teman.z$Melemparkan {item} {where} {victim}.z"Meletakan {item} {where} {victim}.z\'Menyerang {victim} menggunakan {anime}.z\x1fMengehack Seluruh akun {victim}z\nTabung Gasz\x0eTelevisi 42 InZ\x05Raketz\x0cRaket NyamukZ\x04KacaZ\x04BukuZ\x07RinggisZ\x05TelurZ\x05Jarumz\x0eMonitor TabungZ\x05ObengZ\x08AlmuniumZ\x04EmasZ\x07PrinterZ\x07Speakerz\x07Gas Lpgz\rTangki Bensinz\nTandon Airz\x0bBola BolingZ\x06Laptopz\rHardisk Rusakz\x0bWajan Panasz\x0cVirus Coronaz\x0bMeja Kantorz\nMeja ArsipZ\x06Lemariz\nEmber Besiz\nBesi Betonz\x0bTimah PanasZ\x07Harimauz\x0bBatu Krikilz\x0cMakanan Basiz\x0ePesawat AirBusz\nRoket Nasaz\x0cSatelit NasaZ\x08MatahariZ\x06Meteorz\rBerkas Kantorz\x0bBeton panasZ\x06Cerminz\tBatu GiokZ\x05BotolZ\x06Nezukoz\nKaset Pitaz\rTiang Jemuranz\x0bPisau Lipatz\rBongkahan Es Z\x08AsteroidZ\x08MelemparZ\x0bMelemparkanZ\x07MemukulZ\x0bmelemparkanZ\x08Memukuliz\x07di pipiz\tdi kepalaz\tdi bokongz\x08di badanz&Menyerang {victim} Menggunakan {hits}.z&Menyerang {victim} Menggunakan {item}.z&Melemparkan {throws} kepada {victim} .z&Melemparkan {throws} {where} {victim}.z\x13KAA MEE HAA MEE HAAz\x0eChibaku Tenseiz\x14Futon Rasen ShurikenZ\x08ShurikenZ\x08RasenganZ\x07Chidoriu\x1f\x01\x00\x00\n\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\n \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b \xf0\x9f\x98\x8b\xf0\x9f\x98\x8b\nu\xf0\x02\x00\x00\n\xe2\xa3\xa0\xe2\xa1\xb6\xe2\xa0\x9a\xe2\xa0\x9b\xe2\xa0\xb2\xe2\xa2\x84\xe2\xa1\x80\n\xe2\xa3\xbc\xe2\xa0\x81 \xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80 \xe2\xa0\xb3\xe2\xa2\xa4\xe2\xa3\x84\n\xe2\xa2\xbf\xe2\xa0\x80\xe2\xa2\xa7\xe2\xa1\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa2\x88\xe2\xa1\x87\n\xe2\xa0\x88\xe2\xa0\xb3\xe2\xa3\xbc\xe2\xa1\x99\xe2\xa0\x92\xe2\xa0\xb6\xe2\xa0\xb6\xe2\xa0\x96\xe2\xa0\x9a\xe2\xa0\x89\xe2\xa0\xb3\xe2\xa3\x84\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa3\x87\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa0\xb3\xe2\xa3\x84\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x98\xe2\xa3\x86 \xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80 \xe2\xa0\x80\xe2\xa0\x88\xe2\xa0\x93\xe2\xa2\xa6\xe2\xa3\x80\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa2\xb3\xe2\xa1\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa0\x99\xe2\xa0\xb2\xe2\xa2\xa4\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x99\xe2\xa2\xa6\xe2\xa3\x84\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa2\xa7\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa1\xb4\xe2\xa0\x8b\xe2\xa0\x93\xe2\xa0\xa6\xe2\xa3\xa4\xe2\xa1\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa3\x87\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa3\xb8\xe2\xa0\x81\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa2\xb8\xe2\xa1\x84 \n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa3\xbf\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa2\xb8\xe2\xa1\x87\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa2\xb9\xe2\xa1\x84\xe2\xa0\x80\xe2\xa0\x80\xe2\xa1\x84\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa2\xb8\xe2\xa0\x83\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x99\xe2\xa2\xa6\xe2\xa3\x80\xe2\xa3\xb3\xe2\xa1\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa3\xb0\xe2\xa0\x8f\n\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x80\xe2\xa0\x88\xe2\xa0\x99\xe2\xa0\x9b\xe2\xa2\xa6\xe2\xa3\x80\xe2\xa3\x80\xe2\xa3\x80\xe2\xa3\x80\xe2\xa3\xa0\xe2\xa1\xb4\xe2\xa0\x9a\xe2\xa0\x81\xe2\xa0\x89\xe2\xa0\x89\xe2\xa0\x89\nu\x9f\x02\x00\x00\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa1\xbf\xe2\xa0\x8b \xe2\xa0\x98\xe2\xa0\xa9\xe2\xa2\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa0\x83\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\xbb\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa0\x84\xe2\xa0\x84\xe2\xa3\x80\xe2\xa3\xa4\xe2\xa3\xa4\xe2\xa3\xa4\xe2\xa3\x84\xe2\xa1\x80\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x99\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa1\x80\xe2\xa2\xb0\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa2\xbf\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\xb9\xe2\xa2\xbf\xe2\xa3\xbf\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa1\x9e\xe2\xa0\xbb\xe2\xa0\xbf\xe2\xa0\x9f\xe2\xa0\x8b\xe2\xa0\x89\xe2\xa0\x81\xe2\xa3\xa4\xe2\xa1\x80\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xb6\xe2\xa2\xbc\xe2\xa3\xb7\xe2\xa1\xa4\xe2\xa3\xa6\xe2\xa3\xbf\xe2\xa0\x9b\xe2\xa1\xb0\xe2\xa2\x83\xe2\xa0\x84\xe2\xa0\x90\xe2\xa0\x84\xe2\xa0\x84\xe2\xa2\xb8\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa1\xaf\xe2\xa2\x8d\xe2\xa0\xbf\xe2\xa2\xbe\xe2\xa1\xbf\xe2\xa3\xb8\xe2\xa3\xbf\xe2\xa0\xb0\xe2\xa0\x84\xe2\xa2\x80\xe2\xa0\x84\xe2\xa0\x84\xe2\xa1\xac\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xb4\xe2\xa3\xb4\xe2\xa3\x85\xe2\xa3\xbe\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa1\xa7\xe2\xa0\xa6\xe2\xa1\xb6\xe2\xa0\x83\xe2\xa0\x84\xe2\xa0\xa0\xe2\xa2\xb4\n\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa0\xbf\xe2\xa0\x8d\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa2\x87\xe2\xa0\x9f\xe2\xa0\x81\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\n\xe2\xa0\x9f\xe2\xa0\x9b\xe2\xa0\x89\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa1\xbd\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa3\xaf\xe2\xa0\x8f\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\n\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa2\x80\xe2\xa3\xbe\xe2\xa3\xbe\xe2\xa3\xbf\xe2\xa3\xa4\xe2\xa3\xaf\xe2\xa3\xbf\xe2\xa3\xbf\xe2\xa1\xbf\xe2\xa0\x83\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\xe2\xa0\x84\nz\x07Di Pipiz\tDi Kepalaz\tDi Bokongz\x13Di Badan ,Di Pantat\xda\x01a\xda\x01b\xda\x01c\xda\x01d\xda\x01e\xda\x01f\xda\x01g\xda\x01h\xda\x01i\xda\x01j\xda\x01k\xda\x01l\xda\x01m\xda\x01n\xda\x01o\xda\x01p\xda\x01q\xda\x01r\xda\x01s\xda\x01t\xda\x01u\xda\x01v\xda\x01w\xda\x01x\xda\x01y\xda\x01zu\x03\x00\x00\x00\xe5\x8d\x82u\x03\x00\x00\x00\xe4\xb9\x83u\x03\x00\x00\x00\xe5\x8c\x9au\x03\x00\x00\x00\xe5\x88\x80u\x03\x00\x00\x00\xe4\xb9\x87u\x03\x00\x00\x00\xe4\xb8\x8bu\x03\x00\x00\x00\xe5\x8e\xb6u\x03\x00\x00\x00\xe5\x8d\x84u\x03\x00\x00\x00\xe5\xb7\xa5u\x03\x00\x00\x00\xe4\xb8\x81u\x03\x00\x00\x00\xe9\x95\xbfu\x03\x00\x00\x00\xe4\xb9\x9au\x03\x00\x00\x00\xe4\xbb\x8eu\x04\x00\x00\x00\xf0\xa0\x98\xa8u\x03\x00\x00\x00\xe5\x8f\xa3u\x03\x00\x00\x00\xe5\xb0\xb8u\x03\x00\x00\x00\xe3\x94\xbfu\x03\x00\x00\x00\xe5\xb0\xbau\x03\x00\x00\x00\xe4\xb8\x82u\x03\x00\x00\x00\xe4\xb8\x85u\x03\x00\x00\x00\xe5\x87\xb5u\x03\x00\x00\x00\xe3\x83\xaau\x03\x00\x00\x00\xe5\xb1\xb1u\x03\x00\x00\x00\xe4\xb9\x82u\x03\x00\x00\x00\xe4\xb8\xabu\x03\x00\x00\x00\xe4\xb9\x99Tz\x10^\\.(\\w+)say (.*))\x02\xda\x08outgoing\xda\x07patternc\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x07\x00\x00\x00\xc3\x00\x00\x00sp\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01\xa0\x02\xa1\x00}\x01|\x00j\x00\xa0\x01d\x02\xa1\x01}\x02|\x01d\x03k\x02r(d\x04}\x01|\x01t\x03j\x04k\x07r6d\x05S\x00t\x03\xa0\x05|\x01\xa1\x01}\x03|\x03\x83\x00}\x03|\x00\xa0\x06d\x06|\x03\xa0\x07|\x02\xa1\x01\xa0\x08d\x06d\x07\xa1\x02\x9b\x00d\x06\x9d\x03\xa1\x01I\x00d\x05H\x00\x01\x00d\x05S\x00)\x08z@ For .cowsay module, userbot wrapper for cow which says things. \xe9\x01\x00\x00\x00\xe9\x02\x00\x00\x00r\x06\x00\x00\x00\xda\x07defaultN\xfa\x01`\xf5\x02\x00\x00\x00\xc2\xb4)\t\xda\rpattern_match\xda\x05group\xda\x05lowerr\x06\x00\x00\x00Z\tCOWACTERSZ\x07get_cow\xda\x04editZ\x04milk\xda\x07replace)\x04Z\x06cowmsgZ\x03arg\xda\x04textZ\x06cheese\xa9\x00r?\x00\x00\x00\xda\x00\xda\x08univsaye-\x03\x00\x00s\x12\x00\x00\x00\x00\x03\x10\x01\x0c\x02\x08\x01\x04\x01\n\x01\x04\x01\n\x01\x06\x02rA\x00\x00\x00z\x10^\\.coinflip (.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s\xc2\x00\x00\x00t\x00d\x01d\x02g\x02\x83\x01}\x01|\x00j\x01\xa0\x02d\x03\xa1\x01}\x02|\x02r$|\x02\xa0\x03\xa1\x00}\x02|\x01d\x01k\x02rr|\x02d\x01k\x02rF|\x00\xa0\x04d\x04\xa1\x01I\x00d\x00H\x00\x01\x00q\xbe|\x02d\x02k\x02r`|\x00\xa0\x04d\x05\xa1\x01I\x00d\x00H\x00\x01\x00q\xbe|\x00\xa0\x04d\x06\xa1\x01I\x00d\x00H\x00\x01\x00nL|\x01d\x02k\x02r\xbe|\x02d\x02k\x02r\x94|\x00\xa0\x04d\x07\xa1\x01I\x00d\x00H\x00\x01\x00n*|\x02d\x01k\x02r\xae|\x00\xa0\x04d\x08\xa1\x01I\x00d\x00H\x00\x01\x00n\x10|\x00\xa0\x04d\t\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\nNZ\x05headsZ\x05tailsr4\x00\x00\x00z0The coin landed on: **Heads**.\nYou were correct.zAThe coin landed on: **Heads**.\nYou weren\'t correct, try again ...z\x1eThe coin landed on: **Heads**.z0The coin landed on: **Tails**.\nYou were correct.zAThe coin landed on: **Tails**.\nYou weren\'t correct, try again ...z\x1eThe coin landed on: **Tails**.)\x05r\t\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r;\x00\x00\x00r<\x00\x00\x00)\x03\xda\x05eventr)\x00\x00\x00\xda\tinput_strr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04coin=\x03\x00\x00s0\x00\x00\x00\x00\x02\x0c\x01\x0c\x01\x04\x01\x08\x01\x08\x01\x08\x01\x04\x01\x02\xff\x0c\x02\x08\x01\x04\x01\x02\xff\x0c\x04\x12\x01\x08\x01\x08\x01\x04\x01\x02\xff\x0c\x02\x08\x01\x04\x01\x02\xff\x0c\x04rD\x00\x00\x00z\x12^\\.slap(?: |$)(.*))\x02r3\x00\x00\x00r2\x00\x00\x00c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sn\x00\x00\x00t\x00|\x00\x83\x01I\x00d\x01H\x00}\x01|\x01r\x1c|\x01d\x02\x19\x00}\x01n\x04d\x01S\x00t\x01|\x01|\x00\x83\x02I\x00d\x01H\x00}\x02z\x14|\x00\xa0\x02|\x02\xa1\x01I\x00d\x01H\x00\x01\x00W\x00n$\x04\x00t\x03k\nrh\x01\x00\x01\x00\x01\x00|\x00\xa0\x02d\x03\xa1\x01I\x00d\x01H\x00\x01\x00Y\x00n\x02X\x00d\x01S\x00)\x04z. slaps a user, or get slapped if not a reply. Nr\x01\x00\x00\x00zA`Can\'t slap this person, need to fetch some sticks and stones !!`)\x04r\x12\x00\x00\x00\xda\x04slapr<\x00\x00\x00\xda\rBaseException)\x03rB\x00\x00\x00\xda\x0creplied_user\xda\x07captionr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03whoY\x03\x00\x00s\x16\x00\x00\x00\x00\x03\x0e\x01\x04\x01\n\x02\x04\x01\x10\x02\x02\x01\x14\x02\x0e\x01\x04\x01\x02\xffrI\x00\x00\x00c\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\r\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00s\x1a\x01\x00\x00|\x00j\x00}\x02|\x00j\x01}\x03|\x00j\x02}\x04|\x04r"d\x01\xa0\x03|\x04\xa1\x01}\x05n\x12d\x02|\x03\x9b\x00d\x03|\x02\x9b\x00d\x04\x9d\x05}\x05|\x01j\x04\xa0\x05d\x05\xa1\x01}\x06|\x06d\x06k\x02rrt\x06t\x07\x83\x01}\x07t\x06t\x08\x83\x01}\x08t\x06t\t\x83\x01}\tt\x06t\n\x83\x01}\nt\x06t\x0b\x83\x01}\x0bn\x8c|\x06d\x07k\x02r\xa4t\x06t\x0c\x83\x01}\x07t\x06t\r\x83\x01}\x08t\x06t\x0e\x83\x01}\tt\x06t\x0f\x83\x01}\nt\x06t\x10\x83\x01}\x0bnZ|\x06d\x08k\x02r\xd6t\x06t\x11\x83\x01}\x07t\x06t\x12\x83\x01}\x08t\x06t\x13\x83\x01}\tt\x06t\x14\x83\x01}\nt\x06t\x15\x83\x01}\x0bn(t\x06t\x07\x83\x01}\x07t\x06t\x08\x83\x01}\x08t\x06t\t\x83\x01}\tt\x06t\n\x83\x01}\nt\x06t\x0b\x83\x01}\x0bd\t|\x07j\x03|\x05|\x08|\t|\n|\x0bd\n\x8d\x05\x17\x00}\x0c|\x0cS\x00)\x0bz$ Construct a funny slap sentence !! z\x03@{}\xfa\x01[z\x0f](tg://user?id=\xfa\x01)r4\x00\x00\x00Z\x02en\xda\x02idZ\x05jutsuz\x03...)\x05Z\x06victim\xda\x04itemr\x17\x00\x00\x00r\x16\x00\x00\x00\xda\x05where)\x16rL\x00\x00\x00\xda\nfirst_name\xda\x08username\xda\x06formatr9\x00\x00\x00r:\x00\x00\x00r\t\x00\x00\x00\xda\x11SLAP_TEMPLATES_EN\xda\x08ITEMS_EN\xda\x06HIT_EN\xda\x08THROW_EN\xda\x08WHERE_EN\xda\x11SLAP_TEMPLATES_ID\xda\x08ITEMS_ID\xda\x06HIT_ID\xda\x08THROW_ID\xda\x08WHERE_ID\xda\x14SLAP_TEMPLATES_Jutsu\xda\x0bITEMS_Jutsu\xda\tHIT_Jutsu\xda\x0bTHROW_Jutsu\xda\x0bWHERE_Jutsu)\rrG\x00\x00\x00rB\x00\x00\x00Z\x07user_idrO\x00\x00\x00rP\x00\x00\x00Z\x07slappedZ\x08slap_strZ\x04temprM\x00\x00\x00Z\x03hit\xda\x05throwrN\x00\x00\x00rH\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00rE\x00\x00\x00l\x03\x00\x00sL\x00\x00\x00\x00\x02\x06\x01\x06\x01\x06\x02\x04\x01\x0c\x02\x12\x01\x0c\x01\x08\x01\x08\x01\x08\x01\x08\x01\x08\x01\n\x01\x08\x01\x08\x01\x08\x01\x08\x01\x08\x01\n\x01\x08\x01\x08\x01\x08\x01\x08\x01\x08\x01\n\x02\x08\x01\x08\x01\x08\x01\x08\x01\x08\x02\x06\x01\x02\x00\x02\x00\x02\x00\x02\x00\x02\xff\x08\x03rE\x00\x00\x00z\x13^\\.boobs(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00s\x96\x00\x00\x00|\x00\xa0\x00d\x01\xa1\x01I\x00d\x00H\x00\x01\x00t\x01d\x02\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x00d\x03\xa1\x01I\x00d\x00H\x00\x01\x00t\x02\xa0\x03d\x04\xa1\x01\xa0\x04\xa1\x00d\x05\x19\x00d\x06\x19\x00}\x01t\x05j\x06\xa0\x07d\x07\xa0\x08|\x01\xa1\x01d\x08\xa1\x02\x01\x00t\t\xa0\nd\x08d\t\xa1\x02\x01\x00|\x00j\x0b\xa0\x0c|\x00j\rd\t\xa1\x02I\x00d\x00H\x00\x01\x00t\t\xa0\x0ed\t\xa1\x01\x01\x00|\x00\xa0\x0f\xa1\x00I\x00d\x00H\x00\x01\x00d\x00S\x00)\nNz\x1b`Finding some big boobs...`\xe9\x03\x00\x00\x00z\x1b`Sending some big boobs...`z\x1chttp://api.oboobs.ru/noise/1r\x01\x00\x00\x00\xda\x07previewz\x19http://media.oboobs.ru/{}\xfa\x05*.jpgz\tboobs.jpg\xa9\x10r<\x00\x00\x00r\x07\x00\x00\x00\xda\x08requests\xda\x03get\xda\x04json\xda\x06urllibZ\x07requestZ\x0burlretrieverQ\x00\x00\x00\xda\x02os\xda\x06rename\xda\x06clientZ\tsend_file\xda\x07chat_id\xda\x06remove\xda\x06delete\xa9\x02r\x1c\x00\x00\x00Z\x04nsfwr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05boobs\x96\x03\x00\x00s\x12\x00\x00\x00\x00\x02\x10\x01\x0e\x01\x10\x01\x16\x01\x14\x01\x0c\x01\x16\x01\n\x01rq\x00\x00\x00z\x13^\\.butts(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00s\x96\x00\x00\x00|\x00\xa0\x00d\x01\xa1\x01I\x00d\x00H\x00\x01\x00t\x01d\x02\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x00d\x03\xa1\x01I\x00d\x00H\x00\x01\x00t\x02\xa0\x03d\x04\xa1\x01\xa0\x04\xa1\x00d\x05\x19\x00d\x06\x19\x00}\x01t\x05j\x06\xa0\x07d\x07\xa0\x08|\x01\xa1\x01d\x08\xa1\x02\x01\x00t\t\xa0\nd\x08d\t\xa1\x02\x01\x00|\x00j\x0b\xa0\x0c|\x00j\rd\t\xa1\x02I\x00d\x00H\x00\x01\x00t\t\xa0\x0ed\t\xa1\x01\x01\x00|\x00\xa0\x0f\xa1\x00I\x00d\x00H\x00\x01\x00d\x00S\x00)\nNz!`Finding some beautiful butts...`rb\x00\x00\x00z!`Sending some beautiful butts...`z\x1chttp://api.obutts.ru/noise/1r\x01\x00\x00\x00rc\x00\x00\x00z\x19http://media.obutts.ru/{}rd\x00\x00\x00z\tbutts.jpgre\x00\x00\x00rp\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05butts\xa3\x03\x00\x00s\x12\x00\x00\x00\x00\x02\x10\x01\x0e\x01\x10\x01\x16\x01\x14\x01\x0c\x01\x16\x01\n\x01rr\x00\x00\x00z\x19^\\.(yes|no|maybe|decide)$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x06\x00\x00\x00\xc3\x00\x00\x00s\x8a\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01\xa0\x02\xa1\x00}\x01|\x00j\x03r\x1c|\x00j\x03n\x02d\x00}\x02|\x01d\x02k\x03r>t\x04\xa0\x05d\x03|\x01\x9b\x00\x9d\x02\xa1\x01\xa0\x06\xa1\x00}\x03n\x0et\x04\xa0\x05d\x04\xa1\x01\xa0\x06\xa1\x00}\x03|\x00\xa0\x07\xa1\x00I\x00d\x00H\x00\x01\x00|\x00j\x08j\t|\x00j\nt\x0b|\x03d\x05\x19\x00\x83\x01\xa0\x0c\xa1\x00|\x02|\x03d\x06\x19\x00d\x07\x8d\x04I\x00d\x00H\x00\x01\x00d\x00S\x00)\x08Nr4\x00\x00\x00\xda\x06decidez\x1chttps://yesno.wtf/api?force=z\x15https://yesno.wtf/apiZ\x06answerZ\x05image)\x02Z\x08reply_to\xda\x04file)\rr9\x00\x00\x00r:\x00\x00\x00r;\x00\x00\x00Z\x0freply_to_msg_idrf\x00\x00\x00rg\x00\x00\x00rh\x00\x00\x00ro\x00\x00\x00rl\x00\x00\x00Z\x0csend_messagerm\x00\x00\x00\xda\x03str\xda\x05upper)\x04rB\x00\x00\x00Z\x08decisionZ\nmessage_idr)\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00rs\x00\x00\x00\xb0\x03\x00\x00s\x16\x00\x00\x00\x00\x02\x10\x01\x10\x01\x08\x01\x16\x02\x0e\x01\x0e\x01\n\x01\x0e\x01\x02\x01\x06\xfdrs\x00\x00\x00z\x06^\\.fp$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s\x14\x00\x00\x00|\x00\xa0\x00d\x01\xa1\x01I\x00d\x02H\x00\x01\x00d\x02S\x00)\x03u\x16\x00\x00\x00 Facepalm \xf0\x9f\xa4\xa6\xe2\x80\x8d\xe2\x99\x82 u\n\x00\x00\x00\xf0\x9f\xa4\xa6\xe2\x80\x8d\xe2\x99\x82N\xa9\x01r<\x00\x00\x00\xa9\x01r\x1c\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x08facepalm\xbf\x03\x00\x00s\x02\x00\x00\x00\x00\x03ry\x00\x00\x00z\x07^\\.cry$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z y u du dis, i cry everytime !! N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\x03CRIrx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03cry\xc5\x03\x00\x00s\x02\x00\x00\x00\x00\x03r{\x00\x00\x00z\n^\\.insult$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z\x13 I make you cry !! N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\x0eINSULT_STRINGSrx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x06insult\xcb\x03\x00\x00s\x02\x00\x00\x00\x00\x03r}\x00\x00\x00z\x10^\\.cp(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\xea\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00}\x01|\x00j\x01\xa0\x02d\x02\xa1\x01}\x02|\x02r n\x1c|\x01r,|\x01j\x03}\x02n\x10|\x00\xa0\x04d\x03\xa1\x01I\x00d\x01H\x00S\x00t\x05t\x06\x83\x01}\x03t\x05|\x02\x83\x01\xa0\x07\xa1\x00}\x04|\x02D\x00]t}\x05|\x05d\x04k\x02rn|\x03t\x05t\x06\x83\x017\x00}\x03qT|\x05t\x06k\x06r\x8c|\x03|\x057\x00}\x03|\x03t\x05t\x06\x83\x017\x00}\x03qT|\x05\xa0\x07\xa1\x00|\x04k\x02r\xa2|\x03d\x057\x00}\x03qTt\x08t\td\x02\x83\x01\x83\x01r\xbc|\x03|\x05\xa0\n\xa1\x007\x00}\x03qT|\x03|\x05\xa0\x07\xa1\x007\x00}\x03qT|\x03t\x05t\x06\x83\x017\x00}\x03|\x00\xa0\x04|\x03\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x06z\x1b Copypasta the famous meme Nr4\x00\x00\x00uQ\x00\x00\x00`\xf0\x9f\x98\x82\xf0\x9f\x85\xb1\xef\xb8\x8fIvE\xf0\x9f\x91\x90sOME\xf0\x9f\x91\x85text\xf0\x9f\x91\x85for\xe2\x9c\x8c\xef\xb8\x8fMe\xf0\x9f\x91\x8ctO\xf0\x9f\x91\x90MAkE\xf0\x9f\x91\x80iT\xf0\x9f\x92\x9efunNy!\xf0\x9f\x92\xa6`r\x13\x00\x00\x00u\x07\x00\x00\x00\xf0\x9f\x85\xb1\xef\xb8\x8f)\x0b\xda\x11get_reply_messager9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r\t\x00\x00\x00\xda\x06EMOJISr;\x00\x00\x00\xda\x04boolr\n\x00\x00\x00rv\x00\x00\x00)\x06Z\x04cp_e\xda\x05textx\xda\x07message\xda\nreply_textZ\x06b_charr\x15\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\tcopypasta\xd1\x03\x00\x00s,\x00\x00\x00\x00\x03\x0e\x01\x0c\x02\x04\x01\x02\x01\x04\x01\x08\x02\x10\x02\x08\x02\x0c\x01\x08\x01\x08\x01\x0e\x01\x08\x01\x08\x01\x0e\x01\x0c\x01\n\x02\x0c\x01\x0e\x02\x0e\x01\x0c\x01r\x84\x00\x00\x00z\x13^\\.vapor(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00\x06\x00\x00\x00\xc3\x00\x00\x00s\xc0\x00\x00\x00t\x00\x83\x00}\x01|\x00\xa0\x01\xa1\x00I\x00d\x01H\x00}\x02|\x00j\x02\xa0\x03d\x02\xa1\x01}\x03|\x03r&n\x1c|\x02r2|\x02j\x04}\x03n\x10|\x00\xa0\x05d\x03\xa1\x01I\x00d\x01H\x00S\x00|\x03D\x00]^}\x04d\x04t\x06|\x04\x83\x01\x04\x00\x03\x00k\x01rbd\x05k\x01r~n\x04\x01\x00n\x18|\x01\xa0\x07t\x08t\x06|\x04\x83\x01d\x06\x17\x00\x83\x01\xa1\x01\x01\x00qFt\x06|\x04\x83\x01d\x07k\x02r\x9a|\x01\xa0\x07t\x08d\x08\x83\x01\xa1\x01\x01\x00qF|\x01\xa0\x07|\x04\xa1\x01\x01\x00qF|\x00\xa0\x05d\t\xa0\t|\x01\xa1\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\nz\x16 Vaporize everything! Nr4\x00\x00\x00uE\x00\x00\x00`\xef\xbc\xa7\xef\xbd\x89\xef\xbd\x96\xef\xbd\x85 \xef\xbd\x93\xef\xbd\x8f\xef\xbd\x8d\xef\xbd\x85 \xef\xbd\x94\xef\xbd\x85\xef\xbd\x98\xef\xbd\x94 \xef\xbd\x86\xef\xbd\x8f\xef\xbd\x92 \xef\xbd\x96\xef\xbd\x81\xef\xbd\x90\xef\xbd\x8f\xef\xbd\x92\xef\xbc\x81`\xe9!\x00\x00\x00\xe9\x7f\x00\x00\x00i\xe0\xfe\x00\x00\xe9 \x00\x00\x00i\x000\x00\x00r@\x00\x00\x00)\n\xda\x04listr~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00\xda\x03ord\xda\x06append\xda\x03chr\xda\x04join)\x05Z\x03vprr\x83\x00\x00\x00r\x81\x00\x00\x00r\x82\x00\x00\x00\xda\x06characr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05vapor\xf2\x03\x00\x00s\x1e\x00\x00\x00\x00\x03\x06\x01\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x02\x08\x01\x1c\x01\x18\x01\x0c\x01\x10\x02\x0c\x02r\x8e\x00\x00\x00z\x11^\\.str(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00sp\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00}\x01|\x00j\x01}\x02|\x00j\x02\xa0\x03d\x02\xa1\x01}\x02|\x02r&n\x1c|\x01r2|\x01j\x01}\x02n\x10|\x00\xa0\x04d\x03\xa1\x01I\x00d\x01H\x00S\x00t\x05d\x04d\x05\x83\x02}\x03t\x06d\x06d\x07|\x03\x14\x00|\x02\x83\x03}\x04|\x00\xa0\x04|\x04\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x08z\x0c Stretch it.Nr4\x00\x00\x00z(`GiiiiiiiB sooooooomeeeeeee teeeeeeext!`rb\x00\x00\x00\xe9\n\x00\x00\x00u@\x00\x00\x00([aeiouAEIOU\xef\xbd\x81\xef\xbd\x85\xef\xbd\x89\xef\xbd\x8f\xef\xbd\x95\xef\xbc\xa1\xef\xbc\xa5\xef\xbc\xa9\xef\xbc\xaf\xef\xbc\xb5\xd0\xb0\xd0\xb5\xd0\xb8\xd0\xbe\xd1\x83\xd1\x8e\xd1\x8f\xd1\x8b\xd1\x8d\xd1\x91])z\x02\\1)\x07r~\x00\x00\x00r>\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r<\x00\x00\x00r\x0b\x00\x00\x00r\x05\x00\x00\x00)\x05Z\x05stretr\x81\x00\x00\x00r\x82\x00\x00\x00\xda\x05countr\x83\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x07stretch\n\x04\x00\x00s\x1a\x00\x00\x00\x00\x03\x0e\x01\x06\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x02\n\x01\n\x01\x02\xff\x04\x02r\x91\x00\x00\x00z\x11^\\.zal(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x00\x00\x06\x00\x00\x00\xc3\x00\x00\x00s\xfa\x00\x00\x00t\x00\x83\x00}\x01|\x00\xa0\x01\xa1\x00I\x00d\x01H\x00}\x02|\x00j\x02\xa0\x03d\x02\xa1\x01}\x03|\x03r&n\x1c|\x02r2|\x02j\x04}\x03n\x10|\x00\xa0\x05d\x03\xa1\x01I\x00d\x01H\x00S\x00|\x03D\x00]\x98}\x04|\x04\xa0\x06\xa1\x00s^|\x01\xa0\x07|\x04\xa1\x01\x01\x00qFt\x08d\x04d\x05\x83\x02D\x00]j}\x05t\td\x04d\x06\x83\x02}\x06|\x06d\x04k\x02r\x98|\x04\xa0\n\xa1\x00t\x0bt\x0cd\x04\x19\x00\x83\x01\xa0\n\xa1\x00\x17\x00}\x04qh|\x06d\x02k\x02r\xba|\x04\xa0\n\xa1\x00t\x0bt\x0cd\x02\x19\x00\x83\x01\xa0\n\xa1\x00\x17\x00}\x04qh|\x04\xa0\n\xa1\x00t\x0bt\x0cd\x06\x19\x00\x83\x01\xa0\n\xa1\x00\x17\x00}\x04qh|\x01\xa0\x07|\x04\xa1\x01\x01\x00qF|\x00\xa0\x05d\x07\xa0\r|\x01\xa1\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x08z\x1e Invoke the feeling of chaos. Nr4\x00\x00\x00u^\x00\x00\x00`g\xcd\xab \xcc\x86 i\xcc\x9b \xcc\xba v\xcd\x87\xcc\x86 e\xcc\x8f\xcd\x85 a\xcc\xa2\xcd\xa6 s\xcc\xb4\xcc\xaa c\xcc\xa2\xcc\xb8 a\xcc\xb8\xcc\x88 r\xcd\xa9\xcd\xa3 y\xcd\x96\xcd\x9e t\xcc\xa8\xcd\x9a e\xcc\xa0\xcc\x81 x\xcc\xa2\xcd\x96 t\xcd\x9b\xcd\x94`r\x01\x00\x00\x00rb\x00\x00\x00r5\x00\x00\x00r@\x00\x00\x00)\x0er\x88\x00\x00\x00r~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00\xda\x07isalphar\x8a\x00\x00\x00\xda\x05ranger\x0b\x00\x00\x00\xda\x05stripr\t\x00\x00\x00\xda\tZALG_LISTr\x8c\x00\x00\x00)\x07Z\x04zgfyr\x83\x00\x00\x00r\x81\x00\x00\x00r\x82\x00\x00\x00r\x8d\x00\x00\x00\xda\x01_Z\x04randr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03zal\x1d\x04\x00\x00s:\x00\x00\x00\x00\x03\x06\x01\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x04\x01\x02\xff\n\x04\x08\x01\x08\x01\n\x01\x02\x02\x0e\x01\n\x02\x08\x01\x06\x01\x0e\xff\x06\x02\x08\x01\x06\x01\x0e\xff\x06\x03\x06\x01\x0e\xff\x06\x03\x0c\x02r\x97\x00\x00\x00z\x06^\\.hi$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z\x11 Greet everyone! N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\x08HELLOSTR)\x01Z\x05hellor?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03hoiC\x04\x00\x00s\x02\x00\x00\x00\x00\x03r\x99\x00\x00\x00z\x11^\\.owo(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00s\xb0\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00}\x01|\x00j\x01\xa0\x02d\x02\xa1\x01}\x02|\x02r n\x1c|\x01r,|\x01j\x03}\x02n\x10|\x00\xa0\x04d\x03\xa1\x01I\x00d\x01H\x00S\x00t\x05d\x04d\x05|\x02\x83\x03}\x03t\x05d\x06d\x07|\x03\x83\x03}\x03t\x05d\x08d\t|\x03\x83\x03}\x03t\x05d\nd\x0b|\x03\x83\x03}\x03t\x05d\x0cd\rt\x06t\x07\x83\x01\x17\x00|\x03\x83\x03}\x03|\x03\xa0\x08d\x0ed\x0f\xa1\x02}\x03|\x03d\rt\x06t\x07\x83\x01\x17\x007\x00}\x03|\x00\xa0\x04|\x03\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x10z\x05 UwU Nr4\x00\x00\x00z\x16` UwU no text given! `z\x05(r|l)r.\x00\x00\x00z\x05(R|L)\xda\x01Wz\nn([aeiou])z\x04ny\\1z\x0fN([aeiouAEIOU])z\x04Ny\\1\xfa\x03\\!+r\x13\x00\x00\x00Z\x03oveZ\x02uv)\tr~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r\x05\x00\x00\x00r\t\x00\x00\x00\xda\x04UWUSr=\x00\x00\x00)\x04r\x15\x00\x00\x00r\x81\x00\x00\x00r\x82\x00\x00\x00r\x83\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05facesI\x04\x00\x00s\x1e\x00\x00\x00\x00\x03\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x02\x0c\x01\x0c\x01\x0c\x01\x0c\x01\x14\x01\x0c\x01\x10\x01r\x9d\x00\x00\x00z\t^\\.react$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z( Make your userbot react to everything. N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\nFACEREACTS)\x01Z\x05reactr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\nreact_meme_\x04\x00\x00s\x02\x00\x00\x00\x00\x03r\x9f\x00\x00\x00z\x07^\\.shg$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00\xa9\x02u\x0f\x00\x00\x00 \xc2\xaf\\_(\xe3\x83\x84)_/\xc2\xaf N\xa9\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\x04SHGS\xa9\x01Z\x03shgr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x08shruggere\x04\x00\x00s\x02\x00\x00\x00\x00\x03r\xa4\x00\x00\x00z\t^\\.chase$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z% Run boi run, i\'m gonna catch you !! N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\tCHASE_STR)\x01Z\x05chaser?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x06policek\x04\x00\x00s\x02\x00\x00\x00\x00\x03r\xa6\x00\x00\x00z\x07^\\.run$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z\x12 Run, run, RUNNN! N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\x08RUNS_STR)\x01\xda\x03runr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\nrunner_lolq\x04\x00\x00s\x02\x00\x00\x00\x00\x03r\xa9\x00\x00\x00z\t^\\.metoo$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x02z\n Haha yes N)\x03r<\x00\x00\x00r\t\x00\x00\x00\xda\x08METOOSTR)\x01Z\x07hahayesr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05metoow\x04\x00\x00s\x02\x00\x00\x00\x00\x03r\xab\x00\x00\x00z\x07^\\.oem$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s6\x00\x00\x00d\x01}\x01t\x00d\x02\x83\x01D\x00]$}\x02|\x01d\x00d\x03\x85\x02\x19\x00d\x04\x17\x00}\x01|\x00\xa0\x01|\x01\xa1\x01I\x00d\x00H\x00\x01\x00q\x0cd\x00S\x00\xa9\x05N\xda\x03Oem\xe9\x10\x00\x00\x00\xe9\xff\xff\xff\xffZ\x02em\xa9\x02r\x93\x00\x00\x00r<\x00\x00\x00\xa9\x03r\x1c\x00\x00\x00r+\x00\x00\x00r!\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03oem}\x04\x00\x00s\x08\x00\x00\x00\x00\x02\x04\x01\x0c\x01\x10\x01r\xb2\x00\x00\x00z\x07^\\.Oem$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s6\x00\x00\x00d\x01}\x01t\x00d\x02\x83\x01D\x00]$}\x02|\x01d\x00d\x03\x85\x02\x19\x00d\x04\x17\x00}\x01|\x00\xa0\x01|\x01\xa1\x01I\x00d\x00H\x00\x01\x00q\x0cd\x00S\x00r\xac\x00\x00\x00r\xb0\x00\x00\x00r\xb1\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\xad\x00\x00\x00\x85\x04\x00\x00s\x08\x00\x00\x00\x00\x02\x04\x01\x0c\x01\x10\x01r\xad\x00\x00\x00z\x08^\\.10iq$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s\x14\x00\x00\x00|\x00\xa0\x00d\x01\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x02Nu\x03\x00\x00\x00\xe2\x99\xbfrw\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x06iqless\x8d\x04\x00\x00s\x02\x00\x00\x00\x00\x02r\xb3\x00\x00\x00z\x07^.fuck$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s\x14\x00\x00\x00|\x00\xa0\x00d\x01\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x02Nu\xbb\x00\x00\x00\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95\n\xf0\x9f\x96\x95\xf0\x9f\x96\x95rw\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\xb3\x00\x00\x00\x91\x04\x00\x00s\x02\x00\x00\x00\x00\x02z\x08^\\.moon$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sh\x00\x00\x00t\x00t\x01d\x01\x83\x01\x83\x01}\x01z@t\x02d\x02\x83\x01D\x00]2}\x02t\x03d\x03\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x04d\x04\xa0\x05|\x01\xa1\x01\xa1\x01I\x00d\x00H\x00\x01\x00|\x01\xa0\x06d\x05\xa1\x01\x01\x00q\x16W\x00n\x16\x04\x00t\x07k\nrb\x01\x00\x01\x00\x01\x00Y\x00d\x00S\x00X\x00d\x00S\x00)\x06Nu \x00\x00\x00\xf0\x9f\x8c\x97\xf0\x9f\x8c\x98\xf0\x9f\x8c\x91\xf0\x9f\x8c\x92\xf0\x9f\x8c\x93\xf0\x9f\x8c\x94\xf0\x9f\x8c\x95\xf0\x9f\x8c\x96r\x87\x00\x00\x00\xe7\x9a\x99\x99\x99\x99\x99\xb9?r@\x00\x00\x00r4\x00\x00\x00\xa9\x08r\x08\x00\x00\x00r\x88\x00\x00\x00r\x93\x00\x00\x00r\x07\x00\x00\x00r<\x00\x00\x00r\x8c\x00\x00\x00Z\x06rotaterF\x00\x00\x00\xa9\x03rB\x00\x00\x00Z\x03deqr/\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04moon\x96\x04\x00\x00s\x10\x00\x00\x00\x00\x02\x0c\x01\x02\x01\x0c\x01\x0e\x01\x16\x01\x10\x01\x0e\x01r\xb7\x00\x00\x00z\t^\\.clock$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sh\x00\x00\x00t\x00t\x01d\x01\x83\x01\x83\x01}\x01z@t\x02d\x02\x83\x01D\x00]2}\x02t\x03d\x03\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x04d\x04\xa0\x05|\x01\xa1\x01\xa1\x01I\x00d\x00H\x00\x01\x00|\x01\xa0\x06d\x05\xa1\x01\x01\x00q\x16W\x00n\x16\x04\x00t\x07k\nrb\x01\x00\x01\x00\x01\x00Y\x00d\x00S\x00X\x00d\x00S\x00)\x06Nu,\x00\x00\x00\xf0\x9f\x95\x99\xf0\x9f\x95\x98\xf0\x9f\x95\x97\xf0\x9f\x95\x96\xf0\x9f\x95\x95\xf0\x9f\x95\x94\xf0\x9f\x95\x93\xf0\x9f\x95\x92\xf0\x9f\x95\x91\xf0\x9f\x95\x90\xf0\x9f\x95\x9br\x87\x00\x00\x00r\xb4\x00\x00\x00r@\x00\x00\x00r4\x00\x00\x00r\xb5\x00\x00\x00r\xb6\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05clock\xa3\x04\x00\x00s\x10\x00\x00\x00\x00\x02\x0c\x01\x02\x01\x0c\x01\x0e\x01\x16\x01\x10\x01\x0e\x01r\xb8\x00\x00\x00z\x07^.rain$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sh\x00\x00\x00t\x00t\x01d\x01\x83\x01\x83\x01}\x01z@t\x02d\x02\x83\x01D\x00]2}\x02t\x03d\x03\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x04d\x04\xa0\x05|\x01\xa1\x01\xa1\x01I\x00d\x00H\x00\x01\x00|\x01\xa0\x06d\x05\xa1\x01\x01\x00q\x16W\x00n\x16\x04\x00t\x07k\nrb\x01\x00\x01\x00\x01\x00Y\x00d\x00S\x00X\x00d\x00S\x00)\x06Nu!\x00\x00\x00\xe2\x98\x80\xef\xb8\x8f\xf0\x9f\x8c\xa4\xe2\x9b\x85\xef\xb8\x8f\xf0\x9f\x8c\xa5\xe2\x98\x81\xef\xb8\x8f\xf0\x9f\x8c\xa7\xe2\x9b\x88r\x87\x00\x00\x00r\xb4\x00\x00\x00r@\x00\x00\x00r4\x00\x00\x00r\xb5\x00\x00\x00r\xb6\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04rain\xaf\x04\x00\x00s\x10\x00\x00\x00\x00\x02\x0c\x01\x02\x01\x0c\x01\x0e\x01\x16\x01\x10\x01\x0e\x01r\xb9\x00\x00\x00z\x07^.love$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sh\x00\x00\x00t\x00t\x01d\x01\x83\x01\x83\x01}\x01z@t\x02d\x02\x83\x01D\x00]2}\x02t\x03d\x03\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x04d\x04\xa0\x05|\x01\xa1\x01\xa1\x01I\x00d\x00H\x00\x01\x00|\x01\xa0\x06d\x05\xa1\x01\x01\x00q\x16W\x00n\x16\x04\x00t\x07k\nrb\x01\x00\x01\x00\x01\x00Y\x00d\x00S\x00X\x00d\x00S\x00)\x06Nu:\x00\x00\x00\xe2\x9d\xa4\xef\xb8\x8f\xf0\x9f\xa7\xa1\xf0\x9f\x92\x9b\xf0\x9f\x92\x9a\xf0\x9f\x92\x99\xf0\x9f\x92\x9c\xf0\x9f\x96\xa4\xf0\x9f\x92\x95\xf0\x9f\x92\x9e\xf0\x9f\x92\x93\xf0\x9f\x92\x97\xf0\x9f\x92\x96\xf0\x9f\x92\x98\xf0\x9f\x92\x9dr\x87\x00\x00\x00r\xb4\x00\x00\x00r@\x00\x00\x00r4\x00\x00\x00r\xb5\x00\x00\x00r\xb6\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04love\xbb\x04\x00\x00s\x10\x00\x00\x00\x00\x02\x0c\x01\x02\x01\x0c\x01\x0e\x01\x16\x01\x10\x01\x0e\x01r\xba\x00\x00\x00z\x08^.earth$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sh\x00\x00\x00t\x00t\x01d\x01\x83\x01\x83\x01}\x01z@t\x02d\x02\x83\x01D\x00]2}\x02t\x03d\x03\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x04d\x04\xa0\x05|\x01\xa1\x01\xa1\x01I\x00d\x00H\x00\x01\x00|\x01\xa0\x06d\x05\xa1\x01\x01\x00q\x16W\x00n\x16\x04\x00t\x07k\nrb\x01\x00\x01\x00\x01\x00Y\x00d\x00S\x00X\x00d\x00S\x00)\x06Nu \x00\x00\x00\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8e\xf0\x9f\x8c\x8e\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8f\xf0\x9f\x8c\x8d\xf0\x9f\x8c\x8er\x87\x00\x00\x00r\xb4\x00\x00\x00r@\x00\x00\x00r4\x00\x00\x00r\xb5\x00\x00\x00r\xb6\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05earth\xc7\x04\x00\x00s\x10\x00\x00\x00\x00\x02\x0c\x01\x02\x01\x0c\x01\x0e\x01\x16\x01\x10\x01\x0e\x01r\xbb\x00\x00\x00z\x06^.emo$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x08\x00\x00\x00\xc3\x00\x00\x00sh\x00\x00\x00t\x00t\x01d\x01\x83\x01\x83\x01}\x01z@t\x02d\x02\x83\x01D\x00]2}\x02t\x03d\x03\x83\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x04d\x04\xa0\x05|\x01\xa1\x01\xa1\x01I\x00d\x00H\x00\x01\x00|\x01\xa0\x06d\x05\xa1\x01\x01\x00q\x16W\x00n\x16\x04\x00t\x07k\nrb\x01\x00\x01\x00\x01\x00Y\x00d\x00S\x00X\x00d\x00S\x00)\x06Nu,\x00\x00\x00\xf0\x9f\x99\x82\xf0\x9f\x98\x81\xf0\x9f\x98\x84\xf0\x9f\x98\x83\xf0\x9f\x98\x82\xf0\x9f\xa4\xa3\xf0\x9f\x98\xad\xf0\x9f\x90\xb5\xf0\x9f\x99\x8a\xf0\x9f\x99\x89\xf0\x9f\x99\x88r\x87\x00\x00\x00r\xb4\x00\x00\x00r@\x00\x00\x00r4\x00\x00\x00r\xb5\x00\x00\x00r\xb6\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\xbb\x00\x00\x00\xd3\x04\x00\x00s\x10\x00\x00\x00\x00\x02\x0c\x01\x02\x01\x0c\x01\x0e\x01\x16\x01\x10\x01\x0e\x01z\x12^\\.mock(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00s\xa6\x00\x00\x00t\x00\x83\x00}\x01|\x00\xa0\x01\xa1\x00I\x00d\x01H\x00}\x02|\x00j\x02\xa0\x03d\x02\xa1\x01}\x03|\x03r&n\x1c|\x02r2|\x02j\x04}\x03n\x10|\x00\xa0\x05d\x03\xa1\x01I\x00d\x01H\x00S\x00|\x03D\x00]D}\x04|\x04\xa0\x06\xa1\x00r\x80t\x07d\x04d\x02\x83\x02r\x80|\x04\xa0\x08\xa1\x00rl|\x04\xa0\t\xa1\x00n\x06|\x04\xa0\n\xa1\x00}\x05|\x01\xa0\x0b|\x05\xa1\x01\x01\x00qF|\x01\xa0\x0b|\x04\xa1\x01\x01\x00qF|\x00\xa0\x05d\x05\xa0\x0c|\x01\xa1\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x06z\x1e Do it and find the real fun. Nr4\x00\x00\x00z\x19`gIvE sOMEtHInG tO MoCk!`r\x01\x00\x00\x00r@\x00\x00\x00)\rr\x88\x00\x00\x00r~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r\x92\x00\x00\x00r\x0b\x00\x00\x00\xda\x07islowerrv\x00\x00\x00r;\x00\x00\x00r\x8a\x00\x00\x00r\x8c\x00\x00\x00)\x06Z\x04mockr\x83\x00\x00\x00r\x81\x00\x00\x00r\x82\x00\x00\x00r\x8d\x00\x00\x00Z\x06to_appr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x0espongemocktext\xdf\x04\x00\x00s\x1c\x00\x00\x00\x00\x03\x06\x01\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x02\x08\x01\x12\x01\x18\x01\x0c\x02\x0c\x02r\xbd\x00\x00\x00z\x12^\\.weeb(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00s\x8a\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01}\x01|\x01s$|\x00\xa0\x02\xa1\x00I\x00d\x00H\x00}\x02|\x02j\x03}\x01|\x01s<|\x00\xa0\x04d\x02\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00d\x03\xa0\x05|\x01\xa1\x01\xa0\x06\xa1\x00}\x03|\x03D\x00]&}\x04|\x04t\x07k\x06rNt\x08t\x07\xa0\t|\x04\xa1\x01\x19\x00}\x05|\x03\xa0\n|\x04|\x05\xa1\x02}\x03qN|\x00\xa0\x04|\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr4\x00\x00\x00z&`What I am Supposed to Weebify U Dumb`z\x02 )\x0br9\x00\x00\x00r:\x00\x00\x00r~\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r\x8c\x00\x00\x00r;\x00\x00\x00\xda\nnormiefont\xda\tweebyfont\xda\x05indexr=\x00\x00\x00)\x06r\x1c\x00\x00\x00\xda\x04argsrg\x00\x00\x00Z\x06stringZ\x0fnormiecharacterZ\x0eweebycharacterr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x07weebify\xf6\x04\x00\x00s\x1a\x00\x00\x00\x00\x02\x0c\x01\x04\x01\x0e\x01\x06\x01\x04\x01\x10\x01\x04\x01\x0e\x01\x08\x01\x08\x01\x0e\x01\x0e\x01r\xc2\x00\x00\x00z\x12^\\.clap(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00sl\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00}\x01|\x00j\x01\xa0\x02d\x02\xa1\x01}\x02|\x02r n\x1c|\x01r,|\x01j\x03}\x02n\x10|\x00\xa0\x04d\x03\xa1\x01I\x00d\x01H\x00S\x00d\x04}\x03|\x03|\x02\xa0\x05d\x05d\x06\xa1\x027\x00}\x03|\x03d\x077\x00}\x03|\x00\xa0\x04|\x03\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x08z\x10 Praise people! Nr4\x00\x00\x00z `Hah, I don\'t clap pointlessly!`u\x05\x00\x00\x00\xf0\x9f\x91\x8f r\x13\x00\x00\x00u\x06\x00\x00\x00 \xf0\x9f\x91\x8f u\x05\x00\x00\x00 \xf0\x9f\x91\x8f)\x06r~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r=\x00\x00\x00)\x04Z\nmemereviewr\x81\x00\x00\x00r\x82\x00\x00\x00r\x83\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x08claptext\x07\x05\x00\x00s\x16\x00\x00\x00\x00\x03\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x01\x04\x01\x10\x01\x08\x01r\xc3\x00\x00\x00z\x06^\\.bt$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s(\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00r$|\x00j\x01r$|\x00\xa0\x02d\x02\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\x03z( Believe me, you will find this useful. NzX/BLUETEXT /MUST /CLICK.\n/ARE /YOU /A /STUPID /ANIMAL /WHICH /IS /ATTRACTED /TO /COLOURS?)\x03r~\x00\x00\x00Z\x08is_groupr<\x00\x00\x00)\x01Z\x04bt_er?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x08bluetext\x18\x05\x00\x00s\x08\x00\x00\x00\x00\x03\x14\x01\x04\x01\x02\xffr\xc4\x00\x00\x00z\t^\\.f (.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x0f\x00\x00\x00\xc3\x00\x00\x00sp\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01}\x01d\x02\xa0\x02|\x01d\x03\x14\x00|\x01d\x03\x14\x00|\x01d\x04\x14\x00|\x01d\x04\x14\x00|\x01d\x04\x14\x00|\x01d\x05\x14\x00|\x01d\x05\x14\x00|\x01d\x04\x14\x00|\x01d\x04\x14\x00|\x01d\x04\x14\x00|\x01d\x04\x14\x00|\x01d\x04\x14\x00\xa1\x0c}\x02|\x00\xa0\x03|\x02\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x06Nr4\x00\x00\x00z#{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\n{}\xe9\x08\x00\x00\x00r5\x00\x00\x00\xe9\x06\x00\x00\x00)\x04r9\x00\x00\x00r:\x00\x00\x00rQ\x00\x00\x00r<\x00\x00\x00)\x03rB\x00\x00\x00Z\x07paytextZ\x03payr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04payf!\x05\x00\x00s \x00\x00\x00\x00\x02\x0c\x01\x04\x01\x06\x00\x06\x00\x06\x00\x06\x00\x06\x01\x06\x00\x06\x00\x06\x00\x06\x00\x06\x01\x06\x00\x06\xfd\x04\x04r\xc7\x00\x00\x00z\x0b^\\.lfy (.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x07\x00\x00\x00\xc3\x00\x00\x00s\x8e\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x00H\x00}\x01|\x00j\x01\xa0\x02d\x01\xa1\x01}\x02|\x02r(t\x03|\x02\x83\x01}\x03n\x0e|\x01r6|\x01}\x03|\x03j\x04}\x03|\x03\xa0\x05d\x02d\x03\xa1\x02}\x04d\x04|\x04\x9b\x00\x9d\x02}\x05d\x05|\x05d\x06\x9c\x02}\x06t\x06j\x07d\x07|\x06d\x08\x8d\x02}\x07|\x00\xa0\x08d\t|\x03\x9b\x00d\n|\x07\xa0\t\xa1\x00d\x0b\x19\x00\x9b\x00d\x0c\x9d\x05\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\rNr4\x00\x00\x00r\x13\x00\x00\x00\xfa\x01+z\x1fhttp://lmgtfy.com/?s=g&iie=1&q=rh\x00\x00\x00)\x02rQ\x00\x00\x00Z\x03urlz\x17http://is.gd/create.php)\x01Z\x06paramsz\x1eHere you are, help yourself.\n[z\x02](Z\x08shorturlrK\x00\x00\x00)\nr~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00ru\x00\x00\x00r\x82\x00\x00\x00r=\x00\x00\x00rf\x00\x00\x00rg\x00\x00\x00r<\x00\x00\x00rh\x00\x00\x00)\x08Z\x08lmgtfy_qr\x81\x00\x00\x00Z\x03qryZ\x05queryZ\rquery_encodedZ\x07lfy_urlZ\x07payloadr)\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x1alet_me_google_that_for_you+\x05\x00\x00s\x18\x00\x00\x00\x00\x02\x0e\x01\x0c\x01\x04\x01\n\x01\x04\x01\x04\x01\x06\x01\x0c\x01\n\x01\n\x01\x0e\x01r\xc9\x00\x00\x00z\t^\\.sayhi$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s\x14\x00\x00\x00|\x00\xa0\x00d\x01\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x02Nu\xb9\x01\x00\x00\n\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x94\xb7\xf0\x9f\x92\xb0\n\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0\xf0\x9f\x92\xb0rw\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05sayhi<\x05\x00\x00s\x06\x00\x00\x00\x00\x02\x04\x01\x02\xffr\xca\x00\x00\x00z\x10.scam(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00\x00\x00\n\x00\x00\x00\xc3\x00\x00\x00sR\x01\x00\x00d\x01d\x02d\x03d\x04d\x05d\x06d\x07d\x08d\td\ng\n}\x01|\x00j\x00\xa0\x01d\x0b\xa1\x01}\x02|\x02\xa0\x02\xa1\x00}\x03t\x03|\x03\x83\x01d\x0ck\x02rLt\x04|\x01\x83\x01}\x04t\x05d\rd\x0e\x83\x02}\x05n\x94t\x03|\x03\x83\x01d\x0bk\x02r\xa2z\x1et\x06|\x03d\x0c\x19\x00\x83\x01\xa0\x07\xa1\x00}\x04t\x05d\rd\x0e\x83\x02}\x05W\x00q\xe0\x04\x00t\x08k\nr\x9e\x01\x00\x01\x00\x01\x00t\x04|\x01\x83\x01}\x04t\t|\x03d\x0c\x19\x00\x83\x01}\x05Y\x00q\xe0X\x00n>t\x03|\x03\x83\x01d\x0fk\x02r\xcct\x06|\x03d\x0c\x19\x00\x83\x01\xa0\x07\xa1\x00}\x04t\t|\x03d\x0b\x19\x00\x83\x01}\x05n\x14|\x00\xa0\nd\x10\xa1\x01I\x00d\x11H\x00\x01\x00d\x11S\x00zT|\x05d\x0ck\x04\x90\x01r2|\x00\xa0\x0b\xa1\x00I\x00d\x11H\x00\x01\x00|\x00j\x0c\xa0\r|\x00j\x0e|\x04\xa1\x024\x00I\x00d\x11H\x00\x9a\x14\x01\x00t\x0f|\x05\x83\x01I\x00d\x11H\x00\x01\x00W\x005\x00Q\x00I\x00d\x11H\x00R\x00X\x00W\x00n\x18\x04\x00t\x10k\n\x90\x01rL\x01\x00\x01\x00\x01\x00Y\x00d\x11S\x00X\x00d\x11S\x00)\x12z6 Just a small command to fake chat actions for fun !! Z\x06typingZ\x07contactZ\x04game\xda\x08locationZ\x05voice\xda\x05roundZ\x05videoZ\x05photoZ\x08documentZ\x06cancelr4\x00\x00\x00r\x01\x00\x00\x00\xe9\x1e\x00\x00\x00\xe9<\x00\x00\x00r5\x00\x00\x00z\x13`Invalid Syntax !!`N)\x11r9\x00\x00\x00r:\x00\x00\x00\xda\x05split\xda\x03lenr\t\x00\x00\x00r\x0b\x00\x00\x00ru\x00\x00\x00r;\x00\x00\x00\xda\nValueError\xda\x03intr<\x00\x00\x00ro\x00\x00\x00rl\x00\x00\x00Z\x06actionrm\x00\x00\x00r\x07\x00\x00\x00rF\x00\x00\x00)\x06rB\x00\x00\x00Z\x07optionsrC\x00\x00\x00r\xc1\x00\x00\x00Z\x0bscam_actionZ\tscam_timer?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04scamJ\x05\x00\x00sF\x00\x00\x00\x00\x04\x02\x00\x02\x00\x02\x00\x02\x00\x02\x00\x02\x00\x02\x01\x02\x00\x02\x00\x02\xfe\x04\x04\x0c\x01\x08\x01\x0c\x01\x08\x01\x0c\x01\x0c\x01\x02\x01\x10\x01\x0e\x01\x0e\x01\x08\x01\x14\x01\x0c\x01\x10\x01\x0e\x02\x10\x01\x04\x01\x02\x01\n\x01\x0e\x01\x1a\x01"\x01\x10\x01r\xd3\x00\x00\x00z\x10.type(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\xc8\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00}\x01|\x00j\x01\xa0\x02d\x02\xa1\x01}\x02|\x02r n\x1c|\x01r,|\x01j\x03}\x02n\x10|\x00\xa0\x04d\x03\xa1\x01I\x00d\x01H\x00S\x00d\x04}\x03d\x05}\x04d\x06}\x05|\x00\xa0\x04|\x04\xa1\x01I\x00d\x01H\x00\x01\x00t\x05|\x03\x83\x01I\x00d\x01H\x00\x01\x00|\x02D\x00]X}\x06|\x05d\x06\x17\x00|\x06\x17\x00}\x05|\x05d\x06\x17\x00|\x04\x17\x00}\x07|\x00\xa0\x04|\x07\xa1\x01I\x00d\x01H\x00\x01\x00t\x05|\x03\x83\x01I\x00d\x01H\x00\x01\x00|\x00\xa0\x04|\x05\xa1\x01I\x00d\x01H\x00\x01\x00t\x05|\x03\x83\x01I\x00d\x01H\x00\x01\x00qjd\x01S\x00)\x07zA Just a small command to make your keyboard become a typewriter! Nr4\x00\x00\x00z\x16`Give a text to type!`g\xb8\x1e\x85\xebQ\xb8\x9e?\xfa\x01|r@\x00\x00\x00)\x06r~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r\x07\x00\x00\x00)\x08Z\x05typewr\x81\x00\x00\x00r\x82\x00\x00\x00Z\nsleep_timeZ\rtyping_symbolZ\x08old_textZ\tcharacterZ\x0btyping_textr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\ntypewriterl\x05\x00\x00s&\x00\x00\x00\x00\x03\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x01\x04\x01\x04\x01\x04\x01\x10\x01\x0e\x01\x08\x01\x0c\x01\x0c\x01\x10\x01\x0e\x01\x10\x01r\xd5\x00\x00\x00z\t^\\.leave$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00\xa9\x04\xfa\x01/\xfa\x01#\xfa\x01@\xfa\x01!z!`You must Leaving dis Group kek!`\xa9\x03r>\x00\x00\x00r\x92\x00\x00\x00r<\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x05leave\x84\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xdc\x00\x00\x00z\x08^\\.fail$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\xd0\x00\x00\x00`\n\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84 ``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x8c\xe2\x96\x84\xe2\x96\x8c\xe2\x96\x84\xe2\x96\x90\xe2\x96\x90\xe2\x96\x8c\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x8c\xe2\x96\x84\xe2\x96\x8c\xe2\x96\x84\xe2\x96\x90\xe2\x96\x90\xe2\x96\x8c\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88 ``\n\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80 `r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04fail\x8a\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xdd\x00\x00\x00z\x07^\\.lol$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\xdc\x00\x00\x00`\n\xe2\x95\xb1\xe2\x94\x8f\xe2\x94\x93\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xae\xe2\x94\x8f\xe2\x94\x93\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1 ``\n\xe2\x95\xb1\xe2\x94\x83\xe2\x94\x83\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1\xe2\x94\x83\xe2\x95\xad\xe2\x94\x81\xe2\x95\xae\xe2\x94\x83\xe2\x94\x83\xe2\x94\x83\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1 ``\n\xe2\x95\xb1\xe2\x94\x83\xe2\x94\x97\xe2\x94\x81\xe2\x94\x81\xe2\x94\x93\xe2\x94\x83\xe2\x95\xb0\xe2\x94\x81\xe2\x95\xaf\xe2\x94\x83\xe2\x94\x83\xe2\x94\x97\xe2\x94\x81\xe2\x94\x81\xe2\x94\x93\xe2\x95\xb1 ``\n\xe2\x95\xb1\xe2\x94\x97\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x9b\xe2\x95\xb0\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xaf\xe2\x94\x97\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x9b\xe2\x95\xb1 `r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03lol\x93\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xde\x00\x00\x00z\x08^\\.lool$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00us\x01\x00\x00`\n\xe2\x95\xad\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xae\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x83\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x95\xaf\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x96\x95\xe2\x95\xb2\xe2\x96\x82\xe2\x96\x82\xe2\x95\xb1\xe2\x96\x8f\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x83\xe2\x94\x83\xe2\x95\xb1\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x96\x8f\xe2\x95\xb1\xe2\x96\x8b\xe2\x96\x8b\xe2\x95\xae\xe2\x94\x88``\n\xe2\x94\x88\xe2\x94\x83\xe2\x95\xb0\xe2\x96\x8f\xe2\x94\x83\xe2\x95\xb1\xe2\x95\xad\xe2\x95\xae\xe2\x94\x83\xe2\x95\xb1\xe2\x95\xb1\xe2\x96\x8f\xe2\x95\xb1\xe2\x95\xb1\xe2\x96\x86\xe2\x94\x83\xe2\x94\x88\n\xe2\x94\x88\xe2\x95\xb0\xe2\x94\x81\xe2\x96\x8f\xe2\x94\x97\xe2\x94\x81\xe2\x95\xb0\xe2\x95\xaf\xe2\x94\x97\xe2\x94\x81\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb1\xe2\x95\xb0\xe2\x94\xbb\xe2\x94\xab\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x96\x8f\xe2\x94\x8f\xe2\x94\xb3\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x96\x8f\xe2\x94\x8f\xe2\x94\xb3\xe2\x94\x81\xe2\x94\x81\xe2\x95\xaf\xe2\x94\x88``\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x96\x8f\xe2\x94\x83\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x96\x8f\xe2\x94\x83\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88 `r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04lool\x9d\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xdf\x00\x00\x00z\x08^\\.stfu$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\x8d\x03\x00\x00`\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\x84\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88`r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04stfu\xa5\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe0\x00\x00\x00z\x08^\\.gtfo$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00ui\x03\x00\x00`\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x80\xe2\x96\x80\xe2\x96\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x94\x80\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x84\xe2\x96\x88 ``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88 `r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04gtfo\xb3\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe1\x00\x00\x00z\x07^\\.nih$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00un\x00\x00\x00`\n(\\_/)``\n(\xe2\x97\x8f_\xe2\x97\x8f)``\n />\xf0\x9f\x8c\xb9 *ini buat kamu``\n ``\n(\\_/)``\n(\xe2\x97\x8f_\xe2\x97\x8f)``\n\xf0\x9f\x8c\xb9<\\ *tapi boong`r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03nih\xc1\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe2\x00\x00\x00z\x07^\\.fag$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\xb1\x00\x00\x00`\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\x84\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x84\xe2\x96\x88``\n\xe2\x96\x88\xe2\x96\xbc\xe2\x96\xbc\xe2\x96\xbc\xe2\x96\xbc\xe2\x96\xbc``\n\xe2\x96\x88 STFU FAGGOT\'S``\n\xe2\x96\x88\xe2\x96\xb2\xe2\x96\xb2\xe2\x96\xb2\xe2\x96\xb2\xe2\x96\xb2``\n\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88\xe2\x96\x88``\n \xe2\x96\x88\xe2\x96\x88 \xe2\x96\x88\xe2\x96\x88`r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\xe1\x00\x00\x00\xcd\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01z\x08^\\.taco$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u%\x00\x00\x00\n{\\__/}\n(\xe2\x97\x8f_\xe2\x97\x8f)\n( >\xf0\x9f\x8c\xae Want a tai?r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x04taco\xd9\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe3\x00\x00\x00z\x07^\\.paw$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\r\x00\x00\x00`(=\xe2\x86\x80\xcf\x89\xe2\x86\x80=)r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03paw\xe1\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe4\x00\x00\x00z\x06^\\.tf$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u"\x00\x00\x00(\xcc\xbf\xe2\x96\x80\xcc\xbf\xe2\x80\x89\xcc\xbf\xc4\xb9\xcc\xaf\xcc\xbf\xcc\xbf\xe2\x96\x80\xcc\xbf \xcc\xbf)\xcc\x84 r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x02tf\xe7\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe5\x00\x00\x00z\x07^\\.gey$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00uu\x01\x00\x00`\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88``\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83\xe2\x94\x8a\xe2\x94\x8a\xe2\x95\xad\xe2\x94\x81\xe2\x95\xae\xe2\x94\xbb\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x95\xb1\xe2\x95\xb2\xe2\x94\x8a\xe2\x94\x83\xe2\x96\x8b\xe2\x94\x83\xe2\x96\x8b\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x95\xad\xe2\x94\xbb\xe2\x94\x8a\xe2\x94\x8a\xe2\x95\xb0\xe2\x94\x81\xe2\x94\xbb\xe2\x94\x81\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88``\n\xe2\x94\x88\xe2\x94\x88\xe2\x95\xb0\xe2\x94\xb3\xe2\x94\x8a\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\xb3\xe2\x95\xaf\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83\xe2\x94\x8a\xe2\x94\x83\xe2\x95\xb0\xe2\x94\x81\xe2\x94\x81\xe2\x94\xab\xe2\x94\x88NIGGA U GEY`\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x8f\xe2\x94\x81\xe2\x94\x93\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03gey\xed\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe6\x00\x00\x00z\x07^\\.gay$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00uu\x01\x00\x00`\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x8a\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88``\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83\xe2\x94\x8a\xe2\x94\x8a\xe2\x95\xad\xe2\x94\x81\xe2\x95\xae\xe2\x94\xbb\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x95\xb1\xe2\x95\xb2\xe2\x94\x8a\xe2\x94\x83\xe2\x96\x8b\xe2\x94\x83\xe2\x96\x8b\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x95\xad\xe2\x94\xbb\xe2\x94\x8a\xe2\x94\x8a\xe2\x95\xb0\xe2\x94\x81\xe2\x94\xbb\xe2\x94\x81\xe2\x95\xae\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88``\n\xe2\x94\x88\xe2\x94\x88\xe2\x95\xb0\xe2\x94\xb3\xe2\x94\x8a\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\xb3\xe2\x95\xaf\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83\xe2\x94\x8a\xe2\x94\x83\xe2\x95\xb0\xe2\x94\x81\xe2\x94\x81\xe2\x94\xab\xe2\x94\x88BAPAQ U GAY`\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x8f\xe2\x94\x81\xe2\x94\x93\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\xe6\x00\x00\x00\xf6\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01z\x07^\\.bot$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\xb0\x00\x00\x00` \n \xe2\x95\xb2\xe2\x95\xb2\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xae \n\xe2\x95\xad\xe2\x95\xae\xe2\x94\x83\xe2\x96\x86\xe2\x94\x88\xe2\x94\x88\xe2\x96\x86\xe2\x94\x83\xe2\x95\xad\xe2\x95\xae \n\xe2\x94\x83\xe2\x95\xb0\xe2\x94\xab\xe2\x96\xbd\xe2\x96\xbd\xe2\x96\xbd\xe2\x94\xa3\xe2\x95\xaf\xe2\x94\x83 \n\xe2\x95\xb0\xe2\x94\x81\xe2\x94\xab\xe2\x96\xb3\xe2\x96\xb3\xe2\x96\xb3\xe2\x94\xa3\xe2\x94\x81\xe2\x95\xaf``\n\xe2\x95\xb2\xe2\x95\xb2\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x83 \n\xe2\x95\xb2\xe2\x95\xb2\xe2\x94\x83\xe2\x94\x88\xe2\x94\x8f\xe2\x94\x93\xe2\x94\x88\xe2\x94\x83 `r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\x0f\x00\x00\x00\xff\x05\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\x0f\x00\x00\x00z\x07^\\.hey$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u%\x01\x00\x00\n\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x95\xb1\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x96\x94\xe2\x95\xb2\xe2\x94\x88\xe2\x95\xad\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\n\xe2\x94\x88\xe2\x94\x88\xe2\x96\x95\xe2\x96\x82\xe2\x96\x82\xe2\x96\x82\xe2\x96\x82\xe2\x96\x82\xe2\x96\x82\xe2\x96\x8f\xe2\x94\x83HEY!\xe2\x94\x8a\xf0\x9f\x98\x80``\n\xe2\x94\x88\xe2\x94\x88\xe2\x96\x95\xe2\x96\x94\xe2\x96\x87\xe2\x96\x94\xe2\x96\x94\xe2\x94\xb3\xe2\x96\x94\xe2\x96\x8f\xe2\x95\xb0\xe2\x94\xb3\xe2\x95\xaeHEY!\xe2\x94\x8a\n\xe2\x94\x88\xe2\x94\x88\xe2\x96\x95\xe2\x95\xad\xe2\x94\x81\xe2\x95\xb0\xe2\x95\xaf\xe2\x94\x81\xe2\x95\xae\xe2\x96\x8f\xe2\x94\x81\xe2\x95\xaf\xe2\x95\xb0\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\n\xe2\x95\xb1\xe2\x96\x94\xe2\x96\x94\xe2\x96\x8f\xe2\x96\x85\xe2\x96\x85\xe2\x96\x85\xe2\x96\x85\xe2\x96\x95\xe2\x96\x94\xe2\x96\x94\xe2\x95\xb2\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88``\n\xe2\x96\x8f\xe2\x94\x88\xe2\x94\x88\xe2\x95\xb2\xe2\x96\x82\xe2\x96\x82\xe2\x96\x82\xe2\x96\x82\xe2\x95\xb1\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88\xe2\x96\x8f\xe2\x94\x88\xe2\x94\x88\xe2\x94\x88`r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03hey\x06\x06\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe7\x00\x00\x00z\x07^\\.nou$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x00\xc3\x00\x00\x00s0\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s,|\x00j\x00d\x01\x19\x00d\x02k\x07r,|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x04Nr\x01\x00\x00\x00r\xd6\x00\x00\x00u\xc1\x00\x00\x00`\n\xe2\x94\x88\xe2\x95\xad\xe2\x95\xae\xe2\x95\xad\xe2\x95\xae\n\xe2\x94\x88\xe2\x94\x83\xe2\x94\x83\xe2\x94\x83\xe2\x94\x83\n\xe2\x95\xad\xe2\x94\xbb\xe2\x94\x97\xe2\x94\xbb\xe2\x94\x97\xe2\x95\xae``\n\xe2\x94\x83\xe2\x94\x88\xe2\x96\x8b\xe2\x94\x88\xe2\x96\x8b\xe2\x94\x83\n\xe2\x94\x83\xe2\x94\x88\xe2\x95\xad\xe2\x96\x8b\xe2\x94\x81\xe2\x95\xae\xe2\x94\x81\xe2\x95\xae\n\xe2\x94\x83\xe2\x94\x88\xe2\x94\x88\xe2\x95\xad\xe2\x95\xb0\xe2\x95\xaf\xe2\x95\xb0\xe2\x95\xaf\xe2\x95\xae``\n\xe2\x94\xab\xe2\x94\x88\xe2\x94\x88 NoU\n\xe2\x94\x83\xe2\x94\x88\xe2\x95\xb0\xe2\x95\xb0\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x94\x81\xe2\x95\xaf``\n\xe2\x94\x97\xe2\x94\x81\xe2\x94\x81\xe2\x94\xbb\xe2\x94\x81\xe2\x94\x9b`r\xdb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03nou\x0e\x06\x00\x00s\x04\x00\x00\x00\x00\x02\x1c\x01r\xe8\x00\x00\x00z\x11^\\.iwi(?: |$)(.*)c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x05\x00\x00\x00\xc3\x00\x00\x00s\x90\x00\x00\x00|\x00\xa0\x00\xa1\x00I\x00d\x01H\x00}\x01|\x00j\x01\xa0\x02d\x02\xa1\x01}\x02|\x02r n |\x01r,|\x01j\x03}\x02n\x14|\x00\xa0\x04d\x03\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00t\x05d\x04d\x05|\x02\x83\x03}\x03t\x05d\x06d\x07|\x03\x83\x03}\x03t\x05d\x08d\tt\x06t\x07\x83\x01\x17\x00|\x03\x83\x03}\x03|\x03d\tt\x06t\x07\x83\x01\x17\x007\x00}\x03|\x00\xa0\x04|\x03\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00)\nz\x05 IwI Nr4\x00\x00\x00z\x16` IwI no text given! `z\x0b(a|i|u|e|o)r \x00\x00\x00z\x0b(A|I|U|E|O)\xda\x01Ir\x9b\x00\x00\x00r\x13\x00\x00\x00)\x08r~\x00\x00\x00r9\x00\x00\x00r:\x00\x00\x00r>\x00\x00\x00r<\x00\x00\x00r\x05\x00\x00\x00r\t\x00\x00\x00\xda\x04IWIS)\x04Z\x05siwisr\x81\x00\x00\x00r\x82\x00\x00\x00r\x83\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\x9d\x00\x00\x00\x17\x06\x00\x00s\x1a\x00\x00\x00\x00\x03\x0e\x01\x0c\x01\x04\x01\x02\x01\x04\x01\x08\x02\x10\x01\x04\x02\x0c\x01\x0c\x01\x14\x01\x10\x01z\x06^.koc$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00sh\x01\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00\x90\x01sd|\x00j\x00d\x01\x19\x00d\x02k\x07\x90\x01rd|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x04\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x05\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x06\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x05\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x04\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x04\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x05\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x06\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x05\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x04\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x04\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x05\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x06\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x07\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x08\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\t\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02t\x03t\x04\x83\x01\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\nNr\x01\x00\x00\x00r\xd6\x00\x00\x00u\x08\x00\x00\x008\xe2\x9c\x8a===Du\x08\x00\x00\x008=\xe2\x9c\x8a==Du\x08\x00\x00\x008==\xe2\x9c\x8a=Du\x08\x00\x00\x008===\xe2\x9c\x8aDu\x0c\x00\x00\x008===\xe2\x9c\x8aD\xf0\x9f\x92\xa6u\x0e\x00\x00\x008====D\xf0\x9f\x92\xa6\xf0\x9f\x92\xa6Z\x0fcrooottssssssss\xa9\x05r>\x00\x00\x00r\x92\x00\x00\x00r<\x00\x00\x00r\t\x00\x00\x00r\x9e\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03koc+\x06\x00\x00s*\x00\x00\x00\x00\x02 \x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01r\xec\x00\x00\x00z\x06^.gas$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\xc4\x00\x00\x00|\x00j\x00d\x01\x19\x00\xa0\x01\xa1\x00s\xc0|\x00j\x00d\x01\x19\x00d\x02k\x07r\xc0|\x00\xa0\x02d\x03\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x04\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x05\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x06\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x07\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x08\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\t\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\n\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02d\x0b\xa1\x01I\x00d\x00H\x00\x01\x00|\x00\xa0\x02t\x03t\x04\x83\x01\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x0cNr\x01\x00\x00\x00r\xd6\x00\x00\x00u\x17\x00\x00\x00___________________\xf0\x9f\x9a\x91u\x17\x00\x00\x00________________\xf0\x9f\x9a\x91___u\x17\x00\x00\x00______________\xf0\x9f\x9a\x91_____u\x17\x00\x00\x00___________\xf0\x9f\x9a\x91________u\x17\x00\x00\x00________\xf0\x9f\x9a\x91___________u\x17\x00\x00\x00_____\xf0\x9f\x9a\x91______________u\x17\x00\x00\x00__\xf0\x9f\x9a\x91_________________u\x17\x00\x00\x00\xf0\x9f\x9a\x91___________________Z\x15_____________________r\xeb\x00\x00\x00rx\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x03gasD\x06\x00\x00s\x16\x00\x00\x00\x00\x02\x1c\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01\x10\x01r\xed\x00\x00\x00c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s\x18\x00\x00\x00|\x00\xa0\x00t\x01t\x02\x83\x01\xa1\x01I\x00d\x01H\x00\x01\x00d\x01S\x00r\xa0\x00\x00\x00r\xa1\x00\x00\x00r\xa3\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00r\xa4\x00\x00\x00S\x06\x00\x00s\x02\x00\x00\x00\x00\x03z\x18^\\.(?:penis|dick)\\s?(.)?c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s4\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01}\x01t\x02}\x02|\x01r |\x02\xa0\x03d\x02|\x01\xa1\x02}\x02|\x00\xa0\x04|\x02\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00)\x03Nr4\x00\x00\x00u\x04\x00\x00\x00\xf0\x9f\x98\x8b)\x05r9\x00\x00\x00r:\x00\x00\x00\xda\x0cGAMBAR_TITITr=\x00\x00\x00r<\x00\x00\x00)\x03r\x1c\x00\x00\x00\xda\x05emojiZ\x05titidr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x0bemoji_penisY\x06\x00\x00s\n\x00\x00\x00\x00\x02\x0c\x01\x04\x01\x04\x01\x0c\x01r\xf0\x00\x00\x00z\x17^\\.(?:kon|kontl)\\s?(.)?c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s4\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01}\x01t\x02}\x02|\x01r |\x02\xa0\x03d\x02|\x01\xa1\x02}\x02|\x00\xa0\x04|\x02\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00\xa9\x03Nr4\x00\x00\x00r\x14\x00\x00\x00)\x05r9\x00\x00\x00r:\x00\x00\x00\xda\x0cGAMBAR_KONTLr=\x00\x00\x00r<\x00\x00\x00)\x03r\x1c\x00\x00\x00r\xef\x00\x00\x00Z\x05kontlr?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x0bemoji_kontlb\x06\x00\x00s\n\x00\x00\x00\x00\x02\x0c\x01\x04\x01\x04\x01\x0c\x01r\xf3\x00\x00\x00z\x07^\\.gan$c\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\xc3\x00\x00\x00s4\x00\x00\x00|\x00j\x00\xa0\x01d\x01\xa1\x01}\x01t\x02}\x02|\x01r |\x02\xa0\x03d\x02|\x01\xa1\x02}\x02|\x00\xa0\x04|\x02\xa1\x01I\x00d\x00H\x00\x01\x00d\x00S\x00r\xf1\x00\x00\x00)\x05r9\x00\x00\x00r:\x00\x00\x00\xda\tHUMAN_GANr=\x00\x00\x00r<\x00\x00\x00)\x03r\x1c\x00\x00\x00r\xef\x00\x00\x00Z\x03tair?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\temoji_ganj\x06\x00\x00s\n\x00\x00\x00\x00\x02\x0c\x01\x04\x01\x04\x01\x0c\x01r\xf5\x00\x00\x00Z\x05memesu\xda\x06\x00\x00>`.cowsay`\nUsage: cow which says things.\n\n>`.cp`\nUsage: Copypasta the famous meme\n\n>`.vapor`\nUsage: Vaporize everything!\n\n>`.str`\nUsage: Stretch it.\n\n>`.10iq`\nUsage: You retard !!\n\n>`.zal`\nUsage: Invoke the feeling of chaos.\n\n>`Oem`\nUsage: Oeeeem\n\n>`.fp`\nUsage: Facepalm :P\n\n>`.moon`\nUsage: kensar moon animation.\n\n>`.clock`\nUsage: kensar clock animation.\n\n>`.hi`\nUsage: Greet everyone!\n\n>`.coinflip <heads/tails>`\nUsage: Flip a coin !!\n\n>`.owo`\nUsage: UwU\n\n>`.react`\nUsage: Make your userbot react to everything.\n\n>`.slap` <id/jutsu>\nUsage: reply to slap them with random objects !!\n\n>`.cry`\nUsage: y u du dis, i cri.\n\n>`.shg`\nUsage: Shrug at it !!\n\n>`.run`\nUsage: Let Me Run, run, RUNNN!\n\n>`.chase`\nUsage: You better start running\n\n>`.metoo`\nUsage: Haha yes\n\n>`.mock`\nUsage: Do it and find the real fun.\n\n>`.clap`\nUsage: Praise people!\n\n>`.boobs`\nUsage: Get b00bs imej\n\n>`.butts`\nUsage: Get \xf0\x9f\x85\xb1\xef\xb8\x8futts imej\n\n>`.f <emoji/character>`\nUsage: Pay Respects.\n\n>`.bt`\nUsage: Believe me, you will find this useful.\n\n>`.weeb`\nUsage: To Weeb-ify your text.\n\n>`.type`\nUsage: Just a small command to make your keyboard become a typewriter!\n\n>`.lfy <query>`\nUsage: Let me Google that for you real quick !!\n\n>`.decide [Alternates: (.yes, .no, .maybe)]`\nUsage: Make a quick decision.\n\n>`.scam <action> <time>`\n[Available Actions: (typing, contact, game, location, voice, round, video, photo, document, cancel)]\nUsage: Create fake chat actions, for fun. (Default action: typing)\n\nAnd many more`\n>.nou ; .bot ; .gey ; .tf ; .paw ; .taco ; .nih ;``\n>.fag ; .gtfo ; .stfu ; .lol ; .lool ; .fail ; .leave``\n>.iwi ; .sayhi` ; .koc` ; .gas` ; .earth` ; .love` ; .rain` ; .penis` ; .emo` ; .fuck`\n\n\nThanks to \xf0\x9f\x85\xb1\xef\xb8\x8fottom\xf0\x9f\x85\xb1\xef\xb8\x8fext\xf0\x9f\x85\xb1\xef\xb8\x8fot (@NotAMemeBot) for some of these.)\x7f\xda\x07__doc__\xda\x04timeZ\x08datetimeZ\x08telethonr\x02\x00\x00\x00\xda\x02iorj\x00\x00\x00ri\x00\x00\x00Z\x0eurllib.requestr\x03\x00\x00\x00rf\x00\x00\x00Z\x03bs4r\x04\x00\x00\x00\xda\x02rer\x05\x00\x00\x00Z\x05cowpyr\x06\x00\x00\x00Z\x07asyncior\x07\x00\x00\x00Z\x0bcollectionsr\x08\x00\x00\x00Z\x06randomr\t\x00\x00\x00r\n\x00\x00\x00r\x0b\x00\x00\x00Z\x11telethon.tl.typesr\x0c\x00\x00\x00Z\x03PILr\r\x00\x00\x00Z\x1dtelethon.tl.functions.accountr\x0e\x00\x00\x00Z\x07userbotr\x0f\x00\x00\x00r\x10\x00\x00\x00Z\x0euserbot.eventsr\x11\x00\x00\x00Z\x15userbot.modules.adminr\x12\x00\x00\x00r\xaa\x00\x00\x00r\x95\x00\x00\x00r\x7f\x00\x00\x00r|\x00\x00\x00r\x9c\x00\x00\x00r\xea\x00\x00\x00r\x9e\x00\x00\x00r\xa7\x00\x00\x00r\xa5\x00\x00\x00r\x98\x00\x00\x00r\xa2\x00\x00\x00rz\x00\x00\x00rR\x00\x00\x00rS\x00\x00\x00rU\x00\x00\x00rT\x00\x00\x00rV\x00\x00\x00rW\x00\x00\x00rX\x00\x00\x00rZ\x00\x00\x00rY\x00\x00\x00r[\x00\x00\x00r\\\x00\x00\x00r]\x00\x00\x00r_\x00\x00\x00r^\x00\x00\x00r\xee\x00\x00\x00r\xf2\x00\x00\x00r\xf4\x00\x00\x00r`\x00\x00\x00r\xbe\x00\x00\x00r\xbf\x00\x00\x00rA\x00\x00\x00rD\x00\x00\x00rI\x00\x00\x00rE\x00\x00\x00rq\x00\x00\x00rr\x00\x00\x00rs\x00\x00\x00ry\x00\x00\x00r{\x00\x00\x00r}\x00\x00\x00r\x84\x00\x00\x00r\x8e\x00\x00\x00r\x91\x00\x00\x00r\x97\x00\x00\x00r\x99\x00\x00\x00r\x9d\x00\x00\x00r\x9f\x00\x00\x00r\xa4\x00\x00\x00r\xa6\x00\x00\x00r\xa9\x00\x00\x00r\xab\x00\x00\x00r\xb2\x00\x00\x00r\xad\x00\x00\x00r\xb3\x00\x00\x00r\xb7\x00\x00\x00r\xb8\x00\x00\x00r\xb9\x00\x00\x00r\xba\x00\x00\x00r\xbb\x00\x00\x00r\xbd\x00\x00\x00r\xc2\x00\x00\x00r\xc3\x00\x00\x00r\xc4\x00\x00\x00r\xc7\x00\x00\x00r\xc9\x00\x00\x00r\xca\x00\x00\x00r\xd3\x00\x00\x00r\xd5\x00\x00\x00r\xdc\x00\x00\x00r\xdd\x00\x00\x00r\xde\x00\x00\x00r\xdf\x00\x00\x00r\xe0\x00\x00\x00r\xe1\x00\x00\x00r\xe2\x00\x00\x00r\xe3\x00\x00\x00r\xe4\x00\x00\x00r\xe5\x00\x00\x00r\xe6\x00\x00\x00r\xe7\x00\x00\x00r\xe8\x00\x00\x00r\xec\x00\x00\x00r\xed\x00\x00\x00r\xf0\x00\x00\x00r\xf3\x00\x00\x00r\xf5\x00\x00\x00\xda\x06updater?\x00\x00\x00r?\x00\x00\x00r?\x00\x00\x00r@\x00\x00\x00\xda\x08<module>\x05\x00\x00\x00s\x8e\x06\x00\x00\x04\x02\x08\x01\x08\x01\x0c\x01\x08\x01\x08\x01\x08\x01\x0c\x01\x08\x01\x0c\x01\x08\x01\x0c\x01\x0c\x01\x0c\x01\x0c\x01\x14\x01\x0c\x01\x0c\x01\x0c\x02\x10\x01\x0c\x01\x0c\x04\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xf9\x04\x0b\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xd8\x02+\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xd2\x021\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xeb\x02\xa6\x04s\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xe4\x04 \x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xc2\x04B\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xf0\x04\x14\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xe9\x04\x1b\x02\x01\x02\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x02\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x9d\x04g\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xed\x04\x17\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x02\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xcf\x045\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xed\x04\x17\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\x01\x02\xe9\x04\x1b\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xe2\x04"\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x00\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x02\x04\x00\x04\x01\x04\x00\x04\x01\x04\x01\x04\x00\x04\x01\x04\x01\x04\x01\x04\x00\x04\x01\x04\x01\x04\x01\x04\xe2\x04"\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xdc\x04(\x04\x01\x04\x01\x04\x01\x04\xfc\x04\x08\x04\x01\x04\x01\x04\x01\x04\x01\x04\xfb\x04\x08\x14\x04\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xed\x04\x17\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\x01\x04\xd0\x044\x04\x01\x04\xfe\x04\x06\x04\x01\x04\x01\x04\xfd\x04\x06\x14\x04\x04\x01\x04\x01\x04\x01\x04\xfc\x04\x08\x04\x01\x04\xfe\x04\x06\x04\x01\x04\xfe\x04\x06\x04\x01\x04\xfe\x04\x05\x06\x12\x06\x11\x06\x0f\x14\x02T\x01\x04\x00\x04\x00\x04\x00\x04\x00\x04\xff\x04\x03T\x01\x04\x00\x04\x00\x04\x00\x04\x00\x04\xff\x04\x06\x10\x01\x0e\x0f\x10\x01\x0e\x1b\x10\x01\x0e\x12\x0c*\x10\x01\x0e\x0c\x10\x01\x0e\x0c\x10\x01\x0e\x0e\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e \x10\x01\x0e\x17\x10\x01\x0e\x12\x10\x01\x0e%\x10\x01\x0e\x05\x10\x01\x0e\x15\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e\x07\x10\x01\x0e\x07\x10\x01\x0e\x03\x10\x01\x0e\x04\x10\x01\x0e\x0c\x10\x01\x0e\x0b\x10\x01\x0e\x0b\x10\x01\x0e\x0b\x10\x01\x0e\x0b\x10\x01\x0e\x0b\x10\x01\x0e\x16\x10\x01\x0e\x10\x10\x01\x0e\x10\x10\x01\x0e\x08\x10\x01\x0e\t\x10\x01\x0e\x10\x10\x01\x0e\r\x10\x01\x0e!\x10\x01\x0e\x17\x10\x01\x0e\x05\x10\x01\x0e\x08\x10\x01\x0e\t\x10\x01\x0e\x07\x10\x01\x0e\r\x10\x01\x0e\r\x10\x01\x0e\x0b\x10\x01\x0e\x0b\x10\x01\x0e\x07\x10\x01\x0e\x05\x10\x01\x0e\x05\x10\x01\x0e\x08\x10\x01\x0e\x08\x10\x01\x0e\x06\x10\x01\x0e\x07\x10\x01\x0e\x08\x10\x01\x0e\x13\x10\x01\x0e\x18\x10\x01\x0e\x0e\x10\x01\x0e\x05\x10\x01\x0e\x08\x10\x01\x0e\x07\x10\x01\x0e\t\x04\x01\x04\x01\x04\xfe'))
| 31,604 | 126,356 | 0.747097 | 28,619 | 126,416 | 3.289877 | 0.08138 | 0.189075 | 0.133442 | 0.076981 | 0.677026 | 0.616358 | 0.58013 | 0.540609 | 0.512591 | 0.492241 | 0 | 0.336833 | 0.018368 | 126,416 | 3 | 126,357 | 42,138.666667 | 0.421801 | 0.000332 | 0 | 0 | 0 | 9 | 0.503889 | 0.436549 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 12 |
3e3de6291e8fc2ba580937d2f5175f34c11980c3 | 21,396 | py | Python | src/genie/libs/parser/iosxe/tests/ShowIpBgpAllDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 204 | 2018-06-27T00:55:27.000Z | 2022-03-06T21:12:18.000Z | src/genie/libs/parser/iosxe/tests/ShowIpBgpAllDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 468 | 2018-06-19T00:33:18.000Z | 2022-03-31T23:23:35.000Z | src/genie/libs/parser/iosxe/tests/ShowIpBgpAllDetail/cli/equal/golden_output1_expected.py | balmasea/genieparser | d1e71a96dfb081e0a8591707b9d4872decd5d9d3 | [
"Apache-2.0"
] | 309 | 2019-01-16T20:21:07.000Z | 2022-03-30T12:56:41.000Z | expected_output = {
"instance": {
"default": {
"vrf": {
"VRF100": {
"address_family": {
"vpnv4 unicast RD 65000:100": {
"default_vrf": "VRF100",
"prefixes": {
"192.168.111.0/24": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"ext_community": "RT:65000:100",
"gateway": "0.0.0.0",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "28",
"out": "nolabel",
},
"next_hop": "172.16.111.2",
"next_hop_via": "vrf VRF100",
"origin_codes": "?",
"originator": "10.5.5.5",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"weight": "32768",
}
},
"paths": "1 available, best #1, table VRF100",
"table_version": "2",
},
"192.168.112.0/24": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"ext_community": "RT:65000:100",
"gateway": "172.17.111.2",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "29",
"out": "nolabel",
},
"next_hop": "172.17.111.2",
"next_hop_via": "vrf VRF100",
"origin_codes": "i",
"originator": "172.16.1.209",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "65001",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 3,
}
},
"paths": "1 available, best #1, table VRF100",
"table_version": "3",
},
"192.168.121.0/24": {
"available_path": "2",
"best_path": "2",
"index": {
1: {
"cluster_list": "10.2.2.2",
"ext_community": "RT:65000:100",
"gateway": "10.2.2.2",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "28",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "?",
"originator": "10.2.2.2",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "* i",
"transfer_pathid": "0",
"update_group": 1,
},
2: {
"cluster_list": "10.1.1.1",
"ext_community": "RT:65000:100",
"gateway": "10.1.1.1",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "28",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 1,
},
},
"paths": "2 available, best #2, table VRF100",
"table_version": "10",
},
"192.168.122.0/24": {
"available_path": "2",
"best_path": "2",
"index": {
1: {
"cluster_list": "10.2.2.2",
"ext_community": "RT:65000:100",
"gateway": "10.2.2.2",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "30",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "i",
"originator": "10.2.2.2",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "65001",
"status_codes": "* i",
"transfer_pathid": "0",
"update_group": 1,
},
2: {
"cluster_list": "10.1.1.1",
"ext_community": "RT:65000:100",
"gateway": "10.1.1.1",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "30",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "i",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "65001",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 1,
},
},
"paths": "2 available, best #2, table VRF100",
"table_version": "11",
},
},
"route_distinguisher": "65000:100",
}
}
},
"VRF200": {
"address_family": {
"vpnv4 unicast RD 65000:200": {
"default_vrf": "VRF200",
"prefixes": {
"192.168.211.0/24": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"ext_community": "RT:65000:200",
"gateway": "0.0.0.0",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "30",
"out": "nolabel",
},
"next_hop": "172.16.211.2",
"next_hop_via": "vrf VRF200",
"origin_codes": "?",
"originator": "10.5.5.5",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"weight": "32768",
}
},
"paths": "1 available, best #1, table VRF200",
"table_version": "4",
},
"192.168.212.0/24": {
"available_path": "1",
"best_path": "1",
"index": {
1: {
"ext_community": "RT:65000:200",
"gateway": "172.17.211.2",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "31",
"out": "nolabel",
},
"next_hop": "172.17.211.2",
"next_hop_via": "vrf VRF200",
"origin_codes": "i",
"originator": "172.16.1.209",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "65001",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 3,
}
},
"paths": "1 available, best #1, table VRF200",
"table_version": "5",
},
"192.168.221.0/24": {
"available_path": "2",
"best_path": "2",
"index": {
1: {
"cluster_list": "10.2.2.2",
"ext_community": "RT:65000:200",
"gateway": "10.2.2.2",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "29",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "?",
"originator": "10.2.2.2",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "* i",
"transfer_pathid": "0",
"update_group": 2,
},
2: {
"cluster_list": "10.1.1.1",
"ext_community": "RT:65000:200",
"gateway": "10.1.1.1",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "29",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "?",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "Local",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 2,
},
},
"paths": "2 available, best #2, table VRF200",
"table_version": "12",
},
"192.168.222.0/24": {
"available_path": "2",
"best_path": "2",
"index": {
1: {
"cluster_list": "10.2.2.2",
"ext_community": "RT:65000:200",
"gateway": "10.2.2.2",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "31",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "i",
"originator": "10.2.2.2",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "65001",
"status_codes": "* i",
"transfer_pathid": "0",
"update_group": 2,
},
2: {
"cluster_list": "10.1.1.1",
"ext_community": "RT:65000:200",
"gateway": "10.1.1.1",
"inaccessible": False,
"localpref": 100,
"metric": 0,
"mpls_labels": {
"in": "nolabel",
"out": "31",
},
"next_hop": "10.6.6.6",
"next_hop_igp_metric": "4",
"next_hop_via": "default",
"origin_codes": "i",
"originator": "10.1.1.1",
"recipient_pathid": "0",
"refresh_epoch": 1,
"route_info": "65001",
"status_codes": "*>",
"transfer_pathid": "0x0",
"update_group": 2,
},
},
"paths": "2 available, best #2, table VRF200",
"table_version": "13",
},
},
"route_distinguisher": "65000:200",
}
}
},
}
}
}
}
| 59.268698 | 82 | 0.195971 | 997 | 21,396 | 4 | 0.092277 | 0.056169 | 0.042126 | 0.057172 | 0.935306 | 0.935306 | 0.897192 | 0.897192 | 0.897192 | 0.856068 | 0 | 0.123022 | 0.713545 | 21,396 | 360 | 83 | 59.433333 | 0.527655 | 0 | 0 | 0.75 | 0 | 0 | 0.202468 | 0 | 0 | 0 | 0.001122 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
3e6da5de225846790d9170ffcdde08e5ee2ad47f | 9,822 | py | Python | tensorflow/python/estimator/canned/linear_test.py | fraudies/tensorflow | a42423e302b71893bbd24aa896869941013c07fb | [
"Apache-2.0"
] | 4 | 2021-06-15T17:26:07.000Z | 2021-11-17T10:58:08.000Z | tensorflow/python/estimator/canned/linear_test.py | fraudies/tensorflow | a42423e302b71893bbd24aa896869941013c07fb | [
"Apache-2.0"
] | null | null | null | tensorflow/python/estimator/canned/linear_test.py | fraudies/tensorflow | a42423e302b71893bbd24aa896869941013c07fb | [
"Apache-2.0"
] | 4 | 2018-02-18T03:39:01.000Z | 2018-10-18T11:49:17.000Z | # 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.
# ==============================================================================
"""Tests for linear.py."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.python.estimator.canned import linear
from tensorflow.python.estimator.canned import linear_testing_utils
from tensorflow.python.feature_column import feature_column
from tensorflow.python.feature_column import feature_column_v2
from tensorflow.python.platform import test
def _linear_regressor_fn(*args, **kwargs):
return linear.LinearRegressor(*args, **kwargs)
def _linear_classifier_fn(*args, **kwargs):
return linear.LinearClassifier(*args, **kwargs)
# Tests for Linear Regressor.
class LinearRegressorPartitionerTest(
linear_testing_utils.BaseLinearRegressorPartitionerTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorPartitionerTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column)
class LinearRegressorPartitionerV2Test(
linear_testing_utils.BaseLinearRegressorPartitionerTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorPartitionerTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column_v2)
class LinearRegressorEvaluationTest(
linear_testing_utils.BaseLinearRegressorEvaluationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorEvaluationTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column)
class LinearRegressorEvaluationV2Test(
linear_testing_utils.BaseLinearRegressorEvaluationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorEvaluationTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column_v2)
class LinearRegressorPredictTest(
linear_testing_utils.BaseLinearRegressorPredictTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorPredictTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column)
class LinearRegressorPredictV2Test(
linear_testing_utils.BaseLinearRegressorPredictTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorPredictTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column_v2)
class LinearRegressorIntegrationTest(
linear_testing_utils.BaseLinearRegressorIntegrationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorIntegrationTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column)
class LinearRegressorIntegrationV2Test(
linear_testing_utils.BaseLinearRegressorIntegrationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorIntegrationTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column_v2)
class LinearRegressorTrainingTest(
linear_testing_utils.BaseLinearRegressorTrainingTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorTrainingTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column)
class LinearRegressorTrainingV2Test(
linear_testing_utils.BaseLinearRegressorTrainingTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearRegressorTrainingTest.__init__(
self, _linear_regressor_fn, fc_lib=feature_column_v2)
# Tests for Linear Classifier.
class LinearClassifierTrainingTest(
linear_testing_utils.BaseLinearClassifierTrainingTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierTrainingTest.__init__(
self, linear_classifier_fn=_linear_classifier_fn, fc_lib=feature_column)
class LinearClassifierTrainingV2Test(
linear_testing_utils.BaseLinearClassifierTrainingTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierTrainingTest.__init__(
self,
linear_classifier_fn=_linear_classifier_fn,
fc_lib=feature_column_v2)
class LinearClassifierEvaluationTest(
linear_testing_utils.BaseLinearClassifierEvaluationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierEvaluationTest.__init__(
self, linear_classifier_fn=_linear_classifier_fn, fc_lib=feature_column)
class LinearClassifierEvaluationV2Test(
linear_testing_utils.BaseLinearClassifierEvaluationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierEvaluationTest.__init__(
self,
linear_classifier_fn=_linear_classifier_fn,
fc_lib=feature_column_v2)
class LinearClassifierPredictTest(
linear_testing_utils.BaseLinearClassifierPredictTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierPredictTest.__init__(
self, linear_classifier_fn=_linear_classifier_fn, fc_lib=feature_column)
class LinearClassifierPredictV2Test(
linear_testing_utils.BaseLinearClassifierPredictTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierPredictTest.__init__(
self,
linear_classifier_fn=_linear_classifier_fn,
fc_lib=feature_column_v2)
class LinearClassifierIntegrationTest(
linear_testing_utils.BaseLinearClassifierIntegrationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierIntegrationTest.__init__(
self, linear_classifier_fn=_linear_classifier_fn, fc_lib=feature_column)
class LinearClassifierIntegrationV2Test(
linear_testing_utils.BaseLinearClassifierIntegrationTest, test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearClassifierIntegrationTest.__init__(
self,
linear_classifier_fn=_linear_classifier_fn,
fc_lib=feature_column_v2)
# Tests for Linear logit_fn.
class LinearLogitFnTest(linear_testing_utils.BaseLinearLogitFnTest,
test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearLogitFnTest.__init__(
self, fc_lib=feature_column)
class LinearLogitFnV2Test(linear_testing_utils.BaseLinearLogitFnTest,
test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearLogitFnTest.__init__(
self, fc_lib=feature_column_v2)
# Tests for warm-starting with Linear logit_fn.
class LinearWarmStartingTest(linear_testing_utils.BaseLinearWarmStartingTest,
test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearWarmStartingTest.__init__(
self,
_linear_classifier_fn,
_linear_regressor_fn,
fc_lib=feature_column)
class LinearWarmStartingV2Test(linear_testing_utils.BaseLinearWarmStartingTest,
test.TestCase):
def __init__(self, methodName='runTest'): # pylint: disable=invalid-name
test.TestCase.__init__(self, methodName)
linear_testing_utils.BaseLinearWarmStartingTest.__init__(
self,
_linear_classifier_fn,
_linear_regressor_fn,
fc_lib=feature_column_v2)
if __name__ == '__main__':
test.main()
| 38.367188 | 80 | 0.781104 | 1,004 | 9,822 | 7.11753 | 0.144422 | 0.073887 | 0.11335 | 0.058494 | 0.800168 | 0.792751 | 0.792751 | 0.778198 | 0.762664 | 0.758746 | 0 | 0.003647 | 0.134494 | 9,822 | 255 | 81 | 38.517647 | 0.83696 | 0.147628 | 0 | 0.75625 | 0 | 0 | 0.019455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.05 | 0.0125 | 0.35 | 0.00625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3e823d49e9f8c1b0851c206a5a08ec2de5b94e19 | 5,580 | py | Python | smm_wrapper/smm.py | gesiscss/smm_wrapper | e075d75ccd6a6c944cfcdd236e6527157e31279a | [
"MIT"
] | null | null | null | smm_wrapper/smm.py | gesiscss/smm_wrapper | e075d75ccd6a6c944cfcdd236e6527157e31279a | [
"MIT"
] | null | null | null | smm_wrapper/smm.py | gesiscss/smm_wrapper | e075d75ccd6a6c944cfcdd236e6527157e31279a | [
"MIT"
] | null | null | null | """Summary
"""
from .api import SMMAPI
from .views import DataView
class SMM:
"""The APIs provide provenance and change information about the tokens a Wikipedia article consists of, for several languages. Apart from the source language edition they draw from, their specifications and usage are identical
Attributes:
attempts (int): Number of attempts to be done to the server
base (url): Base request url
base_editor (TYPE): Description
session (TYPE): Description
"""
def __init__(self,
username: str=None,
password: str=None,
api_key: str=None,
lng: str="en",
protocol: str="http",
domain: str="mediamonitoring.gesis.org",
unit: str="politicians",
version: str="v1",
attempts: int=2):
"""Constructor of the SMM
Args:
username (str, optional): SMM API username
password (str, optional): SMM API password
api_key (str, optional): SMM API key
lng (str, optional): the language that needs to be query
protocol (str, optional): the protocol of the url
domain (str, optional): the domain that hosts the api
version (str, optional): the version of the api
attempts (int, optional): the number of attempts before giving up trying to connect
"""
self.api = SMMAPI(username,
password,
api_key,
lng,
protocol,
domain,
unit,
version,
attempts)
self.dv = DataView(self.api)
class SMMPoliticians:
"""The APIs provide provenance and change information about the tokens a Wikipedia article consists of, for several languages. Apart from the source language edition they draw from, their specifications and usage are identical
Attributes:
attempts (int): Number of attempts to be done to the server
base (url): Base request url
base_editor (TYPE): Description
session (TYPE): Description
"""
def __init__(self,
username: str=None,
password: str=None,
api_key: str=None,
lng: str="en",
protocol: str="http",
domain: str="mediamonitoring.gesis.org",
version: str="v1",
attempts: int=2):
"""Constructor of the SMM
Args:
username (str, optional): SMM API username
password (str, optional): SMM API password
api_key (str, optional): SMM API key
lng (str, optional): the language that needs to be query
protocol (str, optional): the protocol of the url
domain (str, optional): the domain that hosts the api
version (str, optional): the version of the api
attempts (int, optional): the number of attempts before giving up trying to connect
"""
self.api = SMMAPI(username,
password,
api_key,
lng,
protocol,
domain,
'politicians',
version,
attempts)
self.dv = DataView(self.api, id_column='politician_id')
class SMMOrganizations:
"""The APIs provide provenance and change information about the tokens a Wikipedia article consists of, for several languages. Apart from the source language edition they draw from, their specifications and usage are identical
Attributes:
attempts (int): Number of attempts to be done to the server
base (url): Base request url
base_editor (TYPE): Description
session (TYPE): Description
"""
def __init__(self,
username: str=None,
password: str=None,
api_key: str=None,
lng: str="en",
protocol: str="http",
domain: str="mediamonitoring.gesis.org",
version: str="v1",
attempts: int=2):
"""Constructor of the SMM
Args:
username (str, optional): SMM API username
password (str, optional): SMM API password
api_key (str, optional): SMM API key
lng (str, optional): the language that needs to be query
protocol (str, optional): the protocol of the url
domain (str, optional): the domain that hosts the api
version (str, optional): the version of the api
attempts (int, optional): the number of attempts before giving up trying to connect
"""
self.api = SMMAPI(username,
password,
api_key,
lng,
protocol,
domain,
'organizations',
version,
attempts)
self.dv = DataView(self.api, id_column='organization_id')
| 37.702703 | 231 | 0.507527 | 557 | 5,580 | 5.034111 | 0.166966 | 0.082382 | 0.059914 | 0.054565 | 0.939729 | 0.939729 | 0.939729 | 0.92689 | 0.92689 | 0.895506 | 0 | 0.001872 | 0.425627 | 5,580 | 147 | 232 | 37.959184 | 0.873011 | 0.474373 | 0 | 0.809524 | 0 | 0 | 0.066667 | 0.030864 | 0 | 0 | 0 | 0 | 0 | 1 | 0.047619 | false | 0.095238 | 0.031746 | 0 | 0.126984 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
e4a90465307bc6a5691769259a3c6e08a4794dc0 | 112 | py | Python | src/analytics/lambdas/test/test_google_play_installs.py | shehir12/covid19-app-system-public | 63184012d85335f7c499fe41ab534a0ef935a4b8 | [
"MIT"
] | null | null | null | src/analytics/lambdas/test/test_google_play_installs.py | shehir12/covid19-app-system-public | 63184012d85335f7c499fe41ab534a0ef935a4b8 | [
"MIT"
] | null | null | null | src/analytics/lambdas/test/test_google_play_installs.py | shehir12/covid19-app-system-public | 63184012d85335f7c499fe41ab534a0ef935a4b8 | [
"MIT"
] | null | null | null | from . import check_code
def test_code_is_valid():
assert check_code('importers/google_play_installs.py')
| 18.666667 | 58 | 0.785714 | 17 | 112 | 4.764706 | 0.823529 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 112 | 5 | 59 | 22.4 | 0.826531 | 0 | 0 | 0 | 0 | 0 | 0.294643 | 0.294643 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.666667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
90062d7f39248f3dd68e8fa73ca4d6546a2654f7 | 155 | py | Python | tests/functional/ucare_cli/helpers.py | uploadcare/pyuploadcare | 0760396926d53923b97d67a4d8494979c7468aa8 | [
"MIT"
] | 85 | 2015-01-14T21:37:58.000Z | 2022-03-16T07:15:41.000Z | tests/functional/ucare_cli/helpers.py | uploadcare/pyuploadcare | 0760396926d53923b97d67a4d8494979c7468aa8 | [
"MIT"
] | 78 | 2015-01-15T23:44:15.000Z | 2022-03-21T12:05:26.000Z | tests/functional/ucare_cli/helpers.py | uploadcare/pyuploadcare | 0760396926d53923b97d67a4d8494979c7468aa8 | [
"MIT"
] | 34 | 2015-01-13T16:06:29.000Z | 2021-08-09T12:38:06.000Z | from pyuploadcare.ucare_cli.main import ucare_argparser
def arg_namespace(arguments_str):
return ucare_argparser().parse_args(arguments_str.split())
| 25.833333 | 62 | 0.825806 | 21 | 155 | 5.761905 | 0.761905 | 0.231405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090323 | 155 | 5 | 63 | 31 | 0.858156 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 7 |
5f9383ee7e78e57ec384dc4ddf1f673fdc5cf9ec | 24,018 | py | Python | ffsc/flow/network_flow.py | Lkruitwagen/global-fossil-fuel-supply-chain | f5d804a5f7cee19af46d2f31e635590d3930bacd | [
"MIT"
] | 16 | 2021-02-11T10:30:13.000Z | 2021-11-05T09:46:47.000Z | ffsc/flow/network_flow.py | Lkruitwagen/global-fossil-fuel-supply-chain | f5d804a5f7cee19af46d2f31e635590d3930bacd | [
"MIT"
] | 3 | 2020-02-20T10:00:27.000Z | 2020-03-10T00:34:11.000Z | ffsc/flow/network_flow.py | Lkruitwagen/global-energy-demand | f5d804a5f7cee19af46d2f31e635590d3930bacd | [
"MIT"
] | 3 | 2021-04-06T08:27:07.000Z | 2021-11-05T09:51:45.000Z | import logging, os, sys, pickle, json
import warnings
warnings.filterwarnings('ignore')
import networkx as nx
import pandas as pd
from math import pi
import numpy as np
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
def prep_coal_nx(df_edges_coal, df_cities, df_powerstations, df_coalmines, df_energy_balance, flow_parameters):
logger=logging.getLogger('prep_coal_nx')
logger.info('Making graph from edges')
G = nx.DiGraph()
df_edges_coal['IMPEDANCE'] = (df_edges_coal['IMPEDANCE']*100).astype(int)
G.add_edges_from([(r[0],r[1],{'z':r[2]}) for r in df_edges_coal[['START','END','IMPEDANCE']].values.tolist()])
### add supersink? maybe not.
logger.info('Getting node demand')
## add demand
df_cities['DEMAND'] = df_cities.apply(lambda el: json.loads(el['features'])['total_coal_consumption']/1e3, axis=1) #TJ/yr
df_powerstations['DEMAND'] = df_powerstations.apply(lambda el: json.loads(el['features'])['capacity_mw']*8760*.6*3.6/1e3, axis=1) #TJ/yr
df_powerstations['DEMAND'] = df_powerstations['DEMAND'] * df_powerstations.apply(lambda el: 1 if json.loads(el['features'])['fuel1']=='Coal' else 0, axis=1)
min_demand = 10 # min(df_powerstations.loc[df_powerstations['DEMAND']>0,'DEMAND'].min(),df_cities['DEMAND'].min())
nx.set_node_attributes(G, 0, 'D')
city_nodes = [n for n in G.nodes if 'CITY' in n]
logger.info(f'starting cities: {len(df_cities)}')
scope_cities = [rec for rec in df_cities[['unique_id','DEMAND']].to_dict(orient='records') if rec['unique_id'] in city_nodes]
logger.info(f'scope cities{len(scope_cities)}')
attrs = {rec['unique_id']:{'D':int(round(rec['DEMAND']/min_demand))} for rec in scope_cities} # TJ/yr
attrs = {kk:vv for kk,vv in attrs.items() if vv['D']>0}
nx.set_node_attributes(G, attrs)
logger.info(f'starting powerstations: {len(df_powerstations)}')
pwrstn_nodes = [n for n in G.nodes if 'POWERSTATION' in n]
scope_powerstns = [rec for rec in df_powerstations[['unique_id','DEMAND']].to_dict(orient='records') if rec['unique_id'] in pwrstn_nodes]
logger.info(f'scope_powerstations {len(scope_powerstns)}')
attrs = {rec['unique_id']:{'D':int(round(rec['DEMAND']/min_demand))} for rec in scope_powerstns}
attrs = {kk:vv for kk,vv in attrs.items() if vv['D']>0}
nx.set_node_attributes(G, attrs)
### add supersource (then drop then add again)
G.add_node('supersource')
source_nodes = [n for n in G.nodes if 'COALMINE' in n]
for source_node in source_nodes:
G.add_edge('supersource',source_node,z=0)
if flow_parameters['check_paths']:
logger.info(f'checking powerstation paths...')
p_count = 0
c_count=0
pathless_pwrstns = []
for ii_p, rec in enumerate(scope_powerstns):
if ii_p %1000==0:
logger.info(f'ii_p {ii_p}, p_count {p_count}')
if not nx.has_path(G, 'supersource',rec['unique_id']):
#logger.info(f'No Path! {pwrstn}')
p_count +=1
pathless_pwrstns.append(rec['unique_id'])
logger.info(f'checking city paths...')
pathless_cities = []
for ii_c, rec in enumerate(scope_cities):
if ii_c %1000==0:
logger.info(f'ii_c {ii_c}, c_count {c_count}')
if not nx.has_path(G, 'supersource',rec['unique_id']):
#logger.info(f'No Path! {city}')
c_count+=1
pathless_cities.append(rec['unique_id'])
logger.info(f'pathless powerstations: {len(pathless_pwrstns)}')
logger.info(f'pathless cities:{len(pathless_cities)}')
G.remove_nodes_from(pathless_pwrstns)
G.remove_nodes_from(pathless_cities)
missing_cities = df_cities[df_cities['unique_id'].isin(pathless_cities)]
missing_powerstations = df_powerstations[df_powerstations['unique_id'].isin(pathless_pwrstns)]
else:
missing_cities = pd.DataFrame()
missing_powerstations = pd.DataFrame()
D_cities = sum([G.nodes[u].get('D',0) for u in list(G) if 'CITY' in u])
D_pwrstns = sum([G.nodes[u].get('D',0) for u in list(G) if 'POWERSTATION' in u])
logger.info(f'sum D pwnstns: {D_pwrstns}, sum D cities: {D_cities}')
logger.info(f'combined sum {D_pwrstns+D_cities}')
demand_df = pd.DataFrame.from_dict({u:G.nodes[u].get('D',0) for u in list(G)}, orient='index',columns=['D'])
all_demand = demand_df['D'].sum()
attrs = {'supersource':{'D':-1*all_demand}}
nx.set_node_attributes(G, attrs)
if flow_parameters['constrain_production']:
### get demand weighting
# remove supersource again
G.remove_nodes_from(['supersource'])
### check components here, get demand in connected components
components = {ii_c:[list(cc)] for ii_c, cc in enumerate(nx.weakly_connected_components(G))}
df_components = pd.DataFrame.from_dict(components, orient='index', columns=['unique_id']).explode('unique_id').reset_index().rename(columns={'index':'component'})
print ('df_components')
print (df_components)
df_components = pd.merge(df_components, demand_df, how='left',left_on='unique_id',right_index=True)
# get coalmines in network
all_mines = [u for u in list(G) if 'COALMINE' in u]
df_coalmines = df_coalmines[df_coalmines['unique_id'].isin(all_mines)]
# match their iso2s
df_coalmines['iso2_map'] = df_coalmines['iso2'].apply(lambda el: el if el in df_energy_balance['ISO_A2'].values.tolist() else 'REM')
# get all the scope iso2s
all_iso2 = df_coalmines.loc[df_coalmines['unique_id'].isin(all_mines),'iso2_map'].unique().tolist()
# drop non-scope iso2
df_energy_balance = df_energy_balance[df_energy_balance['ISO_A2'].isin(all_iso2)]
df_energy_balance = df_energy_balance.set_index('ISO_A2')
# convert an column with the energy carrier
df_energy_balance['E'] = df_energy_balance['Coal*']/df_energy_balance['Coal*'].sum()*all_demand
# get a series of the number of mines per country
N_iso2 = df_coalmines.groupby('iso2_map').size()
df_coalmines['C'] = df_coalmines['iso2_map'].apply(lambda el: df_energy_balance.at[el,'E']/N_iso2.at[el])
df_components = pd.merge(df_components, df_coalmines[['unique_id','C']], how='left',on='unique_id')
#print ('components 1')
#print (df_components)
df_scaler = df_components[['component','D','C']].groupby('component').sum().reset_index()
df_scaler['scaler'] = df_scaler['D']/df_scaler['C']
#print ('scaler')
#print (df_scaler.sort_values('scaler'))
df_components = pd.merge(df_components, df_scaler[['component','scaler']], how='left',on='component')
#print ('components2')
#print (df_components)
df_coalmines = pd.merge(df_coalmines, df_components[['unique_id','scaler']], how='left',on='unique_id')
#print ('coalmines1')
#print (df_coalmines)
df_coalmines['C'] = df_coalmines['C']*df_coalmines['scaler']
#print ('coalmines2')
#print (df_coalmines)
# reattach supersource
G.add_node('supersource')
source_nodes = [n for n in G.nodes if 'COALMINE' in n]
for source_node in source_nodes:
G.add_edge('supersource',source_node,z=0)
attrs = {('supersource',row['unique_id']):{'C':int(row['C'])+1} for idx, row in df_coalmines.iterrows()}
nx.set_edge_attributes(G,attrs)
attrs = {'supersource':{'D':-1*int(all_demand)}}
nx.set_node_attributes(G, attrs)
all_impedances = [e[2]['z'] for e in G.edges(data=True)]
print (nx.info(G))
print ('impedance: mean',np.mean(all_impedances),'max',np.max(all_impedances),'min',np.min(all_impedances))
logger.info('Solving Flow!')
print ('pandas')
#print (nx.to_pandas_edgelist(G))
df_edges = nx.to_pandas_edgelist(G)
df_nodes = pd.DataFrame([{**D,**{'NODE':n}} for n,D in G.nodes(data=True)])
df_edges['C'] = np.ceil(df_edges['C'].fillna(all_demand)).astype(int)
print ('pandas edges')
print (df_edges)
print ('pandas nodes')
print (df_nodes)
#flow_cost, flow_dict = network_simplex(G, demand='D', capacity='capacity', weight='z')
#print ('flow cost',flow_cost)
#print (flow_dict)
#pickle.dump(flow_cost, open('./flow_cost.pkl','wb'))
#pickle.dump(flow_dict, open('./flow_dict.pkl','wb'))
return df_edges, df_nodes, missing_cities, missing_powerstations
def prep_oil_nx(df_edges_oil, df_cities, df_powerstations, df_oilfields, df_oilwells, df_energy_balance, flow_parameters):
logger=logging.getLogger('prep_oil_nx')
logger.info('Making graph from edges')
G = nx.DiGraph()
df_edges_oil['IMPEDANCE'] = (df_edges_oil['IMPEDANCE']*100).astype(int)
G.add_edges_from([(r[0],r[1],{'z':r[2]}) for r in df_edges_oil[['START','END','IMPEDANCE']].values.tolist()])
### add supersource
source_nodes = [n for n in G.nodes if (('OILFIELD' in n) or ('OILWELL' in n))]
G.add_node('supersource')
for source_node in source_nodes:
G.add_edge('supersource',source_node,z=0)
### add supersink? maybe not.
logger.info('Getting node demand')
## add demand
df_cities['DEMAND'] = df_cities.apply(lambda el: json.loads(el['features'])['total_oil_consumption']/1e3, axis=1) #TJ/yr
df_powerstations['DEMAND'] = df_powerstations.apply(lambda el: json.loads(el['features'])['capacity_mw']*8760*.6*3.6/1e3, axis=1) #TJ/yr
df_powerstations['DEMAND'] = df_powerstations['DEMAND'] * df_powerstations.apply(lambda el: 1 if json.loads(el['features'])['fuel1']=='Oil' else 0, axis=1)
min_demand = 10 # min(df_powerstations.loc[df_powerstations['DEMAND']>0,'DEMAND'].min(),df_cities['DEMAND'].min())
nx.set_node_attributes(G, 0, 'D')
city_nodes = [n for n in G.nodes if 'CITY' in n]
logger.info(f'starting cities: {len(df_cities)}') # checkpt
scope_cities = [rec for rec in df_cities[['unique_id','DEMAND']].to_dict(orient='records') if rec['unique_id'] in city_nodes]
logger.info(f'scope cities{len(scope_cities)}')
attrs = {rec['unique_id']:{'D':int(round(rec['DEMAND']/min_demand))} for rec in scope_cities} # TJ/yr
attrs = {kk:vv for kk,vv in attrs.items() if vv['D']>0}
nx.set_node_attributes(G, attrs)
logger.info(f'starting powerstations: {len(df_powerstations)}')
pwrstn_nodes = [n for n in G.nodes if 'POWERSTATION' in n]
logger.info(f'ps in graph: {len(pwrstn_nodes)}')
scope_powerstns = [rec for rec in df_powerstations[['unique_id','DEMAND']].to_dict(orient='records') if rec['unique_id'] in pwrstn_nodes]
logger.info(f'scope_powerstations {len(scope_powerstns)}')
attrs = {rec['unique_id']:{'D':int(round(rec['DEMAND']/min_demand))} for rec in scope_powerstns}
attrs = {kk:vv for kk,vv in attrs.items() if vv['D']>0}
nx.set_node_attributes(G, attrs)
if flow_parameters['check_paths']:
logger.info(f'checking powerstation paths...')
p_count = 0
c_count=0
pathless_pwrstns = []
for ii_p, rec in enumerate(scope_powerstns):
if ii_p %1000==0:
logger.info(f'ii_p {ii_p}, p_count {p_count}')
if not nx.has_path(G, 'supersource',rec['unique_id']):
#logger.info(f'No Path! {pwrstn}')
p_count +=1
pathless_pwrstns.append(rec['unique_id'])
logger.info(f'checking city paths...')
pathless_cities = []
for ii_c, rec in enumerate(scope_cities):
if ii_c %1000==0:
logger.info(f'ii_c {ii_c}, c_count {c_count}')
if not nx.has_path(G, 'supersource',rec['unique_id']):
#logger.info(f'No Path! {city}')
c_count+=1
pathless_cities.append(rec['unique_id'])
logger.info(f'pathless powerstations: {len(pathless_pwrstns)}')
logger.info(f'pathless cities:{len(pathless_cities)}')
G.remove_nodes_from(pathless_pwrstns)
G.remove_nodes_from(pathless_cities)
missing_cities = df_cities[df_cities['unique_id'].isin(pathless_cities)]
missing_powerstations = df_powerstations[df_powerstations['unique_id'].isin(pathless_pwrstns)]
else:
missing_cities = pd.DataFrame()
missing_powerstations = pd.DataFrame()
D_cities = sum([G.nodes[u].get('D',0) for u in list(G) if 'CITY' in u])
D_pwrstns = sum([G.nodes[u].get('D',0) for u in list(G) if 'POWERSTATION' in u])
logger.info(f'sum D pwnstns: {D_pwrstns}, sum D cities: {D_cities}')
logger.info(f'combined sum {D_pwrstns+D_cities}')
all_demand = sum([G.nodes[u].get('D', 0) for u in list(G)])
attrs = {'supersource':{'D':-1*all_demand}}
nx.set_node_attributes(G, attrs)
if flow_parameters['constrain_production']:
### get demand weighting
# get coalmines in network
all_sources = [u for u in list(G) if (('OILWELL' in u) or ('OILFIELD' in u))]
df_oilwells = df_oilwells[df_oilwells['unique_id'].isin(all_sources)]
df_oilfields = df_oilfields[df_oilfields['unique_id'].isin(all_sources)]
# get a single iso2 for oilfields
df_oilfields['iso2'] = df_oilfields['iso2'].str.split(';').str[0]
# match their iso2s
df_oilwells['iso2_map'] = df_oilwells['iso2'].apply(lambda el: el if el in df_energy_balance['ISO_A2'].values.tolist() else 'REM')
df_oilfields['iso2_map'] = df_oilfields['iso2'].apply(lambda el: el if el in df_energy_balance['ISO_A2'].values.tolist() else 'REM')
# get all the scope iso2s
all_iso2 = df_oilwells.loc[df_oilwells['unique_id'].isin(all_sources),'iso2_map'].unique().tolist() \
+ df_oilfields.loc[df_oilfields['unique_id'].isin(all_sources),'iso2_map'].unique().tolist()
# drop non-scope iso2
df_energy_balance = df_energy_balance[df_energy_balance['ISO_A2'].isin(all_iso2)]
df_energy_balance = df_energy_balance.set_index('ISO_A2')
# convert an column with the energy carrier
df_energy_balance['E'] = df_energy_balance['Crude oil']/df_energy_balance['Crude oil'].sum()*all_demand
# get a series of the number of mines per country
N_iso2 = df_oilwells.groupby('iso2_map').size() + df_oilfields.groupby('iso2_map').size()
df_oilwells['C'] = df_oilwells['iso2_map'].apply(lambda el: df_energy_balance.at[el,'E']/N_iso2.at[el])
df_oilfields['C'] = df_oilfields['iso2_map'].apply(lambda el: df_energy_balance.at[el,'E']/N_iso2.at[el])
attrs = {('supersource',row['unique_id']):{'C':row['C']} for idx, row in df_oilwells.iterrows()}
attrs.update({('supersource',row['unique_id']):{'C':row['C']} for idx, row in df_oilfields.iterrows()})
nx.set_edge_attributes(G,attrs)
all_impedances = [e[2]['z'] for e in G.edges(data=True)]
print (nx.info(G))
print ('impedance: mean',np.mean(all_impedances),'max',np.max(all_impedances),'min',np.min(all_impedances))
logger.info('Solving Flow!')
print ('pandas')
#print (nx.to_pandas_edgelist(G))
df_edges = nx.to_pandas_edgelist(G)
df_nodes = pd.DataFrame([{**D,**{'NODE':n}} for n,D in G.nodes(data=True)])
df_edges['C'] = np.ceil(df_edges['C'].fillna(all_demand)).astype(int)
print ('pandas edges')
print (df_edges)
print ('pandas nodes')
print (df_nodes)
#flow_cost, flow_dict = network_simplex(G, demand='D', capacity='capacity', weight='z')
#print ('flow cost',flow_cost)
#print (flow_dict)
#pickle.dump(flow_cost, open('./flow_cost.pkl','wb'))
#pickle.dump(flow_dict, open('./flow_dict.pkl','wb'))
return df_edges, df_nodes, missing_cities, missing_powerstations
def prep_gas_nx(df_edges_gas, df_cities, df_powerstations, df_oilfields, df_oilwells, df_energy_balance, flow_parameters):
logger=logging.getLogger('prep_gas_nx')
logger.info('Making graph from edges')
G = nx.DiGraph()
df_edges_gas['IMPEDANCE'] = (df_edges_gas['IMPEDANCE']*100).astype(int)
G.add_edges_from([(r[0],r[1],{'z':r[2]}) for r in df_edges_gas[['START','END','IMPEDANCE']].values.tolist()])
### add supersource
source_nodes = [n for n in G.nodes if (('OILFIELD' in n) or ('OILWELL' in n))]
G.add_node('supersource')
for source_node in source_nodes:
G.add_edge('supersource',source_node,z=0)
### add supersink? maybe not.
logger.info('Getting node demand')
## add demand
df_cities['DEMAND'] = df_cities.apply(lambda el: json.loads(el['features'])['total_gas_consumption']/1e3, axis=1) #TJ/yr
df_powerstations['DEMAND'] = df_powerstations.apply(lambda el: json.loads(el['features'])['capacity_mw']*8760*.6*3.6/1e3, axis=1) #TJ/yr
df_powerstations['DEMAND'] = df_powerstations['DEMAND'] * df_powerstations.apply(lambda el: 1 if json.loads(el['features'])['fuel1']=='Gas' else 0, axis=1)
min_demand = 10 # min(df_powerstations.loc[df_powerstations['DEMAND']>0,'DEMAND'].min(),df_cities['DEMAND'].min())
nx.set_node_attributes(G, 0, 'D')
city_nodes = [n for n in G.nodes if 'CITY' in n]
logger.info(f'starting cities: {len(df_cities)}')
scope_cities = [rec for rec in df_cities[['unique_id','DEMAND']].to_dict(orient='records') if rec['unique_id'] in city_nodes]
logger.info(f'scope cities{len(scope_cities)}')
attrs = {rec['unique_id']:{'D':int(round(rec['DEMAND']/min_demand))} for rec in scope_cities} # TJ/yr
attrs = {kk:vv for kk,vv in attrs.items() if vv['D']>0}
nx.set_node_attributes(G, attrs)
logger.info(f'starting powerstations: {len(df_powerstations)}')
pwrstn_nodes = [n for n in G.nodes if 'POWERSTATION' in n]
scope_powerstns = [rec for rec in df_powerstations[['unique_id','DEMAND']].to_dict(orient='records') if rec['unique_id'] in pwrstn_nodes]
logger.info(f'scope_powerstations {len(scope_powerstns)}')
attrs = {rec['unique_id']:{'D':int(round(rec['DEMAND']/min_demand))} for rec in scope_powerstns}
attrs = {kk:vv for kk,vv in attrs.items() if vv['D']>0}
nx.set_node_attributes(G, attrs)
if flow_parameters['check_paths']:
logger.info(f'checking powerstation paths...')
p_count = 0
c_count=0
pathless_pwrstns = []
for ii_p, rec in enumerate(scope_powerstns):
if ii_p %1000==0:
logger.info(f'ii_p {ii_p}, p_count {p_count}')
if not nx.has_path(G, 'supersource',rec['unique_id']):
#logger.info(f'No Path! {pwrstn}')
p_count +=1
pathless_pwrstns.append(rec['unique_id'])
logger.info(f'checking city paths...')
pathless_cities = []
for ii_c, rec in enumerate(scope_cities):
if ii_c %1000==0:
logger.info(f'ii_c {ii_c}, c_count {c_count}')
if not nx.has_path(G, 'supersource',rec['unique_id']):
#logger.info(f'No Path! {city}')
c_count+=1
pathless_cities.append(rec['unique_id'])
logger.info(f'pathless powerstations: {len(pathless_pwrstns)}')
logger.info(f'pathless cities:{len(pathless_cities)}')
G.remove_nodes_from(pathless_pwrstns)
G.remove_nodes_from(pathless_cities)
missing_cities = df_cities[df_cities['unique_id'].isin(pathless_cities)]
missing_powerstations = df_powerstations[df_powerstations['unique_id'].isin(pathless_pwrstns)]
else:
missing_cities = pd.DataFrame()
missing_powerstations = pd.DataFrame()
D_cities = sum([G.nodes[u].get('D',0) for u in list(G) if 'CITY' in u])
D_pwrstns = sum([G.nodes[u].get('D',0) for u in list(G) if 'POWERSTATION' in u])
logger.info(f'sum D pwnstns: {D_pwrstns}, sum D cities: {D_cities}')
logger.info(f'combined sum {D_pwrstns+D_cities}')
all_demand = sum([G.nodes[u].get('D', 0) for u in list(G)])
attrs = {'supersource':{'D':-1*all_demand}}
nx.set_node_attributes(G, attrs)
if flow_parameters['constrain_production']:
### get demand weighting
# get coalmines in network
all_sources = [u for u in list(G) if (('OILWELL' in u) or ('OILFIELD' in u))]
df_oilwells = df_oilwells[df_oilwells['unique_id'].isin(all_sources)]
df_oilfields = df_oilfields[df_oilfields['unique_id'].isin(all_sources)]
# get a single iso2 for oilfields
df_oilfields['iso2'] = df_oilfields['iso2'].str.split(';').str[0]
# match their iso2s
df_oilwells['iso2_map'] = df_oilwells['iso2'].apply(lambda el: el if el in df_energy_balance['ISO_A2'].values.tolist() else 'REM')
df_oilfields['iso2_map'] = df_oilfields['iso2'].apply(lambda el: el if el in df_energy_balance['ISO_A2'].values.tolist() else 'REM')
# get all the scope iso2s
all_iso2 = df_oilwells.loc[df_oilwells['unique_id'].isin(all_sources),'iso2_map'].unique().tolist() \
+ df_oilfields.loc[df_oilfields['unique_id'].isin(all_sources),'iso2_map'].unique().tolist()
# drop non-scope iso2
df_energy_balance = df_energy_balance[df_energy_balance['ISO_A2'].isin(all_iso2)]
df_energy_balance = df_energy_balance.set_index('ISO_A2')
# convert an column with the energy carrier
df_energy_balance['E'] = df_energy_balance['Natural gas']/df_energy_balance['Natural gas'].sum()*all_demand
# get a series of the number of mines per country
N_iso2 = df_oilwells.groupby('iso2_map').size() + df_oilfields.groupby('iso2_map').size()
df_oilwells['C'] = df_oilwells['iso2_map'].apply(lambda el: df_energy_balance.at[el,'E']/N_iso2.at[el])
df_oilfields['C'] = df_oilfields['iso2_map'].apply(lambda el: df_energy_balance.at[el,'E']/N_iso2.at[el])
attrs = {('supersource',row['unique_id']):{'C':row['C']} for idx, row in df_oilwells.iterrows()}
attrs.update({('supersource',row['unique_id']):{'C':row['C']} for idx, row in df_oilfields.iterrows()})
nx.set_edge_attributes(G,attrs)
all_impedances = [e[2]['z'] for e in G.edges(data=True)]
print (nx.info(G))
print ('impedance: mean',np.mean(all_impedances),'max',np.max(all_impedances),'min',np.min(all_impedances))
logger.info('Solving Flow!')
print ('pandas')
#print (nx.to_pandas_edgelist(G))
df_edges = nx.to_pandas_edgelist(G)
df_nodes = pd.DataFrame([{**D,**{'NODE':n}} for n,D in G.nodes(data=True)])
df_edges['C'] = np.ceil(df_edges['C'].fillna(all_demand)).astype(int)
print ('pandas edges')
print (df_edges)
print ('pandas nodes')
print (df_nodes)
#flow_cost, flow_dict = network_simplex(G, demand='D', capacity='capacity', weight='z')
#print ('flow cost',flow_cost)
#print (flow_dict)
#pickle.dump(flow_cost, open('./flow_cost.pkl','wb'))
#pickle.dump(flow_dict, open('./flow_dict.pkl','wb'))
return df_edges, df_nodes, missing_cities, missing_powerstations | 40.846939 | 170 | 0.628654 | 3,438 | 24,018 | 4.171611 | 0.067772 | 0.032353 | 0.03298 | 0.017222 | 0.902524 | 0.887533 | 0.878329 | 0.866267 | 0.865012 | 0.861177 | 0 | 0.011764 | 0.217837 | 24,018 | 588 | 171 | 40.846939 | 0.751677 | 0.104505 | 0 | 0.832258 | 0 | 0 | 0.17591 | 0.020091 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009677 | false | 0 | 0.019355 | 0 | 0.03871 | 0.074194 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
3978b1975b81a8ae59a30e1380a9415af54215d4 | 79 | py | Python | test3.py | lyx003288/python_test | f6927b8182a1e8e608b3277a3fe033b856a2c47a | [
"MIT"
] | null | null | null | test3.py | lyx003288/python_test | f6927b8182a1e8e608b3277a3fe033b856a2c47a | [
"MIT"
] | null | null | null | test3.py | lyx003288/python_test | f6927b8182a1e8e608b3277a3fe033b856a2c47a | [
"MIT"
] | null | null | null |
print("test3 run")
def test():
import test4
print("test3 run again")
| 11.285714 | 28 | 0.620253 | 11 | 79 | 4.454545 | 0.727273 | 0.408163 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.240506 | 79 | 6 | 29 | 13.166667 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 7 |
39950b0e2f0f87b575e7d1d3cb15b73057f76e84 | 24,576 | py | Python | tests/unit/test_schedule_builder.py | sanders41/split-schedule | bf06b3c14f035f6057e4e3aeb8d9afaec65dce85 | [
"MIT"
] | null | null | null | tests/unit/test_schedule_builder.py | sanders41/split-schedule | bf06b3c14f035f6057e4e3aeb8d9afaec65dce85 | [
"MIT"
] | 90 | 2021-02-23T03:01:29.000Z | 2022-03-28T21:10:11.000Z | tests/unit/test_schedule_builder.py | sanders41/split-schedule | bf06b3c14f035f6057e4e3aeb8d9afaec65dce85 | [
"MIT"
] | null | null | null | import logging
import pandas as pd
import pytest
from split_schedule.errors import NoScheduleError
from split_schedule.schedule_builder import ScheduleBuilder, SchedulingError
from tests.helpers import init_classes_check, reduce_classes_check, total_classes_check
@pytest.mark.parametrize("max_tries", [1, 2])
@pytest.mark.parametrize("verbose", [True, False])
def test_build_schedule_validated_classs_size(monkeypatch, tmp_path, caplog, max_tries, verbose):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data_1 = {
"block": [1],
"class": ["test class 1"],
"student": ["test 1"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
def mock_return(*args, **kwargs):
return pd.DataFrame(
{
"student": ["test 1"],
"original": 3,
"scheduled": 2,
}
).set_index("student")
schedule_builder = ScheduleBuilder()
monkeypatch.setattr(ScheduleBuilder, "_validate_class_size", mock_return)
with pytest.raises(SchedulingError):
schedule_builder.build_schedule_from_file(
test_file, 0.2, max_tries=max_tries, verbose=verbose
)
if verbose:
assert "Classes contain too many students" in caplog.text
else:
assert "Classes contain too many students" not in caplog.text
@pytest.mark.parametrize("max_tries", [1, 2])
@pytest.mark.parametrize("verbose", [True, False])
def test_build_schedule_validated_classes_number(monkeypatch, tmp_path, caplog, max_tries, verbose):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data_1 = {
"block": [1],
"class": ["test class 1"],
"student": ["test 1"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = {
"block": [1, 2, 1, 2],
"class": ["test class 1", "test class 2", "test class 1", "test class 2"],
"student": ["test 1", "test 1", "test 2", "test 2"],
}
def mock_return_validated_classes(*args, **kwargs):
return pd.DataFrame(data_2)
schedule_builder = ScheduleBuilder()
monkeypatch.setattr(ScheduleBuilder, "_validate_classes", mock_return_validated_classes)
with pytest.raises(SchedulingError):
schedule_builder.build_schedule_from_file(
test_file, 0.2, max_tries=max_tries, verbose=verbose
)
if verbose:
assert "Student missing" in caplog.text
else:
assert "Student missing" not in caplog.text
@pytest.mark.parametrize("max_tries", [1, 2])
@pytest.mark.parametrize("verbose", [True, False])
def test_build_schedule_validated_same_day(monkeypatch, tmp_path, caplog, max_tries, verbose):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data_1 = {
"block": [1],
"class": ["test class 1"],
"student": ["test 1"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = {
"block": [
1,
1,
2,
],
"class": [
"test class 1",
"test class 1",
"test class 3",
],
"total_students": [
2,
2,
1,
],
"max_students": [
2,
2,
1,
],
"num_classes": [
1,
1,
1,
],
"day_number": [
1,
1,
2,
],
"student": [
"test 1",
"test 2",
"test 1",
],
}
def mock_return_validated_days(*args, **kwargs):
return pd.DataFrame(data_2)
schedule_builder = ScheduleBuilder()
monkeypatch.setattr(ScheduleBuilder, "_validate_same_day", mock_return_validated_days)
with pytest.raises(SchedulingError):
schedule_builder.build_schedule_from_file(
test_file, 0.2, max_tries=max_tries, verbose=verbose
)
if verbose:
assert "Student not on the same day" in caplog.text
else:
assert "Student not on the same day" not in caplog.text
@pytest.mark.parametrize("max_tries", [1, 2])
@pytest.mark.parametrize("verbose", [True, False])
def test_build_schedule_validated_students(monkeypatch, tmp_path, caplog, max_tries, verbose):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data_1 = {
"block": [1],
"class": ["test class 1"],
"student": ["test 1"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
def mock_return_validated_students(*args, **kwargs):
return ["test 1"]
schedule_builder = ScheduleBuilder()
monkeypatch.setattr(ScheduleBuilder, "_validate_students", mock_return_validated_students)
with pytest.raises(SchedulingError):
schedule_builder.build_schedule_from_file(
test_file, 0.2, max_tries=max_tries, verbose=verbose
)
if verbose:
assert "Student original number" in caplog.text
else:
assert "Student original number" not in caplog.text
@pytest.mark.parametrize("verbose", [True, False])
def test_build_schedule_restart(monkeypatch, tmp_path, caplog, verbose):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data_1 = {
"block": [1],
"class": ["test class 1"],
"student": ["test 1"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
def mock_return(*args, **kwargs):
return None
schedule_builder = ScheduleBuilder()
monkeypatch.setattr(ScheduleBuilder, "_fill_classes", mock_return)
with pytest.raises(SchedulingError):
schedule_builder.build_schedule_from_file(test_file, 0.2, max_tries=2, verbose=verbose)
if verbose:
assert "No schedule found. Retrying" in caplog.text
else:
assert "No schedule found. Retrying" not in caplog.text
def test_fill_classes_match_no_space(tmp_path):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data = {
"block": [1, 1, 2, 2],
"class": [
"test class 1",
"test class 1",
"test class 2",
"test class 2",
],
"student": ["test 1", "test 2", "test 1", "test 2"],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
fill_classes = [
{
"block": 1,
"class_name": "test class 1",
"total_students": 2,
"max_students": 1,
"num_classes": 1,
"classes": [set()],
},
{
"block": 2,
"class_name": "test class 2",
"total_students": 2,
"max_students": 1,
"num_classes": 1,
"classes": [set()],
},
]
student_classes_grouped = {
"test 1": {"blocks": {1: "test class 1", 2: "test class 2"}},
"test 2": {"blocks": {1: "test class 1", 2: "test class 2"}},
}
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_file)
fill_classes = schedule_builder._fill_classes(fill_classes, student_classes_grouped)
assert not fill_classes
def test_fill_classes_no_match_no_space(tmp_path):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data = {
"block": [1],
"class": [
"test class 1",
],
"student": ["test 1"],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
fill_classes = [
{
"block": 1,
"class_name": "test class 1",
"total_students": 1,
"max_students": 0,
"num_classes": 1,
"classes": [set()],
},
]
student_classes_grouped = {
"test 1": {"blocks": {1: "test class 1", 2: "test class 2"}},
}
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_file)
fill_classes = schedule_builder._fill_classes(fill_classes, student_classes_grouped)
assert not fill_classes
def test_fill_classes_match_move_day(tmp_path):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data = {
"block": [1, 2, 1, 2, 1, 2],
"class": [
"test class 1",
"test class 2",
"test class 1",
"test class 2",
"test class 1",
"test class 2",
],
"student": ["test 1", "test 1", "test 2", "test 2", "test 3", "test 3"],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
fill_classes = [
{
"block": 1,
"class_name": "test class 1",
"total_students": 3,
"max_students": 2,
"num_classes": 2,
"classes": [set(), set()],
},
{
"block": 2,
"class_name": "test class 2",
"total_students": 3,
"max_students": 2,
"num_classes": 2,
"classes": [set(), set()],
},
]
student_classes_grouped = {
"test 1": {"blocks": {1: "test class 1", 2: "test class 2"}},
"test 2": {"blocks": {1: "test class 1", 2: "test class 2"}},
"test 3": {"blocks": {1: "test class 1", 2: "test class 2"}},
}
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_file)
fill_classes = schedule_builder._fill_classes(fill_classes, student_classes_grouped)
class_size = [sorted([len(y) for y in x["classes"]]) for x in fill_classes]
expected = [[1, 2], [1, 2]]
assert expected == class_size
def test_find_matches(student_matches_check, test_schedule):
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
matches = schedule_builder._find_matches()
assert matches == student_matches_check
def test_find_matches_unused_order_found(tmp_path, caplog):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data = {
"block": [1, 1, 2, 2],
"class": [
"test class 1",
"test class 1",
"test class 2",
"test class 2",
],
"student": ["test 1", "test 2", "test 1", "test 2"],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
class TestingScheduleBuilder(ScheduleBuilder):
def __init__(self, schedule_file_path):
self.final_schedule_df = None
self._schedule_df = self._load_data(schedule_file_path)
self._attempted_df = [df]
self._attempt = 1
self._verbose = True
logging.basicConfig(format="%(asctime)s: %(levelname)s: %(message)s")
logging.root.setLevel(level=logging.INFO)
self._logger = logging.getLogger()
schedule_builder = TestingScheduleBuilder(test_file)
schedule_builder._find_matches()
assert "Unused student order found" in caplog.text
def test_find_matches_unused_order_not_found(tmp_path, caplog):
test_file = str(tmp_path.joinpath("data1.xlsx"))
data_1 = {
"block": [1, 1, 2, 2],
"class": [
"test class 1",
"test class 1",
"test class 2",
"test class 2",
],
"student": ["test 1", "test 2", "test 1", "test 2"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = {
"block": [1, 1, 2, 2],
"class": [
"test class 1",
"test class 1",
"test class 2",
"test class 2",
],
"student": ["test 2", "test 1", "test 2", "test 1"],
}
df_2 = pd.DataFrame(data_2)
class TestingScheduleBuilder(ScheduleBuilder):
def __init__(self, schedule_file_path):
self.final_schedule_df = None
self._schedule_df = self._load_data(schedule_file_path)
self._attempted_df = [df_1, df_2]
self._attempt = 1
self._verbose = True
logging.basicConfig(format="%(asctime)s: %(levelname)s: %(message)s")
logging.root.setLevel(level=logging.INFO)
self._logger = logging.getLogger()
schedule_builder = TestingScheduleBuilder(test_file)
schedule_builder._find_matches()
assert "No unused matches found" in caplog.text
def test_find_matches_retry(student_matches_check, test_schedule):
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
schedule_builder._find_matches()
matches = schedule_builder._find_matches()
m_keys = [x.keys() for x in matches]
s_keys = [x.keys() for x in student_matches_check]
m_vals = [[[sorted(z) for z in y] for y in (list(x.values()))] for x in matches]
s_vals = [[[sorted(z) for z in y] for y in (list(x.values()))] for x in student_matches_check]
assert m_keys == s_keys
assert m_vals == s_vals
def test_get_class_size(class_size_check, test_schedule):
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
class_size = schedule_builder._get_class_size()
assert class_size == class_size_check
def test_get_student_classes(student_classes_check, test_schedule):
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
student_classes = schedule_builder._get_student_classes()
assert student_classes == student_classes_check
@pytest.mark.parametrize("reduce_by", [0.1, 0.2, 0.5])
@pytest.mark.parametrize("smallest_allowed", [1, 5, 10])
def test_get_total_classes(class_size_check, reduce_by, smallest_allowed, test_schedule):
reduced_classes = reduce_classes_check(reduce_by, smallest_allowed, class_size_check)
check_total_classes = total_classes_check(reduced_classes)
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
total_classes = schedule_builder._get_total_classes(reduced_classes)
assert total_classes == check_total_classes
@pytest.mark.parametrize("reduce_by", [0.1, 0.2, 0.5])
@pytest.mark.parametrize("smallest_allowed", [1, 5, 10])
def test_init_classes(class_size_check, reduce_by, smallest_allowed, test_schedule):
expected = init_classes_check(class_size_check, reduce_by, smallest_allowed)
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
classes = schedule_builder._init_classes(reduce_by, smallest_allowed)
assert classes == expected
def test_init_schedule_builder(test_schedule):
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
test = pd.read_excel(str(test_schedule), engine="openpyxl")
assert test.equals(schedule_builder._schedule_df)
@pytest.mark.parametrize("reduce_by", [0.1, 0.2, 0.5])
@pytest.mark.parametrize("smallest_allowed", [1, 5, 10])
def test_reduce_class(class_size_check, reduce_by, smallest_allowed, test_schedule):
check_reduced = reduce_classes_check(reduce_by, smallest_allowed, class_size_check)
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
reduced_class = schedule_builder._reduce_class(class_size_check, reduce_by, smallest_allowed)
assert reduced_class == check_reduced
def test_save_schedule_to_file(tmp_path, test_schedule):
export_path = tmp_path.joinpath("schedule.xlsx")
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
schedule_builder.save_schedule(export_path)
assert export_path.exists()
def test_save_schedule_check_columns(tmp_path, test_schedule):
export_path = tmp_path.joinpath("schedule.xlsx")
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_schedule)
schedule_builder.save_schedule(export_path)
df_saved = pd.read_excel(export_path, engine="openpyxl")
columns = df_saved.columns.values.tolist()
assert columns == [
"block",
"class",
"total_students",
"max_students",
"num_classes",
"day_number",
"student",
]
def test_validate_class_size_pass(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data = {
"block": [
1,
1,
],
"class": [
"test class 1",
"test class 1",
],
"total_students": [
2,
2,
],
"max_students": [
2,
2,
],
"num_classes": [
1,
1,
],
"day_number": [
1,
1,
],
"student": [
"test 1",
"test 2",
],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
schedule_builder = ScheduleBuilder()
validate_df = schedule_builder._validate_class_size(df)
assert not validate_df
def test_validate_class_size_fail(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data = {
"block": [
1,
1,
],
"class": [
"test class 1",
"test class 1",
],
"total_students": [
2,
2,
],
"max_students": [
1,
1,
],
"num_classes": [
1,
1,
],
"day_number": [
1,
1,
],
"student": [
"test 1",
"test 2",
],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
schedule_builder = ScheduleBuilder()
validate_df = schedule_builder._validate_class_size(df)
expected_df = pd.DataFrame(
{
"block": [1],
"class": ["test class 1"],
"max_students": [1],
"day_number": [1],
"class_size": [2],
}
)
assert expected_df.equals(validate_df)
def test_validate_classes_pass(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data_1 = {
"block": [1, 2, 3, 1, 2],
"class": ["test class 1", "test class 2", "test class 3", "test class 1", "test class 2"],
"student": ["test 1", "test 1", "test 1", "test 2", "test 2"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = data_1 = {
"block": [1, 3, 2, 1, 2],
"class": [
"test class 1",
"test class 3",
"test class 2",
"test class 1",
"test class 2",
],
"student": ["test 1", "test 1", "test 1", "test 2", "test 2"],
}
df_2 = pd.DataFrame(data_2)
schedule_builder = ScheduleBuilder()
invalid_df = schedule_builder._validate_classes(df_2)
assert not invalid_df
def test_validate_classes_fail(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data_1 = {
"block": [1, 2, 3, 1, 2],
"class": ["test class 1", "test class 2", "test class 3", "test class 1", "test class 2"],
"student": ["test 1", "test 1", "test 1", "test 2", "test 2"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = {
"block": [1, 2, 1, 2],
"class": ["test class 1", "test class 2", "test class 1", "test class 2"],
"student": ["test 1", "test 1", "test 2", "test 2"],
}
df_2 = pd.DataFrame(data_2)
expected_df = pd.DataFrame(
{
"student": ["test 1"],
"original": 3,
"scheduled": 2,
}
).set_index("student")
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_file)
invalid_df = schedule_builder._validate_classes(df_2)
assert expected_df.equals(invalid_df)
def test_same_day_pass(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data = {
"block": [
1,
1,
2,
],
"class": [
"test class 1",
"test class 1",
"test class 3",
],
"total_students": [
2,
2,
1,
],
"max_students": [
2,
2,
1,
],
"num_classes": [
1,
1,
1,
],
"day_number": [
1,
1,
1,
],
"student": [
"test 1",
"test 2",
"test 1",
],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
schedule_builder = ScheduleBuilder()
validate = schedule_builder._validate_same_day(df)
assert not validate
def test_same_day_fail(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data = {
"block": [
1,
1,
2,
],
"class": [
"test class 1",
"test class 1",
"test class 3",
],
"total_students": [
2,
2,
1,
],
"max_students": [
2,
2,
1,
],
"num_classes": [
1,
1,
1,
],
"day_number": [
1,
1,
2,
],
"student": [
"test 1",
"test 2",
"test 1",
],
}
df = pd.DataFrame(data)
df.to_excel(test_file, index=False, engine="openpyxl")
schedule_builder = ScheduleBuilder()
validate = schedule_builder._validate_same_day(df)
expected_df = pd.DataFrame({"student": ["test 1"], "count": ["2"]})
assert not expected_df.equals(validate)
def test_validate_students_pass(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data_1 = {
"block": [1, 2, 3, 1, 2],
"class": ["test class 1", "test class 2", "test class 3", "test class 1", "test class 2"],
"student": ["test 1", "test 1", "test 1", "test 2", "test 2"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = data_1 = {
"block": [1, 3, 2, 1, 4],
"class": [
"test class 1",
"test class 3",
"test class 2",
"test class 1",
"test class 4",
],
"student": ["test 1", "test 1", "test 1", "test 2", "test 1"],
}
df_2 = pd.DataFrame(data_2)
schedule_builder = ScheduleBuilder()
invalid = schedule_builder._validate_students(df_2)
assert not invalid
def test_validate_students_fail(tmp_path):
test_file = str(tmp_path.joinpath("test.xlsx"))
data_1 = {
"block": [1, 2, 3, 1, 2],
"class": ["test class 1", "test class 2", "test class 3", "test class 1", "test class 2"],
"student": ["test 1", "test 1", "test 1", "test 2", "test 2"],
}
df_1 = pd.DataFrame(data_1)
df_1.to_excel(test_file, index=False, engine="openpyxl")
data_2 = {
"block": [1, 3, 2],
"class": [
"test class 1",
"test class 3",
"test class 2",
],
"student": ["test 1", "test 1", "test 1"],
}
df_2 = pd.DataFrame(data_2)
schedule_builder = ScheduleBuilder()
schedule_builder.build_schedule_from_file(test_file)
invalid = schedule_builder._validate_students(df_2)
assert len(invalid) == 1
assert "test 2" in invalid
def test_build_schedule_from_file_bad_extension():
with pytest.raises(ValueError):
schedule_bulder = ScheduleBuilder()
schedule_bulder.build_schedule_from_file("bad.zyz")
def test_save_schedule_no_schedule_error(tmp_path):
with pytest.raises(NoScheduleError):
schedule_builder = ScheduleBuilder()
schedule_builder.save_schedule(tmp_path / "test.xlsx")
def test_save_schedule_file_error(tmp_path, test_schedule):
with pytest.raises(ValueError):
schedule_bulder = ScheduleBuilder()
schedule_bulder.build_schedule_from_file(test_schedule)
schedule_bulder.save_schedule(tmp_path / "bad.xyz")
| 28.022805 | 100 | 0.583577 | 2,945 | 24,576 | 4.597284 | 0.054669 | 0.066475 | 0.039885 | 0.037226 | 0.855307 | 0.807076 | 0.782628 | 0.762612 | 0.751533 | 0.737499 | 0 | 0.028706 | 0.289836 | 24,576 | 876 | 101 | 28.054795 | 0.747035 | 0 | 0 | 0.740426 | 0 | 0 | 0.15979 | 0 | 0 | 0 | 0 | 0 | 0.049645 | 1 | 0.053901 | false | 0.005674 | 0.008511 | 0.007092 | 0.07234 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
399561606a408da9e5c0fbbc73104446f1ad799f | 10 | py | Python | testsuit/statutil/testsuit/foo.py | pahaz/bashtest | 27be6db6dbe19330f4a0b6b3e126cf01b52be3fc | [
"MIT"
] | 41 | 2016-07-27T09:23:34.000Z | 2021-06-30T10:57:50.000Z | testsuit/statutil/testsuit/foo.py | pahaz/bashtest | 27be6db6dbe19330f4a0b6b3e126cf01b52be3fc | [
"MIT"
] | 8 | 2016-08-10T19:22:47.000Z | 2016-09-10T17:34:49.000Z | testsuit/statutil/testsuit/foo.py | pahaz/bashtest | 27be6db6dbe19330f4a0b6b3e126cf01b52be3fc | [
"MIT"
] | 4 | 2017-12-26T16:20:44.000Z | 2019-11-24T23:02:50.000Z | A=1
b=A+1
| 3.333333 | 5 | 0.5 | 5 | 10 | 1 | 0.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.2 | 10 | 2 | 6 | 5 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
39af4c7521dfbeac9407e8ac084f10cd5c786f46 | 156 | py | Python | tests/colmodel/__init__.py | longfengpili/dbapi | 5b56e651d019e9ed36a431b3f3cf8be4cbd6881d | [
"MIT"
] | 1 | 2021-10-21T09:08:45.000Z | 2021-10-21T09:08:45.000Z | tests/colmodel/__init__.py | longfengpili/pydbapi | 1e25d7724425c70638192c7d6670e4d4f8392ded | [
"MIT"
] | null | null | null | tests/colmodel/__init__.py | longfengpili/pydbapi | 1e25d7724425c70638192c7d6670e4d4f8392ded | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# @Author: chunyang.xu
# @Date: 2021-09-24 12:09:53
# @Last Modified by: chunyang.xu
# @Last Modified time: 2021-09-24 12:09:56
| 26 | 42 | 0.628205 | 27 | 156 | 3.62963 | 0.62963 | 0.204082 | 0.163265 | 0.204082 | 0.244898 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224806 | 0.173077 | 156 | 5 | 43 | 31.2 | 0.534884 | 0.929487 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f2d419a019e5751a83c7153576a4ea86a94a6c20 | 181 | py | Python | lane/gaussian_blur.py | jo-ny/CarND-Advanced-Lane-Lines | 9362e11cdd239fbf7422fa057a44734d9c0938d3 | [
"MIT"
] | null | null | null | lane/gaussian_blur.py | jo-ny/CarND-Advanced-Lane-Lines | 9362e11cdd239fbf7422fa057a44734d9c0938d3 | [
"MIT"
] | null | null | null | lane/gaussian_blur.py | jo-ny/CarND-Advanced-Lane-Lines | 9362e11cdd239fbf7422fa057a44734d9c0938d3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import cv2
def gaussian_blur(img, kernel_size):
"""Applies a Gaussian Noise kernel"""
return cv2.GaussianBlur(img, (kernel_size, kernel_size), 0)
| 20.111111 | 63 | 0.679558 | 25 | 181 | 4.76 | 0.68 | 0.252101 | 0.218487 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026667 | 0.171271 | 181 | 8 | 64 | 22.625 | 0.766667 | 0.298343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f2d52729332cd05aba1031128030392ea03a99c5 | 1,539 | py | Python | test/test_change_group.py | KatrinkaYu/Task1 | 8913b1ccddb4aa1fb3dba0813613da3097a36d61 | [
"Apache-2.0"
] | null | null | null | test/test_change_group.py | KatrinkaYu/Task1 | 8913b1ccddb4aa1fb3dba0813613da3097a36d61 | [
"Apache-2.0"
] | null | null | null | test/test_change_group.py | KatrinkaYu/Task1 | 8913b1ccddb4aa1fb3dba0813613da3097a36d61 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.group import Group
import random
def test_change_some_group_name(app, db, check_ui):
if len(db.get_group_list()) == 0:
app.group.create(Group(name="group", header="new", footer="new_1"))
old_groups = db.get_group_list()
old_group = random.choice(old_groups)
id = old_group.id
group = Group(name="change_group")
app.group.change_by_id(id, group)
new_groups = db.get_group_list()
group.id = id
old_groups.insert(old_groups.index(old_group), group)
old_groups.remove(old_group)
assert sorted(old_groups, key=Group.id_or_max) == sorted(new_groups, key=Group.id_or_max)
if check_ui:
assert sorted(new_groups, key=Group.id_or_max) == sorted(app.group.get_group_list(), key=Group.id_or_max)
def test_change_some_group_header(app, db, check_ui):
if len(db.get_group_list()) == 0:
app.group.create(Group(name="group", header="new", footer="new_1"))
old_groups = db.get_group_list()
old_group = random.choice(old_groups)
id = old_group.id
group = Group(header="change_new_group")
app.group.change_by_id(id, group)
group.id =id
group.name = old_group.name
new_groups = db.get_group_list()
old_groups.insert(old_groups.index(old_group), group)
old_groups.remove(old_group)
assert sorted(old_groups, key=Group.id_or_max) == sorted(new_groups, key=Group.id_or_max)
if check_ui:
assert sorted(new_groups, key=Group.id_or_max) == sorted(app.group.get_group_list(), key=Group.id_or_max) | 41.594595 | 113 | 0.708902 | 254 | 1,539 | 3.980315 | 0.15748 | 0.106825 | 0.094955 | 0.094955 | 0.880317 | 0.836795 | 0.791296 | 0.791296 | 0.731949 | 0.731949 | 0 | 0.003858 | 0.157895 | 1,539 | 37 | 114 | 41.594595 | 0.776235 | 0.013645 | 0 | 0.787879 | 0 | 0 | 0.035597 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 1 | 0.060606 | false | 0 | 0.060606 | 0 | 0.121212 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f2d88d73627367cd22403dd37f802e72859c7597 | 7,132 | py | Python | data/digits.py | sangdon/calibration-under-covariateshift | b1ed33d253a0c2539f8dd910b9ffa63150a14383 | [
"Apache-2.0"
] | 2 | 2021-05-18T05:43:19.000Z | 2021-08-23T02:23:13.000Z | data/digits.py | sangdon/calibration-under-covariateshift | b1ed33d253a0c2539f8dd910b9ffa63150a14383 | [
"Apache-2.0"
] | null | null | null | data/digits.py | sangdon/calibration-under-covariateshift | b1ed33d253a0c2539f8dd910b9ffa63150a14383 | [
"Apache-2.0"
] | null | null | null | import types
import os, sys
import torch as tc
from torchvision import datasets, transforms
from torch.utils.data import DataLoader, TensorDataset
def loadMNIST(
root, batch_size, image_size=28, gray=True, load_memory=False, tform_aug=None,
train_shuffle=True, val_shuffle=True, test_shuffle=False):
mnist_root = root
tforms = []
# gray scaling
if gray:
tforms.append(transforms.Grayscale(1))
else:
tforms.append(transforms.Grayscale(3))
# resize
tforms.append(transforms.Resize([image_size, image_size]))
# data augmetation
if tform_aug is not None:
# tform_aug = transforms.RandomAffine(degrees=15, scale=(0.8, 1.2))
tforms.append(tform_aug)
# tform to tensor
tforms.append(transforms.ToTensor())
ld = types.SimpleNamespace()
# train
if load_memory:
ld.train = DataLoader(
datasets.ImageFolder(
os.path.join(mnist_root, "train"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=False, num_workers=0)
xs_tr = tc.cat([x for x, _ in ld.train], 0)
ys_tr = tc.cat([y for _, y in ld.train], 0)
ld.train = DataLoader(
TensorDataset(xs_tr, ys_tr), batch_size=batch_size, shuffle=train_shuffle, num_workers=4)
else:
ld.train = DataLoader(
datasets.ImageFolder(
os.path.join(mnist_root, "train"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=train_shuffle, num_workers=4)
# val
if load_memory:
ld.val = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(mnist_root, "val"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=False, num_workers=0)
xs_val = tc.cat([x for x, _ in ld.val], 0)
ys_val = tc.cat([y for _, y in ld.val], 0)
ld.val = DataLoader(
TensorDataset(xs_val, ys_val), batch_size=batch_size, shuffle=val_shuffle, num_workers=4)
else:
ld.val = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(mnist_root, "val"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=val_shuffle, num_workers=4)
# test
if load_memory:
ld.test = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(mnist_root, "test"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=False, num_workers=0)
xs_te = tc.cat([x for x, _ in ld.test], 0)
ys_te = tc.cat([y for _, y in ld.test], 0)
ld.test = DataLoader(
TensorDataset(xs_te, ys_te), batch_size=batch_size, shuffle=test_shuffle, num_workers=0)
else:
ld.test = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(mnist_root, "test"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=test_shuffle, num_workers=0)
return ld
def loadUSPS(
root, batch_size, image_size=16, gray=True, tform_aug=None,
train_shuffle=True, val_shuffle=True, test_shuffle=False):
usps_root = root
tforms = []
if gray:
tforms.append(transforms.Grayscale(1))
else:
tforms.append(transforms.Grayscale(3))
tforms.append(transforms.Resize([image_size, image_size]))
# data augmetation
if tform_aug is not None:
# tform_aug = transforms.RandomAffine(degrees=15, scale=(0.8, 1.2))
tforms.append(tform_aug)
# tform to tensor
tforms.append(transforms.ToTensor())
ld = types.SimpleNamespace()
ld.train = tc.utils.data.DataLoader(
datasets.ImageFolder(os.path.join(usps_root, "train"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=train_shuffle, num_workers=4)
ld.val = tc.utils.data.DataLoader(
datasets.ImageFolder(os.path.join(usps_root, "val"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=val_shuffle, num_workers=4)
ld.test = tc.utils.data.DataLoader(
datasets.ImageFolder(os.path.join(usps_root, "test"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=test_shuffle, num_workers=0)
return ld
def loadSVHN(
root, batch_size, image_size=32, gray=False, load_memory=False, tform_aug=None,
train_shuffle=True, val_shuffle=True, test_shuffle=False):
svhn_root = root
tforms = []
if gray:
tforms.append(transforms.Grayscale())
tforms.append(transforms.Resize([image_size, image_size]))
# data augmetation
if tform_aug is not None:
# tform_aug = transforms.RandomAffine(degrees=15, scale=(0.8, 1.2))
tforms.append(tform_aug)
# tform to tensor
tforms.append(transforms.ToTensor())
ld = types.SimpleNamespace()
if load_memory:
ld.train = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(svhn_root, "train"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=False, num_workers=0)
ld.val = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(svhn_root, "val"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=False, num_workers=0)
ld.test = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(svhn_root, "test"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=False, num_workers=0)
xs_tr = tc.cat([x for x, _ in ld.train], 0)
ys_tr = tc.cat([y for _, y in ld.train], 0)
ld.train = DataLoader(
TensorDataset(xs_tr, ys_tr), batch_size=batch_size, shuffle=train_shuffle, num_workers=0)
xs_val = tc.cat([x for x, _ in ld.val], 0)
ys_val = tc.cat([y for _, y in ld.val], 0)
ld.val = DataLoader(
TensorDataset(xs_val, ys_val), batch_size=batch_size, shuffle=val_shuffle, num_workers=0)
xs_te = tc.cat([x for x, _ in ld.test], 0)
ys_te = tc.cat([y for _, y in ld.test], 0)
ld.test = DataLoader(
TensorDataset(xs_te, ys_te), batch_size=batch_size, shuffle=test_shuffle, num_workers=0)
else:
ld.train = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(svhn_root, "train"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=train_shuffle, num_workers=4)
ld.val = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(svhn_root, "val"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=val_shuffle, num_workers=4)
ld.test = tc.utils.data.DataLoader(
datasets.ImageFolder(
os.path.join(svhn_root, "test"), transform=transforms.Compose(tforms)),
batch_size=batch_size, shuffle=test_shuffle, num_workers=0)
return ld | 43.487805 | 102 | 0.640213 | 936 | 7,132 | 4.695513 | 0.088675 | 0.09215 | 0.066894 | 0.086007 | 0.940387 | 0.919909 | 0.918089 | 0.918089 | 0.918089 | 0.903299 | 0 | 0.011303 | 0.24327 | 7,132 | 164 | 103 | 43.487805 | 0.803039 | 0.050337 | 0 | 0.839416 | 0 | 0 | 0.008877 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021898 | false | 0 | 0.036496 | 0 | 0.080292 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
f2f7c6397dc728583efc05067fff1eddd42c2d52 | 11,493 | py | Python | tests/test_poscar.py | espenfl/parsevasp | 5e4801937c70637a2d888c604fa4ab59503a1bef | [
"MIT"
] | 3 | 2018-12-15T06:03:45.000Z | 2019-04-26T08:53:04.000Z | tests/test_poscar.py | espenfl/parsevasp | 5e4801937c70637a2d888c604fa4ab59503a1bef | [
"MIT"
] | 7 | 2018-05-03T09:37:03.000Z | 2019-07-31T10:13:52.000Z | tests/test_poscar.py | espenfl/parsevasp | 5e4801937c70637a2d888c604fa4ab59503a1bef | [
"MIT"
] | 2 | 2018-12-15T03:18:02.000Z | 2019-01-22T14:22:54.000Z | import os
import pytest
import numpy as np
from parsevasp.poscar import Poscar, Site
@pytest.fixture(scope='module')
def poscar_parser():
"""Load POSCAR file.
"""
testdir = os.path.dirname(__file__)
poscarfile = testdir + '/POSCAR'
poscar = Poscar(file_path=poscarfile)
return poscar
@pytest.fixture(scope='module')
def poscar_parser_file_object():
"""Load POSCAR file using a file object.
"""
testdir = os.path.dirname(__file__)
poscarfile = testdir + '/POSCAR'
poscar = None
with open(poscarfile) as file_handler:
poscar = Poscar(file_handler=file_handler)
return poscar
@pytest.fixture(scope='module')
def poscar_parser_names():
"""Load POSCAR file.
"""
testdir = os.path.dirname(__file__)
poscarfile = testdir + '/POSCARNAMES'
poscar = Poscar(file_path=poscarfile)
return poscar
@pytest.fixture(scope='module')
def poscar_parser_vel():
"""Load POSCAR file.
"""
testdir = os.path.dirname(__file__)
poscarfile = testdir + '/POSCARVEL'
poscar = Poscar(file_path=poscarfile)
return poscar
def test_poscar_exist(poscar_parser):
"""Check if poscar_parser exists.
"""
assert poscar_parser.get_dict()
def test_poscar_entries(poscar_parser_names):
"""Check that the POSCAR do not have to have
elemental names.
"""
poscar = poscar_parser_names.get_dict()
sites = poscar['sites']
test = {
'specie': 'Hamburger',
'position': np.array([0.24999947, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
assert sites[0]['specie'] == test['specie']
test = {
'specie': 'Pizza',
'position': np.array([0., 0.33510051, 0.15804985]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
assert sites[8]['specie'] == test['specie']
def test_poscar_entries(poscar_parser):
"""Check POSCAR entries.
"""
poscar = poscar_parser.get_dict()
assert poscar['comment'] == 'Compound: Co7Sb24.'
unitcell = poscar['unitcell']
test = np.array([[9.0164589999999993, 0.,
0.], [0., 9.0164589999999993, 0.],
[0., 0., 9.0164589999999993]])
np.testing.assert_allclose(unitcell, test)
sites = poscar['sites']
assert len(sites) == 32
test = {
'specie': 'Co',
'position': np.array([0.24999947, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[0]['position'], test['position'])
assert sites[0]['specie'] == test['specie']
assert sites[0]['selective'] == [True, True, True]
assert sites[0]['velocities'] == None
np.testing.assert_allclose(sites[0]['predictors'],
np.array([0.0, 0.0, 0.0]))
assert sites[0]['direct']
test = {
'specie': 'Co',
'position': np.array([0.74999953, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocties': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[7]['position'], test['position'])
assert sites[7]['specie'] == test['specie']
assert sites[7]['selective'] == [True, True, True]
assert sites[7]['velocities'] == None
np.testing.assert_allclose(sites[7]['predictors'],
np.array([8.0, 0.0, 0.0]))
assert sites[7]['direct']
test = {
'specie': 'Sb',
'position': np.array([0., 0.33510051, 0.15804985]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[8]['position'], test['position'])
assert sites[8]['specie'] == test['specie']
assert sites[8]['selective'] == [True, True, True]
assert sites[8]['velocities'] == None
np.testing.assert_allclose(sites[8]['predictors'],
np.array([0.0, 9.0, 0.0]))
assert sites[8]['direct']
def test_poscar_entries_file_object(poscar_parser_file_object):
"""Check POSCAR entries.
"""
poscar = poscar_parser_file_object.get_dict()
assert poscar['comment'] == 'Compound: Co7Sb24.'
unitcell = poscar['unitcell']
test = np.array([[9.0164589999999993, 0.,
0.], [0., 9.0164589999999993, 0.],
[0., 0., 9.0164589999999993]])
np.testing.assert_allclose(unitcell, test)
sites = poscar['sites']
assert len(sites) == 32
test = {
'specie': 'Co',
'position': np.array([0.24999947, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[0]['position'], test['position'])
assert sites[0]['specie'] == test['specie']
assert sites[0]['selective'] == [True, True, True]
assert sites[0]['velocities'] == None
np.testing.assert_allclose(sites[0]['predictors'],
np.array([0.0, 0.0, 0.0]))
assert sites[0]['direct']
test = {
'specie': 'Co',
'position': np.array([0.74999953, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocties': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[7]['position'], test['position'])
assert sites[7]['specie'] == test['specie']
assert sites[7]['selective'] == [True, True, True]
assert sites[7]['velocities'] == None
np.testing.assert_allclose(sites[7]['predictors'],
np.array([8.0, 0.0, 0.0]))
assert sites[7]['direct']
test = {
'specie': 'Sb',
'position': np.array([0., 0.33510051, 0.15804985]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[8]['position'], test['position'])
assert sites[8]['specie'] == test['specie']
assert sites[8]['selective'] == [True, True, True]
assert sites[8]['velocities'] == None
np.testing.assert_allclose(sites[8]['predictors'],
np.array([0.0, 9.0, 0.0]))
assert sites[8]['direct']
def test_poscar_entries_vel(poscar_parser_vel):
"""Check POSCAR entries including velocities.
"""
poscar = poscar_parser_vel.get_dict()
assert poscar['comment'] == 'Compound: Co7Sb24.'
unitcell = poscar['unitcell']
test = np.array([[9.0164589999999993, 0.,
0.], [0., 9.0164589999999993, 0.],
[0., 0., 9.0164589999999993]])
np.testing.assert_allclose(unitcell, test)
sites = poscar['sites']
assert len(sites) == 32
test = {
'specie': 'Co',
'position': np.array([0.24999947, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[0]['position'], test['position'])
assert sites[0]['specie'] == test['specie']
assert sites[0]['selective'] == [True, True, True]
np.testing.assert_allclose(sites[0]['velocities'],
np.array([1.0, 0.0, 0.0]))
np.testing.assert_allclose(sites[0]['predictors'],
np.array([0.0, 0.0, 0.0]))
assert sites[0]['direct']
test = {
'specie': 'Co',
'position': np.array([0.74999953, 0.24999947, 0.24999947]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[7]['position'], test['position'])
assert sites[7]['specie'] == test['specie']
assert sites[7]['selective'] == [True, True, True]
np.testing.assert_allclose(sites[7]['velocities'],
np.array([10.0, 1.0, 0.0]))
np.testing.assert_allclose(sites[7]['predictors'],
np.array([8.0, 0.0, 0.0]))
assert sites[7]['direct']
test = {
'specie': 'Sb',
'position': np.array([0., 0.33510051, 0.15804985]),
'selective': [True, True, True],
'velocties': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[8]['position'], test['position'])
assert sites[8]['specie'] == test['specie']
assert sites[8]['selective'] == [True, True, True]
np.testing.assert_allclose(sites[8]['velocities'],
np.array([0.0, 0.0, 14.0]))
np.testing.assert_allclose(sites[8]['predictors'],
np.array([0.0, 9.0, 0.0]))
assert sites[8]['direct']
def test_poscar_entries_string():
"""Test to check inititialization using string.
"""
unitcell = np.array([[9.0164589999999993, 0., 0.],
[0., 9.0164589999999993, 0.],
[0., 0., 9.0164589999999993]])
sites = []
sites.append(
Site('Co', np.array([0.0, 0.0, 0.0]), [True, True, True], None, None,
True))
poscar_dict = {
'comment': 'Example file',
'unitcell': unitcell,
'sites': sites
}
poscar_parser = Poscar(poscar_dict=poscar_dict)
poscar = poscar_parser.get_dict()
assert poscar['comment'] == 'Example file'
unitcell = poscar['unitcell']
test = np.array([[9.0164589999999993, 0.,
0.], [0., 9.0164589999999993, 0.],
[0., 0., 9.0164589999999993]])
np.testing.assert_allclose(unitcell, test)
sites = poscar['sites']
assert len(sites) == 1
test = {
'specie': 'Co',
'position': np.array([0.0, 0.0, 0.0]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[0]['position'], test['position'])
assert sites[0]['specie'] == test['specie']
assert sites[0]['selective'] == [True, True, True]
assert sites[0]['velocities'] == None
assert sites[0]['predictors'] == None
assert sites[0]['direct']
def test_poscar_entries(poscar_parser):
"""Check that get_dict can return cartesian coordinates.
"""
poscar = poscar_parser.get_dict(direct=False)
sites = poscar['sites']
test = {
'specie': 'Co',
'position': np.array([2.25411, 2.25411, 2.25411]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[0]['position'], test['position'])
test = {
'specie': 'Co',
'position': np.array([6.76234, 2.25411, 2.25411]),
'selective': [True, True, True],
'velocties': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[7]['position'], test['position'])
test = {
'specie': 'Sb',
'position': np.array([0., 3.02142, 1.42505]),
'selective': [True, True, True],
'velocities': None,
'predictors': None,
'direct': True
}
np.testing.assert_allclose(sites[8]['position'], test['position'])
assert not sites[8]['direct']
| 31.836565 | 77 | 0.564082 | 1,310 | 11,493 | 4.864122 | 0.075573 | 0.024796 | 0.022599 | 0.104677 | 0.860013 | 0.848242 | 0.819837 | 0.787508 | 0.768989 | 0.738544 | 0 | 0.090235 | 0.260419 | 11,493 | 360 | 78 | 31.925 | 0.659412 | 0.036631 | 0 | 0.771626 | 0 | 0 | 0.157182 | 0 | 0 | 0 | 0 | 0 | 0.273356 | 1 | 0.038062 | false | 0 | 0.013841 | 0 | 0.065744 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
84024b103e485f032e82179f8c57ff0bd00582fa | 231 | py | Python | scripts/rename.py | alexboden/nba-who-has-more | 590ba8bd062b96ff866c13988eb79a8c7ff0f488 | [
"MIT"
] | null | null | null | scripts/rename.py | alexboden/nba-who-has-more | 590ba8bd062b96ff866c13988eb79a8c7ff0f488 | [
"MIT"
] | null | null | null | scripts/rename.py | alexboden/nba-who-has-more | 590ba8bd062b96ff866c13988eb79a8c7ff0f488 | [
"MIT"
] | null | null | null | import os
os.chdir('/Users/alexanderboden/Documents/GitHub/SideProjects/NBA/alltimegreatgamelogs')
for f in os.listdir('/Users/alexanderboden/Documents/GitHub/SideProjects/NBA/alltimegreatgamelogs'):
os.rename(f, f + ".csv")
| 33 | 100 | 0.78355 | 28 | 231 | 6.464286 | 0.571429 | 0.209945 | 0.309392 | 0.375691 | 0.762431 | 0.762431 | 0.762431 | 0 | 0 | 0 | 0 | 0 | 0.073593 | 231 | 6 | 101 | 38.5 | 0.845794 | 0 | 0 | 0 | 0 | 0 | 0.675325 | 0.658009 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
845df245d893bb831e207d7ac74f6e1b6ca6119e | 8,037 | py | Python | remodet_repository_wdh_part/Projects/PyLib/NetLib/FSNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/FSNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | remodet_repository_wdh_part/Projects/PyLib/NetLib/FSNet.py | UrwLee/Remo_experience | a59d5b9d6d009524672e415c77d056bc9dd88c72 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import caffe
from caffe import layers as L
from caffe import params as P
from caffe.proto import caffe_pb2
import sys
sys.dont_write_bytecode = True
from ConvBNLayer import *
from PvaNet import *
from FireLayer import *
from YoloNet import *
def FSNet(net, from_layer="data", lr=1, decay=1):
net = YoloNetPart(net, from_layer="data", use_layers=2, use_sub_layers=1, final_pool=False)
# pool2
net.pool2 = L.Pooling(net["conv2"], pool=P.Pooling.MAX, kernel_size=2, stride=2)
# conv3
net = FireLayer_NBN(net, "pool2", "conv3_1", s_channels=16, e_channels_1=64, e_channels_2=64, lr=lr, decay=decay)
net = FireLayer_NBN(net, "conv3_1", "conv3_2", s_channels=16, e_channels_1=64, e_channels_2=64, lr=lr, decay=decay)
# pool3
net.pool3 = L.Pooling(net["conv3_2"], pool=P.Pooling.MAX, kernel_size=2, stride=2)
# conv4
net = FireLayer_NBN(net, "pool3", "conv4_1", s_channels=32, e_channels_1=128, e_channels_2=128, lr=lr, decay=decay)
net = FireLayer_NBN(net, "conv4_1", "conv4_2", s_channels=32, e_channels_1=128, e_channels_2=128, lr=lr, decay=decay)
# net = FireLayer_NBN(net, "conv4_2", "conv4_3", s_channels=32, e_channels_1=128, e_channels_2=128, lr=lr, decay=decay)
# pool4
net.pool4 = L.Pooling(net["conv4_2"], pool=P.Pooling.MAX, kernel_size=2, stride=2)
# conv5
net = FireLayer_NBN(net, "pool4", "conv5_1", s_channels=64, e_channels_1=256, e_channels_2=256, lr=lr, decay=decay)
net = FireLayer_NBN(net, "conv5_1", "conv5_2", s_channels=64, e_channels_1=256, e_channels_2=256, lr=lr, decay=decay)
net = FireLayer_NBN(net, "conv5_2", "conv5_3", s_channels=64, e_channels_1=256, e_channels_2=256, lr=lr, decay=decay)
# pool5
net.pool5 = L.Pooling(net["conv5_3"], pool=P.Pooling.MAX, kernel_size=2, stride=2)
# conv6
net = FireLayer_NBN(net, "pool5", "conv6_1", s_channels=128, e_channels_1=512, e_channels_2=512, lr=lr, decay=decay)
net = FireLayer_NBN(net, "conv6_1", "conv6_2", s_channels=128, e_channels_1=512, e_channels_2=512, lr=lr, decay=decay)
net = FireLayer_NBN(net, "conv6_2", "conv6_3", s_channels=128, e_channels_1=512, e_channels_2=512, lr=lr, decay=decay)
return net
def ReDNet(net, from_layer="data", use_bn=False):
# 3/1/1 -32-64
net = YoloNetPart(net, from_layer="data", use_bn=use_bn, use_layers=2, use_sub_layers=1, final_pool=False)
# pool2
net.pool2 = L.Pooling(net["conv2"], pool=P.Pooling.MAX, kernel_size=2, stride=2)
# conv3
from_layer = "pool2"
out_layer = "conv3_1"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=16, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv3_2"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=128, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv3_3"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=16, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv3_4"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=128, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv3_5"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=16, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv3_6"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=128, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "pool3"
net[out_layer] = L.Pooling(net[from_layer], pool=P.Pooling.MAX, kernel_size=2, stride=2)
from_layer = out_layer
out_layer = "conv4_1"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=32, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv4_2"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=256, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv4_3"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=32, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv4_4"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=256, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv4_5"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=32, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv4_6"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=256, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "pool4"
net[out_layer] = L.Pooling(net[from_layer], pool=P.Pooling.MAX, kernel_size=2, stride=2)
from_layer = out_layer
out_layer = "conv5_1"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=64, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv5_2"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=512, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv5_3"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=64, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv5_4"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=512, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv5_5"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=64, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv5_6"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=512, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "pool5"
net[out_layer] = L.Pooling(net[from_layer], pool=P.Pooling.MAX, kernel_size=2, stride=2)
from_layer = out_layer
out_layer = "conv6_1"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=64, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv6_2"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=512, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv6_3"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=64, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv6_4"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=512, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv6_5"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=64, kernel_size=1, pad=0, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
out_layer = "conv6_6"
ConvBNUnitLayer(net, from_layer, out_layer, use_bn=use_bn, use_relu=True, \
num_output=512, kernel_size=3, pad=1, stride=1, use_scale=True, leaky=True)
from_layer = out_layer
return net
| 49.611111 | 123 | 0.719298 | 1,384 | 8,037 | 3.875723 | 0.056358 | 0.120805 | 0.186614 | 0.161633 | 0.888516 | 0.887584 | 0.883296 | 0.868755 | 0.865399 | 0.859247 | 0 | 0.056762 | 0.151674 | 8,037 | 161 | 124 | 49.919255 | 0.729979 | 0.026378 | 0 | 0.594203 | 0 | 0 | 0.046985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.014493 | false | 0 | 0.072464 | 0 | 0.101449 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
fffdbd5598c30f4d463c5d734a4619c3101ff0f6 | 94 | py | Python | views/__init__.py | BeanWei/WechatBot4XianYu | fc9ec4fdb1edbe47e7e2923c31c98c126382672e | [
"MIT"
] | 75 | 2019-03-11T14:26:54.000Z | 2022-03-19T03:42:40.000Z | views/__init__.py | BeanWei/WechatBot4XianYu | fc9ec4fdb1edbe47e7e2923c31c98c126382672e | [
"MIT"
] | 2 | 2019-03-08T08:37:31.000Z | 2020-05-23T12:23:55.000Z | views/__init__.py | BeanWei/WechatBot4XianYu | fc9ec4fdb1edbe47e7e2923c31c98c126382672e | [
"MIT"
] | 15 | 2019-03-01T05:56:02.000Z | 2021-08-22T03:41:49.000Z | from flask import Blueprint
json_api = Blueprint('json_api', __name__)
from . import api | 18.8 | 43 | 0.744681 | 13 | 94 | 4.923077 | 0.538462 | 0.40625 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180851 | 94 | 5 | 44 | 18.8 | 0.831169 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 7 |
08325f980210885de238e7193c186c1dae604965 | 71,245 | py | Python | sdk/python/pulumi_spotinst/aws/ocean_launch_spec.py | pulumi/pulumi-spotinst | 75592d6293d63f6cec703722f2e02ff1fb1cca44 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2019-12-21T20:50:43.000Z | 2021-12-01T20:57:38.000Z | sdk/python/pulumi_spotinst/aws/ocean_launch_spec.py | pulumi/pulumi-spotinst | 75592d6293d63f6cec703722f2e02ff1fb1cca44 | [
"ECL-2.0",
"Apache-2.0"
] | 103 | 2019-12-09T22:03:16.000Z | 2022-03-30T17:07:34.000Z | sdk/python/pulumi_spotinst/aws/ocean_launch_spec.py | pulumi/pulumi-spotinst | 75592d6293d63f6cec703722f2e02ff1fb1cca44 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from . import outputs
from ._inputs import *
__all__ = ['OceanLaunchSpecArgs', 'OceanLaunchSpec']
@pulumi.input_type
class OceanLaunchSpecArgs:
def __init__(__self__, *,
ocean_id: pulumi.Input[str],
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]] = None,
create_options: Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']] = None,
delete_options: Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']] = None,
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]] = None,
iam_instance_profile: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]] = None,
name: Optional[pulumi.Input[str]] = None,
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]] = None,
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
root_volume_size: Optional[pulumi.Input[int]] = None,
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
taints: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]] = None,
update_policy: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']] = None,
user_data: Optional[pulumi.Input[str]] = None):
"""
The set of arguments for constructing a OceanLaunchSpec resource.
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]] labels: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] name: The name of the Virtual Node Group.
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]] taints: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
"""
pulumi.set(__self__, "ocean_id", ocean_id)
if associate_public_ip_address is not None:
pulumi.set(__self__, "associate_public_ip_address", associate_public_ip_address)
if autoscale_headrooms is not None:
pulumi.set(__self__, "autoscale_headrooms", autoscale_headrooms)
if block_device_mappings is not None:
pulumi.set(__self__, "block_device_mappings", block_device_mappings)
if create_options is not None:
pulumi.set(__self__, "create_options", create_options)
if delete_options is not None:
pulumi.set(__self__, "delete_options", delete_options)
if elastic_ip_pools is not None:
pulumi.set(__self__, "elastic_ip_pools", elastic_ip_pools)
if iam_instance_profile is not None:
pulumi.set(__self__, "iam_instance_profile", iam_instance_profile)
if image_id is not None:
pulumi.set(__self__, "image_id", image_id)
if instance_types is not None:
pulumi.set(__self__, "instance_types", instance_types)
if labels is not None:
pulumi.set(__self__, "labels", labels)
if name is not None:
pulumi.set(__self__, "name", name)
if preferred_spot_types is not None:
pulumi.set(__self__, "preferred_spot_types", preferred_spot_types)
if resource_limits is not None:
pulumi.set(__self__, "resource_limits", resource_limits)
if restrict_scale_down is not None:
pulumi.set(__self__, "restrict_scale_down", restrict_scale_down)
if root_volume_size is not None:
pulumi.set(__self__, "root_volume_size", root_volume_size)
if scheduling_tasks is not None:
pulumi.set(__self__, "scheduling_tasks", scheduling_tasks)
if security_groups is not None:
pulumi.set(__self__, "security_groups", security_groups)
if strategies is not None:
pulumi.set(__self__, "strategies", strategies)
if subnet_ids is not None:
pulumi.set(__self__, "subnet_ids", subnet_ids)
if tags is not None:
pulumi.set(__self__, "tags", tags)
if taints is not None:
pulumi.set(__self__, "taints", taints)
if update_policy is not None:
pulumi.set(__self__, "update_policy", update_policy)
if user_data is not None:
pulumi.set(__self__, "user_data", user_data)
@property
@pulumi.getter(name="oceanId")
def ocean_id(self) -> pulumi.Input[str]:
"""
The ID of the Ocean cluster.
"""
return pulumi.get(self, "ocean_id")
@ocean_id.setter
def ocean_id(self, value: pulumi.Input[str]):
pulumi.set(self, "ocean_id", value)
@property
@pulumi.getter(name="associatePublicIpAddress")
def associate_public_ip_address(self) -> Optional[pulumi.Input[bool]]:
"""
Configure public IP address allocation.
"""
return pulumi.get(self, "associate_public_ip_address")
@associate_public_ip_address.setter
def associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "associate_public_ip_address", value)
@property
@pulumi.getter(name="autoscaleHeadrooms")
def autoscale_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]:
"""
Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
"""
return pulumi.get(self, "autoscale_headrooms")
@autoscale_headrooms.setter
def autoscale_headrooms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]):
pulumi.set(self, "autoscale_headrooms", value)
@property
@pulumi.getter(name="blockDeviceMappings")
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]:
"""
Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
"""
return pulumi.get(self, "block_device_mappings")
@block_device_mappings.setter
def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]):
pulumi.set(self, "block_device_mappings", value)
@property
@pulumi.getter(name="createOptions")
def create_options(self) -> Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']]:
return pulumi.get(self, "create_options")
@create_options.setter
def create_options(self, value: Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']]):
pulumi.set(self, "create_options", value)
@property
@pulumi.getter(name="deleteOptions")
def delete_options(self) -> Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']]:
return pulumi.get(self, "delete_options")
@delete_options.setter
def delete_options(self, value: Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']]):
pulumi.set(self, "delete_options", value)
@property
@pulumi.getter(name="elasticIpPools")
def elastic_ip_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]]:
"""
Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
"""
return pulumi.get(self, "elastic_ip_pools")
@elastic_ip_pools.setter
def elastic_ip_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]]):
pulumi.set(self, "elastic_ip_pools", value)
@property
@pulumi.getter(name="iamInstanceProfile")
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
"""
The ARN or name of an IAM instance profile to associate with launched instances.
"""
return pulumi.get(self, "iam_instance_profile")
@iam_instance_profile.setter
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "iam_instance_profile", value)
@property
@pulumi.getter(name="imageId")
def image_id(self) -> Optional[pulumi.Input[str]]:
"""
ID of the image used to launch the instances.
"""
return pulumi.get(self, "image_id")
@image_id.setter
def image_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "image_id", value)
@property
@pulumi.getter(name="instanceTypes")
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
"""
return pulumi.get(self, "instance_types")
@instance_types.setter
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "instance_types", value)
@property
@pulumi.getter
def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]]:
"""
Optionally adds labels to instances launched in the cluster.
"""
return pulumi.get(self, "labels")
@labels.setter
def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]]):
pulumi.set(self, "labels", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the Virtual Node Group.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="preferredSpotTypes")
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
"""
return pulumi.get(self, "preferred_spot_types")
@preferred_spot_types.setter
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "preferred_spot_types", value)
@property
@pulumi.getter(name="resourceLimits")
def resource_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]]:
return pulumi.get(self, "resource_limits")
@resource_limits.setter
def resource_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]]):
pulumi.set(self, "resource_limits", value)
@property
@pulumi.getter(name="restrictScaleDown")
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
"""
Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
"""
return pulumi.get(self, "restrict_scale_down")
@restrict_scale_down.setter
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "restrict_scale_down", value)
@property
@pulumi.getter(name="rootVolumeSize")
def root_volume_size(self) -> Optional[pulumi.Input[int]]:
"""
Set root volume size (in GB).
"""
return pulumi.get(self, "root_volume_size")
@root_volume_size.setter
def root_volume_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "root_volume_size", value)
@property
@pulumi.getter(name="schedulingTasks")
def scheduling_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]:
"""
Used to define scheduled tasks such as a manual headroom update.
"""
return pulumi.get(self, "scheduling_tasks")
@scheduling_tasks.setter
def scheduling_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]):
pulumi.set(self, "scheduling_tasks", value)
@property
@pulumi.getter(name="securityGroups")
def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
Optionally adds security group IDs.
"""
return pulumi.get(self, "security_groups")
@security_groups.setter
def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "security_groups", value)
@property
@pulumi.getter
def strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]:
return pulumi.get(self, "strategies")
@strategies.setter
def strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]):
pulumi.set(self, "strategies", value)
@property
@pulumi.getter(name="subnetIds")
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of subnet IDs.
"""
return pulumi.get(self, "subnet_ids")
@subnet_ids.setter
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "subnet_ids", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]:
"""
A key/value mapping of tags to assign to the resource.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]):
pulumi.set(self, "tags", value)
@property
@pulumi.getter
def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]]:
"""
Optionally adds labels to instances launched in the cluster.
"""
return pulumi.get(self, "taints")
@taints.setter
def taints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]]):
pulumi.set(self, "taints", value)
@property
@pulumi.getter(name="updatePolicy")
def update_policy(self) -> Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']]:
return pulumi.get(self, "update_policy")
@update_policy.setter
def update_policy(self, value: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']]):
pulumi.set(self, "update_policy", value)
@property
@pulumi.getter(name="userData")
def user_data(self) -> Optional[pulumi.Input[str]]:
"""
Base64-encoded MIME user data to make available to the instances.
"""
return pulumi.get(self, "user_data")
@user_data.setter
def user_data(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "user_data", value)
@pulumi.input_type
class _OceanLaunchSpecState:
def __init__(__self__, *,
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]] = None,
create_options: Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']] = None,
delete_options: Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']] = None,
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]] = None,
iam_instance_profile: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]] = None,
name: Optional[pulumi.Input[str]] = None,
ocean_id: Optional[pulumi.Input[str]] = None,
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]] = None,
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
root_volume_size: Optional[pulumi.Input[int]] = None,
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
taints: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]] = None,
update_policy: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']] = None,
user_data: Optional[pulumi.Input[str]] = None):
"""
Input properties used for looking up and filtering OceanLaunchSpec resources.
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]] labels: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] name: The name of the Virtual Node Group.
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]] taints: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
"""
if associate_public_ip_address is not None:
pulumi.set(__self__, "associate_public_ip_address", associate_public_ip_address)
if autoscale_headrooms is not None:
pulumi.set(__self__, "autoscale_headrooms", autoscale_headrooms)
if block_device_mappings is not None:
pulumi.set(__self__, "block_device_mappings", block_device_mappings)
if create_options is not None:
pulumi.set(__self__, "create_options", create_options)
if delete_options is not None:
pulumi.set(__self__, "delete_options", delete_options)
if elastic_ip_pools is not None:
pulumi.set(__self__, "elastic_ip_pools", elastic_ip_pools)
if iam_instance_profile is not None:
pulumi.set(__self__, "iam_instance_profile", iam_instance_profile)
if image_id is not None:
pulumi.set(__self__, "image_id", image_id)
if instance_types is not None:
pulumi.set(__self__, "instance_types", instance_types)
if labels is not None:
pulumi.set(__self__, "labels", labels)
if name is not None:
pulumi.set(__self__, "name", name)
if ocean_id is not None:
pulumi.set(__self__, "ocean_id", ocean_id)
if preferred_spot_types is not None:
pulumi.set(__self__, "preferred_spot_types", preferred_spot_types)
if resource_limits is not None:
pulumi.set(__self__, "resource_limits", resource_limits)
if restrict_scale_down is not None:
pulumi.set(__self__, "restrict_scale_down", restrict_scale_down)
if root_volume_size is not None:
pulumi.set(__self__, "root_volume_size", root_volume_size)
if scheduling_tasks is not None:
pulumi.set(__self__, "scheduling_tasks", scheduling_tasks)
if security_groups is not None:
pulumi.set(__self__, "security_groups", security_groups)
if strategies is not None:
pulumi.set(__self__, "strategies", strategies)
if subnet_ids is not None:
pulumi.set(__self__, "subnet_ids", subnet_ids)
if tags is not None:
pulumi.set(__self__, "tags", tags)
if taints is not None:
pulumi.set(__self__, "taints", taints)
if update_policy is not None:
pulumi.set(__self__, "update_policy", update_policy)
if user_data is not None:
pulumi.set(__self__, "user_data", user_data)
@property
@pulumi.getter(name="associatePublicIpAddress")
def associate_public_ip_address(self) -> Optional[pulumi.Input[bool]]:
"""
Configure public IP address allocation.
"""
return pulumi.get(self, "associate_public_ip_address")
@associate_public_ip_address.setter
def associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "associate_public_ip_address", value)
@property
@pulumi.getter(name="autoscaleHeadrooms")
def autoscale_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]:
"""
Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
"""
return pulumi.get(self, "autoscale_headrooms")
@autoscale_headrooms.setter
def autoscale_headrooms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]):
pulumi.set(self, "autoscale_headrooms", value)
@property
@pulumi.getter(name="blockDeviceMappings")
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]:
"""
Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
"""
return pulumi.get(self, "block_device_mappings")
@block_device_mappings.setter
def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]):
pulumi.set(self, "block_device_mappings", value)
@property
@pulumi.getter(name="createOptions")
def create_options(self) -> Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']]:
return pulumi.get(self, "create_options")
@create_options.setter
def create_options(self, value: Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']]):
pulumi.set(self, "create_options", value)
@property
@pulumi.getter(name="deleteOptions")
def delete_options(self) -> Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']]:
return pulumi.get(self, "delete_options")
@delete_options.setter
def delete_options(self, value: Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']]):
pulumi.set(self, "delete_options", value)
@property
@pulumi.getter(name="elasticIpPools")
def elastic_ip_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]]:
"""
Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
"""
return pulumi.get(self, "elastic_ip_pools")
@elastic_ip_pools.setter
def elastic_ip_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]]):
pulumi.set(self, "elastic_ip_pools", value)
@property
@pulumi.getter(name="iamInstanceProfile")
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
"""
The ARN or name of an IAM instance profile to associate with launched instances.
"""
return pulumi.get(self, "iam_instance_profile")
@iam_instance_profile.setter
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "iam_instance_profile", value)
@property
@pulumi.getter(name="imageId")
def image_id(self) -> Optional[pulumi.Input[str]]:
"""
ID of the image used to launch the instances.
"""
return pulumi.get(self, "image_id")
@image_id.setter
def image_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "image_id", value)
@property
@pulumi.getter(name="instanceTypes")
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
"""
return pulumi.get(self, "instance_types")
@instance_types.setter
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "instance_types", value)
@property
@pulumi.getter
def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]]:
"""
Optionally adds labels to instances launched in the cluster.
"""
return pulumi.get(self, "labels")
@labels.setter
def labels(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]]):
pulumi.set(self, "labels", value)
@property
@pulumi.getter
def name(self) -> Optional[pulumi.Input[str]]:
"""
The name of the Virtual Node Group.
"""
return pulumi.get(self, "name")
@name.setter
def name(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "name", value)
@property
@pulumi.getter(name="oceanId")
def ocean_id(self) -> Optional[pulumi.Input[str]]:
"""
The ID of the Ocean cluster.
"""
return pulumi.get(self, "ocean_id")
@ocean_id.setter
def ocean_id(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "ocean_id", value)
@property
@pulumi.getter(name="preferredSpotTypes")
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
"""
return pulumi.get(self, "preferred_spot_types")
@preferred_spot_types.setter
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "preferred_spot_types", value)
@property
@pulumi.getter(name="resourceLimits")
def resource_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]]:
return pulumi.get(self, "resource_limits")
@resource_limits.setter
def resource_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]]):
pulumi.set(self, "resource_limits", value)
@property
@pulumi.getter(name="restrictScaleDown")
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
"""
Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
"""
return pulumi.get(self, "restrict_scale_down")
@restrict_scale_down.setter
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
pulumi.set(self, "restrict_scale_down", value)
@property
@pulumi.getter(name="rootVolumeSize")
def root_volume_size(self) -> Optional[pulumi.Input[int]]:
"""
Set root volume size (in GB).
"""
return pulumi.get(self, "root_volume_size")
@root_volume_size.setter
def root_volume_size(self, value: Optional[pulumi.Input[int]]):
pulumi.set(self, "root_volume_size", value)
@property
@pulumi.getter(name="schedulingTasks")
def scheduling_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]:
"""
Used to define scheduled tasks such as a manual headroom update.
"""
return pulumi.get(self, "scheduling_tasks")
@scheduling_tasks.setter
def scheduling_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]):
pulumi.set(self, "scheduling_tasks", value)
@property
@pulumi.getter(name="securityGroups")
def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
Optionally adds security group IDs.
"""
return pulumi.get(self, "security_groups")
@security_groups.setter
def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "security_groups", value)
@property
@pulumi.getter
def strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]:
return pulumi.get(self, "strategies")
@strategies.setter
def strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]):
pulumi.set(self, "strategies", value)
@property
@pulumi.getter(name="subnetIds")
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
"""
A list of subnet IDs.
"""
return pulumi.get(self, "subnet_ids")
@subnet_ids.setter
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
pulumi.set(self, "subnet_ids", value)
@property
@pulumi.getter
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]:
"""
A key/value mapping of tags to assign to the resource.
"""
return pulumi.get(self, "tags")
@tags.setter
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]):
pulumi.set(self, "tags", value)
@property
@pulumi.getter
def taints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]]:
"""
Optionally adds labels to instances launched in the cluster.
"""
return pulumi.get(self, "taints")
@taints.setter
def taints(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]]):
pulumi.set(self, "taints", value)
@property
@pulumi.getter(name="updatePolicy")
def update_policy(self) -> Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']]:
return pulumi.get(self, "update_policy")
@update_policy.setter
def update_policy(self, value: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']]):
pulumi.set(self, "update_policy", value)
@property
@pulumi.getter(name="userData")
def user_data(self) -> Optional[pulumi.Input[str]]:
"""
Base64-encoded MIME user data to make available to the instances.
"""
return pulumi.get(self, "user_data")
@user_data.setter
def user_data(self, value: Optional[pulumi.Input[str]]):
pulumi.set(self, "user_data", value)
class OceanLaunchSpec(pulumi.CustomResource):
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecAutoscaleHeadroomArgs']]]]] = None,
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecBlockDeviceMappingArgs']]]]] = None,
create_options: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecCreateOptionsArgs']]] = None,
delete_options: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecDeleteOptionsArgs']]] = None,
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecElasticIpPoolArgs']]]]] = None,
iam_instance_profile: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecLabelArgs']]]]] = None,
name: Optional[pulumi.Input[str]] = None,
ocean_id: Optional[pulumi.Input[str]] = None,
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecResourceLimitArgs']]]]] = None,
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
root_volume_size: Optional[pulumi.Input[int]] = None,
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecSchedulingTaskArgs']]]]] = None,
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecStrategyArgs']]]]] = None,
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTagArgs']]]]] = None,
taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTaintArgs']]]]] = None,
update_policy: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecUpdatePolicyArgs']]] = None,
user_data: Optional[pulumi.Input[str]] = None,
__props__=None):
"""
Manages a Spotinst Ocean AWS [Virtual Node Group](https://docs.spot.io/ocean/features/launch-specifications) resource.
## Example Usage
```python
import pulumi
import pulumi_spotinst as spotinst
example = spotinst.aws.OceanLaunchSpec("example",
associate_public_ip_address=True,
autoscale_headrooms=[spotinst.aws.OceanLaunchSpecAutoscaleHeadroomArgs(
cpu_per_unit=1000,
gpu_per_unit=0,
memory_per_unit=2048,
num_of_units=5,
)],
block_device_mappings=[spotinst.aws.OceanLaunchSpecBlockDeviceMappingArgs(
device_name="/dev/xvda",
ebs=spotinst.aws.OceanLaunchSpecBlockDeviceMappingEbsArgs(
delete_on_termination=True,
dynamic_volume_size=spotinst.aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs(
base_size=50,
resource="CPU",
size_per_resource_unit=20,
),
encrypted=False,
throughput=500,
volume_size=50,
volume_type="gp2",
),
)],
create_options=spotinst.aws.OceanLaunchSpecCreateOptionsArgs(
initial_nodes=1,
),
delete_options=spotinst.aws.OceanLaunchSpecDeleteOptionsArgs(
force_delete=True,
),
elastic_ip_pools=[spotinst.aws.OceanLaunchSpecElasticIpPoolArgs(
tag_selector=spotinst.aws.OceanLaunchSpecElasticIpPoolTagSelectorArgs(
tag_key="key",
tag_value="value",
),
)],
iam_instance_profile="iam-profile",
image_id="ami-123456",
instance_types=[
"m4.large",
"m4.xlarge",
"m4.2xlarge",
"m4.4xlarge",
],
labels=[spotinst.aws.OceanLaunchSpecLabelArgs(
key="key1",
value="value1",
)],
ocean_id="o-123456",
preferred_spot_types=[
"m4.large",
"m4.xlarge",
],
resource_limits=[spotinst.aws.OceanLaunchSpecResourceLimitArgs(
max_instance_count=4,
min_instance_count=0,
)],
restrict_scale_down=True,
root_volume_size=30,
scheduling_tasks=[spotinst.aws.OceanLaunchSpecSchedulingTaskArgs(
cron_expression="0 1 * * *",
is_enabled=True,
task_headrooms=[spotinst.aws.OceanLaunchSpecSchedulingTaskTaskHeadroomArgs(
cpu_per_unit=1000,
gpu_per_unit=0,
memory_per_unit=2048,
num_of_units=5,
)],
task_type="manualHeadroomUpdate",
)],
security_groups=["sg-987654321"],
strategies=[spotinst.aws.OceanLaunchSpecStrategyArgs(
spot_percentage=70,
)],
subnet_ids=["subnet-1234"],
tags=[spotinst.aws.OceanLaunchSpecTagArgs(
key="Env",
value="production",
)],
taints=[spotinst.aws.OceanLaunchSpecTaintArgs(
effect="NoExecute",
key="key1",
value="value1",
)],
user_data="echo Hello, world!")
```
```python
import pulumi
pulumi.export("oceanLaunchspecId", spotinst_ocean_aws_launch_spec["example"]["id"])
```
## Update Policy
* `update_policy` - (Optional)
* `should_roll` - (Required) Enables the roll.
* `roll_config` - (Required) Holds the roll configuration.
* `batch_size_percentage` - (Required) Sets the percentage of the instances to deploy in each batch.
```python
import pulumi
```
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecAutoscaleHeadroomArgs']]]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecBlockDeviceMappingArgs']]]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecElasticIpPoolArgs']]]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecLabelArgs']]]] labels: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] name: The name of the Virtual Node Group.
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecSchedulingTaskArgs']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTagArgs']]]] tags: A key/value mapping of tags to assign to the resource.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTaintArgs']]]] taints: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
"""
...
@overload
def __init__(__self__,
resource_name: str,
args: OceanLaunchSpecArgs,
opts: Optional[pulumi.ResourceOptions] = None):
"""
Manages a Spotinst Ocean AWS [Virtual Node Group](https://docs.spot.io/ocean/features/launch-specifications) resource.
## Example Usage
```python
import pulumi
import pulumi_spotinst as spotinst
example = spotinst.aws.OceanLaunchSpec("example",
associate_public_ip_address=True,
autoscale_headrooms=[spotinst.aws.OceanLaunchSpecAutoscaleHeadroomArgs(
cpu_per_unit=1000,
gpu_per_unit=0,
memory_per_unit=2048,
num_of_units=5,
)],
block_device_mappings=[spotinst.aws.OceanLaunchSpecBlockDeviceMappingArgs(
device_name="/dev/xvda",
ebs=spotinst.aws.OceanLaunchSpecBlockDeviceMappingEbsArgs(
delete_on_termination=True,
dynamic_volume_size=spotinst.aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs(
base_size=50,
resource="CPU",
size_per_resource_unit=20,
),
encrypted=False,
throughput=500,
volume_size=50,
volume_type="gp2",
),
)],
create_options=spotinst.aws.OceanLaunchSpecCreateOptionsArgs(
initial_nodes=1,
),
delete_options=spotinst.aws.OceanLaunchSpecDeleteOptionsArgs(
force_delete=True,
),
elastic_ip_pools=[spotinst.aws.OceanLaunchSpecElasticIpPoolArgs(
tag_selector=spotinst.aws.OceanLaunchSpecElasticIpPoolTagSelectorArgs(
tag_key="key",
tag_value="value",
),
)],
iam_instance_profile="iam-profile",
image_id="ami-123456",
instance_types=[
"m4.large",
"m4.xlarge",
"m4.2xlarge",
"m4.4xlarge",
],
labels=[spotinst.aws.OceanLaunchSpecLabelArgs(
key="key1",
value="value1",
)],
ocean_id="o-123456",
preferred_spot_types=[
"m4.large",
"m4.xlarge",
],
resource_limits=[spotinst.aws.OceanLaunchSpecResourceLimitArgs(
max_instance_count=4,
min_instance_count=0,
)],
restrict_scale_down=True,
root_volume_size=30,
scheduling_tasks=[spotinst.aws.OceanLaunchSpecSchedulingTaskArgs(
cron_expression="0 1 * * *",
is_enabled=True,
task_headrooms=[spotinst.aws.OceanLaunchSpecSchedulingTaskTaskHeadroomArgs(
cpu_per_unit=1000,
gpu_per_unit=0,
memory_per_unit=2048,
num_of_units=5,
)],
task_type="manualHeadroomUpdate",
)],
security_groups=["sg-987654321"],
strategies=[spotinst.aws.OceanLaunchSpecStrategyArgs(
spot_percentage=70,
)],
subnet_ids=["subnet-1234"],
tags=[spotinst.aws.OceanLaunchSpecTagArgs(
key="Env",
value="production",
)],
taints=[spotinst.aws.OceanLaunchSpecTaintArgs(
effect="NoExecute",
key="key1",
value="value1",
)],
user_data="echo Hello, world!")
```
```python
import pulumi
pulumi.export("oceanLaunchspecId", spotinst_ocean_aws_launch_spec["example"]["id"])
```
## Update Policy
* `update_policy` - (Optional)
* `should_roll` - (Required) Enables the roll.
* `roll_config` - (Required) Holds the roll configuration.
* `batch_size_percentage` - (Required) Sets the percentage of the instances to deploy in each batch.
```python
import pulumi
```
:param str resource_name: The name of the resource.
:param OceanLaunchSpecArgs args: The arguments to use to populate this resource's properties.
:param pulumi.ResourceOptions opts: Options for the resource.
"""
...
def __init__(__self__, resource_name: str, *args, **kwargs):
resource_args, opts = _utilities.get_resource_args_opts(OceanLaunchSpecArgs, pulumi.ResourceOptions, *args, **kwargs)
if resource_args is not None:
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
else:
__self__._internal_init(resource_name, *args, **kwargs)
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecAutoscaleHeadroomArgs']]]]] = None,
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecBlockDeviceMappingArgs']]]]] = None,
create_options: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecCreateOptionsArgs']]] = None,
delete_options: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecDeleteOptionsArgs']]] = None,
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecElasticIpPoolArgs']]]]] = None,
iam_instance_profile: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecLabelArgs']]]]] = None,
name: Optional[pulumi.Input[str]] = None,
ocean_id: Optional[pulumi.Input[str]] = None,
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecResourceLimitArgs']]]]] = None,
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
root_volume_size: Optional[pulumi.Input[int]] = None,
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecSchedulingTaskArgs']]]]] = None,
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecStrategyArgs']]]]] = None,
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTagArgs']]]]] = None,
taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTaintArgs']]]]] = None,
update_policy: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecUpdatePolicyArgs']]] = None,
user_data: Optional[pulumi.Input[str]] = None,
__props__=None):
if opts is None:
opts = pulumi.ResourceOptions()
if not isinstance(opts, pulumi.ResourceOptions):
raise TypeError('Expected resource options to be a ResourceOptions instance')
if opts.version is None:
opts.version = _utilities.get_version()
if opts.id is None:
if __props__ is not None:
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
__props__ = OceanLaunchSpecArgs.__new__(OceanLaunchSpecArgs)
__props__.__dict__["associate_public_ip_address"] = associate_public_ip_address
__props__.__dict__["autoscale_headrooms"] = autoscale_headrooms
__props__.__dict__["block_device_mappings"] = block_device_mappings
__props__.__dict__["create_options"] = create_options
__props__.__dict__["delete_options"] = delete_options
__props__.__dict__["elastic_ip_pools"] = elastic_ip_pools
__props__.__dict__["iam_instance_profile"] = iam_instance_profile
__props__.__dict__["image_id"] = image_id
__props__.__dict__["instance_types"] = instance_types
__props__.__dict__["labels"] = labels
__props__.__dict__["name"] = name
if ocean_id is None and not opts.urn:
raise TypeError("Missing required property 'ocean_id'")
__props__.__dict__["ocean_id"] = ocean_id
__props__.__dict__["preferred_spot_types"] = preferred_spot_types
__props__.__dict__["resource_limits"] = resource_limits
__props__.__dict__["restrict_scale_down"] = restrict_scale_down
__props__.__dict__["root_volume_size"] = root_volume_size
__props__.__dict__["scheduling_tasks"] = scheduling_tasks
__props__.__dict__["security_groups"] = security_groups
__props__.__dict__["strategies"] = strategies
__props__.__dict__["subnet_ids"] = subnet_ids
__props__.__dict__["tags"] = tags
__props__.__dict__["taints"] = taints
__props__.__dict__["update_policy"] = update_policy
__props__.__dict__["user_data"] = user_data
super(OceanLaunchSpec, __self__).__init__(
'spotinst:aws/oceanLaunchSpec:OceanLaunchSpec',
resource_name,
__props__,
opts)
@staticmethod
def get(resource_name: str,
id: pulumi.Input[str],
opts: Optional[pulumi.ResourceOptions] = None,
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecAutoscaleHeadroomArgs']]]]] = None,
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecBlockDeviceMappingArgs']]]]] = None,
create_options: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecCreateOptionsArgs']]] = None,
delete_options: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecDeleteOptionsArgs']]] = None,
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecElasticIpPoolArgs']]]]] = None,
iam_instance_profile: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
labels: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecLabelArgs']]]]] = None,
name: Optional[pulumi.Input[str]] = None,
ocean_id: Optional[pulumi.Input[str]] = None,
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecResourceLimitArgs']]]]] = None,
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
root_volume_size: Optional[pulumi.Input[int]] = None,
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecSchedulingTaskArgs']]]]] = None,
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecStrategyArgs']]]]] = None,
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTagArgs']]]]] = None,
taints: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTaintArgs']]]]] = None,
update_policy: Optional[pulumi.Input[pulumi.InputType['OceanLaunchSpecUpdatePolicyArgs']]] = None,
user_data: Optional[pulumi.Input[str]] = None) -> 'OceanLaunchSpec':
"""
Get an existing OceanLaunchSpec resource's state with the given name, id, and optional extra
properties used to qualify the lookup.
:param str resource_name: The unique name of the resulting resource.
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecAutoscaleHeadroomArgs']]]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecBlockDeviceMappingArgs']]]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecElasticIpPoolArgs']]]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecLabelArgs']]]] labels: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] name: The name of the Virtual Node Group.
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecSchedulingTaskArgs']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTagArgs']]]] tags: A key/value mapping of tags to assign to the resource.
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['OceanLaunchSpecTaintArgs']]]] taints: Optionally adds labels to instances launched in the cluster.
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
"""
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
__props__ = _OceanLaunchSpecState.__new__(_OceanLaunchSpecState)
__props__.__dict__["associate_public_ip_address"] = associate_public_ip_address
__props__.__dict__["autoscale_headrooms"] = autoscale_headrooms
__props__.__dict__["block_device_mappings"] = block_device_mappings
__props__.__dict__["create_options"] = create_options
__props__.__dict__["delete_options"] = delete_options
__props__.__dict__["elastic_ip_pools"] = elastic_ip_pools
__props__.__dict__["iam_instance_profile"] = iam_instance_profile
__props__.__dict__["image_id"] = image_id
__props__.__dict__["instance_types"] = instance_types
__props__.__dict__["labels"] = labels
__props__.__dict__["name"] = name
__props__.__dict__["ocean_id"] = ocean_id
__props__.__dict__["preferred_spot_types"] = preferred_spot_types
__props__.__dict__["resource_limits"] = resource_limits
__props__.__dict__["restrict_scale_down"] = restrict_scale_down
__props__.__dict__["root_volume_size"] = root_volume_size
__props__.__dict__["scheduling_tasks"] = scheduling_tasks
__props__.__dict__["security_groups"] = security_groups
__props__.__dict__["strategies"] = strategies
__props__.__dict__["subnet_ids"] = subnet_ids
__props__.__dict__["tags"] = tags
__props__.__dict__["taints"] = taints
__props__.__dict__["update_policy"] = update_policy
__props__.__dict__["user_data"] = user_data
return OceanLaunchSpec(resource_name, opts=opts, __props__=__props__)
@property
@pulumi.getter(name="associatePublicIpAddress")
def associate_public_ip_address(self) -> pulumi.Output[Optional[bool]]:
"""
Configure public IP address allocation.
"""
return pulumi.get(self, "associate_public_ip_address")
@property
@pulumi.getter(name="autoscaleHeadrooms")
def autoscale_headrooms(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecAutoscaleHeadroom']]]:
"""
Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
"""
return pulumi.get(self, "autoscale_headrooms")
@property
@pulumi.getter(name="blockDeviceMappings")
def block_device_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecBlockDeviceMapping']]]:
"""
Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
"""
return pulumi.get(self, "block_device_mappings")
@property
@pulumi.getter(name="createOptions")
def create_options(self) -> pulumi.Output[Optional['outputs.OceanLaunchSpecCreateOptions']]:
return pulumi.get(self, "create_options")
@property
@pulumi.getter(name="deleteOptions")
def delete_options(self) -> pulumi.Output[Optional['outputs.OceanLaunchSpecDeleteOptions']]:
return pulumi.get(self, "delete_options")
@property
@pulumi.getter(name="elasticIpPools")
def elastic_ip_pools(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecElasticIpPool']]]:
"""
Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
"""
return pulumi.get(self, "elastic_ip_pools")
@property
@pulumi.getter(name="iamInstanceProfile")
def iam_instance_profile(self) -> pulumi.Output[Optional[str]]:
"""
The ARN or name of an IAM instance profile to associate with launched instances.
"""
return pulumi.get(self, "iam_instance_profile")
@property
@pulumi.getter(name="imageId")
def image_id(self) -> pulumi.Output[Optional[str]]:
"""
ID of the image used to launch the instances.
"""
return pulumi.get(self, "image_id")
@property
@pulumi.getter(name="instanceTypes")
def instance_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
"""
return pulumi.get(self, "instance_types")
@property
@pulumi.getter
def labels(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecLabel']]]:
"""
Optionally adds labels to instances launched in the cluster.
"""
return pulumi.get(self, "labels")
@property
@pulumi.getter
def name(self) -> pulumi.Output[str]:
"""
The name of the Virtual Node Group.
"""
return pulumi.get(self, "name")
@property
@pulumi.getter(name="oceanId")
def ocean_id(self) -> pulumi.Output[str]:
"""
The ID of the Ocean cluster.
"""
return pulumi.get(self, "ocean_id")
@property
@pulumi.getter(name="preferredSpotTypes")
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
"""
return pulumi.get(self, "preferred_spot_types")
@property
@pulumi.getter(name="resourceLimits")
def resource_limits(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecResourceLimit']]]:
return pulumi.get(self, "resource_limits")
@property
@pulumi.getter(name="restrictScaleDown")
def restrict_scale_down(self) -> pulumi.Output[Optional[bool]]:
"""
Boolean. When set to `True`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
"""
return pulumi.get(self, "restrict_scale_down")
@property
@pulumi.getter(name="rootVolumeSize")
def root_volume_size(self) -> pulumi.Output[Optional[int]]:
"""
Set root volume size (in GB).
"""
return pulumi.get(self, "root_volume_size")
@property
@pulumi.getter(name="schedulingTasks")
def scheduling_tasks(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecSchedulingTask']]]:
"""
Used to define scheduled tasks such as a manual headroom update.
"""
return pulumi.get(self, "scheduling_tasks")
@property
@pulumi.getter(name="securityGroups")
def security_groups(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
Optionally adds security group IDs.
"""
return pulumi.get(self, "security_groups")
@property
@pulumi.getter
def strategies(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecStrategy']]]:
return pulumi.get(self, "strategies")
@property
@pulumi.getter(name="subnetIds")
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
"""
A list of subnet IDs.
"""
return pulumi.get(self, "subnet_ids")
@property
@pulumi.getter
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecTag']]]:
"""
A key/value mapping of tags to assign to the resource.
"""
return pulumi.get(self, "tags")
@property
@pulumi.getter
def taints(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecTaint']]]:
"""
Optionally adds labels to instances launched in the cluster.
"""
return pulumi.get(self, "taints")
@property
@pulumi.getter(name="updatePolicy")
def update_policy(self) -> pulumi.Output[Optional['outputs.OceanLaunchSpecUpdatePolicy']]:
return pulumi.get(self, "update_policy")
@property
@pulumi.getter(name="userData")
def user_data(self) -> pulumi.Output[Optional[str]]:
"""
Base64-encoded MIME user data to make available to the instances.
"""
return pulumi.get(self, "user_data")
| 51.589428 | 251 | 0.671991 | 7,784 | 71,245 | 5.932425 | 0.047533 | 0.108861 | 0.087639 | 0.087163 | 0.954827 | 0.947789 | 0.932327 | 0.930378 | 0.928104 | 0.913963 | 0 | 0.003016 | 0.22271 | 71,245 | 1,380 | 252 | 51.626812 | 0.830853 | 0.316233 | 0 | 0.902116 | 1 | 0 | 0.170508 | 0.093712 | 0 | 0 | 0 | 0 | 0 | 1 | 0.167989 | false | 0.001323 | 0.009259 | 0.019841 | 0.277778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
f229f2b95c563313a777769236d47784f9e0074c | 276 | py | Python | strikethrough_generator/__init__.py | RaphaelaHeil/strikethrough-generation | 3763a995812522c1e11b764918861837de12db98 | [
"MIT"
] | 1 | 2021-08-30T12:37:24.000Z | 2021-08-30T12:37:24.000Z | strikethrough_generator/__init__.py | ektavats/strikethrough-generation | 0ec53cf5bd307b55fe47dd2f66708644e3596c0e | [
"MIT"
] | null | null | null | strikethrough_generator/__init__.py | ektavats/strikethrough-generation | 0ec53cf5bd307b55fe47dd2f66708644e3596c0e | [
"MIT"
] | 1 | 2022-01-25T10:31:25.000Z | 2022-01-25T10:31:25.000Z | from .backgroundremoval import backgroundRemoval
from .core_extraction import extractCoreRegion
from .generator import StrikeThroughGenerator, StrokeType, OptionsKeys
__all__ = ["backgroundRemoval", "extractCoreRegion", "StrikeThroughGenerator", "StrokeType", "OptionsKeys"]
| 46 | 107 | 0.84058 | 21 | 276 | 10.809524 | 0.52381 | 0.281938 | 0.378855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 276 | 5 | 108 | 55.2 | 0.893701 | 0 | 0 | 0 | 0 | 0 | 0.278986 | 0.07971 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 1 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f24e71620da45ed8d65803a65dcf0c989cb774fc | 211 | py | Python | test/main.py | deeso/service-utilities | 9a3ebdcad9a1d0049a23e3486d7ea99a6d08f81a | [
"Apache-2.0"
] | null | null | null | test/main.py | deeso/service-utilities | 9a3ebdcad9a1d0049a23e3486d7ea99a6d08f81a | [
"Apache-2.0"
] | null | null | null | test/main.py | deeso/service-utilities | 9a3ebdcad9a1d0049a23e3486d7ea99a6d08f81a | [
"Apache-2.0"
] | null | null | null | from connections.kombuconnection_test import *
from connections.mongoconnection_test import *
from util.pythonfn_test import *
from service.service_test import *
if __name__ == '__main__':
unittest.main()
| 23.444444 | 46 | 0.796209 | 25 | 211 | 6.24 | 0.52 | 0.25641 | 0.269231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127962 | 211 | 8 | 47 | 26.375 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.037915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
f25821e5deebcea2905abc9e7808eb0b17b33249 | 175 | py | Python | flod_booking/api/RammetidToApplication.py | Trondheim-kommune/Bookingbasen | 58235a5a1fd6ad291cb237e6ec9a67bfe8c463c6 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2017-10-17T12:15:28.000Z | 2017-10-17T12:15:28.000Z | flod_booking/api/RammetidToApplication.py | Trondheim-kommune/Bookingbasen | 58235a5a1fd6ad291cb237e6ec9a67bfe8c463c6 | [
"BSD-2-Clause-FreeBSD"
] | 6 | 2021-03-22T17:15:52.000Z | 2022-01-13T00:39:58.000Z | flod_booking/api/RammetidToApplication.py | Trondheim-kommune/Bookingbasen | 58235a5a1fd6ad291cb237e6ec9a67bfe8c463c6 | [
"BSD-2-Clause-FreeBSD"
] | 1 | 2019-09-09T13:35:03.000Z | 2019-09-09T13:35:03.000Z | # -*- coding: utf-8 -*-
class RammetidToApplication:
umbrella_org_uri = None
def __init__(self, umbrella_org_uri):
self.umbrella_org_uri = umbrella_org_uri
| 19.444444 | 48 | 0.702857 | 22 | 175 | 5.045455 | 0.545455 | 0.396396 | 0.504505 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.2 | 175 | 8 | 49 | 21.875 | 0.785714 | 0.12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 7 |
f2759a83ae5b0c8b6ebf73603f4bddfbb94fa209 | 19,713 | py | Python | v2/handlers/chemotherapyHandler.py | FanJingithub/performer | 9b4eec771a65a72f712c34f70de844ed9ce67475 | [
"Apache-1.1"
] | null | null | null | v2/handlers/chemotherapyHandler.py | FanJingithub/performer | 9b4eec771a65a72f712c34f70de844ed9ce67475 | [
"Apache-1.1"
] | null | null | null | v2/handlers/chemotherapyHandler.py | FanJingithub/performer | 9b4eec771a65a72f712c34f70de844ed9ce67475 | [
"Apache-1.1"
] | null | null | null | # -*- coding:utf-8 -*-
# Created by Machine (Fan Jin build the code-generator)
import tornado, os, MySQLdb
import tornado.gen
import tornado.web
import json
class chemotherapyHandler(tornado.web.RequestHandler):
def get(self):
print('----------------------------Get chemotherapy--------------------------')
try:
edit = self.get_argument("edit", "0")
except:
edit = "0"
try:
page_index = self.get_argument("page_index", "0")
except:
page_index = "0"
page_index = int(page_index)
self.patient_id = self.get_argument("patient_id", "")
exist = 0
submitted = "0"
page_status = "0"
# Get the patient's data status from the database
conn = MySQLdb.connect( host = 'localhost',
user = 'root',
passwd = '1',
db = 'Test',
charset= 'utf8')
conn.autocommit(1)
self.cur = conn.cursor()
self.cur.execute('''SELECT chemotherapy FROM data_status WHERE patient_id='{0}' '''.format(self.patient_id))
for row in self.cur:
page_status = row[0]
if len(page_status)>page_index:
exist = 1
submitted = page_status[page_index]
res = [self.patient_id, "", "", "", "", "", "", "", "", "", "", "", ""]
if (submitted=="1"):
# Get the data from the database
self.cur.execute('''SELECT patient_id,chemo_way,chemo_way_other,last_chemo,chemo_time_0,chemo_time_1,chemo_time_2,chemo_way_0,chemo_way_1,chemo_way_2,desc_0,desc_1,desc_2 FROM chemotherapy_{0} WHERE patient_id='{1}' '''.format(page_index,self.patient_id))
for row in self.cur:
res = row
if (exist==0):
page_status = page_status + "0"
sql = "UPDATE data_status SET chemotherapy='" + page_status + "' WHERE patient_id='" + self.patient_id + "'"
self.cur.execute(sql)
side_menu = '''
<li class="mt">
<a href="/list">
<i class="fa fa-tasks"></i>
<span>病例列表</span>
</a>
</li>
'''
self.cur.execute('''SELECT base,lab,pathology,surgery,chemotherapy,radiotherapy,follow_up FROM data_status WHERE patient_id='{0}' '''.format(self.patient_id))
for row in self.cur:
base_page_status = row[0]
lab_page_status = row[1]
pathology_page_status = row[2]
surgery_page_status = row[3]
chemotherapy_page_status = row[4]
radiotherapy_page_status = row[5]
follow_up_page_status = row[6]
self.cur.close()
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>基本信息</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(base_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/base?patient_id={1}&page_index={2}">基本信息_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/base?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(base_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>检验报告</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(lab_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/lab?patient_id={1}&page_index={2}">检验报告_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/lab?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(lab_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>病理报告</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(pathology_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/pathology?patient_id={1}&page_index={2}">病理报告_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/pathology?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(pathology_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>手术记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(surgery_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/surgery?patient_id={1}&page_index={2}">手术记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/surgery?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(surgery_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a class="active" href="javascript:;">
<i class="fa fa-tasks"></i>
<span>化疗记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(chemotherapy_page_status)):
if i==page_index:
active = ' class="active"'
else:
active = ""
side_menu = side_menu + '''
<li{0}><a href="/chemotherapy?patient_id={1}&page_index={2}">化疗记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/chemotherapy?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(chemotherapy_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>放疗记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(radiotherapy_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/radiotherapy?patient_id={1}&page_index={2}">放疗记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/radiotherapy?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(radiotherapy_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>随访记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(follow_up_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/follow_up?patient_id={1}&page_index={2}">随访记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/follow_up?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(follow_up_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="/upload?patient_id={0}">
<i class="fa fa-tasks"></i>
<span>上传图片</span>
</a>
</li>
<li class="sub-menu">
<a href="/show?patient_id={0}">
<i class="fa fa-tasks"></i>
<span>查阅图片</span>
</a>
</li>
'''.format(self.patient_id)
if page_index>0:
page_previous = "/chemotherapy?patient_id="+self.patient_id+"&page_index="+str(page_index-1)
else:
page_previous = "/base?patient_id="+self.patient_id
if (submitted=="1" and edit=="0"):
self.render("../html/read_chemotherapy_page.html", side_menu=side_menu, page_index=page_index, page_previous=page_previous, patient_id=self.patient_id, chemo_way=res[1], chemo_way_other=res[2], last_chemo=res[3], chemo_time_0=res[4], chemo_time_1=res[5], chemo_time_2=res[6], chemo_way_0=res[7], chemo_way_1=res[8], chemo_way_2=res[9], desc_0=res[10], desc_1=res[11], desc_2=res[12])
else:
self.render("../html/edit_chemotherapy_page.html", side_menu=side_menu, page_index=page_index, page_previous=page_previous, patient_id=self.patient_id, chemo_way=res[1], chemo_way_other=res[2], last_chemo=res[3], chemo_time_0=res[4], chemo_time_1=res[5], chemo_time_2=res[6], chemo_way_0=res[7], chemo_way_1=res[8], chemo_way_2=res[9], desc_0=res[10], desc_1=res[11], desc_2=res[12])
def post(self):
print('----------------------------Submit----------------------------')
self.patient_id = self.get_body_argument("patient_id")
try:
page_index = self.get_argument("page_index", "0")
except:
page_index = "0"
page_index = int(page_index)
chemo_way = self.get_body_argument("chemo_way")
chemo_way_other = self.get_body_argument("chemo_way_other")
last_chemo = self.get_body_argument("last_chemo")
chemo_time_0 = self.get_body_argument("chemo_time_0")
chemo_time_1 = self.get_body_argument("chemo_time_1")
chemo_time_2 = self.get_body_argument("chemo_time_2")
chemo_way_0 = self.get_body_argument("chemo_way_0")
chemo_way_1 = self.get_body_argument("chemo_way_1")
chemo_way_2 = self.get_body_argument("chemo_way_2")
desc_0 = self.get_body_argument("desc_0")
desc_1 = self.get_body_argument("desc_1")
desc_2 = self.get_body_argument("desc_2")
conn = MySQLdb.connect( host = 'localhost',
user = 'root',
passwd = '1',
db = 'Test',
charset= 'utf8')
conn.autocommit(1)
# Insert the data into the database
self.cur = conn.cursor()
sql = '''REPLACE INTO chemotherapy_{0} (patient_id, chemo_way, chemo_way_other, last_chemo, chemo_time_0, chemo_time_1, chemo_time_2, chemo_way_0, chemo_way_1, chemo_way_2, desc_0, desc_1, desc_2) VALUES ('{1}', '{2}', '{3}', '{4}', '{5}', '{6}', '{7}', '{8}', '{9}', '{10}', '{11}', '{12}', '{13}') '''.format(page_index, self.patient_id, chemo_way,chemo_way_other,last_chemo,chemo_time_0,chemo_time_1,chemo_time_2,chemo_way_0,chemo_way_1,chemo_way_2,desc_0,desc_1,desc_2)
self.cur.execute(sql)
sql = "SELECT chemotherapy FROM data_status WHERE patient_id='" + self.patient_id + "'"
self.cur.execute(sql)
page_status = "0"
for row in self.cur:
page_status = row[0]
page_status_new = page_status[0:page_index] + "1" + page_status[(page_index+1):len(page_status)]
sql = "UPDATE data_status SET chemotherapy=" + page_status_new + " WHERE patient_id='" + self.patient_id + "'"
self.cur.execute(sql)
side_menu = '''
<li class="mt">
<a href="/list">
<i class="fa fa-tasks"></i>
<span>病例列表</span>
</a>
</li>
'''
self.cur.execute('''SELECT base,lab,pathology,surgery,chemotherapy,radiotherapy,follow_up FROM data_status WHERE patient_id='{0}' '''.format(self.patient_id))
for row in self.cur:
base_page_status = row[0]
lab_page_status = row[1]
pathology_page_status = row[2]
surgery_page_status = row[3]
chemotherapy_page_status = row[4]
radiotherapy_page_status = row[5]
follow_up_page_status = row[6]
self.cur.close()
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>基本信息</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(base_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/base?patient_id={1}&page_index={2}">基本信息_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/base?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(base_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>检验报告</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(lab_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/lab?patient_id={1}&page_index={2}">检验报告_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/lab?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(lab_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>病理报告</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(pathology_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/pathology?patient_id={1}&page_index={2}">病理报告_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/pathology?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(pathology_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>手术记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(surgery_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/surgery?patient_id={1}&page_index={2}">手术记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/surgery?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(surgery_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a class="active" href="javascript:;">
<i class="fa fa-tasks"></i>
<span>化疗记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(chemotherapy_page_status)):
if i==page_index:
active = ' class="active"'
else:
active = ""
side_menu = side_menu + '''
<li{0}><a href="/chemotherapy?patient_id={1}&page_index={2}">化疗记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/chemotherapy?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(chemotherapy_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>放疗记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(radiotherapy_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/radiotherapy?patient_id={1}&page_index={2}">放疗记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/radiotherapy?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(radiotherapy_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="javascript:;">
<i class="fa fa-tasks"></i>
<span>随访记录</span>
</a>
<ul class="sub">'''
active = ''
for i in range(len(follow_up_page_status)):
side_menu = side_menu + '''
<li{0}><a href="/follow_up?patient_id={1}&page_index={2}">随访记录_{3}</a></li>
'''.format(active,self.patient_id,str(i),str(i+1))
side_menu = side_menu + '''
<li><a href="/follow_up?patient_id={0}&page_index={1}">新增</a></li>
'''.format(self.patient_id,str(len(follow_up_page_status)))
side_menu = side_menu + '''
</ul>
</li>
'''
side_menu = side_menu + '''
<li class="sub-menu">
<a href="/upload?patient_id={0}">
<i class="fa fa-tasks"></i>
<span>上传图片</span>
</a>
</li>
<li class="sub-menu">
<a href="/show?patient_id={0}">
<i class="fa fa-tasks"></i>
<span>查阅图片</span>
</a>
</li>
'''.format(self.patient_id)
self.write("finished")
| 41.501053 | 481 | 0.478973 | 2,379 | 19,713 | 3.727617 | 0.060109 | 0.110059 | 0.081191 | 0.108254 | 0.895016 | 0.872237 | 0.832093 | 0.832093 | 0.814727 | 0.809878 | 0 | 0.020512 | 0.352052 | 19,713 | 474 | 482 | 41.588608 | 0.673765 | 0.009486 | 0 | 0.884977 | 0 | 0.075117 | 0.477152 | 0.118699 | 0 | 0 | 0 | 0 | 0 | 1 | 0.004695 | false | 0.004695 | 0.00939 | 0 | 0.016432 | 0.004695 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4b5f9d9bcc10067e894456ca60a58ea68cda7a2e | 9,139 | py | Python | src/blockcipher/modules/round_functions.py | agent-whisper/3way_cipher | d02e4caae92e3e704f994a2b9d3115d3a83a1969 | [
"MIT"
] | null | null | null | src/blockcipher/modules/round_functions.py | agent-whisper/3way_cipher | d02e4caae92e3e704f994a2b9d3115d3a83a1969 | [
"MIT"
] | null | null | null | src/blockcipher/modules/round_functions.py | agent-whisper/3way_cipher | d02e4caae92e3e704f994a2b9d3115d3a83a1969 | [
"MIT"
] | null | null | null | from src.blockcipher.modules import pbox, sbox, transform
from src.utilities import bytes as byte
def rf_a(left_block, right_block, round_key_a):
new_r = byte.xor_byte(right_block, round_key_a)
new_r = transform.shift_rows(new_r)
new_r = sbox.substitute(new_r)
new_r = pbox.permute(new_r)
new_l = byte.xor_byte(left_block, new_r)
return(new_l)
def rf_b(left_block, right_block, round_key_b):
new_r = byte.xor_byte(right_block, round_key_b)
new_r = sbox.substitute(new_r)
new_r = pbox.permute(new_r)
new_l = byte.xor_byte(new_r, left_block)
return(new_l)
def rf_c(left_block, right_block, round_key_c):
# print('=====================')
# print(len(left_block), len(right_block), len(round_key_c))
new_r = byte.xor_byte(right_block, round_key_c)
# print(len(new_r))
new_r = transform.shift_rows(new_r)
new_r = pbox.permute(new_r)
new_l = byte.xor_byte(new_r, left_block)
return(new_l)
def rf_combination(block, round_key, combination_num):
left_block = block[:len(block)//2]
right_block = block[len(block)//2:]
round_key_1 = round_key[:len(round_key)//2]
round_key_2 = round_key[len(round_key)//2:len(round_key)//2+len(round_key)//4]
round_key_3 = round_key[len(round_key)//2+len(round_key)//4:]
# print(len(left_block), len(right_block), len(round_key_1), len(round_key_2), len(round_key_3), combination_num)
if (combination_num == 0) :
left_block = rf_a(left_block, right_block, round_key_1)
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_b(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_c(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
if (combination_num == 1) :
left_block = rf_a(left_block, right_block, round_key_1)
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_c(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_b(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
if (combination_num == 2) :
left_block = rf_b(left_block, right_block, round_key_1)
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_a(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_c(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
if (combination_num == 3) :
left_block = rf_b(left_block, right_block, round_key_1)
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_c(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_a(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
if (combination_num == 4) :
left_block = rf_c(left_block, right_block, round_key_1)
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_a(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_b(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
if (combination_num == 5) :
# print('------------')
# print(len(left_block))
left_block = rf_c(left_block, right_block, round_key_1)
# print(len(left_block))
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_b(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_a(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
block = byte.merge_bytes([first_block,second_block,third_block,fourth_block])
return(block)
def rf_inv_combination(block, round_key, combination_num):
left_block = byte.merge_bytes([block[len(block)//4:len(block)//2], block[(len(block)*3)//4:]])
right_block = byte.merge_bytes([block[:len(block)//4], block[len(block)//2:(len(block)*3)//4]])
round_key_1 = round_key[:len(round_key)//2]
round_key_2 = round_key[len(round_key)//2:len(round_key)//2+len(round_key)//4]
round_key_3 = round_key[len(round_key)//2+len(round_key)//4:]
if (combination_num == 0) :
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_b(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
left_block = byte.merge_bytes([second_block, fourth_block])
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_c(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
right_block = byte.merge_bytes([first_block, third_block])
left_block = rf_a(left_block, right_block, round_key_1)
if (combination_num == 1) :
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_c(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
left_block = byte.merge_bytes([second_block, fourth_block])
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_b(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
right_block = byte.merge_bytes([first_block, third_block])
left_block = rf_a(left_block, right_block, round_key_1)
if (combination_num == 2) :
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_a(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
left_block = byte.merge_bytes([second_block, fourth_block])
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_c(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
right_block = byte.merge_bytes([first_block, third_block])
left_block = rf_b(left_block, right_block, round_key_1)
if (combination_num == 3) :
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_c(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
left_block = byte.merge_bytes([second_block, fourth_block])
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_a(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
right_block = byte.merge_bytes([first_block, third_block])
left_block = rf_b(left_block, right_block, round_key_1)
if (combination_num == 4) :
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_a(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
left_block = byte.merge_bytes([second_block, fourth_block])
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_b(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
right_block = byte.merge_bytes([first_block, third_block])
left_block = rf_c(left_block, right_block, round_key_1)
if (combination_num == 5) :
# left side
new_left_block = left_block[:len(left_block)//2]
new_right_block = left_block[len(left_block)//2:]
second_block = rf_b(new_left_block, new_right_block, round_key_2)
fourth_block = new_right_block
left_block = byte.merge_bytes([second_block, fourth_block])
# right side
new_left_block = right_block[:len(right_block)//2]
new_right_block = right_block[len(right_block)//2:]
first_block = rf_a(new_left_block, new_right_block, round_key_3)
third_block = new_right_block
right_block = byte.merge_bytes([first_block, third_block])
left_block = rf_c(left_block, right_block, round_key_1)
block = byte.merge_bytes([left_block, right_block])
return(block)
| 36.702811 | 114 | 0.755225 | 1,566 | 9,139 | 3.950192 | 0.03129 | 0.240866 | 0.151309 | 0.13967 | 0.955383 | 0.935015 | 0.928387 | 0.924022 | 0.88474 | 0.860976 | 0 | 0.015861 | 0.123865 | 9,139 | 248 | 115 | 36.850806 | 0.756713 | 0.058978 | 0 | 0.899408 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.029586 | false | 0 | 0.011834 | 0 | 0.04142 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
4b8683869750e3cc5329c2d86c9d7822f76ad921 | 43 | py | Python | neural/losses/__init__.py | rubendfcosta/neural | 14def6bebe620c68f0d3970554f48d23d2de64c7 | [
"BSD-3-Clause"
] | null | null | null | neural/losses/__init__.py | rubendfcosta/neural | 14def6bebe620c68f0d3970554f48d23d2de64c7 | [
"BSD-3-Clause"
] | null | null | null | neural/losses/__init__.py | rubendfcosta/neural | 14def6bebe620c68f0d3970554f48d23d2de64c7 | [
"BSD-3-Clause"
] | null | null | null | from .ohem_loss import OHEMLoss, ohem_loss
| 21.5 | 42 | 0.837209 | 7 | 43 | 4.857143 | 0.714286 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
4ba3db74b93da3b1f7345975dfec3985cf2160e1 | 6,661 | py | Python | graphtheory/forests/tests/test_treeiset.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 36 | 2015-09-20T20:55:39.000Z | 2021-09-20T05:49:03.000Z | graphtheory/forests/tests/test_treeiset.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 6 | 2016-03-25T21:41:46.000Z | 2020-02-12T03:18:59.000Z | graphtheory/forests/tests/test_treeiset.py | gitter-badger/graphs-dict | 2be1a5b140feb050eec799d6cadf6de5eef01745 | [
"BSD-3-Clause"
] | 9 | 2016-09-12T07:57:27.000Z | 2022-03-21T16:15:39.000Z | #!/usr/bin/python
import unittest
from graphtheory.structures.edges import Edge
from graphtheory.structures.graphs import Graph
from graphtheory.forests.treeiset import BorieIndependentSet
from graphtheory.forests.treeiset import TreeIndependentSet1
from graphtheory.forests.treeiset import TreeIndependentSet2
# 0---1---2---6
# | | |
# 3 4 5
class TestIndependentSet1(unittest.TestCase):
def setUp(self):
self.N = 7
self.G = Graph(self.N)
self.nodes = range(self.N)
self.edges = [Edge(0, 1), Edge(0, 3), Edge(1, 2),
Edge(1, 4), Edge(2, 5), Edge(2, 6)]
for node in self.nodes:
self.G.add_node(node)
for edge in self.edges:
self.G.add_edge(edge)
#self.G.show()
def test_borie_iset(self):
algorithm = BorieIndependentSet(self.G)
algorithm.run()
expected1 = set([3, 4, 5, 6])
expected2 = set([0, 4, 5, 6])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected2)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def test_tree_iset1(self):
algorithm = TreeIndependentSet1(self.G)
algorithm.run()
expected1 = set([3, 4, 5, 6])
expected2 = set([0, 4, 5, 6])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def test_tree_iset2(self):
algorithm = TreeIndependentSet2(self.G)
algorithm.run()
expected1 = set([3, 4, 5, 6])
expected2 = set([0, 4, 5, 6])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def tearDown(self): pass
# 0---1---2
# / | | \
# 3 4 5 6
class TestIndependentSet2(unittest.TestCase):
def setUp(self):
self.N = 7
self.G = Graph(self.N)
self.nodes = range(self.N)
self.edges = [Edge(0, 1), Edge(1, 3), Edge(1, 2),
Edge(1, 4), Edge(2, 5), Edge(2, 6)]
for node in self.nodes:
self.G.add_node(node)
for edge in self.edges:
self.G.add_edge(edge)
#self.G.show()
def test_borie_iset(self):
algorithm = BorieIndependentSet(self.G)
algorithm.run()
expected1 = set([0, 3, 4, 5, 6])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def test_tree_iset1(self):
algorithm = TreeIndependentSet1(self.G)
algorithm.run()
expected1 = set([0, 3, 4, 5, 6])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def test_tree_iset2(self):
algorithm = TreeIndependentSet2(self.G)
algorithm.run()
expected1 = set([0, 3, 4, 5, 6])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def tearDown(self): pass
# 0---1---2---3---4---5 path P_6
# best dset len([1, 4]) = 2
# best node cover len([1, 2, 4]) = 3
# best iset len([0, 2, 5]) = 3
# best matching set([Edge(0, 1), Edge(2. 3), Edge(4, 5)])
class TestIndependentSet3(unittest.TestCase):
def setUp(self):
self.N = 6
self.G = Graph(self.N)
self.nodes = range(self.N)
self.edges = [Edge(0, 1), Edge(1, 2), Edge(2, 3),
Edge(3, 4), Edge(4, 5)]
for node in self.nodes:
self.G.add_node(node)
for edge in self.edges:
self.G.add_edge(edge)
#self.G.show()
def test_borie_iset(self):
algorithm = BorieIndependentSet(self.G)
algorithm.run()
expected1 = set([0, 2, 5])
expected2 = set([0, 3, 5])
expected3 = set([0, 2, 4])
expected4 = set([1, 3, 5])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected3)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def test_tree_iset1(self):
algorithm = TreeIndependentSet1(self.G)
algorithm.run()
expected1 = set([0, 2, 5])
expected2 = set([0, 3, 5])
expected3 = set([0, 2, 4])
expected4 = set([1, 3, 5])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def test_tree_iset2(self):
algorithm = TreeIndependentSet2(self.G)
algorithm.run()
expected1 = set([0, 2, 5])
expected2 = set([0, 3, 5])
expected3 = set([0, 2, 4])
expected4 = set([1, 3, 5])
self.assertEqual(algorithm.cardinality, len(expected1))
self.assertEqual(algorithm.independent_set, expected1)
# Testing iset.
for edge in self.G.iteredges():
self.assertFalse(edge.source in algorithm.independent_set
and edge.target in algorithm.independent_set)
def tearDown(self): pass
if __name__ == "__main__":
unittest.main()
# EOF
| 35.430851 | 70 | 0.602762 | 826 | 6,661 | 4.788136 | 0.09322 | 0.037927 | 0.157016 | 0.11378 | 0.899621 | 0.872314 | 0.872314 | 0.86397 | 0.86397 | 0.86397 | 0 | 0.042926 | 0.279538 | 6,661 | 187 | 71 | 35.620321 | 0.781204 | 0.065155 | 0 | 0.868613 | 0 | 0 | 0.00129 | 0 | 0 | 0 | 0 | 0 | 0.19708 | 1 | 0.109489 | false | 0.021898 | 0.043796 | 0 | 0.175182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
4b27726e13fb10d9a03e972b9a09f2d9eab49557 | 19,556 | py | Python | copct-master/baxter_corpus/demo_replace_red_with_green_1.py | jhomble/electron435 | 2a94a901679a1ebbdeea01bb9e888d365d536bec | [
"MIT"
] | 4 | 2016-10-26T13:58:44.000Z | 2018-11-13T13:03:52.000Z | copct-master/baxter_corpus/demo_replace_red_with_green_1.py | jhomble/electron435 | 2a94a901679a1ebbdeea01bb9e888d365d536bec | [
"MIT"
] | 4 | 2020-03-31T01:10:26.000Z | 2020-03-31T03:06:28.000Z | copct-master/baxter_corpus/demo_replace_red_with_green_1.py | jhomble/electron435 | 2a94a901679a1ebbdeea01bb9e888d365d536bec | [
"MIT"
] | 1 | 2020-03-03T06:22:08.000Z | 2020-03-03T06:22:08.000Z | demo = (
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"move arm and grasp",
(
2.000000,
"dock-body",
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","dock-body")),
),
"move grasped object",
(
2.000000,
"dock-case",
(
(1.000000, -0.000183, 0.000022, ),
(0.000183, 1.000000, -0.000317, ),
(-0.000022, 0.000317, 1.000000, ),
),
(
(3.705221, ),
(0.000380, ),
(0.079652, ),
),
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","dock-body")),
),
"release",
(
2.000000,
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"press dock toggle",
(
2.000000,
"dock-body_7_2",
2.000000,
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"move arm and grasp",
(
2.000000,
"c3",
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","c3")),
),
"move grasped object",
(
2.000000,
"discard-bin",
(
(0.999991, -0.004179, 0.000155, ),
(0.004179, 0.999987, -0.003087, ),
(-0.000142, 0.003088, 0.999995, ),
),
(
(-1.451147, ),
(1.286771, ),
(6.662836, ),
),
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","c3")),
),
"release",
(
2.000000,
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"press dock toggle",
(
2.000000,
"dock-body_8_2",
2.000000,
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"move arm and grasp",
(
2.000000,
"c4",
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","c4")),
),
"move grasped object",
(
2.000000,
"dock-body_7_1",
(
(0.999801, -0.019925, -0.000469, ),
(0.019925, 0.999801, -0.000232, ),
(0.000474, 0.000223, 1.000000, ),
),
(
(-0.408198, ),
(0.006555, ),
(0.345470, ),
),
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","c4")),
),
"release",
(
2.000000,
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"press dock toggle",
(
2.000000,
"dock-body_7_2",
1.000000,
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","nothing")),
),
"move arm and grasp",
(
2.000000,
"dock-body",
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","dock-body")),
),
"move grasped object",
(
2.000000,
"dock-case",
(
(1.000000, 0.000153, -0.000012, ),
(-0.000153, 1.000000, 0.000041, ),
(0.000012, -0.000041, 1.000000, ),
),
(
(0.049983, ),
(-0.028942, ),
(0.001479, ),
),
)
),
(
(
("workspace", "Workspace"),
("table", "Block"),
("dock-case", "DockCase"),
("dock-case_1", "Block"),
("dock-body", "DockDrawer"),
("dock-body_2", "DockFrontPanel"),
("dock-body_2_1", "Prism"),
("dock-body_2_2", "Block"),
("dock-body_2_3", "Block"),
("dock-body_4", "DockHandle"),
("dock-body_4_1", "Prism"),
("dock-body_4_2", "Prism"),
("dock-body_5", "DockModule"),
("dock-body_5_1", "DockSlot"),
("c1", "Cartridge"),
("dock-body_5_2", "DockSwitch"),
("dock-body_5_3", "DockLED"),
("dock-body_6", "DockModule"),
("dock-body_6_1", "DockSlot"),
("dock-body_6_2", "DockSwitch"),
("dock-body_6_3", "DockLED"),
("dock-body_7", "DockModule"),
("dock-body_7_1", "DockSlot"),
("c3", "Cartridge"),
("dock-body_7_2", "DockSwitch"),
("dock-body_7_3", "DockLED"),
("dock-body_8", "DockModule"),
("dock-body_8_1", "DockSlot"),
("c4", "Cartridge"),
("dock-body_8_2", "DockSwitch"),
("dock-body_8_3", "DockLED"),
("dock-case_2", "Block"),
("dock-case_3", "Block"),
("dock-case_4", "Block"),
("dock-case_5", "Prism"),
("dock-case_6", "Block"),
("c5", "Cartridge"),
("discard-bin", "Block"),
("gripping", ("nothing","dock-body")),
),
"release",
(
2.000000,
)
),
)
| 25.664042 | 40 | 0.564277 | 2,561 | 19,556 | 4.036314 | 0.029676 | 0.28635 | 0.054852 | 0.110283 | 0.967012 | 0.964206 | 0.961498 | 0.961498 | 0.961498 | 0.961498 | 0 | 0.073295 | 0.144661 | 19,556 | 761 | 41 | 25.697766 | 0.544688 | 0 | 0 | 0.868594 | 0 | 0 | 0.566987 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
d9bb9cd1f09c7d32868295594308f32392578054 | 257,507 | py | Python | scripts/irods/test/test_resource_types.py | d-w-moore/irods | 32cc2bd18e43aaaa42f002d07996343a05066646 | [
"BSD-3-Clause"
] | null | null | null | scripts/irods/test/test_resource_types.py | d-w-moore/irods | 32cc2bd18e43aaaa42f002d07996343a05066646 | [
"BSD-3-Clause"
] | null | null | null | scripts/irods/test/test_resource_types.py | d-w-moore/irods | 32cc2bd18e43aaaa42f002d07996343a05066646 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import print_function
import getpass
import hashlib
import inspect
import json
import os
import psutil
import re
import shutil
import subprocess
import sys
import tempfile
from threading import Timer
import time
import ustrings
if sys.version_info < (2, 7):
import unittest2 as unittest
else:
import unittest
from ..test.command import assert_command
from ..configuration import IrodsConfig
from ..controller import IrodsController
from ..core_file import temporary_core_file, CoreFile
from .. import test
from . import settings
from .. import lib
from .. import paths
from .resource_suite import ResourceSuite, ResourceBase
from .test_chunkydevtest import ChunkyDevTest
from . import session
from .rule_texts_for_tests import rule_texts
def assert_number_of_replicas(admin_session, logical_path, data_obj_name, replica_count):
for i in range(0, replica_count):
admin_session.assert_icommand(['ils', '-l', logical_path], 'STDOUT_SINGLELINE', [' {} '.format(str(i)), ' & ', data_obj_name])
admin_session.assert_icommand_fail(['ils', '-l', logical_path], 'STDOUT_SINGLELINE', [' {} '.format(str(replica_count + 1)), data_obj_name])
class Test_Resource_RandomWithinReplication(ResourceSuite, ChunkyDevTest, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc replication", 'STDOUT_SINGLELINE', 'replication')
admin_session.assert_icommand("iadmin mkresc rrResc random", 'STDOUT_SINGLELINE', 'random')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc unixA 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/unixAVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unixB1 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unixB1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unixB2 'unixfilesystem' " + test.settings.HOSTNAME_3 + ":" +
irods_config.irods_directory + "/unixB2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc rrResc")
admin_session.assert_icommand("iadmin addchildtoresc demoResc unixA")
admin_session.assert_icommand("iadmin addchildtoresc rrResc unixB1")
admin_session.assert_icommand("iadmin addchildtoresc rrResc unixB2")
self.child_replication_count = 2
super(Test_Resource_RandomWithinReplication, self).setUp()
def tearDown(self):
super(Test_Resource_RandomWithinReplication, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc rrResc unixB2")
admin_session.assert_icommand("iadmin rmchildfromresc rrResc unixB1")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unixA")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc rrResc")
admin_session.assert_icommand("iadmin rmresc unixB1")
admin_session.assert_icommand("iadmin rmresc unixB2")
admin_session.assert_icommand("iadmin rmresc unixA")
admin_session.assert_icommand("iadmin rmresc rrResc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unixB2Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unixB1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unixAVault", ignore_errors=True)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "local filesystem check")
def test_ichksum_no_file_modified_under_replication__4099(self):
filename = 'test_ichksum_no_file_modified_under_replication__4099'
filepath = lib.create_local_testfile(filename)
with open(filepath, 'r') as f:
original_checksum = hashlib.sha256(f.read()).digest().encode("base64").strip()
# put file into iRODS and clean up local
self.admin.assert_icommand(['iput', '-K', filepath, filename])
os.unlink(filename)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
# corrupt data in replica 0
_,out,_ = self.admin.assert_icommand(['iquest', '''"select DATA_RESC_HIER where DATA_NAME = '{0}' and DATA_REPL_NUM = '0'"'''.format(filename)], 'STDOUT_SINGLELINE', 'DATA_RESC_HIER')
replica_0_resc = out.splitlines()[0].split()[-1].split(';')[-1]
phypath_for_data_obj = os.path.join(self.admin.get_vault_session_path(replica_0_resc), filename)
# write more bytes to the file than what is recorded in the catalog.
with open(phypath_for_data_obj, 'w') as f:
f.write("corrupting the data" * 30)
new_checksum = 'LfxR4fKm3dK119M8llWLlDHLKvnRGTGH2bsldD2Er1c='
# forcibly re-calculate corrupted checksum and ensure that original checksum was not overwritten
self.admin.assert_icommand(['ichksum', '-f', '-n0', filename], 'STDOUT_SINGLELINE', 'sha2:' + new_checksum)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + new_checksum)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
# forcibly re-calculate all checksums and ensure that original checksum was not changed
self.admin.assert_icommand(['ichksum', '-f', '-a', filename], 'STDOUT_SINGLELINE', 'WARNING: Data object has replicas with different checksums.')
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + new_checksum)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
#cleanup
self.admin.assert_icommand(['irm', '-f', filename])
def test_ibun_creation_to_replication(self):
collection_name = 'bundle_me'
tar_name = 'bundle.tar'
filename = 'test_ibun_creation_to_replication'
copy_filename = filename + '_copy'
test_data_obj_path = os.path.join(collection_name, filename)
test_data_obj_copy_path = os.path.join(collection_name, copy_filename)
# put file into iRODS and make a copy on a non-replicating resource
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand(['imkdir', collection_name])
self.admin.assert_icommand(['iput', filepath, test_data_obj_path])
os.unlink(filepath)
self.admin.assert_icommand(['icp', '-R', 'TestResc', test_data_obj_path, test_data_obj_copy_path])
# bundle the collection and ensure that it and its contents replicated properly
self.admin.assert_icommand(['ibun', '-c', tar_name, collection_name])
assert_number_of_replicas(self.admin, tar_name, tar_name, self.child_replication_count)
assert_number_of_replicas(self.admin, test_data_obj_path, filename, self.child_replication_count)
self.admin.assert_icommand(['ils', '-l', test_data_obj_copy_path], 'STDOUT_SINGLELINE', [' 0 ', 'TestResc', ' & ', copy_filename])
assert_number_of_replicas(self.admin, test_data_obj_copy_path, copy_filename, self.child_replication_count + 1)
# cleanup
self.admin.assert_icommand(['irm', '-r', '-f', collection_name])
self.admin.assert_icommand(['irm', '-f', tar_name])
def test_redirect_map_regeneration__3904(self):
# Setup
filecount = 50
dirname = 'test_redirect_map_regeneration__3904'
lib.create_directory_of_small_files(dirname, filecount)
self.admin.assert_icommand(['iput', '-r', dirname], "STDOUT_SINGLELINE", ustrings.recurse_ok_string())
# Count the number of recipients of replicas
hier_ctr = {}
stdout,_,_ = self.admin.run_icommand(['ils', '-l', dirname])
lines = stdout.splitlines()
# Check all lines but the first one
for line in lines[1:]:
res = line.split()
hier_ctr[res[2]] = 'found_it'
# Ensure that a different set of replication targets resulted at least once
self.assertTrue(len(hier_ctr) == 3, msg="only %d resources received replicas, expected 3" % len(hier_ctr))
# Cleanup
self.admin.assert_icommand(['irm', '-rf', dirname])
shutil.rmtree(dirname, ignore_errors=True)
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
@unittest.skip("no support for non-compound resources")
def test_iput_with_purgec(self):
pass
@unittest.skip("no support for non-compound resources")
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed once
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
@unittest.skip("no support for non-compound resources")
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed twice - 2 of 3
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource repl 0 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource repl 0 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource repl 1 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource 1 should have double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from cacheResc only
# replica 2 should still be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["2 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) #
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource cache should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource archive should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource cache should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource archive should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
class Test_Resource_Unixfilesystem(ResourceSuite, ChunkyDevTest, unittest.TestCase):
plugin_name = IrodsConfig().default_rule_engine_plugin
class_name = 'Test_Resource_Unixfilesystem'
def setUp(self):
hostname = lib.get_hostname()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc 'unixfilesystem' " + hostname + ":" +
IrodsConfig().irods_directory + "/demoRescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
super(Test_Resource_Unixfilesystem, self).setUp()
def tearDown(self):
super(Test_Resource_Unixfilesystem, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
shutil.rmtree(IrodsConfig().irods_directory + "/demoRescVault", ignore_errors=True)
@unittest.skipUnless(plugin_name == 'irods_rule_engine_plugin-irods_rule_language', 'only applicable for irods_rule_language REP')
def test_unix_filesystem_free_space_on_root__3928(self):
free_space = '100'
self.admin.assert_icommand(['iadmin', 'modresc', 'demoResc', 'path', '/demoRescVault'], 'STDOUT_SINGLELINE', 'Previous resource path')
self.admin.assert_icommand(['iadmin', 'modresc', 'demoResc', 'free_space', free_space])
rule_file_path = 'test_free_space_on_root.r'
rule_str = '''
test_free_space_on_root {{
msi_update_unixfilesystem_resource_free_space(*leaf_resource);
}}
INPUT *leaf_resource="demoResc"
OUTPUT ruleExecOut
'''
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
config = IrodsConfig()
with lib.file_backed_up(config.server_config_path):
config.server_config['log_level']['agent'] = 'trace'
lib.update_json_file_from_dict(config.server_config_path, config.server_config)
log_offset = lib.get_file_size_by_path(paths.server_log_path())
rc, _, stderr = self.admin.assert_icommand_fail(['irule', '-r', 'irods_rule_engine_plugin-irods_rule_language-instance', '-F', rule_file_path])
self.admin.assert_icommand(['ilsresc', '-l', 'demoResc'], 'STDOUT_SINGLELINE', ['free space', free_space])
self.assertNotEqual(0, rc)
self.assertTrue('status = -32000 SYS_INVALID_RESC_INPUT' in stderr)
lib.delayAssert(
lambda: lib.log_message_occurrences_equals_count(
msg='could not find existing non-root path from vault path',
server_log_path=paths.server_log_path(),
start_index=log_offset))
os.unlink(rule_file_path)
def test_unix_filesystem_free_space__3306(self):
filename = 'test_unix_filesystem_free_space__3306.txt'
filesize = 3000000
lib.make_file(filename, filesize)
free_space = 10000000
self.admin.assert_icommand('iadmin modresc demoResc freespace {0}'.format(free_space))
# free_space already below threshold - should NOT accept new file
minimum = free_space + 10
self.admin.assert_icommand('iadmin modresc demoResc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iput ' + filename + ' file1', 'STDERR_SINGLELINE', 'USER_FILE_TOO_LARGE')
# free_space will be below threshold if replica is created - should NOT accept new file
minimum = free_space - filesize/2
self.admin.assert_icommand('iadmin modresc demoResc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iput ' + filename + ' file2', 'STDERR_SINGLELINE', 'USER_FILE_TOO_LARGE')
# after replica creation, free_space will still be greater than minimum - should accept new file
minimum = free_space - filesize*2
self.admin.assert_icommand('iadmin modresc demoResc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iput ' + filename + ' file3')
def test_msi_update_unixfilesystem_resource_free_space_and_acPostProcForParallelTransferReceived(self):
try:
filename = 'test_msi_update_unixfilesystem_resource_free_space_and_acPostProcForParallelTransferReceived'
filepath = lib.make_file(filename, 50000000)
# make sure the physical path exists
lib.make_dir_p(self.admin.get_vault_path('demoResc'))
with temporary_core_file() as core:
time.sleep(1) # remove once file hash fix is committed #2279
core.add_rule(rule_texts[self.plugin_name][self.class_name][inspect.currentframe().f_code.co_name])
time.sleep(1) # remove once file hash fix is committed #2279
self.user0.assert_icommand(['iput', filename])
free_space = psutil.disk_usage(self.admin.get_vault_path('demoResc')).free
ilsresc_output = self.admin.run_icommand(['ilsresc', '-l', 'demoResc'])[0]
for l in ilsresc_output.splitlines():
if l.startswith('free space:'):
ilsresc_freespace = int(l.rpartition(':')[2])
break
else:
assert False, '"free space:" not found in ilsresc output:\n' + ilsresc_output
assert abs(free_space - ilsresc_freespace) < 4096*10, 'free_space {0}, ilsresc free space {1}'.format(free_space, ilsresc_freespace)
os.unlink(filename)
except:
print('Skipping for plugin name ['+self.plugin_name+']')
def test_key_value_passthru(self):
file_name = 'file.txt'
other_file_name = 'other.txt'
try:
# load server_config.json to inject new settings
server_config_filename = paths.server_config_path()
with open(server_config_filename) as f:
svr_cfg = json.load(f)
svr_cfg['log_level']['resource'] = 'debug'
# dump to a string to repave the existing server_config.json
new_server_config = json.dumps(svr_cfg, sort_keys=True, indent=4, separators=(',', ': '))
with lib.file_backed_up(server_config_filename):
# repave the existing server_config.json
with open(server_config_filename, 'w') as f:
f.write(new_server_config)
IrodsController().restart()
lib.make_file(file_name, 15)
initial_log_size = lib.get_file_size_by_path(IrodsConfig().server_log_path)
self.user0.assert_icommand('iput --kv_pass="put_key=val1" {}'.format(file_name))
# double print if collection missing
lib.delayAssert(
lambda: lib.log_message_occurrences_is_one_of_list_of_counts(
msg='key [put_key] - value [val1]',
expected_value_list=[1,2],
server_log_path=IrodsConfig().server_log_path,
start_index=initial_log_size))
initial_log_size = lib.get_file_size_by_path(IrodsConfig().server_log_path)
self.user0.assert_icommand('iget -f --kv_pass="get_key=val3" {0} {1}'.format(file_name, other_file_name))
# double print if collection missing
lib.delayAssert(
lambda: lib.log_message_occurrences_is_one_of_list_of_counts(
msg='key [get_key] - value [val3]',
expected_value_list=[1,2],
server_log_path=IrodsConfig().server_log_path,
start_index=initial_log_size))
finally:
IrodsController().restart()
if os.path.exists(file_name):
os.unlink(file_name)
if os.path.exists(other_file_name):
os.unlink(other_file_name)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing: Checks local file")
def test_ifsck__2650(self):
# local setup
filename = 'fsckfile.txt'
filepath = lib.create_local_testfile(filename)
orig_digest = lib.file_digest(filepath, 'sha256', encoding='base64')
long_collection_name = '255_byte_directory_name_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12_abcdefghijklmnopqrstuvwxyz12'
self.admin.assert_icommand("imkdir " + self.admin.session_collection + "/" + long_collection_name)
full_logical_path = self.admin.session_collection + "/" + long_collection_name + "/" + filename
# assertions
self.admin.assert_icommand('ils -L ' + full_logical_path, 'STDERR_SINGLELINE', 'does not exist') # should not be listed
self.admin.assert_icommand('iput -K ' + filepath + ' ' + full_logical_path) # iput
self.admin.assert_icommand('ils -L ' + full_logical_path, 'STDOUT_SINGLELINE', filename) # should be listed
file_vault_full_path = os.path.join(self.admin.get_vault_session_path(), long_collection_name, filename)
# method 1
out, err, ec = self.admin.run_icommand('ichksum -K ' + full_logical_path)
self.assertEqual(ec, 0)
self.assertEqual(len(out), 0)
self.assertEqual(len(err), 0)
# method 2
self.admin.assert_icommand("iquest \"select DATA_CHECKSUM where DATA_NAME = '%s'\"" % filename,
'STDOUT_SINGLELINE', ['DATA_CHECKSUM = sha2:' + orig_digest]) # iquest
# method 3
self.admin.assert_icommand('ils -L ' + long_collection_name, 'STDOUT_SINGLELINE', filename) # ils
self.admin.assert_icommand('ifsck -K ' + file_vault_full_path) # ifsck
# change content in vault
with open(file_vault_full_path, 'r+t') as f:
f.seek(0)
print("x", file=f, end='')
self.admin.assert_icommand('ifsck -K ' + file_vault_full_path, 'STDOUT_SINGLELINE', ['CORRUPTION', 'checksum not consistent with iRODS object']) # ifsck
# change size in vault
lib.cat(file_vault_full_path, 'extra letters')
new_digest = lib.file_digest(file_vault_full_path, 'sha256', encoding='base64')
self.admin.assert_icommand('ifsck ' + file_vault_full_path, 'STDOUT_SINGLELINE', ['CORRUPTION', 'not consistent with iRODS object']) # ifsck
# unregister, reregister (to update filesize in iCAT), recalculate checksum, and confirm
self.admin.assert_icommand('iunreg ' + full_logical_path)
self.admin.assert_icommand('ireg ' + file_vault_full_path + ' ' + full_logical_path)
self.admin.assert_icommand('ifsck -K ' + file_vault_full_path, 'STDOUT_SINGLELINE', ['WARNING: checksum not available']) # ifsck
self.admin.assert_icommand('ichksum -f ' + full_logical_path, 'STDOUT', ['sha2:' + new_digest])
self.admin.assert_icommand('ifsck -K ' + file_vault_full_path) # ifsck
# local cleanup
os.remove(filepath)
class Test_Resource_Passthru(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc passthru", 'STDOUT_SINGLELINE', 'passthru')
admin_session.assert_icommand("iadmin mkresc unix1Resc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
IrodsConfig().irods_directory + "/unix1RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix1Resc")
super(Test_Resource_Passthru, self).setUp()
def tearDown(self):
super(Test_Resource_Passthru, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix1Resc")
admin_session.assert_icommand("iadmin rmresc unix1Resc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
shutil.rmtree(IrodsConfig().irods_directory + "/unix1RescVault", ignore_errors=True)
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
class Test_Resource_WeightedPassthru(ResourceBase, unittest.TestCase):
def setUp(self):
hostname = lib.get_hostname()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc replication", 'STDOUT_SINGLELINE', 'replication')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc unixA 'unixfilesystem' " + hostname + ":" +
irods_config.irods_directory + "/unixAVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unixB 'unixfilesystem' " + hostname + ":" +
irods_config.irods_directory + "/unixBVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc w_pt passthru '' 'write=1.0;read=1.0'", 'STDOUT_SINGLELINE', 'passthru')
admin_session.assert_icommand("iadmin addchildtoresc demoResc unixA")
admin_session.assert_icommand("iadmin addchildtoresc demoResc w_pt")
admin_session.assert_icommand("iadmin addchildtoresc w_pt unixB")
super(Test_Resource_WeightedPassthru, self).setUp()
def tearDown(self):
super(Test_Resource_WeightedPassthru, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc w_pt unixB")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc w_pt")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unixA")
admin_session.assert_icommand("iadmin rmresc unixB")
admin_session.assert_icommand("iadmin rmresc unixA")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin rmresc w_pt")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unixBVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unixAVault", ignore_errors=True)
def test_weighted_passthru(self):
filename = "some_local_file.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput " + filepath)
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', "local")
# repave a copy in the vault to differentiate
vaultpath = os.path.join(IrodsConfig().irods_directory, "unixBVault/home/" + self.admin.username, os.path.basename(self.admin._session_id), filename)
subprocess.check_call("echo 'THISISBROEKN' | cat > %s" % (vaultpath), shell=True)
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=2.0'")
self.admin.assert_icommand("iget " + filename + " - ", 'STDOUT_SINGLELINE', "THISISBROEKN")
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=0.01'")
self.admin.assert_icommand("iget " + filename + " - ", 'STDOUT_SINGLELINE', "TESTFILE")
def test_weighted_passthru__2789(self):
### write=1.0;read=1.0
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=1.0'")
filename = "some_local_file_A.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand('icp {0} {1}'.format(self.testfile,filename))
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixA',filename])
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixB',filename])
self.admin.assert_icommand("irm -f " + filename)
self.admin.assert_icommand("iput " + filepath)
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixA',filename])
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixB',filename])
# repave a copy in the vault to differentiate
vaultpath = os.path.join(IrodsConfig().irods_directory, "unixBVault/home/" + self.admin.username, os.path.basename(self.admin._session_id), filename)
subprocess.check_call("echo 'THISISBROEKN' | cat > %s" % (vaultpath), shell=True)
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=2.0'")
self.admin.assert_icommand("iget " + filename + " - ", 'STDOUT_SINGLELINE', "THISISBROEKN")
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=0.01'")
self.admin.assert_icommand("iget " + filename + " - ", 'STDOUT_SINGLELINE', "TESTFILE")
self.admin.assert_icommand("irm -f " + filename)
### write=0.9;read=0.0
self.admin.assert_icommand("iadmin modresc w_pt context 'write=0.9;read=0.0'")
filename = "some_local_file_B.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand('icp {0} {1}'.format(self.testfile,filename))
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixA',filename])
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixB',filename])
self.admin.assert_icommand("irm -f " + filename)
self.admin.assert_icommand("iput " + filepath)
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixA',filename])
self.admin.assert_icommand("ils -L", 'STDOUT_SINGLELINE', ['unixB',filename])
# repave a copy in the vault to differentiate
vaultpath = os.path.join(IrodsConfig().irods_directory, "unixBVault/home/" + self.admin.username, os.path.basename(self.admin._session_id), filename)
subprocess.check_call("echo 'THISISBROEKN' | cat > %s" % (vaultpath), shell=True)
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=2.0'")
self.admin.assert_icommand("iget " + filename + " - ", 'STDOUT_SINGLELINE', "THISISBROEKN")
self.admin.assert_icommand("iadmin modresc w_pt context 'write=1.0;read=0.01'")
self.admin.assert_icommand("iget " + filename + " - ", 'STDOUT_SINGLELINE', "TESTFILE")
self.admin.assert_icommand("irm -f " + filename)
class Test_Resource_Deferred(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc deferred", 'STDOUT_SINGLELINE', 'deferred')
admin_session.assert_icommand("iadmin mkresc unix1Resc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
IrodsConfig().irods_directory + "/unix1RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix1Resc")
super(Test_Resource_Deferred, self).setUp()
def tearDown(self):
super(Test_Resource_Deferred, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix1Resc")
admin_session.assert_icommand("iadmin rmresc unix1Resc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
shutil.rmtree(IrodsConfig().irods_directory + "/unix1RescVault", ignore_errors=True)
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
class Test_Resource_Random(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc random", 'STDOUT_SINGLELINE', 'random')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc unix1Resc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/unix1RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix2Resc 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unix2RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix3Resc 'unixfilesystem' " + test.settings.HOSTNAME_3 + ":" +
irods_config.irods_directory + "/unix3RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix1Resc")
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix2Resc")
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix3Resc")
super(Test_Resource_Random, self).setUp()
def tearDown(self):
super(Test_Resource_Random, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix3Resc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix2Resc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix1Resc")
admin_session.assert_icommand("iadmin rmresc unix3Resc")
admin_session.assert_icommand("iadmin rmresc unix2Resc")
admin_session.assert_icommand("iadmin rmresc unix1Resc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unix1RescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix2RescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix3RescVault", ignore_errors=True)
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
def test_unix_filesystem_free_space__3306(self):
filename = 'test_unix_filesystem_free_space__3306'
filesize = 3000000
lib.make_file(filename, filesize)
free_space = 1000000000
self.admin.assert_icommand('iadmin modresc unix1Resc freespace {0}'.format(free_space))
self.admin.assert_icommand('iadmin modresc unix2Resc freespace {0}'.format(free_space))
self.admin.assert_icommand('iadmin modresc unix3Resc freespace {0}'.format(free_space))
# minimum below free space - should NOT accept new file on any child
minimum = free_space + 10
self.admin.assert_icommand('iadmin modresc unix1Resc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iadmin modresc unix2Resc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iadmin modresc unix3Resc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iput ' + filename + ' file1', 'STDERR_SINGLELINE', 'NO_NEXT_RESC_FOUND')
# minimum above free space plus file size - should accept new file on unix2Resc only
minimum = free_space + 10
self.admin.assert_icommand('iadmin modresc unix1Resc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iadmin modresc unix3Resc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
minimum = free_space - filesize - 10
self.admin.assert_icommand('iadmin modresc unix2Resc context minimum_free_space_for_create_in_bytes={0}'.format(minimum))
self.admin.assert_icommand('iput ' + filename + ' file3')
self.admin.assert_icommand('ils -l file3', 'STDOUT_SINGLELINE', 'unix2Resc')
class Test_Resource_NonBlocking(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc nonblocking " + test.settings.HOSTNAME_1 + ":" +
IrodsConfig().irods_directory + "/nbVault", 'STDOUT_SINGLELINE', 'nonblocking')
super(Test_Resource_NonBlocking, self).setUp()
def tearDown(self):
super(Test_Resource_NonBlocking, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
class Test_Resource_CompoundWithMockarchive(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc compound", 'STDOUT_SINGLELINE', 'compound')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc cacheResc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/cacheRescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc mockarchive " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/archiveRescVault univMSSInterface.sh", 'STDOUT_SINGLELINE', 'mockarchive')
admin_session.assert_icommand("iadmin addchildtoresc demoResc cacheResc cache")
admin_session.assert_icommand("iadmin addchildtoresc demoResc archiveResc archive")
super(Test_Resource_CompoundWithMockarchive, self).setUp()
def tearDown(self):
super(Test_Resource_CompoundWithMockarchive, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc archiveResc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc cacheResc")
admin_session.assert_icommand("iadmin rmresc archiveResc")
admin_session.assert_icommand("iadmin rmresc cacheResc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/archiveRescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/cacheRescVault", ignore_errors=True)
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from cacheResc only
# replica 2 should still be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["2 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("NOTSURE / FIXME ... -K not supported, perhaps")
def test_local_iput_checksum(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) #
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource cache should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource archive should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource cache should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource archive should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
###################
# irepl
###################
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource cache should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource cache should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource archive should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource archive should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_iput_with_purgec(self):
# local setup
filename = "purgecfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
try:
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput --purgec " + filename) # put file
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
# should be listed once - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed only once
self.admin.assert_icommand(['irm', '-f', filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand(['iput', '-b', '--purgec', filename]) # put file... in bulk!
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
# should be listed once - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed only once
finally:
if os.path.exists(filepath):
os.unlink(filepath)
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed once
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should not be listed
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed twice - 2 of 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed twice - 1 of 3
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
class Test_Resource_CompoundWithUnivmss(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc compound", 'STDOUT_SINGLELINE', 'compound')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc cacheResc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/cacheRescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc univmss " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/archiveRescVault univMSSInterface.sh", 'STDOUT_SINGLELINE', 'univmss')
admin_session.assert_icommand("iadmin addchildtoresc demoResc cacheResc cache")
admin_session.assert_icommand("iadmin addchildtoresc demoResc archiveResc archive")
super(Test_Resource_CompoundWithUnivmss, self).setUp()
def tearDown(self):
super(Test_Resource_CompoundWithUnivmss, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc archiveResc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc cacheResc")
admin_session.assert_icommand("iadmin rmresc archiveResc")
admin_session.assert_icommand("iadmin rmresc cacheResc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/archiveRescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/cacheRescVault", ignore_errors=True)
def test_irm_with_no_stage__2930(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("itrim -n0 -N1 " + self.testfile, 'STDOUT_SINGLELINE', "files trimmed") # trim cache copy
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
irods_config = IrodsConfig()
initial_log_size = lib.get_file_size_by_path(irods_config.server_log_path)
self.admin.assert_icommand("irm " + self.testfile ) # remove archive replica
lib.delayAssert(
lambda: lib.log_message_occurrences_equals_count(
msg='argv:stageToCache',
count=0,
server_log_path=irods_config.server_log_path,
start_index=initial_log_size))
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from cacheResc only
# replica 2 should still be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["2 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) #
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource cache should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource archive should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource cache should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource archive should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
###################
# irepl
###################
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource cache should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource cache should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource archive should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource archive should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_iput_with_purgec(self):
# local setup
filename = "purgecfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
try:
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput --purgec " + filename) # put file
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
# should be listed once - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed only once
self.admin.assert_icommand(['irm', '-f', filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand(['iput', '-b', '--purgec', filename]) # put file... in bulk!
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
# should be listed once - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed only once
finally:
if os.path.exists(filepath):
os.unlink(filepath)
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed once
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should not be listed
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed twice - 2 of 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed twice - 1 of 3
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
class Test_Resource_Compound(ChunkyDevTest, ResourceSuite, unittest.TestCase):
plugin_name = IrodsConfig().default_rule_engine_plugin
class_name = 'Test_Resource_Compound'
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc compound", 'STDOUT_SINGLELINE', 'compound')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc cacheResc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/cacheRescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/archiveRescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc cacheResc cache")
admin_session.assert_icommand("iadmin addchildtoresc demoResc archiveResc archive")
super(Test_Resource_Compound, self).setUp()
def tearDown(self):
super(Test_Resource_Compound, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc archiveResc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc cacheResc")
admin_session.assert_icommand("iadmin rmresc archiveResc")
admin_session.assert_icommand("iadmin rmresc cacheResc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/archiveRescVault", ignore_errors=True)
shutil.rmtree("rm -rf " + irods_config.irods_directory + "/cacheRescVault", ignore_errors=True)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "local filesystem check")
def test_ichksum_no_file_modified_under_compound__4085(self):
filename = 'test_ichksum_no_file_modified_in_compound__4085'
filepath = lib.create_local_testfile(filename)
with open(filepath, 'r') as f:
original_checksum = hashlib.sha256(f.read()).digest().encode("base64").strip()
self.admin.assert_icommand(['iput', '-K', filepath, filename])
os.unlink(filename)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', 'archiveResc')
phypath_for_data_obj = os.path.join(self.admin.get_vault_session_path('archiveResc'), filename)
original_archive_mtime = str(os.stat(phypath_for_data_obj).st_mtime)
# trim cache replica
self.admin.assert_icommand(['itrim', '-n0', '-N1', filename], 'STDOUT_SINGLELINE', "files trimmed")
# run ichksum on data object, which will replicate to cache
self.admin.assert_icommand(['ichksum', '-f', filename], 'STDOUT_SINGLELINE', filename + ' sha2:')
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
self.assertTrue(str(os.stat(phypath_for_data_obj).st_mtime) == original_archive_mtime, msg='Archive mtime changed after ichksum - not good!')
#cleanup
self.admin.assert_icommand(['irm', '-f', filename])
def test_irsync__2976(self):
filename = "test_irsync__2976.txt"
filename_rsync = "test_irsync__2976.txt.rsync"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput -R demoResc " + filename)
logical_path = os.path.join( self.admin.session_collection, filename )
logical_path_rsync = os.path.join( self.admin.session_collection, filename_rsync )
self.admin.assert_icommand("irsync i:" + logical_path + " i:" + logical_path_rsync )
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', filename )
self.admin.assert_icommand("ils -l " + logical_path_rsync, 'STDOUT_SINGLELINE', filename_rsync )
def test_msiDataObjRsync__2976(self):
filename = "test_msiDataObjRsync__2976.txt"
filename_rsync = "test_msiDataObjRsync__2976.txt.rsync"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput -R TestResc " + filename)
logical_path = os.path.join( self.admin.session_collection, filename )
logical_path_rsync = os.path.join( self.admin.session_collection, filename_rsync )
parameters = {}
parameters['logical_path'] = logical_path
parameters['logical_path_rsync'] = logical_path_rsync
parameters['dest_resc'] = 'null'
rule_file_path = 'test_msiDataObjRsync__2976.r'
rule_str = rule_texts[self.plugin_name][self.class_name]['test_msiDataObjRsync__2976'].format(**parameters)
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
# invoke rule
self.admin.assert_icommand('irule -F ' + rule_file_path)
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', filename )
self.admin.assert_icommand("ils -l " + logical_path_rsync, 'STDOUT_SINGLELINE', filename_rsync )
def test_irsync_for_collection__2976(self):
dir_name = 'test_irsync_for_collection__2976'
dir_name_rsync = dir_name + '_rsync'
lib.create_directory_of_small_files(dir_name,10)
self.admin.assert_icommand('iput -rR demoResc ' + dir_name, "STDOUT_SINGLELINE", ustrings.recurse_ok_string())
logical_path = os.path.join( self.admin.session_collection, dir_name )
logical_path_rsync = os.path.join( self.admin.session_collection, dir_name_rsync )
self.admin.assert_icommand("irsync -r i:" + logical_path + " i:" + logical_path_rsync )
self.admin.assert_icommand("ils -lr " + logical_path, 'STDOUT_SINGLELINE', dir_name )
self.admin.assert_icommand("ils -lr " + logical_path_rsync, 'STDOUT_SINGLELINE', dir_name_rsync )
def test_msiCollRsync__2976(self):
dir_name = 'test_irsync_for_collection__2976'
dir_name_rsync = dir_name + '_rsync'
lib.create_directory_of_small_files(dir_name,10)
self.admin.assert_icommand('iput -rR demoResc ' + dir_name, "STDOUT_SINGLELINE", ustrings.recurse_ok_string())
logical_path = os.path.join( self.admin.session_collection, dir_name )
logical_path_rsync = os.path.join( self.admin.session_collection, dir_name_rsync )
parameters = {}
parameters['logical_path'] = logical_path
parameters['logical_path_rsync'] = logical_path_rsync
parameters['dest_resc'] = 'demoResc'
rule_file_path = 'test_msiDataObjRsync__2976.r'
rule_str = rule_texts[self.plugin_name][self.class_name]['test_msiCollRsync__2976'].format(**parameters)
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
# invoke rule
self.admin.assert_icommand('irule -F ' + rule_file_path)
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', dir_name )
self.admin.assert_icommand("ils -l " + logical_path_rsync, 'STDOUT_SINGLELINE', dir_name_rsync )
def test_iphymv_as_admin__2995(self):
filename = "test_iphymv_as_admin__2995_file.txt"
filepath = lib.create_local_testfile(filename)
self.user1.assert_icommand("iput -R TestResc " + filename)
logical_path = os.path.join( self.user1.session_collection, filename )
self.admin.assert_icommand("iphymv -M -S TestResc -R cacheResc " + logical_path )
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', ['&', 'cacheResc'])
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', ['&', 'archiveResc'])
def test_irepl_as_admin__2988(self):
filename = "test_irepl_as_admin__2988_file.txt"
filepath = lib.create_local_testfile(filename)
self.user1.assert_icommand("iput -R TestResc " + filename)
logical_path = os.path.join( self.user1.session_collection, filename )
self.admin.assert_icommand("irepl -M -R demoResc " + logical_path )
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', 'cacheResc')
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', 'archiveResc')
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "local filesystem check")
def test_msiDataObjUnlink__2983(self):
filename = "test_test_msiDataObjUnlink__2983.txt"
filepath = lib.create_local_testfile(filename)
logical_path = os.path.join( self.admin.session_collection, filename )
self.admin.assert_icommand("ireg " + filepath + " " + logical_path)
parameters = {}
parameters['logical_path'] = logical_path
rule_file_path = 'test_msiDataObjUnlink__2983.r'
rule_str = rule_texts[self.plugin_name][self.class_name]['test_msiDataObjUnlink__2983'].format(**parameters)
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
# invoke rule
self.admin.assert_icommand('irule -F ' + rule_file_path)
self.admin.assert_icommand_fail("ils -l " + logical_path, 'STDOUT_SINGLELINE', filename)
assert os.path.isfile(filepath)
def test_msiDataObjRepl_as_admin__2988(self):
filename = "test_msiDataObjRepl_as_admin__2988_file.txt"
filepath = lib.create_local_testfile(filename)
self.user1.assert_icommand("iput -R TestResc " + filename)
logical_path = os.path.join( self.user1.session_collection, filename )
parameters = {}
parameters['logical_path'] = logical_path
parameters['dest_resc'] = 'demoResc'
rule_file_path = 'test_msiDataObjRepl_as_admin__2988.r'
rule_str = rule_texts[self.plugin_name][self.class_name]['test_msiDataObjRepl_as_admin__2988'].format(**parameters)
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
# invoke rule
self.admin.assert_icommand('irule -F ' + rule_file_path)
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', 'cacheResc')
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', 'archiveResc')
def test_auto_repl_off__2941(self):
self.admin.assert_icommand("iadmin modresc demoResc context \"auto_repl=off\"" )
filename = "auto_repl_file.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', 'cacheResc')
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', 'archiveResc')
def test_msisync_to_archive__2962(self):
self.admin.assert_icommand("iadmin modresc demoResc context \"auto_repl=off\"" )
filename = "test_msisync_to_archive__2962.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', 'cacheResc')
physical_path = os.path.join(IrodsConfig().irods_directory, 'cacheRescVault')
physical_path = os.path.join(physical_path,os.path.basename(self.admin.session_collection))
physical_path = os.path.join(physical_path,filename)
logical_path = os.path.join( self.admin.session_collection, filename )
parameters = {}
parameters['logical_path'] = logical_path
parameters['physical_path'] = physical_path
parameters['resc_hier'] = 'demoResc;cacheResc'
rule_file_path = 'test_msisync_to_archive__2962.r'
rule_str = rule_texts[self.plugin_name][self.class_name]['test_msisync_to_archive__2962'].format(**parameters)
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
# invoke rule
self.admin.assert_icommand('irule -F ' + rule_file_path)
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', 'cacheResc')
self.admin.assert_icommand("ils -l " + logical_path, 'STDOUT_SINGLELINE', 'archiveResc')
def test_stage_to_cache(self):
self.admin.assert_icommand("iadmin modresc demoResc context \"auto_repl=on\"" )
filename = "test_stage_to_cache_file.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput " + filename)
self.admin.assert_icommand("itrim -N 1 -n 0 " + filename, 'STDOUT_SINGLELINE', "files trimmed")
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', 'archiveResc' )
self.admin.assert_icommand("iget -f " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', 'cacheResc')
def test_auto_repl_on__2941(self):
self.admin.assert_icommand("iadmin modresc demoResc context \"auto_repl=on\"" )
filename = "auto_repl_file.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', 'cacheResc')
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', 'archiveResc')
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from cacheResc only
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["2 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing")
def test_iget_prefer_from_archive_corrupt_archive__ticket_3145(self):
# new file to put and get
filename = "archivepolicyfile.txt"
filepath = lib.create_local_testfile(filename)
# manipulate core.re (leave as 'when_necessary' - default)
# put the file
self.admin.assert_icommand("iput " + filename) # put file
# manually remove the replica in the archive vault
phypath = os.path.join(self.admin.get_vault_session_path('archiveResc'), filename)
os.remove(phypath)
# manipulate the core.re to add the new policy
with temporary_core_file() as core:
time.sleep(2) # remove once file hash fix is commited #2279
core.add_rule(rule_texts[self.plugin_name][self.class_name][inspect.currentframe().f_code.co_name])
time.sleep(2) # remove once file hash fix is commited #2279
self.admin.assert_icommand("irm -f " + filename)
# local cleanup
os.remove(filepath)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing: Checks local file")
def test_iget_prefer_from_archive__ticket_1660(self):
# new file to put and get
filename = "archivepolicyfile.txt"
filepath = lib.create_local_testfile(filename)
# manipulate core.re (leave as 'when_necessary' - default)
# put the file
self.admin.assert_icommand("iput " + filename) # put file
# manually update the replica in archive vault
out, _, _ = self.admin.run_icommand('ils -L ' + filename)
archivereplicaphypath = filter(lambda x : "archiveRescVault" in x, out.split())[0]
with open(archivereplicaphypath, 'wt') as f:
print('MANUALLY UPDATED ON ARCHIVE\n', file=f, end='')
# get file
retrievedfile = "retrieved.txt"
os.system("rm -f %s" % retrievedfile)
self.admin.assert_icommand("iget -f %s %s" % (filename, retrievedfile)) # get file from cache
# confirm retrieved file is same as original
self.assertEqual(0, os.system("diff %s %s" % (filepath, retrievedfile)))
# manipulate the core.re to add the new policy
with temporary_core_file() as core:
time.sleep(1) # remove once file hash fix is committed #2279
core.add_rule(rule_texts[self.plugin_name][self.class_name][inspect.currentframe().f_code.co_name])
time.sleep(1) # remove once file hash fix is committed #2279
# restart the server to reread the new core.re
IrodsController().restart()
# manually update the replica in archive vault
out, _, _ = self.admin.run_icommand('ils -L ' + filename)
archivereplicaphypath = filter(lambda x : "archiveRescVault" in x, out.split())[0]
with open(archivereplicaphypath, 'wt') as f:
print('UPDATED ARCHIVE AGAIN\n', file=f, end='')
# get the file
self.admin.assert_icommand("iget -f %s %s" % (filename, retrievedfile)) # get file from archive
# confirm this is the new archive file
matchfound = False
with open(retrievedfile) as f:
for line in f:
if "AGAIN" in line:
matchfound = True
self.assertTrue(matchfound)
# local cleanup
os.remove(filepath)
os.remove(retrievedfile)
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# debugging
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource cache should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource archive should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource cache should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource archive should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
###################
# irepl
###################
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource cache should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource cache should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource archive should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource archive should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 2 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_iput_with_purgec(self):
# local setup
filename = "purgecfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
try:
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput --purgec " + filename) # put file
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
# should be listed once - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed only once
self.admin.assert_icommand(['irm', '-f', filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand(['iput', '-b', '--purgec', filename]) # put file... in bulk!
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
# should be listed once - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed only once
finally:
if os.path.exists(filepath):
os.unlink(filepath)
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should be listed
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed once
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should not be listed
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed twice - 2 of 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed twice - 1 of 3
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
class Test_Resource_ReplicationWithinReplication(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc replication", 'STDOUT_SINGLELINE', 'replication')
admin_session.assert_icommand("iadmin mkresc replResc replication", 'STDOUT_SINGLELINE', 'replication')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc unixA 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/unixAVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unixB1 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unixB1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unixB2 'unixfilesystem' " + test.settings.HOSTNAME_3 + ":" +
irods_config.irods_directory + "/unixB2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc replResc")
admin_session.assert_icommand("iadmin addchildtoresc demoResc unixA")
admin_session.assert_icommand("iadmin addchildtoresc replResc unixB1")
admin_session.assert_icommand("iadmin addchildtoresc replResc unixB2")
super(Test_Resource_ReplicationWithinReplication, self).setUp()
def tearDown(self):
super(Test_Resource_ReplicationWithinReplication, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc replResc unixB2")
admin_session.assert_icommand("iadmin rmchildfromresc replResc unixB1")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unixA")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc replResc")
admin_session.assert_icommand("iadmin rmresc unixB1")
admin_session.assert_icommand("iadmin rmresc unixB2")
admin_session.assert_icommand("iadmin rmresc unixA")
admin_session.assert_icommand("iadmin rmresc replResc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unixB2Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unixB1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unixAVault", ignore_errors=True)
@unittest.skip("no support for non-compound resources")
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename]) # replica 0 should be trimmed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # replica 1 should be listed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # replica 2 should be listed
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
@unittest.skip("no support for non-compound resources")
def test_iput_with_purgec(self):
pass
@unittest.skip("no support for non-compound resources")
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename]) # replica 0 should be trimmed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # replica 1 should be listed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # replica 2 should be listed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # replica 2 should be listed
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# default resource should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# default resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 3 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 3 " + self.testresc, " " + doublesize + " ", " & " + filename])
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename]) # should not have a replica 4
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl " + filename) # replicate to default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from grid
# replica 1 should be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["1 ", self.testfile])
# replica 2 should be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["2 ", self.testfile])
# replica 3 should be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["3 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# default resource should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + filename])
# default resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
class Test_Resource_ReplicationToTwoCompound(ChunkyDevTest, ResourceSuite, unittest.TestCase):
plugin_name = IrodsConfig().default_rule_engine_plugin
class_name = 'Test_Resource_ReplicationToTwoCompound'
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc replication", 'STDOUT_SINGLELINE', 'replication')
admin_session.assert_icommand("iadmin mkresc compResc1 compound", 'STDOUT_SINGLELINE', 'compound')
admin_session.assert_icommand("iadmin mkresc compResc2 compound", 'STDOUT_SINGLELINE', 'compound')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc cacheResc1 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/cacheResc1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc1 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/archiveResc1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc cacheResc2 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/cacheResc2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc2 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/archiveResc2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc compResc1")
admin_session.assert_icommand("iadmin addchildtoresc demoResc compResc2")
admin_session.assert_icommand("iadmin addchildtoresc compResc1 cacheResc1 cache")
admin_session.assert_icommand("iadmin addchildtoresc compResc1 archiveResc1 archive")
admin_session.assert_icommand("iadmin addchildtoresc compResc2 cacheResc2 cache")
admin_session.assert_icommand("iadmin addchildtoresc compResc2 archiveResc2 archive")
super(Test_Resource_ReplicationToTwoCompound, self).setUp()
def tearDown(self):
super(Test_Resource_ReplicationToTwoCompound, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc compResc2 archiveResc2")
admin_session.assert_icommand("iadmin rmchildfromresc compResc2 cacheResc2")
admin_session.assert_icommand("iadmin rmchildfromresc compResc1 archiveResc1")
admin_session.assert_icommand("iadmin rmchildfromresc compResc1 cacheResc1")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc compResc2")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc compResc1")
admin_session.assert_icommand("iadmin rmresc archiveResc2")
admin_session.assert_icommand("iadmin rmresc cacheResc2")
admin_session.assert_icommand("iadmin rmresc archiveResc1")
admin_session.assert_icommand("iadmin rmresc cacheResc1")
admin_session.assert_icommand("iadmin rmresc compResc2")
admin_session.assert_icommand("iadmin rmresc compResc1")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/archiveResc1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/cacheResc1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/archiveResc2Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/cacheResc2Vault", ignore_errors=True)
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from cacheResc only
# replica 2 should still be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["4 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing")
def test_iget_prefer_from_archive__ticket_1660(self):
# new file to put and get
filename = "archivepolicyfile.txt"
filepath = lib.create_local_testfile(filename)
# manipulate core.re (leave as 'when_necessary' - default)
# put the file
self.admin.assert_icommand("iput " + filename) # put file
# manually update the replicas in archive vaults
out, _, _ = self.admin.run_icommand('ils -L ' + filename)
print(out)
archive1replicaphypath = filter(lambda x : "archiveResc1Vault" in x, out.split())[0]
archive2replicaphypath = filter(lambda x : "archiveResc2Vault" in x, out.split())[0]
print(archive1replicaphypath)
print(archive2replicaphypath)
with open(archive1replicaphypath, 'wt') as f:
print('MANUALLY UPDATED ON ARCHIVE 1\n', file=f, end='')
with open(archive2replicaphypath, 'wt') as f:
print('MANUALLY UPDATED ON ARCHIVE 2\n', file=f, end='')
# get file
retrievedfile = "retrieved.txt"
if os.path.exists(retrievedfile):
os.unlink(retrievedfile)
self.admin.assert_icommand(['iget', '-f', filename, retrievedfile]) # get file from cache
# confirm retrieved file is same as original
self.assertTrue(os.path.exists(retrievedfile))
self.assertTrue(os.path.exists(filepath))
self.assertEqual(0, os.system("diff %s %s" % (filepath, retrievedfile)))
print("original file diff confirmed")
# manipulate the core.re to add the new policy
with temporary_core_file() as core:
time.sleep(1) # remove once file hash fix is committed #2279
core.add_rule(rule_texts[self.plugin_name][self.class_name][inspect.currentframe().f_code.co_name])
time.sleep(1) # remove once file hash fix is committed #2279
# restart the server to reread the new core.re
IrodsController().restart()
# manually update the replicas in archive vaults
out, _, _ = self.admin.run_icommand('ils -L ' + filename)
archivereplica1phypath = filter(lambda x : "archiveResc1Vault" in x, out.split())[0]
archivereplica2phypath = filter(lambda x : "archiveResc2Vault" in x, out.split())[0]
print(archive1replicaphypath)
print(archive2replicaphypath)
with open(archivereplica1phypath, 'wt') as f:
print('UPDATED ARCHIVE 1 AGAIN\n', file=f, end='')
with open(archivereplica2phypath, 'wt') as f:
print('UPDATED ARCHIVE 2 AGAIN\n', file=f, end='')
# confirm the new content is on disk
with open(archivereplica1phypath) as f:
for line in f:
print(line)
with open(archivereplica2phypath) as f:
for line in f:
print(line)
self.admin.assert_icommand(['iget', '-f', filename, retrievedfile])
# confirm this is the new archive file
with open(retrievedfile) as f:
for line in f:
if 'AGAIN' in line:
break
else:
assert False
# local cleanup
os.remove(filepath)
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# debugging
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource cache 1 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource archive 1 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource cache 2 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + filename])
# default resource archive 2 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + filename])
# default resource cache 1 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource archive 1 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# default resource cache 2 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " " + filename])
# default resource archive 2 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
###################
# irepl
###################
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 6
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
# should not have a replica 7
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 7 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource cache 1 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource cache 1 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource archive 1 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource archive 1 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# default resource cache 2 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# default resource cache 2 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " & " + filename])
# default resource archive 2 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# default resource archive 2 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 4 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 4 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_iput_with_purgec(self):
# local setup
filename = "purgecfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
try:
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput --purgec " + filename) # put file
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - replica 3
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename])
self.admin.assert_icommand(['irm', '-f', filename])
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand(['iput', '-b', '--purgec', filename]) # put file... in bulk!
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - replica 3
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename])
finally:
if os.path.exists(filepath):
os.unlink(filepath)
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - replica 3
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename])
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 4x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 4x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 4x - replica 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename]) # should be listed 4x - replica 4
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", filename])
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
class Test_Resource_ReplicationToTwoCompoundResourcesWithPreferArchive(ChunkyDevTest, ResourceSuite, unittest.TestCase):
plugin_name = IrodsConfig().default_rule_engine_plugin
class_name = 'Test_Resource_ReplicationToTwoCompoundResourcesWithPreferArchive'
def setUp(self):
# back up core file
core = CoreFile()
backupcorefilepath = core.filepath + "--" + self._testMethodName
shutil.copy(core.filepath, backupcorefilepath)
time.sleep(1) # remove once file hash fix is committed #2279
core.add_rule(rule_texts[self.plugin_name][self.class_name][inspect.currentframe().f_code.co_name])
time.sleep(1) # remove once file hash fix is committed #2279
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc replication", 'STDOUT_SINGLELINE', 'replication')
admin_session.assert_icommand("iadmin mkresc compResc1 compound", 'STDOUT_SINGLELINE', 'compound')
admin_session.assert_icommand("iadmin mkresc compResc2 compound", 'STDOUT_SINGLELINE', 'compound')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc cacheResc1 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/cacheResc1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc1 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/archiveResc1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc cacheResc2 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/cacheResc2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc archiveResc2 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/archiveResc2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc compResc1")
admin_session.assert_icommand("iadmin addchildtoresc demoResc compResc2")
admin_session.assert_icommand("iadmin addchildtoresc compResc1 cacheResc1 cache")
admin_session.assert_icommand("iadmin addchildtoresc compResc1 archiveResc1 archive")
admin_session.assert_icommand("iadmin addchildtoresc compResc2 cacheResc2 cache")
admin_session.assert_icommand("iadmin addchildtoresc compResc2 archiveResc2 archive")
super(Test_Resource_ReplicationToTwoCompoundResourcesWithPreferArchive, self).setUp()
def tearDown(self):
super(Test_Resource_ReplicationToTwoCompoundResourcesWithPreferArchive, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc compResc2 archiveResc2")
admin_session.assert_icommand("iadmin rmchildfromresc compResc2 cacheResc2")
admin_session.assert_icommand("iadmin rmchildfromresc compResc1 archiveResc1")
admin_session.assert_icommand("iadmin rmchildfromresc compResc1 cacheResc1")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc compResc2")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc compResc1")
admin_session.assert_icommand("iadmin rmresc archiveResc2")
admin_session.assert_icommand("iadmin rmresc cacheResc2")
admin_session.assert_icommand("iadmin rmresc archiveResc1")
admin_session.assert_icommand("iadmin rmresc cacheResc1")
admin_session.assert_icommand("iadmin rmresc compResc2")
admin_session.assert_icommand("iadmin rmresc compResc1")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/archiveResc1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/cacheResc1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/archiveResc2Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/cacheResc2Vault", ignore_errors=True)
# restore the original core.re
core = CoreFile()
backupcorefilepath = core.filepath + "--" + self._testMethodName
shutil.copy(backupcorefilepath, core.filepath)
os.remove(backupcorefilepath)
def test_irm_specific_replica(self):
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed
self.admin.assert_icommand("irepl -R " + self.testresc + " " + self.testfile) # creates replica
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', self.testfile) # should be listed twice
self.admin.assert_icommand("irm -n 0 " + self.testfile, 'STDOUT', 'deprecated') # remove original from cacheResc only
# replica 2 should still be there
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', ["4 " + self.testresc, self.testfile])
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica 0 should be gone
trashpath = "/" + self.admin.zone_name + "/trash/home/" + self.admin.username + \
"/" + self.admin._session_id
self.admin.assert_icommand_fail("ils -L " + trashpath + "/" + self.testfile, 'STDOUT_SINGLELINE',
["0 " + self.admin.default_resource, self.testfile]) # replica should not be in trash
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
@unittest.skip("this is tested elsewhere")
def test_iget_prefer_from_archive__ticket_1660(self):
pass
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# debugging
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource cache 1 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource archive 1 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource cache 2 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + filename])
# default resource archive 2 should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + filename])
# default resource cache 1 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource archive 1 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# default resource cache 2 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " " + filename])
# default resource archive 2 should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
###################
# irepl
###################
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 6
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
# should not have a replica 7
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 7 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource cache 1 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource cache 1 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource archive 1 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource archive 1 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# default resource cache 2 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# default resource cache 2 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " & " + filename])
# default resource archive 2 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# default resource archive 2 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 4 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 4 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_iput_with_purgec(self):
# local setup
filename = "purgecfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
try:
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput --purgec " + filename) # put file
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - replica 3
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename])
self.admin.assert_icommand(['irm', '-f', filename])
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand(['iput', '-b', '--purgec', filename]) # put file... in bulk!
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - replica 3
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename])
finally:
if os.path.exists(filepath):
os.unlink(filepath)
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - replica 3
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename])
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 4x - replica 1
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 4x - replica 2
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 4x - replica 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", filename]) # should be listed 4x - replica 4
# should not have any extra replicas
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", filename])
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
class Test_Resource_Replication(ChunkyDevTest, ResourceSuite, unittest.TestCase):
plugin_name = IrodsConfig().default_rule_engine_plugin
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc replication", 'STDOUT_SINGLELINE', 'replication')
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin mkresc unix1Resc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/unix1RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix2Resc 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unix2RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix3Resc 'unixfilesystem' " + test.settings.HOSTNAME_3 + ":" +
irods_config.irods_directory + "/unix3RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix1Resc")
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix2Resc")
admin_session.assert_icommand("iadmin addchildtoresc demoResc unix3Resc")
self.child_replication_count = 3
super(Test_Resource_Replication, self).setUp()
def tearDown(self):
super(Test_Resource_Replication, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix3Resc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix2Resc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc unix1Resc")
admin_session.assert_icommand("iadmin rmresc unix3Resc")
admin_session.assert_icommand("iadmin rmresc unix2Resc")
admin_session.assert_icommand("iadmin rmresc unix1Resc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unix1RescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix2RescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix3RescVault", ignore_errors=True)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "local filesystem check")
def test_ichksum_no_file_modified_under_replication__4099(self):
filename = 'test_ichksum_no_file_modified_under_replication__4099'
filepath = lib.create_local_testfile(filename)
with open(filepath, 'r') as f:
original_checksum = hashlib.sha256(f.read()).digest().encode("base64").strip()
# put file into iRODS and clean up local
self.admin.assert_icommand(['iput', '-K', filepath, filename])
os.unlink(filename)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
# corrupt data in replica 0
_,out,_ = self.admin.assert_icommand(['iquest', '''"select DATA_RESC_HIER where DATA_NAME = '{0}' and DATA_REPL_NUM = '0'"'''.format(filename)], 'STDOUT_SINGLELINE', 'DATA_RESC_HIER')
replica_0_resc = out.splitlines()[0].split()[-1].split(';')[-1]
phypath_for_data_obj = os.path.join(self.admin.get_vault_session_path(replica_0_resc), filename)
# write more bytes to the file than what is recorded in the catalog.
with open(phypath_for_data_obj, 'w') as f:
f.write("corrupting the data" * 30)
new_checksum = 'LfxR4fKm3dK119M8llWLlDHLKvnRGTGH2bsldD2Er1c='
# forcibly re-calculate corrupted checksum and ensure that original checksum was not overwritten
self.admin.assert_icommand(['ichksum', '-f', '-n0', filename], 'STDOUT', filename + ' sha2:' + new_checksum)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + new_checksum)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
# forcibly re-calculate all checksums and ensure that original checksum was not changed
self.admin.assert_icommand(['ichksum', '-f', '-a', filename], 'STDOUT', 'WARNING: Data object has replicas with different checksums.')
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + new_checksum)
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', "sha2:" + original_checksum)
#cleanup
self.admin.assert_icommand(['irm', '-f', filename])
def test_ibun_creation_to_replication(self):
collection_name = 'bundle_me'
tar_name = 'bundle.tar'
filename = 'test_ibun_creation_to_replication'
copy_filename = filename + '_copy'
test_data_obj_path = os.path.join(collection_name, filename)
test_data_obj_copy_path = os.path.join(collection_name, copy_filename)
# put file into iRODS and make a copy on a non-replicating resource
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand(['imkdir', collection_name])
self.admin.assert_icommand(['iput', filepath, test_data_obj_path])
os.unlink(filepath)
self.admin.assert_icommand(['icp', '-R', 'TestResc', test_data_obj_path, test_data_obj_copy_path])
# bundle the collection and ensure that it and its contents replicated properly
self.admin.assert_icommand(['ibun', '-c', tar_name, collection_name])
assert_number_of_replicas(self.admin, tar_name, tar_name, self.child_replication_count)
assert_number_of_replicas(self.admin, test_data_obj_path, filename, self.child_replication_count)
self.admin.assert_icommand(['ils', '-l', test_data_obj_copy_path], 'STDOUT_SINGLELINE', [' 0 ', 'TestResc', ' & ', copy_filename])
assert_number_of_replicas(self.admin, test_data_obj_copy_path, copy_filename, self.child_replication_count + 1)
# cleanup
self.admin.assert_icommand(['irm', '-r', '-f', collection_name])
self.admin.assert_icommand(['irm', '-f', tar_name])
@unittest.skipUnless(plugin_name == 'irods_rule_engine_plugin-irods_rule_language', 'only applicable for irods_rule_language REP')
def test_open_write_close_for_repl__3909(self):
# Create local test file of a certain expected size
filename = 'some_local_file.txt'
filepath = lib.create_local_testfile(filename)
expected_size_in_bytes = 9
test_string = 'a' * expected_size_in_bytes
with open(filepath, 'w') as f:
f.write(test_string)
# Put test file into replication resource and verify
self.admin.assert_icommand(['iput', filepath])
self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', [str(expected_size_in_bytes), ' & ', filename])
# Create a rule file to open data object, write a string to it, and close it
logical_path = os.path.join( self.admin.session_collection, filename )
write_string = 'b' * (expected_size_in_bytes + 1)
parameters = {}
parameters['logical_path'] = logical_path
parameters['write_string'] = write_string
rule_file_path = 'test_open_write_close_for_repl__3909.r'
rule_str = '''
test_open_write_close {{
msiDataObjOpen("objPath={logical_path}++++openFlags=O_WRONLY", *FD)
msiDataObjWrite(*FD, "{write_string}", *LEN)
msiDataObjClose(*FD, *status)
}}
#INPUT *data_obj_path="{logical_path}"
INPUT null
OUTPUT ruleExecOut
'''.format(**parameters)
with open(rule_file_path, 'w') as rule_file:
rule_file.write(rule_str)
# Run rule on replicated data object and verify
self.admin.assert_icommand(['irule', '-F', rule_file_path])
self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', [str(expected_size_in_bytes + 1), ' & ', filename])
# Clean up test files
self.admin.assert_icommand(['irm', '-f', logical_path])
os.unlink(filepath)
os.unlink(rule_file_path)
def test_ibun_extract_to_rebalance(self):
# Create a tar file
tar_file = 'pea_pod.tar'
test_files = ['pea1', 'pea2', 'pea3']
for f in test_files:
lib.make_file(f, 1000)
lib.execute_command(['tar', 'czf', tar_file, test_files[0], test_files[1], test_files[2]])
# Set up some logical names
coll_name = 'peas'
coll_path = self.admin.session_collection + '/' + coll_name
tar_path = self.admin.session_collection + '/' + tar_file
# Put the tar file into iRODS
self.admin.assert_icommand(['iput', tar_file])
self.admin.assert_icommand(['ils', '-L'], 'STDOUT_SINGLELINE', tar_file)
# Extract tar file to the replication resource
self.admin.assert_icommand(['ibun', '-x', tar_path, coll_path])
for f in test_files:
self.admin.assert_icommand(['ils', '-L', coll_path], 'STDOUT_SINGLELINE', [' 0 ', ' & ', f])
# Perform a rebalance to give all the children a copy of each file
self.admin.assert_icommand(['iadmin', 'modresc', 'demoResc', 'rebalance'])
for f in test_files:
self.admin.assert_icommand(['ils', '-L', coll_path + '/' + f], 'STDOUT_SINGLELINE', [' 0 ', ' & ', f])
self.admin.assert_icommand(['ils', '-L', coll_path + '/' + f], 'STDOUT_SINGLELINE', [' 1 ', ' & ', f])
self.admin.assert_icommand(['ils', '-L', coll_path + '/' + f], 'STDOUT_SINGLELINE', [' 2 ', ' & ', f])
# Local cleanup
self.admin.assert_icommand(['irm', '-rf', coll_path])
self.admin.assert_icommand(['irm', '-rf', tar_path])
if os.path.exists(tar_file):
os.unlink(tar_file)
for f in test_files:
if os.path.exists(f):
os.unlink(f)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing: Checks local file")
def test_file_modified_on_checksum__ticket_3525(self):
filename = 'test_file_modified_on_checksum__ticket_3525.txt'
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand('iput -K ' + filename)
u1_path = os.path.join(self.admin.get_vault_session_path('unix1Resc'), filename)
u2_path = os.path.join(self.admin.get_vault_session_path('unix2Resc'), filename)
u3_path = os.path.join(self.admin.get_vault_session_path('unix3Resc'), filename)
self.admin.assert_icommand('ils -L ' + filename, 'STDOUT_SINGLELINE', filename)
# Overwrite the contents of replica zero.
# The size of the file must be greater than or equal to the size recorded in
# the catalog so that the call to ichksum succeeds.
with open(u1_path, 'wt') as f:
f.write('UNIX_1' * 20)
u1_time = os.path.getmtime(u1_path)
u2_time = os.path.getmtime(u2_path)
u3_time = os.path.getmtime(u3_path)
print('u1_time: '+str(u1_time))
print('u2_time: '+str(u2_time))
print('u3_time: '+str(u3_time))
time.sleep(1)
self.admin.assert_icommand("ichksum -f " + filename, 'STDOUT_SINGLELINE', ' sha2:')
u1_time2 = os.path.getmtime(u1_path)
u2_time2 = os.path.getmtime(u2_path)
u3_time2 = os.path.getmtime(u3_path)
print('u1_time2: '+str(u1_time2))
print('u2_time2: '+str(u2_time2))
print('u3_time2: '+str(u3_time2))
# Show that computing/updating checksums does not affect the physical object.
assert(u1_time == u1_time2 and u2_time == u2_time2 and u3_time == u3_time2)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing: Checks local file")
def test_random_read_policy__ticket_2851(self):
self.admin.assert_icommand('iadmin modresc demoResc context "read=random"')
self.admin.assert_icommand('iadmin lr demoResc', 'STDOUT_SINGLELINE', 'demoResc')
filename = "test_random_read_policy__ticket_2851.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("iput " + filename + ' ' + filename)
u1_path = os.path.join(self.admin.get_vault_session_path('unix1Resc'), filename)
u2_path = os.path.join(self.admin.get_vault_session_path('unix2Resc'), filename)
u3_path = os.path.join(self.admin.get_vault_session_path('unix3Resc'), filename)
print( "u1_path ["+u1_path+"]")
print( "u2_path ["+u2_path+"]")
print( "u3_path ["+u3_path+"]")
# modify files in the vaults to signify which resources
with open(u1_path, 'wt') as f:
f.write("UNIX_1")
with open(u2_path, 'wt') as f:
f.write("UNIX_2")
with open(u3_path, 'wt') as f:
f.write("UNIX_3")
res_ctr = {}
for i in range(0,10):
stdout,_,_ = self.admin.run_icommand(['iget', filename, '-'])
res_ctr[stdout] = 'found_it'
self.admin.assert_icommand('iadmin modresc demoResc context "NO_CONTEXT"')
# given random behavior we expect there to be more than one but
# there are no guarantees
assert len(res_ctr) <= 3
def test_irm_specific_replica(self):
# not allowed here - this is a managed replication resource
# should be listed 3x
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', [" 0 ", " & " + self.testfile])
# should be listed 3x
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', [" 1 ", " & " + self.testfile])
# should be listed 3x
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', [" 2 ", " & " + self.testfile])
self.admin.assert_icommand("irm -n 1 " + self.testfile, 'STDOUT', 'deprecated') # try to remove one of the managed replicas
# should be listed 2x
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', [" 0 ", " & " + self.testfile])
# should not be listed
self.admin.assert_icommand_fail("ils -L " + self.testfile, 'STDOUT_SINGLELINE', [" 1 ", " & " + self.testfile])
# should be listed 2x
self.admin.assert_icommand("ils -L " + self.testfile, 'STDOUT_SINGLELINE', [" 2 ", " & " + self.testfile])
@unittest.skip("--wlock has possible race condition due to Compound/Replication PDMO")
def test_local_iput_collision_with_wlock(self):
pass
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
def test_iquest_for_resc_hier__3039(self):
# local setup
# break the second child resource
filename = "test_iquest_for_resc_hier__3039.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand_fail("iput " + filename, 'STDOUT_SINGLELINE', "put error") # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', "unix1Resc") # should be listed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', "unix2Resc") # should be listed
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', "unix3Resc") # should be listed
self.admin.assert_icommand('iquest "select DATA_RESC_HIER where DATA_NAME like \'' + filename + "'\"", 'STDOUT_SINGLELINE', "demoResc;unix1Resc") # should be listed
self.admin.assert_icommand('iquest "select DATA_RESC_HIER where DATA_NAME like \'' + filename + "'\"", 'STDOUT_SINGLELINE', "demoResc;unix2Resc") # should be listed
self.admin.assert_icommand('iquest "select DATA_RESC_HIER where DATA_NAME like \'' + filename + "'\"", 'STDOUT_SINGLELINE', "demoResc;unix3Resc") # should be listed
def test_reliable_iput__ticket_2557(self):
# local setup
# break the second child resource
indicies = [1,2,3]
success = False
test = 0
for i in indicies:
try:
c1 = i % len(indicies)
self.admin.assert_icommand("iadmin modresc unix%dResc path /nopes" % (c1), "STDOUT_SINGLELINE", "Previous resource path")
filename = "reliableputfile.txt"
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand(['ilsresc', '--ascii'], 'STDOUT_SINGLELINE', "demoResc:replication")
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename, 'STDERR_SINGLELINE', "put error") # put file
test = i+1 % len(indicies)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', "unix%dResc"%(test)) # should be listed
test = i+2 % len(indicies)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', "unix%dResc"%(test)) # should be listed
success = True
except:
success = False
continue
if success == True:
break
# cleanup
oldvault = IrodsConfig().irods_directory + "/unix2RescVault"
self.admin.assert_icommand("iadmin modresc unix2Resc path " + oldvault, "STDOUT_SINGLELINE", "Previous resource path")
def test_local_iput_with_force_and_destination_resource__ticket_1706(self):
# local setup
filename = "iputwithforceanddestination.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# overwrite test repl with different data
self.admin.assert_icommand("iput -f -R %s %s %s" % (self.testresc, doublefile, filename))
# default resource should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + filename])
# default resource should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + filename])
# default resource should have dirty copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + filename])
# default resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " " + filename])
# default resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " " + filename])
# default resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " " + filename])
# targeted resource should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " " + doublesize + " ", "& " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_update_replicas(self):
# local setup
filename = "updatereplicasfile.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("iadmin mkresc fourthresc unixfilesystem %s:/tmp/%s/fourthrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create fourth resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# replicate to third resource
self.admin.assert_icommand("irepl -R thirdresc " + filename)
# replicate to fourth resource
self.admin.assert_icommand("irepl -R fourthresc " + filename)
# repave overtop test resource
self.admin.assert_icommand("iput -f -R " + self.testresc + " " + doublefile + " " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand(['irepl', '-R', 'fourthresc', filename]) # update last replica
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a dirty copy
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irepl -aU " + filename) # update all replicas
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# should have a clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
self.admin.assert_icommand("iadmin rmresc fourthresc") # remove third resource
# local cleanup
os.remove(filepath)
os.remove(doublefile)
def test_irepl_over_existing_second_replica__ticket_1705(self):
# local setup
filename = "secondreplicatest.txt"
filepath = lib.create_local_testfile(filename)
# assertions
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput -R " + self.testresc + " " + filename) # put file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate to default resource
self.admin.assert_icommand("irepl " + filename)
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# replicate overtop default resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# replicate overtop test resource
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED')
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_third_replica__ticket_1705(self):
# local setup
filename = "thirdreplicatest.txt"
filepath = lib.create_local_testfile(filename)
hostname = lib.get_hostname()
hostuser = getpass.getuser()
# assertions
self.admin.assert_icommand("iadmin mkresc thirdresc unixfilesystem %s:/tmp/%s/thirdrescVault" %
(hostname, hostuser), 'STDOUT_SINGLELINE', "Creating") # create third resource
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist") # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename) # replicate to test resource
self.admin.assert_icommand("irepl -R thirdresc " + filename) # replicate to third resource
self.admin.assert_icommand(['irepl', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop default resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', self.testresc, filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop test resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
self.admin.assert_icommand(['irepl', '-R', 'thirdresc', filename], 'STDERR', 'SYS_NOT_ALLOWED') # replicate overtop third resource
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # for debugging
# should not have a replica 4
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 5 ", " & " + filename])
# should not have a replica 5
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 6 ", " & " + filename])
self.admin.assert_icommand("irm -f " + filename) # cleanup file
self.admin.assert_icommand("iadmin rmresc thirdresc") # remove third resource
# local cleanup
os.remove(filepath)
def test_irepl_over_existing_bad_replica__ticket_1705(self):
# local setup
filename = "reploverwritebad.txt"
filepath = lib.create_local_testfile(filename)
doublefile = "doublefile.txt"
os.system("cat %s %s > %s" % (filename, filename, doublefile))
doublesize = str(os.stat(doublefile).st_size)
# assertions
# should not be listed
self.admin.assert_icommand("ils -L " + filename, 'STDERR_SINGLELINE', "does not exist")
# put file
self.admin.assert_icommand("iput " + filename)
# for debugging
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# replicate to test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# for debugging
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', filename)
# overwrite default repl with different data
self.admin.assert_icommand("iput -f %s %s" % (doublefile, filename))
# default resource 1 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " & " + filename])
# default resource 1 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", " " + doublesize + " ", " & " + filename])
# default resource 2 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " & " + filename])
# default resource 2 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", " " + doublesize + " ", " & " + filename])
# default resource 3 should have clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " & " + filename])
# default resource 3 should have new double clean copy
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", " " + doublesize + " ", " & " + filename])
# test resource should not have doublesize file
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 3 " + self.testresc, " " + doublesize + " ", " " + filename])
# replicate back onto test resource
self.admin.assert_icommand("irepl -R " + self.testresc + " " + filename)
# test resource should have new clean doublesize file
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE',
[" 3 " + self.testresc, " " + doublesize + " ", " & " + filename])
# should not have a replica 3
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 4 ", " & " + filename])
# local cleanup
os.remove(filepath)
os.remove(doublefile)
@unittest.skip("no support for non-compound resources")
def test_iput_with_purgec(self):
pass
@unittest.skip("no support for non-compound resources")
def test_iget_with_purgec(self):
# local setup
filename = "purgecgetfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("iget -f --purgec " + filename) # get file and purge 'cached' replica
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed twice - 2 of 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed twice - 2 of 3
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
@unittest.skip("no support for non-compound resources")
def test_irepl_with_purgec(self):
# local setup
filename = "purgecreplfile.txt"
filepath = os.path.abspath(filename)
with open(filepath, 'wt') as f:
print("TESTFILE -- [" + filepath + "]", file=f, end='')
# assertions
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', filename) # should not be listed
self.admin.assert_icommand("iput " + filename) # put file
self.admin.assert_icommand("irepl -R " + self.testresc + " --purgec " + filename) # replicate to test resource
# should not be listed (trimmed)
self.admin.assert_icommand_fail("ils -L " + filename, 'STDOUT_SINGLELINE', [" 0 ", filename])
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 1 ", filename]) # should be listed 3x - 1 of 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 2 ", filename]) # should be listed 3x - 2 of 3
self.admin.assert_icommand("ils -L " + filename, 'STDOUT_SINGLELINE', [" 3 ", filename]) # should be listed 3x - 3 of 3
# local cleanup
if os.path.exists(filepath):
os.unlink(filepath)
def update_specific_replica_for_data_objs_in_repl_hier(self, name_pair_list, repl_num=0):
# determine which resource has replica 0
_,out,_ = self.admin.assert_icommand(['iquest', "select DATA_RESC_HIER where DATA_NAME = '{0}' and DATA_REPL_NUM = '{1}'".format(name_pair_list[0][0], repl_num)], 'STDOUT_SINGLELINE', 'DATA_RESC_HIER')
replica_0_resc = out.splitlines()[0].split()[-1].split(';')[-1]
# remove from replication hierarchy
self.admin.assert_icommand(['iadmin', 'rmchildfromresc', 'demoResc', replica_0_resc])
# update all the replica 0's
for (data_obj_name, filename) in name_pair_list:
self.admin.assert_icommand(['iput', '-R', replica_0_resc, '-f', '-n', str(repl_num), filename, data_obj_name])
# restore to replication hierarchy
self.admin.assert_icommand(['iadmin', 'addchildtoresc', 'demoResc', replica_0_resc])
def test_rebalance_different_sized_replicas__3486(self):
filename = 'test_rebalance_different_sized_replicas__3486'
large_file_size = 40000000
lib.make_file(filename, large_file_size)
self.admin.assert_icommand(['iput', filename])
small_file_size = 20000
lib.make_file(filename, small_file_size)
self.update_specific_replica_for_data_objs_in_repl_hier([(filename, filename)])
self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', [filename, str(large_file_size)])
self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', [filename, str(small_file_size)])
self.admin.assert_icommand(['iadmin', 'modresc', 'demoResc', 'rebalance'])
self.admin.assert_icommand_fail(['ils', '-l'], 'STDOUT_SINGLELINE', str(large_file_size))
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing, checks vault")
def test_ifsck_with_resource_hierarchy__3512(self):
filename = 'test_ifsck_with_resource_hierarchy__3512'
lib.make_file(filename, 500)
self.admin.assert_icommand(['iput', filename])
vault_path = self.admin.get_vault_path(resource='unix1Resc')
self.admin.assert_icommand(['ifsck', '-rR', 'demoResc;unix1Resc', vault_path])
session_vault_path = self.admin.get_vault_session_path(resource='unix1Resc')
with open(os.path.join(session_vault_path, filename), 'a') as f:
f.write('additional file contents to trigger ifsck file size error')
_, _, rc = self.admin.assert_icommand(['ifsck', '-rR', 'demoResc;unix1Resc', vault_path], 'STDOUT_SINGLELINE', ['CORRUPTION', filename, 'size'])
self.assertNotEqual(rc, 0, 'ifsck should have non-zero error code on size mismatch')
os.unlink(filename)
@unittest.skipIf(test.settings.RUN_IN_TOPOLOGY, "Skip for Topology Testing, checks vault")
def test_ifsck_checksum_mismatch_print_error__3501(self):
filename = 'test_ifsck_checksum_mismatch_print_error__3501'
filesize = 500
lib.make_file(filename, filesize)
self.admin.assert_icommand(['iput', '-K', filename])
vault_path = self.admin.get_vault_path(resource='unix1Resc')
self.admin.assert_icommand(['ifsck', '-rR', 'demoResc;unix1Resc', vault_path])
session_vault_path = self.admin.get_vault_session_path(resource='unix1Resc')
with open(os.path.join(session_vault_path, filename), 'w') as f:
f.write('i'*filesize)
_, _, rc = self.admin.assert_icommand(['ifsck', '-KrR', 'demoResc;unix1Resc', vault_path], 'STDOUT_SINGLELINE', ['CORRUPTION', filename, 'checksum'])
self.assertNotEqual(rc, 0, 'ifsck should have non-zero error code on checksum mismatch')
os.unlink(filename)
def test_rebalance_batching_replica_creation__3570(self):
filename = 'test_rebalance_batching_replica_creation__3570'
default_rebalance_batch_size = 500 # from librepl.cpp
num_data_objects_to_use = default_rebalance_batch_size + 10
file_size = 400
lib.make_file(filename, file_size)
for i in range(num_data_objects_to_use):
self.admin.assert_icommand(['iput', filename, filename + '_' + str(i)])
self.admin.assert_icommand(['itrim', '-S', 'demoResc', '-N1', filename + '_' + str(i)], 'STDOUT_SINGLELINE', 'Number of files trimmed = 1.')
_, out, _ = self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', filename)
self.assertEqual(len(out.split('\n')), num_data_objects_to_use + 6)
self.admin.assert_icommand(['iadmin', 'modresc', 'demoResc', 'rebalance'])
_, out, _ = self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', filename)
self.assertEqual(len(out.split('\n')), 3*num_data_objects_to_use + 6)
os.unlink(filename)
def test_rebalance_batching_replica_update__3570(self):
filename = 'test_rebalance_batching_replica_update__3570'
default_rebalance_batch_size = 500 # from librepl.cpp
num_data_objects_to_use = default_rebalance_batch_size + 10
file_size = 327
lib.make_file(filename, file_size)
filename_list = []
for i in range(num_data_objects_to_use):
data_obj_name = filename + '_' + str(i)
self.admin.assert_icommand(['iput', filename, data_obj_name])
filename_list.append((data_obj_name, filename))
self.update_specific_replica_for_data_objs_in_repl_hier(filename_list)
_, out, _ = self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', filename)
def count_good_and_bad(ils_l_output):
num_up_to_date = 0
num_out_of_date = 0
for line in ils_l_output.split('\n'):
if filename in line:
if '&' in line:
num_up_to_date += 1
else:
num_out_of_date += 1
return num_up_to_date, num_out_of_date
num_up_to_date, num_out_of_date = count_good_and_bad(out)
self.assertEqual(num_up_to_date, num_data_objects_to_use)
self.assertEqual(num_out_of_date, 2*num_data_objects_to_use)
self.admin.assert_icommand(['iadmin', 'modresc', 'demoResc', 'rebalance'])
_, out, _ = self.admin.assert_icommand(['ils', '-l'], 'STDOUT_SINGLELINE', filename)
num_up_to_date, num_out_of_date = count_good_and_bad(out)
self.assertEqual(num_up_to_date, 3*num_data_objects_to_use)
self.assertEqual(num_out_of_date, 0)
os.unlink(filename)
def test_irepl_to_consumer_repl_hier_from_provider__4319(self):
filename = 'test_irepl_to_consumer_repl_hier_from_provider__4319'
lib.make_file(filename, 1 * 1024 * 1024 + 1)
repl_host = test.settings.HOSTNAME_2
self.admin.assert_icommand(['iadmin', 'modresc', 'unix2Resc', 'host', repl_host])
self.admin.assert_icommand(['iadmin', 'modresc', 'unix3Resc', 'host', repl_host])
test_resc = 'catalog_provider_resc'
self.admin.assert_icommand(['iadmin', 'mkresc', test_resc, 'unixfilesystem', test.settings.ICAT_HOSTNAME + ':/tmp/irods/test_vault'], 'STDOUT_SINGLELINE', "Creating")
initial_log_size = lib.get_file_size_by_path(IrodsConfig().server_log_path)
try:
self.admin.assert_icommand(['iput', '-R', test_resc, filename])
self.admin.assert_icommand(['irepl', '-R', 'demoResc', filename])
self.admin.assert_icommand(['ils', '-L', filename], 'STDOUT_SINGLELINE', [" 3 ", " & " + filename])
for msg in ['rcDataCopy failed', 'SYS_BAD_FILE_DESCRIPTOR']:
lib.delayAssert(
lambda: lib.log_message_occurrences_equals_count(
msg=msg,
count=0,
server_log_path=IrodsConfig().server_log_path,
start_index=initial_log_size))
finally:
self.admin.assert_icommand(['irm', '-f', filename])
os.unlink(filename)
self.admin.assert_icommand(['iadmin', 'modresc', 'unix2Resc', 'host', test.settings.HOSTNAME_2])
self.admin.assert_icommand(['iadmin', 'modresc', 'unix3Resc', 'host', test.settings.HOSTNAME_3])
self.admin.assert_icommand(['iadmin', 'rmresc', test_resc])
class Test_Resource_MultiLayered(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc passthru", 'STDOUT_SINGLELINE', 'passthru')
admin_session.assert_icommand("iadmin mkresc pass2Resc passthru", 'STDOUT_SINGLELINE', 'passthru')
admin_session.assert_icommand("iadmin mkresc rrResc random", 'STDOUT_SINGLELINE', 'random')
admin_session.assert_icommand("iadmin mkresc unix1Resc 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/unix1RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix2Resc 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unix2RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix3Resc 'unixfilesystem' " + test.settings.HOSTNAME_3 + ":" +
irods_config.irods_directory + "/unix3RescVault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc pass2Resc")
admin_session.assert_icommand("iadmin addchildtoresc pass2Resc rrResc")
admin_session.assert_icommand("iadmin addchildtoresc rrResc unix1Resc")
admin_session.assert_icommand("iadmin addchildtoresc rrResc unix2Resc")
admin_session.assert_icommand("iadmin addchildtoresc rrResc unix3Resc")
super(Test_Resource_MultiLayered, self).setUp()
def tearDown(self):
super(Test_Resource_MultiLayered, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc rrResc unix3Resc")
admin_session.assert_icommand("iadmin rmchildfromresc rrResc unix2Resc")
admin_session.assert_icommand("iadmin rmchildfromresc rrResc unix1Resc")
admin_session.assert_icommand("iadmin rmchildfromresc pass2Resc rrResc")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc pass2Resc")
admin_session.assert_icommand("iadmin rmresc unix3Resc")
admin_session.assert_icommand("iadmin rmresc unix2Resc")
admin_session.assert_icommand("iadmin rmresc unix1Resc")
admin_session.assert_icommand("iadmin rmresc rrResc")
admin_session.assert_icommand("iadmin rmresc pass2Resc")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unix1RescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix2RescVault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix3RescVault", ignore_errors=True)
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
class Test_Resource_RandomWithinRandom(ChunkyDevTest, ResourceSuite, unittest.TestCase):
def setUp(self):
with session.make_session_for_existing_admin() as admin_session:
irods_config = IrodsConfig()
admin_session.assert_icommand("iadmin modresc demoResc name origResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
admin_session.assert_icommand("iadmin mkresc demoResc random", 'STDOUT_SINGLELINE', 'random')
admin_session.assert_icommand("iadmin mkresc random0 random", 'STDOUT_SINGLELINE', 'random')
admin_session.assert_icommand("iadmin mkresc random1 random", 'STDOUT_SINGLELINE', 'random')
admin_session.assert_icommand("iadmin mkresc random2 random", 'STDOUT_SINGLELINE', 'random')
admin_session.assert_icommand("iadmin mkresc random3 random", 'STDOUT_SINGLELINE', 'random')
admin_session.assert_icommand("iadmin mkresc unix0 'unixfilesystem' " + test.settings.HOSTNAME_1 + ":" +
irods_config.irods_directory + "/unix0Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix1 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unix1Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix2 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unix2Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin mkresc unix3 'unixfilesystem' " + test.settings.HOSTNAME_2 + ":" +
irods_config.irods_directory + "/unix3Vault", 'STDOUT_SINGLELINE', 'unixfilesystem')
admin_session.assert_icommand("iadmin addchildtoresc demoResc random0")
admin_session.assert_icommand("iadmin addchildtoresc demoResc random1")
admin_session.assert_icommand("iadmin addchildtoresc demoResc random2")
admin_session.assert_icommand("iadmin addchildtoresc demoResc random3")
admin_session.assert_icommand("iadmin addchildtoresc random0 unix0")
admin_session.assert_icommand("iadmin addchildtoresc random1 unix1")
admin_session.assert_icommand("iadmin addchildtoresc random2 unix2")
admin_session.assert_icommand("iadmin addchildtoresc random3 unix3")
super(Test_Resource_RandomWithinRandom, self).setUp()
def tearDown(self):
super(Test_Resource_RandomWithinRandom, self).tearDown()
with session.make_session_for_existing_admin() as admin_session:
admin_session.assert_icommand("iadmin rmchildfromresc random3 unix3")
admin_session.assert_icommand("iadmin rmchildfromresc random2 unix2")
admin_session.assert_icommand("iadmin rmchildfromresc random1 unix1")
admin_session.assert_icommand("iadmin rmchildfromresc random0 unix0")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc random3")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc random2")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc random1")
admin_session.assert_icommand("iadmin rmchildfromresc demoResc random0")
admin_session.assert_icommand("iadmin rmresc unix3")
admin_session.assert_icommand("iadmin rmresc unix2")
admin_session.assert_icommand("iadmin rmresc unix1")
admin_session.assert_icommand("iadmin rmresc unix0")
admin_session.assert_icommand("iadmin rmresc random3")
admin_session.assert_icommand("iadmin rmresc random2")
admin_session.assert_icommand("iadmin rmresc random1")
admin_session.assert_icommand("iadmin rmresc random0")
admin_session.assert_icommand("iadmin rmresc demoResc")
admin_session.assert_icommand("iadmin modresc origResc name demoResc", 'STDOUT_SINGLELINE', 'rename', input='yes\n')
irods_config = IrodsConfig()
shutil.rmtree(irods_config.irods_directory + "/unix0Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix1Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix2Vault", ignore_errors=True)
shutil.rmtree(irods_config.irods_directory + "/unix3Vault", ignore_errors=True)
@unittest.skip("EMPTY_RESC_PATH - no vault path for coordinating resources")
def test_ireg_as_rodsuser_in_vault(self):
pass
def test_trying_next_child_after_child_votes_no__3315(self):
self.admin.assert_icommand('iadmin modresc unix0 context minimum_free_space_for_create_in_bytes=1000000000000') # should cause unix0 to vote no because free_space is not set
self.admin.assert_icommand('iadmin modresc unix1 context minimum_free_space_for_create_in_bytes=1000000000000') # should cause unix1 to vote no because free_space is not set
self.admin.assert_icommand('iadmin modresc unix2 context minimum_free_space_for_create_in_bytes=1000000000000') # should cause unix2 to vote no because free_space is not set
filename = 'test_trying_next_child_after_child_votes_no__3315.txt'
filepath = lib.create_local_testfile(filename)
self.admin.assert_icommand(['iput', filename])
os.unlink(filepath)
| 62.852575 | 288 | 0.645221 | 29,002 | 257,507 | 5.52455 | 0.026688 | 0.122592 | 0.105884 | 0.162355 | 0.940002 | 0.925036 | 0.909645 | 0.885522 | 0.873021 | 0.859452 | 0 | 0.009859 | 0.238184 | 257,507 | 4,096 | 289 | 62.86792 | 0.806885 | 0.122571 | 0 | 0.790779 | 0 | 0 | 0.235277 | 0.020096 | 0 | 0 | 0 | 0 | 0.503667 | 1 | 0.060077 | false | 0.021656 | 0.010129 | 0 | 0.079287 | 0.017115 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 |
8a09782b0a58a9aed359cb67b824279a93f6032e | 22,690 | py | Python | swivel/contracts/abi.py | Swivel-Finance/swivel-py | de6979176a2f9f75f089fb28c0bec1e5014974b9 | [
"MIT"
] | null | null | null | swivel/contracts/abi.py | Swivel-Finance/swivel-py | de6979176a2f9f75f089fb28c0bec1e5014974b9 | [
"MIT"
] | 2 | 2022-01-19T23:30:33.000Z | 2022-01-20T18:42:08.000Z | swivel/contracts/abi.py | Swivel-Finance/swivel-py | de6979176a2f9f75f089fb28c0bec1e5014974b9 | [
"MIT"
] | null | null | null | VAULT_TRACKER = '[{"inputs":[{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"c","type":"address"},{"internalType":"address","name":"s","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"o","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"addNotional","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"o","type":"address"}],"name":"balancesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cTokenAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"c","type":"uint256"}],"name":"matureVault","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maturity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maturityRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"o","type":"address"}],"name":"redeemInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"o","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"removeNotional","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swivel","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"f","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"transferNotionalFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"f","type":"address"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"transferNotionalFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vaults","outputs":[{"internalType":"uint256","name":"notional","type":"uint256"},{"internalType":"uint256","name":"redeemable","type":"uint256"},{"internalType":"uint256","name":"exchangeRate","type":"uint256"}],"stateMutability":"view","type":"function"}]'
MARKET_PLACE = '[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"address","name":"cToken","type":"address"},{"indexed":false,"internalType":"address","name":"zcToken","type":"address"},{"indexed":false,"internalType":"address","name":"vaultTracker","type":"address"}],"name":"Create","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"address","name":"zcTarget","type":"address"},{"indexed":false,"internalType":"address","name":"nTarget","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CustodialExit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"address","name":"zcTarget","type":"address"},{"indexed":false,"internalType":"address","name":"nTarget","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CustodialInitiate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maturityRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"matured","type":"uint256"}],"name":"Mature","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"P2pVaultExchange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"P2pZcTokenExchange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RedeemVaultInterest","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RedeemZcToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"underlying","type":"address"},{"indexed":true,"internalType":"uint256","name":"maturity","type":"uint256"},{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TransferVaultNotional","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"burnZcTokenRemovingNotional","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"}],"name":"cTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"c","type":"address"},{"internalType":"string","name":"n","type":"string"},{"internalType":"string","name":"s","type":"string"}],"name":"createMarket","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"z","type":"address"},{"internalType":"address","name":"n","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"custodialExit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"z","type":"address"},{"internalType":"address","name":"n","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"custodialInitiate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"markets","outputs":[{"internalType":"address","name":"cTokenAddr","type":"address"},{"internalType":"address","name":"zcTokenAddr","type":"address"},{"internalType":"address","name":"vaultAddr","type":"address"},{"internalType":"uint256","name":"maturityRate","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"}],"name":"matureMarket","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"mintZcTokenAddingNotional","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"f","type":"address"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"p2pVaultExchange","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"f","type":"address"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"p2pZcTokenExchange","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"b","type":"bool"}],"name":"pause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"t","type":"address"}],"name":"redeemVaultInterest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"redeemZcToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"s","type":"address"}],"name":"setSwivelAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swivel","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"transferAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"t","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"transferVaultNotional","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"address","name":"f","type":"address"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"transferVaultNotionalFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]'
SWIVEL = '[{"inputs":[{"internalType":"address","name":"m","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"}],"name":"BlockWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"hash","type":"bytes32"}],"name":"Cancel","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"hash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"bool","name":"vault","type":"bool"},{"indexed":false,"internalType":"bool","name":"exit","type":"bool"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"filled","type":"uint256"}],"name":"Exit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"key","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"hash","type":"bytes32"},{"indexed":true,"internalType":"address","name":"maker","type":"address"},{"indexed":false,"internalType":"bool","name":"vault","type":"bool"},{"indexed":false,"internalType":"bool","name":"exit","type":"bool"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"filled","type":"uint256"}],"name":"Initiate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"hold","type":"uint256"}],"name":"ScheduleWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"feenominator","type":"uint256"}],"name":"SetFee","type":"event"},{"inputs":[],"name":"HOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_FEENOMINATOR","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"u","type":"address[]"},{"internalType":"address[]","name":"c","type":"address[]"}],"name":"approveUnderlying","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"e","type":"address"}],"name":"blockWithdrawal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"key","type":"bytes32"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bool","name":"vault","type":"bool"},{"internalType":"bool","name":"exit","type":"bool"},{"internalType":"uint256","name":"principal","type":"uint256"},{"internalType":"uint256","name":"premium","type":"uint256"},{"internalType":"uint256","name":"maturity","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"}],"internalType":"struct Hash.Order","name":"o","type":"tuple"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Sig.Components","name":"c","type":"tuple"}],"name":"cancel","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"cancelled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"combineTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domain","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"key","type":"bytes32"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bool","name":"vault","type":"bool"},{"internalType":"bool","name":"exit","type":"bool"},{"internalType":"uint256","name":"principal","type":"uint256"},{"internalType":"uint256","name":"premium","type":"uint256"},{"internalType":"uint256","name":"maturity","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"}],"internalType":"struct Hash.Order[]","name":"o","type":"tuple[]"},{"internalType":"uint256[]","name":"a","type":"uint256[]"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Sig.Components[]","name":"c","type":"tuple[]"}],"name":"exit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feenominators","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"filled","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"key","type":"bytes32"},{"internalType":"address","name":"maker","type":"address"},{"internalType":"address","name":"underlying","type":"address"},{"internalType":"bool","name":"vault","type":"bool"},{"internalType":"bool","name":"exit","type":"bool"},{"internalType":"uint256","name":"principal","type":"uint256"},{"internalType":"uint256","name":"premium","type":"uint256"},{"internalType":"uint256","name":"maturity","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"}],"internalType":"struct Hash.Order[]","name":"o","type":"tuple[]"},{"internalType":"uint256[]","name":"a","type":"uint256[]"},{"components":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct Sig.Components[]","name":"c","type":"tuple[]"}],"name":"initiate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketPlace","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"}],"name":"redeemVaultInterest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"redeemZcToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"e","type":"address"}],"name":"scheduleWithdrawal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"i","type":"uint16"},{"internalType":"uint16","name":"d","type":"uint16"}],"name":"setFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"u","type":"address"},{"internalType":"uint256","name":"m","type":"uint256"},{"internalType":"uint256","name":"a","type":"uint256"}],"name":"splitUnderlying","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"transferAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"e","type":"address"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]'
| 3,781.666667 | 10,078 | 0.655311 | 2,267 | 22,690 | 6.557565 | 0.054698 | 0.090273 | 0.153168 | 0.076685 | 0.912754 | 0.896812 | 0.87616 | 0.863783 | 0.860285 | 0.85598 | 0 | 0.027875 | 0.000749 | 22,690 | 5 | 10,079 | 4,538 | 0.627795 | 0 | 0 | 0 | 0 | 1 | 0.997752 | 0.997488 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 |
8a32e245ad3247d2452176fe6c282ec2a602a1a7 | 10,513 | py | Python | client/tests/test_report_generator.py | andriidovhan/of-switch-tester | 7dd18728f2143a61683975005a9569c2bca9d0fa | [
"MIT"
] | 1 | 2021-09-24T16:24:17.000Z | 2021-09-24T16:24:17.000Z | client/tests/test_report_generator.py | andriidovhan/of-switch-tester | 7dd18728f2143a61683975005a9569c2bca9d0fa | [
"MIT"
] | 3 | 2020-08-07T02:22:05.000Z | 2021-09-30T13:57:33.000Z | client/tests/test_report_generator.py | andriidovhan/of-switch-tester | 7dd18728f2143a61683975005a9569c2bca9d0fa | [
"MIT"
] | 4 | 2020-07-21T12:57:52.000Z | 2021-09-28T07:47:02.000Z | import os
import unittest
from datetime import datetime
from unittest.mock import Mock, mock_open, call, patch, PropertyMock
import requests
from plotly.graph_objs import Scatter
import oftester.report.generator as generator
import oftester.scenario.model as model
class TestReportGenerator(unittest.TestCase):
def setUp(self):
os.mkdir = Mock()
def test_init(self):
# when
generator.OtsdbReportGenerator(Mock())
# then
os.mkdir.assert_called_once_with(generator.base_dir)
def test_collect_data_otsdb(self):
# given
scenario_timestamp = model.ScenarioTimestamps()
scenario_timestamp.start = datetime.utcnow()
scenario_timestamp.stop = datetime.utcnow()
scenario_attrs = {'time_metrics': [scenario_timestamp],
'get_current_packet_size_idx.return_value': 0,
'environment.otsdb_host': 'otsdb_host',
'environment.otsdb_port': 0,
'environment.otsdb_prefix': 'otsdb_prefix'}
scenario = Mock(**scenario_attrs)
type(scenario).name = PropertyMock(return_value='test')
report_generator = generator.OtsdbReportGenerator(scenario)
get_attrs = {'status_code': 200,
'iter_content.return_value': [1]}
requests.get = Mock(return_value=Mock(**get_attrs))
m_open = mock_open()
# when
with patch('oftester.report.generator.open', m_open, create=True):
report_generator.collect_data()
# then
scenario.assert_has_calls([call.get_current_packet_size_idx(),
call.get_current_packet_size_idx()])
requests.get.assert_called_once()
m_open.assert_has_calls([call('./reports/test_0.png', 'wb'),
call().__enter__(),
call().write(1),
call().__exit__(None, None, None)])
def test_report_otsdb(self):
# given
scenario_attrs = {'packet_sizes': [0, 1, 2]}
scenario = Mock(**scenario_attrs)
type(scenario).name = PropertyMock(return_value='test')
report_generator = generator.OtsdbReportGenerator(scenario)
template = Mock()
report_generator.env.get_template = Mock(return_value=template)
# when
report_generator.report()
# then
report_generator.env.get_template.assert_has_calls(
[call('otsdb_index.html')])
template.assert_has_calls(
[call.stream(name='test', packet_sizes=[0, 1, 2]),
call.stream().dump('./reports/test.html')])
def test_collect_data_plotly(self):
# given
scenario_timestamp = model.ScenarioTimestamps()
scenario_timestamp.start = datetime.utcnow()
scenario_timestamp.timestamps = dict()
scenario_timestamp.stop = datetime.utcnow()
scenario_attrs = {'time_metrics': [scenario_timestamp],
'get_current_packet_size_idx.return_value': 0,
'current_packet_size.return_value': 9000,
'environment.otsdb_host': 'otsdb_host',
'environment.otsdb_port': 0,
'environment.otsdb_prefix': 'otsdb_prefix'}
scenario = Mock(**scenario_attrs)
type(scenario).name = PropertyMock(return_value='test')
report_generator = generator.PlotlyReportGenerator(scenario)
get_attrs = {'status_code': 200,
'json.return_value': [{'test': 'test'}]}
requests.get = Mock(return_value=Mock(**get_attrs))
# when
report_generator.collect_data()
# then
scenario.assert_has_calls([call.get_current_packet_size_idx(),
call.current_packet_size()])
requests.get.assert_called_once()
self.assertEqual(report_generator.collected_data,
{9000: [{'test': 'test', 'timestamps': {}}]})
def test_report_plotly(self):
# given
scenario_attrs = {'packet_sizes': [0, 1, 2],
'collection_interval': 30}
scenario = Mock(**scenario_attrs)
type(scenario).name = PropertyMock(return_value='test')
report_generator = generator.PlotlyReportGenerator(scenario)
report_generator.collected_data = {9000: [{'dps': {'1600411713': 1},
'metric': 'metric',
'timestamps': {}}]}
fig = Mock(**{'to_html.return_value': 'test'})
m_subplots = Mock(return_value=fig)
template = Mock()
report_generator.env.get_template = Mock(return_value=template)
m_open = mock_open()
# when
with patch('oftester.report.generator.open', m_open, create=True):
with patch('oftester.report.generator.make_subplots',
m_subplots, create=True):
report_generator.report()
# then
m_subplots.assert_has_calls([call(specs=[[{'secondary_y': True}]])])
fig.assert_has_calls([call.add_trace(Scatter({
'name': 'metric', 'x': [datetime(2020, 9, 18, 10, 48, 33)],
'y': [1]
}), secondary_y=True),
call.update_yaxes(title_text='metric y-axis', secondary_y=True),
call.update_layout(title_text='Packet size: 9000'),
call.to_html(full_html=False, include_plotlyjs='cdn',
default_height='100vh')])
report_generator.env.get_template.assert_has_calls(
[call('plotly_index.html')])
m_open.assert_has_calls(
[call('./reports/test.json', 'wb'),
call().__enter__(),
call().write(b'{"9000": [{"dps": {"1600411713": 1}, '
b'"metric": "metric", '
b'"timestamps": {}}]}'),
call().__exit__(None, None, None)])
template.assert_has_calls(
[call.stream(name='test', figures=['test']),
call.stream().dump('./reports/test-plotly.html')])
def test_collect_data_plotly_aggr(self):
# given
scenario_timestamp = model.ScenarioTimestamps()
scenario_timestamp.start = datetime.utcnow()
scenario_timestamp.timestamps = dict()
scenario_timestamp.stop = datetime.utcnow()
scenario_attrs = {'time_metrics': [scenario_timestamp],
'get_current_packet_size_idx.return_value': 0,
'current_packet_size.return_value': 9000,
'environment.otsdb_host': 'otsdb_host',
'environment.otsdb_port': 0,
'environment.otsdb_prefix': 'otsdb_prefix'}
scenario = Mock(**scenario_attrs)
type(scenario).name = PropertyMock(return_value='test')
report_generator = generator.PlotlyAggregatedReportGenerator(scenario)
get_attrs = {'status_code': 200,
'json.return_value': [{'test': 'test'}]}
requests.get = Mock(return_value=Mock(**get_attrs))
# when
report_generator.collect_data()
# then
scenario.assert_has_calls([call.get_current_packet_size_idx(),
call.current_packet_size()])
requests.get.assert_called_once()
self.assertEqual(report_generator.collected_data,
{9000: [{'test': 'test', 'timestamps': {}}]})
def test_report_plotly_aggr(self):
# given
scenario_attrs = {'packet_sizes': [0, 1, 2],
'environment.otsdb_prefix': 'otsdb_prefix',
'collection_interval': 30}
scenario = Mock(**scenario_attrs)
type(scenario).name = PropertyMock(return_value='test')
report_generator = generator.PlotlyAggregatedReportGenerator(scenario)
report_generator.collected_data = {9000: [{'dps': {'1600411713': 1},
'metric': 'metric',
'timestamps': {}}]}
fig = Mock(**{'to_html.return_value': 'test'})
m_subplots = Mock(return_value=fig)
template = Mock()
report_generator.env.get_template = Mock(return_value=template)
m_open = mock_open()
# when
with patch('oftester.report.generator.open', m_open, create=True):
with patch('oftester.report.generator.make_subplots',
m_subplots, create=True):
report_generator.report()
# then
m_subplots.assert_has_calls([call(specs=[[{'secondary_y': True}]]),
call(), call()])
fig.assert_has_calls([call.add_trace(Scatter({
'name': 'metric', 'x': [datetime(2020, 9, 18, 10, 48, 33)],
'y': [1]
}), secondary_y=True),
call.update_yaxes(title_text='metric y-axis', secondary_y=True),
call.update_layout(title_text='Packet size: 9000'),
call.to_html(full_html=False, include_plotlyjs='cdn',
default_height='100vh'),
call.update_layout(title_text='Metric: otsdb_prefix.port.bits'),
call.to_html(full_html=False, include_plotlyjs='cdn',
default_height='100vh'),
call.update_layout(title_text='Metric: otsdb_prefix.port.packets'),
call.to_html(full_html=False, include_plotlyjs='cdn',
default_height='100vh')])
report_generator.env.get_template.assert_has_calls(
[call('plotly_index.html'),
call('plotly_index.html')])
m_open.assert_has_calls(
[call('./reports/test.json', 'wb'),
call().__enter__(),
call().write(b'{"9000": [{"dps": {"1600411713": 1}, '
b'"metric": "metric", '
b'"timestamps": {}}]}'),
call().__exit__(None, None, None)])
template.assert_has_calls(
[call.stream(name='test', figures=['test']),
call.stream().dump('./reports/test-plotly.html'),
call.stream(name='test', figures=['test', 'test']),
call.stream().dump('./reports/test-plotly-aggr.html')])
if __name__ == '__main__':
unittest.main()
| 43.622407 | 79 | 0.570627 | 1,058 | 10,513 | 5.371456 | 0.134216 | 0.073905 | 0.039416 | 0.050677 | 0.903924 | 0.878057 | 0.856062 | 0.849903 | 0.830195 | 0.802921 | 0 | 0.021555 | 0.302768 | 10,513 | 240 | 80 | 43.804167 | 0.753752 | 0.009988 | 0 | 0.772487 | 0 | 0 | 0.161741 | 0.070762 | 0 | 0 | 0 | 0 | 0.116402 | 1 | 0.042328 | false | 0 | 0.042328 | 0 | 0.089947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
8a49358ef05f5d6c5bd53b47c40bd1571d12484b | 3,680 | py | Python | tests/testapp/tests/test_morango_mptt.py | jredrejo/morango | c3ec2554b026f65ac5f0fc5c9d439277fbac14f9 | [
"MIT"
] | null | null | null | tests/testapp/tests/test_morango_mptt.py | jredrejo/morango | c3ec2554b026f65ac5f0fc5c9d439277fbac14f9 | [
"MIT"
] | 6 | 2020-05-13T07:50:37.000Z | 2020-06-04T18:23:03.000Z | tests/testapp/tests/test_morango_mptt.py | jredrejo/morango | c3ec2554b026f65ac5f0fc5c9d439277fbac14f9 | [
"MIT"
] | null | null | null | from django.test import TestCase
from facility_profile.models import Facility, MyUser
from morango.utils.morango_mptt import MorangoMPTTTreeManager, MorangoTreeQuerySet
class MorangoMPTTModelTestCase(TestCase):
def setUp(self):
Facility.objects.create(name='beans')
def test_mptt_manager_inheritance(self):
self.assertTrue(isinstance(Facility.objects, MorangoMPTTTreeManager))
self.assertFalse(isinstance(MyUser.objects, MorangoMPTTTreeManager))
def test_mptt_qs_inheritance(self):
self.assertTrue(isinstance(Facility.objects.all(), MorangoTreeQuerySet))
self.assertFalse(isinstance(MyUser.objects.all(), MorangoTreeQuerySet))
def test_mptt_manager_update(self):
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update(update_dirty_bit_to=None)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update(update_dirty_bit_to=True)
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update()
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update(update_dirty_bit_to=None)
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
def test_mptt_qs_update(self):
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.all().update(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.all().update(update_dirty_bit_to=None)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.all().update(update_dirty_bit_to=True)
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.all().update(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.all().update()
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.all().update(update_dirty_bit_to=None)
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
def test_mptt_save(self):
fac = Facility.objects.first()
self.assertTrue(fac._morango_dirty_bit)
fac.save(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
fac.save(update_dirty_bit_to=None)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
fac.save(update_dirty_bit_to=True)
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
fac.save(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
fac.save()
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
fac.save(update_dirty_bit_to=None)
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
def test_new_mptt_update(self):
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.rebuild() # calls _mptt_update
self.assertTrue(Facility.objects.first()._morango_dirty_bit)
Facility.objects.update(update_dirty_bit_to=False)
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
Facility.objects.rebuild() # calls _mptt_update
self.assertFalse(Facility.objects.first()._morango_dirty_bit)
| 50.410959 | 82 | 0.745924 | 443 | 3,680 | 5.866817 | 0.097065 | 0.248172 | 0.192382 | 0.249327 | 0.838399 | 0.809157 | 0.809157 | 0.767603 | 0.749904 | 0.749904 | 0 | 0 | 0.149185 | 3,680 | 72 | 83 | 51.111111 | 0.830086 | 0.010054 | 0 | 0.619048 | 0 | 0 | 0.001374 | 0 | 0 | 0 | 0 | 0 | 0.460317 | 1 | 0.111111 | false | 0 | 0.047619 | 0 | 0.174603 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8a908969df948bb2edb7a7a6712d397726c4b467 | 5,214 | py | Python | ejemplo1.py | Jasiel3118/Prueba | 779516c9a3562b4e9eec387823be2b70edac6320 | [
"MIT"
] | null | null | null | ejemplo1.py | Jasiel3118/Prueba | 779516c9a3562b4e9eec387823be2b70edac6320 | [
"MIT"
] | null | null | null | ejemplo1.py | Jasiel3118/Prueba | 779516c9a3562b4e9eec387823be2b70edac6320 | [
"MIT"
] | null | null | null | def convolucion(A,B):
C = np.zeros((len(A)-2,len(A[0])-2))
n = 0
for i in range(len(C)):
for j in range(len(C[0])):
resultado = 0
for iaux in range(len(B)):
for jaux in range(len(B[0])):
resultado += A[i+iaux][j+jaux]*B[iaux][jaux]
C[i][j] = resultado
return C
matriz1 = [[6,9,0,3],[8,4,9,1],[4,1,3,12],[3,2,1,100]]
filtro = [[1,0,2],[5,0,9],[6,2,1]]
A = np.array(matriz1)
B = np.array(filtro)
C = np.zeros((2,2))
#print(A)
#print(A[1,0])
x = convolucion(A,B)
print(x)def convolucion(A,B):
C = np.zeros((len(A)-2,len(A[0])-2))
n = 0
for i in range(len(C)):
for j in range(len(C[0])):
resultado = 0
for iaux in range(len(B)):
for jaux in range(len(B[0])):
resultado += A[i+iaux][j+jaux]*B[iaux][jaux]
C[i][j] = resultado
return C
matriz1 = [[6,9,0,3],[8,4,9,1],[4,1,3,12],[3,2,1,100]]
filtro = [[1,0,2],[5,0,9],[6,2,1]]
A = np.array(matriz1)
B = np.array(filtro)
| 115.866667 | 278 | 0.097814 | 205 | 5,214 | 2.487805 | 0.165854 | 0.109804 | 0.156863 | 0.086275 | 0.913725 | 0.913725 | 0.913725 | 0.913725 | 0.913725 | 0.913725 | 0 | 0.101961 | 0.85328 | 5,214 | 44 | 279 | 118.5 | 0.564706 | 0 | 0 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 |
8aa6797612d5880ceb708ccf6a0115b8f22b6d28 | 1,513 | py | Python | input_files/dag_24_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | input_files/dag_24_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | input_files/dag_24_input.py | harkabeeparolus/kodkalender-2020 | ad6ca9c6e067ad206c54854771c8c6bb1bf27cfa | [
"MIT"
] | null | null | null | nissar = "^^^<>^<><><><><>^^<>^^^^^^<>^^<>^^<><><><>^^<>^<><>^<>^<>^^<><>^^^^<>^<>^<><><><><>^<>^^<><><>^^^<>^<><><><><>^<><><><>^<><>^<><>^<>^<><><><><>^<>^^^^<><>^^^<><>^<>^^^<><><><>^<><>^<><><><>^^^<>^<><>^^<><><><><><>^<><><><>^<>^^<>^<><>^<><><>^^^^^<>^<><><><>^^^<>^^^^^<>^<>^<>^^<><>^^<><>^<><><>^<>^^<><>^<><><><><>^<>^^<>^^<>^^^<><>^<>^^<><>^^<><>^^<><><>^<><>^^<><><><><>^<>^^^<><>^^<><><><><><>^<>^<>^^^^<>^<>^^^^^^^^^<><>^<>^<>^<><>^<>^^<>^<>^^<><>^^<>^<>^<><>^<>^<><>^^<><><><><>^^^<>^^^<>^<><>^<>^<>^<><><><>^^<><>^<>^^^<>^<>^<>^<>^^^^^^^^<>^<>^<><><>^<>^^<><>^<>^<>^^^<><><>^<><>^<>^^^<><>^^^<>^^<><><>^^<><><><><><>^^^^<><><><><>^<>^<>^<><>^^^<>^^<>^^^^^^^<><><><><>^<><>^<><>^<>^^<>^<><>^<>^<>^^<><>^^<>^^^^^<><><><><>^<><><>^^<>^<><>^^<><><>^<>^^^<>^<><><>^^^<>^^<>^^<><>^<><>^<><><><>^^^^^<>^^^<>^^^<><><><>^<>^^^<>^^^^^<>^^^^<><><>^^<>^<><>^^^<>^^<>^<><>^^<>^<>^^^^^^<>^<>^^<><>^<><><><><>^^^^<><><>^^<><>^<>^^^^<><><>^^^<><>^<><><><>^^<><>^^^<>^<><>^^<>^^<>^^<>^^<><>^^^<><><>^^^<><><><>^<>^^<><><><><><><>^<>^<>^<><><><><>^^^^<><><>^<>^^<><>^<>^^^<><><>^<>^^^^^<><>^<><>^^^<><><><><><><>^<><>^^<><>^^<><>^<>^^^^^^^^<>^^<><>^^<>^^^^<>^^<><><>^^<><>^<>^<>^<>^^^^^^^<><><>^<>^^^<><>^^<>^^<>^<><><><><><>^^<>^^<><><>^^^^^^^^^^^^<><>^^<><><><><><><><>^<><>^^^<><>^^^^^^<>^<>^<><>^<><><><>^<><><>^<><>^^^^^^^<>^<><><>^<><><><><>^^<><><>^<><>^<>^^<>^<><><>^^<>^<><><><>^^<><><>^^^^<><><><><>^<>^<><>^<>^^<>^^<>^<>^<><>^<>^^^<>^^^<><>^^^<>^<>^^<><>^<><><><>^^^^<><><>^<><><><>^<>^^<><>^<>^<><><>^"
| 756.5 | 1,512 | 0.003966 | 1 | 1,513 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001983 | 1,513 | 1 | 1,513 | 1,513 | 0.003974 | 0 | 0 | 0 | 0 | 0 | 0.992069 | 0.992069 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
76da7aa6248f0b4379bf8335ed420bff1add3d6a | 149 | py | Python | problink/__init__.py | pdh21/problink | 5a54d5ad867ae73978cdfec60d691de06b43e1c4 | [
"MIT"
] | 1 | 2019-12-04T21:48:12.000Z | 2019-12-04T21:48:12.000Z | problink/__init__.py | pdh21/problink | 5a54d5ad867ae73978cdfec60d691de06b43e1c4 | [
"MIT"
] | 1 | 2018-10-11T15:56:09.000Z | 2018-10-11T15:56:09.000Z | problink/__init__.py | pdh21/problink | 5a54d5ad867ae73978cdfec60d691de06b43e1c4 | [
"MIT"
] | null | null | null | from problink.priors import *
from problink.xidmod import *
from problink.match import *
from problink.read_data import *
from problink.misc import * | 29.8 | 32 | 0.805369 | 21 | 149 | 5.666667 | 0.428571 | 0.504202 | 0.605042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127517 | 149 | 5 | 33 | 29.8 | 0.915385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
0a36bbc8c8f0d78b2de788b8cf95e62fc3110bef | 21,113 | py | Python | cfgov/v1/migrations/0256_remove_filter_sibling_choice.py | adebisi-aden/consumerfinance.gov | 8c0f5afac341823c59f73b0c6bd60592e0f5eaca | [
"CC0-1.0"
] | 37 | 2020-08-18T19:52:39.000Z | 2022-03-23T08:08:41.000Z | cfgov/v1/migrations/0256_remove_filter_sibling_choice.py | adebisi-aden/consumerfinance.gov | 8c0f5afac341823c59f73b0c6bd60592e0f5eaca | [
"CC0-1.0"
] | 338 | 2020-08-14T20:46:36.000Z | 2022-03-31T20:49:32.000Z | cfgov/v1/migrations/0256_remove_filter_sibling_choice.py | adebisi-aden/consumerfinance.gov | 8c0f5afac341823c59f73b0c6bd60592e0f5eaca | [
"CC0-1.0"
] | 14 | 2020-10-21T15:27:03.000Z | 2022-03-17T03:16:36.000Z | # Generated by Django 2.2.20 on 2021-04-15 16:29
from django.db import migrations
import v1.atomic_elements.organisms
import v1.blocks
import v1.util.ref
import wagtail.core.blocks
import wagtail.core.fields
import wagtail.images.blocks
class Migration(migrations.Migration):
dependencies = [
('v1', '0255_fix_wagtailembeds_constraint'),
]
operations = [
migrations.AlterField(
model_name='browsefilterablepage',
name='content',
field=wagtail.core.fields.StreamField([('full_width_text', wagtail.core.blocks.StreamBlock([('content', wagtail.core.blocks.RichTextBlock(icon='edit')), ('content_with_anchor', wagtail.core.blocks.StructBlock([('content_block', wagtail.core.blocks.RichTextBlock()), ('anchor_link', wagtail.core.blocks.StructBlock([('link_id', wagtail.core.blocks.CharBlock(help_text='\n ID will be auto-generated on save.\n However, you may enter some human-friendly text that\n will be incorporated to make it easier to read.\n ', label='ID for this content block', required=False))]))])), ('heading', wagtail.core.blocks.StructBlock([('text', v1.blocks.HeadingTextBlock(required=False)), ('level', wagtail.core.blocks.ChoiceBlock(choices=[('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4')])), ('icon', v1.blocks.HeadingIconBlock(help_text='Input the name of an icon to appear to the left of the heading. E.g., approved, help-round, etc. <a href="https://cfpb.github.io/design-system/foundation/iconography">See full list of icons</a>', required=False))], required=False)), ('image', wagtail.core.blocks.StructBlock([('image', wagtail.core.blocks.StructBlock([('upload', wagtail.images.blocks.ImageChooserBlock(required=False)), ('alt', wagtail.core.blocks.CharBlock(help_text="If the image is decorative (i.e., if a screenreader wouldn't have anything useful to say about it), leave the Alt field blank.", required=False))])), ('image_width', wagtail.core.blocks.ChoiceBlock(choices=[('full', 'full'), (470, '470px'), (270, '270px'), (170, '170px')])), ('image_position', wagtail.core.blocks.ChoiceBlock(choices=[('right', 'right'), ('left', 'left')], help_text='Does not apply if the image is full-width')), ('text', wagtail.core.blocks.RichTextBlock(label='Caption', required=False)), ('is_bottom_rule', wagtail.core.blocks.BooleanBlock(default=True, help_text='Check to add a horizontal rule line to bottom of inset.', label='Has bottom rule line', required=False))])), ('table_block', v1.atomic_elements.organisms.AtomicTableBlock(table_options={'renderer': 'html'})), ('quote', wagtail.core.blocks.StructBlock([('body', wagtail.core.blocks.TextBlock()), ('citation', wagtail.core.blocks.TextBlock(required=False)), ('is_large', wagtail.core.blocks.BooleanBlock(required=False))])), ('cta', wagtail.core.blocks.StructBlock([('slug_text', wagtail.core.blocks.CharBlock(required=False)), ('paragraph_text', wagtail.core.blocks.RichTextBlock(required=False)), ('button', wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.CharBlock(default='/', required=False)), ('size', wagtail.core.blocks.ChoiceBlock(choices=[('regular', 'Regular'), ('large', 'Large Primary')]))]))])), ('related_links', wagtail.core.blocks.StructBlock([('heading', wagtail.core.blocks.CharBlock(required=False)), ('paragraph', wagtail.core.blocks.RichTextBlock(required=False)), ('links', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.CharBlock(default='/', required=False))])))])), ('reusable_text', v1.blocks.ReusableTextChooserBlock('v1.ReusableText')), ('email_signup', wagtail.core.blocks.StructBlock([('heading', wagtail.core.blocks.CharBlock(default='Stay informed', required=False)), ('default_heading', wagtail.core.blocks.BooleanBlock(default=True, help_text='If selected, heading will be styled as an H5 with green top rule. Deselect to style header as H3.', label='Default heading style', required=False)), ('text', wagtail.core.blocks.CharBlock(help_text='Write a sentence or two about what kinds of emails the user is signing up for, how frequently they will be sent, etc.', required=False)), ('gd_code', wagtail.core.blocks.CharBlock(help_text='Code for the topic (i.e., mailing list) you want people who submit this form to subscribe to. Format: USCFPB_###', label='GovDelivery code', required=False)), ('disclaimer_page', wagtail.core.blocks.PageChooserBlock(help_text='Choose the page that the "See Privacy Act statement" link should go to. If in doubt, use "Generic Email Sign-Up Privacy Act Statement".', label='Privacy Act statement', required=False))])), ('well', wagtail.core.blocks.StructBlock([('content', wagtail.core.blocks.RichTextBlock(label='Well', required=False))])), ('well_with_ask_search', wagtail.core.blocks.StructBlock([('content', wagtail.core.blocks.RichTextBlock(label='Well', required=False)), ('ask_search', wagtail.core.blocks.StructBlock([('show_label', wagtail.core.blocks.BooleanBlock(default=True, help_text='Whether to show form label.', required=False)), ('placeholder', wagtail.core.blocks.TextBlock(help_text='Text to show for the input placeholder text.', required=False))]))]))])), ('filter_controls', wagtail.core.blocks.StructBlock([('label', wagtail.core.blocks.CharBlock(required=False)), ('is_bordered', wagtail.core.blocks.BooleanBlock(required=False)), ('is_midtone', wagtail.core.blocks.BooleanBlock(required=False)), ('is_expanded', wagtail.core.blocks.BooleanBlock(required=False)), ('title', wagtail.core.blocks.BooleanBlock(default=True, label='Filter Title', required=False)), ('no_posts_message', wagtail.core.blocks.CharBlock(help_text='Message for the <a href="https://cfpb.github.io/design-system/components/notifications#default-base-notification">notification</a> that will be displayed instead of filter controls if there are no posts to filter.', required=False)), ('no_posts_explanation', wagtail.core.blocks.CharBlock(help_text='Additional explanation for the notification that will be displayed if there are no posts to filter.', required=False)), ('post_date_description', wagtail.core.blocks.CharBlock(help_text='Strongly encouraged to help users understand the action that the date of the post is linked to, i.e. published, issued, released.', label='Date stamp descriptor', required=False)), ('categories', wagtail.core.blocks.StructBlock([('filter_category', wagtail.core.blocks.BooleanBlock(default=True, required=False)), ('show_preview_categories', wagtail.core.blocks.BooleanBlock(default=True, required=False)), ('page_type', wagtail.core.blocks.ChoiceBlock(choices=v1.util.ref.filterable_list_page_types, required=False))])), ('topic_filtering', wagtail.core.blocks.ChoiceBlock(choices=[('no_filter', "Don't filter topics"), ('sort_alphabetically', 'Filter topics, sort topic list alphabetically'), ('sort_by_frequency', 'Filter topics, sort topic list by number of results')], help_text='Whether to include a dropdown in the filter controls for "Topics"')), ('order_by', wagtail.core.blocks.ChoiceBlock(choices=[('-date_published', 'Date Published'), ('_score', 'Relevance')], help_text='How to order results')), ('statuses', wagtail.core.blocks.BooleanBlock(default=False, label='Filter Enforcement Statuses', required=False)), ('products', wagtail.core.blocks.BooleanBlock(default=False, label='Filter Enforcement Products', required=False)), ('authors', wagtail.core.blocks.BooleanBlock(default=True, label='Filter Authors', required=False)), ('date_range', wagtail.core.blocks.BooleanBlock(default=True, label='Filter Date Range', required=False)), ('output_5050', wagtail.core.blocks.BooleanBlock(default=False, label='Render preview items as 50-50s', required=False)), ('link_image_and_heading', wagtail.core.blocks.BooleanBlock(default=False, help_text='Add links to post preview images and headings in filterable list results', required=False)), ('filter_children', wagtail.core.blocks.BooleanBlock(default=True, help_text='If checked this list will only filter its child pages. If both children and siblings are checked, only child pages will be filtered.', required=False))])), ('feedback', wagtail.core.blocks.StructBlock([('was_it_helpful_text', wagtail.core.blocks.CharBlock(default='Was this page helpful to you?', help_text='Use this field only for feedback forms that use "Was this helpful?" radio buttons.', required=False)), ('intro_text', wagtail.core.blocks.CharBlock(help_text='Optional feedback intro', required=False)), ('question_text', wagtail.core.blocks.CharBlock(help_text='Optional expansion on intro', required=False)), ('radio_intro', wagtail.core.blocks.CharBlock(help_text='Leave blank unless you are building a feedback form with extra radio-button prompts, as in /owning-a-home/help-us-improve/.', required=False)), ('radio_text', wagtail.core.blocks.CharBlock(default='This information helps us understand your question better.', required=False)), ('radio_question_1', wagtail.core.blocks.CharBlock(default='How soon do you expect to buy a home?', required=False)), ('radio_question_2', wagtail.core.blocks.CharBlock(default='Do you currently own a home?', required=False)), ('button_text', wagtail.core.blocks.CharBlock(default='Submit')), ('contact_advisory', wagtail.core.blocks.RichTextBlock(help_text='Use only for feedback forms that ask for a contact email', required=False))]))]),
),
migrations.AlterField(
model_name='sublandingfilterablepage',
name='content',
field=wagtail.core.fields.StreamField([('text_introduction', wagtail.core.blocks.StructBlock([('eyebrow', wagtail.core.blocks.CharBlock(help_text='Optional: Adds an H5 eyebrow above H1 heading text. Only use in conjunction with heading.', label='Pre-heading', required=False)), ('heading', wagtail.core.blocks.CharBlock(required=False)), ('intro', wagtail.core.blocks.RichTextBlock(required=False)), ('body', wagtail.core.blocks.RichTextBlock(required=False)), ('links', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.CharBlock(default='/', required=False))]), required=False)), ('has_rule', wagtail.core.blocks.BooleanBlock(help_text='Check this to add a horizontal rule line to bottom of text introduction.', label='Has bottom rule', required=False))])), ('full_width_text', wagtail.core.blocks.StreamBlock([('content', wagtail.core.blocks.RichTextBlock(icon='edit')), ('content_with_anchor', wagtail.core.blocks.StructBlock([('content_block', wagtail.core.blocks.RichTextBlock()), ('anchor_link', wagtail.core.blocks.StructBlock([('link_id', wagtail.core.blocks.CharBlock(help_text='\n ID will be auto-generated on save.\n However, you may enter some human-friendly text that\n will be incorporated to make it easier to read.\n ', label='ID for this content block', required=False))]))])), ('heading', wagtail.core.blocks.StructBlock([('text', v1.blocks.HeadingTextBlock(required=False)), ('level', wagtail.core.blocks.ChoiceBlock(choices=[('h2', 'H2'), ('h3', 'H3'), ('h4', 'H4')])), ('icon', v1.blocks.HeadingIconBlock(help_text='Input the name of an icon to appear to the left of the heading. E.g., approved, help-round, etc. <a href="https://cfpb.github.io/design-system/foundation/iconography">See full list of icons</a>', required=False))], required=False)), ('image', wagtail.core.blocks.StructBlock([('image', wagtail.core.blocks.StructBlock([('upload', wagtail.images.blocks.ImageChooserBlock(required=False)), ('alt', wagtail.core.blocks.CharBlock(help_text="If the image is decorative (i.e., if a screenreader wouldn't have anything useful to say about it), leave the Alt field blank.", required=False))])), ('image_width', wagtail.core.blocks.ChoiceBlock(choices=[('full', 'full'), (470, '470px'), (270, '270px'), (170, '170px')])), ('image_position', wagtail.core.blocks.ChoiceBlock(choices=[('right', 'right'), ('left', 'left')], help_text='Does not apply if the image is full-width')), ('text', wagtail.core.blocks.RichTextBlock(label='Caption', required=False)), ('is_bottom_rule', wagtail.core.blocks.BooleanBlock(default=True, help_text='Check to add a horizontal rule line to bottom of inset.', label='Has bottom rule line', required=False))])), ('table_block', v1.atomic_elements.organisms.AtomicTableBlock(table_options={'renderer': 'html'})), ('quote', wagtail.core.blocks.StructBlock([('body', wagtail.core.blocks.TextBlock()), ('citation', wagtail.core.blocks.TextBlock(required=False)), ('is_large', wagtail.core.blocks.BooleanBlock(required=False))])), ('cta', wagtail.core.blocks.StructBlock([('slug_text', wagtail.core.blocks.CharBlock(required=False)), ('paragraph_text', wagtail.core.blocks.RichTextBlock(required=False)), ('button', wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.CharBlock(default='/', required=False)), ('size', wagtail.core.blocks.ChoiceBlock(choices=[('regular', 'Regular'), ('large', 'Large Primary')]))]))])), ('related_links', wagtail.core.blocks.StructBlock([('heading', wagtail.core.blocks.CharBlock(required=False)), ('paragraph', wagtail.core.blocks.RichTextBlock(required=False)), ('links', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.CharBlock(default='/', required=False))])))])), ('reusable_text', v1.blocks.ReusableTextChooserBlock('v1.ReusableText')), ('email_signup', wagtail.core.blocks.StructBlock([('heading', wagtail.core.blocks.CharBlock(default='Stay informed', required=False)), ('default_heading', wagtail.core.blocks.BooleanBlock(default=True, help_text='If selected, heading will be styled as an H5 with green top rule. Deselect to style header as H3.', label='Default heading style', required=False)), ('text', wagtail.core.blocks.CharBlock(help_text='Write a sentence or two about what kinds of emails the user is signing up for, how frequently they will be sent, etc.', required=False)), ('gd_code', wagtail.core.blocks.CharBlock(help_text='Code for the topic (i.e., mailing list) you want people who submit this form to subscribe to. Format: USCFPB_###', label='GovDelivery code', required=False)), ('disclaimer_page', wagtail.core.blocks.PageChooserBlock(help_text='Choose the page that the "See Privacy Act statement" link should go to. If in doubt, use "Generic Email Sign-Up Privacy Act Statement".', label='Privacy Act statement', required=False))])), ('well', wagtail.core.blocks.StructBlock([('content', wagtail.core.blocks.RichTextBlock(label='Well', required=False))])), ('well_with_ask_search', wagtail.core.blocks.StructBlock([('content', wagtail.core.blocks.RichTextBlock(label='Well', required=False)), ('ask_search', wagtail.core.blocks.StructBlock([('show_label', wagtail.core.blocks.BooleanBlock(default=True, help_text='Whether to show form label.', required=False)), ('placeholder', wagtail.core.blocks.TextBlock(help_text='Text to show for the input placeholder text.', required=False))]))]))])), ('filter_controls', wagtail.core.blocks.StructBlock([('label', wagtail.core.blocks.CharBlock(required=False)), ('is_bordered', wagtail.core.blocks.BooleanBlock(required=False)), ('is_midtone', wagtail.core.blocks.BooleanBlock(required=False)), ('is_expanded', wagtail.core.blocks.BooleanBlock(required=False)), ('title', wagtail.core.blocks.BooleanBlock(default=True, label='Filter Title', required=False)), ('no_posts_message', wagtail.core.blocks.CharBlock(help_text='Message for the <a href="https://cfpb.github.io/design-system/components/notifications#default-base-notification">notification</a> that will be displayed instead of filter controls if there are no posts to filter.', required=False)), ('no_posts_explanation', wagtail.core.blocks.CharBlock(help_text='Additional explanation for the notification that will be displayed if there are no posts to filter.', required=False)), ('post_date_description', wagtail.core.blocks.CharBlock(help_text='Strongly encouraged to help users understand the action that the date of the post is linked to, i.e. published, issued, released.', label='Date stamp descriptor', required=False)), ('categories', wagtail.core.blocks.StructBlock([('filter_category', wagtail.core.blocks.BooleanBlock(default=True, required=False)), ('show_preview_categories', wagtail.core.blocks.BooleanBlock(default=True, required=False)), ('page_type', wagtail.core.blocks.ChoiceBlock(choices=v1.util.ref.filterable_list_page_types, required=False))])), ('topic_filtering', wagtail.core.blocks.ChoiceBlock(choices=[('no_filter', "Don't filter topics"), ('sort_alphabetically', 'Filter topics, sort topic list alphabetically'), ('sort_by_frequency', 'Filter topics, sort topic list by number of results')], help_text='Whether to include a dropdown in the filter controls for "Topics"')), ('order_by', wagtail.core.blocks.ChoiceBlock(choices=[('-date_published', 'Date Published'), ('_score', 'Relevance')], help_text='How to order results')), ('statuses', wagtail.core.blocks.BooleanBlock(default=False, label='Filter Enforcement Statuses', required=False)), ('products', wagtail.core.blocks.BooleanBlock(default=False, label='Filter Enforcement Products', required=False)), ('authors', wagtail.core.blocks.BooleanBlock(default=True, label='Filter Authors', required=False)), ('date_range', wagtail.core.blocks.BooleanBlock(default=True, label='Filter Date Range', required=False)), ('output_5050', wagtail.core.blocks.BooleanBlock(default=False, label='Render preview items as 50-50s', required=False)), ('link_image_and_heading', wagtail.core.blocks.BooleanBlock(default=False, help_text='Add links to post preview images and headings in filterable list results', required=False)), ('filter_children', wagtail.core.blocks.BooleanBlock(default=True, help_text='If checked this list will only filter its child pages. If both children and siblings are checked, only child pages will be filtered.', required=False))])), ('featured_content', wagtail.core.blocks.StructBlock([('heading', wagtail.core.blocks.CharBlock()), ('body', wagtail.core.blocks.TextBlock(help_text='Line breaks will be ignored.')), ('post', wagtail.core.blocks.PageChooserBlock(required=False)), ('show_post_link', wagtail.core.blocks.BooleanBlock(label='Render post link?', required=False)), ('post_link_text', wagtail.core.blocks.CharBlock(required=False)), ('image', wagtail.core.blocks.StructBlock([('upload', wagtail.images.blocks.ImageChooserBlock(required=False)), ('alt', wagtail.core.blocks.CharBlock(help_text="If the image is decorative (i.e., if a screenreader wouldn't have anything useful to say about it), leave the Alt field blank.", required=False))])), ('links', wagtail.core.blocks.ListBlock(wagtail.core.blocks.StructBlock([('text', wagtail.core.blocks.CharBlock(required=False)), ('url', wagtail.core.blocks.CharBlock(default='/', required=False))]), label='Additional Links')), ('video', wagtail.core.blocks.StructBlock([('video_id', wagtail.core.blocks.RegexBlock(error_messages={'invalid': 'The YouTube video ID is in the wrong format.'}, help_text='Enter the YouTube video ID, which is located at the end of the video URL, after "v=". For example, the video ID for https://www.youtube.com/watch?v=1V0Ax9OIc84 is 1V0Ax9OIc84.', label='YouTube video ID', regex='^[\\w-]{11}$', required=False)), ('thumbnail_image', wagtail.images.blocks.ImageChooserBlock(help_text='Optional thumbnail image to show before and after the video plays. If the thumbnail image is not set here, the video player will default to showing the thumbnail that was set in (or automatically chosen by) YouTube.', required=False))], required=False))])), ('feedback', wagtail.core.blocks.StructBlock([('was_it_helpful_text', wagtail.core.blocks.CharBlock(default='Was this page helpful to you?', help_text='Use this field only for feedback forms that use "Was this helpful?" radio buttons.', required=False)), ('intro_text', wagtail.core.blocks.CharBlock(help_text='Optional feedback intro', required=False)), ('question_text', wagtail.core.blocks.CharBlock(help_text='Optional expansion on intro', required=False)), ('radio_intro', wagtail.core.blocks.CharBlock(help_text='Leave blank unless you are building a feedback form with extra radio-button prompts, as in /owning-a-home/help-us-improve/.', required=False)), ('radio_text', wagtail.core.blocks.CharBlock(default='This information helps us understand your question better.', required=False)), ('radio_question_1', wagtail.core.blocks.CharBlock(default='How soon do you expect to buy a home?', required=False)), ('radio_question_2', wagtail.core.blocks.CharBlock(default='Do you currently own a home?', required=False)), ('button_text', wagtail.core.blocks.CharBlock(default='Submit')), ('contact_advisory', wagtail.core.blocks.RichTextBlock(help_text='Use only for feedback forms that ask for a contact email', required=False))]))]),
),
]
| 703.766667 | 11,502 | 0.758206 | 2,838 | 21,113 | 5.565187 | 0.135307 | 0.12815 | 0.194821 | 0.090541 | 0.915158 | 0.912815 | 0.907117 | 0.893251 | 0.893251 | 0.887236 | 0 | 0.00628 | 0.079809 | 21,113 | 29 | 11,503 | 728.034483 | 0.806671 | 0.002179 | 0 | 0.26087 | 1 | 1.086957 | 0.409067 | 0.01201 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.304348 | 0 | 0.434783 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 12 |
0a4751e67609d8ca8f66f9b6e89e2faaf3f0e5e7 | 15,911 | py | Python | release/stubs.min/Wms/RemotingImplementation/DataSetsTableAdapters.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/DataSetsTableAdapters.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/Wms/RemotingImplementation/DataSetsTableAdapters.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | # encoding: utf-8
# module Wms.RemotingImplementation.DataSetsTableAdapters calls itself DataSetsTableAdapters
# from Wms.RemotingImplementation,Version=1.20.1.10,Culture=neutral,PublicKeyToken=null
# by generator 1.145
# no doc
# no imports
# no functions
# classes
class PurchaseOrders_GetHistoryLinesTableAdapter:
""" PurchaseOrders_GetHistoryLinesTableAdapter() """
def Dispose(self):
"""
Dispose(self: Component,disposing: bool)
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources.
"""
pass
def Fill(self,dataTable,GroupGuid,PageStart,PageLimit):
""" Fill(self: PurchaseOrders_GetHistoryLinesTableAdapter,dataTable: PurchaseOrders_GetHistoryLinesDataTable,GroupGuid: Nullable[Guid],PageStart: Nullable[int],PageLimit: Nullable[int]) -> int """
pass
def GetData(self,GroupGuid,PageStart,PageLimit):
""" GetData(self: PurchaseOrders_GetHistoryLinesTableAdapter,GroupGuid: Nullable[Guid],PageStart: Nullable[int],PageLimit: Nullable[int]) -> PurchaseOrders_GetHistoryLinesDataTable """
pass
def GetService(self,*args):
"""
GetService(self: Component,service: Type) -> object
Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container.
service: A service provided by the System.ComponentModel.Component.
Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or null if the System.ComponentModel.Component does not provide the
specified service.
"""
pass
def MemberwiseClone(self,*args):
"""
MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject
Creates a shallow copy of the current System.MarshalByRefObject object.
cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the object to be assigned a new identity when it is marshaled across a
remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone,which will cause
remoting client calls to be routed to the remote server object.
Returns: A shallow copy of the current System.MarshalByRefObject object.
MemberwiseClone(self: object) -> object
Creates a shallow copy of the current System.Object.
Returns: A shallow copy of the current System.Object.
"""
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __str__(self,*args):
pass
Adapter=property(lambda self: object(),lambda self,v: None,lambda self: None)
CanRaiseEvents=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the component can raise an event.
"""
ClearBeforeFill=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: ClearBeforeFill(self: PurchaseOrders_GetHistoryLinesTableAdapter) -> bool
Set: ClearBeforeFill(self: PurchaseOrders_GetHistoryLinesTableAdapter)=value
"""
CommandCollection=property(lambda self: object(),lambda self,v: None,lambda self: None)
DesignMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.
"""
Events=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the list of event handlers that are attached to this System.ComponentModel.Component.
"""
class RmaOrders_GetHistoryLinesTableAdapter:
""" RmaOrders_GetHistoryLinesTableAdapter() """
def Dispose(self):
"""
Dispose(self: Component,disposing: bool)
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources.
"""
pass
def Fill(self,dataTable,GroupGuid,PageStart,PageLimit):
""" Fill(self: RmaOrders_GetHistoryLinesTableAdapter,dataTable: RmaOrders_GetHistoryLinesDataTable,GroupGuid: Nullable[Guid],PageStart: Nullable[int],PageLimit: Nullable[int]) -> int """
pass
def GetData(self,GroupGuid,PageStart,PageLimit):
""" GetData(self: RmaOrders_GetHistoryLinesTableAdapter,GroupGuid: Nullable[Guid],PageStart: Nullable[int],PageLimit: Nullable[int]) -> RmaOrders_GetHistoryLinesDataTable """
pass
def GetService(self,*args):
"""
GetService(self: Component,service: Type) -> object
Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container.
service: A service provided by the System.ComponentModel.Component.
Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or null if the System.ComponentModel.Component does not provide the
specified service.
"""
pass
def MemberwiseClone(self,*args):
"""
MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject
Creates a shallow copy of the current System.MarshalByRefObject object.
cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the object to be assigned a new identity when it is marshaled across a
remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone,which will cause
remoting client calls to be routed to the remote server object.
Returns: A shallow copy of the current System.MarshalByRefObject object.
MemberwiseClone(self: object) -> object
Creates a shallow copy of the current System.Object.
Returns: A shallow copy of the current System.Object.
"""
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __str__(self,*args):
pass
Adapter=property(lambda self: object(),lambda self,v: None,lambda self: None)
CanRaiseEvents=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the component can raise an event.
"""
ClearBeforeFill=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: ClearBeforeFill(self: RmaOrders_GetHistoryLinesTableAdapter) -> bool
Set: ClearBeforeFill(self: RmaOrders_GetHistoryLinesTableAdapter)=value
"""
CommandCollection=property(lambda self: object(),lambda self,v: None,lambda self: None)
DesignMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.
"""
Events=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the list of event handlers that are attached to this System.ComponentModel.Component.
"""
class Shipment_GetHistoryShipmentLinesTableAdapter:
""" Shipment_GetHistoryShipmentLinesTableAdapter() """
def Dispose(self):
"""
Dispose(self: Component,disposing: bool)
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources.
"""
pass
def Fill(self,dataTable,Id):
""" Fill(self: Shipment_GetHistoryShipmentLinesTableAdapter,dataTable: Shipment_GetHistoryShipmentLinesDataTable,Id: Nullable[int]) -> int """
pass
def GetData(self,Id):
""" GetData(self: Shipment_GetHistoryShipmentLinesTableAdapter,Id: Nullable[int]) -> Shipment_GetHistoryShipmentLinesDataTable """
pass
def GetService(self,*args):
"""
GetService(self: Component,service: Type) -> object
Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container.
service: A service provided by the System.ComponentModel.Component.
Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or null if the System.ComponentModel.Component does not provide the
specified service.
"""
pass
def MemberwiseClone(self,*args):
"""
MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject
Creates a shallow copy of the current System.MarshalByRefObject object.
cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the object to be assigned a new identity when it is marshaled across a
remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone,which will cause
remoting client calls to be routed to the remote server object.
Returns: A shallow copy of the current System.MarshalByRefObject object.
MemberwiseClone(self: object) -> object
Creates a shallow copy of the current System.Object.
Returns: A shallow copy of the current System.Object.
"""
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __str__(self,*args):
pass
Adapter=property(lambda self: object(),lambda self,v: None,lambda self: None)
CanRaiseEvents=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the component can raise an event.
"""
ClearBeforeFill=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: ClearBeforeFill(self: Shipment_GetHistoryShipmentLinesTableAdapter) -> bool
Set: ClearBeforeFill(self: Shipment_GetHistoryShipmentLinesTableAdapter)=value
"""
CommandCollection=property(lambda self: object(),lambda self,v: None,lambda self: None)
DesignMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.
"""
Events=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the list of event handlers that are attached to this System.ComponentModel.Component.
"""
class TableAdapterManager:
""" TableAdapterManager() """
def Dispose(self):
"""
Dispose(self: Component,disposing: bool)
Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.
disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources.
"""
pass
def GetService(self,*args):
"""
GetService(self: Component,service: Type) -> object
Returns an object that represents a service provided by the System.ComponentModel.Component or by its System.ComponentModel.Container.
service: A service provided by the System.ComponentModel.Component.
Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or null if the System.ComponentModel.Component does not provide the
specified service.
"""
pass
def MatchTableAdapterConnection(self,*args):
""" MatchTableAdapterConnection(self: TableAdapterManager,inputConnection: IDbConnection) -> bool """
pass
def MemberwiseClone(self,*args):
"""
MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject
Creates a shallow copy of the current System.MarshalByRefObject object.
cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the object to be assigned a new identity when it is marshaled across a
remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone,which will cause
remoting client calls to be routed to the remote server object.
Returns: A shallow copy of the current System.MarshalByRefObject object.
MemberwiseClone(self: object) -> object
Creates a shallow copy of the current System.Object.
Returns: A shallow copy of the current System.Object.
"""
pass
def SortSelfReferenceRows(self,*args):
""" SortSelfReferenceRows(self: TableAdapterManager,rows: Array[DataRow],relation: DataRelation,childFirst: bool) """
pass
def UpdateAll(self,dataSet):
""" UpdateAll(self: TableAdapterManager,dataSet: DataSets) -> int """
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __str__(self,*args):
pass
BackupDataSetBeforeUpdate=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: BackupDataSetBeforeUpdate(self: TableAdapterManager) -> bool
Set: BackupDataSetBeforeUpdate(self: TableAdapterManager)=value
"""
CanRaiseEvents=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the component can raise an event.
"""
Connection=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Connection(self: TableAdapterManager) -> IDbConnection
Set: Connection(self: TableAdapterManager)=value
"""
DesignMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.
"""
Events=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the list of event handlers that are attached to this System.ComponentModel.Component.
"""
TableAdapterInstanceCount=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: TableAdapterInstanceCount(self: TableAdapterManager) -> int
"""
UpdateOrder=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: UpdateOrder(self: TableAdapterManager) -> UpdateOrderOption
Set: UpdateOrder(self: TableAdapterManager)=value
"""
UpdateOrderOption=None
| 44.568627 | 215 | 0.744202 | 1,894 | 15,911 | 6.106125 | 0.093981 | 0.064851 | 0.070212 | 0.051881 | 0.850497 | 0.841332 | 0.841332 | 0.838565 | 0.838565 | 0.838565 | 0 | 0.000826 | 0.162969 | 15,911 | 356 | 216 | 44.69382 | 0.867548 | 0.572308 | 0 | 0.865385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.355769 | false | 0.355769 | 0 | 0 | 0.644231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 10 |
0a476c25103547fdb85247b331f897e0ec532b70 | 10,039 | py | Python | tests/em/static/test_SIP_2D_jvecjtvecadj.py | kimjaed/simpeg | b8d716f86a4ea07ba3085fabb24c2bc974788040 | [
"MIT"
] | 3 | 2020-11-27T03:18:28.000Z | 2022-03-18T01:29:58.000Z | tests/em/static/test_SIP_2D_jvecjtvecadj.py | kimjaed/simpeg | b8d716f86a4ea07ba3085fabb24c2bc974788040 | [
"MIT"
] | null | null | null | tests/em/static/test_SIP_2D_jvecjtvecadj.py | kimjaed/simpeg | b8d716f86a4ea07ba3085fabb24c2bc974788040 | [
"MIT"
] | 1 | 2021-01-14T08:33:45.000Z | 2021-01-14T08:33:45.000Z | from __future__ import print_function
import unittest
from SimPEG import (Mesh, Utils, Maps, DataMisfit,
Regularization, Optimization, Inversion, InvProblem, Tests)
import numpy as np
from SimPEG.EM.Static import SIP
try:
from pymatsolver import Pardiso as Solver
except ImportError:
from SimPEG import SolverLU as Solver
np.random.seed(38)
class IPProblemTestsCC(unittest.TestCase):
def setUp(self):
cs = 25.
hx = [(cs, 0, -1.3), (cs, 21), (cs, 0, 1.3)]
hz = [(cs, 0, -1.3), (cs, 20)]
mesh = Mesh.TensorMesh([hx, hz], x0="CN")
blkind0 = Utils.ModelBuilder.getIndicesSphere(
np.r_[-100., -200.], 75., mesh.gridCC
)
blkind1 = Utils.ModelBuilder.getIndicesSphere(
np.r_[100., -200.], 75., mesh.gridCC
)
sigma = np.ones(mesh.nC) * 1e-2
eta = np.zeros(mesh.nC)
tau = np.ones_like(sigma) * 1.
eta[blkind0] = 0.1
eta[blkind1] = 0.1
tau[blkind0] = 0.1
tau[blkind1] = 0.1
x = mesh.vectorCCx[(mesh.vectorCCx > -155.) & (mesh.vectorCCx < 155.)]
Aloc = np.r_[-200., 0.]
Bloc = np.r_[200., 0.]
M = Utils.ndgrid(x-25., np.r_[0.])
N = Utils.ndgrid(x+25., np.r_[0.])
times = np.arange(10)*1e-3 + 1e-3
rx = SIP.Rx.Dipole(M, N, times)
src = SIP.Src.Dipole([rx], Aloc, Bloc)
survey = SIP.Survey([src])
wires = Maps.Wires(('eta', mesh.nC), ('taui', mesh.nC))
problem = SIP.Problem2D_CC(
mesh,
rho=1./sigma,
etaMap=wires.eta,
tauiMap=wires.taui,
verbose = False
)
problem.Solver = Solver
problem.pair(survey)
mSynth = np.r_[eta, 1./tau]
problem.model = mSynth
survey.makeSyntheticData(mSynth)
# Now set up the problem to do some minimization
dmis = DataMisfit.l2_DataMisfit(survey)
reg = Regularization.Tikhonov(mesh)
opt = Optimization.InexactGaussNewton(
maxIterLS=20, maxIter=10, tolF=1e-6,
tolX=1e-6, tolG=1e-6, maxIterCG=6
)
invProb = InvProblem.BaseInvProblem(dmis, reg, opt, beta=1e4)
inv = Inversion.BaseInversion(invProb)
self.inv = inv
self.reg = reg
self.p = problem
self.mesh = mesh
self.m0 = mSynth
self.survey = survey
self.dmis = dmis
def test_misfit(self):
passed = Tests.checkDerivative(
lambda m: [
self.survey.dpred(m),
lambda mx: self.p.Jvec(self.m0, mx)
],
self.m0,
plotIt=False,
num=3)
self.assertTrue(passed)
def test_adjoint(self):
# Adjoint Test
# u = np.random.rand(self.mesh.nC*self.survey.nSrc)
v = np.random.rand(self.mesh.nC*2)
w = np.random.rand(self.survey.dobs.shape[0])
wtJv = w.dot(self.p.Jvec(self.m0, v))
vtJtw = v.dot(self.p.Jtvec(self.m0, w))
passed = np.abs(wtJv - vtJtw) < 1e-10
print('Adjoint Test', np.abs(wtJv - vtJtw), passed)
self.assertTrue(passed)
def test_dataObj(self):
passed = Tests.checkDerivative(
lambda m: [self.dmis(m), self.dmis.deriv(m)],
self.m0,
plotIt=False,
num=3
)
self.assertTrue(passed)
class IPProblemTestsN(unittest.TestCase):
def setUp(self):
cs = 25.
hx = [(cs, 0, -1.3), (cs, 21), (cs, 0, 1.3)]
hz = [(cs, 0, -1.3), (cs, 20)]
mesh = Mesh.TensorMesh([hx, hz], x0="CN")
blkind0 = Utils.ModelBuilder.getIndicesSphere(
np.r_[-100., -200.], 75., mesh.gridCC
)
blkind1 = Utils.ModelBuilder.getIndicesSphere(
np.r_[100., -200.], 75., mesh.gridCC
)
sigma = np.ones(mesh.nC) * 1e-2
eta = np.zeros(mesh.nC)
tau = np.ones_like(sigma) * 1.
eta[blkind0] = 0.1
eta[blkind1] = 0.1
tau[blkind0] = 0.1
tau[blkind1] = 0.1
x = mesh.vectorCCx[(mesh.vectorCCx > -155.) & (mesh.vectorCCx < 155.)]
Aloc = np.r_[-200., 0.]
Bloc = np.r_[200., 0.]
M = Utils.ndgrid(x-25., np.r_[0.])
N = Utils.ndgrid(x+25., np.r_[0.])
times = np.arange(10)*1e-3 + 1e-3
rx = SIP.Rx.Dipole(M, N, times)
src = SIP.Src.Dipole([rx], Aloc, Bloc)
survey = SIP.Survey([src])
wires = Maps.Wires(('eta', mesh.nC), ('taui', mesh.nC))
problem = SIP.Problem2D_N(
mesh,
sigma=sigma,
etaMap=wires.eta,
tauiMap=wires.taui,
verbose = False
)
problem.Solver = Solver
problem.pair(survey)
mSynth = np.r_[eta, 1./tau]
problem.model = mSynth
survey.makeSyntheticData(mSynth)
# Now set up the problem to do some minimization
dmis = DataMisfit.l2_DataMisfit(survey)
reg = Regularization.Tikhonov(mesh)
opt = Optimization.InexactGaussNewton(
maxIterLS=20, maxIter=10, tolF=1e-6,
tolX=1e-6, tolG=1e-6, maxIterCG=6
)
invProb = InvProblem.BaseInvProblem(dmis, reg, opt, beta=1e4)
inv = Inversion.BaseInversion(invProb)
self.inv = inv
self.reg = reg
self.p = problem
self.mesh = mesh
self.m0 = mSynth
self.survey = survey
self.dmis = dmis
def test_misfit(self):
passed = Tests.checkDerivative(
lambda m: [
self.survey.dpred(m), lambda mx: self.p.Jvec(self.m0, mx)
],
self.m0,
plotIt=False,
num=3
)
self.assertTrue(passed)
def test_adjoint(self):
# Adjoint Test
v = np.random.rand(self.mesh.nC*2)
w = np.random.rand(self.survey.dobs.shape[0])
wtJv = w.dot(self.p.Jvec(self.m0, v))
vtJtw = v.dot(self.p.Jtvec(self.m0, w))
passed = np.abs(wtJv - vtJtw) < 1e-8
print('Adjoint Test', np.abs(wtJv - vtJtw), passed)
self.assertTrue(passed)
def test_dataObj(self):
passed = Tests.checkDerivative(
lambda m: [self.dmis(m), self.dmis.deriv(m)],
self.m0,
plotIt=False,
num=2
)
self.assertTrue(passed)
class IPProblemTestsN_air(unittest.TestCase):
def setUp(self):
cs = 25.
hx = [(cs, 0, -1.3), (cs, 21), (cs, 0, 1.3)]
hz = [(cs, 0, -1.3), (cs, 20)]
mesh = Mesh.TensorMesh([hx, hz], x0="CN")
blkind0 = Utils.ModelBuilder.getIndicesSphere(
np.r_[-100., -200.], 75., mesh.gridCC
)
blkind1 = Utils.ModelBuilder.getIndicesSphere(
np.r_[100., -200.], 75., mesh.gridCC
)
sigma = np.ones(mesh.nC) * 1e-2
eta = np.zeros(mesh.nC)
tau = np.ones_like(sigma) * 1.
c = np.ones_like(sigma)
eta[blkind0] = 0.1
eta[blkind1] = 0.1
tau[blkind0] = 0.1
tau[blkind1] = 0.1
x = mesh.vectorCCx[(mesh.vectorCCx > -155.) & (mesh.vectorCCx < 155.)]
Aloc = np.r_[-200., -50]
Bloc = np.r_[200., -50]
M = Utils.ndgrid(x-25., np.r_[0.])
N = Utils.ndgrid(x+25., np.r_[0.])
airind = mesh.gridCC[:, 1] > -40
actmapeta = Maps.InjectActiveCells(mesh, ~airind, 0.)
actmaptau = Maps.InjectActiveCells(mesh, ~airind, 1.)
actmapc = Maps.InjectActiveCells(mesh, ~airind, 1.)
times = np.arange(10)*1e-3 + 1e-3
rx = SIP.Rx.Dipole(M, N, times)
src = SIP.Src.Dipole([rx], Aloc, Bloc)
survey = SIP.Survey([src])
wires = Maps.Wires(('eta', actmapeta.nP), ('taui', actmaptau.nP), ('c', actmapc.nP))
problem = SIP.Problem2D_N(
mesh,
sigma=sigma,
etaMap=actmapeta*wires.eta,
tauiMap=actmaptau*wires.taui,
cMap=actmapc*wires.c,
actinds = ~airind
)
problem.Solver = Solver
problem.pair(survey)
mSynth = np.r_[eta[~airind], 1./tau[~airind], c[~airind]]
survey.makeSyntheticData(mSynth)
# Now set up the problem to do some minimization
dmis = DataMisfit.l2_DataMisfit(survey)
reg_eta = Regularization.Simple(mesh, mapping=wires.eta, indActive=~airind)
reg_taui = Regularization.Simple(mesh, mapping=wires.taui, indActive=~airind)
reg_c = Regularization.Simple(mesh, mapping=wires.c, indActive=~airind)
reg = reg_eta + reg_taui + reg_c
opt = Optimization.InexactGaussNewton(
maxIterLS=20, maxIter=10, tolF=1e-6,
tolX=1e-6, tolG=1e-6, maxIterCG=6
)
invProb = InvProblem.BaseInvProblem(dmis, reg, opt, beta=1e4)
inv = Inversion.BaseInversion(invProb)
self.inv = inv
self.reg = reg
self.p = problem
self.mesh = mesh
self.m0 = mSynth
self.survey = survey
self.dmis = dmis
def test_misfit(self):
passed = Tests.checkDerivative(
lambda m: [
self.survey.dpred(m),
lambda mx: self.p.Jvec(self.m0, mx)
],
self.m0,
plotIt=False,
num=3
)
self.assertTrue(passed)
def test_adjoint(self):
# Adjoint Test
v = np.random.rand(self.reg.mapping.nP)
w = np.random.rand(self.survey.dobs.shape[0])
wtJv = w.dot(self.p.Jvec(self.m0, v))
vtJtw = v.dot(self.p.Jtvec(self.m0, w))
passed = np.abs(wtJv - vtJtw) < 1e-8
print('Adjoint Test', np.abs(wtJv - vtJtw), passed)
self.assertTrue(passed)
def test_dataObj(self):
passed = Tests.checkDerivative(
lambda m: [self.dmis(m), self.dmis.deriv(m)],
self.m0,
plotIt=False,
num=3
)
self.assertTrue(passed)
if __name__ == '__main__':
unittest.main()
| 31.569182 | 92 | 0.537902 | 1,264 | 10,039 | 4.224684 | 0.135285 | 0.007865 | 0.006742 | 0.008427 | 0.871536 | 0.82809 | 0.82397 | 0.82397 | 0.814607 | 0.814607 | 0 | 0.047093 | 0.32314 | 10,039 | 317 | 93 | 31.66877 | 0.738779 | 0.022811 | 0 | 0.787313 | 0 | 0 | 0.007345 | 0 | 0 | 0 | 0 | 0 | 0.033582 | 1 | 0.044776 | false | 0.078358 | 0.029851 | 0 | 0.085821 | 0.014925 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 8 |
0a6bd975e3bcc96d64fc19b353abe107b20d04ec | 218 | py | Python | ross/stochastic/__init__.py | hssaabbl/ross | 5e548d24c8522c8a9a294479c580c21b4eb3bb65 | [
"MIT"
] | 69 | 2018-12-26T19:21:26.000Z | 2022-02-10T08:48:03.000Z | ross/stochastic/__init__.py | hssaabbl/ross | 5e548d24c8522c8a9a294479c580c21b4eb3bb65 | [
"MIT"
] | 639 | 2018-12-18T16:44:11.000Z | 2022-03-27T16:46:41.000Z | ross/stochastic/__init__.py | hssaabbl/ross | 5e548d24c8522c8a9a294479c580c21b4eb3bb65 | [
"MIT"
] | 136 | 2019-01-08T12:37:32.000Z | 2022-03-30T07:14:35.000Z | from .st_bearing_seal_element import *
from .st_disk_element import *
from .st_materials import *
from .st_point_mass import *
from .st_results import *
from .st_rotor_assembly import *
from .st_shaft_element import *
| 27.25 | 38 | 0.807339 | 34 | 218 | 4.794118 | 0.411765 | 0.257669 | 0.441718 | 0.233129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12844 | 218 | 7 | 39 | 31.142857 | 0.857895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 7 |
6a8a6f488d308a89c3b69421ae21e90febfb5212 | 1,853 | py | Python | mushroom_rl/algorithms/value/dqn/qt_opt.py | TheCamusean/mushroom-rl | 48585f883e546ea57224b8d446ecb9b8ba90cf73 | [
"MIT"
] | null | null | null | mushroom_rl/algorithms/value/dqn/qt_opt.py | TheCamusean/mushroom-rl | 48585f883e546ea57224b8d446ecb9b8ba90cf73 | [
"MIT"
] | null | null | null | mushroom_rl/algorithms/value/dqn/qt_opt.py | TheCamusean/mushroom-rl | 48585f883e546ea57224b8d446ecb9b8ba90cf73 | [
"MIT"
] | null | null | null | import numpy as np
import torch
from mushroom_rl.algorithms.value.dqn import AbstractDQN
class QT_OPT(AbstractDQN):
"""
QT-OPT algorithm.
"QT-Opt: Scalable Deep Reinforcement Learning for Vision-Based Robotic Manipulation".
Kalashnikov D. et al.. 2018.
"""
def _next_q(self, next_state, absorbing):
q = self._compute_best_Q_and_action(next_state)
q_max = np.max(q, axis=1)
if np.any(absorbing):
q_max *= 1 - absorbing.reshape(-1, 1)
return q_max
def _compute_best_Q_and_action(self, state):
n_batch = 100
s = state
a = np.random.rand(n_batch, *self.approximator.output_shape)
s_ext = s[:, None, :].repeat(a.shape[0], 1)
a_ext = a[None, :].repeat(s.shape[0], 0)
s_a = np.concatenate((s_ext,a_ext),-1)
## Compute the Q function for the batch SxA
return self.target_approximator.predict(s_ext, a_ext, **self._predict_params)
class SoftQT_OPT(AbstractDQN):
"""
QT-OPT algorithm.
"QT-Opt: Scalable Deep Reinforcement Learning for Vision-Based Robotic Manipulation".
Kalashnikov D. et al.. 2018.
"""
def _next_q(self, next_state, absorbing):
q = self._compute_best_Q_and_action(next_state)
q_max = np.log(np.sum(np.exp(q),1))
if np.any(absorbing):
q_max *= 1 - absorbing.reshape(-1, 1)
return q_max
def _compute_best_Q_and_action(self, state):
n_batch = 100
s = state
a = np.random.rand(n_batch, *self.approximator.output_shape)
s_ext = s[:, None, :].repeat(a.shape[0], 1)
a_ext = a[None, :].repeat(s.shape[0], 0)
s_a = np.concatenate((s_ext,a_ext),-1)
## Compute the Q function for the batch SxA
return self.target_approximator.predict(s_ext, a_ext, **self._predict_params)
| 31.948276 | 89 | 0.632488 | 277 | 1,853 | 4.00361 | 0.259928 | 0.021641 | 0.043282 | 0.054103 | 0.896303 | 0.896303 | 0.896303 | 0.896303 | 0.896303 | 0.896303 | 0 | 0.02289 | 0.245548 | 1,853 | 57 | 90 | 32.508772 | 0.770386 | 0.187804 | 0 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.121212 | false | 0 | 0.090909 | 0 | 0.393939 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6a909f9831775e332172ef8302a2287f2448d3ca | 13,572 | py | Python | ynab/api/payee_locations_api.py | adamwolf/ynab-python | a4ef77dd9680f16fcb6e0983771c47dcfb28239c | [
"Apache-2.0"
] | 18 | 2018-04-11T15:01:26.000Z | 2018-09-06T17:54:14.000Z | ynab/api/payee_locations_api.py | adamwolf/ynab-python | a4ef77dd9680f16fcb6e0983771c47dcfb28239c | [
"Apache-2.0"
] | 1 | 2018-07-05T20:02:56.000Z | 2018-08-10T19:55:46.000Z | ynab/api/payee_locations_api.py | adamwolf/ynab-python | a4ef77dd9680f16fcb6e0983771c47dcfb28239c | [
"Apache-2.0"
] | 5 | 2018-06-20T05:30:54.000Z | 2019-01-09T14:47:15.000Z | # coding: utf-8
"""
YNAB API Endpoints
Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.youneedabudget.com # noqa: E501
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import re # noqa: F401
# python 2 and python 3 compatibility library
import six
from ynab.api_client import ApiClient
class PayeeLocationsApi(object):
"""NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
Ref: https://github.com/swagger-api/swagger-codegen
"""
def __init__(self, api_client=None):
if api_client is None:
api_client = ApiClient()
self.api_client = api_client
def get_payee_location_by_id(self, budget_id, payee_location_id, **kwargs): # noqa: E501
"""Single payee location # noqa: E501
Returns a single payee location # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_payee_location_by_id(budget_id, payee_location_id, async=True)
>>> result = thread.get()
:param async bool
:param str budget_id: The ID of the Budget. (required)
:param str payee_location_id: ID of payee location (required)
:return: PayeeLocationResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.get_payee_location_by_id_with_http_info(budget_id, payee_location_id, **kwargs) # noqa: E501
else:
(data) = self.get_payee_location_by_id_with_http_info(budget_id, payee_location_id, **kwargs) # noqa: E501
return data
def get_payee_location_by_id_with_http_info(self, budget_id, payee_location_id, **kwargs): # noqa: E501
"""Single payee location # noqa: E501
Returns a single payee location # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_payee_location_by_id_with_http_info(budget_id, payee_location_id, async=True)
>>> result = thread.get()
:param async bool
:param str budget_id: The ID of the Budget. (required)
:param str payee_location_id: ID of payee location (required)
:return: PayeeLocationResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['budget_id', 'payee_location_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_payee_location_by_id" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'budget_id' is set
if ('budget_id' not in params or
params['budget_id'] is None):
raise ValueError("Missing the required parameter `budget_id` when calling `get_payee_location_by_id`") # noqa: E501
# verify the required parameter 'payee_location_id' is set
if ('payee_location_id' not in params or
params['payee_location_id'] is None):
raise ValueError("Missing the required parameter `payee_location_id` when calling `get_payee_location_by_id`") # noqa: E501
collection_formats = {}
path_params = {}
if 'budget_id' in params:
path_params['budget_id'] = params['budget_id'] # noqa: E501
if 'payee_location_id' in params:
path_params['payee_location_id'] = params['payee_location_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['bearer'] # noqa: E501
return self.api_client.call_api(
'/budgets/{budget_id}/payee_locations/{payee_location_id}', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PayeeLocationResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_payee_locations(self, budget_id, **kwargs): # noqa: E501
"""List payee locations # noqa: E501
Returns all payee locations # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_payee_locations(budget_id, async=True)
>>> result = thread.get()
:param async bool
:param str budget_id: The ID of the Budget. (required)
:return: PayeeLocationsResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.get_payee_locations_with_http_info(budget_id, **kwargs) # noqa: E501
else:
(data) = self.get_payee_locations_with_http_info(budget_id, **kwargs) # noqa: E501
return data
def get_payee_locations_with_http_info(self, budget_id, **kwargs): # noqa: E501
"""List payee locations # noqa: E501
Returns all payee locations # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_payee_locations_with_http_info(budget_id, async=True)
>>> result = thread.get()
:param async bool
:param str budget_id: The ID of the Budget. (required)
:return: PayeeLocationsResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['budget_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_payee_locations" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'budget_id' is set
if ('budget_id' not in params or
params['budget_id'] is None):
raise ValueError("Missing the required parameter `budget_id` when calling `get_payee_locations`") # noqa: E501
collection_formats = {}
path_params = {}
if 'budget_id' in params:
path_params['budget_id'] = params['budget_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['bearer'] # noqa: E501
return self.api_client.call_api(
'/budgets/{budget_id}/payee_locations', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PayeeLocationsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
def get_payee_locations_by_payee(self, budget_id, payee_id, **kwargs): # noqa: E501
"""List locations for a payee # noqa: E501
Returns all payee locations for the specified payee # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_payee_locations_by_payee(budget_id, payee_id, async=True)
>>> result = thread.get()
:param async bool
:param str budget_id: The ID of the Budget. (required)
:param str payee_id: ID of payee (required)
:return: PayeeLocationsResponse
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.get_payee_locations_by_payee_with_http_info(budget_id, payee_id, **kwargs) # noqa: E501
else:
(data) = self.get_payee_locations_by_payee_with_http_info(budget_id, payee_id, **kwargs) # noqa: E501
return data
def get_payee_locations_by_payee_with_http_info(self, budget_id, payee_id, **kwargs): # noqa: E501
"""List locations for a payee # noqa: E501
Returns all payee locations for the specified payee # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_payee_locations_by_payee_with_http_info(budget_id, payee_id, async=True)
>>> result = thread.get()
:param async bool
:param str budget_id: The ID of the Budget. (required)
:param str payee_id: ID of payee (required)
:return: PayeeLocationsResponse
If the method is called asynchronously,
returns the request thread.
"""
all_params = ['budget_id', 'payee_id'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')
params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_payee_locations_by_payee" % key
)
params[key] = val
del params['kwargs']
# verify the required parameter 'budget_id' is set
if ('budget_id' not in params or
params['budget_id'] is None):
raise ValueError("Missing the required parameter `budget_id` when calling `get_payee_locations_by_payee`") # noqa: E501
# verify the required parameter 'payee_id' is set
if ('payee_id' not in params or
params['payee_id'] is None):
raise ValueError("Missing the required parameter `payee_id` when calling `get_payee_locations_by_payee`") # noqa: E501
collection_formats = {}
path_params = {}
if 'budget_id' in params:
path_params['budget_id'] = params['budget_id'] # noqa: E501
if 'payee_id' in params:
path_params['payee_id'] = params['payee_id'] # noqa: E501
query_params = []
header_params = {}
form_params = []
local_var_files = {}
body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501
# Authentication setting
auth_settings = ['bearer'] # noqa: E501
return self.api_client.call_api(
'/budgets/{budget_id}/payees/{payee_id}/payee_locations', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='PayeeLocationsResponse', # noqa: E501
auth_settings=auth_settings,
async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
| 40.392857 | 294 | 0.625995 | 1,631 | 13,572 | 4.942367 | 0.106683 | 0.050614 | 0.031634 | 0.023818 | 0.911549 | 0.903362 | 0.889716 | 0.866146 | 0.859323 | 0.855725 | 0 | 0.015523 | 0.288019 | 13,572 | 335 | 295 | 40.513433 | 0.81869 | 0.060861 | 0 | 0.731429 | 0 | 0 | 0.209811 | 0.072122 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.022857 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 |
6aa3ea885b1f84933bd9b81e4bc6f7bbe1428f76 | 19,036 | py | Python | tests/test_web_websocket_functional.py | CoderLeague/research_aiohttp | 01113d3edb09388e25fd4a0af73fb7cc01e4aa74 | [
"Apache-2.0"
] | 1 | 2019-05-09T08:59:46.000Z | 2019-05-09T08:59:46.000Z | tests/test_web_websocket_functional.py | snjypl/aiohttp | 1473f2722b2a804269d4fdbff4880f9ff9da0c3f | [
"Apache-2.0"
] | null | null | null | tests/test_web_websocket_functional.py | snjypl/aiohttp | 1473f2722b2a804269d4fdbff4880f9ff9da0c3f | [
"Apache-2.0"
] | null | null | null | """HTTP websocket server functional tests"""
import asyncio
import pytest
import aiohttp
from aiohttp import web
from aiohttp.http import WSMsgType
@pytest.fixture
def ceil(mocker):
def ceil(val):
return val
mocker.patch('aiohttp.helpers.ceil').side_effect = ceil
async def test_websocket_can_prepare(loop, test_client):
async def handler(request):
ws = web.WebSocketResponse()
if not ws.can_prepare(request):
raise web.HTTPUpgradeRequired()
return web.Response()
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
resp = await client.get('/')
assert resp.status == 426
async def test_websocket_json(loop, test_client):
async def handler(request):
ws = web.WebSocketResponse()
if not ws.can_prepare(request):
return web.HTTPUpgradeRequired()
await ws.prepare(request)
msg = await ws.receive()
msg_json = msg.json()
answer = msg_json['test']
await ws.send_str(answer)
await ws.close()
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
expected_value = 'value'
payload = '{"test": "%s"}' % expected_value
await ws.send_str(payload)
resp = await ws.receive()
assert resp.data == expected_value
async def test_websocket_json_invalid_message(loop, test_client):
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
try:
await ws.receive_json()
except ValueError:
await ws.send_str('ValueError was raised')
else:
raise Exception('No Exception')
finally:
await ws.close()
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
payload = 'NOT A VALID JSON STRING'
await ws.send_str(payload)
data = await ws.receive_str()
assert 'ValueError was raised' in data
async def test_websocket_send_json(loop, test_client):
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
data = await ws.receive_json()
await ws.send_json(data)
await ws.close()
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
expected_value = 'value'
await ws.send_json({'test': expected_value})
data = await ws.receive_json()
assert data['test'] == expected_value
async def test_websocket_receive_json(loop, test_client):
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
data = await ws.receive_json()
answer = data['test']
await ws.send_str(answer)
await ws.close()
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
expected_value = 'value'
payload = '{"test": "%s"}' % expected_value
await ws.send_str(payload)
resp = await ws.receive()
assert resp.data == expected_value
async def test_send_recv_text(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
msg = await ws.receive_str()
await ws.send_str(msg+'/answer')
await ws.close()
closed.set_result(1)
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.send_str('ask')
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.TEXT
assert 'ask/answer' == msg.data
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.CLOSE
assert msg.data == 1000
assert msg.extra == ''
assert ws.closed
assert ws.close_code == 1000
await closed
async def test_send_recv_bytes(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
msg = await ws.receive_bytes()
await ws.send_bytes(msg+b'/answer')
await ws.close()
closed.set_result(1)
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.send_bytes(b'ask')
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.BINARY
assert b'ask/answer' == msg.data
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.CLOSE
assert msg.data == 1000
assert msg.extra == ''
assert ws.closed
assert ws.close_code == 1000
await closed
async def test_send_recv_json(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
data = await ws.receive_json()
await ws.send_json({'response': data['request']})
await ws.close()
closed.set_result(1)
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.send_str('{"request": "test"}')
msg = await ws.receive()
data = msg.json()
assert msg.type == aiohttp.WSMsgType.TEXT
assert data['response'] == 'test'
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.CLOSE
assert msg.data == 1000
assert msg.extra == ''
await ws.close()
await closed
async def test_close_timeout(loop, test_client):
aborted = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse(timeout=0.1)
await ws.prepare(request)
assert 'request' == (await ws.receive_str())
await ws.send_str('reply')
begin = ws._loop.time()
assert (await ws.close())
elapsed = ws._loop.time() - begin
assert elapsed < 0.201, \
'close() should have returned before ' \
'at most 2x timeout.'
assert ws.close_code == 1006
assert isinstance(ws.exception(), asyncio.TimeoutError)
aborted.set_result(1)
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.send_str('request')
assert 'reply' == (await ws.receive_str())
# The server closes here. Then the client sends bogus messages with an
# internval shorter than server-side close timeout, to make the server
# hanging indefinitely.
await asyncio.sleep(0.08, loop=loop)
msg = await ws._reader.read()
assert msg.type == WSMsgType.CLOSE
await ws.send_str('hang')
# i am not sure what do we test here
# under uvloop this code raises RuntimeError
try:
await asyncio.sleep(0.08, loop=loop)
await ws.send_str('hang')
await asyncio.sleep(0.08, loop=loop)
await ws.send_str('hang')
await asyncio.sleep(0.08, loop=loop)
await ws.send_str('hang')
except RuntimeError:
pass
await asyncio.sleep(0.08, loop=loop)
assert (await aborted)
await ws.close()
async def test_concurrent_close(loop, test_client):
srv_ws = None
async def handler(request):
nonlocal srv_ws
ws = srv_ws = web.WebSocketResponse(
autoclose=False, protocols=('foo', 'bar'))
await ws.prepare(request)
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSING
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSING
await asyncio.sleep(0, loop=loop)
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSED
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoclose=False,
protocols=('eggs', 'bar'))
await srv_ws.close(code=1007)
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSE
await asyncio.sleep(0, loop=loop)
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSED
async def test_auto_pong_with_closing_by_peer(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
await ws.receive()
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSE
assert msg.data == 1000
assert msg.extra == 'exit message'
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoclose=False, autoping=False)
await ws.ping()
await ws.send_str('ask')
msg = await ws.receive()
assert msg.type == WSMsgType.PONG
await ws.close(code=1000, message='exit message')
await closed
async def test_ping(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
await ws.ping('data')
await ws.receive()
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoping=False)
msg = await ws.receive()
assert msg.type == WSMsgType.PING
assert msg.data == b'data'
await ws.pong()
await ws.close()
await closed
async def test_client_ping(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
await ws.receive()
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoping=False)
await ws.ping('data')
msg = await ws.receive()
assert msg.type == WSMsgType.PONG
assert msg.data == b'data'
await ws.pong()
await ws.close()
async def test_pong(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse(autoping=False)
await ws.prepare(request)
msg = await ws.receive()
assert msg.type == WSMsgType.PING
await ws.pong('data')
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSE
assert msg.data == 1000
assert msg.extra == 'exit message'
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoping=False)
await ws.ping('data')
msg = await ws.receive()
assert msg.type == WSMsgType.PONG
assert msg.data == b'data'
await ws.close(code=1000, message='exit message')
await closed
async def test_change_status(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
ws.set_status(200)
assert 200 == ws.status
await ws.prepare(request)
assert 101 == ws.status
await ws.close()
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoping=False)
await ws.close()
await closed
await ws.close()
async def test_handle_protocol(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse(protocols=('foo', 'bar'))
await ws.prepare(request)
await ws.close()
assert 'bar' == ws.ws_protocol
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', protocols=('eggs', 'bar'))
await ws.close()
await closed
async def test_server_close_handshake(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse(protocols=('foo', 'bar'))
await ws.prepare(request)
await ws.close()
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoclose=False,
protocols=('eggs', 'bar'))
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSE
await ws.close()
await closed
async def test_client_close_handshake(loop, test_client, ceil):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse(
autoclose=False, protocols=('foo', 'bar'))
await ws.prepare(request)
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSE
assert not ws.closed
await ws.close()
assert ws.closed
assert ws.close_code == 1007
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSED
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoclose=False,
protocols=('eggs', 'bar'))
await ws.close(code=1007)
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSED
await closed
async def test_server_close_handshake_server_eats_client_messages(
loop, test_client
):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse(protocols=('foo', 'bar'))
await ws.prepare(request)
await ws.close()
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoclose=False, autoping=False,
protocols=('eggs', 'bar'))
msg = await ws.receive()
assert msg.type == WSMsgType.CLOSE
await ws.send_str('text')
await ws.send_bytes(b'bytes')
await ws.ping()
await ws.close()
await closed
async def test_receive_timeout(loop, test_client):
raised = False
async def handler(request):
ws = web.WebSocketResponse(receive_timeout=0.1)
await ws.prepare(request)
try:
await ws.receive()
except asyncio.TimeoutError:
nonlocal raised
raised = True
await ws.close()
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.receive()
await ws.close()
assert raised
async def test_custom_receive_timeout(loop, test_client):
raised = False
async def handler(request):
ws = web.WebSocketResponse(receive_timeout=None)
await ws.prepare(request)
try:
await ws.receive(0.1)
except asyncio.TimeoutError:
nonlocal raised
raised = True
await ws.close()
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.receive()
await ws.close()
assert raised
async def test_heartbeat(loop, test_client, ceil):
async def handler(request):
ws = web.WebSocketResponse(heartbeat=0.05)
await ws.prepare(request)
await ws.receive()
await ws.close()
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoping=False)
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.ping
await ws.close()
async def test_heartbeat_no_pong(loop, test_client, ceil):
cancelled = False
async def handler(request):
nonlocal cancelled
ws = web.WebSocketResponse(heartbeat=0.05)
await ws.prepare(request)
try:
await ws.receive()
except asyncio.CancelledError:
cancelled = True
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/', autoping=False)
msg = await ws.receive()
assert msg.type == aiohttp.WSMsgType.ping
await ws.receive()
assert cancelled
async def test_server_ws_async_for(loop, test_server):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
async for msg in ws:
assert msg.type == aiohttp.WSMsgType.TEXT
s = msg.data
await ws.send_str(s + '/answer')
await ws.close()
closed.set_result(1)
return ws
app = web.Application()
app.router.add_route('GET', '/', handler)
server = await test_server(app)
async with aiohttp.ClientSession(loop=loop) as sm:
async with sm.ws_connect(server.make_url('/')) as resp:
items = ['q1', 'q2', 'q3']
for item in items:
await resp.send_str(item)
msg = await resp.receive()
assert msg.type == aiohttp.WSMsgType.TEXT
assert item + '/answer' == msg.data
await resp.close()
await closed
async def test_closed_async_for(loop, test_client):
closed = loop.create_future()
async def handler(request):
ws = web.WebSocketResponse()
await ws.prepare(request)
messages = []
async for msg in ws:
messages.append(msg)
if 'stop' == msg.data:
await ws.send_str('stopping')
await ws.close()
assert 1 == len(messages)
assert messages[0].type == WSMsgType.TEXT
assert messages[0].data == 'stop'
closed.set_result(None)
return ws
app = web.Application()
app.router.add_get('/', handler)
client = await test_client(app)
ws = await client.ws_connect('/')
await ws.send_str('stop')
msg = await ws.receive()
assert msg.type == WSMsgType.TEXT
assert msg.data == 'stopping'
await ws.close()
await closed
| 25.014455 | 75 | 0.617619 | 2,372 | 19,036 | 4.844013 | 0.07968 | 0.08651 | 0.059704 | 0.042907 | 0.820714 | 0.789817 | 0.769017 | 0.75248 | 0.717319 | 0.700087 | 0 | 0.007821 | 0.267913 | 19,036 | 760 | 76 | 25.047368 | 0.816662 | 0.014604 | 0 | 0.747681 | 0 | 0 | 0.033124 | 0 | 0 | 0 | 0 | 0 | 0.139147 | 1 | 0.003711 | false | 0.001855 | 0.009276 | 0.001855 | 0.06308 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ab230eb649516497237d22f07cecb21859f2dae | 31,836 | py | Python | tests/ignite/handlers/test_time_profilers.py | louis-she/ignite | d05a8939139e056e5c5daf842c81af0ab5b0caaf | [
"BSD-3-Clause"
] | 3 | 2021-12-15T17:08:20.000Z | 2022-01-06T14:53:09.000Z | tests/ignite/handlers/test_time_profilers.py | louis-she/ignite | d05a8939139e056e5c5daf842c81af0ab5b0caaf | [
"BSD-3-Clause"
] | null | null | null | tests/ignite/handlers/test_time_profilers.py | louis-she/ignite | d05a8939139e056e5c5daf842c81af0ab5b0caaf | [
"BSD-3-Clause"
] | null | null | null | import sys
import time
from unittest.mock import patch
import pytest
from pytest import approx
from ignite.engine import Engine, EventEnum, Events
from ignite.handlers.time_profilers import BasicTimeProfiler, HandlersTimeProfiler
if sys.platform.startswith("darwin"):
pytest.skip("Skip if on MacOS", allow_module_level=True)
def _do_nothing_update_fn(engine, batch):
pass
def get_prepared_engine_for_basic_profiler(true_event_handler_time):
dummy_trainer = Engine(_do_nothing_update_fn)
@dummy_trainer.on(Events.STARTED)
def delay_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.COMPLETED)
def delay_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_STARTED)
def delay_epoch_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_COMPLETED)
def delay_epoch_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.ITERATION_STARTED)
def delay_iter_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.ITERATION_COMPLETED)
def delay_iter_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.GET_BATCH_STARTED)
def delay_get_batch_started(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.GET_BATCH_COMPLETED)
def delay_get_batch_completed(engine):
time.sleep(true_event_handler_time)
return dummy_trainer
def get_prepared_engine_for_handlers_profiler(true_event_handler_time):
HANDLERS_SLEEP_COUNT = 11
PROCESSING_SLEEP_COUNT = 3
class CustomEvents(EventEnum):
CUSTOM_STARTED = "custom_started"
CUSTOM_COMPLETED = "custom_completed"
def dummy_train_step(engine, batch):
engine.fire_event(CustomEvents.CUSTOM_STARTED)
time.sleep(true_event_handler_time)
engine.fire_event(CustomEvents.CUSTOM_COMPLETED)
dummy_trainer = Engine(dummy_train_step)
dummy_trainer.register_events(*CustomEvents)
@dummy_trainer.on(Events.STARTED)
def delay_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.COMPLETED)
def delay_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_STARTED)
def delay_epoch_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_COMPLETED)
def delay_epoch_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.ITERATION_STARTED)
def delay_iter_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.ITERATION_COMPLETED)
def delay_iter_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.GET_BATCH_STARTED)
def delay_get_batch_started(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.GET_BATCH_COMPLETED)
def delay_get_batch_completed(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(CustomEvents.CUSTOM_STARTED)
def delay_custom_started(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(CustomEvents.CUSTOM_COMPLETED)
def delay_custom_completed(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_STARTED(once=1))
def do_something_once_on_1_epoch():
time.sleep(true_event_handler_time)
return dummy_trainer, HANDLERS_SLEEP_COUNT, PROCESSING_SLEEP_COUNT
def test_profilers_wrong_inputs():
profiler = BasicTimeProfiler()
with pytest.raises(TypeError, match=r"Argument engine should be ignite.engine.Engine"):
profiler.attach(None)
with pytest.raises(RuntimeError, match=r"Need pandas to write results as files"):
with patch.dict("sys.modules", {"pandas": None}):
profiler.write_results("")
profiler = HandlersTimeProfiler()
with pytest.raises(TypeError, match=r"Argument engine should be ignite.engine.Engine"):
profiler.attach(None)
with pytest.raises(RuntimeError, match=r"Need pandas to write results as files"):
with patch.dict("sys.modules", {"pandas": None}):
profiler.write_results("")
def test_dataflow_timer_basic_profiler():
true_dataflow_time_per_ele = 0.1
true_max_epochs = 1
true_num_iters = 2
def dummy_data_loader(data):
while True:
for d in data:
time.sleep(true_dataflow_time_per_ele)
yield d
dummy_data = range(true_num_iters)
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
dummy_trainer.run(dummy_data_loader(dummy_data), max_epochs=true_max_epochs, epoch_length=true_num_iters)
results = profiler.get_results()
dataflow_results = results["dataflow_stats"]
assert dataflow_results["min/index"][0] == approx(true_dataflow_time_per_ele, abs=1e-1)
assert dataflow_results["max/index"][0] == approx(true_dataflow_time_per_ele, abs=1e-1)
assert dataflow_results["mean"] == approx(true_dataflow_time_per_ele, abs=1e-1)
assert dataflow_results["std"] == approx(0.0, abs=1e-1)
assert dataflow_results["total"] == approx(true_num_iters * true_dataflow_time_per_ele, abs=1e-1)
def test_dataflow_timer_handlers_profiler():
true_dataflow_time_per_ele = 0.1
true_max_epochs = 1
true_num_iters = 2
def dummy_data_loader(data):
while True:
for d in data:
time.sleep(true_dataflow_time_per_ele)
yield d
dummy_data = range(true_num_iters)
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
dummy_trainer.run(dummy_data_loader(dummy_data), max_epochs=true_max_epochs, epoch_length=true_num_iters)
results = profiler.get_results()
dataflow_results = results[-1]
assert dataflow_results[0] == "Dataflow"
# event name
assert dataflow_results[1] == "None"
# total
assert dataflow_results[2] == approx(true_num_iters * true_dataflow_time_per_ele, abs=1e-1)
# min
assert dataflow_results[3][0] == approx(true_dataflow_time_per_ele, abs=1e-1)
# max
assert dataflow_results[4][0] == approx(true_dataflow_time_per_ele, abs=1e-1)
# mean
assert dataflow_results[5] == approx(true_dataflow_time_per_ele, abs=1e-1)
# stddev
assert dataflow_results[6] == approx(0.0, abs=1e-1)
def test_processing_timer_basic_profiler():
true_processing_time = 0.1
true_max_epochs = 2
true_num_iters = 2
def train_updater(engine, batch):
time.sleep(true_processing_time)
profiler = BasicTimeProfiler()
dummy_trainer = Engine(train_updater)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
processing_results = results["processing_stats"]
assert processing_results["min/index"][0] == approx(true_processing_time, abs=1e-1)
assert processing_results["max/index"][0] == approx(true_processing_time, abs=1e-1)
assert processing_results["mean"] == approx(true_processing_time, abs=1e-1)
assert processing_results["std"] == approx(0.0, abs=1e-1)
assert processing_results["total"] == approx(true_max_epochs * true_num_iters * true_processing_time, abs=1e-1)
def test_processing_timer_handlers_profiler():
true_processing_time = 0.1
true_max_epochs = 2
true_num_iters = 2
def train_updater(engine, batch):
time.sleep(true_processing_time)
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(train_updater)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
processing_results = results[-2]
assert processing_results[0] == "Processing"
# event name
assert processing_results[1] == "None"
# total
assert processing_results[2] == approx(true_max_epochs * true_num_iters * true_processing_time, abs=1e-1)
# min
assert processing_results[3][0] == approx(true_processing_time, abs=1e-1)
# max
assert processing_results[4][0] == approx(true_processing_time, abs=1e-1)
# mean
assert processing_results[5] == approx(true_processing_time, abs=1e-1)
# stddev
assert processing_results[6] == approx(0.0, abs=1e-1)
def test_event_handler_started_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.STARTED)
def delay_start(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["STARTED"]
assert event_results["total"] == approx(true_event_handler_time, abs=1e-1)
def test_event_handler_started_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.STARTED)
def delay_start(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_start" in event_results[0]
assert event_results[1] == "STARTED"
assert event_results[2] == approx(true_event_handler_time, abs=1e-1) # total
def test_event_handler_completed_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.COMPLETED)
def delay_complete(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["COMPLETED"]
assert event_results["total"] == approx(true_event_handler_time, abs=1e-1)
def test_event_handler_completed_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.COMPLETED)
def delay_complete(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_complete" in event_results[0]
assert event_results[1] == "COMPLETED"
assert event_results[2] == approx(true_event_handler_time, abs=1e-1) # total
def test_event_handler_epoch_started_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 1
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.EPOCH_STARTED)
def delay_epoch_start(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["EPOCH_STARTED"]
assert event_results["min/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["max/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["mean"] == approx(true_event_handler_time, abs=1e-1)
assert event_results["std"] == approx(0.0, abs=1e-1)
assert event_results["total"] == approx(true_max_epochs * true_event_handler_time, abs=1e-1)
def test_event_handler_epoch_started_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 1
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.EPOCH_STARTED)
def delay_epoch_start(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_epoch_start" in event_results[0]
assert event_results[1] == "EPOCH_STARTED"
assert event_results[2] == approx(true_max_epochs * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_event_handler_epoch_completed_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 1
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.EPOCH_COMPLETED)
def delay_epoch_complete(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["EPOCH_COMPLETED"]
assert event_results["min/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["max/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["mean"] == approx(true_event_handler_time, abs=1e-1)
assert event_results["std"] == approx(0.0, abs=1e-1)
assert event_results["total"] == approx(true_max_epochs * true_event_handler_time, abs=1e-1)
def test_event_handler_epoch_completed_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 2
true_num_iters = 1
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.EPOCH_COMPLETED)
def delay_epoch_complete(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_epoch_complete" in event_results[0]
assert event_results[1] == "EPOCH_COMPLETED"
assert event_results[2] == approx(true_max_epochs * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_event_handler_iteration_started_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.ITERATION_STARTED)
def delay_iter_start(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["ITERATION_STARTED"]
assert event_results["min/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["max/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["mean"] == approx(true_event_handler_time, abs=1e-1)
assert event_results["std"] == approx(0.0, abs=1e-1)
assert event_results["total"] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1)
def test_event_handler_iteration_started_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.ITERATION_STARTED)
def delay_iter_start(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_iter_start" in event_results[0]
assert event_results[1] == "ITERATION_STARTED"
assert event_results[2] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_event_handler_iteration_completed_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.ITERATION_COMPLETED)
def delay_iter_complete(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["ITERATION_COMPLETED"]
assert event_results["min/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["max/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["mean"] == approx(true_event_handler_time, abs=1e-1)
assert event_results["std"] == approx(0.0, abs=1e-1)
assert event_results["total"] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1)
def test_event_handler_iteration_completed_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.ITERATION_COMPLETED)
def delay_iter_complete(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_iter_complete" in event_results[0]
assert event_results[1] == "ITERATION_COMPLETED"
assert event_results[2] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_event_handler_get_batch_started_basic_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.GET_BATCH_STARTED)
def delay_get_batch_started(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["GET_BATCH_STARTED"]
assert event_results["min/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["max/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["mean"] == approx(true_event_handler_time, abs=1e-1)
assert event_results["std"] == approx(0.0, abs=1e-1)
assert event_results["total"] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1)
def test_event_handler_get_batch_started_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.GET_BATCH_STARTED)
def delay_get_batch_started(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_get_batch_started" in event_results[0]
assert event_results[1] == "GET_BATCH_STARTED"
assert event_results[2] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_event_handler_get_batch_completed():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.GET_BATCH_COMPLETED)
def delay_get_batch_completed(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]["GET_BATCH_COMPLETED"]
assert event_results["min/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["max/index"][0] == approx(true_event_handler_time, abs=1e-1)
assert event_results["mean"] == approx(true_event_handler_time, abs=1e-1)
assert event_results["std"] == approx(0.0, abs=1e-1)
assert event_results["total"] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1)
def test_event_handler_get_batch_completed_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.GET_BATCH_COMPLETED)
def delay_get_batch_completed(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "delay_get_batch_completed" in event_results[0]
assert event_results[1] == "GET_BATCH_COMPLETED"
assert event_results[2] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_neg_event_filter_threshold_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 1
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.EPOCH_STARTED(once=2))
def do_something_once_on_2_epoch():
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "do_something_once_on_2_epoch" in event_results[0]
assert event_results[1] == "EPOCH_STARTED"
assert event_results[2] == "not triggered"
def test_pos_event_filter_threshold_handlers_profiler():
true_event_handler_time = HandlersTimeProfiler.EVENT_FILTER_THESHOLD_TIME
true_max_epochs = 2
true_num_iters = 1
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.EPOCH_STARTED(once=2))
def do_something_once_on_2_epoch():
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results[0]
assert "do_something_once_on_2_epoch" in event_results[0]
assert event_results[1] == "EPOCH_STARTED"
assert event_results[2] == approx(
(true_max_epochs * true_num_iters * true_event_handler_time) / 2, abs=1e-1
) # total
def test_custom_event_with_arg_handlers_profiler():
true_event_handler_time = 0.1
true_max_epochs = 1
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
dummy_trainer.register_events("custom_event")
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.ITERATION_COMPLETED(every=1))
def trigger_custom_event():
dummy_trainer.fire_event("custom_event")
args = [122, 324]
@dummy_trainer.on("custom_event", args)
def on_custom_event(args):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = None
for row in results:
if row[1] == "custom_event":
event_results = row
break
assert event_results is not None
assert "on_custom_event" in event_results[0]
assert event_results[2] == approx(true_max_epochs * true_num_iters * true_event_handler_time, abs=1e-1) # total
assert event_results[3][0] == approx(true_event_handler_time, abs=1e-1) # min
assert event_results[4][0] == approx(true_event_handler_time, abs=1e-1) # max
assert event_results[5] == approx(true_event_handler_time, abs=1e-1) # mean
assert event_results[6] == approx(0.0, abs=1e-1) # stddev
def test_event_handler_total_time_basic_profiler():
true_event_handler_time = 0.125
true_max_epochs = 1
true_num_iters = 1
profiler = BasicTimeProfiler()
dummy_trainer = Engine(_do_nothing_update_fn)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.STARTED)
def delay_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.COMPLETED)
def delay_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_STARTED)
def delay_epoch_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.EPOCH_COMPLETED)
def delay_epoch_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.ITERATION_STARTED)
def delay_iter_start(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.ITERATION_COMPLETED)
def delay_iter_complete(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.GET_BATCH_STARTED)
def delay_get_batch_started(engine):
time.sleep(true_event_handler_time)
@dummy_trainer.on(Events.GET_BATCH_COMPLETED)
def delay_get_batch_completed(engine):
time.sleep(true_event_handler_time)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
event_results = results["event_handlers_stats"]
assert event_results["total_time"].item() == approx(true_event_handler_time * 8, abs=1e-1)
def test_event_handler_total_time_handlers_profiler():
true_event_handler_time = 0.125
true_max_epochs = 1
true_num_iters = 1
profiler = HandlersTimeProfiler()
dummy_trainer, handlers_sleep_count, processing_sleep_count = get_prepared_engine_for_handlers_profiler(
true_event_handler_time
)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
results = profiler.get_results()
total_handler_stats = results[-3] # total result row
total_processing_stats = results[-2] # processing result row
assert total_handler_stats[2] == approx(true_event_handler_time * handlers_sleep_count, abs=1e-1) # total time
assert total_processing_stats[2] == approx(true_event_handler_time * processing_sleep_count, abs=1e-1) # total time
def test_write_results_basic_profiler(dirname):
true_event_handler_time = 0.125
true_max_epochs = 3
true_num_iters = 2
profiler = BasicTimeProfiler()
dummy_trainer = get_prepared_engine_for_basic_profiler(true_event_handler_time)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
fp = dirname / "test_log.csv"
profiler.write_results(fp)
assert fp.is_file()
file_length = 0
with open(fp) as f:
for _ in f:
file_length += 1
assert file_length == (true_max_epochs * true_num_iters) + 1
def test_write_results_handlers_profiler(dirname):
true_event_handler_time = 0.125
true_max_epochs = 3
true_num_iters = 2
profiler = HandlersTimeProfiler()
dummy_trainer, _, _ = get_prepared_engine_for_handlers_profiler(true_event_handler_time)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
fp = dirname / "test_log.csv"
profiler.write_results(fp)
assert fp.is_file()
file_length = 0
with open(fp) as f:
for _ in f:
file_length += 1
assert file_length == (true_max_epochs * true_num_iters) + 1
def test_print_results_basic_profiler(capsys):
true_max_epochs = 1
true_num_iters = 5
profiler = BasicTimeProfiler()
dummy_trainer = get_prepared_engine_for_basic_profiler(true_event_handler_time=0.0125)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
BasicTimeProfiler.print_results(profiler.get_results())
captured = capsys.readouterr()
out = captured.out
assert "BasicTimeProfiler._" not in out
assert "nan" not in out
def test_print_results_handlers_profiler_handlers_profiler(capsys):
true_max_epochs = 1
true_num_iters = 5
profiler = HandlersTimeProfiler()
dummy_trainer, _, _ = get_prepared_engine_for_handlers_profiler(true_event_handler_time=0.0125)
profiler.attach(dummy_trainer)
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
HandlersTimeProfiler.print_results(profiler.get_results())
captured = capsys.readouterr()
out = captured.out
assert "HandlersTimeProfiler." not in out
assert "Timer." not in out
def test_get_intermediate_results_during_run_basic_profiler(capsys):
true_event_handler_time = 0.0645
true_max_epochs = 2
true_num_iters = 5
profiler = BasicTimeProfiler()
dummy_trainer = get_prepared_engine_for_basic_profiler(true_event_handler_time)
profiler.attach(dummy_trainer)
@dummy_trainer.on(Events.ITERATION_COMPLETED(every=3))
def log_results(_):
results = profiler.get_results()
profiler.print_results(results)
captured = capsys.readouterr()
out = captured.out
assert "BasicTimeProfiler._" not in out
assert "nan" not in out
assert " min/index: (0.0, " not in out, out
dummy_trainer.run(range(true_num_iters), max_epochs=true_max_epochs)
| 35.851351 | 120 | 0.742147 | 4,465 | 31,836 | 4.896976 | 0.036282 | 0.086165 | 0.101715 | 0.127144 | 0.915573 | 0.900252 | 0.893208 | 0.879122 | 0.872262 | 0.849394 | 0 | 0.019082 | 0.162112 | 31,836 | 887 | 121 | 35.89177 | 0.8006 | 0.010491 | 0 | 0.764977 | 0 | 0 | 0.044392 | 0.003975 | 0 | 0 | 0 | 0 | 0.201229 | 1 | 0.133641 | false | 0.001536 | 0.010753 | 0 | 0.152074 | 0.00768 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
6ac99ddf76549fee2a15af912aae40ada357bdf1 | 83,440 | py | Python | release/stubs.min/System/__init___parts/Type.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/Type.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | release/stubs.min/System/__init___parts/Type.py | tranconbv/ironpython-stubs | a601759e6c6819beff8e6b639d18a24b7e351851 | [
"MIT"
] | null | null | null | class Type(MemberInfo):
""" Represents type declarations: class types,interface types,array types,value types,enumeration types,type parameters,generic type definitions,and open or closed constructed generic types. """
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return Type()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
def Equals(self,o):
"""
Equals(self: Type,o: object) -> bool
Determines if the underlying system type of the current System.Type is the same as the underlying system type of the specified System.Object.
o: The object whose underlying system type is to be compared with the underlying system type of the current System.Type.
Returns: true if the underlying system type of o is the same as the underlying system type of the current System.Type; otherwise,false. This method also returns false if the object
specified by the o parameter is not a Type.
Equals(self: Type,o: Type) -> bool
Determines if the underlying system type of the current System.Type is the same as the underlying system type of the specified System.Type.
o: The object whose underlying system type is to be compared with the underlying system type of the current System.Type.
Returns: true if the underlying system type of o is the same as the underlying system type of the current System.Type; otherwise,false.
"""
pass
def FilterAttribute(self,*args):
"""
Represents a delegate that is used to filter a list of members represented in an array of System.Reflection.MemberInfo objects.
MemberFilter(object: object,method: IntPtr)
"""
pass
def FilterName(self,*args):
"""
Represents a delegate that is used to filter a list of members represented in an array of System.Reflection.MemberInfo objects.
MemberFilter(object: object,method: IntPtr)
"""
pass
def FilterNameIgnoreCase(self,*args):
"""
Represents a delegate that is used to filter a list of members represented in an array of System.Reflection.MemberInfo objects.
MemberFilter(object: object,method: IntPtr)
"""
pass
def FindInterfaces(self,filter,filterCriteria):
"""
FindInterfaces(self: Type,filter: TypeFilter,filterCriteria: object) -> Array[Type]
Returns an array of System.Type objects representing a filtered list of interfaces implemented or inherited by the current System.Type.
filter: The delegate that compares the interfaces against filterCriteria.
filterCriteria: The search criteria that determines whether an interface should be included in the returned array.
Returns: An array of System.Type objects representing a filtered list of the interfaces implemented or inherited by the current System.Type,or an empty array of type System.Type if
no interfaces matching the filter are implemented or inherited by the current System.Type.
"""
pass
def FindMembers(self,memberType,bindingAttr,filter,filterCriteria):
"""
FindMembers(self: Type,memberType: MemberTypes,bindingAttr: BindingFlags,filter: MemberFilter,filterCriteria: object) -> Array[MemberInfo]
Returns a filtered array of System.Reflection.MemberInfo objects of the specified member type.
memberType: An object that indicates the type of member to search for.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
filter: The delegate that does the comparisons,returning true if the member currently being inspected matches the filterCriteria and false otherwise. You can use the
FilterAttribute,FilterName,and FilterNameIgnoreCase delegates supplied by this class. The first uses the fields of FieldAttributes,MethodAttributes,and
MethodImplAttributes as search criteria,and the other two delegates use String objects as the search criteria.
filterCriteria: The search criteria that determines whether a member is returned in the array of MemberInfo objects.The fields of FieldAttributes,MethodAttributes,and
MethodImplAttributes can be used in conjunction with the FilterAttribute delegate supplied by this class.
Returns: A filtered array of System.Reflection.MemberInfo objects of the specified member type.-or- An empty array of type System.Reflection.MemberInfo,if the current System.Type
does not have members of type memberType that match the filter criteria.
"""
pass
def GetArrayRank(self):
"""
GetArrayRank(self: Type) -> int
Gets the number of dimensions in an System.Array.
Returns: An System.Int32 containing the number of dimensions in the current Type.
"""
pass
def GetAttributeFlagsImpl(self,*args):
"""
GetAttributeFlagsImpl(self: Type) -> TypeAttributes
When overridden in a derived class,implements the System.Type.Attributes property and gets a bitmask indicating the attributes associated with the System.Type.
Returns: A System.Reflection.TypeAttributes object representing the attribute set of the System.Type.
"""
pass
def GetConstructor(self,*__args):
"""
GetConstructor(self: Type,bindingAttr: BindingFlags,binder: Binder,callConvention: CallingConventions,types: Array[Type],modifiers: Array[ParameterModifier]) -> ConstructorInfo
Searches for a constructor whose parameters match the specified argument types and modifiers,using the specified binding constraints and the specified calling convention.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
callConvention: The object that specifies the set of rules to use regarding the order and layout of arguments,how the return value is passed,what registers are used for arguments,and
the stack is cleaned up.
types: An array of System.Type objects representing the number,order,and type of the parameters for the constructor to get.-or- An empty array of the type System.Type (that is,
Type[] types=new Type[0]) to get a constructor that takes no parameters.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. The default binder does
not process this parameter.
Returns: An object representing the constructor that matches the specified requirements,if found; otherwise,null.
GetConstructor(self: Type,bindingAttr: BindingFlags,binder: Binder,types: Array[Type],modifiers: Array[ParameterModifier]) -> ConstructorInfo
Searches for a constructor whose parameters match the specified argument types and modifiers,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
types: An array of System.Type objects representing the number,order,and type of the parameters for the constructor to get.-or- An empty array of the type System.Type (that is,
Type[] types=new Type[0]) to get a constructor that takes no parameters.-or- System.Type.EmptyTypes.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the parameter type array. The default
binder does not process this parameter.
Returns: A System.Reflection.ConstructorInfo object representing the constructor that matches the specified requirements,if found; otherwise,null.
GetConstructor(self: Type,types: Array[Type]) -> ConstructorInfo
Searches for a public instance constructor whose parameters match the types in the specified array.
types: An array of System.Type objects representing the number,order,and type of the parameters for the desired constructor.-or- An empty array of System.Type objects,to get a
constructor that takes no parameters. Such an empty array is provided by the static field System.Type.EmptyTypes.
Returns: An object representing the public instance constructor whose parameters match the types in the parameter type array,if found; otherwise,null.
"""
pass
def GetConstructorImpl(self,*args):
"""
GetConstructorImpl(self: Type,bindingAttr: BindingFlags,binder: Binder,callConvention: CallingConventions,types: Array[Type],modifiers: Array[ParameterModifier]) -> ConstructorInfo
When overridden in a derived class,searches for a constructor whose parameters match the specified argument types and modifiers,using the specified binding constraints
and the specified calling convention.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
callConvention: The object that specifies the set of rules to use regarding the order and layout of arguments,how the return value is passed,what registers are used for arguments,and
the stack is cleaned up.
types: An array of System.Type objects representing the number,order,and type of the parameters for the constructor to get.-or- An empty array of the type System.Type (that is,
Type[] types=new Type[0]) to get a constructor that takes no parameters.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. The default binder does
not process this parameter.
Returns: A System.Reflection.ConstructorInfo object representing the constructor that matches the specified requirements,if found; otherwise,null.
"""
pass
def GetConstructors(self,bindingAttr=None):
"""
GetConstructors(self: Type,bindingAttr: BindingFlags) -> Array[ConstructorInfo]
When overridden in a derived class,searches for the constructors defined for the current System.Type,using the specified BindingFlags.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Reflection.ConstructorInfo objects representing all constructors defined for the current System.Type that match the specified binding constraints,
including the type initializer if it is defined. Returns an empty array of type System.Reflection.ConstructorInfo if no constructors are defined for the current
System.Type,if none of the defined constructors match the binding constraints,or if the current System.Type represents a type parameter in the definition of a generic
type or generic method.
GetConstructors(self: Type) -> Array[ConstructorInfo]
Returns all the public constructors defined for the current System.Type.
Returns: An array of System.Reflection.ConstructorInfo objects representing all the public instance constructors defined for the current System.Type,but not including the type
initializer (static constructor). If no public instance constructors are defined for the current System.Type,or if the current System.Type represents a type parameter in
the definition of a generic type or generic method,an empty array of type System.Reflection.ConstructorInfo is returned.
"""
pass
def GetDefaultMembers(self):
"""
GetDefaultMembers(self: Type) -> Array[MemberInfo]
Searches for the members defined for the current System.Type whose System.Reflection.DefaultMemberAttribute is set.
Returns: An array of System.Reflection.MemberInfo objects representing all default members of the current System.Type.-or- An empty array of type System.Reflection.MemberInfo,if
the current System.Type does not have default members.
"""
pass
def GetElementType(self):
"""
GetElementType(self: Type) -> Type
When overridden in a derived class,returns the System.Type of the object encompassed or referred to by the current array,pointer or reference type.
Returns: The System.Type of the object encompassed or referred to by the current array,pointer,or reference type,or null if the current System.Type is not an array or a pointer,
or is not passed by reference,or represents a generic type or a type parameter in the definition of a generic type or generic method.
"""
pass
def GetEnumName(self,value):
"""
GetEnumName(self: Type,value: object) -> str
Returns the name of the constant that has the specified value,for the current enumeration type.
value: The value whose name is to be retrieved.
Returns: The name of the member of the current enumeration type that has the specified value,or null if no such constant is found.
"""
pass
def GetEnumNames(self):
"""
GetEnumNames(self: Type) -> Array[str]
Returns the names of the members of the current enumeration type.
Returns: An array that contains the names of the members of the enumeration.
"""
pass
def GetEnumUnderlyingType(self):
"""
GetEnumUnderlyingType(self: Type) -> Type
Returns the underlying type of the current enumeration type.
Returns: The underlying type of the current enumeration.
"""
pass
def GetEnumValues(self):
"""
GetEnumValues(self: Type) -> Array
Returns an array of the values of the constants in the current enumeration type.
Returns: An array that contains the values. The elements of the array are sorted by the binary values (that is,the unsigned values) of the enumeration constants.
"""
pass
def GetEvent(self,name,bindingAttr=None):
"""
GetEvent(self: Type,name: str) -> EventInfo
Returns the System.Reflection.EventInfo object representing the specified public event.
name: The string containing the name of an event that is declared or inherited by the current System.Type.
Returns: The object representing the specified public event that is declared or inherited by the current System.Type,if found; otherwise,null.
GetEvent(self: Type,name: str,bindingAttr: BindingFlags) -> EventInfo
When overridden in a derived class,returns the System.Reflection.EventInfo object representing the specified event,using the specified binding constraints.
name: The string containing the name of an event which is declared or inherited by the current System.Type.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: The object representing the specified event that is declared or inherited by the current System.Type,if found; otherwise,null.
"""
pass
def GetEvents(self,bindingAttr=None):
"""
GetEvents(self: Type) -> Array[EventInfo]
Returns all the public events that are declared or inherited by the current System.Type.
Returns: An array of System.Reflection.EventInfo objects representing all the public events which are declared or inherited by the current System.Type.-or- An empty array of type
System.Reflection.EventInfo,if the current System.Type does not have public events.
GetEvents(self: Type,bindingAttr: BindingFlags) -> Array[EventInfo]
When overridden in a derived class,searches for events that are declared or inherited by the current System.Type,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Reflection.EventInfo objects representing all events that are declared or inherited by the current System.Type that match the specified binding
constraints.-or- An empty array of type System.Reflection.EventInfo,if the current System.Type does not have events,or if none of the events match the binding
constraints.
"""
pass
def GetField(self,name,bindingAttr=None):
"""
GetField(self: Type,name: str,bindingAttr: BindingFlags) -> FieldInfo
Searches for the specified field,using the specified binding constraints.
name: The string containing the name of the data field to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An object representing the field that matches the specified requirements,if found; otherwise,null.
GetField(self: Type,name: str) -> FieldInfo
Searches for the public field with the specified name.
name: The string containing the name of the data field to get.
Returns: An object representing the public field with the specified name,if found; otherwise,null.
"""
pass
def GetFields(self,bindingAttr=None):
"""
GetFields(self: Type) -> Array[FieldInfo]
Returns all the public fields of the current System.Type.
Returns: An array of System.Reflection.FieldInfo objects representing all the public fields defined for the current System.Type.-or- An empty array of type
System.Reflection.FieldInfo,if no public fields are defined for the current System.Type.
GetFields(self: Type,bindingAttr: BindingFlags) -> Array[FieldInfo]
When overridden in a derived class,searches for the fields defined for the current System.Type,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Reflection.FieldInfo objects representing all fields defined for the current System.Type that match the specified binding constraints.-or- An empty array
of type System.Reflection.FieldInfo,if no fields are defined for the current System.Type,or if none of the defined fields match the binding constraints.
"""
pass
def GetGenericArguments(self):
"""
GetGenericArguments(self: Type) -> Array[Type]
Returns an array of System.Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition.
Returns: An array of System.Type objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.
"""
pass
def GetGenericParameterConstraints(self):
"""
GetGenericParameterConstraints(self: Type) -> Array[Type]
Returns an array of System.Type objects that represent the constraints on the current generic type parameter.
Returns: An array of System.Type objects that represent the constraints on the current generic type parameter.
"""
pass
def GetGenericTypeDefinition(self):
"""
GetGenericTypeDefinition(self: Type) -> Type
Returns a System.Type object that represents a generic type definition from which the current generic type can be constructed.
Returns: A System.Type object representing a generic type from which the current type can be constructed.
"""
pass
def GetHashCode(self):
"""
GetHashCode(self: Type) -> int
Returns the hash code for this instance.
Returns: The hash code for this instance.
"""
pass
def GetInterface(self,name,ignoreCase=None):
"""
GetInterface(self: Type,name: str) -> Type
Searches for the interface with the specified name.
name: The string containing the name of the interface to get. For generic interfaces,this is the mangled name.
Returns: An object representing the interface with the specified name,implemented or inherited by the current System.Type,if found; otherwise,null.
GetInterface(self: Type,name: str,ignoreCase: bool) -> Type
When overridden in a derived class,searches for the specified interface,specifying whether to do a case-insensitive search for the interface name.
name: The string containing the name of the interface to get. For generic interfaces,this is the mangled name.
ignoreCase: true to ignore the case of that part of name that specifies the simple interface name (the part that specifies the namespace must be correctly cased).-or- false to perform
a case-sensitive search for all parts of name.
Returns: An object representing the interface with the specified name,implemented or inherited by the current System.Type,if found; otherwise,null.
"""
pass
def GetInterfaceMap(self,interfaceType):
"""
GetInterfaceMap(self: Type,interfaceType: Type) -> InterfaceMapping
Returns an interface mapping for the specified interface type.
interfaceType: The interface type to retrieve a mapping for.
Returns: An object that represents the interface mapping for interfaceType.
"""
pass
def GetInterfaces(self):
"""
GetInterfaces(self: Type) -> Array[Type]
When overridden in a derived class,gets all the interfaces implemented or inherited by the current System.Type.
Returns: An array of System.Type objects representing all the interfaces implemented or inherited by the current System.Type.-or- An empty array of type System.Type,if no
interfaces are implemented or inherited by the current System.Type.
"""
pass
def GetMember(self,name,*__args):
"""
GetMember(self: Type,name: str) -> Array[MemberInfo]
Searches for the public members with the specified name.
name: The string containing the name of the public members to get.
Returns: An array of System.Reflection.MemberInfo objects representing the public members with the specified name,if found; otherwise,an empty array.
GetMember(self: Type,name: str,bindingAttr: BindingFlags) -> Array[MemberInfo]
Searches for the specified members,using the specified binding constraints.
name: The string containing the name of the members to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return an empty array.
Returns: An array of System.Reflection.MemberInfo objects representing the public members with the specified name,if found; otherwise,an empty array.
GetMember(self: Type,name: str,type: MemberTypes,bindingAttr: BindingFlags) -> Array[MemberInfo]
Searches for the specified members of the specified member type,using the specified binding constraints.
name: The string containing the name of the members to get.
type: The value to search for.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return an empty array.
Returns: An array of System.Reflection.MemberInfo objects representing the public members with the specified name,if found; otherwise,an empty array.
"""
pass
def GetMembers(self,bindingAttr=None):
"""
GetMembers(self: Type) -> Array[MemberInfo]
Returns all the public members of the current System.Type.
Returns: An array of System.Reflection.MemberInfo objects representing all the public members of the current System.Type.-or- An empty array of type System.Reflection.MemberInfo,if
the current System.Type does not have public members.
GetMembers(self: Type,bindingAttr: BindingFlags) -> Array[MemberInfo]
When overridden in a derived class,searches for the members defined for the current System.Type,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Reflection.MemberInfo objects representing all members defined for the current System.Type that match the specified binding constraints.-or- An empty
array of type System.Reflection.MemberInfo,if no members are defined for the current System.Type,or if none of the defined members match the binding constraints.
"""
pass
def GetMethod(self,name,*__args):
"""
GetMethod(self: Type,name: str,bindingAttr: BindingFlags,binder: Binder,callConvention: CallingConventions,types: Array[Type],modifiers: Array[ParameterModifier]) -> MethodInfo
Searches for the specified method whose parameters match the specified argument types and modifiers,using the specified binding constraints and the specified calling
convention.
name: The string containing the name of the method to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
callConvention: The object that specifies the set of rules to use regarding the order and layout of arguments,how the return value is passed,what registers are used for arguments,and
how the stack is cleaned up.
types: An array of System.Type objects representing the number,order,and type of the parameters for the method to get.-or- An empty array of System.Type objects (as provided by
the System.Type.EmptyTypes field) to get a method that takes no parameters.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. To be only used when
calling through COM interop,and only parameters that are passed by reference are handled. The default binder does not process this parameter.
Returns: An object representing the method that matches the specified requirements,if found; otherwise,null.
GetMethod(self: Type,name: str,bindingAttr: BindingFlags,binder: Binder,types: Array[Type],modifiers: Array[ParameterModifier]) -> MethodInfo
Searches for the specified method whose parameters match the specified argument types and modifiers,using the specified binding constraints.
name: The string containing the name of the method to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
types: An array of System.Type objects representing the number,order,and type of the parameters for the method to get.-or- An empty array of System.Type objects (as provided by
the System.Type.EmptyTypes field) to get a method that takes no parameters.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. To be only used when
calling through COM interop,and only parameters that are passed by reference are handled. The default binder does not process this parameter.
Returns: An object representing the method that matches the specified requirements,if found; otherwise,null.
GetMethod(self: Type,name: str,types: Array[Type],modifiers: Array[ParameterModifier]) -> MethodInfo
Searches for the specified public method whose parameters match the specified argument types and modifiers.
name: The string containing the name of the public method to get.
types: An array of System.Type objects representing the number,order,and type of the parameters for the method to get.-or- An empty array of System.Type objects (as provided by
the System.Type.EmptyTypes field) to get a method that takes no parameters.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. To be only used when
calling through COM interop,and only parameters that are passed by reference are handled. The default binder does not process this parameter.
Returns: An object representing the public method that matches the specified requirements,if found; otherwise,null.
GetMethod(self: Type,name: str,types: Array[Type]) -> MethodInfo
Searches for the specified public method whose parameters match the specified argument types.
name: The string containing the name of the public method to get.
types: An array of System.Type objects representing the number,order,and type of the parameters for the method to get.-or- An empty array of System.Type objects (as provided by
the System.Type.EmptyTypes field) to get a method that takes no parameters.
Returns: An object representing the public method whose parameters match the specified argument types,if found; otherwise,null.
GetMethod(self: Type,name: str,bindingAttr: BindingFlags) -> MethodInfo
Searches for the specified method,using the specified binding constraints.
name: The string containing the name of the method to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An object representing the method that matches the specified requirements,if found; otherwise,null.
GetMethod(self: Type,name: str) -> MethodInfo
Searches for the public method with the specified name.
name: The string containing the name of the public method to get.
Returns: An object that represents the public method with the specified name,if found; otherwise,null.
"""
pass
def GetMethodImpl(self,*args):
"""
GetMethodImpl(self: Type,name: str,bindingAttr: BindingFlags,binder: Binder,callConvention: CallingConventions,types: Array[Type],modifiers: Array[ParameterModifier]) -> MethodInfo
When overridden in a derived class,searches for the specified method whose parameters match the specified argument types and modifiers,using the specified binding
constraints and the specified calling convention.
name: The string containing the name of the method to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
callConvention: The object that specifies the set of rules to use regarding the order and layout of arguments,how the return value is passed,what registers are used for arguments,and
what process cleans up the stack.
types: An array of System.Type objects representing the number,order,and type of the parameters for the method to get.-or- An empty array of the type System.Type (that is,
Type[] types=new Type[0]) to get a method that takes no parameters.-or- null. If types is null,arguments are not matched.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. The default binder does
not process this parameter.
Returns: An object representing the method that matches the specified requirements,if found; otherwise,null.
"""
pass
def GetMethods(self,bindingAttr=None):
"""
GetMethods(self: Type,bindingAttr: BindingFlags) -> Array[MethodInfo]
When overridden in a derived class,searches for the methods defined for the current System.Type,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Reflection.MethodInfo objects representing all methods defined for the current System.Type that match the specified binding constraints.-or- An empty
array of type System.Reflection.MethodInfo,if no methods are defined for the current System.Type,or if none of the defined methods match the binding constraints.
GetMethods(self: Type) -> Array[MethodInfo]
Returns all the public methods of the current System.Type.
Returns: An array of System.Reflection.MethodInfo objects representing all the public methods defined for the current System.Type.-or- An empty array of type
System.Reflection.MethodInfo,if no public methods are defined for the current System.Type.
"""
pass
def GetNestedType(self,name,bindingAttr=None):
"""
GetNestedType(self: Type,name: str) -> Type
Searches for the public nested type with the specified name.
name: The string containing the name of the nested type to get.
Returns: An object representing the public nested type with the specified name,if found; otherwise,null.
GetNestedType(self: Type,name: str,bindingAttr: BindingFlags) -> Type
When overridden in a derived class,searches for the specified nested type,using the specified binding constraints.
name: The string containing the name of the nested type to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An object representing the nested type that matches the specified requirements,if found; otherwise,null.
"""
pass
def GetNestedTypes(self,bindingAttr=None):
"""
GetNestedTypes(self: Type) -> Array[Type]
Returns the public types nested in the current System.Type.
Returns: An array of System.Type objects representing the public types nested in the current System.Type (the search is not recursive),or an empty array of type System.Type if no
public types are nested in the current System.Type.
GetNestedTypes(self: Type,bindingAttr: BindingFlags) -> Array[Type]
When overridden in a derived class,searches for the types nested in the current System.Type,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Type objects representing all the types nested in the current System.Type that match the specified binding constraints (the search is not recursive),or
an empty array of type System.Type,if no nested types are found that match the binding constraints.
"""
pass
def GetProperties(self,bindingAttr=None):
"""
GetProperties(self: Type,bindingAttr: BindingFlags) -> Array[PropertyInfo]
When overridden in a derived class,searches for the properties of the current System.Type,using the specified binding constraints.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An array of System.Reflection.PropertyInfo objects representing all properties of the current System.Type that match the specified binding constraints.-or- An empty array
of type System.Reflection.PropertyInfo,if the current System.Type does not have properties,or if none of the properties match the binding constraints.
GetProperties(self: Type) -> Array[PropertyInfo]
Returns all the public properties of the current System.Type.
Returns: An array of System.Reflection.PropertyInfo objects representing all public properties of the current System.Type.-or- An empty array of type System.Reflection.PropertyInfo,
if the current System.Type does not have public properties.
"""
pass
def GetProperty(self,name,*__args):
"""
GetProperty(self: Type,name: str,bindingAttr: BindingFlags,binder: Binder,returnType: Type,types: Array[Type],modifiers: Array[ParameterModifier]) -> PropertyInfo
Searches for the specified property whose parameters match the specified argument types and modifiers,using the specified binding constraints.
name: The string containing the name of the property to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
returnType: The return type of the property.
types: An array of System.Type objects representing the number,order,and type of the parameters for the indexed property to get.-or- An empty array of the type System.Type (that
is,Type[] types=new Type[0]) to get a property that is not indexed.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. The default binder does
not process this parameter.
Returns: An object representing the property that matches the specified requirements,if found; otherwise,null.
GetProperty(self: Type,name: str,returnType: Type,types: Array[Type],modifiers: Array[ParameterModifier]) -> PropertyInfo
Searches for the specified public property whose parameters match the specified argument types and modifiers.
name: The string containing the name of the public property to get.
returnType: The return type of the property.
types: An array of System.Type objects representing the number,order,and type of the parameters for the indexed property to get.-or- An empty array of the type System.Type (that
is,Type[] types=new Type[0]) to get a property that is not indexed.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. The default binder does
not process this parameter.
Returns: An object representing the public property that matches the specified requirements,if found; otherwise,null.
GetProperty(self: Type,name: str,bindingAttr: BindingFlags) -> PropertyInfo
Searches for the specified property,using the specified binding constraints.
name: The string containing the name of the property to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
Returns: An object representing the property that matches the specified requirements,if found; otherwise,null.
GetProperty(self: Type,name: str,returnType: Type,types: Array[Type]) -> PropertyInfo
Searches for the specified public property whose parameters match the specified argument types.
name: The string containing the name of the public property to get.
returnType: The return type of the property.
types: An array of System.Type objects representing the number,order,and type of the parameters for the indexed property to get.-or- An empty array of the type System.Type (that
is,Type[] types=new Type[0]) to get a property that is not indexed.
Returns: An object representing the public property whose parameters match the specified argument types,if found; otherwise,null.
GetProperty(self: Type,name: str,types: Array[Type]) -> PropertyInfo
Searches for the specified public property whose parameters match the specified argument types.
name: The string containing the name of the public property to get.
types: An array of System.Type objects representing the number,order,and type of the parameters for the indexed property to get.-or- An empty array of the type System.Type (that
is,Type[] types=new Type[0]) to get a property that is not indexed.
Returns: An object representing the public property whose parameters match the specified argument types,if found; otherwise,null.
GetProperty(self: Type,name: str,returnType: Type) -> PropertyInfo
Searches for the public property with the specified name and return type.
name: The string containing the name of the public property to get.
returnType: The return type of the property.
Returns: An object representing the public property with the specified name,if found; otherwise,null.
GetProperty(self: Type,name: str) -> PropertyInfo
Searches for the public property with the specified name.
name: The string containing the name of the public property to get.
Returns: An object representing the public property with the specified name,if found; otherwise,null.
"""
pass
def GetPropertyImpl(self,*args):
"""
GetPropertyImpl(self: Type,name: str,bindingAttr: BindingFlags,binder: Binder,returnType: Type,types: Array[Type],modifiers: Array[ParameterModifier]) -> PropertyInfo
When overridden in a derived class,searches for the specified property whose parameters match the specified argument types and modifiers,using the specified binding
constraints.
name: The string containing the name of the property to get.
bindingAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted.-or- Zero,to return null.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded member,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder.
returnType: The return type of the property.
types: An array of System.Type objects representing the number,order,and type of the parameters for the indexed property to get.-or- An empty array of the type System.Type (that
is,Type[] types=new Type[0]) to get a property that is not indexed.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the types array. The default binder does
not process this parameter.
Returns: An object representing the property that matches the specified requirements,if found; otherwise,null.
"""
pass
def GetType(self,typeName=None,*__args):
"""
GetType(typeName: str,throwOnError: bool,ignoreCase: bool) -> Type
Gets the System.Type with the specified name,specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found.
typeName: The assembly-qualified name of the type to get. See System.Type.AssemblyQualifiedName. If the type is in the currently executing assembly or in Mscorlib.dll,it is
sufficient to supply the type name qualified by its namespace.
throwOnError: true to throw an exception if the type cannot be found; false to return null.Specifying false also suppresses some other exception conditions,but not all of them. See the
Exceptions section.
ignoreCase: true to perform a case-insensitive search for typeName,false to perform a case-sensitive search for typeName.
Returns: The type with the specified name. If the type is not found,the throwOnError parameter specifies whether null is returned or an exception is thrown. In some cases,an
exception is thrown regardless of the value of throwOnError. See the Exceptions section.
GetType(typeName: str,throwOnError: bool) -> Type
Gets the System.Type with the specified name,performing a case-sensitive search and specifying whether to throw an exception if the type is not found.
typeName: The assembly-qualified name of the type to get. See System.Type.AssemblyQualifiedName. If the type is in the currently executing assembly or in Mscorlib.dll,it is
sufficient to supply the type name qualified by its namespace.
throwOnError: true to throw an exception if the type cannot be found; false to return null. Specifying false also suppresses some other exception conditions,but not all of them. See the
Exceptions section.
Returns: The type with the specified name. If the type is not found,the throwOnError parameter specifies whether null is returned or an exception is thrown. In some cases,an
exception is thrown regardless of the value of throwOnError. See the Exceptions section.
GetType(typeName: str) -> Type
Gets the System.Type with the specified name,performing a case-sensitive search.
typeName: The assembly-qualified name of the type to get. See System.Type.AssemblyQualifiedName. If the type is in the currently executing assembly or in Mscorlib.dll,it is
sufficient to supply the type name qualified by its namespace.
Returns: The type with the specified name,if found; otherwise,null.
GetType(typeName: str,assemblyResolver: Func[AssemblyName,Assembly],typeResolver: Func[Assembly,str,bool,Type]) -> Type
GetType(typeName: str,assemblyResolver: Func[AssemblyName,Assembly],typeResolver: Func[Assembly,str,bool,Type],throwOnError: bool) -> Type
GetType(typeName: str,assemblyResolver: Func[AssemblyName,Assembly],typeResolver: Func[Assembly,str,bool,Type],throwOnError: bool,ignoreCase: bool) -> Type
GetType(self: Type) -> Type
Gets the current System.Type.
Returns: The current System.Type.
"""
pass
@staticmethod
def GetTypeArray(args):
"""
GetTypeArray(args: Array[object]) -> Array[Type]
Gets the types of the objects in the specified array.
args: An array of objects whose types to determine.
Returns: An array of System.Type objects representing the types of the corresponding elements in args.
"""
pass
@staticmethod
def GetTypeCode(type):
"""
GetTypeCode(type: Type) -> TypeCode
Gets the underlying type code of the specified System.Type.
type: The type whose underlying type code to get.
Returns: The code of the underlying type.
"""
pass
def GetTypeCodeImpl(self,*args):
"""
GetTypeCodeImpl(self: Type) -> TypeCode
Returns the underlying type code of the specified System.Type.
Returns: The code of the underlying type.
"""
pass
@staticmethod
def GetTypeFromCLSID(clsid,*__args):
"""
GetTypeFromCLSID(clsid: Guid) -> Type
Gets the type associated with the specified class identifier (CLSID).
clsid: The CLSID of the type to get.
Returns: System.__ComObject regardless of whether the CLSID is valid.
GetTypeFromCLSID(clsid: Guid,throwOnError: bool) -> Type
Gets the type associated with the specified class identifier (CLSID),specifying whether to throw an exception if an error occurs while loading the type.
clsid: The CLSID of the type to get.
throwOnError: true to throw any exception that occurs.-or- false to ignore any exception that occurs.
Returns: System.__ComObject regardless of whether the CLSID is valid.
GetTypeFromCLSID(clsid: Guid,server: str) -> Type
Gets the type associated with the specified class identifier (CLSID) from the specified server.
clsid: The CLSID of the type to get.
server: The server from which to load the type. If the server name is null,this method automatically reverts to the local machine.
Returns: System.__ComObject regardless of whether the CLSID is valid.
GetTypeFromCLSID(clsid: Guid,server: str,throwOnError: bool) -> Type
Gets the type associated with the specified class identifier (CLSID) from the specified server,specifying whether to throw an exception if an error occurs while loading
the type.
clsid: The CLSID of the type to get.
server: The server from which to load the type. If the server name is null,this method automatically reverts to the local machine.
throwOnError: true to throw any exception that occurs.-or- false to ignore any exception that occurs.
Returns: System.__ComObject regardless of whether the CLSID is valid.
"""
pass
@staticmethod
def GetTypeFromHandle(handle):
"""
GetTypeFromHandle(handle: RuntimeTypeHandle) -> Type
Gets the type referenced by the specified type handle.
handle: The object that refers to the type.
Returns: The type referenced by the specified System.RuntimeTypeHandle,or null if the System.RuntimeTypeHandle.Value property of handle is null.
"""
pass
@staticmethod
def GetTypeFromProgID(progID,*__args):
"""
GetTypeFromProgID(progID: str) -> Type
Gets the type associated with the specified program identifier (ProgID),returning null if an error is encountered while loading the System.Type.
progID: The ProgID of the type to get.
Returns: The type associated with the specified ProgID,if progID is a valid entry in the registry and a type is associated with it; otherwise,null.
GetTypeFromProgID(progID: str,throwOnError: bool) -> Type
Gets the type associated with the specified program identifier (ProgID),specifying whether to throw an exception if an error occurs while loading the type.
progID: The ProgID of the type to get.
throwOnError: true to throw any exception that occurs.-or- false to ignore any exception that occurs.
Returns: The type associated with the specified program identifier (ProgID),if progID is a valid entry in the registry and a type is associated with it; otherwise,null.
GetTypeFromProgID(progID: str,server: str) -> Type
Gets the type associated with the specified program identifier (progID) from the specified server,returning null if an error is encountered while loading the type.
progID: The progID of the type to get.
server: The server from which to load the type. If the server name is null,this method automatically reverts to the local machine.
Returns: The type associated with the specified program identifier (progID),if progID is a valid entry in the registry and a type is associated with it; otherwise,null.
GetTypeFromProgID(progID: str,server: str,throwOnError: bool) -> Type
Gets the type associated with the specified program identifier (progID) from the specified server,specifying whether to throw an exception if an error occurs while loading
the type.
progID: The progID of the System.Type to get.
server: The server from which to load the type. If the server name is null,this method automatically reverts to the local machine.
throwOnError: true to throw any exception that occurs.-or- false to ignore any exception that occurs.
Returns: The type associated with the specified program identifier (progID),if progID is a valid entry in the registry and a type is associated with it; otherwise,null.
"""
pass
@staticmethod
def GetTypeHandle(o):
"""
GetTypeHandle(o: object) -> RuntimeTypeHandle
Gets the handle for the System.Type of a specified object.
o: The object for which to get the type handle.
Returns: The handle for the System.Type of the specified System.Object.
"""
pass
def HasElementTypeImpl(self,*args):
"""
HasElementTypeImpl(self: Type) -> bool
When overridden in a derived class,implements the System.Type.HasElementType property and determines whether the current System.Type encompasses or refers to another type;
that is,whether the current System.Type is an array,a pointer,or is passed by reference.
Returns: true if the System.Type is an array,a pointer,or is passed by reference; otherwise,false.
"""
pass
def InvokeMember(self,name,invokeAttr,binder,target,args,*__args):
"""
InvokeMember(self: Type,name: str,invokeAttr: BindingFlags,binder: Binder,target: object,args: Array[object],modifiers: Array[ParameterModifier],culture: CultureInfo,namedParameters: Array[str]) -> object
When overridden in a derived class,invokes the specified member,using the specified binding constraints and matching the specified argument list,modifiers and culture.
name: The string containing the name of the constructor,method,property,or field member to invoke.-or- An empty string ("") to invoke the default member. -or-For IDispatch
members,a string representing the DispID,for example "[DispID=3]".
invokeAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted. The access can be one of the BindingFlags such as Public,
NonPublic,Private,InvokeMethod,GetField,and so on. The type of lookup need not be specified. If the type of lookup is omitted,BindingFlags.Public |
BindingFlags.Instance | BindingFlags.Static are used.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder. Note that explicitly defining a System.Reflection.Binder object
may be required for successfully invoking method overloads with variable arguments.
target: The object on which to invoke the specified member.
args: An array containing the arguments to pass to the member to invoke.
modifiers: An array of System.Reflection.ParameterModifier objects representing the attributes associated with the corresponding element in the args array. A parameter's associated
attributes are stored in the member's signature. The default binder processes this parameter only when calling a COM component.
culture: The System.Globalization.CultureInfo object representing the globalization locale to use,which may be necessary for locale-specific conversions,such as converting a
numeric String to a Double.-or- A null reference (Nothing in Visual Basic) to use the current thread's System.Globalization.CultureInfo.
namedParameters: An array containing the names of the parameters to which the values in the args array are passed.
Returns: An object representing the return value of the invoked member.
InvokeMember(self: Type,name: str,invokeAttr: BindingFlags,binder: Binder,target: object,args: Array[object],culture: CultureInfo) -> object
Invokes the specified member,using the specified binding constraints and matching the specified argument list and culture.
name: The string containing the name of the constructor,method,property,or field member to invoke.-or- An empty string ("") to invoke the default member. -or-For IDispatch
members,a string representing the DispID,for example "[DispID=3]".
invokeAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted. The access can be one of the BindingFlags such as Public,
NonPublic,Private,InvokeMethod,GetField,and so on. The type of lookup need not be specified. If the type of lookup is omitted,BindingFlags.Public |
BindingFlags.Instance | BindingFlags.Static are used.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder. Note that explicitly defining a System.Reflection.Binder object
may be required for successfully invoking method overloads with variable arguments.
target: The object on which to invoke the specified member.
args: An array containing the arguments to pass to the member to invoke.
culture: The object representing the globalization locale to use,which may be necessary for locale-specific conversions,such as converting a numeric System.String to a
System.Double.-or- A null reference (Nothing in Visual Basic) to use the current thread's System.Globalization.CultureInfo.
Returns: An object representing the return value of the invoked member.
InvokeMember(self: Type,name: str,invokeAttr: BindingFlags,binder: Binder,target: object,args: Array[object]) -> object
Invokes the specified member,using the specified binding constraints and matching the specified argument list.
name: The string containing the name of the constructor,method,property,or field member to invoke.-or- An empty string ("") to invoke the default member. -or-For IDispatch
members,a string representing the DispID,for example "[DispID=3]".
invokeAttr: A bitmask comprised of one or more System.Reflection.BindingFlags that specify how the search is conducted. The access can be one of the BindingFlags such as Public,
NonPublic,Private,InvokeMethod,GetField,and so on. The type of lookup need not be specified. If the type of lookup is omitted,BindingFlags.Public |
BindingFlags.Instance | BindingFlags.Static are used.
binder: An object that defines a set of properties and enables binding,which can involve selection of an overloaded method,coercion of argument types,and invocation of a member
through reflection.-or- A null reference (Nothing in Visual Basic),to use the System.Type.DefaultBinder. Note that explicitly defining a System.Reflection.Binder object
may be required for successfully invoking method overloads with variable arguments.
target: The object on which to invoke the specified member.
args: An array containing the arguments to pass to the member to invoke.
Returns: An object representing the return value of the invoked member.
"""
pass
def IsArrayImpl(self,*args):
"""
IsArrayImpl(self: Type) -> bool
When overridden in a derived class,implements the System.Type.IsArray property and determines whether the System.Type is an array.
Returns: true if the System.Type is an array; otherwise,false.
"""
pass
def IsAssignableFrom(self,c):
"""
IsAssignableFrom(self: Type,c: Type) -> bool
Determines whether an instance of the current System.Type can be assigned from an instance of the specified Type.
c: The type to compare with the current type.
Returns: true if c and the current Type represent the same type,or if the current Type is in the inheritance hierarchy of c,or if the current Type is an interface that c
implements,or if c is a generic type parameter and the current Type represents one of the constraints of c. false if none of these conditions are true,or if c is null.
"""
pass
def IsByRefImpl(self,*args):
"""
IsByRefImpl(self: Type) -> bool
When overridden in a derived class,implements the System.Type.IsByRef property and determines whether the System.Type is passed by reference.
Returns: true if the System.Type is passed by reference; otherwise,false.
"""
pass
def IsCOMObjectImpl(self,*args):
"""
IsCOMObjectImpl(self: Type) -> bool
When overridden in a derived class,implements the System.Type.IsCOMObject property and determines whether the System.Type is a COM object.
Returns: true if the System.Type is a COM object; otherwise,false.
"""
pass
def IsContextfulImpl(self,*args):
"""
IsContextfulImpl(self: Type) -> bool
Implements the System.Type.IsContextful property and determines whether the System.Type can be hosted in a context.
Returns: true if the System.Type can be hosted in a context; otherwise,false.
"""
pass
def IsEnumDefined(self,value):
"""
IsEnumDefined(self: Type,value: object) -> bool
Returns a value that indicates whether the specified value exists in the current enumeration type.
value: The value to be tested.
Returns: true if the specified value is a member of the current enumeration type; otherwise,false.
"""
pass
def IsEquivalentTo(self,other):
"""
IsEquivalentTo(self: Type,other: Type) -> bool
Determines whether two COM types have the same identity and are eligible for type equivalence.
other: The COM type that is tested for equivalence with the current type.
Returns: true if the COM types are equivalent; otherwise,false. This method also returns false if one type is in an assembly that is loaded for execution,and the other is in an
assembly that is loaded into the reflection-only context.
"""
pass
def IsInstanceOfType(self,o):
"""
IsInstanceOfType(self: Type,o: object) -> bool
Determines whether the specified object is an instance of the current System.Type.
o: The object to compare with the current type.
Returns: true if the current Type is in the inheritance hierarchy of the object represented by o,or if the current Type is an interface that o supports. false if neither of these
conditions is the case,or if o is null,or if the current Type is an open generic type (that is,System.Type.ContainsGenericParameters returns true).
"""
pass
def IsMarshalByRefImpl(self,*args):
"""
IsMarshalByRefImpl(self: Type) -> bool
Implements the System.Type.IsMarshalByRef property and determines whether the System.Type is marshaled by reference.
Returns: true if the System.Type is marshaled by reference; otherwise,false.
"""
pass
def IsPointerImpl(self,*args):
"""
IsPointerImpl(self: Type) -> bool
When overridden in a derived class,implements the System.Type.IsPointer property and determines whether the System.Type is a pointer.
Returns: true if the System.Type is a pointer; otherwise,false.
"""
pass
def IsPrimitiveImpl(self,*args):
"""
IsPrimitiveImpl(self: Type) -> bool
When overridden in a derived class,implements the System.Type.IsPrimitive property and determines whether the System.Type is one of the primitive types.
Returns: true if the System.Type is one of the primitive types; otherwise,false.
"""
pass
def IsSubclassOf(self,c):
"""
IsSubclassOf(self: Type,c: Type) -> bool
Determines whether the class represented by the current System.Type derives from the class represented by the specified System.Type.
c: The type to compare with the current type.
Returns: true if the Type represented by the c parameter and the current Type represent classes,and the class represented by the current Type derives from the class represented by
c; otherwise,false. This method also returns false if c and the current Type represent the same class.
"""
pass
def IsValueTypeImpl(self,*args):
"""
IsValueTypeImpl(self: Type) -> bool
Implements the System.Type.IsValueType property and determines whether the System.Type is a value type; that is,not a class or an interface.
Returns: true if the System.Type is a value type; otherwise,false.
"""
pass
def MakeArrayType(self,rank=None):
"""
MakeArrayType(self: Type) -> Type
Returns a System.Type object representing a one-dimensional array of the current type,with a lower bound of zero.
Returns: A System.Type object representing a one-dimensional array of the current type,with a lower bound of zero.
MakeArrayType(self: Type,rank: int) -> Type
Returns a System.Type object representing an array of the current type,with the specified number of dimensions.
rank: The number of dimensions for the array. This number must be less than or equal to 32.
Returns: An object representing an array of the current type,with the specified number of dimensions.
"""
pass
def MakeByRefType(self):
"""
MakeByRefType(self: Type) -> Type
Returns a System.Type object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic).
Returns: A System.Type object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic).
"""
pass
def MakeGenericType(self,typeArguments):
"""
MakeGenericType(self: Type,*typeArguments: Array[Type]) -> Type
Substitutes the elements of an array of types for the type parameters of the current generic type definition and returns a System.Type object representing the resulting
constructed type.
typeArguments: An array of types to be substituted for the type parameters of the current generic type.
Returns: A System.Type representing the constructed type formed by substituting the elements of typeArguments for the type parameters of the current generic type.
"""
pass
def MakePointerType(self):
"""
MakePointerType(self: Type) -> Type
Returns a System.Type object that represents a pointer to the current type.
Returns: A System.Type object that represents a pointer to the current type.
"""
pass
@staticmethod
def ReflectionOnlyGetType(typeName,throwIfNotFound,ignoreCase):
"""
ReflectionOnlyGetType(typeName: str,throwIfNotFound: bool,ignoreCase: bool) -> Type
Gets the System.Type with the specified name,specifying whether to perform a case-sensitive search and whether to throw an exception if the type is not found. The type is
loaded for reflection only,not for execution.
typeName: The assembly-qualified name of the System.Type to get.
throwIfNotFound: true to throw a System.TypeLoadException if the type cannot be found; false to return null if the type cannot be found. Specifying false also suppresses some other
exception conditions,but not all of them. See the Exceptions section.
ignoreCase: true to perform a case-insensitive search for typeName; false to perform a case-sensitive search for typeName.
Returns: The type with the specified name,if found; otherwise,null. If the type is not found,the throwIfNotFound parameter specifies whether null is returned or an exception is
thrown. In some cases,an exception is thrown regardless of the value of throwIfNotFound. See the Exceptions section.
"""
pass
def ToString(self):
"""
ToString(self: Type) -> str
Returns a String representing the name of the current Type.
Returns: A System.String representing the name of the current System.Type.
"""
pass
def __eq__(self,*args):
""" x.__eq__(y) <==> x==y """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __ne__(self,*args):
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
Assembly=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the System.Reflection.Assembly in which the type is declared. For generic types,gets the System.Reflection.Assembly in which the generic type is defined.
Get: Assembly(self: Type) -> Assembly
"""
AssemblyQualifiedName=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the assembly-qualified name of the System.Type,which includes the name of the assembly from which the System.Type was loaded.
Get: AssemblyQualifiedName(self: Type) -> str
"""
Attributes=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the attributes associated with the System.Type.
Get: Attributes(self: Type) -> TypeAttributes
"""
BaseType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the type from which the current System.Type directly inherits.
Get: BaseType(self: Type) -> Type
"""
ContainsGenericParameters=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current System.Type object has type parameters that have not been replaced by specific types.
Get: ContainsGenericParameters(self: Type) -> bool
"""
DeclaringMethod=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a System.Reflection.MethodBase that represents the declaring method,if the current System.Type represents a type parameter of a generic method.
Get: DeclaringMethod(self: Type) -> MethodBase
"""
DeclaringType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the type that declares the current nested type or generic type parameter.
Get: DeclaringType(self: Type) -> Type
"""
FullName=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the fully qualified name of the System.Type,including the namespace of the System.Type but not the assembly.
Get: FullName(self: Type) -> str
"""
GenericParameterAttributes=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a combination of System.Reflection.GenericParameterAttributes flags that describe the covariance and special constraints of the current generic type parameter.
Get: GenericParameterAttributes(self: Type) -> GenericParameterAttributes
"""
GenericParameterPosition=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the position of the type parameter in the type parameter list of the generic type or method that declared the parameter,when the System.Type object represents a type parameter of a generic type or a generic method.
Get: GenericParameterPosition(self: Type) -> int
"""
GenericTypeArguments=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GenericTypeArguments(self: Type) -> Array[Type]
"""
GUID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the GUID associated with the System.Type.
Get: GUID(self: Type) -> Guid
"""
HasElementType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current System.Type encompasses or refers to another type; that is,whether the current System.Type is an array,a pointer,or is passed by reference.
Get: HasElementType(self: Type) -> bool
"""
IsAbstract=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is abstract and must be overridden.
Get: IsAbstract(self: Type) -> bool
"""
IsAnsiClass=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the string format attribute AnsiClass is selected for the System.Type.
Get: IsAnsiClass(self: Type) -> bool
"""
IsArray=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is an array.
Get: IsArray(self: Type) -> bool
"""
IsAutoClass=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the string format attribute AutoClass is selected for the System.Type.
Get: IsAutoClass(self: Type) -> bool
"""
IsAutoLayout=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the class layout attribute AutoLayout is selected for the System.Type.
Get: IsAutoLayout(self: Type) -> bool
"""
IsByRef=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is passed by reference.
Get: IsByRef(self: Type) -> bool
"""
IsClass=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is a class; that is,not a value type or interface.
Get: IsClass(self: Type) -> bool
"""
IsCOMObject=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is a COM object.
Get: IsCOMObject(self: Type) -> bool
"""
IsConstructedGenericType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsConstructedGenericType(self: Type) -> bool
"""
IsContextful=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type can be hosted in a context.
Get: IsContextful(self: Type) -> bool
"""
IsEnum=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current System.Type represents an enumeration.
Get: IsEnum(self: Type) -> bool
"""
IsExplicitLayout=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the class layout attribute ExplicitLayout is selected for the System.Type.
Get: IsExplicitLayout(self: Type) -> bool
"""
IsGenericParameter=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current System.Type represents a type parameter in the definition of a generic type or method.
Get: IsGenericParameter(self: Type) -> bool
"""
IsGenericType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current type is a generic type.
Get: IsGenericType(self: Type) -> bool
"""
IsGenericTypeDefinition=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current System.Type represents a generic type definition,from which other generic types can be constructed.
Get: IsGenericTypeDefinition(self: Type) -> bool
"""
IsImport=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type has a System.Runtime.InteropServices.ComImportAttribute attribute applied,indicating that it was imported from a COM type library.
Get: IsImport(self: Type) -> bool
"""
IsInterface=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is an interface; that is,not a class or a value type.
Get: IsInterface(self: Type) -> bool
"""
IsLayoutSequential=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the class layout attribute SequentialLayout is selected for the System.Type.
Get: IsLayoutSequential(self: Type) -> bool
"""
IsMarshalByRef=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is marshaled by reference.
Get: IsMarshalByRef(self: Type) -> bool
"""
IsNested=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the current System.Type object represents a type whose definition is nested inside the definition of another type.
Get: IsNested(self: Type) -> bool
"""
IsNestedAssembly=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is nested and visible only within its own assembly.
Get: IsNestedAssembly(self: Type) -> bool
"""
IsNestedFamANDAssem=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is nested and visible only to classes that belong to both its own family and its own assembly.
Get: IsNestedFamANDAssem(self: Type) -> bool
"""
IsNestedFamily=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is nested and visible only within its own family.
Get: IsNestedFamily(self: Type) -> bool
"""
IsNestedFamORAssem=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is nested and visible only to classes that belong to either its own family or to its own assembly.
Get: IsNestedFamORAssem(self: Type) -> bool
"""
IsNestedPrivate=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is nested and declared private.
Get: IsNestedPrivate(self: Type) -> bool
"""
IsNestedPublic=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether a class is nested and declared public.
Get: IsNestedPublic(self: Type) -> bool
"""
IsNotPublic=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is not declared public.
Get: IsNotPublic(self: Type) -> bool
"""
IsPointer=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is a pointer.
Get: IsPointer(self: Type) -> bool
"""
IsPrimitive=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is one of the primitive types.
Get: IsPrimitive(self: Type) -> bool
"""
IsPublic=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is declared public.
Get: IsPublic(self: Type) -> bool
"""
IsSealed=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is declared sealed.
Get: IsSealed(self: Type) -> bool
"""
IsSecurityCritical=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the current type is security-critical or security-safe-critical at the current trust level,and therefore can perform critical operations.
Get: IsSecurityCritical(self: Type) -> bool
"""
IsSecuritySafeCritical=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the current type is security-safe-critical at the current trust level; that is,whether it can perform critical operations and can be accessed by transparent code.
Get: IsSecuritySafeCritical(self: Type) -> bool
"""
IsSecurityTransparent=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the current type is transparent at the current trust level,and therefore cannot perform critical operations.
Get: IsSecurityTransparent(self: Type) -> bool
"""
IsSerializable=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is serializable.
Get: IsSerializable(self: Type) -> bool
"""
IsSpecialName=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type has a name that requires special handling.
Get: IsSpecialName(self: Type) -> bool
"""
IsUnicodeClass=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the string format attribute UnicodeClass is selected for the System.Type.
Get: IsUnicodeClass(self: Type) -> bool
"""
IsValueType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type is a value type.
Get: IsValueType(self: Type) -> bool
"""
IsVisible=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Type can be accessed by code outside the assembly.
Get: IsVisible(self: Type) -> bool
"""
MemberType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a System.Reflection.MemberTypes value indicating that this member is a type or a nested type.
Get: MemberType(self: Type) -> MemberTypes
"""
Module=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the module (the DLL) in which the current System.Type is defined.
Get: Module(self: Type) -> Module
"""
Namespace=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the namespace of the System.Type.
Get: Namespace(self: Type) -> str
"""
ReflectedType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the class object that was used to obtain this member.
Get: ReflectedType(self: Type) -> Type
"""
StructLayoutAttribute=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a System.Runtime.InteropServices.StructLayoutAttribute that describes the layout of the current type.
Get: StructLayoutAttribute(self: Type) -> StructLayoutAttribute
"""
TypeHandle=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the handle for the current System.Type.
Get: TypeHandle(self: Type) -> RuntimeTypeHandle
"""
TypeInitializer=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the initializer for the System.Type.
Get: TypeInitializer(self: Type) -> ConstructorInfo
"""
UnderlyingSystemType=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Indicates the type provided by the common language runtime that represents this type.
Get: UnderlyingSystemType(self: Type) -> Type
"""
DefaultBinder=None
Delimiter=None
EmptyTypes=None
Missing=None
| 53.971539 | 225 | 0.744295 | 11,603 | 83,440 | 5.345083 | 0.052573 | 0.040794 | 0.019494 | 0.027411 | 0.792676 | 0.771941 | 0.751625 | 0.720457 | 0.696109 | 0.666296 | 0 | 0.000237 | 0.191898 | 83,440 | 1,545 | 226 | 54.006472 | 0.919544 | 0.739286 | 0 | 0.360731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.328767 | 0.004566 | 0 | 0.643836 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 7 |
0a7ad58189360a631bf1f1e541fcec8483cbc8f2 | 41,689 | py | Python | projects/src/main/python/CodeJam/Y12R5P1/dogwalker/generated_py_25bde5549d8a403f9eb917aa65cbfb0c.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 5 | 2020-04-05T18:04:13.000Z | 2021-04-13T20:34:19.000Z | projects/src/main/python/CodeJam/Y12R5P1/dogwalker/generated_py_25bde5549d8a403f9eb917aa65cbfb0c.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 1 | 2020-04-29T21:42:26.000Z | 2020-05-01T23:45:45.000Z | projects/src/main/python/CodeJam/Y12R5P1/dogwalker/generated_py_25bde5549d8a403f9eb917aa65cbfb0c.py | DynamicCodeSearch/CodeSeer | ee985ece7691691585952eb88565f0e08bdc9113 | [
"MIT"
] | 3 | 2020-01-27T16:02:14.000Z | 2021-02-08T13:25:15.000Z | import sys
sys.path.append('/home/george2/Raise/ProgramRepair/CodeSeer/projects/src/main/python')
from CodeJam.Y12R5P1.dogwalker.a import *
def func_d82e35d745c24685856556880dcf0ceb():
"""Find lecographically first maximum element"""
b = None
return b
def func_6e4f21b15e2e4fb9a70d63db92518320(pi):
b = None
for j in xrange(len(pi)):
if pi[j] == None:
continue
if b == None:
b = j
continue
if pi[j] > pi[b]:
b = j
return j
def func_34efc7da10b449d5819e4c11bd326cdb(pi):
b = None
for j in xrange(len(pi)):
if pi[j] == None:
continue
if b == None:
b = j
continue
if pi[j] > pi[b]:
b = j
return b
def func_4a1bc8d62dce4db69ce5e2513bf53c37(j, pi):
if pi[j] > pi[b]:
b = j
return b
def func_2ed93b5909db490fa3ea49868d115850(pi):
"""Find lecographically first maximum element"""
b = None
for j in xrange(len(pi)):
if pi[j] == None:
continue
if b == None:
b = j
continue
if pi[j] > pi[b]:
b = j
return j
def func_66443babbe9144b799b0c67262388b99(pi):
"""Find lecographically first maximum element"""
b = None
for j in xrange(len(pi)):
if pi[j] == None:
continue
if b == None:
b = j
continue
if pi[j] > pi[b]:
b = j
return b
def func_2a27b4d5ecd54348b5543033af74079b(l):
n = int(l[0])
ti = map(int, l[1].split()[:n])
return ti
def func_3cfabafd221347a4bcf979ce1143dabf(l):
n = int(l[0])
ti = map(int, l[1].split()[:n])
return n
def func_f995f7a3ee364618986696ce08c5d9a9(l, n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
return pi
def func_f0d2bf9acf6746eeb7ba4b27326c92f7(l, n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
return ti
def func_73fd8c22e0e8402dbfeff2818b2fa28f(n):
pi = map(int, l[2].split()[:n])
l = l[3:]
return pi
def func_b0f57eb46f9540689e78d679c4bc3512(n):
pi = map(int, l[2].split()[:n])
l = l[3:]
return l
def func_5316afa4f648484f938e1e254e69ca58(l):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
return n
def func_4f27b97c86d048238b1da8b44792b9aa(l):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
return ti
def func_aebb7c1ddc784503b1e25d51b9cf5e2d(l):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
return pi
def func_7c2828c6d6f54c29b4310098889fe256(n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return l
def func_891c2baf24bf403fb733bc28c35b0816(n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return ti
def func_8b51cc9b6dad40f5b2e0db91a86ca6e6(n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return pi
def func_33fcc8b0357d408ab6464202256816d5(i, ti, n):
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return l
def func_b7e2cb31918e457cb5cd980f825e9259(i, ti, n):
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return pi
def func_a8d482f6b7eb4653bc52d079bb36d3a4():
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return l
def func_9a41e9a97bde4f889f4d055ce6a3ec44():
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return ti
def func_fcc2e2dcc093403a891d6fa1cff9262f():
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return n
def func_7e938c7fa6414a2e9cad835382c3c2ae():
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
return pi
def func_c042e21660914c30bbec359fe128dc22(i, n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return l
def func_2c8a0b8be12440d09fec3576a73264fc(i, n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return pi
def func_e5566362c30e4ae1a92324ceacc0284c(i, n):
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return ti
def func_24cfc752d6da40498da2dd2cae04a21d(i):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return l
def func_2bde1f4cc40f4b9d929a6c6c69706f2c(i):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return pi
def func_a6a450d655e148a8936498fc5f85acbd(i):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return ti
def func_f631f6b61b03469e841b06d1ff1ca284(i):
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]('Case #%d: %s' % (i + 1, solveIt(ti, pi)))
return n
def func_2d9e86f7323e4fd88a235afd3180d2b4(filename):
f = open(filename, 'r')
l = f.readlines()
return f
def func_aa476e89c7ac499995279b05ffe5ce09(filename):
f = open(filename, 'r')
l = f.readlines()
return l
def func_cff8c95918004697851cf2ac1231bdc1(f):
l = f.readlines()
f.close()
return l
def func_2036723a632c4525acd1fe838726eebb(f):
f.close()
l = map(lambda x: x[:-1], l)
return l
def func_85f6fee23cb74b2d9054fcb4210f017f():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return l
def func_f96f6b788aba4e849fed102d5b04af73():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return numCases
def func_f2fc35fae6fd4b09abc6c9e57e92178c():
numCases = int(l[0])
l = l[1:]
return l
def func_528cbbd12db94512aa78e1ba2d40e39e():
numCases = int(l[0])
l = l[1:]
return numCases
def func_0825cb0beaa247768187ceff6075f75d(numCases):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return n
def func_8dd7a9b0943c4f30a7a92412b4a4999d(numCases):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return pi
def func_1a35004754254a7d916f10642677b7fb(numCases):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return l
def func_6c61b612c26849fca6d68d898b113e8b(numCases):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return ti
def func_e6dd5f795eb24bf4bb62d6f88b58a296(numCases):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return i
def func_67bf739130a9453d99c7caf5dfe84b3c(numCases, f):
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_bb9a2ecce93047bd8f4d6a205957fee1(numCases, f):
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_cb13dc56968149358efcc36b2a8080e9(numCases, f):
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_c73c7948025c41f390c3ef11e3f304d1(numCases, f):
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_2a75e0407efa43898112450dc13947b6(numCases, f):
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_b7d7914663a14eadb1c4f344d3d99821(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
return l
def func_49bc742646ef4284bce74623e2b5b6fe(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
return f
def func_effcd03585ef4bff9e990adb5e177f9e(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
return l
def func_02a57facbfe74b15845df5afa8c596a5(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return l
def func_14e53b667de84ae8aa725fbfa69f09d7(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return numCases
def func_951b884fab474e88a2e84cfb416869f7():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return numCases
def func_24a1be708f824474b96d0e120e274e95():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return l
def func_f435a6d06a8b47cdad3e938cb7816895():
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return numCases
def func_0d2a847aee234284ae657fc5d77353b9():
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return l
def func_7adc7a164d2c488fa06140268d5e0856():
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return i
def func_6cb9a796bc1d471a86849b0d80c2cc2d():
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return ti
def func_897e3c08eb8a482db07ad81fca7b284d():
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return pi
def func_88b64da3be5143fda28d6061a4023f50():
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return n
def func_681638d8571d442d8509269e14805930(numCases, f):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_3a65779553504766951ecd92c5af604e(numCases, f):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_03a3faf13bc8431b94f24724900ca396(numCases, f):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_34927d932f0449faa2cb1e35a7139d0e(numCases, f):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_1264992797ce47d29fb88045ec89a4c7(numCases, f):
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_ec2e94225d72425a8f321c12187b8a4d(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
return f
def func_f7110dd3fe4e401fb8119804d1db416f(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
return l
def func_aa95699e521d4ec4a97ba3de86600626(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return l
def func_c2bcd91272924ca5a097dd4a66dcd48c(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return numCases
def func_8fdf8551be3445e08b944e5e9f5b4193(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return numCases
def func_4b5908d6654941a3bed71de5519e3939(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return l
def func_5f3ec763251e4c1bac3a2f9125942236():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return n
def func_5564109a9cf1499ab9212237e9f697c5():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return numCases
def func_e7d5a4709ee24d1e9c1130eb574dcb3e():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return l
def func_418e56c94b2d496e87d86c9471dc7fc0():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return pi
def func_430490073b1e44a185b3bd01952222cc():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return ti
def func_f4a4bb58820645b1b84ca32c29ff1c00():
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return i
def func_ae14940dff064b42a6d6d75331175bcb(f):
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_f68375fb8fba4e239715f990cefac848(f):
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return numCases
def func_8bf92e8c3ddd458da78a7f6065cc2d95(f):
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_46fc96e0170545449cd0e471088bca4a(f):
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_abdc53b0569e47deb7c725d67d199b70(f):
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_b15b9bfe3d8247aab2c1951df01a8530(f):
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_eb8e0e0612c346a18ce06c0c58731775(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return l
def func_7cc7c36b5aad4ac48a240a64f81556da(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return numCases
def func_4fd16b226c28448599d2f688a3f54812(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
return f
def func_fc13148fe3c24f59bc9b86383ae7f954(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return numCases
def func_0ab9982edf7b4402a14d444132d3db60(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return l
def func_055d9a8d2e45431e86aa7880e3f5d106(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return pi
def func_cb6057b4ffe7440bb05d4530c2e2def1(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return numCases
def func_1f67f4c4b52141209c21a066aedfea7b(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return l
def func_95152446961843a789c353516ded4b67(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return i
def func_801433c832764b8a89323f683dcaf1f5(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return ti
def func_8c603581532a4e5cb4f2c46494d0d317(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return n
def func_0505c79cbb5440c1a8ee674e1bf931b4(f):
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_3b01c81cac2e48579b2a56a9c982bb4f(f):
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_c975dcfb6fdc43d8914b86a389eab13c(f):
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return numCases
def func_76021ab1f00d4bacb3416fdc7e0ec346(f):
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_dc961e22b2ad4fa7af1b89711af1f251(f):
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_d86ad453d96c458da45b8b957c3e9f60(f):
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_03f76aa7ee7545de940f323ccbdd0749(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return f
def func_c31686aa30e54f7d95c6af4f44f7d62d(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return l
def func_af24267d88c34501a6d0fb9a5547e1c4(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
return numCases
def func_c04a0d31d42648ce9dca8ca8ed842d53(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return pi
def func_0decbcce208140d4ba1d90dceedb3f49(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return numCases
def func_32497409cce34d699af611b9d0fc49f2(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return i
def func_7334b257a5094c15a41dd0c232bf3290(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return ti
def func_e7d4aed7b99b4b43a01b084b7c11a1bf(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return l
def func_dc7cc41007e2487da5352f2ee8186826(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return n
def func_a82298193c344d0fb29bed417947453c(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return numCases
def func_91c1ca3241394c8e84f5d93b1ee54c01(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_01905c1e5bdd4db0b7cb0c30f0c91360(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_05e372433e4648dc906957f18a334c2f(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_6927d74c3b724880b7411004dec7c34e(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_e437a62947794bf3b7996918149ee491(f):
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_6c60edacfe6246e1a44d3fdd74fefba2(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return pi
def func_5b120f8bbd504d95ad95aacc65ccda5d(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return f
def func_5bf6726d00e04fbbb753a094852ae114(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return ti
def func_c5b8fd0e362c40db91a95c420157f5c5(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return numCases
def func_8ee4533225f44d08a317371b9d19abf7(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return n
def func_85a45bc9e20148cfac0ae65064f3d3c8(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return i
def func_6a28f3b648b74449ae355ae79b3dd559(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
return l
def func_edafa4b2a08f4afc902fde028db22b90(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_49b94d52889d4b9688ef749c1c7803b7(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_a94588de6dc6463a847fc4aaf47900a5(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_51ff47762dd149da9cca73761e865a89(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_169ff5daecb342d7bfbc3363804aec96(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return numCases
def func_08cf8bc509974a2e9664d79027fa7abd(f):
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_feec5d377c88450a92ec203bc424d9db(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return ti
def func_f218a8f7c1ab4f6892d5e9b26ea92c9e(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return n
def func_0a0374ab80544657a45d17d336dabecb(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return l
def func_6f9ff4d5ca314a2998fa8e2e8b4ba21f(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return f
def func_2b704fb59cfd4e3bb71c9942e334dee1(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return i
def func_9c3e7f92b41b4c278c23831efc8ba622(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return pi
def func_8bc03ed2150d4318a34f39b3aed89d32(filename):
f = open(filename, 'r')
l = f.readlines()
f.close()
l = map(lambda x: x[:-1], l)
numCases = int(l[0])
l = l[1:]
for i in xrange(numCases):
print >> sys.stderr, 'Computing case %d' % (i + 1)
n = int(l[0])
ti = map(int, l[1].split()[:n])
pi = map(int, l[2].split()[:n])
l = l[3:]
print 'Case #%d: %s' % (i + 1, solveIt(ti, pi))
f.close()
return numCases
| 25.829616 | 86 | 0.508072 | 6,281 | 41,689 | 3.350422 | 0.031842 | 0.070329 | 0.065862 | 0.042768 | 0.782456 | 0.782456 | 0.78046 | 0.778417 | 0.778417 | 0.772857 | 0 | 0.120999 | 0.297824 | 41,689 | 1,613 | 87 | 25.845629 | 0.597889 | 0 | 0 | 0.895288 | 0 | 0 | 0.058587 | 0.001613 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.001496 | null | null | 0.115183 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
0a88b43c57f7d43ebc05c43765a06f978b3fc5ef | 42,557 | py | Python | sfof/python/euclid/dm/_cog.py | sfarrens/sfof | f887abc0dbd1587fd7fbc7148b4704d1b5f4cdac | [
"MIT"
] | 13 | 2017-06-15T16:56:29.000Z | 2021-12-08T20:44:39.000Z | sfof/python/euclid/dm/_cog.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 6 | 2020-05-30T07:40:59.000Z | 2020-11-30T12:25:14.000Z | sfof/python/euclid/dm/_cog.py | umikanero/sfof | 9aa7b09ccb12311a68373e4e516dee82fa5c428e | [
"MIT"
] | 4 | 2018-02-24T02:12:24.000Z | 2021-06-03T07:22:15.000Z | # /home/sartor/pymodule/euclid/dm/_cog.py
# -*- coding: utf-8 -*-
# PyXB bindings for NM:a17fe44f5818a6dad4c3af2f6274ac08c385d7a5
# Generated 2014-07-24 16:26:39.932813 by PyXB version 1.2.3
# Namespace http://euclid.esa.org/schema/pro/le3/cog [xmlns:cog]
import pyxb
import pyxb.binding
import pyxb.binding.saxer
import io
import pyxb.utils.utility
import pyxb.utils.domutils
import sys
# Unique identifier for bindings created at the same time
_GenerationUID = pyxb.utils.utility.UniqueIdentifier('urn:uuid:869ae486-133e-11e4-88d8-90b11c83965f')
# Version of PyXB used to generate the bindings
_PyXBVersion = '1.2.3'
# Generated bindings are not compatible across PyXB versions
if pyxb.__version__ != _PyXBVersion:
raise pyxb.PyXBVersionError(_PyXBVersion)
# Import bindings for namespaces imported into schema
import pyxb.binding.datatypes
import euclid.dm._fit as _ImportedBinding_euclid_dm__fit
# NOTE: All namespace declarations are reserved within the binding
Namespace = pyxb.namespace.NamespaceForURI(u'http://euclid.esa.org/schema/pro/le3/cog', create_if_missing=True)
Namespace.configureCategories(['typeBinding', 'elementBinding'])
def CreateFromDocument (xml_text, default_namespace=None, location_base=None):
"""Parse the given XML and use the document element to create a
Python instance.
@param xml_text An XML document. This should be data (Python 2
str or Python 3 bytes), or a text (Python 2 unicode or Python 3
str) in the L{pyxb._InputEncoding} encoding.
@keyword default_namespace The L{pyxb.Namespace} instance to use as the
default namespace where there is no default namespace in scope.
If unspecified or C{None}, the namespace of the module containing
this function will be used.
@keyword location_base: An object to be recorded as the base of all
L{pyxb.utils.utility.Location} instances associated with events and
objects handled by the parser. You might pass the URI from which
the document was obtained.
"""
if pyxb.XMLStyle_saxer != pyxb._XMLStyle:
dom = pyxb.utils.domutils.StringToDOM(xml_text)
return CreateFromDOM(dom.documentElement)
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
saxer = pyxb.binding.saxer.make_parser(fallback_namespace=default_namespace, location_base=location_base)
handler = saxer.getContentHandler()
xmld = xml_text
if isinstance(xmld, unicode):
xmld = xmld.encode(pyxb._InputEncoding)
saxer.parse(io.BytesIO(xmld))
instance = handler.rootObject()
return instance
def CreateFromDOM (node, default_namespace=None):
"""Create a Python instance from the given DOM node.
The node tag must correspond to an element declaration in this module.
@deprecated: Forcing use of DOM interface is unnecessary; use L{CreateFromDocument}."""
if default_namespace is None:
default_namespace = Namespace.fallbackNamespace()
return pyxb.binding.basis.element.AnyCreateFromDOM(node, default_namespace)
# Complex type {http://euclid.esa.org/schema/pro/le3/cog}fofClusterInputCatalog with content type ELEMENT_ONLY
class fofClusterInputCatalog (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://euclid.esa.org/schema/pro/le3/cog}fofClusterInputCatalog with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'fofClusterInputCatalog')
_XSDLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 44, 4)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element PhotZcatalog uses Python identifier PhotZcatalog
__PhotZcatalog = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'PhotZcatalog'), 'PhotZcatalog', '__httpeuclid_esa_orgschemaprole3cog_fofClusterInputCatalog_PhotZcatalog', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 46, 12), )
PhotZcatalog = property(__PhotZcatalog.value, __PhotZcatalog.set, None, None)
# Element SpecZcatalog uses Python identifier SpecZcatalog
__SpecZcatalog = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'SpecZcatalog'), 'SpecZcatalog', '__httpeuclid_esa_orgschemaprole3cog_fofClusterInputCatalog_SpecZcatalog', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 47, 12), )
SpecZcatalog = property(__SpecZcatalog.value, __SpecZcatalog.set, None, None)
_ElementMap.update({
__PhotZcatalog.name() : __PhotZcatalog,
__SpecZcatalog.name() : __SpecZcatalog
})
_AttributeMap.update({
})
Namespace.addCategoryObject('typeBinding', u'fofClusterInputCatalog', fofClusterInputCatalog)
# Complex type {http://euclid.esa.org/schema/pro/le3/cog}fofParams with content type ELEMENT_ONLY
class fofParams (pyxb.binding.basis.complexTypeDefinition):
"""Complex type {http://euclid.esa.org/schema/pro/le3/cog}fofParams with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'fofParams')
_XSDLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 51, 4)
_ElementMap = {}
_AttributeMap = {}
# Base type is pyxb.binding.datatypes.anyType
# Element link_mode uses Python identifier link_mode
__link_mode = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'link_mode'), 'link_mode', '__httpeuclid_esa_orgschemaprole3cog_fofParams_link_mode', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 53, 12), )
link_mode = property(__link_mode.value, __link_mode.set, None, None)
# Element print_bin_data uses Python identifier print_bin_data
__print_bin_data = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'print_bin_data'), 'print_bin_data', '__httpeuclid_esa_orgschemaprole3cog_fofParams_print_bin_data', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 54, 12), )
print_bin_data = property(__print_bin_data.value, __print_bin_data.set, None, None)
# Element link_r uses Python identifier link_r
__link_r = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'link_r'), 'link_r', '__httpeuclid_esa_orgschemaprole3cog_fofParams_link_r', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 55, 12), )
link_r = property(__link_r.value, __link_r.set, None, None)
# Element link_z uses Python identifier link_z
__link_z = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'link_z'), 'link_z', '__httpeuclid_esa_orgschemaprole3cog_fofParams_link_z', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 56, 12), )
link_z = property(__link_z.value, __link_z.set, None, None)
# Element kdtree_depth uses Python identifier kdtree_depth
__kdtree_depth = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'kdtree_depth'), 'kdtree_depth', '__httpeuclid_esa_orgschemaprole3cog_fofParams_kdtree_depth', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 57, 12), )
kdtree_depth = property(__kdtree_depth.value, __kdtree_depth.set, None, None)
# Element min_ngal uses Python identifier min_ngal
__min_ngal = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'min_ngal'), 'min_ngal', '__httpeuclid_esa_orgschemaprole3cog_fofParams_min_ngal', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 58, 12), )
min_ngal = property(__min_ngal.value, __min_ngal.set, None, None)
# Element z_min uses Python identifier z_min
__z_min = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'z_min'), 'z_min', '__httpeuclid_esa_orgschemaprole3cog_fofParams_z_min', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 59, 12), )
z_min = property(__z_min.value, __z_min.set, None, None)
# Element z_max uses Python identifier z_max
__z_max = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'z_max'), 'z_max', '__httpeuclid_esa_orgschemaprole3cog_fofParams_z_max', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 60, 12), )
z_max = property(__z_max.value, __z_max.set, None, None)
# Element z_bin_size uses Python identifier z_bin_size
__z_bin_size = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'z_bin_size'), 'z_bin_size', '__httpeuclid_esa_orgschemaprole3cog_fofParams_z_bin_size', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 61, 12), )
z_bin_size = property(__z_bin_size.value, __z_bin_size.set, None, None)
# Element z_ref uses Python identifier z_ref
__z_ref = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'z_ref'), 'z_ref', '__httpeuclid_esa_orgschemaprole3cog_fofParams_z_ref', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 62, 12), )
z_ref = property(__z_ref.value, __z_ref.set, None, None)
# Element c uses Python identifier c
__c = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'c'), 'c', '__httpeuclid_esa_orgschemaprole3cog_fofParams_c', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 63, 12), )
c = property(__c.value, __c.set, None, None)
# Element H0 uses Python identifier H0
__H0 = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'H0'), 'H0', '__httpeuclid_esa_orgschemaprole3cog_fofParams_H0', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 64, 12), )
H0 = property(__H0.value, __H0.set, None, None)
# Element omega_m uses Python identifier omega_m
__omega_m = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'omega_m'), 'omega_m', '__httpeuclid_esa_orgschemaprole3cog_fofParams_omega_m', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 65, 12), )
omega_m = property(__omega_m.value, __omega_m.set, None, None)
# Element omega_l uses Python identifier omega_l
__omega_l = pyxb.binding.content.ElementDeclaration(pyxb.namespace.ExpandedName(None, u'omega_l'), 'omega_l', '__httpeuclid_esa_orgschemaprole3cog_fofParams_omega_l', False, pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 66, 12), )
omega_l = property(__omega_l.value, __omega_l.set, None, None)
_ElementMap.update({
__link_mode.name() : __link_mode,
__print_bin_data.name() : __print_bin_data,
__link_r.name() : __link_r,
__link_z.name() : __link_z,
__kdtree_depth.name() : __kdtree_depth,
__min_ngal.name() : __min_ngal,
__z_min.name() : __z_min,
__z_max.name() : __z_max,
__z_bin_size.name() : __z_bin_size,
__z_ref.name() : __z_ref,
__c.name() : __c,
__H0.name() : __H0,
__omega_m.name() : __omega_m,
__omega_l.name() : __omega_l
})
_AttributeMap.update({
})
Namespace.addCategoryObject('typeBinding', u'fofParams', fofParams)
# Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogGalaxyPhotoZLe3FitFile with content type ELEMENT_ONLY
class catalogGalaxyPhotoZLe3FitFile (_ImportedBinding_euclid_dm__fit.fitsFile):
"""Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogGalaxyPhotoZLe3FitFile with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'catalogGalaxyPhotoZLe3FitFile')
_XSDLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 17, 4)
_ElementMap = _ImportedBinding_euclid_dm__fit.fitsFile._ElementMap.copy()
_AttributeMap = _ImportedBinding_euclid_dm__fit.fitsFile._AttributeMap.copy()
# Base type is _ImportedBinding_euclid_dm__fit.fitsFile
# Element DataContainer (DataContainer) inherited from {http://euclid.esa.org/schema/bas/fit}fitsFile
# Attribute format is restricted from parent
# Attribute format uses Python identifier format
__format = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'format'), 'format', '__httpeuclid_esa_orgschemabasfit_fitsFile_format', _ImportedBinding_euclid_dm__fit.fitsFormatIdentifier, fixed=True, unicode_default=u'le3.catalog.galaxy.photoz', required=True)
__format._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 23, 16)
__format._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 23, 16)
format = property(__format.value, __format.set, None, None)
# Attribute version is restricted from parent
# Attribute version uses Python identifier version
__version = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'version'), 'version', '__httpeuclid_esa_orgschemabasfit_fitsFile_version', _ImportedBinding_euclid_dm__fit.fitsFormatVersion, fixed=True, unicode_default=u'0.1', required=True)
__version._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 25, 16)
__version._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 25, 16)
version = property(__version.value, __version.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__format.name() : __format,
__version.name() : __version
})
Namespace.addCategoryObject('typeBinding', u'catalogGalaxyPhotoZLe3FitFile', catalogGalaxyPhotoZLe3FitFile)
# Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogGalaxySpecZLe3FitFile with content type ELEMENT_ONLY
class catalogGalaxySpecZLe3FitFile (_ImportedBinding_euclid_dm__fit.fitsFile):
"""Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogGalaxySpecZLe3FitFile with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'catalogGalaxySpecZLe3FitFile')
_XSDLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 31, 4)
_ElementMap = _ImportedBinding_euclid_dm__fit.fitsFile._ElementMap.copy()
_AttributeMap = _ImportedBinding_euclid_dm__fit.fitsFile._AttributeMap.copy()
# Base type is _ImportedBinding_euclid_dm__fit.fitsFile
# Element DataContainer (DataContainer) inherited from {http://euclid.esa.org/schema/bas/fit}fitsFile
# Attribute format is restricted from parent
# Attribute format uses Python identifier format
__format = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'format'), 'format', '__httpeuclid_esa_orgschemabasfit_fitsFile_format', _ImportedBinding_euclid_dm__fit.fitsFormatIdentifier, fixed=True, unicode_default=u'le3.catalog.galaxy.specz', required=True)
__format._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 37, 16)
__format._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 37, 16)
format = property(__format.value, __format.set, None, None)
# Attribute version is restricted from parent
# Attribute version uses Python identifier version
__version = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'version'), 'version', '__httpeuclid_esa_orgschemabasfit_fitsFile_version', _ImportedBinding_euclid_dm__fit.fitsFormatVersion, fixed=True, unicode_default=u'0.1', required=True)
__version._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 39, 16)
__version._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 39, 16)
version = property(__version.value, __version.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__format.name() : __format,
__version.name() : __version
})
Namespace.addCategoryObject('typeBinding', u'catalogGalaxySpecZLe3FitFile', catalogGalaxySpecZLe3FitFile)
# Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogClusterLe3FitFile with content type ELEMENT_ONLY
class catalogClusterLe3FitFile (_ImportedBinding_euclid_dm__fit.fitsFile):
"""Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogClusterLe3FitFile with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'catalogClusterLe3FitFile')
_XSDLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 70, 4)
_ElementMap = _ImportedBinding_euclid_dm__fit.fitsFile._ElementMap.copy()
_AttributeMap = _ImportedBinding_euclid_dm__fit.fitsFile._AttributeMap.copy()
# Base type is _ImportedBinding_euclid_dm__fit.fitsFile
# Element DataContainer (DataContainer) inherited from {http://euclid.esa.org/schema/bas/fit}fitsFile
# Attribute format is restricted from parent
# Attribute format uses Python identifier format
__format = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'format'), 'format', '__httpeuclid_esa_orgschemabasfit_fitsFile_format', _ImportedBinding_euclid_dm__fit.fitsFormatIdentifier, fixed=True, unicode_default=u'le3.catalog.cluster', required=True)
__format._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 76, 16)
__format._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 76, 16)
format = property(__format.value, __format.set, None, None)
# Attribute version is restricted from parent
# Attribute version uses Python identifier version
__version = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'version'), 'version', '__httpeuclid_esa_orgschemabasfit_fitsFile_version', _ImportedBinding_euclid_dm__fit.fitsFormatVersion, fixed=True, unicode_default=u'0.1', required=True)
__version._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 78, 16)
__version._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 78, 16)
version = property(__version.value, __version.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__format.name() : __format,
__version.name() : __version
})
Namespace.addCategoryObject('typeBinding', u'catalogClusterLe3FitFile', catalogClusterLe3FitFile)
# Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogCluster_membersLe3FitFile with content type ELEMENT_ONLY
class catalogCluster_membersLe3FitFile (_ImportedBinding_euclid_dm__fit.fitsFile):
"""Complex type {http://euclid.esa.org/schema/pro/le3/cog}catalogCluster_membersLe3FitFile with content type ELEMENT_ONLY"""
_TypeDefinition = None
_ContentTypeTag = pyxb.binding.basis.complexTypeDefinition._CT_ELEMENT_ONLY
_Abstract = False
_ExpandedName = pyxb.namespace.ExpandedName(Namespace, u'catalogCluster_membersLe3FitFile')
_XSDLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 84, 4)
_ElementMap = _ImportedBinding_euclid_dm__fit.fitsFile._ElementMap.copy()
_AttributeMap = _ImportedBinding_euclid_dm__fit.fitsFile._AttributeMap.copy()
# Base type is _ImportedBinding_euclid_dm__fit.fitsFile
# Element DataContainer (DataContainer) inherited from {http://euclid.esa.org/schema/bas/fit}fitsFile
# Attribute format is restricted from parent
# Attribute format uses Python identifier format
__format = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'format'), 'format', '__httpeuclid_esa_orgschemabasfit_fitsFile_format', _ImportedBinding_euclid_dm__fit.fitsFormatIdentifier, fixed=True, unicode_default=u'le3.catalog.cluster_members', required=True)
__format._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 90, 16)
__format._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 90, 16)
format = property(__format.value, __format.set, None, None)
# Attribute version is restricted from parent
# Attribute version uses Python identifier version
__version = pyxb.binding.content.AttributeUse(pyxb.namespace.ExpandedName(None, u'version'), 'version', '__httpeuclid_esa_orgschemabasfit_fitsFile_version', _ImportedBinding_euclid_dm__fit.fitsFormatVersion, fixed=True, unicode_default=u'0.1', required=True)
__version._DeclarationLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 92, 16)
__version._UseLocation = pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 92, 16)
version = property(__version.value, __version.set, None, None)
_ElementMap.update({
})
_AttributeMap.update({
__format.name() : __format,
__version.name() : __version
})
Namespace.addCategoryObject('typeBinding', u'catalogCluster_membersLe3FitFile', catalogCluster_membersLe3FitFile)
fofClusterInputCatalog._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'PhotZcatalog'), catalogGalaxyPhotoZLe3FitFile, scope=fofClusterInputCatalog, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 46, 12)))
fofClusterInputCatalog._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'SpecZcatalog'), catalogGalaxySpecZLe3FitFile, scope=fofClusterInputCatalog, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 47, 12)))
def _BuildAutomaton ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton
del _BuildAutomaton
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(fofClusterInputCatalog._UseForTag(pyxb.namespace.ExpandedName(None, u'PhotZcatalog')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 46, 12))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
final_update = set()
symbol = pyxb.binding.content.ElementUse(fofClusterInputCatalog._UseForTag(pyxb.namespace.ExpandedName(None, u'SpecZcatalog')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 47, 12))
st_1 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_1)
transitions = []
st_0._set_transitionSet(transitions)
transitions = []
st_1._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
fofClusterInputCatalog._Automaton = _BuildAutomaton()
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'link_mode'), pyxb.binding.datatypes.string, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 53, 12), fixed=True, unicode_default=u'dynamic'))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'print_bin_data'), pyxb.binding.datatypes.string, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 54, 12), fixed=True, unicode_default=u'no'))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'link_r'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 55, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'link_z'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 56, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'kdtree_depth'), pyxb.binding.datatypes.integer, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 57, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'min_ngal'), pyxb.binding.datatypes.int, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 58, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'z_min'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 59, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'z_max'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 60, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'z_bin_size'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 61, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'z_ref'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 62, 12)))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'c'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 63, 12), fixed=True, unicode_default=u'2.997e5'))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'H0'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 64, 12), fixed=True, unicode_default=u'100.0'))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'omega_m'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 65, 12), fixed=True, unicode_default=u'0.3'))
fofParams._AddElement(pyxb.binding.basis.element(pyxb.namespace.ExpandedName(None, u'omega_l'), pyxb.binding.datatypes.double, scope=fofParams, location=pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 66, 12), fixed=True, unicode_default=u'0.7'))
def _BuildAutomaton_ ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_
del _BuildAutomaton_
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'link_mode')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 53, 12))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'print_bin_data')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 54, 12))
st_1 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_1)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'link_r')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 55, 12))
st_2 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_2)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'link_z')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 56, 12))
st_3 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_3)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'kdtree_depth')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 57, 12))
st_4 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_4)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'min_ngal')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 58, 12))
st_5 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_5)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'z_min')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 59, 12))
st_6 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_6)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'z_max')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 60, 12))
st_7 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_7)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'z_bin_size')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 61, 12))
st_8 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_8)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'z_ref')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 62, 12))
st_9 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_9)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'c')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 63, 12))
st_10 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_10)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'H0')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 64, 12))
st_11 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_11)
final_update = None
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'omega_m')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 65, 12))
st_12 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_12)
final_update = set()
symbol = pyxb.binding.content.ElementUse(fofParams._UseForTag(pyxb.namespace.ExpandedName(None, u'omega_l')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 66, 12))
st_13 = fac.State(symbol, is_initial=False, final_update=final_update, is_unordered_catenation=False)
states.append(st_13)
transitions = []
transitions.append(fac.Transition(st_1, [
]))
st_0._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_2, [
]))
st_1._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_3, [
]))
st_2._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_4, [
]))
st_3._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_5, [
]))
st_4._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_6, [
]))
st_5._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_7, [
]))
st_6._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_8, [
]))
st_7._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_9, [
]))
st_8._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_10, [
]))
st_9._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_11, [
]))
st_10._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_12, [
]))
st_11._set_transitionSet(transitions)
transitions = []
transitions.append(fac.Transition(st_13, [
]))
st_12._set_transitionSet(transitions)
transitions = []
st_13._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
fofParams._Automaton = _BuildAutomaton_()
def _BuildAutomaton_2 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_2
del _BuildAutomaton_2
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(catalogGalaxyPhotoZLe3FitFile._UseForTag(pyxb.namespace.ExpandedName(None, u'DataContainer')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 21, 20))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
catalogGalaxyPhotoZLe3FitFile._Automaton = _BuildAutomaton_2()
def _BuildAutomaton_3 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_3
del _BuildAutomaton_3
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(catalogGalaxySpecZLe3FitFile._UseForTag(pyxb.namespace.ExpandedName(None, u'DataContainer')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 35, 20))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
catalogGalaxySpecZLe3FitFile._Automaton = _BuildAutomaton_3()
def _BuildAutomaton_4 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_4
del _BuildAutomaton_4
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(catalogClusterLe3FitFile._UseForTag(pyxb.namespace.ExpandedName(None, u'DataContainer')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 74, 20))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
catalogClusterLe3FitFile._Automaton = _BuildAutomaton_4()
def _BuildAutomaton_5 ():
# Remove this helper function from the namespace after it is invoked
global _BuildAutomaton_5
del _BuildAutomaton_5
import pyxb.utils.fac as fac
counters = set()
states = []
final_update = set()
symbol = pyxb.binding.content.ElementUse(catalogCluster_membersLe3FitFile._UseForTag(pyxb.namespace.ExpandedName(None, u'DataContainer')), pyxb.utils.utility.Location(u'/home/sartor/workspace/EUCLID/svn_tot/schema/branches/challenge4/Dictionary/pro/le3/cog/euc-test-le3-cog.xsd', 88, 20))
st_0 = fac.State(symbol, is_initial=True, final_update=final_update, is_unordered_catenation=False)
states.append(st_0)
transitions = []
st_0._set_transitionSet(transitions)
return fac.Automaton(states, counters, False, containing_state=None)
catalogCluster_membersLe3FitFile._Automaton = _BuildAutomaton_5()
| 63.14095 | 362 | 0.772869 | 5,564 | 42,557 | 5.679907 | 0.061107 | 0.030757 | 0.025061 | 0.056957 | 0.828402 | 0.80698 | 0.792077 | 0.789197 | 0.783533 | 0.736955 | 0 | 0.02099 | 0.107761 | 42,557 | 673 | 363 | 63.23477 | 0.811303 | 0.126513 | 0 | 0.432763 | 1 | 0.180929 | 0.283892 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01956 | false | 0 | 0.085575 | 0 | 0.361858 | 0.012225 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.