content
stringlengths 7
1.05M
|
|---|
# Quantidade de primos no intervalo
# Escreva uma função que recebe dois números a e b e devolve a quantidade de números de primos p tais que a≤p≤b.
# O nome da sua função deve ser primos_entre.
def eh_primo (num):
if num < 2 or num > 2 and num % 2 == 0:
return False
else:
i = 3
while i < num:
if num % i == 0:
return False
i += 2
return True
def primos_entre (a, b):
count = 0
number = a
while number <= b:
if eh_primo(number):
count += 1
number += 1
return count
|
class Node:
def __init__(self, data):
self.data = data
self.left = self.right = None
def printSpiral(root):
h = height(root)
condi = False
for i in range(1, h + 1):
printGivenLevel(root, i, condi)
condi = not condi
def printGivenLevel(root, level, condi):
if root == None:
return
if level == 1:
print(root.data, end = " ")
elif level > 1:
if condi:
printGivenLevel(root.left, level - 1, condi)
printGivenLevel(root.right, level - 1, condi)
else:
printGivenLevel(root.right, level - 1, condi)
printGivenLevel(root.left, level - 1, condi)
def height(node):
if node == None:
return 0
else:
lheight = height(node.left)
rheight = height(node.right)
if lheight > rheight:
return(lheight + 1)
else:
return(rheight + 1)
if __name__ == '__main__':
root = Node(1)
root.left = Node(2)
root.right = Node(3)
root.left.left = Node(7)
root.left.right = Node(6)
root.right.left = Node(5)
root.right.right = Node(4)
printSpiral(root)
|
MAX_WORKER = 20
SUPPORTED_FEATURES = ['garbage_collection']
SUPPORTED_SCHEDULES = ['hours']
SUPPORTED_RESOURCE_TYPE = ['inventory.CloudService', 'inventory.CloudServiceType', 'inventory.Region']
DEFAULT_REGION = 'ap-northeast-2'
FILTER_FORMAT = []
CLOUD_SERVICE_GROUP_MAP = {
'IAM': 'IAMConnectorManager',
'DynamoDB': 'DynamoDBConnectorManager',
'Lambda': 'LambdaConnectorManager',
'CloudFront': 'CloudFrontConnectorManager',
'RDS': 'RDSConnectorManager',
'Route53': 'Route53ConnectorManager',
'S3': 'S3ConnectorManager',
'AutoScalingGroup': 'AutoScalingConnectorManager',
'ElastiCache': 'ElastiCacheConnectorManager',
'APIGateway': 'APIGatewayConnectorManager',
'DirectConnect': 'DirectConnectConnectorManager',
'EFS': 'EFSConnectorManager',
'DocumentDB': 'DocumentDBConnectorManager',
'ECS': 'ECSConnectorManager',
'Redshift': 'RedshiftConnectorManager',
'EKS': 'EKSConnectorManager',
'SQS': 'SQSConnectorManager',
'KMS': 'KMSConnectorManager',
'ECR': 'ECRConnectorManager',
'CloudTrail': 'CloudTrailConnectorManager',
'SNS': 'SNSConnectorManager',
'SecretsManager': 'SecretsManagerConnectorManager',
'ELB': 'ELBConnectorManager',
'EIP': 'EIPConnectorManager',
'EBS': 'EBSConnectorManager',
'VPC': 'VPCConnectorManager',
'EC2': 'EC2ConnectorManager',
'ACM': 'ACMConnectorManager',
'KinesisDataStream': 'KinesisDataStreamConnectorManager',
'MSK': 'MSKConnectorManager',
'KinesisFirehose': 'KinesisFirehoseConnectorManager',
'Lightsail': 'LightsailConnectorManager'
}
REGION_INFO = {
'us-east-1': {'name': 'US East (N. Virginia)',
'tags': {'latitude': '39.028760', 'longitude': '-77.458263', 'continent': 'north_america'}},
'us-east-2': {'name': 'US East (Ohio)',
'tags': {'latitude': '40.103564', 'longitude': '-83.200092', 'continent': 'north_america'}},
'us-west-1': {'name': 'US West (N. California)',
'tags': {'latitude': '37.242183', 'longitude': '-121.783380', 'continent': 'north_america'}},
'us-west-2': {'name': 'US West (Oregon)',
'tags': {'latitude': '45.841046', 'longitude': '-119.658093', 'continent': 'north_america'}},
'af-south-1': {'name': 'Africa (Cape Town)',
'tags': {'latitude': '-33.932268', 'longitude': '18.424434', 'continent': 'africa'}},
'ap-east-1': {'name': 'Asia Pacific (Hong Kong)',
'tags': {'latitude': '22.365560', 'longitude': '114.119420', 'continent': 'asia_pacific'}},
'ap-south-1': {'name': 'Asia Pacific (Mumbai)',
'tags': {'latitude': '19.147428', 'longitude': '73.013805', 'continent': 'asia_pacific'}},
'ap-northeast-3': {'name': 'Asia Pacific (Osaka-Local)',
'tags': {'latitude': '34.675638', 'longitude': '135.495706', 'continent': 'asia_pacific'}},
'ap-northeast-2': {'name': 'Asia Pacific (Seoul)',
'tags': {'latitude': '37.528547', 'longitude': '126.871867', 'continent': 'asia_pacific'}},
'ap-southeast-1': {'name': 'Asia Pacific (Singapore)',
'tags': {'latitude': '1.321259', 'longitude': '103.695942', 'continent': 'asia_pacific'}},
'ap-southeast-2': {'name': 'Asia Pacific (Sydney)',
'tags': {'latitude': '-33.921423', 'longitude': '151.188076', 'continent': 'asia_pacific'}},
'ap-northeast-1': {'name': 'Asia Pacific (Tokyo)',
'tags': {'latitude': '35.648411', 'longitude': '139.792566', 'continent': 'asia_pacific'}},
'ca-central-1': {'name': 'Canada (Central)',
'tags': {'latitude': '43.650803', 'longitude': '-79.361824', 'continent': 'north_america'}},
'cn-north-1': {'name': 'China (Beijing)',
'tags': {'latitude': '39.919635', 'longitude': '116.307237', 'continent': 'asia_pacific'}},
'cn-northwest-1': {'name': 'China (Ningxia)',
'tags': {'latitude': '37.354511', 'longitude': '106.106147', 'continent': 'asia_pacific'}},
'eu-central-1': {'name': 'Europe (Frankfurt)',
'tags': {'latitude': '50.098645', 'longitude': '8.632262', 'continent': 'europe'}},
'eu-west-1': {'name': 'Europe (Ireland)',
'tags': {'latitude': '53.330893', 'longitude': '-6.362217', 'continent': 'europe'}},
'eu-west-2': {'name': 'Europe (London)',
'tags': {'latitude': '51.519749', 'longitude': '-0.087804', 'continent': 'europe'}},
'eu-south-1': {'name': 'Europe (Milan)',
'tags': {'latitude': '45.448648', 'longitude': '9.147316', 'continent': 'europe'}},
'eu-west-3': {'name': 'Europe (Paris)',
'tags': {'latitude': '48.905302', 'longitude': '2.369778', 'continent': 'europe'}},
'eu-north-1': {'name': 'Europe (Stockholm)',
'tags': {'latitude': '59.263542', 'longitude': '18.104861', 'continent': 'europe'}},
'me-south-1': {'name': 'Middle East (Bahrain)',
'tags': {'latitude': '26.240945', 'longitude': '50.586321', 'continent': 'middle_east'}},
'sa-east-1': {'name': 'South America (São Paulo)',
'tags': {'latitude': '-23.493549', 'longitude': '-46.809319', 'continent': 'south_america'}},
'us-gov-east-1': {'name': 'AWS GovCloud (US-East)',
'tags': {'continent': 'north_america'}},
'us-gov-west-1': {'name': 'AWS GovCloud (US)',
'tags': {'continent': 'north_america'}},
'global': {'name': 'Global'}
}
|
# Course title: Udemy Course: Introduction to the Python Language
# Instructor: Prof. Dr. Diego Mariano
# Example adapted by: Charles Fernandes de Souza
# Date: July 10, 2021
# Print Message
print("Hello, World!")
print("Running Google Colab with Python")
|
def merge(lst1,lst2):
lst = []
while lst1 and lst2:
if lst1[0] < lst2[0]:
lst.append(lst1[0])
lst1.remove(lst1[0])
elif lst1[0] > lst2[0]:
lst.append(lst2[0])
lst2.remove(lst2[0])
else:
lst.append(lst1[0])
lst1.remove(lst1[0])
lst2.remove(lst2[0])
if lst1:
lst.extend(lst1)
elif lst2:
lst.extend(lst2)
return lst
def mergeSort(lst):
if len(lst) <= 1:
return lst
mid = int(len(lst)/2)
left = mergeSort(lst[:mid])
right = mergeSort(lst[mid:])
return merge(left,right)
lst = list(map(int,raw_input('Enter the number list: ').split()))
print(mergeSort(lst))
|
class Alternativa():
def __init__(self, contenido: str, ayuda: str):
self.contenido = contenido
self.ayuda= ayuda
def mostrar_alternativa(self) -> None:
print(self.contenido)
if self.ayuda:
print(f"({self.ayuda})")
|
"""
Specification for objects to be accessed, for the purpose of dataframe
interchange between libraries, via the ``__dataframe__`` method on a libraries'
data frame object.
For guiding requirements, see https://github.com/data-apis/dataframe-api/pull/35
Concepts in this design
-----------------------
1. A `Buffer` class. A *buffer* is a contiguous block of memory - this is the
only thing that actually maps to a 1-D array in a sense that it could be
converted to NumPy, CuPy, et al.
2. A `Column` class. A *column* has a single dtype. It can consist
of multiple *chunks*. A single chunk of a column (which may be the whole
column if ``num_chunks == 1``) is modeled as again a `Column` instance, and
contains 1 data *buffer* and (optionally) one *mask* for missing data.
3. A `DataFrame` class. A *data frame* is an ordered collection of *columns*,
which are identified with names that are unique strings. All the data
frame's rows are the same length. It can consist of multiple *chunks*. A
single chunk of a data frame is modeled as again a `DataFrame` instance.
4. A *mask* concept. A *mask* of a single-chunk column is a *buffer*.
5. A *chunk* concept. A *chunk* is a sub-dividing element that can be applied
to a *data frame* or a *column*.
Note that the only way to access these objects is through a call to
``__dataframe__`` on a data frame object. This is NOT meant as public API;
only think of instances of the different classes here to describe the API of
what is returned by a call to ``__dataframe__``. They are the concepts needed
to capture the memory layout and data access of a data frame.
Design decisions
----------------
**1. Use a separate column abstraction in addition to a dataframe interface.**
Rationales:
- This is how it works in R, Julia and Apache Arrow.
- Semantically most existing applications and users treat a column similar to a 1-D array
- We should be able to connect a column to the array data interchange mechanism(s)
Note that this does not imply a library must have such a public user-facing
abstraction (ex. ``pandas.Series``) - it can only be accessed via ``__dataframe__``.
**2. Use methods and properties on an opaque object rather than returning
hierarchical dictionaries describing memory**
This is better for implementations that may rely on, for example, lazy
computation.
**3. No row names. If a library uses row names, use a regular column for them.**
See discussion at https://github.com/wesm/dataframe-protocol/pull/1/files#r394316241
Optional row names are not a good idea, because people will assume they're present
(see cuDF experience, forced to add because pandas has them).
Requiring row names seems worse than leaving them out.
Note that row labels could be added in the future - right now there's no clear
requirements for more complex row labels that cannot be represented by a single
column. These do exist, for example Modin has has table and tree-based row
labels.
"""
class Buffer:
"""
Data in the buffer is guaranteed to be contiguous in memory.
Note that there is no dtype attribute present, a buffer can be thought of
as simply a block of memory. However, if the column that the buffer is
attached to has a dtype that's supported by DLPack and ``__dlpack__`` is
implemented, then that dtype information will be contained in the return
value from ``__dlpack__``.
This distinction is useful to support both data exchange via DLPack on a
buffer and (b) dtypes like variable-length strings which do not have a
fixed number of bytes per element.
"""
@property
def bufsize(self) -> int:
"""
Buffer size in bytes
"""
pass
@property
def ptr(self) -> int:
"""
Pointer to start of the buffer as an integer
"""
pass
def __dlpack__(self):
"""
Produce DLPack capsule (see array API standard).
Raises:
- TypeError : if the buffer contains unsupported dtypes.
- NotImplementedError : if DLPack support is not implemented
Useful to have to connect to array libraries. Support optional because
it's not completely trivial to implement for a Python-only library.
"""
raise NotImplementedError("__dlpack__")
def __dlpack_device__(self) -> Tuple[enum.IntEnum, int]:
"""
Device type and device ID for where the data in the buffer resides.
Uses device type codes matching DLPack. Enum members are::
- CPU = 1
- CUDA = 2
- CPU_PINNED = 3
- OPENCL = 4
- VULKAN = 7
- METAL = 8
- VPI = 9
- ROCM = 10
Note: must be implemented even if ``__dlpack__`` is not.
"""
pass
class Column:
"""
A column object, with only the methods and properties required by the
interchange protocol defined.
A column can contain one or more chunks. Each chunk can contain either one
or two buffers - one data buffer and (depending on null representation) it
may have a mask buffer.
TBD: Arrow has a separate "null" dtype, and has no separate mask concept.
Instead, it seems to use "children" for both columns with a bit mask,
and for nested dtypes. Unclear whether this is elegant or confusing.
This design requires checking the null representation explicitly.
The Arrow design requires checking:
1. the ARROW_FLAG_NULLABLE (for sentinel values)
2. if a column has two children, combined with one of those children
having a null dtype.
Making the mask concept explicit seems useful. One null dtype would
not be enough to cover both bit and byte masks, so that would mean
even more checking if we did it the Arrow way.
TBD: there's also the "chunk" concept here, which is implicit in Arrow as
multiple buffers per array (= column here). Semantically it may make
sense to have both: chunks were meant for example for lazy evaluation
of data which doesn't fit in memory, while multiple buffers per column
could also come from doing a selection operation on a single
contiguous buffer.
Given these concepts, one would expect chunks to be all of the same
size (say a 10,000 row dataframe could have 10 chunks of 1,000 rows),
while multiple buffers could have data-dependent lengths. Not an issue
in pandas if one column is backed by a single NumPy array, but in
Arrow it seems possible.
Are multiple chunks *and* multiple buffers per column necessary for
the purposes of this interchange protocol, or must producers either
reuse the chunk concept for this or copy the data?
Note: this Column object can only be produced by ``__dataframe__``, so
doesn't need its own version or ``__column__`` protocol.
"""
@property
def size(self) -> Optional[int]:
"""
Size of the column, in elements.
Corresponds to DataFrame.num_rows() if column is a single chunk;
equal to size of this current chunk otherwise.
"""
pass
@property
def offset(self) -> int:
"""
Offset of first element
May be > 0 if using chunks; for example for a column with N chunks of
equal size M (only the last chunk may be shorter),
``offset = n * M``, ``n = 0 .. N-1``.
"""
pass
@property
def dtype(self) -> Tuple[enum.IntEnum, int, str, str]:
"""
Dtype description as a tuple ``(kind, bit-width, format string, endianness)``
Kind :
- INT = 0
- UINT = 1
- FLOAT = 2
- BOOL = 20
- STRING = 21 # UTF-8
- DATETIME = 22
- CATEGORICAL = 23
Bit-width : the number of bits as an integer
Format string : data type description format string in Apache Arrow C
Data Interface format.
Endianness : current only native endianness (``=``) is supported
Notes:
- Kind specifiers are aligned with DLPack where possible (hence the
jump to 20, leave enough room for future extension)
- Masks must be specified as boolean with either bit width 1 (for bit
masks) or 8 (for byte masks).
- Dtype width in bits was preferred over bytes
- Endianness isn't too useful, but included now in case in the future
we need to support non-native endianness
- Went with Apache Arrow format strings over NumPy format strings
because they're more complete from a dataframe perspective
- Format strings are mostly useful for datetime specification, and
for categoricals.
- For categoricals, the format string describes the type of the
categorical in the data buffer. In case of a separate encoding of
the categorical (e.g. an integer to string mapping), this can
be derived from ``self.describe_categorical``.
- Data types not included: complex, Arrow-style null, binary, decimal,
and nested (list, struct, map, union) dtypes.
"""
pass
@property
def describe_categorical(self) -> dict[bool, bool, Optional[dict]]:
"""
If the dtype is categorical, there are two options:
- There are only values in the data buffer.
- There is a separate dictionary-style encoding for categorical values.
Raises RuntimeError if the dtype is not categorical
Content of returned dict:
- "is_ordered" : bool, whether the ordering of dictionary indices is
semantically meaningful.
- "is_dictionary" : bool, whether a dictionary-style mapping of
categorical values to other objects exists
- "mapping" : dict, Python-level only (e.g. ``{int: str}``).
None if not a dictionary-style categorical.
TBD: are there any other in-memory representations that are needed?
"""
pass
@property
def describe_null(self) -> Tuple[int, Any]:
"""
Return the missing value (or "null") representation the column dtype
uses, as a tuple ``(kind, value)``.
Kind:
- 0 : non-nullable
- 1 : NaN/NaT
- 2 : sentinel value
- 3 : bit mask
- 4 : byte mask
Value : if kind is "sentinel value", the actual value. None otherwise.
"""
pass
@property
def null_count(self) -> Optional[int]:
"""
Number of null elements, if known.
Note: Arrow uses -1 to indicate "unknown", but None seems cleaner.
"""
pass
def num_chunks(self) -> int:
"""
Return the number of chunks the column consists of.
"""
pass
def get_chunks(self, n_chunks : Optional[int] = None) -> Iterable[Column]:
"""
Return an iterator yielding the chunks.
See `DataFrame.get_chunks` for details on ``n_chunks``.
"""
pass
def get_data_buffer(self) -> Buffer:
"""
Return the buffer containing the data.
"""
pass
def get_mask(self) -> Buffer:
"""
Return the buffer containing the mask values indicating missing data.
Raises RuntimeError if null representation is not a bit or byte mask.
"""
pass
# def get_children(self) -> Iterable[Column]:
# """
# Children columns underneath the column, each object in this iterator
# must adhere to the column specification
# """
# pass
class DataFrame:
"""
A data frame class, with only the methods required by the interchange
protocol defined.
A "data frame" represents an ordered collection of named columns.
A column's "name" must be a unique string.
Columns may be accessed by name or by position.
This could be a public data frame class, or an object with the methods and
attributes defined on this DataFrame class could be returned from the
``__dataframe__`` method of a public data frame class in a library adhering
to the dataframe interchange protocol specification.
"""
def __dataframe__(self, nan_as_null : bool = False) -> dict:
"""
Produces a dictionary object following the dataframe protocol spec
``nan_as_null`` is a keyword intended for the consumer to tell the
producer to overwrite null values in the data with ``NaN`` (or ``NaT``).
It is intended for cases where the consumer does not support the bit
mask or byte mask that is the producer's native representation.
"""
self._nan_as_null = nan_as_null
return {
"dataframe": self, # DataFrame object adhering to the protocol
"version": 0 # Version number of the protocol
}
def num_columns(self) -> int:
"""
Return the number of columns in the DataFrame
"""
pass
def num_rows(self) -> Optional[int]:
# TODO: not happy with Optional, but need to flag it may be expensive
# why include it if it may be None - what do we expect consumers
# to do here?
"""
Return the number of rows in the DataFrame, if available
"""
pass
def num_chunks(self) -> int:
"""
Return the number of chunks the DataFrame consists of
"""
pass
def column_names(self) -> Iterable[str]:
"""
Return an iterator yielding the column names.
"""
pass
def get_column(self, i: int) -> Column:
"""
Return the column at the indicated position.
"""
pass
def get_column_by_name(self, name: str) -> Column:
"""
Return the column whose name is the indicated name.
"""
pass
def get_columns(self) -> Iterable[Column]:
"""
Return an iterator yielding the columns.
"""
pass
def select_columns(self, indices: Sequence[int]) -> DataFrame:
"""
Create a new DataFrame by selecting a subset of columns by index
"""
pass
def select_columns_by_name(self, names: Sequence[str]) -> DataFrame:
"""
Create a new DataFrame by selecting a subset of columns by name.
"""
pass
def get_chunks(self, n_chunks : Optional[int] = None) -> Iterable[DataFrame]:
"""
Return an iterator yielding the chunks.
By default (None), yields the chunks that the data is stored as by the
producer. If given, ``n_chunks`` must be a multiple of
``self.num_chunks()``, meaning the producer must subdivide each chunk
before yielding it.
"""
pass
|
PAD = 0
EOS = 1
BOS = 2
UNK = 3
UNK_WORD = '<unk>'
PAD_WORD = '<pad>'
BOS_WORD = '<s>'
EOS_WORD = '</s>'
NEG_INF = -10000 # -float('inf')
|
# !/usr/bin/env python3
#############################################################################
# #
# Program purpose: Prints even numbers in list before an exception. #
# The exception being inclusive. #
# Program Author : Happi Yvan <ivensteinpoker@gmail.com> #
# Creation Date : July 17, 2019 #
# #
#############################################################################
# URL: https://www.w3resource.com/python-exercises/python-basic-exercises.php
def print_even(num, exc):
for x in num:
if int(x) % 2 == 0 and x != exc:
print(f"{x} ")
elif x == exc:
print(f"{x} ")
break
if __name__ == "__main__":
numbers = [
386, 462, 47, 418, 907, 344, 236, 375, 823, 566, 597, 978, 328, 615, 953, 345,
399, 162, 758, 219, 918, 237, 412, 566, 826, 248, 866, 950, 626, 949, 687, 217,
815, 67, 104, 58, 512, 24, 892, 894, 767, 553, 81, 379, 843, 831, 445, 742, 717,
958, 743, 527]
print_even(numbers, 237)
|
employees = []
with open("employees.txt", mode="r") as myfile:
for line in myfile:
employee = line.strip().split(",")
full_name, salary, birth_year, department, full_time = employee
employees.append((full_name, float(salary), int(birth_year),
department, full_time == "FULL_TIME"))
print(employees)
|
#Escribir un programa que almacene las asignaturas de un curso (por ejemplo Matemáticas, Física, Química, Historia y Lengua) en una lista y la muestre por pantalla.
condicion = True
lista = []
while condicion:
asignatura = input("Ingrese la Asignatura \n")
lista.append(asignatura)
respuesta = input("Ingresar otra asignatura? \n 0-Si \n Otro-No \n")
if int(respuesta) != 0:
condicion = False
print(lista)
|
a=[]
n=int(input("Enter no. of elements: "))
print("Enter array:")
for x in range(n):
element=int(input())
a.append(element)
a.sort()
b=[]
for i in range(0,len(a)-1):
if a[i]==a[i+1]:
b.append(a[i])
b=list(set(b))
a=set(a)
while(len(b)>0):
a.remove(b[0])
b.pop(0)
print("Output:",end=" ")
print(sum(a))
|
N, K = map(int, input().split())
A = list(map(int, input().split()))
bcs = [0] * 41
for i in range(N):
a = A[i]
for j in range(41):
if a & (1 << j) != 0:
bcs[j] += 1
X = 0
for i in range(40, -1, -1):
if bcs[i] >= N - bcs[i]:
continue
t = 1 << i
if X + t <= K:
X += t
result = 0
for i in range(N):
result += X ^ A[i]
print(result)
|
# MAXSPPROD
# https://www.interviewbit.com/problems/maxspprod/
#
# You are given an array A containing N integers. The special product of each ith integer in
# this array is defined as the product of the following:<ul>
#
# LeftSpecialValue: For an index i, it is defined as the index j such that A[j]>A[i] (i>j).
# If multiple A[j]’s are present in multiple positions, the LeftSpecialValue is the maximum value of j.
#
# RightSpecialValue: For an index i, it is defined as the index j such that A[j]>A[i] (j>i). If
# multiple A[j]s are present in multiple positions, the RightSpecialValue is the minimum value of j.
#
# Write a program to find the maximum special product of any integer in the array.
#
# Input: You will receive array of integers as argument to function.
#
# Return: Maximum special product of any integer in the array modulo 1000000007.
#
# Note: If j does not exist, the LeftSpecialValue and RightSpecialValue are considered to be 0.
#
# Constraints 1 <= N <= 10^5 1 <= A[i] <= 10^9
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
class Solution:
def _first_greater(self, A, prev=True):
stack, ans = list(), [0] * len(A)
it = range(len(A)) if prev else range(len(A)-1, -1, -1)
for i in it:
while stack and A[i] >= A[stack[-1]]:
stack.pop()
ans[i] = stack[-1] if stack else 0
stack.append(i)
return ans
# @param A : list of integers
# @return an integer
def maxSpecialProduct(self, A):
left = self._first_greater(A)
right = self._first_greater(A, prev=False)
maxx = -float('inf')
for l, r in zip(left, right):
maxx = max(l * r, maxx)
return maxx % 1000000007
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
|
def fuzzy_merge(df_1, df_2, key1, key2, threshold=90, limit=2):
"""
:param df_1: the left table to join
:param df_2: the right table to join
:param key1: key column of the left table
:param key2: key column of the right table
:param threshold: how close the matches should be to return a match, based on Levenshtein distance
:param limit: the amount of matches that will get returned, these are sorted high to low
:return: dataframe with boths keys and matches
"""
s = df_2[key2].tolist()
m = df_1[key1].apply(lambda x: process.extract(x, s, limit=limit))
df_1['matches'] = m
m2 = df_1['matches'].apply(lambda x: ', '.join([i[0] for i in x if i[1] >= threshold]))
df_1['matches'] = m2
return df_1
|
# Assignment 1
def assignment_1():
print("Working on assignment 1\n")
# Assignment 2
def number_is_even(counter):
if counter % 2 == 0:
return True
else:
return False
def assignment_2():
for counter in range (1,21):
if number_is_even(counter):
print("Even number:", counter)
# Assignment 3
def assignment_3():
sum = 1
for counter in range(1, 6):
sum *= counter
print("Value of multiplication is", sum)
sum = 0
for counter in range(1,6):
sum += counter
print("Value of addition is", sum)
def main():
assignment_1()
assignment_2()
assignment_3()
print("End of assignments")
if __name__ == '__main__':
main()
|
class Solution:
def getSum(self, a: int, b: int) -> int:
a &= 0xFFFFFFFF
b &= 0xFFFFFFFF
while b:
carry = a & b
a = a ^ b
b = ((carry) << 1) & 0xFFFFFFFF
return a if a < 0x80000000 else ~(a ^ 0xFFFFFFFF)
|
x = input('escriu alguna cosa: ')
print('el tipus primitiu d’aquest valor és', type(x))
print('el que heu escrit només té espais?', x.isspace())
print('el que heu escrit és numèric?', x.isnumeric())
print('el que heu escrit és alfabètic?', x.isalpha())
print('el que heu escrit és alfanumèric?', x.isalnum())
print('és el que heu escrit amb majúscules?', x.isupper())
print('és el que heu escrit amb minúscules?', x.islower())
print('el que heu escrit amb la primera lletra majúscula?', x.istitle())
|
a=1
b=3
c=a+b
print(c)
|
UL = {}
MT = {
'start_message' : ['Welcome to the StolenBottle Bot. I was created to store and reproduce all content that you and '
'other users share with me.\n'
'Send me whatever you want (text, audio, text, etc.) and I will reply with something from mine archive.\n'
'/help - show help\n/top - top of senders\n/lang - switch language',
'RUS',
'UKR']
}
|
michelson_coding_test_case = """from unittest import TestCase
from tests import get_data
from pytezos.michelson.micheline import micheline_to_michelson, michelson_to_micheline
class MichelsonCodingTest{case}(TestCase):
def setUp(self):
self.maxDiff = None
"""
test_michelson_parse = """
def test_michelson_parse_{case}(self):
expected = get_data(
path='{json_path}')
actual = michelson_to_micheline(get_data(
path='{tz_path}'))
self.assertEqual(expected, actual)
"""
test_michelson_format = """
def test_michelson_format_{case}(self):
expected = get_data(
path='{tz_path}')
actual = micheline_to_michelson(get_data(
path='{json_path}'),
inline=True)
self.assertEqual(expected, actual)
"""
test_michelson_inverse = """
def test_michelson_inverse_{case}(self):
expected = get_data(
path='{json_path}')
actual = michelson_to_micheline(micheline_to_michelson(expected))
self.assertEqual(expected, actual)
"""
micheline_coding_test_case = """from unittest import TestCase
from tests import get_data
from pytezos.michelson.converter import build_schema, encode_micheline, decode_micheline
class MichelineCodingTest{case}(TestCase):
@classmethod
def setUpClass(cls):
cls.maxDiff = None
code = get_data(
path='{json_path}')
cls.schema = dict(
parameter=build_schema(code[0]),
storage=build_schema(code[1])
)
"""
test_micheline_inverse = """
def test_micheline_inverse_{case}(self):
expected = get_data(
path='{json_path}')
decoded = decode_micheline(expected, self.schema['{section}'])
actual = encode_micheline(decoded, self.schema['{section}'])
self.assertEqual(expected, actual)
"""
operation_forging_test_case = """from unittest import TestCase
from tests import get_data
from pytezos.operation.forge import forge_operation_group
class OperationForgingTest{case}(TestCase):
def setUp(self):
self.maxDiff = None
def test_forge_{case}(self):
expected = get_data(
path='{hex_path}')
actual = forge_operation_group(get_data(
path='{json_path}'))
self.assertEqual(expected, actual)
"""
big_map_test_case = """from unittest import TestCase
from tests import get_data
from pytezos.michelson.contract import ContractStorage
class BigMapCodingTest{case}(TestCase):
def setUp(self):
self.maxDiff = None
def test_big_map_{case}(self):
section = get_data(
path='{code_path}')
storage = ContractStorage(section)
big_map_diff = get_data(
path='{diff_path}')
expected = [
dict(key=item['key'], value=item.get('value'))
for item in big_map_diff
]
big_map = storage.big_map_diff_decode(expected)
actual = storage.big_map_diff_encode(big_map)
self.assertEqual(expected, actual)
"""
|
"""
Script that will navigate the "maze" in testworld
"""
def navigate(env, callback):
for _ in range(100):
callback(env.step([0, 0]))
for _ in range(11):
callback(env.step([0, -30]))
for _ in range(10):
callback(env.step([0, 0]))
for _ in range(123):
callback(env.step([80, 0]))
for _ in range(26):
callback(env.step([0, 0]))
for _ in range(10):
callback(env.step([0, 30]))
for _ in range(100):
callback(env.step([150, 0]))
for _ in range(100):
callback(env.step([0, 0]))
for _ in range(10):
callback(env.step([0, 30]))
for _ in range(7):
callback(env.step([0, 0]))
for _ in range(100):
callback(env.step([100, 0]))
for _ in range(30):
callback(env.step([0, 0]))
|
#!/usr/bin/python
# list_sorting.py
numbers = [4, 3, 6, 1, 2, 0, 5 ]
print (numbers)
numbers.sort()
print (numbers)
|
# 堆排序
def buildMaxHeap(lists):
"""
构造最大堆
:param lists:
:return:
"""
llen = len(lists)
for i in range(llen >> 1, -1, -1):
heapify(lists, i, llen)
def heapify(lists, i, llen):
"""
堆化
:param lists:
:param i:
:return:
"""
largest = i
left = 2 * i + 1
right = 2 * i + 2
if left < llen and lists[left] > lists[largest]:
largest = left
if right < llen and lists[right] > lists[largest]:
largest = right
if largest != i :
swap(lists, i, largest)
heapify(lists, largest, llen)
def swap(lists, i, j):
"""
交换列表中的两个元素
:param lists:
:param i:
:param j:
:return:
"""
lists[i], lists[j] = lists[j], lists[i]
def heapSort(lists):
"""
堆排序,从小到大进行排序
需要构造一个最大堆,然后首位交换,然后lists 的长度-1, 重复这个过程,直至lists中只剩一个元素
:param lists:
:return:
"""
llen = len(lists)
buildMaxHeap(lists)
for i in range(len(lists)-1, 0, -1):
swap(lists, 0, i)
llen -= 1
heapify(lists, 0, llen)
return lists
if __name__ == "__main__":
arr = [8, 3, 5, 1, 6, 4, 9, 0, 2]
b = heapSort(arr)
print(b)
|
def read_file(path):
f = open(path, 'a+')
f.seek(0)
files = [line for line in f.readlines()]
f.close()
return files
|
#
# PySNMP MIB module ELTEX-MES-BRIDGE-ERPS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-MES-BRIDGE-ERPS-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:46:17 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection")
eltMesBridgeExtMIBObjects, = mibBuilder.importSymbols("ELTEX-MES-BRIDGE-EXT-MIB", "eltMesBridgeExtMIBObjects")
VlanIdOrNone, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanIdOrNone")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
iso, NotificationType, Integer32, Counter64, MibIdentifier, TimeTicks, Counter32, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, ModuleIdentity, Gauge32, Bits, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "Integer32", "Counter64", "MibIdentifier", "TimeTicks", "Counter32", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "ModuleIdentity", "Gauge32", "Bits", "IpAddress")
TruthValue, RowStatus, MacAddress, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "RowStatus", "MacAddress", "TextualConvention", "DisplayString")
eltMesErpsMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1))
eltMesErpsMIB.setRevisions(('2015-11-19 00:00',))
if mibBuilder.loadTexts: eltMesErpsMIB.setLastUpdated('201511190000Z')
if mibBuilder.loadTexts: eltMesErpsMIB.setOrganization('Eltex Ltd.')
eltMesErpsCtrl = MibIdentifier((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1))
eltMesErpsInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 2))
eltMesErpsMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3))
eltMesErpsNotify = MibIdentifier((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4))
class EltErpsEnabledState(TextualConvention, Integer32):
reference = 'ITU-T G.8032'
status = 'deprecated'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("enabled", 1), ("disabled", 2))
class EltErpsMgmtRAPSPortState(TextualConvention, Integer32):
reference = 'ITU-T G.8032'
status = 'deprecated'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))
namedValues = NamedValues(("fowarding", 1), ("blocking", 2), ("signal-fail", 3), ("manual-switch", 4), ("forced-switch", 5))
class EltErpsMgmtRAPSPortId(TextualConvention, Integer32):
reference = 'ITU-T G.8032'
status = 'deprecated'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3))
namedValues = NamedValues(("none", 1), ("west", 2), ("east", 3))
eltErpsAdminState = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1, 1), EltErpsEnabledState().clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsAdminState.setStatus('deprecated')
eltErpsLogState = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1, 2), EltErpsEnabledState().clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsLogState.setStatus('deprecated')
eltErpsTrapState = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1, 3), EltErpsEnabledState().clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsTrapState.setStatus('deprecated')
eltErpsPendingAction = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("copyPendingActive", 1), ("copyActivePending", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsPendingAction.setStatus('deprecated')
eltErpsPendingActionVlan = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1, 6), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsPendingActionVlan.setStatus('deprecated')
eltErpsGetConfigId = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("pending", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsGetConfigId.setStatus('deprecated')
eltErpsMgmtRAPSVlanTable = MibTable((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1), )
if mibBuilder.loadTexts: eltErpsMgmtRAPSVlanTable.setStatus('deprecated')
eltErpsMgmtRAPSVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1), ).setIndexNames((0, "ELTEX-MES-BRIDGE-ERPS-MIB", "eltErpsMgmtRAPSVlanId"))
if mibBuilder.loadTexts: eltErpsMgmtRAPSVlanEntry.setStatus('deprecated')
eltErpsMgmtRAPSVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: eltErpsMgmtRAPSVlanId.setStatus('deprecated')
eltErpsMgmtRAPSWestPort = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 65535), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSWestPort.setStatus('deprecated')
eltErpsMgmtRAPSWestPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 3), EltErpsMgmtRAPSPortState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: eltErpsMgmtRAPSWestPortState.setStatus('deprecated')
eltErpsMgmtRAPSEastPort = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 65535), ))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSEastPort.setStatus('deprecated')
eltErpsMgmtRAPSEastPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 5), EltErpsMgmtRAPSPortState()).setMaxAccess("readonly")
if mibBuilder.loadTexts: eltErpsMgmtRAPSEastPortState.setStatus('deprecated')
eltErpsMgmtRAPSRPLPort = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 6), EltErpsMgmtRAPSPortId().clone('none')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRPLPort.setStatus('deprecated')
eltErpsMgmtRAPSRPLOwnerAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 7), EltErpsEnabledState().clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRPLOwnerAdminState.setStatus('deprecated')
eltErpsMgmtRAPSRingMEL = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(1)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRingMEL.setStatus('deprecated')
eltErpsMgmtRAPSHoldOffTime = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSHoldOffTime.setStatus('deprecated')
eltErpsMgmtRAPSGuardTime = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 2000)).clone(500)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSGuardTime.setStatus('deprecated')
eltErpsMgmtRAPSWTRTime = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12)).clone(5)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSWTRTime.setStatus('deprecated')
eltErpsMgmtRAPSRingState = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("init", 1), ("idle", 2), ("protection", 3), ("manual-switch", 4), ("forced-switch", 5), ("pending", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRingState.setStatus('deprecated')
eltErpsMgmtRAPSRingAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 13), EltErpsEnabledState().clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRingAdminState.setStatus('deprecated')
eltErpsMgmtRAPSRPLOwnerOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2), ("disabled", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRPLOwnerOperStatus.setStatus('deprecated')
eltErpsMgmtRAPSProtectionVlanRangeList1to1024 = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 15), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSProtectionVlanRangeList1to1024.setStatus('deprecated')
eltErpsMgmtRAPSProtectionVlanRangeList1025to2048 = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 16), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSProtectionVlanRangeList1025to2048.setStatus('deprecated')
eltErpsMgmtRAPSProtectionVlanRangeList2049to3072 = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 17), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSProtectionVlanRangeList2049to3072.setStatus('deprecated')
eltErpsMgmtRAPSProtectionVlanRangeList3073to4094 = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 18), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSProtectionVlanRangeList3073to4094.setStatus('deprecated')
eltErpsMgmtRAPSRevertive = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 19), TruthValue().clone('true')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRevertive.setStatus('deprecated')
eltErpsMgmtRAPSProtocolVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(1, 1), ValueRangeConstraint(2, 2), )).clone(2)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSProtocolVersion.setStatus('deprecated')
eltErpsMgmtRAPSPortForcedSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 21), EltErpsMgmtRAPSPortId().clone('none')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSPortForcedSwitch.setStatus('deprecated')
eltErpsMgmtRAPSPortManualSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 22), EltErpsMgmtRAPSPortId().clone('none')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtRAPSPortManualSwitch.setStatus('deprecated')
eltErpsMgmtRAPSRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 1, 1, 23), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: eltErpsMgmtRAPSRowStatus.setStatus('deprecated')
eltErpsMgmtSubRingCtrlTable = MibTable((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 2), )
if mibBuilder.loadTexts: eltErpsMgmtSubRingCtrlTable.setStatus('deprecated')
eltErpsMgmtSubRingCtrlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 2, 1), ).setIndexNames((0, "ELTEX-MES-BRIDGE-ERPS-MIB", "eltErpsMgmtSubRingCtrlRAPSVlanId"), (0, "ELTEX-MES-BRIDGE-ERPS-MIB", "eltErpsMgmtSubRingCtrlSubRingRAPSVlanId"))
if mibBuilder.loadTexts: eltErpsMgmtSubRingCtrlEntry.setStatus('deprecated')
eltErpsMgmtSubRingCtrlRAPSVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 2, 1, 1), Integer32())
if mibBuilder.loadTexts: eltErpsMgmtSubRingCtrlRAPSVlanId.setStatus('deprecated')
eltErpsMgmtSubRingCtrlSubRingRAPSVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 2, 1, 2), Integer32())
if mibBuilder.loadTexts: eltErpsMgmtSubRingCtrlSubRingRAPSVlanId.setStatus('deprecated')
eltErpsMgmtSubRingCtrlTCPropagationState = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 2, 1, 3), EltErpsEnabledState().clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: eltErpsMgmtSubRingCtrlTCPropagationState.setStatus('deprecated')
eltErpsMgmtSubRingCtrlRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 3, 2, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: eltErpsMgmtSubRingCtrlRowStatus.setStatus('deprecated')
eltMesErpsNotifyPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4, 0))
eltErpsSFDetectedTrap = NotificationType((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4, 0, 1)).setObjects(("ELTEX-MES-BRIDGE-ERPS-MIB", "eltErpsNodeId"))
if mibBuilder.loadTexts: eltErpsSFDetectedTrap.setStatus('deprecated')
eltErpsSFClearedTrap = NotificationType((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4, 0, 2)).setObjects(("ELTEX-MES-BRIDGE-ERPS-MIB", "eltErpsNodeId"))
if mibBuilder.loadTexts: eltErpsSFClearedTrap.setStatus('deprecated')
eltErpsRPLOwnerConflictTrap = NotificationType((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4, 0, 3)).setObjects(("ELTEX-MES-BRIDGE-ERPS-MIB", "eltErpsNodeId"))
if mibBuilder.loadTexts: eltErpsRPLOwnerConflictTrap.setStatus('deprecated')
eltMesErpsNotificationBindings = MibIdentifier((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4, 2))
eltErpsNodeId = MibScalar((1, 3, 6, 1, 4, 1, 35265, 1, 23, 1, 401, 0, 1, 4, 2, 1), MacAddress()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: eltErpsNodeId.setStatus('deprecated')
mibBuilder.exportSymbols("ELTEX-MES-BRIDGE-ERPS-MIB", EltErpsMgmtRAPSPortState=EltErpsMgmtRAPSPortState, eltErpsMgmtSubRingCtrlRAPSVlanId=eltErpsMgmtSubRingCtrlRAPSVlanId, EltErpsEnabledState=EltErpsEnabledState, eltErpsMgmtRAPSEastPort=eltErpsMgmtRAPSEastPort, eltErpsMgmtRAPSPortForcedSwitch=eltErpsMgmtRAPSPortForcedSwitch, eltErpsMgmtRAPSRingAdminState=eltErpsMgmtRAPSRingAdminState, eltErpsSFDetectedTrap=eltErpsSFDetectedTrap, eltErpsMgmtRAPSRowStatus=eltErpsMgmtRAPSRowStatus, EltErpsMgmtRAPSPortId=EltErpsMgmtRAPSPortId, eltErpsMgmtRAPSVlanEntry=eltErpsMgmtRAPSVlanEntry, eltErpsMgmtSubRingCtrlRowStatus=eltErpsMgmtSubRingCtrlRowStatus, eltMesErpsMgmt=eltMesErpsMgmt, eltErpsMgmtRAPSRPLOwnerOperStatus=eltErpsMgmtRAPSRPLOwnerOperStatus, eltErpsMgmtRAPSEastPortState=eltErpsMgmtRAPSEastPortState, eltErpsMgmtRAPSWestPortState=eltErpsMgmtRAPSWestPortState, eltMesErpsNotificationBindings=eltMesErpsNotificationBindings, eltErpsNodeId=eltErpsNodeId, eltErpsMgmtRAPSVlanTable=eltErpsMgmtRAPSVlanTable, eltMesErpsMIB=eltMesErpsMIB, eltErpsAdminState=eltErpsAdminState, eltErpsTrapState=eltErpsTrapState, eltErpsMgmtRAPSRPLPort=eltErpsMgmtRAPSRPLPort, eltMesErpsNotifyPrefix=eltMesErpsNotifyPrefix, eltErpsMgmtRAPSProtectionVlanRangeList3073to4094=eltErpsMgmtRAPSProtectionVlanRangeList3073to4094, eltErpsMgmtRAPSRPLOwnerAdminState=eltErpsMgmtRAPSRPLOwnerAdminState, eltErpsMgmtRAPSVlanId=eltErpsMgmtRAPSVlanId, eltErpsMgmtRAPSProtocolVersion=eltErpsMgmtRAPSProtocolVersion, eltMesErpsInfo=eltMesErpsInfo, eltErpsMgmtRAPSWTRTime=eltErpsMgmtRAPSWTRTime, eltErpsMgmtSubRingCtrlEntry=eltErpsMgmtSubRingCtrlEntry, eltMesErpsCtrl=eltMesErpsCtrl, eltErpsMgmtSubRingCtrlTable=eltErpsMgmtSubRingCtrlTable, eltErpsSFClearedTrap=eltErpsSFClearedTrap, eltErpsMgmtSubRingCtrlSubRingRAPSVlanId=eltErpsMgmtSubRingCtrlSubRingRAPSVlanId, eltErpsMgmtRAPSProtectionVlanRangeList1to1024=eltErpsMgmtRAPSProtectionVlanRangeList1to1024, eltErpsMgmtRAPSProtectionVlanRangeList1025to2048=eltErpsMgmtRAPSProtectionVlanRangeList1025to2048, eltErpsMgmtSubRingCtrlTCPropagationState=eltErpsMgmtSubRingCtrlTCPropagationState, eltErpsRPLOwnerConflictTrap=eltErpsRPLOwnerConflictTrap, eltErpsPendingAction=eltErpsPendingAction, eltErpsMgmtRAPSRingState=eltErpsMgmtRAPSRingState, eltErpsMgmtRAPSRevertive=eltErpsMgmtRAPSRevertive, eltErpsPendingActionVlan=eltErpsPendingActionVlan, eltErpsMgmtRAPSHoldOffTime=eltErpsMgmtRAPSHoldOffTime, eltErpsMgmtRAPSGuardTime=eltErpsMgmtRAPSGuardTime, PYSNMP_MODULE_ID=eltMesErpsMIB, eltErpsMgmtRAPSProtectionVlanRangeList2049to3072=eltErpsMgmtRAPSProtectionVlanRangeList2049to3072, eltErpsGetConfigId=eltErpsGetConfigId, eltErpsMgmtRAPSWestPort=eltErpsMgmtRAPSWestPort, eltErpsLogState=eltErpsLogState, eltMesErpsNotify=eltMesErpsNotify, eltErpsMgmtRAPSPortManualSwitch=eltErpsMgmtRAPSPortManualSwitch, eltErpsMgmtRAPSRingMEL=eltErpsMgmtRAPSRingMEL)
|
# config.py - Vite's configuration script
title = "icyphox"
author = ""
header = """<a href="/"><- back</a>"""
# actually the sidebar
footer = f"""
<img class="logo" src="/static/white.svg" alt="icyphox's avatar" style="width: 55%"/>
<p>
<span class="sidebar-link">email</span>
<br>
<a href="mailto:x@icyphox.sh">x@icyphox.sh</a>
</p>
<p>
<span class="sidebar-link">github</span>
<br>
<a href="https://github.com/icyphox">icyphox</a>
</p>
<p>
<span class="sidebar-link">mastodon</span>
<br>
<a rel="me" href="https://toot.icyphox.sh/@x">@x@icyphox.sh</a>
</p>
<p>
<span class="sidebar-link">pgp</span>
<br>
<a href="/static/gpg.txt">0x8A93F96F78C5D4C4</a>
</p>
<h3>friends</h3>
<p>
Some of <a href="/friends">my friends</a> and internet bros.
</p>
<h3>about</h3>
<p>
More <a href="/about">about me</a> and my work.
</p>
<div class="icons">
<a href="https://creativecommons.org/licensjes/by-nc-sa/4.0/">
<img class="footimgs" src="/static/cc.svg">
</a>
<a href="https://webring.xxiivv.com/#random" target="_blank">
<img class="footimgs" alt="xxiivv webring" src="/static/webring.svg">
</a>
</div>
"""
template = 'text.html' # default is index.html
pre_build = [['bin/openring.py', '-j'], 'bin/update_index.py']
post_build = ['bin/rss.py', 'bin/plaintext.sh']
|
DATASETS = {
"imdb": {
"train": "s3://suching-dev/final-datasets/imdb/train.jsonl",
"dev": "s3://suching-dev/final-datasets/imdb/dev.jsonl",
"test": "s3://suching-dev/final-datasets/imdb/test.jsonl",
"unlabeled": "s3://suching-dev/final-datasets/imdb/unlabeled.jsonl",
"reference_counts": "s3://suching-dev/final-datasets/imdb/valid_npmi_reference/train.npz",
"reference_vocabulary": "s3://suching-dev/final-datasets/imdb/valid_npmi_reference/train.vocab.json",
"stopword_path": "s3://suching-dev/stopwords/snowball_stopwords.txt",
"glove": "s3://suching-dev/pretrained-models/glove/imdb/vectors.txt",
"elmo": {
"frozen": "s3://allennlp/models/transformer-elmo-2019.01.10.tar.gz",
"fine-tuned": "s3://suching-dev/pretrained-models/elmo/imdb/model.tar.gz",
"in-domain": "s3://suching-dev/pretrained-models/in-domain-elmo/imdb/model.tar.gz"
},
"bert": {
"weights": "s3://suching-dev/pretrained-models/bert/imdb/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/bert/imdb/vocab.txt"
},
"vae": {
"model_archive": "s3://suching-dev/pretrained-models/vae_best_npmi/imdb/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/vae_best_npmi/imdb/vae.txt",
"bg_freq": "s3://suching-dev/pretrained-models/vae_best_npmi/imdb/vae.bgfreq.json"
}
},
"1b": {
"train": "s3://suching-dev/final-datasets/1b/train.jsonl",
"test": "s3://suching-dev/final-datasets/1b/test.jsonl",
"reference_counts": "s3://suching-dev/final-datasets/1b/test_npmi_reference/train.npz",
"reference_vocabulary": "s3://suching-dev/final-datasets/1b/test_npmi_reference/train.vocab.json",
"stopword_path": "s3://suching-dev/stopwords/snowball_stopwords.txt",
"glove": "s3://suching-dev/pretrained-models/glove/1b/vectors.txt",
"elmo": {
"frozen": "s3://allennlp/models/transformer-elmo-2019.01.10.tar.gz",
"fine-tuned": "s3://suching-dev/pretrained-models/elmo/1b/model.tar.gz",
"in-domain": "s3://suching-dev/pretrained-models/in-domain-elmo/1b/model.tar.gz"
},
"bert": {
"weights": "s3://suching-dev/pretrained-models/bert/1b/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/bert/1b/vocab.txt"
},
"vae": {
"model_archive": "s3://suching-dev/pretrained-models/vae_best_npmi/1b/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/vae_best_npmi/1b/vae.txt",
"bg_freq": "s3://suching-dev/pretrained-models/vae_best_npmi/1b/vae.bgfreq.json"
}
},
"amazon": {
"train": "s3://suching-dev/final-datasets/amazon/train.jsonl",
"dev": "s3://suching-dev/final-datasets/amazon/dev.jsonl",
"test": "s3://suching-dev/final-datasets/amazon/test.jsonl",
"unlabeled": "s3://suching-dev/final-datasets/amazon/unlabeled.jsonl",
"reference_counts": "s3://suching-dev/final-datasets/amazon/valid_npmi_reference/train.npz",
"reference_vocabulary": "s3://suching-dev/final-datasets/amazon/valid_npmi_reference/train.vocab.json",
"stopword_path": "s3://suching-dev/stopwords/snowball_stopwords.txt",
"glove": "s3://suching-dev/pretrained-models/glove/amazon/vectors.txt",
"elmo": {
"frozen": "s3://allennlp/models/transformer-elmo-2019.01.10.tar.gz",
"fine-tuned": "s3://suching-dev/pretrained-models/elmo/amazon/model.tar.gz",
"in-domain": "s3://suching-dev/pretrained-models/in-domain-elmo/amazon/model.tar.gz"
},
"bert": {
"weights": "s3://suching-dev/pretrained-models/bert/amazon/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/bert/amazon/vocab.txt"
},
"vae": {
"model_archive": "s3://suching-dev/pretrained-models/vae_best_npmi/amazon/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/vae_best_npmi/amazon/vae.txt",
"bg_freq": "s3://suching-dev/pretrained-models/vae_best_npmi/amazon/vae.bgfreq.json"
}
},
"yahoo": {
"train": "s3://suching-dev/final-datasets/yahoo/train.jsonl",
"dev": "s3://suching-dev/final-datasets/yahoo/dev.jsonl",
"test": "s3://suching-dev/final-datasets/yahoo/test.jsonl",
"unlabeled": "s3://suching-dev/final-datasets/yahoo/unlabeled.jsonl",
"reference_counts": "s3://suching-dev/final-datasets/yahoo/valid_npmi_reference/train.npz",
"reference_vocabulary": "s3://suching-dev/final-datasets/yahoo/valid_npmi_reference/train.vocab.json",
"stopword_path": "s3://suching-dev/stopwords/snowball_stopwords.txt",
"glove": "s3://suching-dev/pretrained-models/glove/yahoo/vectors.txt",
"elmo": {
"frozen": "s3://allennlp/models/transformer-elmo-2019.01.10.tar.gz",
"fine-tuned": "s3://suching-dev/pretrained-models/elmo/yahoo/model.tar.gz",
"in-domain": "s3://suching-dev/pretrained-models/in-domain-elmo/yahoo/model.tar.gz"
},
"bert": {
"weights": "s3://suching-dev/pretrained-models/bert/yahoo/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/bert/yahoo/vocab.txt"
},
"vae": {
"model_archive": "s3://suching-dev/pretrained-models/vae_best_npmi/yahoo/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/vae_best_npmi/yahoo/vae.txt",
"bg_freq": "s3://suching-dev/pretrained-models/vae_best_npmi/yahoo/vae.bgfreq.json"
}
},
"hatespeech": {
"train": "s3://suching-dev/final-datasets/hatespeech/train.jsonl",
"dev": "s3://suching-dev/final-datasets/hatespeech/dev.jsonl",
"test": "s3://suching-dev/final-datasets/hatespeech/test.jsonl",
"unlabeled": "s3://suching-dev/final-datasets/hatespeech/unlabeled.jsonl",
"reference_counts": "s3://suching-dev/final-datasets/hatespeech/valid_npmi_reference/train.npz",
"reference_vocabulary": "s3://suching-dev/final-datasets/hatespeech/valid_npmi_reference/train.vocab.json",
"stopword_path": "s3://suching-dev/stopwords/snowball_stopwords.txt",
"glove": "s3://suching-dev/pretrained-models/glove/hatespeech/vectors.txt",
"elmo": {
"frozen": "s3://allennlp/models/transformer-elmo-2019.01.10.tar.gz",
"fine-tuned": "s3://suching-dev/pretrained-models/elmo/hatespeech/model.tar.gz",
"in-domain": "s3://suching-dev/pretrained-models/in-domain-elmo/hatespeech/model.tar.gz"
},
"bert": {
"weights": "s3://suching-dev/pretrained-models/bert/hatespeech/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/bert/hatespeech/vocab.txt"
},
"vae": {
"model_archive": "s3://suching-dev/pretrained-models/vae_best_npmi/hatespeech/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/vae_best_npmi/hatespeech/vae.txt",
"bg_freq": "s3://suching-dev/pretrained-models/vae_best_npmi/hatespeech/vae.bgfreq.json"
}
},
"ag-news": {
"train": "s3://suching-dev/final-datasets/ag-news/train.jsonl",
"dev": "s3://suching-dev/final-datasets/ag-news/dev.jsonl",
"test": "s3://suching-dev/final-datasets/ag-news/test.jsonl",
"unlabeled": "s3://suching-dev/final-datasets/ag-news/unlabeled.jsonl",
"reference_counts": "s3://suching-dev/final-datasets/ag-news/valid_npmi_reference/train.npz",
"reference_vocabulary": "s3://suching-dev/final-datasets/ag-news/valid_npmi_reference/train.vocab.json",
"stopword_path": "s3://suching-dev/stopwords/snowball_stopwords.txt",
"glove": "s3://suching-dev/pretrained-models/glove/ag-news/vectors.txt",
"elmo": {
"frozen": "s3://allennlp/models/transformer-elmo-2019.01.10.tar.gz",
"fine-tuned": "s3://suching-dev/pretrained-models/elmo/ag-news/model.tar.gz",
"in-domain": "s3://suching-dev/pretrained-models/in-domain-elmo/ag-news/model.tar.gz"
},
"bert": {
"weights": "s3://suching-dev/pretrained-models/bert/ag-news/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/bert/ag-news/vocab.txt"
},
"vae": {
"model_archive": "s3://suching-dev/pretrained-models/vae_best_npmi/ag-news/model.tar.gz",
"vocab": "s3://suching-dev/pretrained-models/vae_best_npmi/ag-news/vae.txt",
"bg_freq": "s3://suching-dev/pretrained-models/vae_best_npmi/ag-news/vae.bgfreq.json"
}
}
}
|
class LinkedQueue:
""" FIFO queue implementation using a sigle linked list for storage """
#--------------------------------------------------------------------------------
class _Node:
""" LightWeight, non public class for storing a singly linked node """
__slots__ = '_element', '_next'
def __init__(self, element, next):
self._element = element
self._next = next
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
def __init__(self):
""" Create an empty queue """
self._head = None
self._tail = None
self._size = 0
#--------------------------------------------------------------------------------
def __len__(self):
""" Return the number of element in the queue """
return self._size
#--------------------------------------------------------------------------------
def is_empty(self):
""" Return True if the queue id empty """
return self._size == 0
#--------------------------------------------------------------------------------
def first(self):
""" Return (but not remove) the e,ement at the front of the queue """
if self.is_empty():
raise Empty('Queue is empty ')
return self._head._element
#--------------------------------------------------------------------------------
def dequeue(self):
""" Remove and return the first element of the queueu (FIFO)
raise Empty exception if the queueu is empty
"""
if self.is_empty():
raise Empty('Queue is empty')
answer = self._head._element
self._head = self._head._next
self._size -= 1
if self.is_empty():
self._tail = None
return answer
#--------------------------------------------------------------------------------
def enqueue(self, e):
""" Add element to the back of queue """
newest = self._Node(e, None)
if self.is_empty():
self._head = newest
else:
self._tail._next = newest
self._tail = newest
self._size +=1
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
if __name__ == '__main__':
l = LinkedQueue()
s1 = l.__len__()
print('Initial size : ', s1)
l.enqueue(10)
l.enqueue(20)
l.enqueue(30)
l.enqueue(40)
l.enqueue(50)
l.enqueue(60)
s2 = l.__len__()
print('Size : ', s2)
f = l.first()
print('First element : ', f)
d = l.dequeue()
print('Dequeue element : ', d)
s3 = l.__len__()
print('Size : ', s3)
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
"""
OUTPUT :
Initial size : 0
Size : 6
First element : 10
Dequeue element : 10
Size : 5
"""
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------
|
'''
this function can handle oracle script with block comment
handle change drop table table to
begin execute immediate \'drop table UTLMGT_DASHBOARD.temp_gen_dm_auth_2\'; exception when others then null; end
'''
def convertToBODSScript ( path):
f0 = open(path,'r')
f1 = []
for line in f0:
if line.strip():
f1.append(line)
f0.close()
isBegin = True
isCommentBegin = False
for line in f1:
if isCommentBegin == False:
if line.strip(' \t\n\r').startswith('/*') and 'parallel' not in line.lower():
isCommentBegin = True
line = '# ' + line
if line.strip(' \t\n\r').endswith('*/') and 'parallel' not in line.lower():
isCommentBegin = False
print (line)
continue
if line.lstrip(' \t\n\r').startswith('--'):
line = '# ' + line
else:
if line.lstrip(' \t\n\r').find('--') > 0: # this handle in line comment
line = line[0 :line.find('--')] + '\n'
line = line.replace("'", "\\'")
if isBegin==True:
line ="sql('NATLDWH_UTLMGT_DASHBOARD','" + line
isBegin =False
else:
line ="|| '" + line
isBegin =False
if line.rstrip(' \t\n\r').endswith(';'):
line =line.replace(';', " ');\n")
isBegin =True
else:
line =line.rstrip(' \t\n\r') + " '\n"
if line.lower().find("'drop table ") >= 0:
line = line[0:line.lower().index("\'drop table ")] + "\'begin execute immediate \\" + line[line.lower().index("\'drop table "):line.index("\');")] + "\\\'; exception when others then null; end;\');"
if line.lower().find("'drop index ") >= 0:
line = line[0:line.lower().index("\'drop index ")] + "\'begin execute immediate \\" + line[line.lower().index("\'drop index "):line.index("\');")] + "\\\'; exception when others then null; end;\');"
print (line)
else:
line = '# ' + line
print(line)
if line.strip(' \t\n\r').endswith('*/') and 'parallel' not in line.lower() :
isCommentBegin = False
#f1.close()
#convertToBODSScript (r'C:\Users\Wenlei\Desktop\sample.sql')
#convertToBODSScript (r'C:\Users\Wenlei\Desktop\sample2.sql')
convertToBODSScript ( r'C:\Users\Wenlei\Desktop\sample15.sql')
|
size = int(input())
arr=[]
for i in range(size):
string = list(input())
rev_string = list(reversed(string))
msg = "Funny"
for j in range(len(string)):
#print(j)
if not abs(ord(string[j])-ord(string[j-1])) == abs(ord(rev_string[j])-ord(rev_string[j-1])):
msg="Not Funny"
break
print(msg)
|
# 检查两个字符串相等和不等
car_1 = 'audi'
car_2 = 'bwm'
if car_1 == car_2:
print("不执行")
if car_1 != car_2:
print('执行')
# 使用函数lower()的测试
car = 'audi'
if car.lower() == 'audi':
print('执行')
if car.lower() != 'audi':
print('不执行')
# 检查两个数相等、不等、小于、大于等于和小于等于
number_1 = 416
number_2 = 504
if number_1 == number_2:
print("相等")
if number_1 != number_2:
print("不等")
if number_1 > number_2:
print('大于')
if number_1 < number_2:
print('小于')
if number_1 >= number_2:
print('大于等于')
if number_1 <= number_2:
print('小于等于')
# 使用关键字and和or的测试
number_1 = 416
number_2 = 504
char_1 = 'LZIT'
char_2 = 'HIT'
if (number_1 < number_2) and (char_1 != char_2):
print(f"I love {char_2.upper()}!")
if (number_1 != number_2) or (char_1 != char_2):
print(f"\nI love {char_1.upper()}!")
# 测试特定的值是否包含在列表中
schools = ['LZIT','BTBU','HIT']
if 'HIT' in schools:
print("I love it!")
if 'HIT' not in schools:
print(schools[0:])
|
def convert_coordinates(hpos, vpos, width, height, x_res, y_res):
"""
x = (coordinate['xResolution']/254.0) * coordinate['hpos']
y = (coordinate['yResolution']/254.0) * coordinate['vpos']
w = (coordinate['xResolution']/254.0) * coordinate['width']
h = (coordinate['yResolution']/254.0) * coordinate['height']
"""
x = (x_res / 254) * hpos
y = (y_res / 254) * vpos
w = (x_res / 254) * width
h = (y_res / 254) * height
return [int(x), int(y), int(w), int(h)]
def encode_ark(ark):
"""Replaces (encodes) backslashes in the Ark identifier."""
return ark.replace('/', '%2f')
|
family = 'wiktionary'
mylang = 'en'
usernames['wiktionary']['en'] = u'AryamanA' # change to your username
console_encoding = 'utf-8'
minthrottle = 0
maxthrottle = 1
|
{
2 : {
"operator" : "selection",
"selectivity" : 0.2
},
4 : {
"operator" : "selection",
"selectivity" : 0.5
},
5 : {
"operator" : "join",
"selectivity" : 0.19,
"multimatch" : False
},
7 : {
"operator" : "selection",
"selectivity" : 0.5
},
8 : {
"operator" : "join",
"selectivity" : 0.05,
"multimatch" : False
}
}
|
"""
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of
distinct solutions.

"""
class Solution(object):
def totalNQueens(self, n):
"""
:type n: int
:rtype: int
"""
if n is None or n <= 0:
return []
self.solns = 0
self.dfs(n)
return self.solns
def dfs(self, n, soln=[]):
if self.isValid(soln):
if len(soln) == n:
self.solns += 1
else:
for i in range(n):
self.dfs(n, soln + [i])
return
else:
return
def isValid(self, soln):
if soln == [] or len(soln) == 1:
return True
elif soln[-1] in soln[:-1]:
return False
else:
for i in range(len(soln) - 1):
if abs(soln[-1] - soln[i]) == len(soln) - 1 - i:
return False
return True
|
"""
Given an Array of non-negative intergers find if we can divide the array into two sub arrays of equal sum
"""
dp = ([[False for i in range(50)]
for i in range(10)])
def EqualSumDp(a, n):
s = sum(a)
if s & 1:
return False
s = s//2
for j in range(n+1):
dp[j][0] = True
for j in range(1, s+1):
dp[0][j] = False
for i in range(1, n+1):
for j in range(1, s+1):
dp[i][j] = dp[i-1][j]
if a[i-1] <= j:
dp[i][j] |= dp[i-1][j-a[i-1]]
print(dp)
return dp[n][s]
print(EqualSumDp([1, 5, 5, 11], 4))
|
while True:
inp = input('Enter a number: ')
if inp == 'done' :
break
try:
num = float(inp)
except:
print ('Invalid input')
continue
numbers = list(num)
minimum = None
maximum = None
for num in numbers :
if minimum == None or num < minimum :
minimum = num
for num in numbers :
if maximum == None or maximum < num :
maximum = num
print('Maximum:', maximum)
print('Minimum:', minimum)
|
"""
EXERCÍCIO 049: Tabuada v2.0
Refaça o EXERCÍCIO 009, mostrando a tabuada de um número que
o usuário escolher, só que agora utilizando um laço for.
"""
continuar = True
while continuar:
n = int(input('Digite um número para ver a sua tabuada: '))
x = 0
for c in range (0, 10):
x += 1
print(f'{n} x {x} = {n*x}')
n1 = str(input('Deseja continuar? [S/N]')).upper()
if n1 == 'N':
print('Muito obrigado, volte sempre.')
continuar = False
|
# -*- coding: utf-8 -*-
# 设置数据集文件目录
BASE_DIR = "/home/zhouql"
# BASE_DIR = "/home/zhou/0-Research"
HOME_DIR = BASE_DIR + "/CodeSumy"
WORKDIR = HOME_DIR + "/data/workdir"
PNG_HOME = HOME_DIR + "/data/pngSaved"
MODEL_HOME = BASE_DIR + "/CodeSumy/src/model/modelSaved"
# 设置数据集的构造 设置数据集划分比例和规模
DOWNLOAD_DATA = False
SPLITE_DATA = True
DATASET_SIZE = 0 # DATASET_SIZE = 0 时,选择data.txt中所有的数据
TRAIN_PROP = 0.8
VALID_PROP = 0.1
TEST_PROP = 0.1
# 构造词表的过滤阈值
JAVA_UNK_THRESHOLD = 2
CSHARP_UNK_THRESHOLD = 2
TEXT_UNK_THRESHOLD = 2
# 是否使用cuda
USE_CUDA = True
# 设置神经网络参数
teacher_forcing_ratio = 0.5
HIDDDEN_SIAZE = 256
# Seq2Seq参数
SOS_TOKEN = 2
EOS_TOKEN = 3
UNK_TOKEN = 0
PAD_TOKEN = 0
# 为了训练速度,太长的句子不进行训练,设定阈值
SENTENCE_MAX_LENGTH = 100
|
# Programmed by </Rudransh Joshi> | Class XII - A | Kendriya Vidyalaya Haldwani Cantt :)
out = [] # Initialising an empty list which will store out results
def table(num, start=1): # Table function which will return us a list of numbers as table of the given number
global upto
if start > upto: # Code logic
return
out.append(str(num * start))
return table(num, start + 1)
while True:
num = int(input("Enter a number to print out its table:\t"))
upto = int(input("Enter number upto where you want to print table:\t"))
table(num, 1)
print(", ".join(out), "\n")
out = []
|
LOADTRACKS = "/loadtracks?identifier={query}"
DECODETRACK = "/decodetrack"
DECODETRACKS = "/decodetracks"
ROUTEPLANNER = "/routeplanner/status"
UNMARK_FAILED_ADDRESS = "/routeplanner/free/address"
UNMARK_ALL_FAILED_ADDRESS = "/routeplanner/free/all"
|
#print(args)
if args[5] == 'COMP':
outTop = op('null')
m = op('movie')
t = op('tox')
fromPath = args[6] + '/' + args[0]
type = op(fromPath + '/info')[1, 'type']
path = op(fromPath + '/info')[1, 'path']
parent().par.Mediatype = type
op('display_select').par.top = fromPath + '/display'
op(fromPath).op('movie').par.cuepulse.pulse()
|
"""
Traversing the Node Elements
We can traverse the elements of the node created above by creating a variable and assigning the first element to it.
Then we use a while loop and nextval pointer to print out all the node elements. Note that we have one more additional
data element and the nextval pointers are properly arranged to get the output as a days of a week in a proper sequence.
"""
class daynames:
def __init__(self, dataval=None):
self.dataval = dataval
self.nextval = None
e1 = daynames('Mon')
e2 = daynames('Wed')
e3 = daynames('Tue')
e4 = daynames('Thu')
e1.nextval = e3
e3.nextval = e2
e2.nextval = e4
thisvalue = e1
while thisvalue:
print(thisvalue.dataval)
thisvalue = thisvalue.nextval
"""
When the above code is executed, it produces the following result.
Mon
Tue
Wed
Thu
The additional operations like insertion and deletion can be done by implementing appropriate methods by using this node containers in the general data structures like linked lists and trees. So we study them in the next chapters.
"""
|
#By enumerating with two variables
for i,char in enumerate('enumerate'):
print(1,char)
for i,c in enumerate(list(range(100))):
print(i,c)
if c == 50:
#F is to make the print be able to format the i to a value.
print(f'Index of 50 is: {i}')
|
def check_values(group, value):
for x in group:
if x == value:
return True
return False
print (check_values([34, 56, 77], 22))
print (check_values([34, 56, 77], 34))
|
class EditGuildFailed(Exception):
"""Raises when editing the guild is failed."""
pass
class FetchGuildChannelsFailed(Exception):
"""Raises when fetching the guild channels is failed."""
pass
class CreateGuildChannelFailed(Exception):
"""Raises when creating new guild channel is failed."""
pass
class ChangeChannelPositionFailed(Exception):
"""Raises when changing a channel position is failed."""
pass
class FetchGuildMemberFailed(Exception):
"""Raises when fetching a guild member is failed."""
pass
class FetchGuildMembersFailed(Exception):
"""Raises when fetching guild member list is failed."""
pass
class SearchGuildMemberFailed(Exception):
"""Raises when searching the guild members is failed."""
pass
class EditGuildMemberFailed(Exception):
"""Raises when editing the guild member is failed."""
pass
class FetchGuildEmojiListFailed(Exception):
"""Raises when fetching the emoji list is failed."""
pass
class FetchGuildEmojiFailed(Exception):
"""Raises when fetching the guild emoji is failed."""
pass
class CreateGuildEmojiFailed(Exception):
"""Raises when creating a guild emoji is failed."""
pass
class EditGuildEmojiFailed(Exception):
"""Raises when editing a guild emoji is failed."""
pass
class DeleteGuildEmojiFailed(Exception):
"""Raises when delete a guild emoji is failed."""
pass
class AddRoleToGuildMemberFailed(Exception):
"""Raises when adding a role to guild member is failed."""
pass
class RemoveRoleFromGuildMemberFailed(Exception):
"""Raises when removing a role from guild member is failed."""
pass
class KickMemberFromGuildFailed(Exception):
"""Raises when kicking a member from guild is failed."""
pass
class BanMemberFromGuildFailed(Exception):
"""Raises when banning a member from guild is failed."""
pass
class UnbanGuildMemberFailed(Exception):
"""Raises when unbanning a user from guild is failed."""
pass
class FetchGuildBansFailed(Exception):
"""Raises when fetching the guild bans is failed."""
pass
class FetchGuildBanFailed(Exception):
"""Raises when fetching the member guild ban is failed."""
pass
class FetchGuildRolesFailed(Exception):
"""Raises when fetching the guild roles is failed."""
pass
class CreateGuildRoleFailed(Exception):
"""Raises when creating new guild role is failed."""
pass
class EditGuildRoleFailed(Exception):
"""Raises when editing the guild role is failed."""
pass
class DeleteGuildRoleFailed(Exception):
"""Raises when deleting the guild role is failed."""
pass
class ChangeClientUserNicknameFailed(Exception):
"""Raises when changing the client-user guild nickname is failed."""
pass
class FetchGuildVanityUrlFailed(Exception):
"""Raises when fetching the vanity url is failed."""
pass
class FetchAuditLogFailed(Exception):
"""Raises when fetching the guild audit log is failed."""
pass
class FetchGuildWebhooksFailed(Exception):
"""Raises when fetching the guild webhooks is failed."""
pass
|
a = (1, 2, 3, 4, 5)
print(a, type(a))
b = (6, 7, [10, 20, 30])
print(b, type(b))
b[2].append(100)
print(b, type(b))
print(len(a))
print(2 in a or 5 in a and 3 in a)
print(a + b, b + a)
print(sum(a))
print(a.index(2))
a.count(4)
print(a.__sizeof__())
# you can't change tuple after init
# but you can make changes if you transform it to list
list1 = list(a)
print(list1, type(list1))
list1.append(10)
a = tuple(list1)
print(a, type(a))
|
# Copyright 2014 Hewlett-Packard Development Company, L.P.
# Copyright 2019-2020 Hewlett Packard Enterprise Development LP
#
# 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.
#
# Hewlett Packard Enterprise made changes in this file.
"""Exception Class for sdflexutils module."""
class SDFlexUtilsException(Exception):
"""Parent class for all sdflexutils exceptions."""
pass
class InvalidInputError(Exception):
message = "Invalid Input: %(reason)s"
def __init__(self, message=None, **kwargs):
if not message:
message = self.message
if 'reason' not in kwargs:
kwargs['reason'] = 'Unknown'
message = message % kwargs
super(InvalidInputError, self).__init__(message)
class SDFlexError(SDFlexUtilsException):
"""Base Exception.
This exception is used when a problem is encountered in
executing an operation on the RMC.
"""
def __init__(self, message, errorcode=None):
super(SDFlexError, self).__init__(message)
class SDFlexConnectionError(SDFlexError):
"""Cannot connect to SDFlex.
This exception is used to communicate an HTTP connection
error from the SDFlex to the caller.
"""
def __init__(self, message):
super(SDFlexConnectionError, self).__init__(message)
class SDFlexCommandNotSupportedError(SDFlexError):
"""Command not supported on the platform.
This exception is raised when SDFlex client library fails to
communicate properly with the sdflexrmc
"""
def __init__(self, message, errorcode=None):
super(SDFlexCommandNotSupportedError, self).__init__(message)
class RedfishError(SDFlexUtilsException):
"""Basic exception for errors raised by Redfish operations."""
message = None
def __init__(self, **kwargs):
if self.message and kwargs:
self.message = self.message % kwargs
super(RedfishError, self).__init__(self.message)
class MissingAttributeError(RedfishError):
message = ('The attribute %(attribute)s is missing from the '
'resource %(resource)s')
class HPSSAException(SDFlexUtilsException):
message = "An exception occured in ssa module"
def __init__(self, message=None, **kwargs):
if not message:
message = self.message
message = message % kwargs
super(HPSSAException, self).__init__(message)
class PhysicalDisksNotFoundError(HPSSAException):
message = ("Not enough physical disks were found to create logical disk "
"of size %(size_gb)s GB and raid level %(raid_level)s")
class HPSSAOperationError(HPSSAException):
message = ("An error was encountered while doing ssa configuration: "
"%(reason)s.")
class StorcliException(SDFlexUtilsException):
message = "An exception occured in storcli module"
def __init__(self, message=None, **kwargs):
if not message:
message = self.message
message = message % kwargs
super(StorcliException, self).__init__(message)
class StorcliPhysicalDisksNotFoundError(StorcliException):
message = ("Not enough physical disks were found to create logical disk "
"of size %(size_gb)s GB and raid level %(raid_level)s")
class StorcliOperationError(StorcliException):
message = ("An error was encountered while doing storcli configuration: "
"%(reason)s.")
class ImageRefValidationFailed(SDFlexUtilsException):
message = ("Validation of image href %(image_href)s failed, "
"reason: %(reason)s")
def __init__(self, message=None, **kwargs):
if not message:
message = self.message % kwargs
super(ImageRefValidationFailed, self).__init__(message)
class ImageRefDownloadFailed(SDFlexUtilsException):
message = ("Downloading image href %(image_href)s failed, "
"reason: %(reason)s")
def __init__(self, message=None, **kwargs):
if not message:
message = self.message % kwargs
super(ImageRefDownloadFailed, self).__init__(message)
class SUMOperationError(SDFlexUtilsException):
"""SUM based firmware update operation error.
This exception is used when a problem is encountered in
executing a SUM operation.
"""
message = ("An error occurred while performing SUM based firmware "
"update, reason: %(reason)s")
def __init__(self, message=None, **kwargs):
if not message:
message = self.message % kwargs
super(SUMOperationError, self).__init__(message)
|
class Solution:
def lowestCommonAncestor(self, root, p, q):
curr = root
while curr:
if p.val > curr.val and q.val > curr.val:
curr = curr.right
elif p.val < curr.val and q.val < curr.val:
curr = curr.left
else:
return curr
|
def sqroot(num):
"""Natural square root (decimal points are ignored).
Needed because math.sqrt breaks with numbers bigger than 2 to the power of 1024."""
lenght = len(str(num))#convert number to string
half = str(num)[0:(lenght//2)]#create a substring that is roughly a half of the number
i = (int("1" + "0" * (lenght//2)))
root = int(half)#convert the substring into number
while(True):#infinite loop that adds and substracts until the root equals the root of number (without decimals)
if(i < 1):
break
if(((pow(root,2))>= (num-1)) and (pow(root,2)<= (num+1))):
break
elif((pow(root,2)) < (num)):
while((pow(root,2)) < num):
root = int(root) + int(i)
i = i//10
else:
while((pow(root,2)) > num):
root = int(root) - int(i)
return root
if __name__ == "__main__":
root = (sqroot(int(input())))
print(str(root*root))
print(str(root))
|
n = int(input('Digite o valor de n: '))
i = 1
número = 0
while i <= n:
número = número + 1
if (número % 2 != 0):
i = i + 1
print(número)
|
A5_CHECK_DIR = '/etc/dd-agent/checks.d'
A5_CONF_DIR = '/etc/dd-agent/conf.d'
A5_EXE_PATH = '/opt/datadog-agent/agent/agent.py'
A6_CHECK_DIR = '/etc/datadog-agent/checks.d'
A6_CONF_DIR = '/etc/datadog-agent/conf.d'
A6_EXE_PATH = '/opt/datadog-agent/bin/agent/agent'
def get_agent_exe_path(agent_version_major):
if int(agent_version_major) >= 6:
return A6_EXE_PATH
else:
return A5_EXE_PATH
def get_conf_path(check, agent_version_major):
if int(agent_version_major) >= 6:
return '{conf_dir}/{check}.d/{check}.yaml'.format(conf_dir=A6_CONF_DIR, check=check)
else:
return '{conf_dir}/{check}.yaml'.format(conf_dir=A5_CONF_DIR, check=check)
def get_conf_example_glob(check, agent_version_major):
if int(agent_version_major) >= 6:
return '{conf_dir}/{check}.d/conf*'.format(conf_dir=A6_CONF_DIR, check=check)
else:
return '{conf_dir}/{check}*'.format(conf_dir=A5_CONF_DIR, check=check)
|
# Definition for an interval.
# class Interval(object):
# def __init__(self, s=0, e=0):
# self.start = s
# self.end = e
class Solution(object):
def minMeetingRooms(self, intervals):
"""
:type intervals: List[Interval]
:rtype: int
"""
intervals = sorted(intervals, key=lambda i:i.start)
rooms = list()
for i, interv in enumerate(intervals):
settled = False
for m, meeting in enumerate(rooms):
if meeting.end <= interv.start:
rooms[m] = interv
settled = True
break
if not settled:
rooms.append(interv)
return len(rooms)
|
def pytest_addoption(parser):
parser.addoption("--unity_exe_path",
action="store",
default=None)
|
#
# Copyright (C) 2018 The Android Open Source Project
#
# 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.
#
# model
model = Model()
i1 = Input("input", "TENSOR_FLOAT32", "{2, 2}")
perms = Input("perms", "TENSOR_INT32", "{0}")
output = Output("output", "TENSOR_FLOAT32", "{2, 2}")
model = model.Operation("TRANSPOSE", i1, perms).To(output)
# Additional data type
quant8 = DataTypeConverter().Identify({
i1: ("TENSOR_QUANT8_ASYMM", 0.5, 0),
output: ("TENSOR_QUANT8_ASYMM", 0.5, 0)
})
# Instantiate an example
Example({
i1: [1.0, 2.0,
3.0, 4.0],
perms: [],
output: [1.0, 3.0,
2.0, 4.0]
}).AddVariations("relaxed", quant8)
# TRANSPOSE of data type TENSOR_FLOAT32 and TENSOR_QUANT8_ASYMM is introduced in V1_1.
Example.SetVersion("V1_1",
"transpose_v1_2",
"transpose_v1_2_all_inputs_as_internal",
"transpose_v1_2_quant8",
"transpose_v1_2_quant8_all_inputs_as_internal")
# zero-sized input
# Use BOX_WITH_NMS_LIMIT op to generate a zero-sized internal tensor for box cooridnates.
p1 = Parameter("scores", "TENSOR_FLOAT32", "{1, 2}", [0.90, 0.10]) # scores
p2 = Parameter("roi", "TENSOR_FLOAT32", "{1, 8}", [1, 1, 10, 10, 0, 0, 10, 10]) # roi
o1 = Output("scoresOut", "TENSOR_FLOAT32", "{0}") # scores out
o2 = Output("classesOut", "TENSOR_INT32", "{0}") # classes out
tmp1 = Internal("roiOut", "TENSOR_FLOAT32", "{0, 4}") # roi out
tmp2 = Internal("batchSplitOut", "TENSOR_INT32", "{0}") # batch split out
model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3).To(o1, tmp1, o2, tmp2)
# Use ROI_ALIGN op to convert into zero-sized feature map.
layout = BoolScalar("layout", False) # NHWC
i1 = Input("in", "TENSOR_FLOAT32", "{1, 1, 1, 1}")
zero_sized = Internal("featureMap", "TENSOR_FLOAT32", "{0, 2, 2, 1}")
model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
# TRANSPOSE op with numBatches = 0.
o3 = Output("out", "TENSOR_FLOAT32", "{0, 1, 2, 2}") # out
model = model.Operation("TRANSPOSE", zero_sized, [0, 3, 1, 2]).To(o3)
quant8 = DataTypeConverter().Identify({
p1: ("TENSOR_QUANT8_ASYMM", 0.1, 128),
p2: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
o1: ("TENSOR_QUANT8_ASYMM", 0.1, 128),
tmp1: ("TENSOR_QUANT16_ASYMM", 0.125, 0),
i1: ("TENSOR_QUANT8_ASYMM", 0.1, 128),
zero_sized: ("TENSOR_QUANT8_ASYMM", 0.1, 128),
o3: ("TENSOR_QUANT8_ASYMM", 0.1, 128)
})
Example({
i1: [1],
o1: [],
o2: [],
o3: [],
}).AddVariations("relaxed", quant8, "float16")
|
# encoding: utf-8
# module Grasshopper.Kernel.Graphs calls itself Graphs
# from Grasshopper,Version=1.0.0.20,Culture=neutral,PublicKeyToken=dda4f5ec2cd80803
# by generator 1.145
""" NamespaceTracker represent a CLS namespace. """
# no imports
# functions
def GH_GraphProxyObject(n_owner): # real signature unknown; restored from __doc__
""" GH_GraphProxyObject(n_owner: IGH_Graph) """
pass
# classes
class GH_AbstractGraph(object,IGH_Graph,GH_ISerializable):
# no doc
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearCaches(self):
""" ClearCaches(self: GH_AbstractGraph) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_AbstractGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_AbstractGraph) """
pass
def CurveToPointFArray(self,*args):
""" CurveToPointFArray(Crv: Curve,dest: RectangleF) -> Array[PointF] """
pass
def Draw_PostRenderGraph(self,g,cnt):
""" Draw_PostRenderGraph(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer) """
pass
def Draw_PostRenderGrid(self,g,cnt):
""" Draw_PostRenderGrid(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer) """
pass
def Draw_PostRenderGrip(self,g,cnt,index):
""" Draw_PostRenderGrip(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer,index: int) """
pass
def Draw_PostRenderTags(self,g,cnt):
""" Draw_PostRenderTags(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer) """
pass
def Draw_PreRenderGraph(self,g,cnt):
""" Draw_PreRenderGraph(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderGrid(self,g,cnt):
""" Draw_PreRenderGrid(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderGrip(self,g,cnt,index):
""" Draw_PreRenderGrip(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer,index: int) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderTags(self,g,cnt):
""" Draw_PreRenderTags(self: GH_AbstractGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Duplicate(self):
""" Duplicate(self: GH_AbstractGraph) -> IGH_Graph """
pass
def EmitProxyObject(self):
""" EmitProxyObject(self: GH_AbstractGraph) -> IGH_GraphProxyObject """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_AbstractGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def IntersectionEvaluate(self,*args):
""" IntersectionEvaluate(C: Curve,offset: float) -> float """
pass
def OnGraphChanged(self,bIntermediate):
""" OnGraphChanged(self: GH_AbstractGraph,bIntermediate: bool) """
pass
def PrepareForUse(self):
""" PrepareForUse(self: GH_AbstractGraph) """
pass
def Read(self,reader):
""" Read(self: GH_AbstractGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_AbstractGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_AbstractGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_AbstractGraph,writer: GH_IWriter) -> bool """
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
@staticmethod
def __new__(self,*args): #cannot find CLR constructor
""" __new__(cls: type,nName: str,nDescription: str) """
pass
def __repr__(self,*args):
""" __repr__(self: object) -> str """
pass
Description=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Description(self: GH_AbstractGraph) -> str
"""
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_AbstractGraph) -> Guid
"""
Grips=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Grips(self: GH_AbstractGraph) -> List[GH_GraphGrip]
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_AbstractGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_AbstractGraph) -> bool
"""
Name=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Name(self: GH_AbstractGraph) -> str
"""
GH_Evaluator=None
GraphChanged=None
class GH_BezierGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_BezierGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearCaches(self):
""" ClearCaches(self: GH_BezierGraph) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_BezierGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_BezierGraph) """
pass
def Curve(self,*args):
""" Curve(self: GH_BezierGraph) -> Curve """
pass
def Draw_PreRenderGrip(self,g,cnt,index):
""" Draw_PreRenderGrip(self: GH_BezierGraph,g: Graphics,cnt: GH_GraphContainer,index: int) -> GH_GraphDrawInstruction """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_BezierGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_BezierGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_BezierGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_BezierGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_BezierGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_BezierGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_BezierGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_BezierGraph) -> bool
"""
class GH_ConicGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_ConicGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_ConicGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_ConicGraph) """
pass
def Curve(self,*args):
""" Curve(self: GH_ConicGraph) -> NurbsCurve """
pass
def DestroyCurve(self,*args):
""" DestroyCurve(self: GH_ConicGraph) """
pass
def FitConic(self,*args):
""" FitConic(self: GH_ConicGraph,S: Point3d) -> NurbsCurve """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_ConicGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def MakeConic(self,*args):
""" MakeConic(self: GH_ConicGraph,w: float) -> NurbsCurve """
pass
def Read(self,reader):
""" Read(self: GH_ConicGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_ConicGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_ConicGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_ConicGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_ConicGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_ConicGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_ConicGraph) -> bool
"""
class GH_DoubleSineGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_DoubleSineGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearCaches(self):
""" ClearCaches(self: GH_DoubleSineGraph) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_DoubleSineGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_DoubleSineGraph) """
pass
def Draw_PreRenderGraph(self,g,cnt):
""" Draw_PreRenderGraph(self: GH_DoubleSineGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderGrip(self,g,cnt,index):
""" Draw_PreRenderGrip(self: GH_DoubleSineGraph,g: Graphics,cnt: GH_GraphContainer,index: int) -> GH_GraphDrawInstruction """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_DoubleSineGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def GraphAccuracy(self,*args):
""" GraphAccuracy(self: GH_DoubleSineGraph,reg: RectangleF) -> float """
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_DoubleSineGraph,reader: GH_IReader) -> bool """
pass
def RecFromPoints(self,*args):
""" RecFromPoints(self: GH_DoubleSineGraph,a: PointF,b: PointF) -> Rectangle """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_DoubleSineGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_DoubleSineGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_DoubleSineGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_DoubleSineGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_DoubleSineGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_DoubleSineGraph) -> bool
"""
m_eq0=None
m_eq1=None
m_path0=None
m_path1=None
class GH_GaussianGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_GaussianGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_GaussianGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_GaussianGraph) """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_GaussianGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_GaussianGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_GaussianGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_GaussianGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_GaussianGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_GaussianGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_GaussianGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_GaussianGraph) -> bool
"""
class GH_GraphContainer(object,GH_ISerializable,IGH_ResponsiveObject):
"""
GH_GraphContainer(n_graph: IGH_Graph)
GH_GraphContainer(n_graph: IGH_Graph,n_x0: float,n_x1: float,n_y0: float,n_y1: float)
"""
def ClearCaches(self):
""" ClearCaches(self: GH_GraphContainer) """
pass
def Duplicate(self):
""" Duplicate(self: GH_GraphContainer) -> GH_GraphContainer """
pass
def FromX(self,t):
""" FromX(self: GH_GraphContainer,t: float) -> float """
pass
def FromY(self,t):
""" FromY(self: GH_GraphContainer,t: float) -> float """
pass
def Internal_Render_Graph(self,*args):
""" Internal_Render_Graph(self: GH_GraphContainer,G: Graphics) """
pass
def Internal_Render_Grip(self,*args):
""" Internal_Render_Grip(self: GH_GraphContainer,g: Graphics,x: int,y: int) """
pass
def Internal_Render_Grips(self,*args):
""" Internal_Render_Grips(self: GH_GraphContainer,G: Graphics) """
pass
def Internal_Render_HorizontalConstraint(self,*args):
""" Internal_Render_HorizontalConstraint(self: GH_GraphContainer,g: Graphics,y: int) """
pass
def Internal_Render_InvalidIcon(self,*args):
""" Internal_Render_InvalidIcon(self: GH_GraphContainer,g: Graphics) """
pass
def Internal_Render_LockedIcon(self,*args):
""" Internal_Render_LockedIcon(self: GH_GraphContainer,g: Graphics) """
pass
def Internal_Render_TagGDIObjects(self,*args):
""" Internal_Render_TagGDIObjects(self: GH_GraphContainer,zoom: Single,bg_brush: SolidBrush,fg_brush: SolidBrush,fg_pen: Pen) -> (SolidBrush,SolidBrush,Pen) """
pass
def Internal_Render_TagX(self,*args):
""" Internal_Render_TagX(self: GH_GraphContainer,g: Graphics,graphrec: RectangleF,r_a: float,r_b: float) """
pass
def Internal_Render_TagY(self,*args):
""" Internal_Render_TagY(self: GH_GraphContainer,g: Graphics,graphrec: RectangleF,r_a: float,r_b: float) """
pass
def Internal_Render_TextTag(self,*args):
""" Internal_Render_TextTag(self: GH_GraphContainer,g: Graphics,graphrec: RectangleF,lowerright: bool,tag: str) """
pass
def Internal_Render_VerticalConstraint(self,*args):
""" Internal_Render_VerticalConstraint(self: GH_GraphContainer,g: Graphics,x: int) """
pass
def NearestGrip(self,*args):
""" NearestGrip(self: GH_GraphContainer,pt: PointF,max_search: float) -> int """
pass
def OnGraphChanged(self,bIntermediate):
""" OnGraphChanged(self: GH_GraphContainer,bIntermediate: bool) """
pass
def PrepareForUse(self):
""" PrepareForUse(self: GH_GraphContainer) """
pass
def Read(self,reader):
""" Read(self: GH_GraphContainer,reader: GH_IReader) -> bool """
pass
def RemapPointsToGraphRegion(self,pts):
""" RemapPointsToGraphRegion(self: GH_GraphContainer,pts: Array[PointF]) """
pass
def Render(self,G,bIncludeDomainTags,samples):
""" Render(self: GH_GraphContainer,G: Graphics,bIncludeDomainTags: bool,samples: List[float]) """
pass
@staticmethod
def Render_GraphBackground(G,region,bActive):
""" Render_GraphBackground(G: Graphics,region: RectangleF,bActive: bool) """
pass
@staticmethod
def Render_GraphGrid(G,region):
""" Render_GraphGrid(G: Graphics,region: RectangleF) """
pass
@staticmethod
def Render_GraphPen():
""" Render_GraphPen() -> Pen """
pass
@staticmethod
def Render_GuidePen():
""" Render_GuidePen() -> Pen """
pass
@staticmethod
def Render_HorizontalConstraint(g,rec,t):
""" Render_HorizontalConstraint(g: Graphics,rec: RectangleF,t: float) """
pass
@staticmethod
def Render_VerticalConstraint(g,rec,t):
""" Render_VerticalConstraint(g: Graphics,rec: RectangleF,t: float) """
pass
def RespondToKeyDown(self,sender,e):
""" RespondToKeyDown(self: GH_GraphContainer,sender: GH_Canvas,e: KeyEventArgs) -> GH_ObjectResponse """
pass
def RespondToKeyUp(self,sender,e):
""" RespondToKeyUp(self: GH_GraphContainer,sender: GH_Canvas,e: KeyEventArgs) -> GH_ObjectResponse """
pass
def RespondToMouseDoubleClick(self,sender,e):
""" RespondToMouseDoubleClick(self: GH_GraphContainer,sender: GH_Canvas,e: GH_CanvasMouseEvent) -> GH_ObjectResponse """
pass
def RespondToMouseDown(self,sender,e):
""" RespondToMouseDown(self: GH_GraphContainer,sender: GH_Canvas,e: GH_CanvasMouseEvent) -> GH_ObjectResponse """
pass
def RespondToMouseMove(self,sender,e):
""" RespondToMouseMove(self: GH_GraphContainer,sender: GH_Canvas,e: GH_CanvasMouseEvent) -> GH_ObjectResponse """
pass
def RespondToMouseUp(self,sender,e):
""" RespondToMouseUp(self: GH_GraphContainer,sender: GH_Canvas,e: GH_CanvasMouseEvent) -> GH_ObjectResponse """
pass
def SolveGraphPath(self,*args):
""" SolveGraphPath(self: GH_GraphContainer) -> GraphicsPath """
pass
def ToRegionBox(self,pt):
""" ToRegionBox(self: GH_GraphContainer,pt: PointF) -> PointF """
pass
def ToRegionBox_x(self,x):
""" ToRegionBox_x(self: GH_GraphContainer,x: float) -> Single """
pass
def ToRegionBox_y(self,y):
""" ToRegionBox_y(self: GH_GraphContainer,y: float) -> Single """
pass
def ToUnitBox(self,pt):
""" ToUnitBox(self: GH_GraphContainer,pt: PointF) -> PointF """
pass
def ToX(self,t_unit):
""" ToX(self: GH_GraphContainer,t_unit: float) -> float """
pass
def ToY(self,t_unit):
""" ToY(self: GH_GraphContainer,t_unit: float) -> float """
pass
def TryValueAt(self,t):
""" TryValueAt(self: GH_GraphContainer,t: float) -> float """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_GraphContainer,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_GraphContainer,writer: GH_IWriter) -> bool """
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
@staticmethod
def __new__(self,n_graph,n_x0=None,n_x1=None,n_y0=None,n_y1=None):
"""
__new__(cls: type,n_graph: IGH_Graph)
__new__(cls: type,n_graph: IGH_Graph,n_x0: float,n_x1: float,n_y0: float,n_y1: float)
"""
pass
def __repr__(self,*args):
""" __repr__(self: object) -> str """
pass
Graph=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Graph(self: GH_GraphContainer) -> IGH_Graph
Set: Graph(self: GH_GraphContainer)=value
"""
LockGrips=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: LockGrips(self: GH_GraphContainer) -> bool
Set: LockGrips(self: GH_GraphContainer)=value
"""
Region=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Region(self: GH_GraphContainer) -> RectangleF
Set: Region(self: GH_GraphContainer)=value
"""
X0=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: X0(self: GH_GraphContainer) -> float
Set: X0(self: GH_GraphContainer)=value
"""
X1=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: X1(self: GH_GraphContainer) -> float
Set: X1(self: GH_GraphContainer)=value
"""
Y0=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Y0(self: GH_GraphContainer) -> float
Set: Y0(self: GH_GraphContainer)=value
"""
Y1=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Y1(self: GH_GraphContainer) -> float
Set: Y1(self: GH_GraphContainer)=value
"""
GraphChanged=None
GraphChangedEventHandler=None
m_graphpath=None
class GH_GraphDrawInstruction(Enum,IComparable,IFormattable,IConvertible):
""" enum GH_GraphDrawInstruction,values: none (0),skip (1) """
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self,*args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self,*args):
pass
def __gt__(self,*args):
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 __le__(self,*args):
pass
def __lt__(self,*args):
pass
def __ne__(self,*args):
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
none=None
skip=None
value__=None
class GH_GraphGrip(object):
"""
GH_GraphGrip()
GH_GraphGrip(nX: float,nY: float)
GH_GraphGrip(nX: float,nY: float,nConstraint: GH_GripConstraint)
GH_GraphGrip(nOther: GH_GraphGrip)
"""
def LimitToUnitDomain(self,bLimitX,bLimitY):
""" LimitToUnitDomain(self: GH_GraphGrip,bLimitX: bool,bLimitY: bool) """
pass
def OnGripChanged(self,bIntermediate):
""" OnGripChanged(self: GH_GraphGrip,bIntermediate: bool) """
pass
def SetIndex(self,nIndex):
""" SetIndex(self: GH_GraphGrip,nIndex: int) """
pass
def __eq__(self,*args):
""" x.__eq__(y) <==> x==y """
pass
@staticmethod
def __new__(self,*__args):
"""
__new__(cls: type)
__new__(cls: type,nX: float,nY: float)
__new__(cls: type,nX: float,nY: float,nConstraint: GH_GripConstraint)
__new__(cls: type,nOther: GH_GraphGrip)
"""
pass
def __ne__(self,*args):
pass
Constraint=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Constraint(self: GH_GraphGrip) -> GH_GripConstraint
Set: Constraint(self: GH_GraphGrip)=value
"""
Index=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Index(self: GH_GraphGrip) -> int
"""
Point=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Point(self: GH_GraphGrip) -> PointF
"""
X=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: X(self: GH_GraphGrip) -> float
Set: X(self: GH_GraphGrip)=value
"""
Y=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Y(self: GH_GraphGrip) -> float
Set: Y(self: GH_GraphGrip)=value
"""
GripChanged=None
GripChangedEventHandler=None
m_c=None
m_i=None
m_x=None
m_y=None
class GH_GripConstraint(Enum,IComparable,IFormattable,IConvertible):
""" enum GH_GripConstraint,values: horizontal (1),none (0),vertical (2) """
def __eq__(self,*args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self,*args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self,*args):
pass
def __gt__(self,*args):
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 __le__(self,*args):
pass
def __lt__(self,*args):
pass
def __ne__(self,*args):
pass
def __reduce_ex__(self,*args):
pass
def __str__(self,*args):
pass
horizontal=None
none=None
value__=None
vertical=None
class GH_LinearGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_LinearGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_LinearGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_LinearGraph) """
pass
def Draw_PreRenderGraph(self,g,cnt):
""" Draw_PreRenderGraph(self: GH_LinearGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def EmitProxyObject(self):
""" EmitProxyObject(self: GH_LinearGraph) -> IGH_GraphProxyObject """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_LinearGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_LinearGraph,reader: GH_IReader) -> bool """
pass
def SetFromParameters(self,nA,nB):
""" SetFromParameters(self: GH_LinearGraph,nA: float,nB: float) """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_LinearGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_LinearGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_LinearGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_LinearGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_LinearGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_LinearGraph) -> bool
"""
GH_LinearGraphProxy=None
class GH_ParabolaGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_ParabolaGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_ParabolaGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_ParabolaGraph) """
pass
def Draw_PreRenderGraph(self,g,cnt):
""" Draw_PreRenderGraph(self: GH_ParabolaGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_ParabolaGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_ParabolaGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_ParabolaGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_ParabolaGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_ParabolaGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_ParabolaGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_ParabolaGraph) -> bool
"""
class GH_PerlinGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_PerlinGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_PerlinGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_PerlinGraph) """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_PerlinGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Interpolate(self,*args):
""" Interpolate(self: GH_PerlinGraph,v0: float,v1: float,v2: float,v3: float,a: float) -> float """
pass
def Noise(self,*args):
""" Noise(self: GH_PerlinGraph,i: int) -> float """
pass
def Read(self,reader):
""" Read(self: GH_PerlinGraph,reader: GH_IReader) -> bool """
pass
def Smooth(self,*args):
""" Smooth(self: GH_PerlinGraph,x: float) -> float """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_PerlinGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_PerlinGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_PerlinGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_PerlinGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_PerlinGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_PerlinGraph) -> bool
"""
amplitude=None
decay=None
frequency=None
x_offset=None
y_offset=None
class GH_PowerGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_PowerGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_PowerGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_PowerGraph) """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_PowerGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_PowerGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_PowerGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_PowerGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_PowerGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_PowerGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_PowerGraph) -> bool
"""
class GH_SincGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_SincGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_SincGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_SincGraph) """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_SincGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_SincGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_SincGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_SincGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_SincGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_SincGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_SincGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_SincGraph) -> bool
"""
amplitude=None
frequency=None
X0=None
X1=None
x_shift=None
Y0=None
Y1=None
y_shift=None
class GH_SineEquation(object,GH_ISerializable):
""" GH_SineEquation() """
def Read(self,reader):
""" Read(self: GH_SineEquation,reader: GH_IReader) -> bool """
pass
def SetEquationFromGrips(self):
""" SetEquationFromGrips(self: GH_SineEquation) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_SineEquation,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_SineEquation,writer: GH_IWriter) -> bool """
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 __repr__(self,*args):
""" __repr__(self: object) -> str """
pass
amplitude=None
frequency=None
offset=None
shift=None
X0=None
X1=None
Y0=None
Y1=None
class GH_SineGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_SineGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_SineGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_SineGraph) """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: GH_SineGraph,reg: RectangleF) -> Array[PointF] """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_SineGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_SineGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_SineGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_SineGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_SineGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_SineGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_SineGraph) -> bool
"""
m_eq=None
class GH_SquareRootGraph(GH_AbstractGraph,IGH_Graph,GH_ISerializable):
""" GH_SquareRootGraph() """
def AddGrip(self,*args):
""" AddGrip(self: GH_AbstractGraph,Grip: GH_GraphGrip) """
pass
def ClearGrips(self,*args):
""" ClearGrips(self: GH_AbstractGraph) """
pass
def CreateDerivedDuplicate(self,*args):
""" CreateDerivedDuplicate(self: GH_SquareRootGraph) -> GH_AbstractGraph """
pass
def CreateGrips(self,*args):
""" CreateGrips(self: GH_SquareRootGraph) """
pass
def Draw_PreRenderGraph(self,g,cnt):
""" Draw_PreRenderGraph(self: GH_SquareRootGraph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def GHGraphToPointArray(self,*args):
"""
GHGraphToPointArray(reg: RectangleF,pix_accuracy: float,eval: GH_Evaluator) -> Array[PointF]
GHGraphToPointArray(self: GH_AbstractGraph,reg: RectangleF,pix_accuracy: float) -> Array[PointF]
"""
pass
def Internal_GripChanged(self,*args):
""" Internal_GripChanged(self: GH_AbstractGraph,grip: GH_GraphGrip,bIntermediate: bool) """
pass
def Read(self,reader):
""" Read(self: GH_SquareRootGraph,reader: GH_IReader) -> bool """
pass
def UpdateEquation(self,*args):
""" UpdateEquation(self: GH_SquareRootGraph) """
pass
def ValueAt(self,t):
""" ValueAt(self: GH_SquareRootGraph,t: float) -> float """
pass
def Write(self,writer):
""" Write(self: GH_SquareRootGraph,writer: GH_IWriter) -> bool """
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
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: GH_SquareRootGraph) -> Guid
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: GH_SquareRootGraph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: GH_SquareRootGraph) -> bool
"""
class IGH_Graph(GH_ISerializable):
# no doc
def ClearCaches(self):
""" ClearCaches(self: IGH_Graph) """
pass
def Draw_PostRenderGraph(self,g,cnt):
""" Draw_PostRenderGraph(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer) """
pass
def Draw_PostRenderGrid(self,g,cnt):
""" Draw_PostRenderGrid(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer) """
pass
def Draw_PostRenderGrip(self,g,cnt,index):
""" Draw_PostRenderGrip(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer,index: int) """
pass
def Draw_PostRenderTags(self,g,cnt):
""" Draw_PostRenderTags(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer) """
pass
def Draw_PreRenderGraph(self,g,cnt):
""" Draw_PreRenderGraph(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderGrid(self,g,cnt):
""" Draw_PreRenderGrid(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderGrip(self,g,cnt,index):
""" Draw_PreRenderGrip(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer,index: int) -> GH_GraphDrawInstruction """
pass
def Draw_PreRenderTags(self,g,cnt):
""" Draw_PreRenderTags(self: IGH_Graph,g: Graphics,cnt: GH_GraphContainer) -> GH_GraphDrawInstruction """
pass
def Duplicate(self):
""" Duplicate(self: IGH_Graph) -> IGH_Graph """
pass
def EmitProxyObject(self):
""" EmitProxyObject(self: IGH_Graph) -> IGH_GraphProxyObject """
pass
def GDI_GraphPath(self,reg):
""" GDI_GraphPath(self: IGH_Graph,reg: RectangleF) -> Array[PointF] """
pass
def OnGraphChanged(self,bIntermediate):
""" OnGraphChanged(self: IGH_Graph,bIntermediate: bool) """
pass
def PrepareForUse(self):
""" PrepareForUse(self: IGH_Graph) """
pass
def ValueAt(self,t):
""" ValueAt(self: IGH_Graph,t: float) -> float """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
Description=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Description(self: IGH_Graph) -> str
"""
GraphTypeID=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: GraphTypeID(self: IGH_Graph) -> Guid
"""
Grips=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Grips(self: IGH_Graph) -> List[GH_GraphGrip]
"""
Icon_16x16=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Icon_16x16(self: IGH_Graph) -> Image
"""
IsValid=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: IsValid(self: IGH_Graph) -> bool
"""
Name=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Get: Name(self: IGH_Graph) -> str
"""
GraphChanged=None
GraphChangedEventHandler=None
class IGH_GraphProxyObject:
# no doc
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
|
def betweenness_centrality(G, k=None, normalized=True, weight=None, endpoints=False, seed=None):
# doesn't currently support `weight`, `k`, `endpoints`, `seed`
query = """\
CALL gds.betweenness.stream({
nodeProjection: $node_label,
relationshipProjection: {
relType: {
type: $relationship_type,
orientation: $direction,
properties: {}
}
}
})
YIELD nodeId, score
RETURN gds.util.asNode(nodeId).%s AS node, score
ORDER BY node ASC
""" % G.identifier_property
params = G.base_params()
with G.driver.session() as session:
result = {row["node"]: row["score"] for row in session.run(query, params)}
return result
def closeness_centrality(G, u=None, distance=None, wf_improved=True, reverse=False):
# doesn't currently supported `distance`, `reverse`, `wf_improved`
query = """\
CALL gds.alpha.closeness.stream({
nodeProjection: $node_label,
relationshipProjection: {
relType: {
type: $relationship_type,
orientation: $direction,
properties: {}
}
}})
YIELD nodeId, centrality
RETURN gds.util.asNode(nodeId).%s AS node, centrality
ORDER BY node ASC
""" % G.identifier_property
params = G.base_params()
with G.driver.session() as session:
result = {row["node"]: row["centrality"] for row in session.run(query, params)}
if u:
return result[u]
return result
def pagerank(G, alpha=0.85, personalization=None, max_iter=100, tol=1.0e-8, nstart=None, weight='weight'):
# doesn't currently supported `personalization`, `tol`, `nstart`, `weight`
query = """\
CALL gds.pageRank.stream({
nodeProjection: $node_label,
relationshipProjection: {
relType: {
type: $relationship_type,
orientation: $direction,
properties: {}
}
},
relationshipWeightProperty: null,
dampingFactor: $dampingFactor,
maxIterations: $iterations
}) YIELD nodeId, score
WITH gds.util.asNode(nodeId).%s AS node, score
RETURN node, score
""" % G.identifier_property
params = G.base_params()
params["iterations"] = max_iter
params["dampingFactor"] = alpha
with G.driver.session() as session:
result = {row["node"]: row["score"] for row in session.run(query, params)}
return result
|
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 11 10:50:38 2020
@author: Administrator
"""
"""
实现字符串的反转,要求不使用任何系统方法,且时间复杂度最小
"""
def ReverseStr(string):
lens = len(string)
mid = int(lens / 2)
for i in range(mid):
temp = string[i]
string = string[0:i] + string[lens - i - 1] + string[i + 1 : lens - i - 1] + temp + string[lens - i:]
return string
def WordReversed(words):
wordlist = words.split()
lens = len(wordlist)
mid = int(lens / 2)
for i in range(mid):
temp = wordlist[i]
wordlist[i] = wordlist[lens - i - 1]
wordlist[lens - i - 1] = temp
string = ''
for i in range(lens):
string += wordlist[i]
string += " "
return string
if __name__ == "__main__":
string = 'abcdefg'
string = ReverseStr(string)
print("The string after reversing is : " , string)
string = "how are you"
string = WordReversed(string)
print("The words after reversing is : " , string)
|
# A foolish try.
def splitp(p: str):
res = []
tmp = ""
for i in range(len(p)):
if p[i] != "*" and p[i] != ".":
tmp += p[i]
elif p[i] == ".":
res.append(tmp)
res.append(p[i])
tmp = ""
else:
if len(res) > 0 and res[-1] == "." and tmp == "":
res = res[:-1]
res.append(".*")
else:
res.append(tmp[:-1])
res.append(tmp[-1]+p[i])
tmp = ""
res.append(tmp)
res = [w for w in res if w != ""]
return res
def p2gen(s: str, p: str):
sgen = ""
cr = 0
presp = []
splitedp = splitp(p)
for k,sp in enumerate(splitedp):
lensp = len(sp)
if "*" in sp and "." not in sp:
i = max(0, len(sp) - 2)
j = 0
gs = sp[:i]
while j <= len(s) and s[cr:cr+i+j] == gs:
gs = sp[:-1] + sp[-2] * j
j += 1
sgen += gs[:-1]
cr += len(gs[:-1])
presp.append(sp[0])
elif "." in sp and "*" not in sp:
sgen += sp
cr += len(sp)
else:
if len(sgen) > 0 and sp[0] in presp and sp[0] == sgen[-1]:
continue
else:
sgen += sp
cr += len(sp)
return sgen
def isMatch(s: str, p: str) -> bool:
res = True
if p == ".*":
return True
pgen = p2gen(s, p)
print(pgen)
gen = ""
if ".*" not in p:
for i in range(len(pgen)):
if pgen[i] == ".":
try:
c = s[i]
except IndexError as e:
return False
else:
c = pgen[i]
gen += c
res = gen == s
else:
n = 0
newp = "".join([w for w in pgen.split(".*")])
for l in newp:
if l == ".":
n += 1
continue
else:
if l not in s:
res = False
break
if n > len(s):
res = False
return res
|
__author__ = 'awbennett'
class AbstractMethod(object):
def __init__(self):
pass
def fit(self, x_train, z_train, y_train, x_dev, z_dev, y_dev):
raise NotImplementedError()
def predict(self, x_test):
raise NotImplementedError()
|
class KeyParser:
def __init__(self, separator='\t', row=1, column=0):
"""
:param separator: Field separator to split one line in several values
:param row: The position in a line of the row identifier (starting at zero)
:param column: The position in a line of the column identifier (starting at zero)
"""
self.separator = separator
self.row = row
self.column = column
def keys(self, line):
"""
Return the row and column identifiers of this line
:param line:
:return:
"""
values = line.split(self.separator)
return values[self.row], values[self.column]
|
# -*- coding: utf-8 -*-
'''
:file: utils.py
:author: -Farmer
:url: https://blog.farmer233.top
:date: 2021/09/04 23:45:40
'''
class ObjectDict(dict):
""":copyright: (c) 2014 by messense.
Makes a dictionary behave like an object, with attribute-style access.
"""
def __getattr__(self, key):
if key in self:
return self[key]
return None
def __setattr__(self, key, value):
self[key] = value
def __getstate__(self):
return None
def is_endpoint(url_or_endpoint:str) -> bool:
"""判断是不是端点
Args:
url_or_endpoint (str): url 或 端点字符串
Returns:
bool: 不是http则返回False
"""
if url_or_endpoint.startswith(('http://', 'https://')):
return False
return True
|
# -*- coding: utf-8 -*-
class Types:
""" Перечень типов виртуальной машины """
NONE = 0
INT = 1
CHAR = 2
BOOL = 3
STRING = 4
BOXED_ARR = 5
UNBOXED_ARR = 6
DYNAMIC = 9
""" Перечень примитивных типов """
PRIMITIVE_TYPES = [
Types.NONE,
Types.INT,
Types.CHAR,
Types.BOOL
]
""" Перечень ссылочных типов """
POINTER_TYPES = [
Types.STRING,
Types.BOXED_ARR,
Types.UNBOXED_ARR
]
""" Перечень типов, значения которых хранятся в стековой памяти """
STACKABLE_TYPES = [
Types.NONE,
Types.INT,
Types.CHAR,
Types.BOOL
]
""" Перечень типов, значения которых хранятся в куче """
HEAPABLE_TYPES = [
Types.STRING,
Types.BOXED_ARR,
Types.UNBOXED_ARR
]
|
def findDivisible(numberList):
print("Given list is ",numberList)
print("Divisible by 5 in a list")
for num in numberList:
if(num%5==0):
print(num)
numberList=[10,55,21,26,55]
findDivisible(numberList)
|
# Construir um programa que calcule a tabuada de um valor qualquer de 1 até 10 e armazene os resultados em uma matriz A de uma dimensão. Apresentar os elementos da matriz A.
A = []
tabuada = int(input('Informe uma Tabuada: '))
for i in range(0, 11):
A.append(i * tabuada)
for i in range(0, 11):
print('{} x {} = A[{}]'.format(tabuada, i, A[i]))
|
event_aliases = {
'halloween 2020': 1,
'candy': 2,
'swimsuits 2020': 3,
'maids': 5,
'christmas 2020': 6,
'countdown': 7,
'monster hunter pt1': 9,
'mh1': 9,
'monster hunter pt2': 10,
'mh2': 10,
}
|
BZX = Contract.from_abi("BZX", "0xD8Ee69652E4e4838f2531732a46d1f7F584F0b7f", interface.IBZx.abi)
TOKEN_REGISTRY = Contract.from_abi("TOKEN_REGISTRY", "0xf0E474592B455579Fe580D610b846BdBb529C6F7", TokenRegistry.abi)
list = TOKEN_REGISTRY.getTokens(0, 100)
for l in list:
iTokenTemp = Contract.from_abi("iTokenTemp", l[0], LoanTokenLogicStandard.abi)
globals()[iTokenTemp.symbol()] = iTokenTemp
underlyingTemp = Contract.from_abi("underlyingTemp", l[1], TestToken.abi)
if (l[1] == "0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2"):
globals()["MKR"] = underlyingTemp # MRK has some fun symbol()
else:
globals()[underlyingTemp.symbol()] = underlyingTemp
CHI = Contract.from_abi("CHI", "0x0000000000004946c0e9F43F4Dee607b0eF1fA1c", TestToken.abi)
STAKING = Contract.from_abi("STAKING", "0xe95Ebce2B02Ee07dEF5Ed6B53289801F7Fc137A4", StakingV1_1.abi)
vBZRX = Contract.from_abi("vBZRX", "0xB72B31907C1C95F3650b64b2469e08EdACeE5e8F", BZRXVestingToken.abi)
POOL3 = Contract.from_abi("CURVE3CRV", "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490", TestToken.abi)
BPT = Contract.from_abi("BPT", "0xe26A220a341EAca116bDa64cF9D5638A935ae629", TestToken.abi)
SLP = Contract.from_abi("SLP", "0xa30911e072A0C88D55B5D0A0984B66b0D04569d0", TestToken.abi)
HELPER = Contract.from_abi("HELPER", "0x3B55369bfeA51822eb3E85868c299E8127E13c56", HelperImpl.abi)
PRICE_FEED = Contract.from_abi("PRICE_FEED", BZX.priceFeeds(), abi = PriceFeeds.abi)
stakingProxy = Contract.from_abi("proxy", "0xe95Ebce2B02Ee07dEF5Ed6B53289801F7Fc137A4", StakingProxy.abi)
stakingImpl = StakingV1_1.deploy({'from': stakingProxy.owner()})
stakingProxy.replaceImplementation(stakingImpl, {'from': stakingProxy.owner()})
STAKING = Contract.from_abi("STAKING", stakingProxy.address, StakingV1_1.abi)
SUSHI_ROUTER = Contract.from_abi("router", "0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F", interface.IPancakeRouter02.abi)
for acc in [accounts[0], accounts[9]]:
quote = SUSHI_ROUTER.quote(1000*10**18, WETH.address, BZRX.address)
quote1 = SUSHI_ROUTER.quote(10000*10**18, BZRX.address, WETH.address)
BZRX.approve(SUSHI_ROUTER, 2**256-1, {'from': acc})
WETH.approve(SUSHI_ROUTER, 2**256-1, {'from': acc})
BZRX.transfer(acc, 20000e18, {'from': BZRX})
WETH.transfer(acc, 20e18, {'from': WETH})
SUSHI_ROUTER.addLiquidity(WETH,BZRX, quote1, BZRX.balanceOf(acc), 0, 0, acc, 10000000e18, {'from': acc})
SLP.approve(STAKING, 2**256-1, {'from': acc})
CHEF = Contract.from_abi("CHEF", "0xc2EdaD668740f1aA35E4D8f227fB8E17dcA888Cd", interface.IMasterChefSushi.abi)
SLP.approve(CHEF, 2**256-1, {'from':STAKING})
SUSHI = Contract.from_abi("SUSHI", "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2", TestToken.abi)
#CHEF.deposit(188, SLP.balanceOf(STAKING), {'from': STAKING})
feesExtractorImpl = FeeExtractAndDistribute_ETH.deploy({'from': stakingProxy.owner()})
proxy = Proxy.deploy(feesExtractorImpl, {'from': stakingProxy.owner()})
FEE_EXTRACTOR = Contract.from_abi("FEE_EXTRACTOR", proxy.address, FeeExtractAndDistribute_ETH.abi)
BZX.setFeesController(FEE_EXTRACTOR, {'from': BZX.owner()})
FEE_EXTRACTOR.setPaths([
["0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # WETH -> BZRX
["0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # WBTC -> WETH -> BZRX
["0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # AAVE -> WETH -> BZRX
# ["0xdd974D5C2e2928deA5F71b9825b8b646686BD200", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
# "0x56d811088235F11C8920698a204A5010a788f4b3"] # KNC -> WETH -> BZRX
["0x9f8F72aA9304c8B593d555F12eF6589cC3A579A2", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # MKR -> WETH -> BZRX
["0x514910771AF9Ca656af840dff83E8264EcF986CA", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # LINK -> WETH -> BZRX
["0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # YFI -> WETH -> BZRX
["0xc00e94cb662c3520282e6f5717214004a7f26888", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # COMP -> WETH -> BZRX,
#["0xBBbbCA6A901c926F240b89EacB641d8Aec7AEafD", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
# "0x56d811088235F11C8920698a204A5010a788f4b3"], # LRC -> WETH -> BZRX <--- no liquidity on sushi
["0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
"0x56d811088235F11C8920698a204A5010a788f4b3"], # UNI -> WETH -> BZRX
], {'from': BZX.owner()})
FEE_EXTRACTOR.setApprovals({'from': FEE_EXTRACTOR.owner()})
'''
# approve curvpool spent dai
DAI.approve('0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7', 2**256-1, {'from': FEE_EXTRACTOR})
USDC.approve('0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7', 2**256-1, {'from': FEE_EXTRACTOR})
USDT.approve('0xbEbc44782C7dB0a1A60Cb6fe97d0b483032FF1C7', 2**256-1, {'from': FEE_EXTRACTOR})
BZRX.approve(STAKING, 2**256-1, {'from': FEE_EXTRACTOR})
POOL3.approve(STAKING, 2**256-1, {'from': FEE_EXTRACTOR})
'''
DAO = Contract.from_abi("governorBravoDelegator", address="0x9da41f7810c2548572f4Fa414D06eD9772cA9e6E", abi=GovernorBravoDelegate.abi)
TIMELOCK = Contract.from_abi("TIMELOCK", address="0xfedC4dD5247B93feb41e899A09C44cFaBec29Cbc", abi=Timelock.abi)
|
class PdfRelayException(Exception):
def __init__(self, *args, **kwargs):
super(PdfRelayException, self).__init__(args, kwargs)
class JobError(PdfRelayException):
"""Issue with the parameters of the conversion job"""
class EngineError(PdfRelayException):
"""Engine process spawning/execution error"""
class MetadataError(PdfRelayException):
"""An error occurred in the retrieval or saving of PDF metadata"""
|
expected_output = {
'vrf': {
'default': {
'local_label': {
201: {
'outgoing_label_or_vc': {
'Pop tag': {
'prefix_or_tunnel_id': {
'10.18.18.18/32': {
'outgoing_interface': {
'Port-channel1/1/0': {
'next_hop': 'point2point', 'bytes_label_switched': 0}}}}}}}, 'No Label': {
'outgoing_label_or_vc': {
'2/35': {
'prefix_or_tunnel_id': {
'10.18.18.18/32': {
'outgoing_interface': {
'ATM4/1/0.1': {
'next_hop': 'point2point', 'bytes_label_switched': 0}}}}}, 'No Label': {
'prefix_or_tunnel_id': {
'None': {
'outgoing_interface': {
'No Label': {}}}}}}}, 251: {
'outgoing_label_or_vc': {
'18': {
'prefix_or_tunnel_id': {
'10.17.17.17/32': {
'outgoing_interface': {
'Port-channel1/1/0': {
'next_hop': 'point2point', 'bytes_label_switched': 0}}}}}}}}}}}
|
a = 1
b = 2
num = 3
|
_base_ = [
'r50_sz224_4xb64_head1_lr0_1_step_ep20.py',
]
# optimizer
optimizer = dict(lr=0.01)
|
#!/usr/bin/python
# -*- coding:utf-8 -*-
# Powered By KK Studio
# 导航Nav
class Nav:
url_none = 'javascript:void(0);'
nav = [
{
'url': '/',
'name': u'控制中心',
'icon': 'icon-wrench',
'sub': []
},
{
'url': url_none,
'name': u'主机管理',
'icon': 'icon-screen-desktop',
'sub': [
{
'url': '/host',
'name': u'主机清单',
'icon': ''
},
{
'url': '/host/group',
'name': u'主机分组',
'icon': ''
},
{
'url': '/host/create',
'name': u'创建主机',
'icon': ''
}
]
},
{
'url': url_none,
'name': 'SaltStack',
'icon': 'icon-layers',
'sub': [
{
'url': '/salt/master',
'name': u'Master管理',
'icon': ''
},
{
'url': '/salt/key',
'name': u'SaltKey管理',
'icon': ''
}
]
},
{
'url': url_none,
'name': u'任务管理',
'icon': 'icon-bar-chart',
'sub': [
{
'url': '#',
'name': u'命令下发',
'icon': ''
},
{
'url': '#',
'name': u'文件分发',
'icon': ''
}
]
},
{
'url': url_none,
'name': u'系统管理',
'icon': 'icon-wrench',
'sub': [
{
'url': '#',
'name': u'系统设置',
'icon': ''
},
{
'url': '/user',
'name': u'用户管理',
'icon': ''
}
,
{
'url': '#',
'name': u'版本升级',
'icon': ''
}
]
},
{
'url': url_none,
'name': u'页面管理',
'icon': 'icon-grid',
'sub': [
{
'url': '/page/404.html',
'name': u'404页面',
'icon': 'icon-bulb'
},
{
'url': '/page/blank.html',
'name': u'空白页面',
'icon': 'icon-bar-chart'
}
,
{
'url': '/user/login',
'name': u'登录页面',
'icon': 'icon-bulb'
}
]
},
{
'url': url_none,
'name': u'关于',
'icon': 'icon-info',
'sub': [
{
'url': '#',
'name': u'系统信息',
'icon': ''
},{
'url': '#',
'name': u'技术交流',
'icon': ''
},{
'url': '#',
'name': u'Bug提交',
'icon': ''
}
]
}
]
# 生成二级菜单
def gen_sub_nav(self,data,url=''):
HL = False
if not data: # 二级菜单为空
return {'HL': HL, 'html': ''}
html = '<ul class="sub-menu">'
for i in data:
if url == i['url']:
css_class = 'nav-item active open' # High Light Style
HL = True
else:
css_class = 'nav-item'
html += '<li class="%s"><a href="%s" class="nav-link">' % (css_class,i['url'])
if i['icon']:
html += '<i class="%s"></i> ' % i['icon']
html += '<span class="title">%s</span></a></li>' % i['name']
html += '</ul>'
return {'HL': HL, 'html': html}
# 生成菜单
def gen_nav(self,url):
html = ''
for i in self.nav:
sub = self.gen_sub_nav(i['sub'],url)
if i['url'] == url or sub['HL']:
html += '<li class="%s">' % 'nav-item active open'
html += '<a href="%s" class="nav-link nav-toggle">' % i['url']
html += '<i class="%s"></i><span class="title">%s</span>' % (i['icon'],i['name'])
if sub['html']:
html += '<span class="arrow open"></span><span class="selected"></span></a>'
else:
html += '<span class="arrow"></span><span class="selected"></span></a>'
else:
html += '<li class="%s">' % 'nav-item'
html += '<a href="%s" class="nav-link nav-toggle">' % i['url']
html += '<i class="%s"></i><span class="title">%s</span>' % (i['icon'], i['name'])
html += '<span class="arrow"></span></a>'
html += sub['html'] # Sub Menu Html
html += '</li>'
return html
#def render(self,url):
# data = self.gen_nav(url)
# return self.render_string("ui_modules/nav.html",data=data)
|
KNOWN_SIDS = {
"S-1-0": "Null Authority",
"S-1-0-0": "Nobody",
"S-1-1": "World Authority",
"S-1-1-0": "Everyone",
"S-1-2": "Local Authority",
"S-1-2-0": "Local",
"S-1-3": "Creator Authority",
"S-1-3-0": "Creator Owner",
"S-1-3-1": "Creator Group",
"S-1-3-4": "Owner Rights",
"S-1-4": "Non-unique Authority",
"S-1-5": "NT Authority",
"S-1-5-1": "Dialup",
"S-1-5-2": "Network",
"S-1-5-3": "Batch",
"S-1-5-4": "Interactive",
"S-1-5-5-X-Y": "Logon Session",
"S-1-5-6": "Service",
"S-1-5-7": "Anonymous",
"S-1-5-9": "Enterprise Domain Controllers",
"S-1-5-10": "Principal Self",
"S-1-5-11": "Authenticated Users",
"S-1-5-12": "Restricted Code",
"S-1-5-13": "Terminal Server Users",
"S-1-5-14": "Remote Interactive Logon",
"S-1-5-17": "IUSR",
"S-1-5-18": "Local System",
"S-1-5-19": "NT Authority Local Service",
"S-1-5-20": "NT Authority Network Service",
"S-1-5-32-544": "Administrators",
"S-1-5-32-545": "Users",
"S-1-5-32-546": "Guests",
"S-1-5-32-547": "Power Users",
"S-1-5-32-548": "Account Operators",
"S-1-5-32-549": "Server Operators",
"S-1-5-32-550": "Print Operators",
"S-1-5-32-551": "Backup Operators",
"S-1-5-32-552": "Replicators",
"S-1-5-32-582": "Storage Replica Administrators",
"S-1-5-64-10": "NTLM Authentication",
"S-1-5-64-14": "SChannel Authentication",
"S-1-5-64-21": "Digest Authentication",
"S-1-5-80": "NT Service",
}
KNOWN_RIDS = {
"500": "Administrator",
"501": "Guest",
"502": "KRBTGT",
"512": "Domain Admins",
"513": "Domain Users",
"514": "Domain Guests",
"515": "Domain Computers",
"516": "Domain Controllers",
"517": "Cert Publishers",
"518": "Schema Admins",
"519": "Enterprise Admins",
"520": "Group Policy Creator Owners",
"526": "Key Admins",
"527": "Enterprise Key Admins",
"553": "RAS and IAS Servers",
}
# https://github.com/SecureAuthCorp/impacket/blob/master/impacket/ldap/ldaptypes.py#L191
ACCESS_MASK_FLAGS = {
'GENERIC_READ': ('GenericRead', 0x80000000),
'GENERIC_WRITE': ('GenericWrite', 0x40000000),
'GENERIC_EXECUTE': ('GenericExecute', 0x20000000),
'GENERIC_ALL': ('GenericAll', 0x10000000),
'MAXIMUM_ALLOWED': ('MaximumAllowed', 0x02000000),
'ACCESS_SYSTEM_SECURITY': ('AccessSystemSecurity', 0x01000000),
'SYNCHRONIZE': ('Synchronize', 0x00100000),
'WRITE_OWNER': ('WriteOwner', 0x00080000),
'WRITE_DACL': ('WriteDacl', 0x00040000),
'READ_CONTROL': ('ReadControl', 0x00020000),
'DELETE': ('Delete', 0x00010000)
}
# https://github.com/SecureAuthCorp/impacket/blob/master/impacket/ldap/ldaptypes.py#L233
ACCESS_ALLOWED_OBJECT_ACE_FLAGS = {
'ADS_RIGHT_DS_CONTROL_ACCESS': ('ExtendedRight', 0x00000100),
'ADS_RIGHT_DS_CREATE_CHILD': ('CreateChild', 0x00000001),
'ADS_RIGHT_DS_DELETE_CHILD' : ('DeleteChild', 0x00000002),
'ADS_RIGHT_DS_READ_PROP': ('ReadProperty', 0x00000010),
'ADS_RIGHT_DS_WRITE_PROP': ('WriteProperty', 0x00000020),
'ADS_RIGHT_DS_DELETE_TREE': ('DeleteTree', 0x00000040),
'ADS_RIGHT_DS_SELF': ('Self', 0x00000008)
}
|
'''
Write a Python program to count the number occurrence of a specific character in a string.
'''
data = input("Enter a long sentence: ")
datas = data[4]
print(data.count(datas))
|
class Reversed_Proxy(object):
def __init__(self, app, script_name=None, scheme='http', server=None):
self.app = app
self.script_name = script_name
self.scheme = scheme
self.server = server
def __call__(self, environ, start_response):
script_name = environ.get('HTTP_X_SCRIPT_NAME', '') or self.script_name
if script_name:
environ['SCRIPT_NAME'] = script_name
path_info = environ['PATH_INFO']
if path_info.startswith(script_name):
environ['PATH_INFO'] = path_info[len(script_name):]
#scheme = environ.get('HTTP_X_SCHEME', '') or self.scheme
scheme = environ.get('HTTP_X_FORWARDED_PROTO', '') or self.scheme
if scheme:
environ['wsgi.url_scheme'] = scheme
server = environ.get('HTTP_X_FORWARDED_SERVER', '') or self.server
if server:
environ['HTTP_HOST'] = server
environ['wsgi.url_scheme'] = self.scheme
return self.app(environ, start_response)
|
class ResponsePayloadOperations:
def ProductsJSON(self, records):
products = []
i = 0
while i < len(records):
products.append({
'id' : records[i][0],
'name' : records[i][1],
'description': records[i][2],
'count' : records[i][3],
'price' : float(records[i][4]),
})
i+=1
return products
def ProductDetailsJSON(self, record):
product = {
'id' : record[0],
'name' : record[1],
'description': record[2],
'count' : record[3],
'price' : float(record[4]),
'manufacturer_name' : record[5]
}
return product
def CartProductsJSON(self, records):
cart = {'products' : [], 'total_price' : records[len(records) - 1][5]}
i = 0;
while i < len(records) - 1:
cart['products'].append({
'id' : records[i][0],
'name' : records[i][1],
'description': records[i][2],
'count' : records[i][3],
'price' : float(records[i][4]),
'total_price' : float(records[i][5])
})
i+=1
return cart
|
class dtype(object):
def __init__(self, name):
self.type_name = name
float = dtype('float')
double = dtype('double')
half = dtype('half')
uint8 = dtype('uint8')
int16 = dtype('int16')
int32 = dtype('int32')
int64 = dtype('int64')
|
#!/usr/bin/python3
def print_list_integer(my_list=[]):
for i in range(len(my_list)):
print("{:d}".format(my_list[i]))
|
# example of a function that does not mutate its input
def add_one_to_series(series):
"""Adds one to a series
"""
# we are not mutating the original data, but returning a copy with new values
return series + 1
# example of a function that does not mutate its data frame input
def add_one_to_data_frame(df):
"""Adds one to the "zeros" column in the input data frame
"""
# do not mutate the input data frame, create a copy
another = df.copy()
another['zeros'] = another['zeros'] + 1
return another
def clean_name(name):
"""Clean a name string
"""
# flip if in last name, first name format
tokens = name.split(',')
if len(tokens) == 2:
first, last = tokens[1], tokens[0]
else:
first, last = name.split(' ')[:2]
# remove punctuation
first_clean = first.strip().capitalize()
last_clean = last.strip().capitalize()
return f'{first_clean} {last_clean}'
|
res=0
for i in range(1,1001):
res += i**i
res=str(res)
#res='nursyahjaya'
print(res[len(res)-10:])
|
def get_token_group(partitioner="murmur3", group="static-random"):
return static_tokens[partitioner][group]
static_tokens = {
"murmur3": {
"static-random": [
"-1046743493966813495,-1127180199537005110,-118022819648698044,-1189703775502125091,-1249903220729897117,-1363229807648136104,-1417918458648377457,-1437865264282801937,-1528957899674249742,-1532421237680415055,-1540441968969062574,-1572010881740353586,-1609475207664171197,-1769296612913295295,-1808427509963493918,-1846213939509713277,-1855127975471624116,-1932936102518991809,-194177010067139552,-1952824233669961721,-2168468618853198961,-2212811173632397422,-2224073043401917307,-2324126366734237452,-2333594840218514715,-2399207243138163479,-2468400764628181255,-2535151670914625344,-256572049336134077,-2807708543876815045,-2824235217461587214,-2862050507027826799,-3161378531057855291,-33354444488475910,-3414678289942729511,-3495784218411154482,-3498309815808227243,-3547701629156850550,-378574143863501072,-4085565831581058535,-4428900701724684480,-447925751549470690,-4484391549230244975,-4516127683125049368,-4520770367495045817,-4526455673979467044,-4789895439644164395,-4789939008522923682,-4791851219884036980,-479328201062052039,-5193708515461897497,-5259290934916184840,-5287100018888543991,-5434311813704112605,-5485234181114316569,-5531230855463284396,-5560445540509940445,-5573170948792478121,-5582835457588024126,-5590971545862520494,-5633057922737300203,-5653987746389399040,-5748552453115153721,-5789204859254779710,-58493423341241475,-5892789307037758994,-6138069628765147348,-6232174565472869987,-6258454253712869052,-6351054423933590212,-6452539623678517114,-6458550225775682960,-6530136652182001333,-6594290704404948144,-6626724893210212653,-6724660597464159485,-6733582555737793912,-683253233125245021,-6841734962714124989,-684923941206983018,-6991137209751225657,-7017601511188282369,-7045967603714801094,-7047820112313966295,-7118592887117829541,-7154027916738852126,-7203413107248770538,-721963781030433254,-7252106704486354294,-7299293149622522207,-7322204529042368967,-7359516805223044135,-7436562570874409293,-743665032201189314,-7456431369374526660,-7508374971750777118,-7604187469052017580,-7619815971787237746,-762478537565266951,-763039160668897702,-7639519061283395493,-7687399104077174947,-8047031735299971803,-8073527906801953224,-8140658990945760822,-8272362075808972489,-833359940464123242,-8346207404266052907,-8429785097011136681,-8450283389785914545,-8496821338871280399,-8610824821729181582,-8753699876501828244,-8936606387950325638,-8962104603791168874,-9039034678324394748,-9049200395961259459,-90912354054374957,-9139519280421250599,-9218090237793445577,-993292508310733358,1078413971171957957,1248383760297809762,1272857087861632642,1388899548943105009,145182080339842074,1473841409298313248,1596148396660125928,1860572072046861305,1887469759008167527,1888574768209110487,1943000144618783302,2003106197551290862,2010346674113809990,2158380534702843710,2187945304525703070,2219409718900620371,2248974176379646777,2257004732050933580,2281691900892557293,2350447051188191030,2431996411058927300,2521960790853751313,2578763542850666448,268580106975470266,271970015124526026,2729567531530773793,2761671927507893060,2792220549686476831,2857514219332672021,2880163934060595446,2980442735960721,3032843336599932622,313000243113586565,3140002907523799110,3219321358329561147,3224565228656120146,3333573227178927457,3367876339814508434,3423621598131584604,3682326506876367147,3873402299559710054,3911444089529273691,3983389303781520302,4016615062172288444,4086953216055836394,4122493600195583709,4146336803308481123,4221592225702172662,4425076215865530515,4469624565844897135,4754228129537925242,4790348565389467528,4867963783415200962,4895627214819184087,4897245474769479984,4946452353849304511,4999504194715592008,5020701832123928407,5046218046929323640,5132060203660259369,5200330496970511717,5222308561752736039,5244588401730705421,5273693839317643428,5299126755924257074,5323166894161388469,5355866216188403083,542474824220241407,5459349044974919050,5667247294059643266,5719359132374805038,5747992436212377688,5758314959301290064,594163751685517104,5957845271936421132,5976508064010876378,5985258173409607042,6027526262953798483,6073221581642062931,61494911653050657,6164421514204477878,616876365882979526,630539076635905943,6308872169364491054,63337669995045686,6335003451019547426,634975264558814806,6421023510315489216,6499151904426085196,6669588476604189439,6689628083368928810,6796972879647088276,6801453741360989606,7047316566068643767,711399345042811816,7131092542150673918,7182694917269861655,7332702358155165891,7384303957539756153,7420194482999410776,7514179493161478107,7595146187582612647,7610230873176633016,7668382907066868100,7748792911257865149,7772454146485348144,7778212381326428506,7809700179877682009,7856712253524734665,7887695466924756217,7978207241048434286,8017254598465592035,8120595865777366352,812403196308051554,8193632308147275733,8207934261420733145,8218348469760193372,8222076802255951097,826869528778347934,8343076612180304922,8369080281335857833,8438381123239628461,8486392554247546472,8523424687144966607,8594239920695785429,8634255894088353930,8859107409708909139,8880981180142656600,9066361774034559500,9179571299324141893,9200272704380354417,9217905515599141652,954923205786485257,986208086077001104,99945974533355999",
"-1076948781748165278,-1265355753840649734,-1284654606580560853,-1399315643001942870,-1417486090657422403,-1515961737342829497,-1543383064435665173,-1547235025256150167,-1578807387263906773,-1581048826713330067,-1611210544159981057,-1658446616987831898,-1700863490241633017,-1730860032074581540,-1815553251537777261,-1839287825723426127,-185331578140671825,-1859803792019531187,-188473071173018031,-2047666361809437899,-2323456002171668820,-2402763688662938,-2436959185709709594,-2530207948066687280,-2541759622097885027,-260507494319944276,-26258730538764638,-2652013470426692073,-2681062133008079324,-2714882728863509126,-2820975043153917658,-2830790122721430445,-2949989045848848106,-3103646342101894862,-3169351465923589159,-3233655317513704309,-3286540536669612586,-3410626150664737690,-3463529880953342860,-3554375525655618917,-3566202699588395093,-360463487663013023,-361603787617211181,-364906184870862942,-379376306199178110,-3815226751204143682,-3929941266353184088,-4032965972063329561,-4076613398816862488,-4118417828902204883,-4197277237620210035,-4406803893771515651,-445323847863978131,-4522901881093014740,-4789033389517978770,-4805864470388930610,-4812343116515889987,-4827554995156300922,-4988842929999256987,-5042593639855901993,-5085788251891086202,-5153355378635610841,-5174665415530279518,-5290468959788221941,-5396444922028416301,-5515674782489332582,-5687003457685279616,-5734898211562800602,-5743986211473411433,-579702232890384225,-58126367259657815,-5822163464823565988,-5831508888474250835,-584386283175275345,-5846740566695107137,-5974886906315790608,-6117137103299575923,-614101576203278166,-6199136011900394629,-6215669705282421043,-6234759842040568784,-6237659580493358419,-6351961631212618220,-6393052974592925477,-6590534861225833719,-6622472485707347827,-6676283093888131181,-6756141548926425344,-6804796042872090811,-7140968891231130393,-715456907340933496,-7312847488781882311,-7315322533786145970,-7486133579196976462,-7533119016560240415,-7803198045319375330,-7976441450491470265,-7987114731978309802,-8065220468278629855,-8192684199049029086,-8205353653972125680,-824431118618097458,-8287368053783335214,-8287587700317623390,-8400767228084887426,-8401513863143427910,-8457630403377574183,-8502587054064234255,-8568935199194806014,-8732383066011238984,-8753913388779905343,-8818131995568673688,-8837389680705197359,-8898183363408972032,-9005209222623674220,-9083061774649505985,-9173623876699563493,-9187698874298461157,-9219411747474251862,-936233333298036294,-953738364809556846,-960673813521865163,1016131234132290868,1046564331317896677,1117813533660315993,1153213906670631264,1289573155329441806,1315708271664143176,1317031553693708612,1421775197630803620,1501551442877449102,1589371488362164999,1734627085144531154,1735109187465724988,1785633559394988072,1819992993444881063,1861616360529737873,1928163302129522278,1952854268264727175,2113096253919011811,2126124004158387750,2147195531797733289,2159544107282627389,2219204834802088916,2250720897661829218,232017849170356974,2400995366451620546,2600174975322282399,2824479368318291539,2845274234816052452,2855975636047521095,3051858268701834559,3102105029052269545,3148992892884464949,3181319471692705248,3214433293295779057,3232641240979217115,3363205094782424254,3385463060671703452,3391630688724379950,3465060531204606952,3590501168956157645,3662064221633331580,3765225679297892319,3871611494471721888,391890219904768668,3969547209398708459,4021107627818576456,4204444618099778369,4211768763979814392,4245265140474405604,4442089944424307225,4762297505473109762,4839285735418804410,4854377161159703645,4859116817769247145,4892990026532819058,5015770667990538218,5058040869502524356,506313145717571148,5133351513386328915,5142557070951019647,5182407509056994296,5186217846024219198,5228424437322484887,5272797120871757902,5402656796824100460,5448241412085553238,5450453866042160565,546291006163997764,5536473806083398127,5544522401384564899,5620492941877181446,5621858189931526582,5752379812035341267,5790176068069584762,5846932846083026298,5864049612793712230,5881325951234146965,5921175583469955582,6098141657422305687,613247685960422143,6351394634143651413,6364486314852568326,6372868817570367327,6421075771940387094,6482533393425398686,662594319541955786,6635222878858831969,6636746598208714129,6641161932188707666,6660620821847407105,6741129163576808306,6864425155403538880,695888312684448910,6968204411172648353,6996337089398581495,7118280767844992561,7162355961712591564,7304785165142895753,7314823458373576285,7392798803318048721,7419160531946294147,7447171892379975201,7602251076354957306,763121193042927417,7639004630705023595,7664233124634297917,7708804826344184326,7789787305608244659,7842720054473540628,7856448999257331108,7905361251706048233,7961662196607203500,8035549040333901567,8115693295441625848,8284005345733007649,835224112027977782,8430100458099592987,8433700503635334716,8546068453278116332,8580631483990148985,8667664687091968337,8719615307957175341,8726647382030713488,8805092795197107728,8828193670842731488,8839106297550462080,8849132467349049990,8977669208137444973,9055324496387166115,9061876532112938567,9114054610040502973,9146558510533363732,9180265866957165127,9189960722729532614",
"-1026094134756146871,-1056550227233696857,-1104389388293329385,-110547985583240880,-1114967512459706369,-1163844016721535039,-1299718975984554892,-1392169149388511427,-1488000360236305962,-1543830071713543489,-1629959993581430262,-1644070625163479796,-1697359907333264902,-1697729226001149501,-1703831159876525603,-1729548017760019818,-1768089667980721667,-1910646041523192454,-2287546473793316529,-2445605879273624284,-2473475462753496992,-2551987783363938460,-2586006343715020741,-2634314929732370546,-2694311330691111080,-2706819594003067380,-2711011656752202605,-2822181343512353901,-2846518989206307101,-2973296008064969979,-3032029554167781257,-3181686436134711767,-3241297393427464735,-3268117174616301446,-3292040831722872087,-3354457279377936451,-3513597071582371436,-3546532920613124439,-3550254347100395030,-3660509850265367517,-3773082334518063018,-4005324791622082166,-4042598968116905417,-41293052303524062,-4130058189841464756,-4394238942881954069,-4606847561603094454,-4623259429089303967,-4744800542708154315,-4782737927138381405,-488758815026125481,-4896954330882920609,-4941376821781276707,-5057125341661992025,-5060702899057346188,-5070518043541565174,-510484243693997521,-5109534246104491556,-5112888238042685432,-5169723762789032468,-53437696960152308,-5381137151734807643,-5466378095818096840,-5648357871004509755,-5839117111270299207,-5923497898786608227,-6139371929318919150,-6152373186405249560,-6156965880035279103,-6249431323512074438,-6481824539727208067,-6504829775546510742,-6528259804185181726,-6560456309770381342,-6584561847298512570,-6619912645180616038,-6735798091333928020,-6830335727917439070,-6830989773277280779,-6889580462411299245,-6893984495334932965,-6909963803333687358,-7080184436322902038,-7247227373473235938,-7343662344618221089,-7502554762994100745,-754918838144326870,-7735458082234123047,-7779996772849287420,-7833487239589650815,-7855879780846394699,-7933278178875412060,-7950726297156259811,-7971759521656212655,-8044553142392650199,-8133396179647556556,-814674892701359662,-8159049428593883580,-8211895200059809530,-8292354983715053726,-8635652542580553656,-8647627500115147304,-8847463952465135322,-8953208231118516716,-9077525831747832004,103338763324216526,104909427465514368,1129389601195668128,1135090189227630552,1166587729281527150,1169210971261768509,1220208862390149323,1270692962882603524,1332279077208128810,1393146048065722094,1415854701759989008,1455915161108051859,1469520492959690919,1471740569894251419,1555030024080598645,1609542956497151359,1642107101646356174,1719755789779695732,1734164405976751063,178453225359218466,1827339490631346024,1873787666783521977,1918499124121427722,2171457901067595638,219915069210764744,2226882100287211958,2230297383242096987,2249968059986607284,2275137634221914188,2292643012105794503,2459847424080400344,2506462566452075617,2596344535295873912,2620650813274727348,2624447403558300268,266668858084312260,2773143403367059627,2870390770780378952,3050830608590213971,3073444641967851774,3152273836013102974,3166590684169487953,3176343119678989062,3176381813688177876,3217737329354003164,3223108956300746971,3236931390462806341,3242213335505978658,3243596319252606786,3390558557838251211,341011389173876571,3451469389865007903,356458444886536736,3675702657879351292,3748258604365248233,3750234988656484547,3769737610064770831,3782320939794345416,3869494356669102037,3901481821446088386,393239659033642915,3952939842242132298,3959218255916296205,4016285748028926561,4026715172057740895,4051494368244526474,4090605107761628624,4093304386072198907,4094165512877189541,4137118808520935094,4145281013816433749,4150166947102846816,4178939295759695494,4215543352383986217,4253783507180384724,428604139941735664,4343396092650263474,4391488197483946853,4528938331430824063,4549436784556746581,4555354595444735556,4586381065649737296,4611865821453888465,4640843325798871616,4701170451017650512,4703893415044967803,485169204831259241,4888121532343933216,4935267318270948115,4943742271916570291,509396080706463785,5113054272759121346,5127671813439892682,5197399226269819664,5254533143979192743,5348002662758656885,5395107072829236208,5456742903948393751,5594302769673694478,5652174287353213916,5657511829569061802,5762756527365881065,5864477852975150066,5989715694983679245,599700849539730284,60095716207619474,6064548742391922630,6101125740144813426,6289841228484196215,6393135778235976348,6400665565475710747,6413594595402110174,6458793780053376537,6503675373856146121,6540043407217404925,6603031766157891390,6773779860518738372,6853483378870126818,6865537821281018043,6985790443453252130,70276192446697501,705790750066499493,7066593086676898269,7102519676946516450,7169244846299199034,7170249307988653160,7171660225122944279,7172439269306185561,7292861089552749895,7391608019874281719,7602340001870316537,7606305848548777620,7623575365911565093,7802205818478743175,7985400813282171307,8029496961562512650,8032023051659737005,8093142662073897853,8133971128420749155,8304543775051726826,8425353235598276319,8448387283550705991,8579218693210552228,8687568816941906467,8725317847673090339,8756242913241041709,897573647188012050,898671718707935763,9002358480857228168,9144101248756231520,9164708931581656990",
"-1010785617384475030,-101377257073549839,-1118956466977700834,-1168124385988592293,-1245670788627021171,-1279855608391005599,-1325724264556624930,-1332342595477124120,-1348616214569255615,-1364825924297803186,-1402020725429340913,-1547466843624488649,-1567141111749256578,-1683708515937670957,-1748294787849010528,-1835633633059884101,-190374276871510563,-1952060024596065654,-2045581560380049091,-2113099846785066339,-2130941716627944987,-2172532055332877127,-2254831776304270671,-2356688035399681503,-2373544856784278514,-2501067674716085500,-2533519064413603532,-2619922447855844153,-2625008619305401033,-2667145490854016280,-2876684730030267741,-2919907843583625791,-2990451938960871443,-299877479176197459,-3001100733682473834,-3171831997126213324,-3245328046084804841,-3290712063703785626,-331913681340288657,-3324735720970250955,-3338528575034651830,-334124052445745541,-3349788557239990605,-3369581844982630151,-3406014213558301968,-3497385195853056345,-3515757480349658100,-3563728432590803184,-3584307170924233873,-3621215662742127708,-3669987882289993190,-3720828746817180837,-3752196124307399696,-3754284142000806768,-3831023922402271068,-3898652929682148456,-3973047687680399015,-3980536969961986313,-3988135585078270551,-4001603880163804446,-404459187977120055,-4329965069680949686,-4351692977378757113,-4366056243075991299,-4397150365710872445,-4557930327714851306,-4596591452918134070,-4612587716436693242,-4629627990680894941,-4737230185860184407,-4871004482935990819,-5160836709218418297,-5246199856971795335,-5254474152398845998,-5281423024642391434,-5340150197271054230,-5612988632703626513,-5769548757129212994,-5774493090415607072,-5821449164819186694,-5871332922264139420,-6180605377724136442,-6256161378494650748,-6295996792384629083,-6442403530249502226,-6446226352819559751,-6537865076280653866,-6590772859746670169,-661113443794395797,-6657183101104471733,-6715188664747945025,-6812827832210086736,-6824527196628261507,-6853227563184005526,-6889150750859072469,-6929476631743311052,-6985145141710431741,-7008932531294982899,-7162867666695293022,-723983694850428094,-7555378008093455293,-7663967878339714716,-7674967179050914960,-7853729454142106167,-8027229633740231673,-80456507196607724,-8102992952289337553,-8117614850094251860,-822431508411022616,-8367503026959302513,-8396876984783806762,-8415419765809687590,-8445348312036306038,-8517916532972615502,-8642001993326170311,-8709817648868483755,-871280660292141567,-880887955148523373,-8837235833358709710,-8916472064021766112,-8930988371533710263,-8951853828293429338,-9031100864510789812,-9186373894081159180,1049060016799219301,1151766776731958572,1375046750297571226,1517184982185739613,1588867318863056437,1660100110291031583,1786697582045210107,1788262457326545334,1936063513411655629,1960123963822840979,1989764979397961548,1996934000453524282,206648837260029994,2125691926845485302,2141849887882402999,2149725666483065203,2186657680776134073,220215223075118283,2269266560666460124,2358570664590892891,2470851915599372450,2539035945161710348,2549316866818310930,2673786874762720889,2694379440326633575,271449695701194175,2752042068808851831,287201885726991467,2968002336177351983,2970326472433671591,2997108911628112433,3097889338792914717,3147295767667219865,3217560122512119847,3236836858180623083,3299713896416238713,3365472994061659527,3407615359844382754,3507579533637153227,3514475545050905994,3549781108503990500,361813262801198207,3706473186733120332,3790041973153895436,3804811550786160096,3837959872057168393,3888564829658296349,3907035873270055070,3980261131028290060,4143170711770557996,4163718240698993737,4166649314355626376,4295203140890325958,4309138400665475863,4395662400176407514,4447094946661947401,4450863498149232156,4535982825684782077,4593605959274538800,4602544629943508477,4602802541815407698,4631689955097608706,4903097760304499981,4933570564110435203,4958635829658234529,5363713890496642744,5384889809916295326,5514257869081127742,5573972904120505742,5604736679896297390,5652078880831609844,5652828750282476461,566108030805082943,5739001586399753082,5805582098978824463,582600819837764691,5891495955073922610,5927793544707434616,5962330387717680145,6151723753796449045,6169803097478896521,6178998753388430451,6214497985323073123,6335582577738383445,6389261775694218740,6422628223635950,6437897088347962052,6441377353209285531,6477420063228424670,6507036010248303495,6556289285578251563,6609856138230751811,6940317109143866337,695246415077501574,6964832784562548365,7071348277003189426,7148479766624456478,7199491717547573903,7244211702173290854,7266293911079288651,7341652060266278680,7368541387257109167,7399274499232759966,7437025338442622074,7534729974878208860,7580917193464764829,7631806175009286847,7654305843431818222,775044280114069572,7773534809195162297,780334360952603985,7853700417044847258,7907714680857377608,7998712250990590271,8017114013400071141,8051758642983975678,8054359353665967519,8062510633316520590,8197206817192799587,8320128335135538616,8360539882908629918,8426038297285278068,8426488588286228802,8511059640085529831,8584920704996390194,8719455182546519494,8724403676182080829,8739056590418557250,8993330792535653974,9081156398912122453,9082804785311202898,954069165026730841",
"-100569780225947643,-103316166419764519,-1125236481955076183,-1147609408748602190,-1271135478744100240,-1574157668970820273,-1715886224276485988,-1750365049061246853,-1794951430288109414,-1848372993611736214,-2017392838559960941,-2024354939420779532,-2061646116244883593,-2123041590897039942,-2302277794337408911,-2333294863220153965,-236202411400562746,-237638324293340984,-2435274957876096856,-2493955092560349432,-2555003727028349440,-26075501150498104,-2660203015472677653,-2701017277995981624,-2800804784163979430,-2823771471158562626,-2844963802693471953,-2851491844098361599,-2873961106127862041,-289586049311480938,-2961668200783356147,-3027788460102805405,-30459932940619658,-3059167358053061550,-3097382942583809883,-344850368051073639,-3523050856073246268,-3538055874878426234,-3583878616171339334,-3637869692266172715,-367243996880030377,-3682686903462799654,-3712821522225111317,-3789061046253803195,-3800578413509751829,-388231920782659904,-4086962795187355501,-4214760284542013994,-4278208367976993731,-457130036302959482,-4636648966810661797,-4751606236643256217,-475460915888163124,-4898957840298338691,-4932344304251596776,-4935568366783968386,-5052547807331696438,-5052744415277347405,-5057380277709075023,-5300562405417739720,-5355706217699248896,-5397520769508522260,-5417237349048830006,-542484119377578149,-5477705757971107870,-5491962838654576884,-5593962810294375878,-5605982953446579901,-5624593612248144107,-5801341319341502810,-5925967970738167473,-5930653276323146232,-5939473421084911447,-5957587810718323858,-6014129096743920598,-6114466360529602007,-6122294126475324427,-613664994600497467,-6171201159401358366,-6301271150634901200,-6453549292686673486,-6533092188160390929,-6568879223044747996,-6660991789199283620,-6685159586338042270,-6756245956985100979,-6778881088720462138,-6877839673062961065,-6885161620327785417,-7083939330686954116,-7156325163566588031,-7221189944643840082,-7234365610484025439,-7320677334163823211,-7351001142332935117,-7362324164671199037,-7455213208386847983,-7458062453144358466,-7507228724864810624,-7527045069588891713,-7591240013362301176,-7600016296651266028,-7612615658241333708,-7688285629168488665,-7705934162817872628,-7720886590835617021,-7901466204684835218,-7966753048619499314,-8026809237544219571,-8048705030210186866,-8181196482364731240,-8224787114241118832,-8316333974558969044,-8371129091110781840,-8535497143083403272,-8549933491132455542,-8568683974760191398,-8591975438885549689,-8618595053778883875,-8672623527379942745,-8813880629205825160,-8838781687601178732,-8891832575138718145,-8972001135870478050,-8997986957127840295,-994868224431552976,1022943252671084440,1132739405508944408,1248349087718373533,139355219544691184,1395346859289460691,1510773989236214729,1540909182461438771,159336517965044518,1599108313003331831,1673011649964274029,1684463271857324154,1722577628604921222,179113168040154165,1842525832901393901,1892966284970758511,1928253096340637286,2083617929493093164,2164095801827872787,2216728077346322377,2268350487103585184,233906971604712255,2366031838730983295,2407171593158470142,2544529789589605008,2753452750489746823,2806584376023910321,2808819519403812342,2833926151375493550,2863308403107764821,2876863735003830116,3099553541015617423,3115643965551495875,3162789404419551050,3247418397217997828,3283393143150584499,3305752867914933166,3324659034339168163,349354217780180373,3564913767560845209,3589144592313596242,35999745032901180,3640463612196069158,3724143617970818201,3792851217417792344,3798406660323901493,3921826225086646078,3935673362036631617,3967178233458140505,3984675692627616643,3993679507996273177,4040599481700719811,408854188419234586,4089393893447352023,4152651323155130806,4248682559918172660,4388308246785643989,4388765668853502310,4408268718958622072,4434482068281629628,4455322282530875481,4463978476214093725,4502352528867767125,4562963939455576553,4689052788117415969,4770711343428534330,4794252301421831753,4815356128447071244,5054759201437770526,5143352532595672321,5176879251039822800,5204059535403788302,5344587220180260043,53481705174567953,5464161414518147614,5471139409216849616,5584079203089803044,5641943318283892060,567201400780320622,5866202713311799734,5873141364223590055,598116734826698509,6049634136727856198,6199868106896670025,6312368510922244018,6322175702947747502,6337149695871779534,635113697600951284,6444555491122561794,6454377657277254723,6464763888522104527,6552888766426989045,6659064301439270658,669297332344845331,6697964239313019205,7130038064803774390,7438531032231793682,745009577338133751,7518909158103068012,753523570555647316,7576529052114840401,7586370909174788934,7595213466357005854,7609484772580243564,7823804237910730248,7850493625993118,7869311706465572185,7995582477067299931,8036019337549123152,8093655994106761227,8205686630856345453,8357588409083612274,8374697776121162919,842450097804824889,8464444619062218331,8626680026360582374,869438720307330002,8711454368870856727,8728754137805450099,8732595485604238472,8786813226319032118,8893079330876770505,890356934438925233,8957647839037525101,8961473886620218416,8989400484236349754,9089926814894622854,9101998684826354373,9105795953720313203,915547714381147280,988440729094757563",
"-1114345092571359644,-1139444488978708903,-1404156597060876103,-1420722365191946455,-1443305064002429413,-1511039661813240464,-1563577939520064468,-1609128124726044099,-2059579240346708631,-2089663247046589229,-2119785341924574329,-2140795026998002093,-2311100103858727671,-2438864992281120190,-2587743708696460680,-2651331818525233357,-2665472194996205964,-2742015415944699524,-2923000216884148630,-3085766133186206494,-3103481981859797228,-320624127585224417,-3231408739706824668,-3275055464806819837,-3330723620970860631,-3342918007491294643,-3346239327341015486,-3411055395678963828,-3521068403091231233,-356775388059726571,-3611174997281609321,-3789049669132624897,-392225887829235408,-3929529022392211247,-3948492008301118807,-4051007318451644203,-405282722592986082,-4076111133607261763,-4096150092499352845,-4200870669072129995,-4207336979803946415,-4218817063505148041,-422861887274329410,-4234754025263160709,-4389811568571558509,-4865651269273312022,-4994185625219256303,-5045901555841848147,-5048587898269748150,-5130133480511822062,-5264430452480524017,-5350279637638300564,-537374137996376509,-5429159903278950691,-5454422290956761866,-5563207336964926592,-5575284748022820582,-5684248771966177973,-5695796770349597868,-571184284809013432,-5718985574024205107,-5757536219162519554,-5761130735880722484,-5762481290200717923,-5768091424061833982,-5841741029895939150,-5883562374396034657,-5935364122577259158,-5996641850418558238,-6019800649563215090,-6117286779798204925,-6130206343871746362,-6154343107321239006,-622170389519154836,-6329768667516289133,-6532786919578778670,-6590446142134790525,-6621387162355550264,-665826258034839185,-6749483608976583337,-6771808945351979008,-6798598330064490368,-6986391165111804107,-7030075370503099513,-7277497501364841404,-7415349667641760506,-7510400508194193549,-7536048619429703847,-7606492451138866835,-7751469215433907598,-7753228658764953507,-7864314928324345709,-7907197856374666420,-7929254357878774451,-7962380167672223418,-7994322221508586704,-8049862644954607222,-8154882497038706211,-8157989269257219397,-8302000938152490930,-8318736307711486646,-8473160487594263916,-8481136460491418953,-8631567864943289064,-9009872689778601616,-9048165716557417739,-9059710760145371210,-9090318093196737396,-9132164555230523849,-9134588774396225562,-9186999193684068137,-9213665945159279301,100244961139360342,1077367579495833295,109663464380230478,1203068601969644541,1336229688285847451,134292692338157759,1421068447643283461,1430491682151766942,143829215007536099,1490311327074029982,1510158046682274596,1516382080439061397,1521745575337209594,1540847019258503651,1558418395622220804,1589016968505527176,1601311601314523212,1791576519830313341,1962731369208270054,1984463105965287933,1993949158872543328,207213565674140840,212791764828627723,2224364679092389496,2232289228197534633,228734036291728563,2346915519756491901,2349321316348032345,2383620160979697330,2391969846221290639,2439819008617995481,248417054935201746,261297871670255989,2690554665717527357,2696691859521362211,2829026839410334171,2892192057212202648,2894360481540100758,293574062398830981,2939860740253278850,3029706422164903786,3043870779733706811,30862831450329083,3153878149578494588,317427001656605214,3240925733918167126,3283451346782927946,3327758149590932796,3331996208937830079,3392761097341673054,3473943085689299806,3536151000862582156,3703474350131173059,3719006650257191100,3735694436597949265,3752485958520964398,3778407167230902761,3936523819378228977,3980653862717572286,4127121435354214490,4256900687042196597,4275056903269983089,4400030841410249489,442598335573270186,4465599129055661960,4593391059029657818,4718275077653296939,4725715228660709885,4728719896139111423,4750135277451484480,4768410326884690013,4805553276584812190,4891818607023871480,4898924374904771377,5003955089753656293,5029941189230336876,5126756726364588342,5271773205028301309,5329478118648373137,5440032033491178734,5530118603108026682,571664203583543970,5758618137287381694,5830703105276162780,5880226576790833442,590368056086607830,6318416306337362072,6342655018520830687,6398083668849017169,6410393844842172578,6455181926088789155,6565211934200689432,6582715104946944521,6623670188457483544,6661542046238781758,6677679888873826047,6740965515536052037,6767656046709470360,6846857627762102005,6922447033769706650,6960931818702746988,7008203078064216640,7079363645916651706,7111654517400160798,7148267847837817416,7246353726851400882,7276960318222455814,7283584517648997555,7303452088242851169,7450012027586532233,7462652276950977711,7497427099160557577,7505437872244461632,7528357104609310137,765325012847268537,7789946022583555083,7879056075968336554,7897258498001147266,7994343971391594308,7998991470072463522,8002064005183014794,8042252269103059116,809791594782772671,8194973868559868164,8262160053122254835,8285208002137945193,8288199030726063463,8324861760408607916,8330304335162686438,8348569457466039253,8377484850753475164,8630978571652690576,8743401380438233088,8824145561296584415,8825406805805007649,8911924945656664219,8997870531190801278,9043087833993566705,9116022290280119003,9120436685927937949,9126363120814419938,9138944015254473724,9183358442144667599,966290897271661867",
"-1060565251516677570,-1152130170839283840,-1158329350054059984,-1174061514451926441,-1179120205191810798,-1208254890409368611,-1388763003399254111,-1485307100885129318,-1514627712677356144,-1738545428062780101,-1849402882514946429,-1877686820773781719,-200498937378386248,-2066905532911252270,-2088209213530428838,-2258641111666503387,-2277045912587007051,-2315718008482708469,-2463663365832870459,-2578305255408051367,-2594242237298952245,-263276429486866767,-2634881546201242295,-2721950503735898426,-2785878550629125094,-2870936240540090074,-2982963442979834604,-3007876496427860430,-3015720651152456796,-3114248108444519682,-3195940304534489147,-3525532601185393069,-3541138812003479277,-3547000894675068444,-359917817874794016,-365405925516393417,-3723160614776306972,-3773525351591768884,-3849847950224922636,-3973044623624656151,-3975448249039440248,-3987064368542697674,-40095353858387639,-4180223285455050863,-4233869957685310866,-4252744456571092540,-4264400290310019029,-4358341775003586554,-4425281789419857126,-4446295898332439284,-4464466657242736277,-4520884084635461187,-4554402676959052689,-4582517859993076588,-4676013979753103992,-4687405695297632011,-4748126227079184224,-4762733829646074606,-4767992604231533560,-483903721865870685,-4846832756188889896,-4855140099363171847,-4857214107634189637,-4884837853911990951,-4895761193730390375,-4950837635787522799,-4998814617618944266,-5026054715096678128,-5062218209358488481,-5177208740457264040,-5182906888434172769,-5316307896014932753,-5424838488281970352,-5489387592740740817,-5513933359893628888,-5701029934053566053,-574454534826061100,-588138937842542641,-5931143137137057195,-5973032827482847075,-5994549437363982035,-6084292692684837117,-610043798611483245,-6127132282645549234,-6242988464674010563,-627605195459234825,-6505372939119357525,-6564464475209907371,-6662252979883760979,-6725995910653419657,-6758312070356452801,-6838535860224756570,-6853058302017497030,-6992359246930080328,-7008481385686689260,-704477865786505816,-7160511088619468809,-7184352586424718459,-7272927047246992079,-7367974458983328184,-7464908081910944434,-7505897444107143003,-7583209362673623201,-767685874422927392,-769406213701023230,-7704794850730308598,-7924806145033393172,-8051033326521991463,-8059939650707689610,-8071765648129498642,-81167987760800988,-8148681714354997055,-8169347580319881635,-8183115156706972864,-8186695247483238804,-8256946151672245663,-8389463154951462956,-8398136766239765070,-8408960067127759311,-844376815229704696,-8446082984520623085,-867425206393125865,-8704807344561794349,-8725190000359774719,-8743922090548140008,-8769586437163342426,-878203499261512671,-8815040580659965542,-8823830094514259392,-884859288332034459,-8943744833095481360,-8982852608556302084,-9013935946145256100,-9017260789762684066,-9034840627393450197,-9093767792946040455,1116130891619685990,1143619272467716582,1191882665606693426,1396569383514704165,1422324280059324787,1457515100255634875,1611731613169554493,1633086651232112190,1671695425417482258,1681399937375019756,1682432603668075018,1683906841959871406,1820786367093268072,1870881292626552551,1919417210727794373,194706185883012429,1948501133996487590,1968204921998822753,2034942077664829902,2149505284663335983,2232780479479715087,2235398101194782537,2383477572695646977,2552396655854376227,2693972613693563889,2763630481584745180,27985193455534094,2840371001399663027,2849524834566673548,2894283342537734758,2904617691810756644,2945202194548975476,3083872409668672343,3089646361362536376,3254626345102469419,3329399704952209255,3389602995200618757,340236408860171511,3402815251559556459,3419553802582404947,3482725687083332240,3484475857285446463,3485447501668186603,3657044767580226678,3791965060682676895,3920039837910531499,4041351292127414947,4091003458975747140,4400332773792725836,4413705353515399216,444003006369772286,4477820796460455562,4544691449665212032,456304584685878088,4789791255336681472,4813871555567310173,5186535867046332640,5264222228859544067,52654793841269447,5331792345575232584,5332641398801055403,5382050189632742007,5507736952813879663,5612200004408452148,5634108064351035705,5703826958949650517,5783606072133376803,5827571960995488961,5998464029525843101,6070222300627929792,6076335800251556463,613632572184870119,6156258240525606319,626269429646448447,6276847097449895427,6277006818519991245,6277635550987296773,6498967219942159837,6530505953823658361,6616773779010705150,6755521217517410030,6798410856041247481,6829651714618806901,688273046588668104,6997722750413604089,7031859687177446886,7195643271596321780,7350800240236398236,7373937787037312950,7379223459280262366,7381431811096696660,7460362681217203246,7467769174669971630,7561756468853564946,7665381880144498568,7861636541773011586,8038648972877972609,8071967371965333133,813326205821273189,8147264410399803912,8255172304796172786,8290704603418265483,8356474820252242762,8356663571099072,840483089965944942,8473969396873561871,8488350068676206936,8503333100093981897,8550719854091577014,8587570959140531158,8715241303451095375,87829095502246852,8857820514387962894,8884587073847195689,8973811021254944894,9108072062155567739,9110293876369090437,9139178548692710702,951400299071511791,982144329477560196",
"-1073304286026897507,-1092468754826259941,-1097901161128274842,-1266633387258139270,-1289848542208196961,-1302137047617363227,-1404734444548136704,-1413042425260469224,-1490227710393430291,-1508852917837975352,-1562148151884744099,-1578291859608659056,-1582871681480326398,-1616832590403650967,-1620278585180059221,-1647274896980926582,-1662792867308594312,-167992971745542304,-1713590890449744354,-1762839878765923945,-1770943436289584591,-1783996441336259888,-1786332230761225104,-1840979823027352882,-1990880175394613003,-2215473020936291972,-2217110540045364929,-2337182843091485484,-2389736680510600794,-2408419002832207148,-2441836388953857299,-262923138046939596,-2643390892760317769,-271551824510817720,-2810935469280553650,-2811758427257832520,-2910483216958757428,-2950098806522899544,-296256061326583722,-2978934932766716783,-2999334379755091194,-3005592882804229722,-3006823440137667026,-3008654522827887893,-3125877464818754627,-3128166935330315890,-3649510996887436501,-3728525233226543014,-3771673488519248736,-3810879881453827711,-3833928715292787147,-4006147065098263680,-4075545242487896056,-42157650166867899,-4316659519521154873,-4337666321604319169,-4357789629386949863,-4429019842088336591,-4439111311062938456,-4446606400358029422,-4491444399286562995,-4606956310069661335,-470003518074259791,-4758737261226171136,-4787430042456139573,-4790239270472060578,-4825251505806554965,-4856401527047600435,-4967383736174750552,-497497827560723160,-4977827887120539152,-503480133046345371,-5054287830578136329,-5099917078551528377,-5104160236006987757,-5199394059349874537,-5206444931488578053,-5223244127993844353,-5258003727217924413,-5400133683614981076,-5438375202000335235,-5449724595599085215,-5493393580975504572,-5564190249843474938,-5610147694019607551,-5673911063352476919,-5774707632970824418,-5803269913709727514,-5818415365991663759,-5841772426192903485,-585298067680773368,-595085721437446342,-6037339535471678099,-6058808386233468385,-6072346147159704587,-6090646113632222154,-6311186986739459368,-6330958310497644551,-6500594418426053939,-6533181613910059743,-6677705918371319196,-6736913857399755444,-6772948167569308813,-6855858527280727917,-6875568350307502430,-6953054577688871187,-6999568211663303025,-7235795212253666107,-7339666726094788224,-734779577905923850,-7404651205411868414,-7512873141665021890,-752603529120341767,-7569879903860446268,-764080161833818628,-7861987992563784230,-7915113196583925795,-7930113232924370064,-8188747735564217192,-8221393369769694408,-8231235578807445313,-8264288065711383720,-8343529793900056535,-8385085487057004381,-846106832541172258,-8500592693782182729,-8537608187344332358,-8693125352203869248,-8979135678642222782,-9077825253570677401,-9105366915565625120,-9119800577115062038,1282189235189770036,1321188088563407707,1334661725397817819,135145778133587606,1400236984833048942,1530831796514128282,1607260408541485560,1666048761775462198,1713180295219464361,1718801058493490247,1725369889780296676,1739580229379960944,1861759495226795947,1903989459799439856,1910843227001561514,1935016316178314804,1992153129609137511,2020247077463774984,2139814183808369889,2141270000514139383,2163572356803725154,222219598216872110,2224098403395377253,2296687059168878749,2390908184489374210,2418433156580566408,245211131642591749,2523129059794714124,2551799662666908526,2560575136471530673,2678372840477255104,2720237829479021462,2765807634160517558,2832843605800642757,284429439761910328,3034502545931574297,3067454377458638388,3077912151541801721,3091009076612972931,3201366594153678864,3204104007724378756,3305083686163010969,3328481169833654216,3505526673180721851,3554200327119642049,3587751674042457997,3784231145091791427,3802234788023512128,3903475940341722307,3962875734820457142,4040005126745851826,4101311837945858395,4137344149082319284,4169009951496522747,4173736161557044573,4207099669322521128,4265095576571432942,4344114664346178593,4456945698979559591,4507704314443345929,4525121688436741690,4532405133459659286,4644203751366412163,4682886697709342019,4688953584333611753,4693758817132861748,4754839461992133283,4848110314832005294,4892575794555538076,5021897678451428336,5035403484271569107,5114859066705640638,5128325319827012430,5141799886189980873,5215319958515494216,5315776300123409194,5315861766903943040,5323553733293285729,5329492055974220288,5408072640134556996,5494004298086360331,5537548048877864010,5563105991959351638,5586235122330994650,5811340998159087613,5853218328253984703,5882753151940763319,6049233977005879601,6188969712063132624,656630366479572741,6630015205051758207,6671090889615490726,6735951830353559295,6737402939161821734,6770260126453942452,6831124966701943979,6831598942161722799,6864580679382712931,7014223326539906206,7168094701326253063,7180545079126477915,7251862366520620545,7294695397008797104,7401405726986326033,7443721769581004123,7469730213953772637,7640583820676783449,7703286641235859178,7771714807649145401,7794418160986138387,7874817802561376901,7897756160392536688,7917598660766889679,7939239772328828688,7981099485648892466,7984249810351967952,8036106460623313229,8095979765186052012,8257056826442505257,8468528777620009657,8649129295778939072,8738840962419169010,8765078800268918151,9084735464209157949",
"-1075606026282666491,-1102886786808097171,-1131624780594722557,-1156119064484059374,-1167036565897906867,-117730648288405900,-1264628700858629425,-1324896276983361053,-1365290358296606210,-1384435774003250400,-144790982821856048,-1499437230449088487,-1529095974098741056,-1579761013315569362,-1615602613417394409,-1662717667941447347,-1688548067003889155,-1724116815417302591,-175691570051660257,-176892450715640880,-1906638131337587005,-2082346882379461666,-2101543031214832009,-2182418192324164135,-2192080843819192019,-2241724440332083009,-2241736456122104458,-2373533931135256353,-2406378394181853387,-2512128372366519306,-2559267661048671713,-2562434835496146252,-2588282413116342829,-2630899033049343544,-267996295134161992,-2708754102969168566,-2743163175699686438,-2757990468875477860,-2810436077166593313,-2875610255484244355,-3010230877195017204,-3011561763568787220,-3028582189907904956,-3073780787318682629,-3088338352661416925,-3098175410602894223,-3293980503011002828,-3308560002596538058,-3445252683494149251,-34553261321295663,-345811033719042350,-3480752423174017014,-3533463896628483948,-3596933352411894403,-363866779389933242,-3748660864566954973,-3807834228703870266,-3860677420265553341,-38901923317818418,-3904619850470851127,-4040300844106006355,-4042278941207959915,-4081909867179605070,-4248785160661843777,-4273569765970581728,-4280227993431536642,-4316439255252869575,-4357335878020250275,-443656781304734609,-4448154231028191741,-4482718811625970313,-4511910980364965627,-4591720365495311261,-4819936432386956004,-4885471070240807719,-4898507993080713262,-4920744164472533823,-4949446139567268300,-4969755543701078134,-4976088938560000809,-5088607435165292613,-5116646539908044900,-5206421127495427953,-5231863658435216447,-5275617287628965660,-5314199491415451109,-533181810594443446,-5339164860943711175,-5347667318035281356,-5377126357720105699,-5508337337410523975,-5553391490517274258,-5563557074020277537,-5624732197387490011,-5874295253845460338,-5953122850093504555,-6005147440335920607,-6031061515050397015,-6172505754135407677,-6295410352996656800,-6380723643916812247,-6381190232160324046,-6445697765171286853,-6460529987956090326,-6519524422518015563,-6542487627205103598,-6633091319166134742,-6650320038545775731,-6872799643691193169,-6874157138933457783,-6952809053311653836,-6972939797096712201,-6996665352579631165,-7229754018675502769,-7252039064686428949,-7356363927382354986,-7358985899146165609,-7388506378264274355,-7408845242345923392,-7555770650719052953,-7608106592911115120,-7643624857698535279,-7665785152390799008,-767074940060266227,-7846882664493880282,-7938783934285658383,-7964556439804430962,-8121226212716380973,-8312306436242550841,-8339377337592926154,-8346345317610618490,-8423143593682393550,-8470246679692897041,-853857396279039203,-863529036728245691,-8651452386619997680,-8754631478472695595,-8770990222086687500,-8778459856126934505,-8836376544765950216,-8969532074675137938,-9062166926925100383,-987026422564137720,1020115260059148589,1127072017643319293,122756045799290076,1234731313236900284,1243486942750443671,1284199029917975781,1373904917869173890,1494032352704724694,1525463894399812499,160614200368299426,1665770257738206712,1667252381980316036,1670421679843520151,1677865331397851261,1760247697896989416,180889030288444857,1841516403119266884,19710516799044283,1971700521199021983,2086438514059591800,2087817425482355991,2339507833236216106,2475711391623425223,2553017487743970718,2571699024898095321,264422766472795863,2852125696249901757,2865007479151815098,2997363992672316807,3021251148981520704,3075412995719562900,309194436970320875,3209374876081213013,3270305970653344366,3451477015595360077,3452271247778787164,3482462208944094068,3495460579389250144,3505226781686269546,3569241304529006795,3631435717879896765,3681319313775362703,3915030906910585998,3934886639051623754,402369418210136180,4066360699246013401,4122360266259749115,4162813465826057025,4185401461832627256,4241272867896607004,4407808538642452702,4674292256435676329,4718105472090546764,4877008815082934440,5066986792494537073,5160655381807922395,566805429404268648,5932756498847184326,5965528849653311178,6156694847009996005,6268993895019134239,6301883805379919407,6349198866129389355,6376045698178409882,6421871296891203156,6437756191503493596,6449853588799906082,6575735561056312109,657730036531265831,6651205741683111427,6681856261935443846,6745000288023662916,6832014599579449459,6914899364855985784,6916077355196237707,6927645284838065059,6956254028798651560,6983711884650228621,7083934693068175129,7160222926677271923,7283464837715088759,7349658343253713505,746759173120216176,7502766286731945284,751124875517354306,765738056150108046,7740313681379004599,7828792866294859424,7881817266756356141,7892570314225202202,7906745541143733689,7957802171984692490,8004187827350388287,805048286129978070,8071324928908524978,8085128046192475075,8086372424874977156,8106802822042492774,823170562311641414,8271917476514018072,8453665849022086651,8457735321176085576,8463877718450058676,8514396669197538797,8572601182213779086,8623192826897134069,8673995123053107705,8906047576247595080,8910616884185106224,8969856540434063260,9101005655408371001,9216952662403548030,935172916344867932",
"-1035522573259785754,-117142756836150865,-1224820437087578343,-1449516468093326884,-1461598057973062332,-1618232056132145066,-1733131322757204706,-1735705248454706758,-1807131080619826097,-1958145521088158362,-1964460590745870933,-1982867931279779905,-214947622346084030,-2263365595456251087,-2271596072135864280,-2360823425927233614,-2411944126728937616,-2465409460991065587,-2534466493999974482,-2758381223262685185,-2880039627780733908,-2923783765846876742,-2932818693155589318,-299376315598361795,-2996290760419916352,-3024891755329129708,-3076543041056287854,-3120358888983528414,-3185018962948084716,-3583099512502779812,-3665828284277790289,-3829278896040833271,-3859012032597045491,-3870006039505054940,-4048103315284313056,-4077790547425548769,-4203549498875672885,-4207828363289416664,-4213162970988941509,-4520511471764582592,-4523509358665404045,-4535472889445595159,-458503220417174773,-4592085545668168717,-4593077889989702789,-4616732855466595146,-4653991616124360006,-4681977972375913325,-4762136994287358033,-4811188582532636339,-4818486637494070009,-4847120659560831111,-4964276515892848112,-497979309176568161,-5065802900676005534,-5136543556995439972,-5140248794893033893,-5153127356189249807,-5326653608356845700,-5434671680081436196,-5668636778911885725,-5734472438361401278,-5789681416281899678,-5846327977999830579,-5880319994905166253,-5914099584622574290,-5985614538125389515,-5999355071195602143,-6040459799708676991,-6079412962276629290,-6312153878542308927,-6581275709328101456,-6619689386163090602,-6627002212281520430,-6813731907025609554,-6875374527424231309,-6900910192116729625,-7066361897022150873,-7366461903033551186,-7526036305505917047,-7582270555074322542,-7591425082856290177,-761929931865783427,-7678849677125214968,-7710707348435133216,-7721984703643978396,-7753711008692561450,-7758559629192580300,-7812519755023839750,-800008169364826319,-8007093728042387248,-8020251558618975722,-8098211519978067068,-8123444079770223854,-8125585882206116392,-8152365917290723540,-8166351031751757099,-8304007402232292252,-8343728997195554748,-8349297762317908728,-8352848497201883099,-8398169311713974571,-843777033903302696,-8484160365936971470,-8561665897169292290,-8601888941305348476,-8653309860848182332,-8698829647427741780,-87589390534845472,-8794386857691164064,-879719843234058471,-8932805268744948880,-9058428868354678870,-9065242473499692652,-9126824808293115102,-9128408126909219447,-9159455369241605261,100623982387175755,1006810019389533295,1055311054927056909,1108078540657663452,1205377945037031813,1249313830172139291,1375201444066595837,1452012558714303786,1519991183480747748,1531129125547962011,1576972604203300579,1636187097062703225,1646662376393091173,1668462328787514290,1686689459175358748,1691823246893025904,1744509929468084971,1836528170537606765,1840030177816993685,1894233260752502879,1919196142349639020,1940139625835702612,1944395100876615539,1957502110363042743,1984983888176710155,2047203959830468937,2119270492722580267,214664689598666494,2150212848502602348,2195021481367096612,2298140722301127682,2310797171081387281,2344320631391646464,2386635116192955181,2427420347279998476,2520317420322768179,2553793305499900797,2583644291144737012,2693172597035584591,2785392569344157688,2788742319528203060,2798825986577591690,28201716632719535,2856651915183132725,2883560243508690171,2905872026545370308,2996772780772069181,3003779797350179007,3018454789487389452,3203392800570448115,3223204938451993216,3243962487379892420,3326720646205626578,3614774604422271343,3672075216145009198,3731456756484513964,3787506712955825616,3801185830071336915,3822341457925281756,3919210376330113854,4038731847194638176,4049783034930958308,4084417664406967831,4257365152308984196,427552679756973963,4279198816057695967,428188606835417795,449585923778378644,4581264216828833649,4782260918607611435,4831330967199112525,4848047594226137719,4877977625663969842,5109747619885040334,5153227747180931716,5160866431052856701,5208148529739585910,5216084113596860089,5242921149573560674,535317639950089171,5563592531406267467,5715777225628054752,5725813964512373418,5728741232742976903,5886289315664063802,6024809183778057914,60359950039229655,609858947440250535,6144060987003529249,620757169869244283,6219366311881896093,6323562114785663975,6338205109000720679,6367959352713319097,6440582421322891563,6594347509409028947,6599698792517444949,6663329171811208618,676382711945539663,6863823466955978136,6964313365591078742,6966145963547409785,7053393175604608693,7152913385500764173,7208866188212057511,7275357468645729907,7306005436403124779,733718356623160181,7337877755223678849,7366627057219540827,7431108682389755380,7646683356866287152,7665195244331581725,770708962774120114,7761469518611277423,7860791800306665730,7912608516139033920,7927050480817313477,8136640718184468267,8158320533997392822,8209480897173377434,8221346311880816327,8239345319053895064,824126141255079151,8307732731916653120,83095772622531219,8381392130533634937,8638112237626510135,8642776202495348386,8739635458192633428,8766949536629665188,8819082976458840739,8878952261387678037,8908148936558294041,8908493380770428464,8913128271376078780,8986952723810869420,9135553508064096679,96893671177625826",
"-1007025661458070295,-1101857837537414335,-1121023746391028751,-1168054879381508783,-1337539412240779166,-1386139584641653620,-140279232919009182,-1504882292899803971,-1612777602361190406,-1844575508152622145,-1866707281417090090,-1873242228446637286,-191189264536507964,-2033374313118811412,-2159503700480925225,-2170880440113286076,-2287084763353013926,-2532979348788037250,-2536015100368441914,-2611614969785276869,-2644031429459844828,-2684803235293321867,-2930089669209551703,-3163690067922703155,-3197108662133983048,-3218888352293285041,-3310795734549456376,-3390355954625022937,-3442067277288254122,-3488584674058143884,-3519974831900280360,-3768739231916322679,-3772921824934103570,-3849959826478751976,-3911732948960911196,-4017134248960823273,-4265421385063677921,-4306649314240194806,-4328165698855896563,-4353869622008534425,-4361528868448593632,-4414973536711723812,-4489227313462780635,-4518446375732702787,-4542324364921223836,-4544390790044620242,-4546736477601196130,-4606905000792182325,-4652043011223019982,-4661970877241978212,-4735805540948514,-4925475817678119573,-4940432440955665376,-4966305823016515924,-5293464391087495660,-5335897906632052447,-5538200328992357529,-5601303567400215640,-5605699209967717983,-56608301325835373,-5680656881450318180,-5728335241100246308,-5774046290157882231,-5812931541401159704,-5885704718422865383,-6012845344567599230,-60529306091844449,-6058620768648456114,-6294208267756626552,-6390446483485486623,-6473413596838623884,-6503831284260267929,-6585994664065708051,-6596163283224029873,-6752014702476528226,-6777906773688846314,-6799631168302019958,-6867348106143334536,-6870745296304018647,-7027144726953712083,-712828215564827447,-7150028628356591368,-7198457358267872754,-7362822761858637262,-7438183733336298188,-7628682265142795199,-7657993395280611396,-7807144482142436269,-7816376574999785331,-785252950004469746,-7960918363938305471,-8001794266591164748,-8071359336821401827,-8085438480378883172,-813937539986791588,-8319367468927755209,-8420810510031574117,-8436336645349156011,-8456653925115722361,-8493121314997281313,-8497360626360486039,-8510596410835723229,-857014838915962267,-8639065572395293650,-8686037611300197666,-8708467915171699088,-8769002115796639848,-8795590318984014537,-879739910600613727,-9128603103902217003,-9150476253043533054,-935509079600573410,-971385985935874473,1062097591607664446,1128374857781143886,115759206463654461,1162837101816552722,1172794714281277559,1265726853238841531,1266030103810523218,1367311647412406758,1401242116859659365,1404909225425450869,143911440599188267,1516318646821153355,1539886622277138369,1613217452430239534,1687898904719037603,1689625352057137083,1698920206529111937,1723482557687970137,1787725874756906916,1830076657818389513,1879406830061393788,189764823851774770,1946932922100232776,2059912598421084574,21225540434852283,2245587411292197054,2250061670256581718,2365184730738126923,2396107680344827842,2485298372521005208,2500790145179387338,2509078914136403064,2564248923449946485,2758167776115465451,2760137356978301483,2824126942847952667,3035570725847090274,3088859056944106739,3247730109843234432,3281185085677597057,3360023827885194137,3392648643786868788,3434232402211177120,358984955972319293,3629067156621618307,3761444132195880340,3796000049511608059,3833572166790597779,3869498932572353887,3928031092626963881,4110466566343907879,414138630962763279,4171496248004243372,436360751441918660,4441135466304227880,4441555792290700574,4566117768361026181,4606822499021369827,4640754342502672435,4645601133604534646,4662044893149356649,4749342266699572474,4797817174789254881,4804019667757175802,4838486786908487926,4859228985135466830,4955105072295384134,4965537256037898028,5022160502111912770,5125383185108143073,517225166806528877,5186583414457843383,5260324503212438926,532087684561363314,5416883940677404584,5492729880383945656,5496107679095915996,5500479917078493152,56025630234383820,5670572078256077100,5715612225495032823,5716604592086167401,5892960376501637266,589653683025251546,5949245335712436509,6082708678067949011,6088016032753965237,611367243746794509,6128079180596753211,6129621406192919992,6168080799260479270,6300082823851067654,6348461200725464381,6461880273989971157,652458853259052902,6536266944168941736,6538146847436960652,6576160478911395108,6576676101826482768,6770248309479862602,6878234838522036254,6901604666430613436,7021199077395577343,7071788960750445635,713526399088309299,7142415434815874311,7304144606976207613,7333636771076383202,7359048865794839121,7387283916773494989,7394884949230356324,7440213281443053772,7470924699412728275,7529939130247101621,7550004732915217168,7604418249754310068,7634966300606090075,763516344274475452,7643409432882723234,7678541825942391749,7731541524119651186,7764378004910582966,7802675028171480306,7839570253522354021,7871232957234980109,7871999442295286337,8168091180005101061,8206601646095805946,8248092088282174812,8276065033838755355,8311630916645340735,8551285118580164007,8558975180148976900,8600004364140357994,8620407348206566146,8639165159979682436,871831703603649260,8746361982082810245,8782586687770662335,8998114246840530863,9069069379596920313,9089577794592778815,962771268274212849",
"-1019383349829346854,-1092719244299213898,-1152465522067334592,-120703452808968286,-128537881799631063,-1322413373378482317,-133218945159124304,-1366689839899551621,-1460032828161716071,-1632074204536588746,-1711465110244923925,-1819428806462798049,-183505314213661376,-2025430326834223094,-2085689891855103611,-2207870708072701841,-2236393615847828324,-2304154614903431681,-2500174742292735802,-2578020298971160855,-2602347888234287981,-2627829134059989238,-2664894007521930556,-2667099786184819265,-2817326498867328347,-2830507057457586662,-28523784639365673,-2917960031757330808,-2947027114090001986,-3031441546191797944,-30552460993634806,-3072198700337519170,-3295976603089944929,-3389533493506071398,-3486206913382230216,-354107776642137752,-3707570275645314204,-3723148201909553151,-3801011077661422468,-3845125392857370173,-4036803439518128276,-407957685351079705,-4135327341710393603,-4172477169542376108,-4178434501595453237,-4254017749849338180,-4300717434830297490,-4464810069699534481,-4615474842955871648,-4662702121859799925,-4751063742679996923,-4855750881899458156,-4986953579374654483,-5001253181146350592,-5067964944700815783,-5094053223607384371,-5125970842790581546,-5151643368099623286,-5241961742256531931,-5241968471217308546,-5265289326719665795,-5291829844570140757,-5433968346267426625,-5466123331636100508,-5598306250474668440,-5603487808457543878,-5779564261846188319,-5793135776529564428,-5893878889520935391,-5902726304058399232,-5957552470474450054,-6064599964652415553,-607491377685594964,-615726925525673273,-6240413456787699374,-6420713003183250647,-6570442401671518562,-6617472664291002009,-6639110636836524431,-6641892403271260386,-6697274518390219350,-6726719658410669878,-6854860447931788083,-6859644413709508439,-6902250369676332482,-6984451903740070558,-7090825548510454383,-7109923027441003020,-7153815939765316415,-7264787145969393677,-7377990362225471539,-738434044433679907,-7464033468657101774,-7542494269411725113,-7570483911607914761,-7592306646993966547,-7703000624394153310,-7823422133113783537,-7857871338278995469,-7930305792771424985,-8002126068451992986,-8093234508885475239,-8261677819717141543,-8270164934880516210,-8283179497701011924,-8374797667930527509,-8398248772164289724,-8454962206316144869,-8480054515204123617,-851163953672434094,-8675060382275771035,-8861801182705609282,-8883429837128498527,-8901038179359497124,-8938958457301164828,-8987997903541520954,-9071801498423407270,-9150508512162178426,-9176645041997125211,-9194417946427229718,-9210957250140969073,-9212784757958918775,-990517164785826779,-995285161608727453,1117049809650648054,115692152447979746,1219875795806160310,1236592160478296795,1256799878788956955,1326206861206332816,1378272797077525393,1386877017012522435,1430010614834517227,1499928731926577675,1536647542105470845,1635468343784700656,18993584142994657,191978183251973460,1932568920575106168,1936434116155354686,2101591789399127179,229823115461255869,2301929676061501675,242608823816538713,2469260223298302932,2688961483850405243,2767086147744515805,2835738939317630498,3133114474332846400,3356861383813201471,3370666403795801052,3417199927716300818,3486124672169268094,3490112970211396295,3546877539274519267,3556031394169311202,3585614766304656192,3627372078275712213,3876143166727995914,3943199613729443593,394825473585716172,398295862733457514,3990409726720411824,4007645296328095700,4008892905662201953,4011966716129870052,4124974097670896664,4127560819357448705,4173162762406630091,4232924075898328273,4242059415464647490,4256467956602388773,4268790132944277675,4436296244524438698,4442076272905950119,4501267713602320278,4508254516294619942,45238558063391916,459621315602274696,46016193615602607,4659303901104778095,4836210747976620563,483676272072946223,49020737572878837,5013736301967194842,5096278248295424100,5102411996394718563,5131542309043924613,5168840349574068119,5221462154878725708,5371240200923139516,5530643448485244013,5553328426727951891,5653206954780164529,5655139817375751905,5677609307359147955,5710312091590638281,5714021408722855266,5811139718156178657,5960246792410548596,5975630241556732697,6004037747305403686,612221106354984026,6150426706008167771,6257121607356496051,6299795110434626049,6507358961348997713,6507690856951974377,6598298181957250259,6614536232811262663,6695490008509017535,6731498484522885975,6767507473969946799,6868538758806657451,6931322850958891727,6998136174125973933,7024804139406910425,7070330768379988607,7087087425752435239,713170863188066012,7218696488356284847,7238013139131052829,7281627202744354633,7322473788497365074,7469980418025902234,7475879225618339700,7514551691918126109,7551599188478893268,7689901294195460001,7723594708108014757,7912555874089277651,7929655759503708724,8091533755437177003,8208519005519327100,8321381960284753398,833871361368771304,8348091537526706372,837519508161614093,8471713712252350720,8532507684269054309,8702038110287184440,8703906804819433779,8706359658304121423,8786080661736454541,8842645936635785661,8881840162022467941,8895581439833600157,8895901325592988710,8906096403262673259,9046026089167658937,9092949696136912886,9160234574977021898,918246611447639915,958196697178970986,961034614846558531,992513368947326640"
],
"static-algorithmic": [
"-1094664114039251656,-1165451676697763720,-123126027720617000,-1237785980292710345,-1262610062555426303,-126398714477064680,-144546053837625058,-1467095102742245706,-1492114157876574513,-1539569112293646967,-1562600127402093662,-1654794424274264234,-165534614865318516,-1718233386299547325,-176659368909710126,-1850986576198303383,-1950019573937865110,-2159558968215930673,-220003414575652033,-2211989943155284142,-2271599491875614513,-2288373773500109057,-2315009061991449373,-2353475286656585741,-237501865815910071,-2405315394861914083,-2407305241183758790,-2418301867502574669,-2418500279702014594,-2478931122623861227,-264516362574914495,-2713266920903462495,-2771909503873837976,-2858781540010916985,-2905688844039003864,-2926819601687509393,-2948667152052358050,-3007021845359248342,-301425579824289284,-3336482454071267579,-3353076607552805762,-3359117846498407,-3469135848310416135,-356140763520272698,-3565412337432194177,-3592636848635022287,-3616328828169536279,-3762727325801803802,-3773642974210316302,-382012318968743025,-3912806283708083994,-4019738658490836736,-4103895626100762676,-4202038636810162381,-4312022332337998456,-435884778928908511,-4454540589215447199,-4518418663950568071,-4536885370053842094,-4540303026987864586,-4555963082195904587,-4572359899632614182,-4617487965170709677,-4634500718996949317,-4636173498151074223,-4692024830973663315,-4773977094058548734,-4800005364116076957,-485462768473390741,-4933766774460068980,-5168824565143503452,-5285898543243369044,-5492043175367854641,-5495686515026060169,-5567492180996010671,-5582270374418726971,-5631040855954951097,-564903869538546533,-5752207939882721053,-5810383222049242169,-5817008075735939891,-5839670939719556750,-5901459359309628698,-5943882713537026108,-629709115433379262,-6343403645694917424,-6411431729085406013,-6439915197430371732,-653936670744053059,-6775169770654353324,-6868531970356754785,-6966198540030973043,-6983673102599518340,-702148632612354988,-7063334447119316134,-7072644416132859716,-7156566108398173068,-7190148937274549490,-7219492702587384434,-7228759790640108374,-7266648249637200730,-7277413476032119203,-7304956255510470507,-7375375531545611677,-7405587824833301580,-7502797053319788889,-7591442103435629511,-7603406692228085894,-768541439030518522,-7692386632188464323,-7720505013261421500,-7738077288162827935,-7831171648115056118,-8164931360980282868,-817613694999505086,-8183543019244207251,-8212020219013966948,-8226773956157458178,-8263440897014843950,-8386369146302634306,-8394692974350286399,-8428069832197725439,-8730827816831111353,-8793304452358841940,-8823063338951410251,-8851323907503600092,-8874243789534940399,-8970844740435434640,-8991103104765830294,-901614014245309899,-9170837017023023207,-9190673342583121908,-9200565098818432217,-9208792851980357018,-951269391859405862,1018880044057328035,1309004051155297978,1329230284654847484,135569433407561587,1482878412445434487,1613168608573331996,1635037197511382309,1676083157707930708,1699687864441659013,1786899478413848966,1854175516488882703,1941925420068257058,1962928542767293786,1966023979451795209,1968695627117373124,1977411844490135472,2080718092606758951,2102209726212230903,2141864473759975980,2272512242171349951,2301838216056082806,2382221173225806718,2386140006019305089,2398396820565378801,2422417095807201647,2439140275165946044,2454312710733174626,2589331376199647441,2621438968590728668,2726336338174551373,2747339345312633677,2942887180286629876,29463194698365673,3082088177209243966,3098005036789893142,315255564521095931,3381902151686236280,3384935700245028058,3424661042193814493,3457352595687001692,3561954395804393206,3672227903811780171,3735624883875822832,3859651896271474043,3907405900334941961,394167353831955243,3996563235269069113,401780229570672053,4077377721311546326,4126256193575924349,4145699597901240096,4290526721314613509,4362313206826350397,4417633160314677318,4610804370939848643,4756639430666634131,4768440977182436462,4888913361106016316,5091513279618106606,5161794935084112888,5208184945221965751,5262823398984354083,5288265733434542661,5301158055903173260,5361013357882210504,5406183649818157650,5866963705523813330,5880888986050872232,5949087164589298785,5970059990466925913,6044976376437453490,6047670721144637984,6242186528284282962,6245777795264256421,6280232937589626648,6330250184625127715,6354064634751190390,643657223089036778,6482350178265825444,6487964111634336201,6785431078064746115,6790930879928186267,6892432272848260093,694925982980649841,6949539799244253002,6975918397095283273,7076249793872260884,7259691581006263585,7361709562388176883,7393643202181388484,7458029317070775161,7473804304940736249,7598039045589673479,7653913091080414599,7655268526396629312,7700946781924772198,772911717972166078,7894083391629519317,7923522156732159751,7990811271178040450,8051359515072486446,8131414379842154708,8156850648056089993,8413207961112345184,8421339942947841019,8424991175277124805,8457225734313933629,852622000464544310,8589177242030470462,871466133018169018,8761398924986177035,8774394581212082162,8797000725022193171,8810405694908293905,8837089346016157641,8890102368902110835,8956940400392585798,8992616430764479353,9096341777321337174,9103706204887317853,9201370731436512736",
"-1022966752949328759,-1130057895368507688,-1201618828495237033,-124762371098840840,-1250198021424068324,-135472384157344869,-1364852582648836005,-1479604630309410110,-1515841635085110740,-155040334351471787,-1551084619847870315,-1608697275838178948,-1686513905286905780,-171096991887514321,-1784609981248925354,-1900503075068084247,-198331391742681080,-2054789271076897892,-2185774455685607408,-2241794717515449328,-2279986632687861785,-228752640195781052,-2301691417745779215,-2334242174324017557,-2379395340759249912,-2406310318022836437,-2412803554343166730,-2418401073602294632,-2448715701162937911,-251009114195412283,-2596099021763661861,-2742588212388650236,-2815345521942377481,-282970971199601890,-2882235192024960425,-2916254222863256629,-2937743376869933722,-2977844498705803196,-3171752149715257961,-328783171672280991,-3344779530812036671,-3411106227931610949,-3517274092871305156,-3579024593033608232,-3604482838402279283,-3689528076985670041,-369076541244507862,-3768185150006060052,-3843224628959200148,-3966272471099460365,-4061817142295799706,-408948548948825768,-4152967131455462529,-4257030484574080419,-4383281460776722828,-4486479626583007635,-4527652017002205083,-4538594198520853340,-4548133054591884587,-4564161490914259385,-4594923932401661930,-460673773701149626,-4625994342083829497,-4635337108574011770,-4664099164562368769,-4733000962516106025,-4786991229087312846,-4866886069288072969,-5051295669801786216,-5227361554193436248,-525183319005968637,-5388970859305611843,-5493864845196957405,-5531589348011035420,-5574881277707368821,-5606655615186839034,-5691624397918836075,-5781295580965981611,-5813695648892591030,-5828339507727748321,-5870565149514592724,-5922671036423327403,-597306492485962898,-6143643179615971766,-63242572783557704,-6377417687390161719,-641822893088716161,-6425673463257888873,-6607542484042362528,-678042651678204024,-6821850870505554055,-6917365255193863914,-6974935821315245692,-7023503774859417237,-7067989431626087925,-7114605262265516392,-7173357522836361279,-7204820819930966962,-7224126246613746404,-7247704020138654552,-7272030862834659967,-7291184865771294855,-7340165893528041092,-735345035821436755,-7390481678189456629,-7454192439076545235,-7547119578377709200,-7597424397831857703,-7647896662208275109,-7706445822724942912,-7729291150712124718,-7784624468138942027,-793077567015011804,-7998051504547669493,-8174237190112245060,-8197781619129087100,-8219397087585712563,-8245107426586151064,-8324905021658739128,-8390531060326460353,-8411381403274005919,-8579448824514418396,-859613854622407493,-8762066134594976647,-8808183895655126096,-8837193623227505172,-8862783848519270246,-8922544264985187520,-8980973922600632467,-9080970060894426751,-9180755179803072558,-9195619220700777063,-9204678975399394618,-926441703052357881,1163942047606313006,13052038425933633,1319117167905072731,1406054348550140985,1548023510509383241,1624102903042357152,1655560177609656508,1687885511074794860,1743293671427753989,1820537497451365834,1898050468278569880,1952426981417775422,1964476261109544497,1967359803284584166,1973053735803754298,2029064968548447211,2091463909409494927,2122037099986103441,2207188357965662965,225412498964328759,2287175229113716378,2342029694640944762,2384180589622555903,2392268413292341945,2410406958186290224,2430778685486573845,2446726492949560335,2521822043466411033,2605385172395188054,2673887653382640020,2736837841743592525,2845113262799631776,3012487678747936921,3090046606999568554,3239953594238064711,3383418925965632169,3404798371219421275,3441006818940408092,3509653495745697449,354711459176525587,3617091149808086688,3703926393843801501,3797638390073648437,3883528898303208002,3951984567802005537,397973791701313648,4036970478290307719,4101816957443735337,4135977895738582222,4218113159607926802,4326419964070481953,4389973183570513857,4514218765627262980,4683721900803241387,4762540203924535296,4828677169144226389,4990213320362061461,5126654107351109747,5184989940153039319,522718726329854415,5235504172103159917,5275544566209448372,5294711894668857960,5331085706892691882,5383598503850184077,5636573677670985490,5873926345787342781,5914988075320085508,5959573577528112349,6007518183452189701,6046323548791045737,6144928624714460473,6243982161774269691,6263005366426941534,6305241561107377181,6342157409688159052,6418207406508507917,6485157144950080822,6636697594849541158,669291603034843309,6788180978996466191,6841681576388223180,6920986036046256547,6962729098169768137,7026084095483772078,7167970687439262234,7310700571697220234,733918850476407959,7377676382284782683,7425836259626081822,7465916811005755705,7535921675265204864,7625976068335044039,7654590808738521955,7678107654160700755,7797515086777145757,7908802774180839534,7957166713955100100,8021085393125263448,8091386947457320577,812766859218355194,8144132513949122350,82516314052963630,8285029304584217588,8417273952030093101,8423165559112482912,8441108454795529217,8523201488172202045,862044066741356664,8675288083508323748,8767896753099129598,8785697653117137666,8803703209965243538,8823747520462225773,8863595857459134238,8923521384647348316,8974778415578532575,9044479104042908263,9100023991104327513,9152538468161915294,9219660976582853666,945173088537748526",
"-1058815433494290208,-1243992000858389335,-1256404041989747314,-130935549317204775,-1313731322602131154,-140009218997484964,-1415973842695540856,-1473349866525827908,-1485859394092992312,-149793194094548423,-1545326866070758641,-1556842373624981989,-1751421683774236340,-1817798278723614369,-2002404422507381501,-2107174119646414283,-2295032595622944136,-2308350239868614294,-233127253005845562,-2410054397763462760,-244255490005661177,-2537515072193761544,-257762738385163389,-2654682971333562178,-2910971533451130247,-2921536912275383011,-2932281489278721558,-2943205264461145886,-3089386997537253152,-3254117301893262770,-33300845315028056,-3340630992441652125,-3382091417742208356,-3440121038121013542,-3493204970590860646,-3541343215151749667,-3572218465232901205,-3585830720834315260,-3598559843518650785,-3610405833285907781,-362608652382390280,-3652928452577603160,-3726127701393736922,-375544430106625444,-3808433801584758225,-3878015456333642071,-3939539377403772180,-3993005564795148551,-4177502884132812455,-4229534560692121400,-4284526408456039438,-4347651896557360642,-4418911024996085014,-4532268693528023589,-4552048068393894587,-4560062286555081986,-4630247530540389407,-4635755303362542997,-4780484161572930790,-4793498296601694902,-4833445716702074963,-4900326421874070975,-4992531222130927598,-5110060117472644834,-5198093059668469850,-5256630048718402646,-5337434701274490444,-5440507017336733242,-5571186729351689746,-5578575826063047896,-5661332626936893586,-5721916168900778564,-5815351862314265461,-5822673791731844106,-5834005223723652536,-6043762946576498937,-6243523412655444595,-635766004261047712,-6418552596171647443,-6432794330344130303,-647879781916384610,-6523728840736367130,-6691356127348357926,-6798510320579953690,-6845191420431154420,-6941781897612418479,-6979304461957382016,-7065661939372702030,-7197484878602758226,-7212156761259175698,-7269339556235930349,-7274722169433389585,-7284299170901707029,-7298070560640882681,-7382928604867534153,-7398034751511379105,-7429890131954923408,-7478494746198167062,-7594433250633743607,-7600415545029971799,-7699416227456703618,-7713475417993182206,-7724898081986773109,-7733684219437476327,-7807898058126999073,-7914611576331362806,-8081491432763976181,-8169584275546263964,-8190662319186647176,-8204900919071527024,-8215708653299839756,-8294172959336791539,-8355637083980686717,-8503759328356071918,-8655138320672764875,-8800744174006984018,-8815623617303268174,-8830128481089457712,-8844258765365552632,-8857053878011435169,-8868513819027105323,-8898394027260063960,-8946694502710311080,-8975909331518033554,-9036036582830128523,-9125903538958724979,-9175796098413047883,-9185714261193097233,-9193146281641949486,-9198092159759604640,-93184300252087352,-987118072404367311,109042873730262608,1091411045831820520,1236473049380805492,1314060609530185354,1324173726279960107,1367642316602494234,1444466380497787736,1515450961477408864,1580596059541357618,1618635755807844574,1629570050276869730,1665821667658793608,1681984334391362784,1693786687758226936,180490966185945173,1966691891368189687,1975232790146944885,2003238406519291341,2054891530577603081,2086091001008126939,2096836817810862915,2112123413099167172,2131950786873039710,2174526415862819472,2239850300068506458,2279843735642533164,2294506722584899592,2395332616928860373,2404401889375834512,2416412026996745935,2434959480326259944,2442933384057753189,2450519601841367480,2488067377099792829,2555576709833029237,2647663310986684344,2700111995778595696,270334031742712345,2796226304056132726,2894000221543130826,2977687429517283398,3047287927978590443,3168979315513978926,3310927872962150495,3384177313105330113,3394867035732224666,3414729706706617884,3535803945775045327,3589522772806239947,3644659526809933429,3766631636974735634,3828645143172561240,396070572766634445,4131117044657253285,4140838746819911159,4181906378754583449,4254319940461270155,4344366585448416175,4465925962970970149,4562511568283555811,462249477950263234,4647263135871545015,4720180665734937759,4759589817295584713,4798559073163331425,4858795265125121352,4939563340734038888,5040863299990084033,5269183982596901227,5281905149821995516,5297934975286015610,5521378663744571570,55989754375664651,5751768691597399410,583187974709445596,5870445025655578055,5877407665919107506,5954330371058705567,5964816783997519131,6096299672929549228,6193557576499371717,6336203797156643383,6348111022219674721,6386136020629849153,6450278792387166680,6562330853241938679,6711064336457143636,6786806028530606153,6956134448707010569,6969323747632525705,7001001246289527675,7051166944678016481,7122110240655761559,7213831134222762909,7369692972336479783,7461973064038265433,7504862990102970556,7566980360427439171,7654251949909468277,7749230934350958977,7845799239203332537,7901443082905179425,7916162465456499642,8137773446895638529,8150491581002606171,8220939976320153790,8349118632848281386,8424078367194803858,8490213611243067837,8556189365101336253,857333033602950487,8632232662769397105,8718343504247250391,8764647839042653316,8780046117164609914,8791349189069665418,8800351967493718354,8817076607685259839,8830418433239191707,9070410440682122718,908319610777958772,9101865097995822683,9128122336524616573,982026566297538280",
"-1005042412676848035,-1040891093221809484,-1076739773766770932,-1112361004703879672,-1183535252596500377,-1219702404393973689,-1240888990575549840,-1288170692578778729,-1390413212672188431,-142277636417555011,-1585648701620136305,-160287474608395152,-1631745850056221591,-187495380326195603,-1875744825633193815,-1925261324502974679,-1976211998222623306,-2028596846792139697,-2080981695361656088,-209167403159166557,-2133366543931172478,-224378027385716543,-2275793062281738149,-2284180203093985421,-2324625618157733465,-2343858730490301649,-2406807779603297614,-2508223097408811386,-2566807046978711703,-2625390996548612020,-2683974946118512337,-273743666887258193,-2837063530976647233,-292198275511945587,-3048204421448250747,-3130569573626255557,-3212934725804260366,-3295299877982265175,-3348928069182421217,-3505239531731082901,-3553377776291971922,-3582427656933961746,-359374707951331489,-4128431378778112603,-4189770760471487418,-4329837114447679549,-4365466678667041735,-4401096242886403921,-4436725807105766107,-4523035340476386577,-4544218040789874587,-4568260695273436784,-4606205948786185804,-4621741153627269587,-4712512896744884670,-4777230627815739762,-4963148998295498289,-5021913445966356907,-505323043739679689,-5080677893637215525,-5139442341308074143,-5311666622258929744,-5363202780290051144,-5414738938321172543,-545043594272257585,-5466275096352293942,-5513637931518547795,-5549540764503523046,-5812039435470916600,-5912065197866478051,-5933276874980176756,-5993822830056762523,-6093703063096235352,-6193583296135708181,-6293463529175181010,-6481822019083369431,-6565635662389364829,-6649449305695360227,-6733262949001355625,-6810180595542753873,-6856861695393954603,-6892948612775309350,-6953990218821695761,-6970567180673109368,-7164961815617267174,-7181753230055455385,-7238231905389381463,-7257176134887927641,-7301513408075676594,-7379152068206572915,-7386705141528495391,-7401811288172340343,-7442041285515734322,-7490645899758977976,-7524958315848749045,-7569280840906669356,-7625651677218180502,-7670141647198369716,-7716990215627301853,-7722701547624097305,-7761350878150884981,-7819534853121027596,-7872891612223209462,-7956331540439516150,-8039771468655822837,-8123211396872129525,-8178890104678226156,-8235940691371804621,-8254274161800497507,-8403037188812146159,-8419725617735865679,-8465914580276898679,-8541604076435245157,-8617293572593591636,-8692983068751938114,-8804464034831055057,-8865648833773187785,-8910469146122625740,-8958769621572872860,-8986038513683231381,-9013569843797979409,-9103436799926575865,-9191909812112535697,-9206735913689875818,-9217937974553527484,-969193732131886587,1055145544944574277,1127676546719066763,1200207548493559249,1272738550268051735,1316588888717629042,1348436300628670859,1386848332576317609,1645298687560519408,1660690922634225058,1670952412683362158,1721490767934706501,1765096574920801477,1876112992383726291,1919987944173413469,1947176200743016240,1957677762092534604,1968027715200978645,1974143262975349591,202951732575136966,2099523272011546909,2107166569655699037,2117080256542635306,21257616562149653,2126993943429571575,2136907630316507845,2276177988906941557,2383200881424181310,2396864718747119587,2419414561401973791,2426597890646887746,2448623047395463907,247873265353520552,2597358274297417747,2613412070492958361,2731587089959071949,2742088593528113101,2820669783427882251,2918443700914880351,292794798131904138,3086067392104406260,3094025821894730848,3133492176151936034,3204466454876021818,3275440733600107603,3346415012324193387,334983511848810759,3389901367988626362,3399832703475822970,3409764038963019579,3419695374450216188,3432833930567111292,3449179707313704892,3483503045716349570,374439406504240415,3895467399319074981,3929695234068473749,3974273901535537325,4057174099800927022,4163802988327911772,4200009769181255125,4236216550034598478,4272423330887941832,4308473342692547731,432014853760467643,4335393274759449064,4353339896137383286,4490072364299116564,4586657969611702227,4629033753405696829,4701951283269089573,4846460289717613,492484102140058824,4964888330548050174,5066188289804095319,5463781156781364610,552953350519650005,5578976170707778530,5694171184634192450,5809366198560606370,5967438387232222522,5988789086959557807,6026247279944821595,6120614148822004850,613422598899241187,6217872052391827339,6244879978519263056,6254391580845598977,6271619152008284091,6339180603422401217,6483753661607953133,6525147482438137440,6599514224045739918,6673880965653342397,6748247707260944875,6816306228158204723,6867056924618241636,6988459821692405474,7038625520080894279,714422416728528900,7145040464047511896,7236761357614513247,7285196076351741909,7336205067042698558,7365701267362328333,7373684677310631233,7385659792233085583,7469860557973245977,7654929667567575633,7773373010564052367,7821657162990239147,7869941315416425927,7912482619818669588,792839288595260636,8188895312188121891,8252984640452185689,8317073968716249487,8381163296980313285,8433049815036327011,8449167094554731423,854977517033747398,866755099879762841,8782871885140873790,8965859407985559186,8983697423171505964,9018547767403693808,9098182884212832343,9115914270705967213,9176954599799214015,9210515854009683201,926746349657853649",
"-1031928923085569122,-1147754786033135704,-1239337485434130093,-128667131897134728,-1339291952625483580,-1441534472718893281,-1542447989182202804,-168315803376416419,-1734827535036891833,-1801204129986269862,-182077374617952865,-192913386034438342,-1989308210365002404,-203749397450923819,-2094077907504035186,-214585408867409295,-2226892330335366735,-2319817340074591419,-2339050452407159603,-2348667008573443695,-2522869084801286465,-2581453034371186782,-2640036983941087099,-2669328958726037258,-2698620933510987416,-2793627512908107729,-2963255825379080623,-2992433172032525769,-3027613133403749545,-3068795709492751950,-3151160861670756759,-3192343437759759164,-3233526013848761568,-3315891166026766377,-3346853799997228944,-3367584012647507059,-3396598822836909653,-3425613633026312246,-3454628443215714839,-3499222251160971774,-3547360495721860795,-3580726124983784989,-3634628640373569720,-3707827889189703482,-3744427513597770362,-3770914062108188177,-3791038387897537264,-3860620042646421110,-4040777900393318221,-4082856384198281191,-4243282522633100910,-4356559287612201189,-4392188851831563375,-4427818416050925561,-4502449145266787853,-4600564940593923867,-4650136331356721496,-4678061997768016042,-4753489028287327380,-4816725540409075960,-4883606245581071972,-4977840110213212944,-5036604557884071562,-5095369005554930180,-5212727306930953049,-5271264295980885845,-5492954010282406023,-5766751760424351332,-5795839401507611890,-5906762278588053375,-5917368117144902727,-5927973955701752080,-5938579794258601432,-5968852771796894316,-6018792888316630730,-6068733004836367145,-6118673121356103559,-6168613237875839974,-6218553354395576388,-6268493470915312803,-6318433587435049217,-6360410666542539572,-638794448674881937,-6394424708237783866,-6460868608256870582,-6502775429909868281,-6544682251562865980,-6586589073215863679,-6628495894868861378,-6670402716521859077,-6712309538174856776,-6754216359827854475,-6804345458061353782,-6851026557912554512,-6977120141636313854,-7003588438729467789,-7043419110989366686,-7093624839199188054,-7135585685331844730,-718746834216895872,-7233495848014744919,-7252440077513291097,-7261912192262564186,-7280856323466913116,-7322561074519255800,-7357770712536826385,-7403699556502820962,-751943237425977639,-7695901429822583971,-7813716455624013335,-7852031630169132790,-7893751594277286134,-7935471558385439478,-7977191522493592822,-8018911486601746165,-8060631450709899509,-8102351414818052853,-8144071378926206197,-8201341269100307062,-8258857529407670729,-838613774810956290,-8415553510504935799,-8446992206237312059,-8484836954316485299,-8560526450474831777,-8598371198554005016,-8636215946633178256,-8711905442791524734,-8746446975713044000,-8777685293476909294,-8797024313182912979,-880613934433858696,-8904431586691344850,-9058503321862277637,-9148370277990874093,-9194382751171363275,-9196855690230190852,-9213365413266942251,1000453305177433157,1109543796275443641,1145809297162689884,1182074798049936127,1254605799824428613,1290871300711674856,1425260364523964360,1463672396471611111,1499164686961421675,158030199796753380,1640167942535950858,1650429432585087958,1663256295146509333,1803718487932607400,1837356506970124268,2256181271119928204,2278010862274737360,2290840975849307985,2321933955348513784,2362125433933375740,2471190043916483727,2504944710283101931,2572454043016338339,2593344825248532594,2601371723346302900,2609398621444073207,2617425519541843514,2771782824684383201,2869556742171381301,2995087554132610159,3064688052593917204,3151235745832957480,3186722885195000372,3222210024557043264,3364158582005214833,3384556506675179085,3402315537347622122,3575738584305316576,3630875338309010058,3901436649827008471,4016766856779688416,4133547470197917753,416897541665569848,4317446653381514842,4339879930103932619,4348853240792899730,4357826551481866841,4376143195198432127,4441779561642823733,4538365166955409395,4665492518337393201,4738410048200785945,4914238350920027602,5015538310176072747,5078850784711100962,5109083693484608176,5144224521217611317,537836038424752210,5434982403299761130,5492579910262968090,5550177417226175050,5607774924189382010,5665372431152588970,5722969938115795930,5780567445079002890,5838164952042209850,5897938530685478870,5932037619954692146,6045649962614249613,6071985197037093606,6169243100606916095,6258698473636270255,6275926044798955369,6483051919936889288,6486560628292208511,6506555797036236820,6580922538643839298,6618105909447640538,6655289280251441777,6729656021859044255,6766839392662845495,6906709154447258320,6935262917645254774,6959431773438389353,7099180017264011221,7190900910831012571,7381668087258934133,7389651497207237033,7409739730903735153,753415284224287018,7582509703008556325,7612007556962358759,7639944579707729319,7725088858137865587,7897763237267349371,7940344435343629925,7973988992566570275,8071373231264903511,8111400663649737642,8147312047475864260,8236962308386169739,832694429841449752,8333096300782265436,8365140964914297335,8453196414434332526,8506707549707634941,853799758749145854,8610704952399933783,8653760373138860426,8696815793877787069,8739871214616713713,8788523421093401542,8906811876774729575,8940230892519967057,8949249357825623,8970318911782045880,8988156926967992658,9205943292723097968",
"-1036410008153689303,-1300951007590454942,-1352072267637159793,-1403193527683864644,-1454314787730569494,-1488986775984783413,-1503977896480842627,-1527705373689378854,-1553963496736426152,-1643270137165242913,-1670654164780585007,-1702373645793226553,-173878180398612224,-1768015832511580847,-18329981580763232,-1834392427460958876,-1863365700915748599,-2041693058934518795,-2146462756073551576,-2256697104695531921,-2317413201033020396,-2351071147615014718,-2408679819473610775,-240878677910785624,-2433607990432476253,-2463823411893399569,-2493577110016336307,-2610745009156136941,-2691297939814749877,-2727927566646056366,-2757248858131244106,-2804486517425242605,-2870508366017938705,-2893962018031982145,-3109978285581754355,-315104375748285138,-3274708589937763973,-342461967596276845,-3481170409450638391,-3529308654011527412,-3581576890958873368,-3671228264781636601,-3825829215271979187,-3895410870020863033,-3926172830555928087,-395480433958784397,-3979639017947304458,-4006372111642992644,-4051297521344558964,-4093376005149521934,-4215786598751141891,-422416663938867140,-4270778446515059929,-4352105592084780916,-4361012983139621462,-4396642547358983648,-4432272111578345834,-4470510107899227417,-4850165892995073966,-4917046598167069978,-4948457886377783635,-5065986781719500871,-5154133453225788798,-5183458812405986651,-5241995801455919447,-5324550661766710094,-5376086819797831494,-5401854898813392193,-5427622977828952893,-5479159135860074292,-5646186741445922342,-5706770283409807320,-5737062054391749809,-581105181012254716,-5855118044617074737,-5886012254412110711,-5981337800926828420,-6006307859186696627,-6031277917446564834,-6081218033966301249,-6106188092226169456,-6131158150486037663,-613507803959671080,-6181098267005774078,-6206068325265642285,-6231038383525510492,-6280978500045246907,-6305948558305115114,-6330918616564983321,-640308670881799049,-6429233896801009588,-6471345313670120007,-6555158956976115405,-6597065778629113104,-6638972600282110803,-665989661211128542,-6680879421935108502,-6722786243588106201,-6764693065241103900,-6786840045617153507,-690095642145279506,-7104115050732352223,-7146075896865008899,-7177555376445908332,-7394258214850417867,-7709960620359062559,-7749714083156856458,-7772987673144913504,-7816625654372520466,-78213436517822528,-8278806928175817745,-8340271052819712923,-8417639564120400739,-849113814716681892,-8522681702395658538,-8674060694712351495,-8798884243594948499,-891113974339584298,-8934619383847749300,-9069736691378352194,-9159603647506948650,-9193764516406656381,-9207764382835116418,1037012794500951156,1073278295388197398,1218340298937182370,1311532330342741666,146799816602157483,1531737235993396052,1564309785025370429,1596882334057344807,1637602570023666583,2158195444811397726,2190857386914241218,2223519329017084711,2298172469320491199,2444829938503656762,25360405630257663,2538699376649720135,2759561084998508439,2857335002485506538,2960287304901956637,3029887803363263682,3115748606470914588,3257697163919086157,3293184303281129049,3328671442643171941,3428747486380462892,3445093263127056492,3453266151500353292,3470427820701675631,3603306961307163317,3658443715310856800,3688077148827790836,3719775638859812166,3782135013524192035,3844148519722017641,3871590397287341022,4134762682968249987,4403803171942595587,4429706360978750525,4453852762306896941,4477999163635043356,4502145564963189772,4526291966291336187,4550438367619482603,4574584768947629019,4598731170275775435,4765490590553485879,477366790045161029,4813618121153778907,4873854313115568834,4901575856013021959,4952225835641044531,5002875815269067104,5053525794897089676,507601414234956619,5221844558662562834,5249163785543757000,5291488814051700310,5316121881397932571,5346049532387451193,5420583026558959390,5449381780040562870,5478180533522166350,5535778040485373310,5564576793966976790,5593375547448580270,5622174300930183750,5650973054411787230,5679771807893390710,5708570561374994190,5766168068338201150,5794966821819804630,5823765575301408110,5852564328783011590,598305286804343391,6059827959090865795,6084142434983321417,6108456910875777039,6157085862660688284,6205714814445599528,628539910994138982,6370100327690519771,6402171713569178535,6466314485326496062,6543739167840038059,656474413061940043,6692472651055243016,6803618554043195495,6854369250503232408,69253034214314140,7087714905568136052,7110645128959886390,7179435799135137402,7202366022526887740,7272443828679002747,7323452819369959396,7367697119849404058,743671221609603,7441932788348428491,7520392332684087710,7713017820031318892,7737159896244412282,7761301972457505672,7785444048670599062,7809586124883692452,7833728201096785842,7857870277309879232,7882012353522972622,8005948332151651949,8036222454098874947,8172872980122105942,8269006972518201638,8301051636650233537,8397185629046329234,8429020495156725908,8437079134915928114,8445137774675130320,8473719672778500733,853210879606845082,8539695426636769149,8572683303565903357,8599941097215202122,8642996517954128765,8686051938693055408,8729107359431982052,8763023382014415175,889892871898063895,9005582099084086580,9057444772362515490,9083376109001729946,9122018303615291893,9164746533980564654,9208229573366390584,963599827417643403",
"-108155163986352176,-1275390377567102516,-1377632897660512218,-1574124414511114984,-1597172988729157627,-1678584035033745394,-1710303516046386939,-1776312906880253101,-1842689501829631130,-1888123950350639031,-1912882199785529463,-1937640449220419895,-1963115786080244208,-2067885483219276990,-2172666711950769041,-2198882199420445775,-222190720980684288,-2341454591448730626,-2366435313707917827,-2392355367810581998,-2552161059586236624,-2847922535493782109,-2929550545483115476,-2935012433074327640,-3017317489381498944,-3037908777426000146,-3058500065470501349,-3079091353515002551,-3099682641559503754,-3120273929604004956,-3140865217648506158,-3161456505693007360,-3182047793737508563,-3202639081782009765,-3223230369826510967,-3243821657871012169,-3264412945915513372,-3285004233960014574,-3305595522004515776,-3326186810049016978,-3643778546475586440,-3680378170883653321,-3716977795291720202,-3753577419699787082,-3834526922115589668,-3904108576864473514,-3952905924251616273,-4116163502439437640,-4140699255116787566,-4165235007794137492,-4298274370397018947,-4478494867241117526,-448279276315029069,-4534577031790932842,-4702268863859273993,-4722756929630495348,-473068271087270184,-4743244995401716703,-4763733061172938057,-4790244762844503874,-48271709049292880,-4858525981141573468,-4925406686313569479,-5007222334048642253,-5124751229390359489,-5298782582751149394,-5594462994802783003,-5618848235570895066,-5676478512427864831,-589205836749108807,-5956367742666960212,-6156128208745905870,-621608459696525171,-6450391902843621157,-6492298724496618856,-6513252135323117706,-6534205546149616555,-6576112367802614254,-6618019189455611953,-6659926011108609652,-6701832832761607351,-6743739654414605050,-6833521145468354238,-6880740291566032068,-6905156933984586632,-6929573576403141197,-7013546106794442513,-7053376779054341410,-7125095473798680561,-7417738978394112494,-7466343592637356149,-7536038947113229123,-7580361472171149434,-7636774169713227806,-7681264139693417020,-780809503022765163,-7841601639142094454,-7862461621196171126,-7883321603250247798,-7904181585304324470,-7925041567358401142,-7945901549412477814,-7966761531466554486,-7987621513520631158,-8008481495574707829,-8029341477628784501,-8050201459682861173,-805345631007258445,-8071061441736937845,-8091921423791014517,-8112781405845091189,-8133641387899167861,-8154501369953244533,-8203121094085917043,-8309538990497765334,-8371003115141660512,-8456453393257105369,-8494298141336278609,-8532142889415451848,-8569987637494625087,-8607832385573798326,-8645677133652971566,-8683521881732144805,-8721366629811318044,-8886318908397502180,-9024803213314053966,-9114670169442650422,-914027858648833890,-938855547455881872,1027946419279139595,1064211920166385837,1209273923715370809,122306153568912097,1317853028311350886,1415657356537052672,1454069388484699423,1523594098735402458,1556166647767376835,1588739196799351212,1647864060072803683,1710589316188182757,1754195123174277733,1865144254436304497,1909019206225991674,191721349380541069,1968361671159175884,1976322317318540178,2016151687533869276,2067804811592181016,2150029959285686853,2182691901388530345,2215353843491373838,2311886085702298295,2331981824994729273,2352077564287160251,236642882158924655,2530260710058065584,2660775482184662182,2713224166976573534,2808448043742007488,281564414937308241,2832891523113757013,2906221961229005588,2930665440600755113,2951587242594293256,3021187741055600301,3106876821630403865,3248825379078575434,3284312518440618326,3319799657802661218,3496578270731023509,3548879170789719266,3680152526319785503,3711851016351806833,3751128260425279233,3774383325249463834,3813141766623104838,3918550567201707855,3963129234668771431,4006665046024378764,4026868667534998067,4047072289045617370,4067275910556236674,4089597339377640831,4114036575509829843,4134155076583083870,447132165855365438,4729295356967861852,4783500025172883943,4843736217134673870,4977550825455055817,5196587442687502535,5299546515594594435,5506979287003769830,568070662614547800,5701370873004593320,5737369314856597670,6132771386768232661,6181400338553143906,6230029290338055150,6292737249348501914,6317745872866252448,6362082481220855080,6394153867099513844,6434243099447837298,6458296638856831371,6497259954335286510,6534443325139087749,6571626695942888988,6608810066746690228,6645993437550491467,6683176808354292706,6720360179158093945,6757543549961895185,682108793007746575,6828993902273213951,6879744598733250864,7013542670886649876,7063708369275138682,7133575352351636727,7225296245918638078,7297948324024481071,7348957314715437720,7433884523987255156,743667067350347488,7489333647521853402,7512627661393529133,7551451017846322017,8061366373168694978,8101393805553529109,8145722280712493305,8164861814089097967,8204917644254137840,822730644529902473,8260995806485193663,8293040470617225562,8389174463013321259,8427005835216925356,8443123114735329768,8465472703546217181,8531448457404485597,8564436334333619805,8621468807584665444,8707579649062518730,8750635069801445374,8762211153500296105,880679502458116456,8850342601737645939,8876849113180622536,9031513435723301035,9118966287160629553,9140330402343265933,9189162665617863375,954386457977695964,95779593891613119,991239935737485718",
"-1014004582813088397,-115640595853484588,-1156603231365449712,-1174493464647132049,-1192577040545868705,-1228744192343342017,-1281780535072940623,-1326511637613807367,-1384023055166350325,-1428754157707217069,-1620221562947200270,-1743124609405564087,-1809501204354942116,-1969663892151433757,-2015500634649760599,-2074433589290466539,-2120270331788793381,-2179220583818188225,-2205436071287864959,-2264148298285573217,-2372915327233583870,-2398835381336248041,-2441161845797707082,-2471377267258630398,-2500900103712573847,-2559484053282474164,-25815413447895644,-2618068002852374481,-2735257889517353301,-2764579181002541041,-2782768508390972853,-2826204526459512357,-3625478734271553000,-3698677983087686762,-3799736094741147745,-3869317749490031591,-3959589197675538319,-4030258279442077479,-4072336763247040449,-4305148351367508702,-4583641916017138056,-4825085628555575462,-4891966333727571474,-495392906106535215,-4955803442336640962,-5014567890007499580,-5073332337678358198,-5132096785349216816,-515253181372824163,-5161479009184646125,-5190775936037228251,-5249312925087161047,-5305224602505039569,-5350318740782270794,-535113456639113111,-5453391056844513592,-5522613639764791608,-554973731905402059,-5558516472749766859,-55757140916425292,-5653759684191407964,-5684051455173350453,-5714343226155292942,-5744634997137235431,-5862841597065833731,-5893735806860869705,-6056247975706433041,-6256008441785378699,-6368914176966350646,-6402928218661594940,-6993630770664493065,-7033461442924391962,-7083134627666023885,-727045935019166314,-7331363484023648446,-7366573122041219031,-7513877684584268967,-7558200209642189278,-760242338228248081,-7614529184723133198,-7659019154703322413,-7796261263132970550,-828113734905230688,-8286489943756304642,-8317222006078252231,-8347954068400199820,-8378686130722147409,-8437531019217518749,-8475375767296691989,-8513220515375865228,-8551065263455038467,-85698868384954940,-8588910011534211706,-8626754759613384946,-8664599507692558185,-870113894528133095,-8702444255771731424,-9002336474281904852,-9047269952346203080,-9092203430410501308,-9137136908474799536,-978155902268126949,1009666674617380596,1046079169722762716,1100477421053632080,1118610171497255202,1136742921940878323,1154875672384501445,115674513649587352,1173008422828124566,1191141173271747688,1245539424602617052,1263672175046240174,1281804925489863295,1299937675933486417,1338833292641759171,1358039308615582546,1377245324589405921,1396451340563229297,1434863372510876048,1473275404458522799,169260582991349276,1732392219681230245,1775998026667325221,1795308983173228183,1828947002210745051,1887081730331148085,1930956682120835263,1990325125504713406,2009695047026580308,2041978249563025146,2061348171084892048,214182115769732862,2372173303579591229,2462751377324829176,2496506043691447380,2564015376424683788,259103648548116448,2634551139788706506,2654219396585673263,2686999824580617858,2706668081377584615,2784004564370257963,2881778481857256063,2986387491824946778,304025181326500034,3055987990286253823,3142363960992446757,3177851100354489649,3213338239716532541,325119538184953345,3355286797164704110,344847485512668173,3490040658223686539,3522728720760371388,3542341558282382296,364575432840383001,3743376572150551032,3805390078348376637,3836396831447289440,384303380168097829,3940839900935239643,3985418568402303219,4154751293114575934,4190958073967919287,4209061464394590963,4227164854821262640,4263371635674605993,42726474537015162,4281475026101277670,4299500032003580620,439573509807916540,4619919062172772736,4656377827104469108,4674607209570317294,4692836592036165480,469808133997712131,4747524739433710038,4775970501177660202,4806088597158555166,4836206693139450129,4866324789120345093,4926900845827033245,500042758187507721,5028200805083078390,5100298486551357391,5135439314284360532,5173392437618576103,5308639968650552915,5338567619640071537,5372305930866197290,5394891076834170863,5442182091670162000,5470980845151765480,5499779598633368960,5528578352114972440,5557377105596575920,5586175859078179400,560512006567098902,5614974612559782880,5643773366041386360,5672572119522989840,5730169626486196800,5758968379967800280,5787767133449403760,5816565886931007240,5845364640412610720,5889413758368175551,590746630756894493,5923512847637388827,5979424538713241860,5998153635205873754,6016882731698505648,6035611828191137542,620981254946690084,6426225252978172607,6515851639737187130,6590218381344789608,6627401752148590848,6664585122952392087,6701768493756193326,6738951864559994565,675700198021294942,6776135235363795805,6822650065215709337,6873400761675746250,704674199854589370,7156505575743387065,724170633602468429,7248226469310388416,7291572200188111490,7342581190879068139,7481568976231294825,7543686346555763440,763163501098226548,7666688090278665033,7689527218042736476,782875503283713357,7931933296037894838,7965577853260835187,7998379801664846199,802803073906807915,8028653923612069197,8081380089361112044,8121407521745946175,8196906478221129865,842658215152997031,8664524228323592087,8843715973876901790,8870222485319878387,8898457122838420205,89147953972288374,8931876138583657686,9025030601563497421,917532980217906210,935959719097801087",
"-1049853263358049846,-1067777603630530570,-1085701943903011294,-1103512559371565664,-1121209450036193680,-1138906340700821696,-1210660616444605361,-1307341165096293048,-1332901795119645474,-1358462425142997899,-1409583685189702750,-1435144315213055175,-1460704945236407600,-1625983706501710931,-1662724294527424621,-1694443775540066167,-1726530460668219579,-1759718758142908594,-1792907055617597608,-1826095353092286623,-1894313512709361639,-1919071762144252071,-1943830011579142503,-2022048740720950148,-2048241165005708344,-2126818437859982930,-2153010862144741125,-2234343523925408032,-2515546091105048926,-2530192078497524005,-2574130040674949243,-2588776028067424322,-2632713990244849560,-2647359977637324639,-2676651952422274798,-2705943927207224956,-2970550162042441910,-2999727508695887056,-321943773710283065,-3374837715194857708,-3403852525384260301,-3432867335573662894,-3461882145763065487,-349301365558274772,-3662078358679619881,-3735277607495753642,-3782340681053926783,-3817131508428368706,-3851922335802810629,-3886713163177252552,-3932856103979850134,-3986322291371226505,-4013055385066914690,-402214491453805083,-4122297440608775122,-4146833193286125048,-4171368945963474974,-4222660579721631646,-4277652427485549684,-429150721433887826,-4320929723392839003,-4338744505502520096,-4374374069721882282,-4410003633941244468,-4445633198160606653,-4462525348557337308,-4494464385924897744,-4510433904608677962,-454476525008089348,-4589282924209399993,-479265519780330463,-4808365452262576459,-4841805804848574465,-4875246157434572471,-4908686510020570477,-4970494554254355617,-4985185666172070271,-5029259001925214235,-5043950113842928889,-5088023449596072853,-5102714561513787507,-5146787897266931471,-5220044430562194649,-5278581419612127445,-5330992681520600269,-5356760760536160969,-5382528839551721669,-5408296918567282368,-5434064997582843068,-5459833076598403767,-5485601155613964467,-5504662223272303982,-5540565056257279233,-5600559304994811019,-5624944545762923082,-573004525275400625,-5774023670695166472,-5803111311778427030,-5878288701963351718,-5962610257231927264,-605407148222816989,-6062490490271400093,-6162370723310872922,-6262250956350345751,-6351907156118728498,-6385921197813972793,-6886844452170670709,-6911261094589225273,-6935677737007779838,-710447733414625430,-7313758665014863154,-7348968303032433739,-7423814555174517951,-743644136623707197,-7802079660629984812,-786943535018888484,-811479663003381766,-8738637396272077677,-8754256555154010324,-8769875714035942971,-8785494872917875617,-9007953159039942131,-9097820115168538587,-9142753593232836815,-920234780850595886,-945062469657643867,-960231561995646225,-996080242540607673,1082344670610008959,1227406674158993931,1491021549703428081,1539880373251389646,1572452922283364023,1605025471315338401,1812127992691986617,1845766011729503485,1983868484997424439,2035521609055736178,2166360930337108599,2199022872439952091,2231684814542795584,2248015785594217331,2264346756645639077,2479628710508138278,2513383376874756482,2547138043241374686,2580892709607992890,2627995054189717587,2680443738981628939,2777893694527320582,2802337173899070107,2826780653270819632,2875667612014318682,2900111091386068207,2924554570757817732,2968987367209620017,3003787616440273540,3038587865670927062,3073388114901580585,3124620391311425311,3160107530673468203,3195594670035511095,3231081809397553987,3266568948759596880,3302056088121639772,3337543227483682664,3373030366845725556,3463890208194338661,3516191108253034418,3596414867056701632,36094834617690417,3651551621060395114,3696001771335796168,3727700261367817499,3789886701798920236,4083487530344593578,409338885618120950,4107926766476782590,4172854683541247610,424456197713018745,4245268245247934316,4396888177756554722,4638148444638620922,4711065974502013666,484925446092609926,4920569598373530423,4971219578001552995,5021869557629575568,5117868900417858961,5153009728150862102,5167593686351344495,5215014751942264292,5242333978823458458,530277382377303312,5366659644374203897,5389244790342177470,5413383338188558520,545394694472201107,5456581468410963740,5571776482337377660,5658172742782188100,5686971496263791580,5802166510190205500,5906463303002782189,5940562392271995465,605863942851792289,6126692767795118755,6175321719580030000,6223950671364941244,62621394294989395,6286485093469064281,6311493716986814814,6410189560038843226,6474332331796160753,650065818075488410,6553035010540988369,6848025413445727794,7007271958588088775,7057437656976577581,7150773019895449480,7242493913462450831,7266067704842633166,7317076695533589815,7401691466542561818,7417787995264908487,7449981052709601826,7528157003974646287,7574745031717997748,7590274374299114902,7660978308337647172,7683817436101718615,7948755574649365012,7982400131872305362,8180884146155113916,8228951142353161764,8244973474419177714,8277018138551209613,8309062802683241512,8325085134749257461,8357129798881289360,8373152130947305310,8405196795079337209,8481966642010784285,8498460580475351389,8514954518939918493,8547942395869052701,8580930272798186909,8915166630711038945,8948585646456276427,899106241338011333,8999099264924282966,9050961938202711876,9076893274841926332,9134226369433941253,9183058632708538695,972813196857590841",
"-100669732119219764,-10844549713630820,-1294560850084616836,-1345682110131321687,-1396803370178026538,-1447924630224731388,-1579886558065625645,-1602935132283668288,-1869555263274471207,-1881934387991916423,-1931450886861697287,-1982760104293812855,-1995856316436191953,-2035144952863329246,-2087529801432845637,-2100626013575224735,-2139914650002362027,-2219441136745325439,-2249245911105490625,-2426054135067245424,-2456269556528168740,-2486254116320098767,-2544838065889999084,-2603422015459899401,-2662005965029799718,-2720597243774759431,-2749918535259947171,-2788198010649540291,-2831634028718079795,-2853352037752349547,-2955961488715719337,-2985138835369164483,-308264977786287211,-335622569634278918,-3360330310100156411,-3389345120289559005,-3418359930478961598,-3447374740668364191,-388746376463763711,-3919489557132006041,-3972955744523382412,-4035518089917697850,-4077596573722660820,-40786277182160468,-4134565316947450085,-415682606443846454,-4195904698640824900,-4208912617780652136,-4250156503603590665,-4263904465544570174,-4643154914753897860,-4657117747959545133,-4671080581165192406,-4685043414370839679,-4941112330418926308,-4999876778089784926,-500357974923107452,-5058641225760643544,-5117405673431502162,-5176141688774745052,-520218250189396400,-5205410183299711450,-5234678677824677848,-5263947172349644246,-5318108642012819919,-5369644800043941319,-540078525455685348,-5421180958075062718,-5472717116106184117,-559938800721974296,-5638613798700436720,-5668905569682379209,-5699197340664321698,-5729489111646264187,-5759479850153536193,-5788567491236796751,-5847394492168315744,-5975095286361861368,-5987580315491795472,-6000065344621729575,-6012550373751663679,-6025035402881597782,-6037520432011531886,-6074975519401334197,-6087460548531268301,-6099945577661202404,-6112430606791136508,-6124915635921070611,-6137400665051004715,-6174855752440807026,-6187340781570741130,-6199825810700675233,-6212310839830609337,-6237280898090477544,-6287221014610213959,-6299706043740148062,-6312191072870082166,-6324676102000016269,-6337161131129950373,-6455630255550245870,-6497537077203243569,-6539443898856241268,-6581350720509238967,-6623257542162236666,-6707071185468232064,-6748978007121229763,-6839356282949754329,-6899052773379947991,-6960094379426334402,-6998609604696980427,-7038440276956879324,-70728004650690116,-7088379733432605970,-7130340579565262646,-7472419169417761606,-7519418000216509006,-7541579262745469162,-7563740525274429317,-7585901787803389473,-7620090430970656850,-7642335415960751458,-7664580400950846065,-7686825385940940672,-8271123912595330848,-8301855974917278437,-8332588037239226026,-833363754858093489,-8363320099561173615,-875363914480995896,-8892356467828783070,-8940656943279030190,-9030419898072091245,-9052886637104240359,-9120286854200687701,1507307824219415269,163645391394051328,1705138590314920885,1726941493807968373,1748744397301015861,1770547300794063349,1859659885462593600,186106157783243121,1881597361357437188,1903534837252280777,1925472313147124366,208566924172434914,231027690561626707,2367149368756483484,253488456950818500,2753450215155571058,275949223340010293,2814558913584944869,2851224132642569157,2912332831071942969,298409989729202086,320187551353024638,339915498680739466,3476965433209012600,3568846490054854891,3610199055557625002,3623983244058548373,3665335809561318485,3758879948700007433,3820893454897833039,3851900207996745842,3912978233768324908,3935267567501856696,3957556901235388484,3979846234968920272,4369228201012391262,4383058189384472992,4410718166128636452,4423669760646713921,4447816161974860337,4471962563303006752,4496108964631153168,4520255365959299583,4544401767287445999,454690821902814336,4568548168615592415,4592694569943738831,4791029549168107684,4821147645149002648,4851265741129897611,4881383837110792575,4895244608559519137,4907907103466524780,4945894588187541709,4958557083094547352,4996544567815564282,5009207062722569925,5047194547443586854,5059857042350592497,5072519537257598140,515160070282405517,5190788691420270927,5228674365382861375,5255993592264055541,5323603794145312226,5353531445134830848,5427782714929360260,5485380221892567220,5514178975374170700,5542977728855774180,5600575235818981140,5629373989300584620,5715770249745395060,5744569003226998540,575629318661996698,5773367756708602020,5830965263671808980,5859764017153412460,6053749340117751889,6078063816010207511,6102378291902663133,6151007243687574378,6199636195472485622,636098567041587880,6378118174160184462,6442260945917501989,6797274716985690881,6809962391100700109,6860713087560737022,6899570713647759206,6913847595246757433,6928124476845755660,6942401358444753888,6982189109393844373,7032354807782333178,7127842796503699143,7219563690070700493,7278819952515372328,7329828943206328977,7497098318812411979,7559215689136880594,75884674133638885,7605023301276016119,7618991812648701399,7632960324021386679,7646928835394071959,777893610627939717,797821181251034275,8013516862638457698,8043790984585680696,8076376660313007777,8116404092697841908,8212928810287145815,8341107466815273411,837676322497223391,8616086879992299613,8659142300731226256,8702197721470152899,8745253142209079543,8856969229598390088,9012064933243890194,9158642501071239974",
"-1000561327608727854,-1054334348426170027,-1072258688698650751,-1090183028971131475,-1215181510419289525,-1269000220061264410,-1320121480107969261,-1371242740154674112,-1422364000201378963,-1509909765782976684,-1533637242991512911,-1591410845174646966,-1637507993610732252,-1649032280719753574,-1857176138557025991,-1906692637426806855,-1956567680009054659,-2008952528578571050,-2061337377148087441,-2113722225717603832,-2166112840083349857,-2192328327553026592,-2359955300182251784,-2385875354284915955,-2799057015166675167,-2876371779021449565,-2899825431035493005,-3022465311392624245,-3043056599437125447,-3063647887481626650,-3084239175526127852,-3104830463570629055,-3125421751615130257,-3146013039659631459,-3166604327704132661,-3187195615748633864,-3207786903793135066,-3228378191837636268,-3248969479882137470,-3269560767926638673,-3290152055971139875,-3310743344015641077,-3331334632060142279,-3487187690020749519,-3511256812301194029,-3535325934581638540,-3559395056862083050,-3630053687322561360,-3666653311730628241,-3739852560546762002,-3946222650827694227,-3999688838219070598,-4046037710868938593,-4088116194673901563,-4110029564270100158,-4159101069624800011,-4236408541662611155,-4291400389426529193,-4325383418920259276,-4343198201029940369,-4378827765249302555,-4414457329468664741,-442082027621968790,-4450086893688026926,-4611846956978447741,-466871022394209905,-5292340562997259219,-5343876721028380619,-5395412879059502018,-5446949037090623417,-5509150077395425889,-5545052910380401140,-5612751925378867050,-5950125228101993160,-6149885694180938818,-6224795868960543440,-6274735985480279855,-6518490488029742418,-6665164363815234365,-672016156444666283,-6792675183098553599,-6816015733024153964,-6862696832875354694,-6874636130961393427,-6923469415798502556,-696122137378817247,-7098869944965770139,-7140830791098426815,-7448116862296139779,-7496721476539383433,-774675471026641843,-7755532480653870720,-7767169275647899243,-7778806070641927766,-7825353250618041857,-7846816634655613622,-7867676616709690294,-7888536598763766966,-7909396580817843638,-7930256562871920310,-7951116544925996982,-7971976526980073654,-799211599011135125,-7992836509034150326,-8013696491088226997,-8034556473142303669,-8055416455196380341,-8076276437250457013,-8097136419304533685,-8117996401358610357,-8138856383412687029,-8159716365466763701,-843863794763819091,-8442261612727415404,-8480106360806588644,-8517951108885761883,-8555795856964935122,-8593640605044108361,-8631485353123281601,-8669330101202454840,-8707174849281628079,-885863954386721497,-8916506705553906630,-8964807181004153750,-9019186528556016688,-9064120006620314916,-9075353376136389473,-907820936447071895,-9109053484684613144,-9153986962748911372,-9165220332264985929,-932648625254119877,-964712647063766406,1005059989897406876,102411233810937863,1077811482999103178,1222873486548088150,128937793488236842,1334031788648303327,1353237804622126702,1372443820595950077,1391649836569773453,141184625004859535,1430061868517420204,1468473900465066955,152415008199455431,1996781766012002373,2022608328041158243,2048434890070314113,2074261452099469983,2641107225387695425,2667331567783651101,2693555910179606777,2719780252575562453,2765671954841445820,2839002392956694394,2863445872328443919,287179606534606189,2936776310443692494,3120184498891169949,3155671638253212841,3226645916977298625,3262133056339341518,3297620195701384410,3333107335063427302,3368594474425470194,3503115883238360479,3529266333267708357,3555416783297056236,3582630678555778261,359643446008454294,3637767432559471743,379371393336169122,3865621146779407532,3889498148811141491,4095707148410688084,4120146384542877096,4168328835934579691,4240742397641266397,4435742961310787129,4484035763967079960,4532328566623372791,4580621369279665623,4633591099022158875,4706508628885551619,4933232093280536066,49358114456339906,4983882072908558639,5034532052536581211,5085182032164603784,5974742264590083886,5993471361082715780,6012200457575347674,6030929554067979568,6065906578063979700,6114535529848890944,6163164481633802189,6211793433418713433,6298989405227939547,6323998028745690081,6511203718386711975,6548387089190513214,6585570459994314453,6622753830798115693,662883008048391676,6659937201601916932,6697120572405718171,6734303943209519410,6771487314013320650,6835337739330718565,688517387994198208,6886088435790755478,6994730533990966574,699800091417619605,7019813383185210977,7044896232379455380,7069979081573699783,7081982349720198468,7093447461416073636,7104912573111948805,7139307908199574311,7173703243287199818,7185168354983074986,719296525165498664,7196633466678950155,7231028801766575662,7304324447860850652,7355333438551807301,758289392661256783,7706982300978045545,7719053339084592239,7731124377191138934,7755266453404232324,7767337491510779019,7779408529617325714,7803550605830419104,7815621643936965799,7827692682043512494,7851834758256605884,7863905796363152579,7875976834469699274,8605323024807567952,8648378445546494595,8691433866285421238,8734489287024347882,8883475741041366685,894499556618037614,9037996269883104649,9063927606522319104,9089858943161533560,9109810237796642533,912926295497932491,9146434435252590613,9170850566889889334,931353034377827368,968206512137617122",
"-1018485667881208578,-1107936782037722668,-1125633672702350684,-1143330563366978700,-1161027454031606716,-1179014358621816213,-1197097934520552869,-1233265086318026181,-1498046027178708570,-1521773504387244797,-1568362270956604323,-1614459419392689609,-2809916019683810043,-2842493033235214671,-2864644953014427845,-2888098605028471285,-3032760955414874846,-3053352243459376048,-3073943531503877251,-3115126107592879656,-3135717395637380858,-3156308683681882060,-3197491259770884465,-3218082547815385667,-3238673835859886869,-3279856411948889274,-3300447699993390476,-3321038988037891678,-3475153128880527263,-3523291373441416284,-3703252936138695122,-3786689534475732024,-3821480361850173947,-3856271189224615870,-3891062016599057793,-4056557331820179335,-4098635815625142305,-4183636822302149937,-4578000907824876119,-4707390880302079332,-4717634913187690009,-4727878946073300687,-4748367011844522042,-4758611044730132719,-4768855077615743396,-4812545496335826210,-4845985848921824216,-4879426201507822222,-4912866554093820228,-5527101493887913514,-5563004326872888765,-5588366684610754987,-6050005461141465989,-6249765927220411647,-6356158911330634035,-6390172953025878330,-6466106960963495295,-6476583666376744719,-6487060371789994144,-6508013782616492994,-6549920604269490693,-6560397309682740117,-6570874015095989542,-6591827425922488392,-659963165977590801,-6602304131335737816,-6633734247575486091,-6644210952988735515,-6654687658401984940,-6675641069228483790,-6686117774641733214,-6717547890881481489,-6728024596294730913,-6738501301707980338,-6759454712534479188,-6769931417947728612,-6781004908135753416,-6827686007986954147,-684069146911741765,-6947886058217057120,-7008567272761955151,-7018524940826929875,-7058355613086828772,-7109360156498934308,-714597283815760651,-7151321002631590984,-7318159869767059477,-7353369507784630062,-7411663401613707037,-7435965708735328865,-7460268015856950692,-747793687024842418,-7484570322978572519,-7508337368952028928,-7530498631480989084,-7552659894009949239,-7574821156538909395,-7608967938475609546,-7631212923465704154,-7653457908455798761,-7675702893445893368,-7743895685659842197,-7790442865635956289,-7857246625682651958,-7878106607736728630,-7898966589790805302,-7940686553898958646,-7961546535953035318,-7982406518007111990,-8024126482115265333,-8044986464169342005,-8065846446223418677,-8107566410331572021,-8128426392385648693,-8149286374439725365,-8461183986767002024,-8499028734846175264,-8527412295905555193,-8536873482925348503,-854363834669544693,-8574718231004521742,-8612562979083694981,-8650407727162868221,-8678791288222248150,-8688252475242041460,-8726097223321214699,-8880281348966221290,-8928581824416468410,-8952732062141591970,-896363994292447099,-8996719789523867573,-9041653267588165802,-9086586745652464030,-9131520223716762258,-982636987336247130,1041545982111856936,1095944233442726300,1114076983886349421,1132209734329972543,1150342484773595664,1168475235217218786,1186607985660841907,1241006236991711272,1259138987435334393,1277271737878957515,1295404488322580636,1410855852543596828,1449267884491243579,1503236255590418472,1716040042061444629,1737842945554492117,174875774588647224,1759645849047539605,1807923240312297008,1841561259349813876,1870628623410015394,1892566099304858982,1914503575199702571,197336540977839017,219797307367030810,2306862150879190550,2316910020525406039,2326957890171621528,2347053629464052506,2357101499110267995,242258073756222603,2475409377212311002,2509164043578929206,2542918709945547410,2576673376312165614,264718840145414396,2790115434213195344,2887889351700193444,2964637336055788327,2999437585286441849,3034237834517095372,3069038083747748894,309640372923797982,3137928068572191395,3173415207934234287,3191158777615255733,3208902347296277179,3350850904744448748,3877559647795274512,3924122900635090802,3946412234368622590,3968701568102154378,3990990901835686166,4001614140646723938,4011715951402033590,4021817762157343241,4042021383667962544,4062225005178581848,4150225445507908015,4186432226361251368,4204535616787923044,4222639007214594721,4258845788067938074,4276949178494609751,4295013376659097064,4459889362638933545,4508182165295226376,4556474967951519207,4604767770607812039,4615361716556310689,4651820481488007061,4670049863953855247,4688279246419703433,4742967393817247991,5113476296951233568,5148617124684236709,5179191188885807711,5202386193954734143,5377952217358190683,5400537363326164256,5902200916844130529,5936300006113343805,6090221053956435322,6138850005741346567,6187478957526257811,6236107909311169056,6374109250925352116,6438252022682669643,6539091246489562904,6604162145396215073,6687824729704767861,6715712257807618790,6752895628611420030,7116377684807823974,7162238131591324649,7208098578374825324,7253959025158326000,738792958913377723,7672397872219682894,7695236999983754337,7743195415297685629,7791479567723872409,7839763720150059189,7888047872576245969,7944550004996497468,7978194562219437818,8056362944120590712,8066369802216799244,8096390376505424843,8106397234601633375,817748751874128833,8208923227270641827,827712537185676112,8337101883798769423,8594559169622836292,8637614590361762935,8680670011100689578,8723725431839616221,8910989253742884260,8944408269488121742,9195266698527188055"
]
},
"random": {
"static-random": [
"100321965425289878380448965995332854810,10065780935812382625745630913295956174,101599373395164482597769081018432904605,102118642210297722209380353860921495787,102172878213145464194049782711095066964,102383482264203118849778408659816705571,10312353759974506788807756316265596115,103325887573743109562331879495524057488,104649488516571957490512289274345906800,104914268497485437436785595622803447797,105366627872887068776423303884492693377,105920596493741914384657064283877183443,106189084386510856743434663818826072522,106334353785730334099313118217092529263,106493608045237016118878733777011189984,106589301854415222726255411950248903110,107499697676354632123159954533425660401,107652241140250493655810890833939046590,107844671200765462455083558184595999956,109428306053372905329907162868360485523,109598737258884770130116747125258724011,109608215354896283310713731471647602501,109716937222626296864862266517436297862,110019599534468823531143671011505422284,110375783036078690703152144441813271653,110515447351814383716210393443835122907,111928577949818587108592109562200874913,112196188577051157652483192775696451825,1130298015520124909163994233471962688,113093903325740885814330921449976455282,11336392335207106694345674624973832093,11356791877226497531683371999811943478,115377946363813100628625066345277398215,115850735903536241551155336534388527220,116540746300342641375914189375460174250,117810780016133304519365075773409840713,118364815700229635103423189022890627712,118392702060025793859484719435373136368,118472729351286514900247077406336140414,118621583263815668878136473187991016174,119441607489482086358107762670086531899,122146103696079286535007610992794415486,12225437935275564691480412526286945720,122445114841677855957798153703090027189,122475620668399678951248204491974997901,122788552290003692648576939279491961112,123725804617894092496089788515767614563,124237531551046163174513741494222019342,126341810286215486939910197434967704260,127440445745857796791820190543805439549,127693562473014021114728528228110987076,128359135436669326207460405820099062904,128606463566126097545472062241180752061,13033644450211441275894906614913381507,130699394596843339226304588890935272667,132009780411792914503071353042802597445,132387832067579593926100948502627317291,132817507686943216926559797902416178785,133283602354189667141506587234733042358,134759231143847970503314849389389496741,135045761501047363888701861798416764974,135588340870744986865207658028577305943,136966049121787446529953977006993118384,137585177535952255873324821553974064117,138098373979195354656849527356739725560,138199284458465676612726970296495130909,138380504826896679687826772753486649720,138550468785922852211355352539029545678,14033637330733531788132819859897570177,141162992834807790433726123042005527725,142277377609758214163572379988886800062,142756486782690680165151894029491516441,142951648077556203320457432051225868086,143592453113850844875996740622151368058,144328870184753070813500070393362491908,144546766511186625591399544001848565992,144654613759968102515387997722969410359,144902924098255207044133952093186420296,1456022468388732264532369322740649398,146685978325626323008136761404123816678,147251772389730720554255561300261225158,149241468289658453756578311792665887801,149278111606705492915640104657089110160,149285626920427626802998321393520007123,149709041146988068719959054930402771150,149872075175309386308622368032775430298,150750614610042461926948718391892867820,151333426746151292813007004873161085029,153371311107381319414636104563016924034,153497502342652239187986745070818232940,153501747349669525643422370886989340644,153764852820530785056400736670229517472,154772981436656917570852737486448289444,155113410892530217407835314732024968619,157461192985135957085210290509219915199,15753292250217254902121520960318324472,158091331052162199853196364155945454094,158264558505093978317748500814696651048,159406715234122078905285135038836850772,159675476030518569725387843764074737360,160284628370695859356999166443667103304,160681449661196358749432376095503293229,16071624800245564040496322210141427244,161431521623804954090345307992826204809,161749222638118368959343160214956289558,161783333585723213241684723167371054205,162607090186580648066866918489904810390,163665706659757544179827170491412079964,163839857170243083959798886529577901947,164907211233265966779600373441911820204,165420558090261570492284266339401732133,165504966258138667875516690739161503252,165707089406945097235028002139592484484,167049178746916584588530927774233894429,167699133542548071335723950839496172566,168413111476250537349135800728371646125,16865203749860148649457581665981355446,169225271214658095308787307508256528568,169827559222115620950127217492457382930,17942729806724847746569297991983705158,18007002301851607477029041527475956465,18095213339518024756971371709748741110,18800856588604175658416593376653705762,19139040060644952292016403075497462043,19324754943900812179404554621391861273,20424603886631131239520377963436839111,21708134286075229909497000736334981886,22751163941690433700189724291511057093,24464595439961373016721578004123548039,24465278585974889572758321763826898202,25480003956987240618730144151825459023,26943583211689682221683062068043649932,28793016390694241035629412678383845765,29562776331227897931384701623896034759,29848265530821857616245024073146544720,30296215996148788038365368309377193532,30406901961940454931733641812044808555,30588631149137344964223496070312393501,31303473121461770109547974249719064669,31542653801707585795737383869251888649,31598529088382616204724860770659546485,3346634438386090470570741857903849733,33686802640418652149181769957491247675,34259572856817987304984700014896181812,35282647985888169513099895332779508714,3566498695599383326883587830484246228,36894399948070059630274566568846862220,37432462572000964954972250414135865207,37459050527726185323538323373183951907,38098308535662323942036797855595145295,38109641675732277376420253041965766149,41302546232493946047189846315488331229,41322399013564898947483384295326222617,42601012380551923637272415056180355890,42656216510148896345967845527425258593,42924134578515245407835937028730756116,43085503551290570464892231453577573529,43503082453485944826614745142131696143,43636710339314807698205769690992705312,43645599242657943573126990542654290146,43756012899923853585788677001337402102,44319720224508220272974267891185842919,44549744334780178552222759523492349912,45664331196122740238710878020067799005,46059423736242715488938449505066104709,46128998945700730511819069146301634799,46594997035594400609444839615521946681,48198930687286771493301530368067255512,48709856151213982863367571600566979168,48856138109710606028221031464534316363,48987521234125640132299900685109932194,49359637355083372624364029035728068365,49416209555408986177550545543765006567,49826271415370636481227163176962703793,50612866651974233601271834187870425913,50652023377056460095062698973349478985,51907302788066949802864167035865109605,52205647567233676506834014766653849037,52671829411233621244239476189203181843,54271886392876359039693342621659524375,55233765372126461492712621193265078172,57113261605887241592829304322903598154,5719137767541073989642869299076346318,59098241891692643986252627616280348330,60768598264561557727226853089544120090,60837313232121686326925593219152477155,6110685381184489045341638325138014463,61468040961394752678558161775571360229,61619261086000501128594715069963467426,61867158681383119971286475820447958292,62736992064114128608070572739765144415,63617862900934806422876290391081303094,64233567401903347719896090391638820706,64235844593103768246185711569205871728,64276763541831085364109369114734662322,6481620651197739305033397702667059416,65397928060498300690866811646138936220,68642543909622091072399482295802306761,69769038071013471423138411883075841131,7006273067043644431212324280395412044,70379120512677368202376567426621795027,71251550951166069498247047811229801981,72191274663866219802557150505967453535,72301977203027527930767152978729563139,72346529780255383894194155016610097602,72694881808500825915237555547992794173,73292582950465051822039780654524305449,74113476985347044135250731344715885695,74606666587921581747493136483942706422,75433280800811441473625814073709377728,75822893544379825976143658931326526360,76482325228196754284240146147745092038,76566721623109417538694188913340537581,77826117893880218076451358327645445005,79102582712281231225977564452134331647,79468790209249476793194766705468687297,79563052094587117134434201769896445467,80117534040392173039278691503392263377,80890406734203980180439461314814723899,81643725238132417775348910715184562287,83505843199065704948913939534151109341,83640120874599105042072437824486180710,84604692379519166470154920487763473682,85191425382120564417319508408934544917,86390056850202626953228150733077831846,86573229780957484322487785433722933121,86816389858431459290191738874341092075,87238140079819987359516500644141958681,87383375757474323328542146077623299686,87740258633265331965034642015351616599,8967970118053796684378616094548736713,89774071636586241018253885307112613348,89825509319442746584746370536554341790,90957944150456097076097212481390296015,91360821800232966369696199243630240647,91643428116501569476495021245243232426,91942623281201892309773206603993063831,92782598811826515462908797295074868193,93051755711439739895387584612559091272,93441122457094834533526231045802626244,93657080020421377975919120267160859773,93842146810856325107834671123031743507,94093787845664414068311963949675800766,9412183508860936281315250653214447803,95270605047038282974288983838057480711,95481192842702272771769091140956981020,95852510960211459429261484726567022190,96107604619584083218707253603197893361,96138542377299510393149977600519045830,96818973902089137242692474399804100141,98128250123407121541948478502550726389,98301578352018157136266377700436275146,98466170087106405376260708032127855652,98896570758919135314177143217922851439,99032330373305194178009527128786137751,99414764560395425413069731030781148782",
"10012124133814015620115179362508444552,100176210867505920639885458257756329742,100714599146342025594812756500625878608,102338731912324282933820010106849698099,103531796027611821664667252584400073817,104275188751415813991788046084155963777,105319767984987092456998046200793337087,107847083761079586079121719445182815521,109162401356304693843479400388056817952,109173842765794740325170388029376020025,110336744495867005263861303318557984719,11059067183147866714402882840582775047,110925376595038895903437830140962724762,110940600691510880633585151399617355661,110959771630679480145243703864033181256,112181629102599048473281376718716593930,112942384816310739689188701143800687678,113523716875529812082013668535184922203,114068970841705636259754961276919483718,114404925725872008456004423200480413221,115436013651185231006806307153797397968,115493072459203126982760027542143469114,115528729335615917192892669249908373103,11564067703189413553731765270618174442,11630825082183842170143040691805530411,116455455091778051902241398387833614074,1165189222705056468592399645386896373,116636514790084929699606246042534450115,118414293037103238579829813369614051353,118658270479064925505413805175668315567,119359807941329262240238873321499673460,120690550286629493793818179715267629485,121342158379039428314426582130461004309,121616206303139330492777063839822962781,122086948895242027042087631057450095311,122473213333880824706426799722542190704,123526113993927560217021472669528729123,125753292670934373503482878904800330842,126275018919679239594602898442403063896,12692937649903656768556729382117128360,127507075799204985601458836348509558562,127547110822523012319794855793239400749,129960145254588775980326830478659553074,130676398586764547433890861718354813699,130950522765675153157968424538022106666,132175841399940375839037207028496407992,13227695657897360736178061322639707450,132288716787317621130537283244002942435,132965064339173664054940526436393687007,132973204210462972893584721365532529497,13303952251577855318059133826148278681,134591432374987223796271367238424116218,135879911058587569201195796186259301054,135952093107153474686099441520522982047,136284363138252904763212222674341242481,137028410011880130522967641878765778491,137666125383281121778387071255405476095,13907082259392233033357901052065972489,139299614057092824905133308627941486890,139565540247261506250971653828266060322,139640104626262806672234582794751327319,140581020951229988726652236917917068705,141061655792027710107408787651049202537,141353478725360369842516254836529842192,141772850348804031911763531758505702674,142300725287150354694690052356227926489,143033486434345716323710001279267928577,144381275576941823423699175569790313849,14676729760559138592490674913844718470,147531453650876976445933757529753329324,149062969974522838431380861200464992872,149107032577112981940157349162189386868,149236449061602590985692190798690641619,149264697578898483494539047270210697228,150072247843766761276887086352540152200,150141681455943221447933137055141418003,151071178876426374977802491452628673906,151232895646934742854758838496766552382,152282795913853621407334082273442132727,15282937128063768198837001520505652048,153088830599634350071756693464015834525,153855732810129717042567645172167383853,154273210954179807599289785212645773403,15448597555923429392470797656149460717,15458105742700471106542919790760842371,156522283178870973082738500878753933809,157380444464190773182754065959712783845,157450410226803946029301992135246920222,157641017107141686632007621358852138181,157644947140588032448380597394359269676,158172919700071550547325453657634223607,15853795276887860985982444158483180596,158676990308832992401319351287092080625,1594081743640016479287124738108244268,159422627281157057009926210837055830929,160897776558586296666289184433538715867,160975004037627919093803064685408367804,161526385627169932809811254278787235769,16254684230663027142865336793870398429,16264880440903948331337829575460312680,162881027111025281217594673543124062958,163079390646857882275660237024877892706,163903520264526701181169176515000008456,164471022873493567166202864568617492971,165593386817303264222892992770975552921,166285322095153074478384087320776414762,16691972408014985128438038021111551480,167211960816909444377047106535373320088,169246246934734021140858033974158364817,169888625304003707244102705648830512254,170080430603149639142703099377172612545,1723784874455873560196830943412911699,17599107425553452254413432867398442603,18932963845855896240414265153948726535,198702364377515192924098888799567198,20007743707199596483279650958444732850,20351186261855197229331666633299702025,21073361331814753327881973284022149325,21778693339810799089067726231294783308,22099541535594639713498819830500210914,22247053367041134423004189007911796155,22340522751655115290489406681364039347,2291340882135321065530866158589297839,2529016734878575601282299925875508000,25616846335751055820891527440186517330,25680260691212823017759111414084230518,26258437643116174262626244992917699439,27001572562223969541530129969878156006,27237128425051141703138590174724537125,27370161015571782374965796284270815420,27580118380625652452081516097244381677,27902561456396674568197212651560523519,28733382319469344252805055218126372924,2888626933040453525259563147649648114,29158825445020111960823903489095205927,29519937636945447168670595593645245449,30069706742080927576057260858034650333,30795147198989268027453960285676002921,30922404781663050186178044120172057521,31368052993738374898371215852741082215,31860091110536202269740660931544712125,3194684094827045143115332796281146118,3300142030616110693521853603361834908,33324408640647264597102398529528963595,34585511522544862989134727105133396047,35336497139009515569582200696850841155,35461255193947889862879655630527171802,35496035833528044888925157951953337938,3572864950331211508185637239293468515,35874060282377249963137313430070147343,36044667171163838582826055016188666849,36213337338288274448488695533749208998,36653130988581808070099578263580079918,37460051724629398118266512819878391262,37804008048069162896907898115413166080,37813991172253167417618240251946020726,38974232269671493263539077480277262618,39015934028545442623197911003881854057,39249031930877723799239858360590323246,39933683502467472302206329845553019720,40071980169909172289698361159139229800,4074194074710623422638889196863150525,40884326471693084105946142123922882399,41210604932824465747478056206345995510,41270020552156191213949127309923223826,41338246694786348340606578985647788916,41625054291563074989776771998220764024,42072874110572456036974242116752552537,42428124253765506789532092641603548029,43936809890721643274260704290127248453,44173201266494984854178514484305279275,44425786652956096145320031170347658809,44750576199310404373651590803711945568,44886619613106036941372947753736265831,45881281008418532934564828869663255199,46285860687018894677826328928341712030,47494600152315192789326177378026878846,48112151788257320799775776339421683730,48686032533669607295858970520506495878,48998566813845240210566441557748530513,50080569251416394383226113703086981842,50636117356033895627196512483968084514,52063782950377081517262720244279735781,53447571709121236583076861307364626527,53518704258287458893208794915540293138,54463715019842240807475837454774558447,5461356524888296853441098308203881167,54909602422626090495575927468529487598,55605744151315619891907312761967303704,56612353480117586722659704109873708043,57149109114665560597113753327430285769,57153624938095418619721344997519433735,58075238184313520125781787588220530758,58698193344259609392324369933775669305,59564851508158709756489574110289299177,59820229381726822855093655046269073597,59840985877120884876060526798963152828,61509358433311752157080237317151235956,62508628212620274072820230502966914527,64064028391472327681161135864841265946,64540996768340836222351770764889505570,64625407970195412519230967572315756622,65491130431258304180359392091337301525,69179842516299023410422880261789727693,69290256227879660002225242825357102500,69468041244366496621379162194984682071,69486283594736811237905046979628333652,69901308507253444957920258474521763181,70379426254112792429927395222690935981,7099600682343009710231148571223442298,71100885618376684287394065584840045441,71781682113454861907618928823482297152,73148303254464018016339149056103469334,73160673293397114904812304037103051945,73613497034700186911825396410789922784,74880885840527285349960554941570977876,74988017032550865529274639000861833741,75752197363643388158229823355251421844,76167762861435273359240591242759405664,76215269347725412421241413362799743558,77587390194437449066105166423296307321,7841382710179787410097018325538721263,78555285166570338059128165330532717732,78829671822770193094403693338328527311,79068753904596835868219759948690986542,797802824285826537585200871052810513,80245564595035260856662157208835818849,80407810786027734506537994046412707797,81994456260515684313918408724747175848,82585818934056618941960410351959294435,82636996617842527528371101909706951522,85135428361665460125259342008472278396,8606724998940448784245169362427734469,88087619297870434976241621806561805049,88803601531550322787581141312881843088,88858653735397814013317160048289758388,88930910019992369240332241631170156928,90326404599364394257517764664663986002,91223974618087902268140317126044566082,92134029350103504481659452057694593190,92749912669050121061964335856718530032,940952157614134108251442511414986187,94569683988834664470946038866886525127,95469840403601368559253475562836910199,95656492700903929331580132064900649566,95677060391888195661706508345385254299,96200027942225880163406729796921071049,96239364877612920186772026412533216366,97432859575097652789214133295832872743,9746330888652773426208441328463539342,97870176477862205265026861516532870779,97874211031193861764498810249874612349,98083960135970401789543673250103802612,99207067696798886595936790304508303387,99664623531318533924199589173253890123,99690882742489657956742724989075172791",
"100776117686067016485422730455670912021,101396297848401631675757172471914627522,101525555083018176926794471209776037490,101535972594294700006425809107201954846,101604538146157075475742753881424122394,102709061709247703336232841594886812069,103070523298404461336997372465811192101,103511717133518598013304921748836789887,10356487773659858263238416432285880448,103782221579815234598207049007192838307,105114492877048850580066081505940233101,10551303399364072002804871666147419276,105743296859510909559428024576437518814,107310413319428674353879636159618037941,107610125353771881904520009800805151013,108247483963582702282589335795540352248,108315788758596857365215362225648274702,108450069621131264017188252205512227136,108898964837638305825649074878872019216,1090684618644368012292135536767793069,109824985510026650421379409445866700183,112118843508590951038068136144619189468,113500855973701617233073395832287267223,114033270765975596804725401453596298965,114673282874092382025020134165649391829,114731275726232439492007670793526153152,115054291408382552348936671335078191731,116208544118097478965626925413397516370,117533234313564094115120890042737551314,11790984499288930672230396331038968112,119596942868586420722882149393866297984,120026081368361117018763141893034034165,120095116912728314285965784079902601113,12067934404773002236361113255025097966,121799552210026404512703725452940593116,123390144069859233320379038249734665301,1238033275509718301878733808552059766,12408118798741945050693788403410878092,124611260758590364262809124147823436655,125305939787094028443268275247854410150,126073946612148460236859690787232921236,127221728930217813232695890803219098011,12722399378199946094186070970075682951,127851691414421730267415352669624638290,128197398421991572379461663811901704740,128447303144042872266612257130028605644,129239672273676082907260524261140791421,130137440466723558615519035310709366269,130531965531079599297897073852913230614,132023984011144654231916485102494000521,132402524459548620288070696368273573547,134093565907537826802156095921706056253,134281391315744335795837988909218606729,135056402043268178140510199780533927136,135142736413025963075275638086968089316,135272283751480063864249563243857952791,135793877186194418077480516751496306631,136640170330831698874407701899944792603,136673642346519588034510294481622354358,139229552256022943258223493759319721153,139336168674327774111626613330659340850,139494955342250861978211192799600194488,14017368904648153860888995185506972499,140317725292519382083778780143852295841,140894826786672932392330756113643022515,141394762727967089108968528238986529496,141729890000275416278774741298096262809,143543411387991970981738234139548548812,143627019959287162423387382953240718407,143702875807433608286038018308689723992,143807547129777596745611983563563178220,143942305639607908635186363646871467028,144001090766122375537801443268089208752,144120171137952281610825171449475308623,145591727659937488147696968376719793103,146398508736632414719220059188841008375,147008860394422746356790431616042849301,147571354033254842090646785391496480035,149102019809079573629606605614918839506,149330852300457563783308143744422830135,14970214130046307380751748089773800426,150176149015577720386774931076673492764,150926122652027757948862649090131215798,151747806080186900851309557841593133549,152024743269983979606994842002312790879,152150813589512845900775884126593882705,152749534147947633036492306598877314929,152813015915444483484655395668207234692,153125256116884934195641749332091553869,153356625082082983939261082097537708419,153586501701232768187740546302709774636,15582400357732993293953966526696718363,156176152001568849658167967868589333436,156369762669890901085243085109628700067,157451948079320204139976059480855590981,158315307951702530967786048368210018394,15836508686537995755585473652024756168,16030271994550500638673178883091668948,160419549885075144540953873444741961802,160600949353218140357167609668316190281,162260025564057667341522061573873598381,163329763275909189067190192945807457099,164185481722402403114409472958820927358,164603201041472459218345754680087769170,164812358264156600281952295920043464700,165578590674881003527055104079661634879,165736616857968194751015643478284257823,166288474453533841500615566937528630887,166333521855467704711208167288827862022,166753446233244955398490090288285267292,166988843254915546162735997081339618371,167090726958766835160586277309660624779,167230571626598040263535406947229647167,167490822052413244044167990565029917944,167837115911151849874750097889532433788,169103225845696988450683804666633034607,169287493028754500926382044217457681768,169656652475469011934428703085772888609,169826224269543413608187156957643175120,169931355982167668301729843082642006355,17281979901083741482223212098728464823,17600695891560443623291482126265737047,17691162521514470558500814718971953354,18203863655857867083409999996636349562,19217429204998487515179496627231015746,19873656137671749918792763649944903597,1989596092481330817446757203242784438,20452056456979552288371820013649749563,20608891696760524748027350280629885752,20694891274686401515319880920631129516,21391301921111629889644119443012980553,21438704043202105279056651042123118178,21502374317352600752901442248590017536,24033974231067556277197481502045579606,24584556479842920145359643714989603883,24644910652125506331560297178923039897,24839498217934361045066781265074255639,25857053086785367637367252089124658819,25964227127589683311318502706297632437,2619053866691546851776674759707830467,26504770908703902517355099453922190626,27402814844218137164677528912027957493,27589818778390794670526781742996730102,29405658587886256217234304302932510243,30408327913195718180395032044518210913,30862465881516254192291309399210404374,31184869335306028812194859966052892014,3163671271193926898610735791299565519,34326839416055696151672871003387514341,34981491559761390910747248597155903317,36388698607499967766903519552985065247,38028681469600549181434181346269566867,38896231241147933853019860511124331990,39449981103833672984055506049024724759,39451463359788286840955280993886662072,39455700890218486187337428999174952770,39993039077767474883038634416247530638,41392220450251308502146872168531979306,42932484370548011416674582209015218418,44429837600211748042656344178663075027,45454089490813454735698033759944042714,45922659876224339551489170790675818483,481968944602876974455200680783713057,49581824527969047247534860940237290314,51599471980006335926190884651632563751,51620888863858300992418203322791475485,51667148943421363297734856979347274233,52442468053209270949695811222935999232,52698948008885552911285449916405173034,52784050327626312435692373766779941375,52925662996531908134943028835163126693,53851356032924916496701878803783071528,54108829552069190754985450677668237488,55287287431769505248727794589284870211,56250010151778397478060231713558200191,56513988212857130505915979961065549249,56519510436040332835214471628983411369,61319140970351121915846863859931458582,62981670924230200029015773692983184766,63238394226948898670839464830159259573,64230118296141258748994280373563197481,64246238319320344339044277803865529605,64451564975410575533301955931778657006,64848359542667996515780114248343457744,65002929839411848212574005965382549532,65495569651393726934898119893462581608,65670242834302048038103813101712873430,6589314866555294041886407396875263726,66031430836704313239257466374134311885,66676804915913041223355652459461556951,67222936762853877639749193612642043169,67429445122931183992773722589131521480,67654950152124350739006258353551218180,67985408164936042859632774449179103938,6811083756247268773711249648284461397,68552937819453055511324224088582929135,68778003973062330130300003594302355753,69479657940526896162710846844619607096,69639799146655703541731562550728706328,69855099826025309880184916871487289707,7030124222713959526620352249953433093,70374258332638231822828953125504770672,71081208944676822077068454958862444917,71265978876257650287770041027920965591,71985627908559323865232556867835394355,73149973701287324004532612189848622043,73730855366233639502926247964851922661,75197937972062869575321226282145698973,75352244949212840735287605771506949677,75608792233697120374510699391426939080,76210659134027438677183790501671842611,7754887450698327182110077599634774488,77739419328454746161926803397944458598,78189134514090776661791397804772040822,79235559633176566107487277817246177904,80504151450182817704359954765320785966,8073149535099892225574422711419464675,8099216015145122539901297341794753592,81053761403873634537185481892402863319,81628654522178215168090265860356288756,81740562801584610227048520669378997243,81868857106146240545433382403585487022,82334164563407852455832135713219875424,84525067348427299235358525903950325124,84679792339760421401599432794848852477,86842683713843623101323572935721726225,86946857569317096516881657504169484574,87180619767073683364892375704932950804,87185699353337076949497071681764990252,87352832843382011102197044277838385468,87667455666385362647217999144305053037,88244203659958156321729388866107607493,88273240074622891078020114719660514417,88858878244240266226872381795841315197,89722448290925642646655704608847168047,89875388962892840225500855879527368323,90667162761262228222307915105731608168,91296821302608635864496499229803003852,92183668619332015464031167779035733934,92252339489892614125584531074078229744,93704909639695263512122499619479557896,9372255425594166494202150835011807518,93794622892138098253735764044120265936,94943858194683778078697322340086334491,95437930682465880573180066438942427854,95504727506038346089344225514016012567,95702098548244560188188902355897878320,95927593899875659308053673266753094116,96853920641493913838246207325447244874,96854174573655397962207209770216340627,97329576758787121713269496254489859828,97831701983054616319171841244372982246,97867632410276238657453847091174840390,98250319701809460467897510959305125176,98519543835865473251505966893507972448,99049171343037239330289591046065434700",
"100624801753273554438937150837099975562,100727421500850577766109492985653931295,100948502884657852655246154714730517909,1010562413021878120391344860188400436,101196878023209069790353718279977713699,101738357739164196054444629536154941114,102779737627552212859918024384081619520,103056174098863895958064329876557080113,103249475119115598021830001721166342909,103277236162360407970209661862134792893,10332443440121939808236027795775740817,104706276861563506415314678369559961500,107231186573728625475996223985394941359,108392700696791831507762169149552762282,108904358688753191452941509237830234237,109360651766579044223882012474310535848,110752606096663629816845745032613882611,11075736179323109715536189754132818831,110791049883546685229370133206432146431,11163837580234898712145871711973029956,111990748854330023221325367842215275618,112266452922971303421260813348365387149,112745901860538033565993361027962482141,112848920255267322389120268011661587098,113237974786693807721384175395073753407,113683576424228669613035625461728942212,114751931916804127205446102483829128476,1161544212359729516908129183364528887,117189536837628367487237974053152554076,117641561090022376488088469591716522705,117893728351498408162735547924242235083,117996986799408193471344415861121731302,11965415636591787785961587953315375689,119812268941440029556377329376056352468,119943917202761662937871170975916695042,121765410313926477274521419773774814347,121978835891761326134061584603914807382,122179633284412341124056146852303708147,122287027432947985021174591302411990492,122976129983301820167090411935807777067,123142186814874617022776144478449484714,123261987764713718134004521791037735575,123768788534834612468650183114583082890,123857496991737357524676852912524580543,12397956564918856523394690234854130162,124513023215336287371309318526894208094,126270429151870633672376306159204357961,126420597232371320262210247276816860684,127895374969869750988859445779910556438,128203477039506823149703668669697285767,129764802138457352426505947714318576117,130191500998367340404817723905054499417,131092830616918330848753669048174034453,131144707514366316367331095432605889959,131813517762710331661372359312329945685,133221186396670596543375172868263580702,133982659137314314979391596526681801917,135685273788385562308396261181019971320,136332384403978885663980023584984770966,136993381022548224078855690111773217420,138041861199308042559784026005324204985,138315640162766996594285131468458149400,13874168920491744617204236720995044894,138906126780349339219642118750205573267,139343075928935338354156696837639976705,140199548731101482199837125115123363623,140794183616593589374669203014988119753,141340748547027637502787413099252429249,142332767818493013783291916374209704354,143071599373060977497175364837478462581,14322807913350704606513788788086564919,143613203598153906384979073943646580290,144894698711051869151414998557704217170,14681654982141296014633801406904937112,147099380070969894430592339232563957365,148331856899420059957315741312243610694,148334232236801028319386731487452167348,148531738702167666315921523319499997247,149686302478742480692027734122192326684,150091014204261004052430955775868815593,150429393841563091178844456478360625104,152502451611998728737540634528253870037,152766429807722538468047363991025920942,152931683465819643179868185092084599646,152968247308069914819770847294348935072,15354820282613839516731523254640261570,154207402237139951422244723476855998931,156133238941159050902151072822002381717,156182879858501370382235234972273451171,158426257804008169281441287641465888202,158648007412355543815835126018708150791,158732038139089736256268202181366445701,159314328978353318986241701036690797229,160116325223005075681617531870122439017,160158443051796605812650863338988759378,160546965218710831328054810445165670565,160765999946228012233189178927837744631,161559232029460906896232981682764935210,161914909728800235596333148058814339868,162377954310098515961091828381589405257,162814803021264426616508052638078554272,163622057909925418027258174001592072357,164115293079141880996310032271898712669,16484036048087265805912413415151339254,164973687376467443785987193815948437220,165239953178610730265010073748103880491,165422023755669628368889763996887648433,166515735280710009503914854569175616477,16665924192050070514918512174350086862,16677282249815843834525750724223314315,167395540197100823975423581677417783707,167854603299963476194600300226887278342,16785842696325847706586954786246295441,168112572306550637622796516334939422715,168113715441676088706510037027399495377,168591109594558363986172119242758736589,168735770149902828821920228725707447242,169164938563441697549700339293549312350,169171514262495884750250137925916024257,169963682280882064198189379207889637680,17393480512228483039867336757368358531,1803029562313929288799271501013664003,18504831211236872599833586392383198085,1876327897361088912750352988733031583,1923233472458395598410194144842107884,20150701674879886664436480810801133747,2037547549389653676892702862464150706,20459658543159594493018645795030125456,20688199985806634871845513566041673777,24503071787135769926568158439161400088,25052636764010955174940419278838027003,25374209435749330305160245210794251926,25453360673710883239695752522935595525,27058427360811871233573224391087587684,27130561551625584306563224505363158542,27714345144931744650835972094927241240,28198551113418722367910047423317294499,28709461216542120578381238472012035932,30695147785761291474166200614720782112,32113580996530976054125082742103735668,32242190301811432576818086443149994296,3246723433032126913173648618758465884,33075688956694308144038954031056361095,33283904183136910996800029810602650215,33309355107010637936430811686550714880,34194702091677462538375436505502270298,34847120268480552092910254744223826181,35753881305648053436734512950418300667,36516669531928460370777861571237570091,36614459535813418758886937064400594686,3702148215985686862614676818754280718,37638948592729237678812915600310251145,3905920230898469907017930853990779604,40172722046866593229163668975317701016,40719771300673654482615690553541754644,41278767924851816638438281019412305283,41653688915421640860419886234613448032,42210398659502930918155630025941550432,42415442011217193620711774438334511495,42494120471732152609558715938930377364,43360744753950529803198992939614925892,44501727723794976164744932603049937843,44512361072733041320601469031657705510,45047459677789609376175520552230850091,45153826048957034835043738964880782609,45328098091219929196980909799030103073,45784750998675502409703716928833402928,46548631103903159778577944074460179161,47252425565605099917835248341425698236,47364564649124327219737954585000669141,48260115193280012098761835569113056794,48557650829448507109986047838303645582,48762821241157833232485353012298807335,49202947216180316443928939012589867101,49912021696868248264425285745427386068,50280265323669802634120737053437430973,50709036547301444259151857090276315363,51257398078303421649213002017689740479,52262812738091924587304261676597876043,53225633346788327845030320839720559858,5426794342841108117090877682880823289,54614973907944204585341686398783669648,55857155647891547850831562821124492146,56484482756007992604066245220227473720,57657026790066367130289335490227544294,57700007224405784169824485107053713607,57824145205669003098693121419359496118,58416165595272857540896344848789095404,58741233496821188443251409225711326357,59062266455794813243672308067523227819,59677971496069704119672492218356555773,59924112019575772429412864539614202370,59975485715022509941541526628697343524,60507046227489571818093978533931356350,60608033440457035513611489435430687000,61284992420467469112792643459990888641,62758437688269459386199105172215634518,64124014485408057285139996817511853985,64527665227423470536310477115708450206,64681326841792416536563551950475934247,64845115404482457167610001545087378801,65601442522045312737240119749266810752,6611168628482626150250931930947325607,6639650365506519838851056762857507854,66769301539386946569248840103431967082,68012918454091251183673781800875677413,68231858686015966193424519836327672836,6827171116983908903308476720626396022,68800966805374366506884391759434468443,70088292585420236032407841957594622645,70758082703465566530487294012221660110,70805148562048374838060675544170512358,71772428948867701564174308956068495377,72377216948948669248247268609490798127,72668920427500996476906351370940052855,73561886915385773820582026424301920636,73602759940427893119447629852694869387,73855265943035454560380985754091282360,74105303776162441650742824661283215505,75398511605495480689722354472211171228,7543042794477207642804417931515189408,76243562274714088471956543234950410448,76358745418601721477214366556019470148,76695526801839375099822103885980485555,76871714231314498535366826727224445705,7790641171665825956846321765397863909,78221512246151976827345773075104437848,78731185447791177051463327671075966844,78747742266133147346935823069211969043,79049448285186523638942680312669802158,79154337995579864085955660420927295407,81272896963032242145639241432080828995,81554737622974148685068953983483910268,82980410530347536019921831258894584172,8416051902169350873548327209698429961,86682380164873776824835204342538420041,87463765938241971614910357345298748379,88466585734376107184279118085361211212,89539960125042066424180685229284625727,91890637994295883797295850839215682521,91978800022285211458551717826236408868,9211675855372146928997912918338424435,92423642900778926764319743345498906948,93243649505706944683535693491364279488,93323158715209280604243162755751463289,9356719045117522870193721078296630880,93984095214997891413894945647854225669,94464169558452090367606098683980581883,95109817620449127511927536757449170601,95706406504810643212194271019642397209,9587829736194916246269281652763443625,96692816936575533009160141825083072531,96898109788422570532143720544122695277,97528940737190140867291186616296202771,98389488855092873676874194135366709201,98966151399148158738192344260711996655",
"100658072500064352026375375994381027408,10211965173283925322904795500435120029,102319706675831185225150797199268521656,103024847754609873467721833690765560370,103032373522675380975488725622804577901,103071905834670977445231421681956227807,103518606866610334528886687019475171592,106989163208803522219426790877679084347,107984383319109071869143655010439160898,108059363358542524604017760747859260567,108415730599112826241754803229187898779,109120833014756882124964196655378993820,109137314216202973964312971120640528051,109627070860300615567890197332647091832,111239041087319002462306717070619329112,111571005717137671823568706758226953913,111658284445434517441804562687790772655,111906615556406336750343764581236935515,113401696238357266716224744574625695975,113614015119286618424998232802842616019,113691431838671063679717244863136470709,113868156445723050752928198783954156458,114146287868442206662698854516815832777,11562212980502402469087386660132755845,116184698454585483574621636368811949153,117776182733597887866848875949120414013,11811656518419248032853582123126241721,118393400440007078048615890727311685053,118774059688172843035253920699178852742,118780194597130177761528113195272082400,12103246264806349400197485945011566772,121154056740910185554992451143347829232,121166634755623186084013856611656171492,121311523975203674182252463826051805392,122298845062337351047383486744363155958,123439886950914079347752184865302427482,123932897714647069896629067983485650650,124069611110121525183378073803455781730,124080752976131553429484734875320211544,124804371292618982658994641451186782891,124945424774928621609261070586588386817,125081959921066640605197253106551473271,127292215432862652676136520606238360632,127314537355997658821336923856791630246,127644591298827827372781134008110370773,129532233290160278842310023827402500331,130644957968251969038953005382221559935,130885814463399110045779279375631018943,131019858543809474492760754359905036760,131520418484418339417822879312011124521,132107171730310198479049072710552205688,132516127071075517556143755002917420468,133394891669855533642366613268301900838,13390743811841090801461303202897782411,134050421449700425192694058423423804720,134831357858579716815999203361777183747,134947655823490249216628306465199510591,135463260023006136712506747803230905732,137374503697002211559238981183119410964,13745340698066378581020686293101026276,1374588414048095488067640226503507467,137486585808904711952433476426136598753,138706336001206501902215522318819126683,139061703381638296046204835369023212884,139489306168363359496585812120436026127,139614875316862376543527621580426302054,142038174593349861367871786897191230712,142086923946461460879355379855845487673,142782273294848615967983621257544720091,143417490211307867775172984194166643768,144231833697070409563470186940383161031,144346646196840307803390874472411071210,144811150068257815981663723828494220565,145081335097200380163319437554261035253,145209913792433027016459421433621016965,145520425662928182990352833247543293560,145539154405411609515174692288285732599,145935628486679417310206696947986384207,146811753089921245389245736264597153792,147199380504503629465273209813848008311,147833513135441104371827623017107902607,149649212516920773591874087749466746059,151173291123526855881306884984177802863,151365396163332766301865286318404819053,151914798517813219248505224257147000007,15232955898643335741346870247935574648,15332384886114510428778853953365938931,153750671929888106214718848973982036860,153778370379151094939313142390040518125,154409301768730344353040127389658436429,155771703821829267355425376121389812696,156081760115600338785984026024892024358,158084404503000616458764105051397845776,158199002966659629742139993114085006368,158971002607246637063364774993296710437,159791870557764295708406769399288790951,160062519501222116794780027208135997300,160294611248508262011234929582966173314,160717695976227228892229974113249842082,160753920062603804785427796120052082876,16093739570255686665272591534753980782,161365371475805775770266646664166410333,1622330431992128658311395869498967852,162492205155822480121384484229014309819,162515951530811415169472398148070791536,163092315149383248043939194445949191502,163916724648901763921504913626235862973,16444408711137854499267138448426598904,164833859640740877444746449128861602976,164852141696610381304473714794115380459,165776012209780154281991478890803508313,16620522773888587242414850286030755198,166638459543120431145929630372013606062,166990248737062621327730371653955985771,167586632853733917295076742265295840918,168460138074849978193052262835777223371,168890790161123621190493324691368125913,169479031330459528782655601673692751297,18452605588307991453491183711348329129,1848798272995729709839751886925269778,19186262583562190496633957752523364889,19243081781809620104967508882153902960,19505344477996627973978405955842926975,19663134660653879711522164137055006214,19764539236438038303890050037561676884,20153570537631515523973043605509254062,20608160125032462039003838130372851977,20787987077521386965503807745181721017,21086988950975171259070820077449306926,21129414624586224164269116613755856008,21438817181529873802476598741393333324,21459937116886520897677200937311925539,22596706453600343956305606203820477893,2270136053266715767206997475243437773,22738864887149813212277419709382759964,23278527723571834907050114841995445280,24171984229630761460963475345884263429,25577855438885231001430544756520459633,25689388913429248793190521626605773458,27219454517173218949679515077951036729,27392877131753557616681716783830825950,27913025093276296988773029818472814366,28959812448607411887835315664211491742,29530901131913632186212353078630123120,29872337110922670842598821586900119269,3047758500952973335611589516743519455,30619743180304616077838547949460877969,31480099791893574439695850120130825289,3160579200098999307342034395588669571,32019869230472102480901279574875973191,34814748774036989218746469044111053930,3496413078824938085253331990183538637,3537881910948853506529646298651765368,3578815325507255432228431880164901187,36109750087246856047990125747882910361,37482145224178261388307003333606912772,37768156289330967586358210971941540609,37844347860211750814462287707051985429,39224897156265080275290563588105135481,40004077208626341591715603971616506441,40874040188836758018015874474616859310,41041475182168981516180211886536494377,41776724152444805849670857455188522515,43501663182677988924121730595342634969,44015651537887709150919887589258535887,44679740258759035529200845377262984006,45081236899297660532600009906755673653,45140588872660767999777973297525257753,46623090238315899852794239124864153538,46830504428232409730051831289397759155,47270513122671600116109088946816887234,4728564030625991158809661788014823999,47718560630532516945732431650846243436,48535194467503943485349265910709096703,48566684445588141150855455245649193115,50334080850460475724903346405925505513,50476302116436304185646747196187006314,5070283992745390509408107829171570248,5232199399919612472839440640064340807,53342803667970908015574645775476919712,53735414125241980306614125469114214697,54262474967437541210911334568498598591,54480368171886646712872444756731919613,55788343321976322156366594931763030086,55825020959141081320466345639922496265,55871666674238016965733993355095699451,56874701532182682663779315993402624779,571070734580730683229749205582627039,58231560707439753163074142329594781853,5848197646487607782987930581623172892,58594267828941898187615763333716570804,60024730287279164430438588464914941656,6103944268861304761238221577635790996,61320301124319498293857082175748869258,61368261236391390521561610044966852942,63352987485452090053355846703605911744,64853422095099940381421398364762255641,65187653195747228955546529585771528488,67393957036883141289347120321985837476,67400687180863655507183688139257917318,67404214300925414991073088702635514712,68069254023114952088976491681754600442,68121096672765560986383417335196407248,70387715738141612157429026228583366447,70575448125168320042059647299286930492,70708419500333057787294677188764868634,71297166679533536334326585888545765728,71798519012167943117787948175111720653,71849101492900309030127668060866803654,71903653580236101616674242613477735381,7220608518472379858835970559492989135,72507135372099828358547686154802771471,72557529384604289147689822829383166669,73000510314588339015220326799739705348,73440683335484621688834284666485409771,74747597566971838123411342505311577584,75533316572866627827161564103029347869,76749241901960632957376047451611712017,76852471617441139384613060774441616432,77860862011262682877516068796343135945,78108653973618092261033490817464073917,78806630223800830821255488908735882078,78928312676364006788739202264579891020,81528442360351296415167249956864605158,8311802831798618270243164322129874031,8489268432217643221322347099284854822,85337203987025646439654938144953772106,85435883322423582461783905609542720809,85692378850371023455215255156815352704,85835718966470444999196569132633176933,85882599890857449028215022447026333424,86541829089657723902509938341264642332,87151593094480703700786061000314711266,87474796936475008334312558946695372331,88525717248581407079513489794219658840,88943501101021117595038017141275249657,89586197864062535441945962007614397368,90177609122519708255120695709532156207,90193333157886732729527645904293403289,90302840032753669228017273732156642953,91518250532039732548880858656482358280,93056317992734205536726516647371699310,93135213996029223371937299089896246605,93918673768688994541107635259838763188,93985963112888081340860844712986741252,94502883579606690335906412829555827994,94644073923976728297120114067671050629,94990428087737506862007943152636408009,95245901188494657994926195996168143005,95703364789094292671572221109596024112,96794719807403958034582526574420263440,96804786688780882914338282707760980060,97091217861523984602725874872758186217,97483264361256959066282329061637159973,9825952507681114919209193848969988253,99780027321002262717425674842258922554",
"100392922839550915466281818814486269475,10130074969061274762032614242582312191,105318186573240815683096148711363343826,105623444039561856919919570895596324802,105843346035814310855745320418595783498,105894845130008489200623805834085111235,107154223895937388881672765209035395702,108842158619447880844966255519891289058,109370378930036579473981172733582179564,11052018341667050342550190577632218315,110926076628049256433672553837207262231,110965903999618495730319870154319016854,111352234487485917492683896156848858963,111855118426176613672558783550792396364,112133198352458115885499530789140782423,112923244301931740572999677272399644405,113135300807692628291091720367592755688,113559439332688297993411951063415194323,115637042628748442164485070087021136783,116629969184211163715312720623207561720,116792566857954849165891049692638841425,116900376966371246089463112313600008402,116963541855740070470933452530287686129,117619890709647439236697089914554243329,117625036213068055252095923698827009492,117769807537941247561854990875219507682,118591225607595865289561091872664240274,119398539847988332128982156150208915867,119579198591179044988086271491997744241,119933385667511849719025694802835796647,119975859243750955727758192149237222547,12058024962435081368979311330312146382,12073048740896242747523438270094428972,121141046520037638215373067854165161002,123163779444690442650852388333491761329,12322537595637227955413083681461804095,123294957742386213922873195431773828510,124303733083410775937457332081621886813,124684273653933746428936312662367081115,126008341715094874704972200393788709290,127628138636343800638107955056616335160,128879750776694203591995979801986864665,130295256319234032579027665321162750430,130306137885264658882716801215324376971,131643418718292379326010812855068474237,13289078777869433337713727186000322815,133049914125578185615590921750693032776,133332873518053983424407768350022698813,133420702482180382106045996645246899341,133545532712366372080679182749037082435,133723822743736591331595225855146979958,133769468036173772262099658024624280970,134928668491886263171292586951100854063,136848292415933783077042703724175036894,137448085154226210196948302557117669978,138677585652449343981688604376572771771,139272562612076466136679701968981761286,140819794357996340233622368616467965530,141053529399523714196712983551043996395,142020171226070158180218592760375675550,142024701320483233078403515286523809317,142353403541941023756909215158632470632,142890446450327319041649497349694851355,142919781526778653495246035577543323768,142959787171108832188428643310748248787,143180909856951477225795068250159076878,143308550693178860782900560593779694078,143348809567297630053107978572222127263,144629349890420360240123796746060146166,144667924543710894786051466231945253290,146026047077685901543378754389987937438,146590761638274739583942984885385938310,14682892933967162890298499112060052896,146898724966135854464101597753772459548,14710514792904973201912112418935927367,147430985557453368906602383617335524961,147473905207216419799751596024098978457,147716936412851304426636648591112925170,149818485532497182570178563176639358080,150319028613397228200520940163491706638,150616898041018373768888633369990451330,151402411561267893182876829571940124281,153061779499059138274230740961490271704,15315411279379061197638402430046376551,154630740674920012713885179371215341727,155352501956679266953416245469054989254,156086919336845581424679348956545229554,156715951263157055092708205870216441272,158381095810231890727682040862977281703,158533853668570487072412436558456315413,158542181337817323904074478449866755783,161598176790695090555823917562168126283,16258423572050210041039645724758082298,163070637445171109624311705048201939268,163410859357553656298484232737024647209,163491296789820146075985957033121880954,16422940797196170210195363140767809255,164436191695513594410936142598977558631,165147686420439759249479666295175788659,165250899635111736475166286392492988263,165393854944647487022450974443586833946,16601480610094609660348043281508777927,166132312829356399048246780867226745644,166730846255204835543200937419203404723,168003600902855152882907252709617352780,17483186889874258512750969657893679421,17619166906986681306423173682889095102,17658382822937469278293457524913091156,19933352235322184745462589537151724675,20380844456059098933097662379879444671,21139915883306085225822864458439623277,21793111333382625054797114927696322391,21901968365980432319888290342087811676,21930168260761731315196290172408519631,2219343451208034061740287313245657618,22974633582176230385244917834417527763,23019931846829507465785439914986245297,24866016182720807262063901957058693173,25097904709086810578270184186644990544,25251045973846680545328469438008226211,25293447756008395378712587377519528600,25530612701293644089609610389962153835,25611041518974911938137453690843407263,26184434665881080839701372503835547376,28397587422284689792948053396605616534,28482779890455864929530336748352607622,29053206294172932178778562018250254184,29062342228758090127568507282566148861,29442549307260079941273982252255206870,29503608294276882982352074385185723056,29595850898904443300395405127388825878,30008777939788294279554448270960266198,30162025888897495554703878712380781630,31457880890516281871899533886578796563,32399555753739025639368760050009314878,3274254179182774681202814219738071308,32947072500786609197406833833504466587,34026990617896825157031922623384094910,34725408899015839874801093246318986182,3532536636874771500593210101109260812,36886610998811724762984856507741527047,38171025674409937684487199057053340253,38762693596189240008448342045634652088,39409975051664729261208574736895549562,41244154274063627713182049214067199587,4129816174060222583109433443012245840,41495479357178703871856045655944513934,42274796134052805204913739534936973216,42923440487134633052126229666213572966,43148084783376110570857393381866089241,43356314134606890763977252417896323001,4445685588461924455846796013797673454,45453324392179549017410274127409258413,4600392124057302489583432784465251424,46792989390671118653030350253039997627,47169582562308006213256061671466763986,47199044154309538380611386340872928884,47331292525963885702223366436783728909,47626576952808868270768402221108006726,4795855241547131205669749904631946540,4803057570547512874740061227730975542,48076517135963434674692675724749562130,48372795897957641200811308289725951435,48407587103745943505995376610596897255,48723046056759759455609890677061938068,51181150973499904940164849378938159938,51695542484086601057459576992991415993,52131265342671760849605584989250454116,52271257139522157336766771929313097196,52598342044190441799918742475055941983,52763259722135779118116909798042834293,52922718696332578308411355087600500758,53097188293669693479264099981857931554,53098361192620765232060723875417710487,54095819208871900137583639191997222226,54189533956787124211693555068424507300,54248514197446979072358606390407103144,54431488056500958551849478413757888608,54561991683783089756792732412491817162,54645141491602273077919526413404467744,55284381376775393485121534253637722078,55844421185714113024041262407718605491,55872959239324307663882113180757154832,56133526523200622079257638308825381557,56281106119154036864866721845586013599,56787584258209839124947099342614684294,5716778360493624786037884357403818701,58952028947318508933832565908510203527,61612396166245383114988956547457167579,62724084412712930325596028129650654539,63598966164931696220338005595598351389,64302692939914144701419488181148791981,65864700459826751680630297849373826832,66509711236683964872661936611511877105,67487869977024250101370293957905983553,67548934262679719290186420428645791126,67874494736855229211000741144949778155,67937994822989329463874884672841714683,68000596010106458398223177460214295875,68674015055078131359472096174424403024,69484263869152374259394212522013910073,7028443773527686534204199781257157502,70392683824389863127177001182668726350,704074063419505516073462960365256764,72806660957992974320917066398412339083,72930670183273882109443568754874541924,73664085254664703809756988401733149006,74320910511140539633157769357601226096,75236178523814449530708972209631758538,7528873085225184026199340096320071710,7537742255676775366833250187861877935,75423398664288965960984772958717957767,75529221542942959086065167964151818866,75626506883068496030321480652094960940,7577894500390190947082701100503017859,75978131885037711640588986645354887037,7720917341789381488893645135968392782,77420785447671419466741145177698053866,78532519519326526963557745776303823457,80837025239089240307930879851380070293,80993421766011639157157692597654372346,81132429052760375089972971282113061857,82458583543732033910724596049741661086,83164391459826479956213512037093547978,84352511155465656527744344138619442005,84735051822018128315426907946991649451,84837079247545154707760026605464590597,85328336113190030875740568903742661213,85940211278422970008713083827137966934,86276826186499064148031538558162795142,86805437746370318302005807667692569748,87006837477975084682067494331229350469,87721886202973628839968469341366333331,89152596992265515646042610407832903593,89407845288814353198356950776510671357,90229456710832177347180071088737863333,90467847937338363560424799522520166294,90576382785285815776375257691870281675,91228768690562327186871376317308918625,9205426819952124248096401813541090660,9210755976766795229375018586064576257,92946174175558015686636416460982384822,92989745658060349186105866205797623560,93817995949854947714076159410210875351,94135905286875703408267792498548452390,95962010923679014378141659216418054015,96441688064010744065759143169233206107,97065216310545391227661539657245222632,97338273301418266460990361124303609523,97474449752944916417703368346519415638,9749527773233598340484278217339128790,9775486879872323991433325071517537315,98557851543816152940912070359343149907,99251623473083310791884123577516376167,99308836861901252570561177555533068446,99896009046289964580055920682688917575",
"100540413660728673261051381750287094744,100604145369792118385644020583921234566,100744235839692013197301141164804687271,102604945636678930776777999812216126556,102971733694263063590750374927063791459,104482693199495431961862692108902797512,104509278924357412621188330700292028791,104740417540837801951505042470569415363,104746706366785081004304341002291874669,105101421687281659817685096679948986280,10596603738528722068557444532278530072,106106426712450785373095704714326060905,107235458943520873216097563691753895693,107406459461955005127565089772273677962,107679997813363541016576361089001219396,108920720934148393137740699034709943150,110488477699363236735246547909448205985,110941647211602380275285295568445017819,111222782953343325890568748577785608290,112455136130837091314745880614975235802,113251480371793201885063804200039967819,113370479433149356364767377892088653267,113372280758701263724458655666431316966,114050297970963901327805944817697760924,114651915116430946120492552709605995878,115415117559423981536410557649061065148,115957464436905927272322071426355930589,116314674091190356504088936080021875388,11668800460995188682799570192864661364,117963011923186752238065732787643824191,118022558844069655784130032411072904904,118427076037095450113936902803532947624,118563008832671101408820452408952835994,118605127710716943715711118265886490908,118984740360371369386150623772045263354,11905472347372958195233321382708026288,119059045856476475195989655689271808277,120889599117144558002981748004192507720,121653418075390406120092924294129826349,122022151510843163652226432302071428952,122393242007013659538583079230679728917,123875337125498917274142684548718220680,124072889493154157342031991683135645445,126215188289446911633330108148818245993,126511036047417959135831308173839170171,126582063057898885750750922378784148658,127242301840181465705845694059877098044,127481161964733038974445931661708244707,128596955522132871706086032693324602966,128950524389954521603552683900789750541,129631324176649308320608145160746735081,129664849466828060423228275561878838996,130798648574793356010651897539853962014,13116612182176043318372487780205353925,132156496257563878361601594579851182031,133029778384781601319909018984480624076,134287795271829864370174036737096549547,135144798956392879970046873895847893127,137397785778716947238795380901601578511,137522275864622020141752691333112079742,138090626994386841631457421098239698450,138870414419219542232620550714026126715,139333027287496656780338204487519132155,139476179612328989269218326532753641127,140073040930122386668563887557542291629,140295880236780960685302121848293045172,141608477438252580751642396842180680485,141702585623111701742230378837617435480,142679422468580669945643578670600937237,142820612869721860437110237236499779975,143244120768772105053905804145241080882,145446353505336024637798142712262061945,149066423186051104491231663311853057215,15052101166254750598045811619239697950,150737177302899733063452808675999043919,152167337490448057208074408638521150535,153681109992016352473573420096665617835,155336127534715977362510215996407642204,155488144819765649883449163079759410614,155904070442926580483780789307311874057,156390763243394900099345334367170973153,156511295163839010323443099913766157274,15654636818027694056829960730010745584,156873322771884199373399475269183211194,158155367606474781757229554257129124838,158181098577120695799752839573501930134,158433087232154369122970638047514571403,158905886379097939390956920946891176067,159520710414244654389271604325434859994,159606823082450827425917095341504371932,160459476385413530465225405610152162760,162577434700812995658118068119362903914,16381748933070737963604435541829109885,163861248405312025577384735536064524830,164046168380711965550698846172387582510,164195536238937916193625431802249809489,164853690423660326680659640322025173179,165600181341836336318716460765152369096,166740570568096191746002036579401366079,167975989532272235603487871002051382303,16826724347131044018280702604402413870,169010873039768794963363463439503793287,169119628352995941385788800561000092454,169226274914669328798377080682224595295,170105466953161226669310561081414222228,17377506056363470782132896539161839978,18048645318919021810820490297343796901,18065909466433867479057247234256345306,18253570010205215813736248775002851260,1870496408715811549080663436750990737,18989121855956592293404495434978880123,19555627276810719724653369330749791133,19725778495522407656222715946247384341,21070213458187611641560095430152185964,21088686550277553489270924819977664235,22267507152594963600564831594934332124,23157831349510343708076991363379788349,23511119014896037844897625283324165833,23822049304944479293816345177379079408,2432752251485333638899667538721180366,24824393068007255889776009325525591510,25011931900014302333071483485761314050,26062247434862104595600664947704830661,26945482973253024663378954561744924392,26995967665326336398907781200865198766,27653386311928941069637082768813746659,27655489337701942007864089402094979286,27822082687665171380227973737576329424,27950214465478534137614469941901411058,28412101362999343060319720807615471599,28864298484817155304667706778033506835,30314845122139532930608863589967922505,30721397675748542258361200411159892831,31074613669767213802045124177224398906,32053637074349404579488347535803788606,32610375861487387179481473596642891734,32686634920767839447485414396811171701,32881475933072949730906791825674679452,34408853579407628854776866566321355792,35048283936929388676082673241896603929,35149508281344329663674868998923707955,35976010043021918937473153946054345821,36380979593854747812132253524826301492,36736962646503635756532675820325236072,37395929382213288514656350905421715460,37844246388908641840581447027528746599,38394658707747916250077553327541704353,38914182059262378908560849918393792903,3921366076961148491467616853699962946,39263016052830008001055704843338349136,39911449747957825521940051872209564260,41474312655222570224601331649068535283,44562352038718930374046969403627645672,44997158121031302538563216455040722611,45056239660460664322670183312870459202,45079413452009297751110061466253604232,4585302386936304946147696095430581037,45925343629227300469363435975228839556,46394408960435469226388678919601072608,46505919119442002683558251342114702728,46895129739158944742857633823516585665,47418083729523567034234706219652415600,47933281937258925573132601899016616776,49829102219509548509915061446401237204,50245375367911564388351963669310356297,50378603282312901897494472226091041479,5066328041204029243541625146931195553,52005082444641218970570977923517263458,52141376811132069048073727841867236658,53155515770325448889743587082613910646,54213342466641181052120556942754292280,54345916927604294400172715109180698277,54438853441454919604645507958531557977,54731639618553914844652408047309176603,54993296339412980642000546025161838038,55147550474300815443927769957883730463,56021573170588930043489542682501796421,56656697027320389369231284969546664658,57090274149863555909138173711617485535,57156292314229633886259811252011735672,57954887453646331993949624383089688826,58062445961545720529812585391022223414,58770477068560607223147910766202359813,59604099581941935255690622120594679740,59709235819837909401525448444135667796,60355885559833158872626720110579959429,60529846301077515941509846505751928808,61724648087133320666878597828148634640,62514585883104240761250873604952433087,62601735943579601649517304692982163240,62797547691346522455901392622357050260,63674171103548017809293586715690825739,638612691803704191414586289369822157,64627640199438890666575786535628867193,64834698237329538980380780063498277712,64898973126154545576785782238360259131,66433448204336194286334797208984083715,67413946000746147681002268531092106637,68513051307211958153813990074994455662,68819420357660733545338729218392541394,68831378773739384232062985305116213161,68949984555399833858441970764224527997,69214783547297233265368120047127863646,69478586955318988026989167077614086784,69744942329984528597367011728259735812,7060974822238122997912830821490921129,70767085278730502016089697614982740485,7077248439683855923222904758295050758,71636081147641313778289384927537120192,72026202161414236915291474029668581082,72689226176831756061678509328991911253,7294768769548173108447289642227561371,73369264654642790312456914408538603981,7446672749352141227494803596059506072,74537167139205336450143467575803437020,7587959299939783484698986206334897042,76384592685125661297777443652610123774,77203256166419694502046978311745097145,77722421892308851706134248577590339986,77875581937845608397925629244984568322,78198311400636613049224802312483166268,80130454315775316109285903040911392850,80253499318628365960699386802650369697,8169840713014163484746431471117088687,82293724773106953714659342186126732895,82328817822072991605711670013998078259,82377454902544528553303040063652487763,82393211980081588905278124800721666542,83120345525662748363134959179076853403,83582890404412181397762898972135161387,8385484989386447274056538478521527228,83977116697314406579757450519203910553,84677520242283256343903925862148351633,84694699225272569710931849027594264049,85133365470476024120637326737476438225,85515233857662617165686310791721073671,86373212532763340105867301136865453219,86502603575072658162552957448719303569,86571341900483827541488840148645110746,8865594138638954264898846163433350451,89046833869196162140420169562689877439,89200504601659266682196779912711040659,91626558671905215524422835228861761723,91734150778651488173737821643015075874,92563795876046117598989574170903251097,94014634986166104917269065105802727357,94137728332178343313567116235412595,94599649019377129402341720503811426832,94782120554041224151316018098209144279,94863675991735019681331435318949294197,94942871975447427244565146696142892573,95749018698349641302927868157118799916,96113817141428699825252996047738779056,96687765294532193869094242288929307081,97608016897126326678678230507694453042,98588932794219495652798659248954575993",
"100501022527805722838316282471095965209,100779621683872333411895375421520601474,101010639181048323279538377436279112371,10223246985946787834105410912597219704,103885828886711463242804033372811156796,104699531932568180697826310279680810973,105128384929590493919382777793214221091,105190679372907516777097246451342456544,106657034586160383810805731034786364934,106928470053091033476350524039952509445,107806349971330006045334715931309370793,108212635716586873545730243862417610766,108333457534516717344670828803303007862,108394683827986325457123356105782944229,108760590951171491420013100636074946461,108852151360352516773601669846593660332,109153319819312889848483025771740653591,109976763732960308118316293214443778128,110095779784467875317004237009927466341,110786087488505183856112623087583970351,111490840951612172749689609909586839898,11473009721861020167167536178913714901,115460416884376488458132372377233354545,115934711887852452737355924401517587489,116746369588889108431520987309786819331,11876519094919776351302261987192815370,119929823778538788298329201338065116640,120006600746114874649482428078159240967,120957370570368088144627122489312104987,121499989724023082228851480079047127400,121715183477307385433639763046452973624,121767268060067717696926762293788910737,12214839958038944065449931036222740227,122845775518482925129386703762650025863,123197058075506199249096039542205748664,123287381055920256622738561243124837859,123581303127888526926022334337388973347,123746841719562491766554190218155026230,124033600689023512733419467737916084081,125695464595299522700772676457646729634,126786199262244937676131828259897035534,127095797217203809533630061728927258553,127290105243703189991016861311841220107,128406422836414210429073993819932588847,128858237532172266844474082426886119825,128989183587832764021025513300272397914,130040663934585769096654461826064161914,13255082202299443194040209209311618281,133467215182785578001134664518034517164,133527934039260975183324649776235434820,133697468895159257860992959453861601870,134345322610729215028878121110116421566,135588922506529853366056831158859456193,135742682678026711776186706061455419457,135780512969766845643592958201492546023,137509639129931466568060637719206434861,137738903128995572447024555088744242463,137860402376681616161340904447111167500,138249778756837804383100916866773971414,139174726232747045968094640670727571259,139558570088179056417942480140990283002,142236456408276841785912513956294964578,142858214598357565326706689660585591963,143128211546216279826571524241460894407,14314928214947509370659483253754837140,143624261895260181191026353957721638031,143777985347791494188826715359773256094,144640063699329473790495849251226324757,145281624235144511090207109741524193548,145892767900760433287623548910739602190,146274649662890812824550936652064782194,147029344826390762887541601407722287329,147038662099976809599874559062161176205,147877001682366914922712522872544006263,1482525363781588890332291492087443527,148557933767982202573805239633497313622,14860346793988213364272180792675782742,148980179442043226660103301613620909986,149595309295967119567299736633896143190,150281495747132868290412857180243388931,150901124702571507629403542781503052216,151591493909823561264172871566191287100,151667924295250452706215823491572285979,152727496319910263290556264125108095797,15280300165458768649871531868426799614,153190067490035632910790418222331082414,153976083717948801962066653523892470379,153986384715730675903611765092229358348,154778523722070729899307623317066664117,155442467938742943243965613050863489680,155645795059323303452013861863098115208,156230045010981261675799356819508639018,156599282648629134062800739106316250009,157192816520771996255815296633309242392,157529165787023215259146634633091690423,157529626507499825148202402371545995930,157755492175897064259618360809621900421,157928101462428047237431356566812301289,157964931786910636835218066451375282406,158835743959015537182621466222185445152,158948527041244658930134648111629472678,159010652289999331037902768210431874668,160936435057223164042805217397923598433,161316420040197431013367811329656210428,162024135911326582926511672882687475324,162520031352775675282485863365257133899,162594658446085696204296282965599465393,162674868973319752687120259882441522154,162694966146724319638742388830878989267,165603228692957383578019067632916236358,165636774472005212816726421207681431944,166711069890227409813225014969694450332,167070182927221786460952575948598784735,167191939200180848338910559070086708748,167203982491242248067879975904580727663,167483878696093311260218865616234207688,167942223068282527115487909395488303914,168099971682168584590896483128600512398,168831976554380041079118906343529047812,169540906732086255162263985082517235525,17148184936864797965041535411750004979,17429445463525588698935969863784797836,18094025634937601543645109812983103895,18236844099019934654288052029176501790,20506041351693338897263325444828155528,21204451401067745406454648165245317236,2181172304283220623549851073901089580,23991297235821505494732388886134782407,24239851567450865866486685230069029703,24416053696158038476880179201352058258,24684695255419585212966829672946666649,25819713235203336813919780212638449406,25973600418898440523034863142261816291,2747056638885391031880474220149390095,2751145079962954378104651280733526048,28074964994551078310436420055497683495,28098236235765476443351460843426856896,28667623166387163613513417618980075139,29267316240476655262158844494167811993,29527716135464020393595240507316896416,29737587079578859853946500429013861516,2986167407050486717514111450300043836,30352980582684270544603121587260423331,31187829664497579320209816593473440118,31708352897133496876995158524237463290,32093868386210688936473303055079252420,32998492852285525980535954953129529853,33566236746857928757697561835066335304,33755041844633963919741501768432618816,34084873566256108072258054576254624105,34181716982342938937574722615738933729,34246425307772976006082393357884928342,34310803508519823830516804744116351175,34446823288531607095118680168827262251,34805113126618679486828488593736978662,34900430177532881848208036890785819079,3574596216850928872318049630665691019,37059886950752091873547523116414234535,3721953999455032399482976345107945651,38479541511706656478848242555656176549,38637917141039535202460373801767005478,38826911223089274483971855164020868482,38936174520633411246591523625648617159,39431042963186744595883069398547826064,39625399836204391553064062507512256145,39957931709303566060318763376900459668,40014318836750566918372620675674354895,40092010495693055540404989033007418185,40376922718843927357170839526503647434,40710869078225778594057809452926033709,40734830187951993238051488188046455058,40917710124746382905429697008118641394,4132619538888161006906249598905821437,41698578798368501473181504267499055146,4257638016911502527746456711229802267,43432467382456509190096515280272990241,43476094187883469049705855022142567744,43977421870754931401862353610429568817,45115804610538028770680014624388794970,45423470897414999013468336838467503053,46313849822666441391182492389168600727,46318118931772985847490145991189506036,46569777248808780113515628557159207739,47658034461288137594685967216153883423,48843970352824729722662207682015441152,48924900935633429803674047372473067849,4963765657664929699780312751616866302,50525155308061149703014291807284026679,51918833261531173630204937548664742120,52360016423204753146224150560407470354,53060115897532640781309164190818172219,5357936994831958422900713978205391350,53692157294582314744012747453732389999,53932340440608168915295260418440110320,53938429456978855105949637997395653191,54413918731398443708267678262353056062,55332810120660747255509232834042238169,55445293577115109358954232319397841612,57964485131685548809367664335791297966,58355023987762715703187543866097171067,58452880547709152709266419138832870540,58471625357539278744877818098957687762,59130806040286668899685155865030948571,59572551806522896663411430978330592472,59856524958692348527336064361851931274,60246623985220202292933928220047361332,60361172719375742130497750720485291814,6062949424709753534913403401723004653,61713296747796292279785502398615778204,62024503852253185036361547808118725291,62523290744126423065811294273984038462,62965881461515849043826654121027504841,64678688487897055198798868375131386019,65567626582005097918254197068376466389,66163300371371361489389898352048388541,66611851430772134217391974523833133180,67667840315778629823066579789502543944,68965408819737835336834935911901556001,70383552663740299166908188727609589353,70954870912467961461030126193155066207,71353105206804231511126904801692655091,71586261350717665976465543895457073312,71718751852779306912637281424720455773,72178888610739790212862862067362306608,7244694918651800733009573009501923493,72890272195366114525367236436488668331,7318417683574512465660874681295530557,73578460485143106654835375504228315223,75263468926673716004108660328189277499,77428071282258841788101043882363153134,78388093372986348284685927671681772875,78994761453512975908395675389480811942,79344613250778603764646427318968916725,79692279572570790629888072850454793495,79842172075567140682317264797840349142,80919490407502791357117995404814418054,82021215773396252533999671867778353560,82300577177940485639389486651166198023,82459798821120607534935920929006087000,82961207771531159625292610220783393037,83105907443005620480070608812267017882,85203188776801044788563393689342598316,877640489937837827429008611771219760,88446831658006946294837842134713728103,88526803824940367606341465856436586811,89143023436642568672259762955963578915,91208192804424652144214728884849254077,91354898021893270221382817605670939248,91557516703660458327626712414442675218,93554047668106554821672228712897143844,94719171980815090121828070407831411540,94894125406603566430092311153290285438,96013454971484179093285411979750459055,97522425837231219756244272428987134173,99413318102699832071757145319766958313,99692993344501138078402562526896602095",
"100614172350229262021080520271233865273,100960216794861763834810998155968592380,101298664488361901624360502381291499457,101477922928170943878848410219269092052,101517971794402440323748962261772407535,10162891666562231308130881841503396749,101970045926301366826489085223660763881,103862531545370910121061137651339859796,104067106663635850064444440109189739775,104448414609030310971456625596071397203,104627895605282233079156422395191965989,105040960806395533709005409422425419156,105483479253263555758152393066005658404,105763270035427334907046538490986232139,106031120878181972133457615681509698025,106721334442291158544593534873484026371,110366262352783111810760428358005290786,111742560648203490500599210260436653762,111755795105859088569322004910372032,111825788957026881755263642594092897999,113287457209673384393237318453292800240,114567228138648453990444150048614077109,114964863496413066556060472522105146061,115762275364660717285247594659193875707,11584453244768359487587047866449715257,115881335378936279977388859387399316104,116237669244760360063576421711302874203,116301142138227572536270546641633935722,118236748274833177162571577430165193487,118817343701905139998902861202353973212,119503249543422760100406823519626133646,119628119895688343347662387991799090754,119965338218308741669791120624281876656,120144616570734199573093588686515042692,120391432965267406625535528484378010301,120597332789815282013141660974657963427,121563094353855060837496118913594783184,122175303289296780869543322954693799809,122426543480149371105227371285513371433,122657965307475194447667159758916715649,123005295145628779137315444210846701358,123467656461561171767399202322230366953,123986729573584401953211277716884489176,124073733091758828397517387080683101370,124392673493648917425597447610952443257,124828274970321546800594642774290528765,126295539195274381839885374315140767701,126574211343287343764860554271386040068,127869960325085271200237926807126425880,128285975330710960339486823877473641094,128413869769159640359918908275038447059,128932034380143006943768931490905150131,12926018465500064387224768480349730040,129452976542275978450326504575772733349,130166243442700469163165101819785811852,130468059386027845462634533563973486965,130482984546138426441074745742515892746,1306558132775125879429035534199690111,130975663613166490061484250870761747963,133173880393040304112956863830087451576,133232290837184802033804512186157937722,13354980428173163123591995628009903384,134666743610925986976898831864248109314,134840531931100104563645671016259239530,136024302889576042793242106910328893257,136369465617691591607360397186779725204,136853742136606704670568318033719919963,137579592299178220571144689992982487594,137827921121118350087977619562480798625,137960805478208739286386452860984738383,138115468924901431304007202484343092299,14058695696168619664035631780625011553,141160334308274416586986432690890315635,144006728379526628888980253105400257843,144119034711673720235014661871828702810,144278819613765001416577017148560003879,14491120588715334397918942073501460645,145781078545159479559183598128558568915,145912446654151352403250436859220966607,148303034483755583864067059994097165876,148736472854149966822659302217132255885,148745559228875279817059651710436048698,148847413616533576454503277821724678129,149628277934193639762804431283915454715,149832501847211972330052619161551715512,150350955795817452549994514800451007141,151516276294501870652715965233130320144,151592143841093354941134146362845713708,151830411479233089101593000953035269842,152031898654855165818742190458309024704,153629699367024874303953823660448642436,154406368014565847551397875146263552535,154658037627935629264999007193653719708,154673927763187438028054134272941363977,155278491750816428177950133311700683148,155453931865250672626738156198061536874,15668598810519856364135121496517859711,158399576172934855420510496942657401875,159204940089461198001488804890627830982,160179911490068098887833415140813384777,160625972214088985574620489744719302496,160907950716018019503705133999914848078,162758894219139243317565513903877041141,163351323577981510578471774581535976199,16379998244323545480111605828287076815,163841010090941691813227031290611596379,164621847627966387295551338292868543760,165393518044653533119396728826345651155,165649484705413988438159545190556025380,165890660347857608527230209558275287307,166057157080382395373422425032495757209,166382952714599205638797010739210427712,166780976068285051483840953291922532934,167434478031504827335852137759426124077,167629637245781106998013621571258609873,16769277531993451165955278514583516466,168480027600805090591775564788809459397,17133444722778427943694468560156949213,17376459945179371941583156222095975639,18029436252310794781618944682834512040,1886779809486021068165675255220861967,1979473038410515828364968946550317162,20066168156401288760970486638468390441,20825067543818939867789619843589610471,21628131569157913113225827456857104030,2218544127986901651155039506109030645,22775040139041209770078472133385164694,22891858064391023748210631870691415426,23484642485642358036377297099816710186,24298048297448794192991876553822167346,24393237144550201570905872609376586050,25109528443753705799651138265353340845,25888804035025692341180067240262550505,26439812025993248555925600139809703648,2659332034901899458428939662809763732,26731602456027970847512067448946783288,26814280165557550064593480339044017970,27174163029272982241292212120637483123,27380541376086061497723083608999167312,28060681709768615354326004241540266526,28115460932194821339673136378678533756,28116672592022600471356793468385863410,3060128956219142979232093186095611374,30885733776131092237438498364808949106,30909626143901766144751937711439531415,32236990052272422574670604758538598234,32832808701564982009036660590307396587,32937550109154095533485253920346582690,33836655835085480543243828774035851886,34145770356114233253128570709409921071,34722733349111013650642009896472842713,36524231060779731838164900907213245840,38021828545212751815538386336886114142,38368474340063623315781835043087688157,3896660014270181776057740524913601373,39163284097129760319507899216644621027,40867730118064339623100911113784386642,41547513087582108793973393410233227586,419825413745311028107243030255200960,42697076656544422252433263230931822509,42719679394024979785494103128952051000,43155668969828429216222866330717222022,43338696784284057007516636982803084807,44397470979993513943717512219008253460,4488923813209086324647355827754171534,47415441977480555664759466633994843479,48219694512139843780805499817225420606,48792955271202123673772884911766253312,50165663306670099413932520898640630779,50579236215676976774805400925207605282,51354499615482615917850205020982059704,51530835661652360606111599406415292201,54755172006014959794340564818701480930,55741045801909291254577352921596926663,56088739698145848543937140538953921329,56907528488525681407970850408824891506,57042227154714595140493262360741746255,57773350351336306275748218892291049479,57904491371599776132877361016023019504,59260740055665789431195943987317577030,5999018715545929884955186980046088438,60159443841563201743265874773470845533,61444880376762141375327098877583572590,61475020353280437287275519789352927635,63547935206066694232503503066738297017,64122115843406123184399106951706934355,64239794852854389268768515096383305425,64673912632700510911690295817641539206,65942681116658532927378440332527541367,66685310681662540585808199561003501700,67121620439889724477825703034376975253,67156043323030840470311546924874456722,68325081207285640112327592215575482096,68817297928759955838763240197406100662,6905999504571751660371750830852065767,69301096408921545739899358338859660512,69768004616573879416812680501008220216,71128042170746355445932621719104851288,71202066917311490372305670770300896373,71268630746672481681487614147120251073,7180794273148938878274663140059298398,72749074392855729669952786791669938959,74368937816327154254869143949713643435,74518993060965207870840944308646647898,76384137568054220056121681147664444635,76802873420064594642285150702867365804,77041336836681325733701152491254510156,77956565105396548204121640057496610138,78325093530297957704741175222831783679,7863445084923290144228135205450077415,79779489812412447468071813604869777989,79799664302533803198924635269394006414,80019975385751240273991902022233565032,81359225324351706617181503870967307339,82219067432238648091408046525125554187,83618347473792944308087752132185937498,84023177613226988477225943071583945124,84906134235669189525791609288448357184,85277346027396091066105047911344615427,8550656943674690143794933477622320093,86193942797008785025604217480564470876,86355852151178075704250882497939605011,86711221618403243008268168681794731553,87544487997478356213656368913655723262,88481138861877695182286399282482470945,88636866316413193732716968408861380311,88915309056922053867519596100637079035,89243978454066797616674329800953645921,89272972033489246920372446862350551077,89992331935119586071800331789779252228,90071369460249638530321455132561691482,90083336082712664369760830590052004337,90688952076181392798762274232019253623,90992958867360679907321188692415074309,91093457947647532503496439357760717856,9230467152048757420910133209947272590,92469303634020257584988636111439739939,92781329629653846285460931475487253451,92986431717762905075588806942189964557,93191418390178480169329373060697162953,9352739266685001706556553343460774380,93674812043212781162099691356336339372,94023215373343640951602819471311422806,94591274926558359007439814445326347749,94698499156737927261637716203035636653,9518878709029570075570020032807918766,95354118949117026027677902046313505466,95553069592879651574015917917470028416,9663182067893918333489687464792449748,9731958386452844991605595514757504167,97992163045750004598117418460916382176,98315020198516976411445748410121948309,98461260416787416934459464156364429664,99287898606029668100734354349908427745,99715549874888772864448964666014775827,99904041518387603816229703280711422278",
"100168687958984653870338213608861412803,100345523442869935004045656843518574034,103358929147995171752916650960560899580,103379170561428383625778236283423582017,105186193007337092817722075797902775141,105450798538803791892594174760555646440,106068997410716782936289955880885049944,106112838284856560245866905815163999653,106281535421378462173323770201090339724,10716908293936271989158611739686872182,107422374590762288720982269913373788835,109481473978088745169631088188151471145,109910508234697935643080328431007664054,110392311474123607004474632872567939005,110593982921898225060482868421510320240,11105713903330937669146264992133428225,112463421809800741719670670023824273743,1131538586576825499018310159187419997,114153923987193052208802237689343186470,115067182750858326858766232317568243578,115118220013919750984693124698358434634,115537835006560656003318702991056908201,11719007540361445997831429263257779944,117939592575422418608301819965652429863,118067259923485884431315794147771391415,118796188335240280028473629210320960666,119021342916295425855233432947586464907,119160212804602483550152087569003809527,119378559197840266179191047367775243455,120624052385984016156960182733044337631,121910290213418180866906785284938225701,122941033007181095559556855047593734593,123132433522186269579891119605536327503,124705473081191299804402390358268604029,124850488718624718104345059269556733973,126362270640769904166871789279968321530,126633272311497747085347029818857808455,126980543934926699860141758834257204534,127215033455719795852389942541912036900,129239478880384469682316248861614939709,129850129789536912967481936274218115380,130033361185748032213651429383044962229,130492393660464491996877176456032332232,130760375987686447894460084085455858215,131059426806465952541336712726925653136,131158515732566812478681697165729161619,131401709737501891947421797005104434975,131960322504395258678173269449515122971,132097886468946616548279370508706865930,132250998103620309194434825009008662037,13304868760702787017977427828659196008,133395920613639486427118392019858151497,13450723214841851949197180340421548673,136163480003498390290908624961407594756,136770819992537435384616582196063787928,1371184839970511332460981280326295316,137327756417143706261523101289613430984,137408717580580401523026417723602982968,138599529435497564965726874888409673213,139022462670545296828929962404634171034,139842654959063002262346252486987705364,141160078643630410221703845868756395282,141611957690471781338434003435541585462,141708683627014977459051655015222611909,141998536150216441160639083698268409381,142459105316037714479554958177932864687,143693119372625689811430703335463681883,143995363203785200497566106920502226519,14435567031500703139145812651475314241,144861576871543684808156630373290562996,145290105228123563755353605480938102286,145324999762412326256447457491764589324,145603846699616308804447423506268716634,146641757318051781459449351618963328622,146657929739422201176703856267451071253,146875937531034802316850759838985887418,147149804441045566857685548108658966928,149089926613515098835440983813492244495,151163996575829865212106030240938789780,151183665837280481836813127784781650932,151408982192398054875856750631887766941,152035483503996830535604420644120011673,152100827362271357132937435717802481438,152853977180583776788470687744729813616,152911574562412098910976229588251352127,154024139450626585760971706506134176891,154394009495312640410338635634201115982,154468889066884515120385017595264739432,154843188060274449922759694859258804595,154930870302109620072234750365705808468,154936790714259113602929604565388577224,155078698850649899180676841384933414953,155634047750037582183570643679989599936,157626636265080701339418636348887069196,157808933107653389514546169399447653901,158280982750284483205720853397214959568,158317289512920093359890563788163932399,158346860427471958389610006314404531924,158448620510715544234808217581713012928,158915567558097232237442534303369709323,159068774947289562573176967773718237316,159209175995837125316083633986547957,160317668109651368965942109108149593983,160686968222563155218790302135103836504,160851153221390679703833141042209866345,160869261343641808312964098539195961099,160880581394243668150321354562596282490,162192226915810847482598472641361303531,162253571109362335237100148341264825377,162827453724302672199741393986534009338,162850078210078469347932986499349890879,163358849558222303792676450964601696527,163529340090304129559007635663060805454,163889695706184973657482619522225734169,165249096748285419278228026319348896544,166221517774015690330165985330451548340,166542125242374922956800190470623228428,16700457194086637809811315386764967700,167095850049871721028366397157371905140,167643361002657937730385905692326467961,169689284308654541902780620722690553152,169848502193247159764665394547113770089,169851139892935664524215442643076948641,17065181743229381962091411538414614437,17397939774645152218838564424605061369,17535368808083884503519228589379050959,18139466712612850456981476492468693531,1881038683498718135734332289392969633,19095223217074950474311371559916210677,1968540088636479623357222129471673745,19738789107008567290653909608925732429,19932219738463842155047662470892246857,20431099622020288743822891257973999349,21131734639955846086878787977022272234,21143037036524256867752285588551702751,22117700397115932770878520495246049056,22142512809852013307330091886176820187,22279647169129044525166001419681479959,2228978672689620954228347480045251617,22727116007166040341060700422551949927,23573360599845948378866787437210837753,25108344706161745777917115676391272576,26842800466040589115705201593676781584,27227312059234903127755197208274484177,27302934124699989478847613375867022748,27824008097695583674402581389564330197,28149405298003714335783865163923839586,28432206706973663838499752976945614369,2913900081944119659487884225922458908,31076657450447347900036814620904438460,31134276752986304131531618254348278128,313122647049897691972680059848288969,31574510114915909084313718264467710515,32655170325154150970452980986917417146,34045968505781136596035097409377165493,35363837412438119195852610069657138464,36216018888908052923088603826520172583,36297637532013524043885718947569317911,364422617627805210924398301556606997,3675025113428760150560015999108033212,38185087546497137017661909286158562409,38704567146052691283650871956257198496,38890222743110707972694379967842922249,39984513352373977421796086067599952955,40066711014933272588310552206352560371,4061319804698056627259135244724239373,40935227254751195977561741898614523785,42267029284651320933023641496609041341,42408039635638041385234567086646037486,42971478011550908378601930465295981488,43055964931844436281920740794741151035,44927648207586144212199244447679655011,46158530691845794407883575463484053087,46750826677524424126962348512080239903,47011170329798278455400133280227918222,47573863716820174159799658761513889515,54488502305358422363131018059604561347,54746415871324631629717762458121810465,55610478972041636113263219406110983366,55672891938899951963180883178504675025,56137278969438856884678966291869882763,56199033065680893934824568821794919993,56405540419689703882734002603344230352,56579119052893330254935380869752435497,56986518115829784322185801670555713210,58049941771154247589608585763155069144,58718672757769646176929397757497406955,58861336972871144318443500553697155378,59038409622504472051584738603586252564,60322452915761557297122256858976752743,61981446164177435559116843115620102412,62408493885392623592958608620977730762,6244510224327073116785797630287516522,63155172130766072548363024726687797535,63307190580784562175200249536852203478,63868219700942258516096322471720500499,6422939098652196490923797512784050904,64506192177462438411060456487957618448,64808547937928168303528439113737608995,65767099218912424301191769740096731721,66375897616206569923756059838306934542,67055096054954871002564640047976203196,67375957855599617208207580952298454200,67539193242220300637332127804211148330,6754049358306093657891122165818510052,67608885318887282397834741891862668916,68322617201160968631300539925123458257,68571718392071618802473349166132123596,6976968958782775769656932503476618956,70964880838013978182174803218282406458,71129682410031489517185224355045051871,72410946420923029064373053130132955521,72446260522555801655315500938406691183,7334810248111581192455776507432277721,73983385201021653365127192947962378906,74308576814044365531050622272147810827,75277450807165489233646682801558148350,76198987904845896521717900581437622728,76795197307264252455581051612892891163,77196261512908944583030126897542521399,78537544038476798207760968187940352924,79498252684973702048998013678051138517,80192547922877554850238598734241858609,8034502795027571872181739208206011348,80648569967938488216629904535956596552,80897392868045314783528249893632052280,82279639428299882076871385018558196007,82420916714398919350836574624064552152,82494144118771554335782416352021031939,84193038798177762392976735138393276496,84317818302863437187178464177744079930,85431721760350849592281887425164090712,86549753317334860190423182471719906001,86818814798422164702815307177198159155,87073498129352576109818082504627492036,88704901442433333002027730806005583737,88941856476300549840504394747087702690,89288640003443879255430624295213817234,89476687488402963637279299510565514822,89749018880724313152876078929995372209,90356742144061415536044460093549836441,90457017796601508972735486326283485929,90725956215653277881690641517171468157,90947945286696272898673716650913362168,91025784732675603943408536477125631374,92818753407335469347889954396343953626,94991264059935448546981802067557714235,96737041488366787744276145385660203468,97020285755545389318286975062450866957,9730131937515401722341368228923524810,97768161586420599508485578754083871364,97811539839417800146471368831144233501,98829742299736868273645531500300122253,99547851517210520001503818313056023819,9964674615654224363066211083946697781,99904148628880635907452992157730794150",
"100498243836524077756957794443987726904,100805429047344744611451501398664593762,100872072449925434566287264983834519007,102179536040522750467717559704231220237,10223315947764291207626672735572073834,102459886586530634600775343923867121979,102577307766568168655121214467454070364,104302817970873152561699598550353495933,104639230142341848172996343210578086561,104832348197958876754811643632111036463,10544019432769242987844445009812548578,105688088770112865591893938877857177674,106823740153595372106671986268383850715,107855719837047340123401254575580367741,108052274465965200014604339269787242945,108708611220595195340576776680010049251,111299865800142609345165835266872937251,111690001338189429825642846600504343011,111979325201025883580091670248506248755,11272856924789422192669341092239245928,113111474686880781959504141118828003208,113114759187001121883000738249545465161,113202738023800547131550445727415165454,11425527831839696567669955539445606921,114503746976323640261423320265179001755,114673255284435441117248293552128472195,115891208566971738273026179101857153437,115901767401719701509965210220299359718,116094383874421347181377126958093883395,116708372092787554705206185163897674720,116754678201635204718096023983425389972,117160384387666044653988720869188347065,117902442572961767157291545071219785118,117920594205208132576050295881591251707,119130923105108803032341974571177044585,119605318528592603688716738332844740328,120967588392357867061713768372246477326,121205464771702686365218897310721911111,12134089846532571845606157369302345607,121395457020395540366134992869696366791,121839725430755186672838279071760453098,122284735933865418954536280005971093803,124266856026167481194793077171122928203,124545593033193593894056832034432398750,124684854717183500781931264671653821017,125435792647556835408005403702551544494,126284909281558063806393512238216218054,12705666976081072375350762272789794686,128112725688861793121977090687953358782,128450061935925612080803606659576495606,128511984566398242182206079850646390508,129837883221997921999571074413064665105,129871491399945407643258706510217436429,131727995313109705274759222578804655168,131779266005692346772118653419280137738,131803423435766418436095430430392196422,132249131434583203387819507461892976427,132788211560346822147384766129412272483,134218922373689240891441591194281432666,134622842523432478828020762395395773527,136213812789418012579399262272941542724,1366983118440731288145381800997504123,138224601332793500481693532451009357895,138428412264609415568867504956001749005,138553354281105905102221898938694916043,139521043066084949919194454307397977200,139943541159517349615419645256755073279,140118357503819728269374237201720938199,141228041057140029707283923056940467853,142153384823776171018857176914595380827,142164436824915383477205028428155570585,143378792516643392592464191233543267171,143924585551033947289808150228690567340,144023037284269075852705254074857647127,144336425938444109532656086327538340386,145259535990773237108269257702809194780,145407447087354121411784122150654760581,145728190899213071416315164070274573061,146259308659688027940922441281515717948,146566363819152016433087464340059404749,147294039639812198847797563878632692354,147978099822319418621721080395915250105,148192931787150810262434764214253805942,148479931380743229571789159670110299339,148768580313381438629899021015775979901,148999255251710612449014553197734720745,14948467635396819964638425357637971517,149796019813278445268984063740490623093,149871356175785859988759674692440390170,150194359085519577904129069360696074281,150408126024783745361149862447379022872,150580346202312793143063158779818048753,150894611905043423428281756056579019571,152966200412207828270826106725621135817,153211639270274212073715558960965829063,15327610241080477420826781365942007001,153864147225938680199548168851578972359,154014312567390230573814102745349927390,155181156741718222416177300947415731727,15545757513848006693911157424176398524,155490204100246252851038900927344855470,156298805335991928252206710555272737599,156629950842109044698455084282878801853,156910591321203098676367095914931312889,157102029650372453743124567757279244934,158425627912172281912034016785199671489,158870989059045496026551746887544383107,161488705931242558134486653781594580353,162189091474404005021522267286213761311,16251077081977669911284555902398013013,162876794116006451631089779310215117300,162951377713559163638609362394874017075,163071706738735826285713035667723753220,16430583377659535583602631669343070626,164669529262162570753524825714453728632,165592516161233196427279510553430773794,165690140770685461779450956631569271291,165980359548893126281279453537560892659,166119033668480683474485283971619413356,166308141592259835764482336546817536921,166426405056940191256145176914966288051,166900730163984482495650216497210710645,166978428181037380719482562111462750300,167907845410155441231102238408659561186,168425109172772814260544495998047689174,168770286402129312953720957313105032720,169352526971857707051590925258611440036,170066514328606520934188920682100157545,18359281325046226168914533951096060357,19586604499772646532127038944122075038,20288626263948900838731245735402495751,2055389716411126537784937931392142703,22322425267146612043782370125737958932,23108426475253364122242370212176166656,23627823762428764684562513028075096954,24382973143313614730703161332957857858,24393902676514054099251775746477436200,25301424121621313607045631297948302344,25540528315009710588477685197241934187,26224825883984963333293009990659624976,27181642625811383198472180312849589329,2764498926174444261954925138527424139,27892330005548856225936381967489080854,29601034390673857301978434953432560642,3024820036697133276972316018672041285,32482059265170681129792050161447180506,33569454580669804402126271695620968372,33619055597575124974334434830318969038,34391341746539480715389514772745128132,34447019175221197311258215461974160490,34766066625610209980039146968230707959,34879623909527874806383441151414686527,34896921149887922091956132623051719128,35616569240544761825506554430378011578,36577319350161165943033944417834860834,38012465585191728097109344831542745142,38370027746985702116701983573735495069,38872097448902620955071983324845023070,40447208878691047383386910771378909601,40492633369402246581883304005334470418,40858011982115433435400022368682852515,41144587853357062537812553060119020643,42474249853892111492519767967988965089,44528598641568634716567444163389448189,44648829313120273177785290658175914329,46168109161841833275974681349927059839,4671677349031360052409453304314191435,47043640264783931381833709956852111730,47604874490899076747200885666192042629,47636190044985033369492256730602444627,47908741041701588089882675630900677060,47943525528136110549587175474819825043,49148860372140823668270750998140011601,50497740450700768030577516144446282715,50903887257685023081600675804295233190,51959357788272699632719267499147981517,52211076743527993577592646551817485252,52337386727061177082344846225270514280,52368162133720490488294122776219311783,52610481110931108079119960515837910882,54093602560481285825381206270085780766,55395913051254649714603696357015396265,55472965881689499990283156831240033371,55955077800098736158976102546740716440,56459992341295483369649320096599207004,56502416298483023132187936837245209288,57190870320599393056343430973176027335,57781689041458555341860140045347877979,57876825662474742528258671250383534702,5823037756741719790647238735000978955,58274031026902188038235186765179392685,59328043935744716387830573647942410500,59455786841727223081708070466268953192,59809357115761575543556220404028243839,60491916599851961197555747271582979397,61024850060872587969786389608528736197,6121556012184035844605664824132343039,6165118399964843957238693666296726586,63154128403018232394971691441567279225,63956772269585332146307397552021421483,64473129422663825263828545404792917388,66027528890998183680140228736791985958,66766158974120046888561042894897366278,67270223598710591339598567754586864599,67730064571374352181038579694620281931,69042051918235220539625183764796827162,69611209252817716640479511497218233097,69800060629731422457376931327315240122,70959263788556779851408931151663506886,71639156006512720483223379198156286721,73418137353295332935550033464879576613,74255213893417231998057595877903140412,74991417799614024424028500864189712046,75434763181548608952131098611467826451,76567881838790081081714782394775581727,77444822619980713537725013878957100235,78346132430436895281788537330709882116,7880892970401366627411308964476538376,78935187825019667545904087242425414358,79134879821608211778184096429967992218,80292671426104808995263353269058560195,80348728736787516310650726804612840400,8051935918060862953898007267663120527,80531656860555847348674155014983309519,81318404491484726726104084603385519983,82275868767599737414277104353328011389,83181169052829437129242873017700720743,8349210929336985763414154304094128852,83498930424477323630775059462515164126,83794852514217627891319267309991352915,8425462330787096416439069896939163259,84561430868236241091325855717674678751,84864090879924359771783651776126003199,85538404907540923591562718463027377242,85814634064075014403158884286585839387,87130110778537591001334736471859263975,87883618073046124926541178969251893331,8806668607424146985034877385926046871,88126386540017402985000385409012422031,8885128904714085378367183290591577935,88912164090893394190408180758484313727,89108628907984805006214194979780029832,89214311290540208923099075620695167869,89294943403601414877834097737512689598,90111605190370240361009887934382053740,91108917556503651864800337148760140118,91936078674540468689100928469877429271,92008482929325625255573318189353778957,92050153745140607765469025712036465992,92801419115756988598712581954133192898,95139212279228929830679955500528616100,95794028497926340121598722162538827741,96053658788984406614965412954852988360,96336402775946046060190406288780492833,96737213609650749128025653184240542603,9932457140319848811486133148943125335",
"100768304092991342566330925616963523675,101359820699271518584219106861092698720,102740026131548832044011270381013181999,103072905175418217608443363076554588277,103592996946443395312818075885061574309,104370679123374257917498648821512251623,104873239599335622502781365373440869558,10488613798562157344568230539113000279,106037692317809464550915747207018005318,106486269349461424008983346530922653191,106784596024401438056683921663071467286,107270025981150188844115625877712545260,107285736439073695069348326115356183081,107962265029601671080271925896830040611,108223842577308457356417830367815880684,108312828225101287112010419116548842128,10856713402596904842218601294380745975,10873964697448211584797094952747349922,109140507027922184555883415855400032073,109698657268049857927196954489484609638,109735471259252080446862302957062410155,110238811105200936728318777218398641193,111392205058337952703006385189273837014,112486520348614340185620727386748886222,112938534773615121249857783257904487970,113528967070031884993386561598424948184,11358770030564942542751874885047062090,113620532094152521189769014553338895966,114801095186470479036030697778664763528,115103785091668485588727550692504263065,115455270965423338564856485031992220365,116060674743118028019061875084822258140,117536345574494794010064276643979919938,117613873444185667638906151315112132914,1178556922731985737859864894500132598,117954651064909730779530568625203250742,118164548884338189920417807680777407976,118389010437391044954393375050818455413,118445718711136624708001305508577111771,118516411811483060458086281652311699400,118671085383734155969391565506414542452,119326749756324054671689719202051286514,120172374226168126202100127440441624579,120649222854871665624617993335440187034,120716118101606150202086711207026769278,120731147796810841704362338236623639425,123875393075802019085521137756343168638,123957314719691896745291454795922996819,124025380816657503525795271339563792241,126455345951214468344808240074337569434,126831549198126412310076354820563505476,127483852494995805029620485511452725587,127818446630531289884496621776065208981,128390710251305899777597009613756345527,12864752126198111365457848023789018089,128720641806240716743884038577348141391,128914106021152001646092556496242614520,129752729730289650678238136513692123807,130308437080880315431229380542356483468,130333328987059641716509016635345587157,130341429313495918150598495226813126317,130555693096272206166825998144096303717,13073375061999062650665113995449467070,131776951705733878190864045631158577117,133142144855469234681125944498533539935,133178661768337997853616606052530863764,133568385737410869407023125279413151472,133908937004430719886265404664464354787,136339026098733962239169801778476018128,137800841657287967916147541531032647549,138141752915330906615405592271456850508,139352704569858445680372448580218193933,140545031230716747077062386209079618435,140574750848358017784392148168121725642,141750558930498691338408792160119064940,144124736169703538861076805867150172985,144680714373785640699155350926516602200,145362047885573314364965876524106403986,145468143713213807747018412954567908752,145723945309519592866702591658388843044,146021709116605276957242890746418509102,1465473865856578178185615856569886482,1470798562239567981799823306794114300,14751964247001672988662518685539021038,147663860433761050719908541023565689095,147774842982973371835689634730651461406,149640090765559508842942139163552919772,149641796885172399318505929126395302948,150193048322689776004559158645554621073,150599583178503738435899938018084917030,150778490366262564245670922076268506034,151037944171032864049998667270194206173,151041953158657336842994550960834153753,151625245116985900626764448155253007581,151671113245599369632051070717385877570,151730257177777501914350705673305449550,151808078427915301688712282229788105492,153311662600179520010690201786101667006,15335156636955457622762724177959831414,154154952591378443460084647257571206760,154158129262451399950075019142963085822,154510364885622404245215171816459550993,156194780324864449335556363740720271833,157190044264548933382441597623236820708,157530497450609785169274601702731578388,158220888627657485360943560432881909512,15884779715161791843015598797613209749,15913458904530591290917473439687743152,159247154931903855306852292121969137821,160027120118121410475745632982139035333,161090645478909617893979980312442857865,161212676800285645176147310441214141624,161751511425275630631310361509738243405,162278647665167094670979723249781142507,162957284730178998704759551807034488498,163334698302785472710480269419516106052,163765581153288492692985578611876238579,165024210215163440088644581095446666663,165044034773684075145789718545176254303,165156876834349185930710849993832020675,165957176803625684054573100386921201820,166159973329525921835404942503496054671,166544202691725871209898871887774010970,167563283396649515495346291876855206050,168864962271427662439323591158901361776,17558713957438839838040198978267670599,18721708710567929116022324359494921459,18821303385662756937622518755300301374,18920496033281789051125929701190459610,20539572522724350702492448792437112848,21210193446763696649836955780408132847,23418991456755089518860210956586142760,23530130794072012583185187357239299243,24161714259292885293875522387241276207,24500519761389162890711118187946503247,25192116736215025548831573411262775239,25222110724265229664809997226006752291,25314062928512889471730617681867333945,25362472200831734326361545409396955793,2583919321499518397670323597369816114,26580643876512366520140092298905157189,27026864729292623486540736940853052640,27320612520146656706844467617511673168,27581336288040569876287965952638043385,28131013401983386733277834372522868663,29244626641758935990046047751863689743,29947759507620438949469657394272629404,30283021370435385776473637831500659493,30772417734770284070346995567415143401,31808633720115883404569063064415097462,31952023912770506281440226795716174919,32449328598649453476017611163029723075,32597709016474450857982493747149301543,33250614859780527543653922791129258232,33399235535914688699011857090412069963,33505987824714043178684107358835094496,33852003631596901583416227847684696753,33954101995010466053641851172709661887,36228720036123194928973941127203313404,36547455398554886839167346640517214326,36855472738451229464781594410640073588,37142765842687158488016172325184656471,38969509379059877808059794698409482993,40082595549683988235563539924730771931,40646162732974241657890604775652189788,40860573762168115687516141598702379310,43416128523032228821256757300440903533,43437938671830795599965525936227971614,43503640900992094476739242379211551274,43579341142343456276666997611209041150,43787287104783148818089149508392419943,43830781499397504616518373121492819390,44003730264539227235116302120074125424,44358771861333920250221987559910546762,46772335207280206103882953778512243575,46867831498666392117029383496749487710,47092786266701306009104332272292133189,48280659657371145255550767906085884199,48346875736591078297663066946862780434,49906415162592567715913938409646896200,50126428601301289797774053903744440776,50728648272703244768115068870477914430,51317781597092145689835991457780482988,53923824923403485610729022500775026914,54016441786751088913415551658849431153,54848944533672529993976203897226558188,5580325667242872403463665908725840141,56080298832125073461107105751993418707,56289725515545462356895759142658817134,5675520628724905698145784944852801026,59932986183970751606574811441027744128,60105823118944088751746899663970298297,6277944942667403131182817276080739562,62895988699615698238749930258772819683,6467582576508590122096999987841152257,65639799683018569448605513064512508864,66284960059844560467002222420339558055,66333932380669240296025412617987954943,66412777882313246227349663524907015501,66468313665260403353164250712133623596,68286903843122404230469855890025448498,69612105898786776158865112130489308553,69614981083069487299525173897377675247,70081803755972825515105004048389810114,70561865210449942499773728475126129052,70576761462971434873047716954161145856,7077030006228109615068860096374257819,71368666646311630480062988276460976778,72201682578484681545568390825583947734,72497352396523855538862874350754496654,72806579820476817718459163687762596782,74261399609592409350519519523802227041,74786627054990323158541507368611783730,74836985275690259919931244676005703470,75590471894009745141429291703974243332,75684100695485256993569682147240956675,76702636733780742646493761274144918241,77779523066971291495637190503635339714,78675454106922550124066226232782680997,79019050536082875240202032968280725511,7947339997943832844938496289958449668,79602196769725705758435921765105464017,79825808195579132845518507495534076651,80052901719426402502061418994349335475,81411957507199040316087548688748821551,81650939692143430859122644975887949503,82554324822760811080500260173624251589,83076050162767033811093565512634051972,83177221495805058851287776635486026436,83812163508018824296080304218792125200,84722811685387909205642443684764616251,85522105966826596398852422278163282870,86169714267008000767138116362926775357,87198399482593740562305624308042808336,87419570453069218266337832356092031454,87951651854112576065578974613381870128,89177562506183867755587207036832187776,89958848688119426596127644691992330889,90413819989750036978089666533032118903,91039697833310297959719359483588899121,91222930590209131649732684561646529470,92026582884961933329851912939200324111,92275368227533473716872860252594677753,92989619591511163856627676096386192510,94326001442670244331131536764489444170,94454391392065074387980815831645967905,95420417814503927995987027308944248543,96086234075595859030290106915767457515,96233744067919782604758153016065650273,96428128231963861300518633736224487300,96592711269898816851288858883462690199,96711584787710023715028356375889347704,96891777709294714579949715234000564078,96909882239296528668441208419601391694,96944423107084797645192377736782015591,992952118028006455835726937379275379"
]
}
}
|
COMMAND_HELP = '''
oplab <command> [<args>]
'''
TRAIN_COMMAND_HELP = '''
oplab t|train
--params <params_file_path>
--output <model_save_path>
'''
|
"""
:type people: List[List[int]]
:rtype: List[List[int]]
[ ] [ ] [ ] [ ] [4] [ ] # [4, 4]: 6 slots, insert 4 with 4 empty space before it
[5] [ ] [ ] [ ] [ ] # [5, 0]: 5 slots, insert 5 with 0 empty space before it
[ ] [5] [ ] [ ] # [5, 2 - 1]: 4 slots, insert 5 with 1 empty space before it
[ ] [6] [ ] # [6, 1]: 3 slots, insert 6 with 1 empty space before it
[7] [ ] # [7, 0]: 2 slots, insert 7 with 0 empty space before it
[7] # [7, 1 - 1]: 1 slots, insert 7 with 0 empty space before it
"""
class Solution:
def reconstructQueue(self, people: List[List[int]]) -> List[List[int]]:
# Sort by height ascending, counts descending
people.sort(key=lambda x: (x[0], -x[1]))
# Initialize the final list with 0
ans = [0] * len(people)
for height, num in people:
# zero_count stores the number of 0s (which is the # of greater numbers) when iterating
# idx means the index in final list
zero_count, idx = 0, 0
# When the # of 0s reachs the required number, then stop the iteration
# idx would be the final index
while zero_count <= num:
if ans[idx] == 0:
zero_count += 1
idx += 1
ans[idx - 1] = [height, num]
return ans
# # Sort descending, insert tallest people first.
class Solution:
def reconstructQueue(self, people: List[List[int]]) -> List[List[int]]:
#hSorted = sorted(people, key=lambda x: (-x[0], x[1]))
people.sort(key=lambda x: (-x[0], x[1]))
ans = []
for p in people:
ans.insert(p[1], p)
return ans
|
SIZE = 5
queue = [None for _ in range(SIZE)]
front, rear = -1, -1
rear += 1
queue[rear] = '화사'
rear += 1
queue[rear] = '솔라'
rear += 1
queue[rear] = '문별'
print('출구<--',queue,'<--입구')
front += 1
data = queue[front]
queue[front] = None
print('추출-->',data)
front += 1
data = queue[front]
queue[front] = None
print('추출-->',data)
front += 1
data = queue[front]
queue[front] = None
print('추출-->',data)
print('출구<--',queue,'<--입구')
|
# Storage Account
def storage (storage_client,storage_account_name, location):
#storage_account_name = 'invalid-or-used-name'
availability = storage_client.storage_accounts.check_name_availability(storage_account_name)
print('The storage account account {} is available: {}'.format(storage_account_name, availability.name_available))
print('Reason: {}'.format(availability.reason))
def key_vault (key_vault_client, RESOURCE_GROUP, key_vault_name, location):
if key_vault_client.resources.check_existence(RESOURCE_GROUP, 'Microsoft.KeyVault',
'',
'vaults',
key_vault_name,
'2021-04-01'):
print (f"Key Vault {key_vault_name} exits ")
return false
else:
print (f"Key Vault {key_vault_name} NOT exits ")
|
"""
File: weather_master.py
-----------------------
This program should implement a console program
that asks weather data from user to compute the
average, highest, lowest, cold days among the inputs.
Output format should match what is shown in the sample
run in the Assignment 2 Handout.
"""
def main():
"""
Enable the user to input the temperatures. If the user input -100, it will stop and show
the highest, the lowest and average temperature. Eventually, it'll show the days that under 16 degrees.
"""
intro()
Temperature()
def intro():
print("stanCode \"Weather Master 4.0\"!")
def Temperature():
input_list=[] # create a list for input
n=int(input("Next temperature(or-100 to quit)?"))
input_list.append(n) # append the first input
if n==(-100):
print("No temperatures were entered")
while n >(-100):
n=int(input("Next temperature(or -100 to quit)?"))
input_list.append(n) # append the inputs
input_list_new=input_list[0:(len(input_list)-1)] # the list which -100 is excluded
print("Highest temperature:"+str(max(input_list_new))) # highest temperature
print("Lowest temperature:"+str(min(input_list_new))) # lowest temperature
sum=0
time = 0
for i in range(len(input_list_new)):
sum+=input_list_new[i] # average temperature
if input_list_new[i]<16: # find cold day(s)
time+=1
print("Average:"+str(sum/len(input_list_new)))
print(str(time) + " cold day(s)")
###### DO NOT EDIT CODE BELOW THIS LINE ######
if __name__ == "__main__":
main()
|
# Tower of Hanoi
def toh(n,A,B,C):
if n==0:
return
toh(n-1,A,C,B)
print("Moved Disk",n,"From Tower",A,"To Tower ",B)
toh(n-1,C,B,A)
no_of_disk = int(input())
not1 = input()
not2 = input()
not3 = input()
toh(no_of_disk,not1,not2,not3)
|
dd = {
'a': 1,
'b': 2,
'c': 3
}
ll = [1, 2, 3, 4]
print(ll[0])
print(dd)
dd['new'] = 7
print(dd)
dd['new'] += 6
print(dd)
|
class WinRMError(Exception):
def __init__(self, code, msg):
super(Exception, self).__init__(msg)
self.code = code
|
name = 'forum'
aliases = ('forums', 'f')
pad_none = False
async def run(message):
await message.send('Forum commands: **!forums user (username)**')
|
num = int(input('Type a number between 0 and 9999: '))
u = num % 10
t = num // 10 % 10
h = num // 100 % 10
th = num // 1000 % 10
print(f'Unity: {u} \n'
f'Ten: {t} \n'
f'Hundred: {h} \n'
f'Thousand: {th}')
|
'''
Created on Nov 21, 2012
@author: Gary
'''
|
class InstanceDefinitionArchiveFileStatus(
Enum, IComparable, IFormattable, IConvertible
):
"""
The archive file of a linked instance definition can have the following possible states.
Use InstanceObject.ArchiveFileStatus to query a instance definition's archive file status.
enum InstanceDefinitionArchiveFileStatus,values: LinkedFileIsDifferent (3),LinkedFileIsNewer (1),LinkedFileIsOlder (2),LinkedFileIsUpToDate (0),LinkedFileNotFound (-1),LinkedFileNotReadable (-2),NotALinkedInstanceDefinition (-3)
"""
def __eq__(self, *args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self, *args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self, *args):
pass
def __gt__(self, *args):
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 __le__(self, *args):
pass
def __lt__(self, *args):
pass
def __ne__(self, *args):
pass
def __reduce_ex__(self, *args):
pass
def __str__(self, *args):
pass
LinkedFileIsDifferent = None
LinkedFileIsNewer = None
LinkedFileIsOlder = None
LinkedFileIsUpToDate = None
LinkedFileNotFound = None
LinkedFileNotReadable = None
NotALinkedInstanceDefinition = None
value__ = None
|
# 1. Съдомиялна
# Гошо работи в ресторант и отговаря за зареждането на съдомиялната накрая на деня.
# Вашата задача е да напишете програма, която изчислява, дали дадено закупено количество бутилки от препарат за
# съдомиялна е достатъчно, за да измие определено количество съдове. Знае се, че всяка бутилка съдържа 750 мл.
# препарат, за 1 чиния са нужни 5 мл., а за тенджера 15 мл. Приемете, че на всяко трето зареждане със съдове,
# съдомиялната се пълни само с тенджери, а останалите пъти с чинии. Докато не получите команда "End" ще
# продължите да получавате бройка съдове, които трябва да бъдат измити.
detergent_per_bottle = 750
detergent_needed_per_dish = 5
detergent_needed_per_pot = 15
count_dishwasher_load = 0
count_clean_dishes = 0
count_clean_pots = 0
isPot = False
isDish = False
detergent_needed_per_item = 0
isDetergentEnough = True
count_detergent_bottles = int(input())
detergent_total = detergent_per_bottle * count_detergent_bottles
command = input()
while command != 'End' and detergent_total >= 0:
count_dishwasher_load += 1
count_items = int(command)
if count_dishwasher_load % 3 == 0:
detergent_needed_per_item = detergent_needed_per_pot
isPot = True
else:
detergent_needed_per_item = detergent_needed_per_dish
isDish = True
detergent_needed_for_this_load = detergent_needed_per_item * count_items
if isPot:
if detergent_total >= detergent_needed_for_this_load:
count_clean_pots += count_items
else:
count_clean_pots += detergent_total // detergent_needed_per_item
isDetergentEnough = False
if isDish:
if detergent_total >= detergent_needed_for_this_load:
count_clean_dishes += count_items
else:
count_clean_dishes += detergent_total // detergent_needed_per_item
isDetergentEnough = False
detergent_total -= detergent_needed_for_this_load
isPot = False
isDish = False
command = input()
if isDetergentEnough:
print(f'Detergent was enough!')
print(f'{count_clean_dishes} dishes and {count_clean_pots} pots were washed.')
print(f'Leftover detergent {detergent_total} ml.')
else:
print(f'Not enough detergent, {abs(detergent_total)} ml. more necessary!')
|
"""
SQ数据集数据文件目录
文件获取举例:inner2['29'][2],
得到的是内圈2下29Hz的第2个文件(actually 3rd),
默认文件夹内排列顺序,每一个转速下共有3个文件[0~2]
train_dir109 1-故障程度 09-转速(Hz)
train 均使用第0个数据文件,test均使用第1个数据文件
"""
# home = r'G:\dataset\SQdata' # U盘
home = r'F:\dataset\SQdata' # 本地F盘
inner1 = {'09': [home + r'\inner1\09\REC3585_ch2.txt', home + r'\inner1\09\REC3586_ch2.txt',
home + r'\inner1\09\REC3587_ch2.txt'],
'19': [home + r'\inner1\19\REC3588_ch2.txt', home + r'\inner1\19\REC3589_ch2.txt',
home + r'\inner1\19\REC3590_ch2.txt'],
'29': [home + r'\inner1\29\REC3591_ch2.txt', home + r'\inner1\29\REC3592_ch2.txt',
home + r'\inner1\29\REC3593_ch2.txt'],
'39': [home + r'\inner1\39\REC3594_ch2.txt', home + r'\inner1\39\REC3595_ch2.txt',
home + r'\inner1\39\REC3596_ch2.txt']}
inner2 = {'09': [home + r'\inner2\09\REC3607_ch2.txt', home + r'\inner2\09\REC3608_ch2.txt',
home + r'\inner2\09\REC3609_ch2.txt'],
'19': [home + r'\inner2\19\REC3610_ch2.txt', home + r'\inner2\19\REC3611_ch2.txt',
home + r'\inner2\19\REC3612_ch2.txt'],
'29': [home + r'\inner2\29\REC3613_ch2.txt', home + r'\inner2\29\REC3614_ch2.txt',
home + r'\inner2\29\REC3615_ch2.txt'],
'39': [home + r'\inner2\39\REC3616_ch2.txt', home + r'\inner2\39\REC3617_ch2.txt',
home + r'\inner2\39\REC3618_ch2.txt']}
inner3 = {'09': [home + r'\inner3\09\REC3520_ch2.txt', home + r'\inner3\09\REC3521_ch2.txt',
home + r'\inner3\09\REC3522_ch2.txt'],
'19': [home + r'\inner3\19\REC3523_ch2.txt', home + r'\inner3\19\REC3524_ch2.txt',
home + r'\inner3\19\REC3525_ch2.txt'],
'29': [home + r'\inner3\29\REC3526_ch2.txt', home + r'\inner3\29\REC3527_ch2.txt',
home + r'\inner3\29\REC3528_ch2.txt'],
'39': [home + r'\inner3\39\REC3529_ch2.txt', home + r'\inner3\39\REC3530_ch2.txt',
home + r'\inner3\39\REC3531_ch2.txt']}
outer1 = {'09': [home + r'\outer1\09\REC3500_ch2.txt', home + r'\outer1\09\REC3501_ch2.txt',
home + r'\outer1\09\REC3502_ch2.txt'],
'19': [home + r'\outer1\19\REC3503_ch2.txt', home + r'\outer1\19\REC3504_ch2.txt',
home + r'\outer1\19\REC3505_ch2.txt'],
'29': [home + r'\outer1\29\REC3506_ch2.txt', home + r'\outer1\29\REC3507_ch2.txt',
home + r'\outer1\29\REC3508_ch2.txt'],
'39': [home + r'\outer1\39\REC3510_ch2.txt', home + r'\outer1\39\REC3511_ch2.txt',
home + r'\outer1\39\REC3512_ch2.txt']}
outer2 = {'09': [home + r'\outer2\09\REC3482_ch2.txt', home + r'\outer2\09\REC3483_ch2.txt',
home + r'\outer2\09\REC3484_ch2.txt'],
'19': [home + r'\outer2\19\REC3485_ch2.txt', home + r'\outer2\19\REC3486_ch2.txt',
home + r'\outer2\19\REC3487_ch2.txt'],
'29': [home + r'\outer2\29\REC3488_ch2.txt', home + r'\outer2\29\REC3489_ch2.txt',
home + r'\outer2\29\REC3490_ch2.txt'],
'39': [home + r'\outer2\39\REC3491_ch2.txt', home + r'\outer2\39\REC3492_ch2.txt',
home + r'\outer2\39\REC3493_ch2.txt']}
outer3 = {'09': [home + r'\outer3\09\REC3464_ch2.txt', home + r'\outer3\09\REC3465_ch2.txt',
home + r'\outer3\09\REC3466_ch2.txt'],
'19': [home + r'\outer3\19\REC3467_ch2.txt', home + r'\outer3\19\REC3468_ch2.txt',
home + r'\outer3\19\REC3469_ch2.txt'],
'29': [home + r'\outer3\29\REC3470_ch2.txt', home + r'\outer3\29\REC3471_ch2.txt',
home + r'\outer3\29\REC3472_ch2.txt'],
'39': [home + r'\outer3\39\REC3473_ch2.txt', home + r'\outer3\39\REC3474_ch2.txt',
home + r'\outer3\39\REC3475_ch2.txt']}
normal = {'09': [home + r'\normal\09\REC3629_ch2.txt', home + r'\normal\09\REC3630_ch2.txt',
home + r'\normal\09\REC3631_ch2.txt'],
'19': [home + r'\normal\19\REC3632_ch2.txt', home + r'\normal\19\REC3633_ch2.txt',
home + r'\normal\19\REC3634_ch2.txt'],
'29': [home + r'\normal\29\REC3635_ch2.txt', home + r'\normal\29\REC3636_ch2.txt',
home + r'\normal\29\REC3637_ch2.txt'],
'39': [home + r'\normal\39\REC3638_ch2.txt', home + r'\normal\39\REC3639_ch2.txt',
home + r'\normal\39\REC3640_ch2.txt']}
# -------------------------------------------------------------------------
# -----------------------------train_dir-----------------------------------
train3_dir109 = [normal['09'][0], inner1['09'][0], outer1['09'][0]]
train3_dir139 = [normal['39'][0], inner1['39'][0], outer1['39'][0]]
train3_dir239 = [normal['39'][0], inner2['39'][0], outer2['39'][0]]
train3_dir309 = [normal['09'][0], inner3['09'][0], outer3['09'][0]]
# 区分故障类别
sq3_39_0 = [normal['39'][0], inner3['39'][0], outer3['39'][0]]
sq3_39_1 = [normal['39'][1], inner3['39'][1], outer3['39'][1]]
sq3_29_0 = [normal['29'][0], inner3['29'][0], outer3['29'][0]]
sq3_29_1 = [normal['29'][1], inner3['29'][1], outer3['29'][1]]
# 区分故障类别同时区分出故障严重程度
sq7_39_0 = [normal['39'][0], inner1['39'][0], inner2['39'][0], inner3['39'][0],
outer1['39'][0], outer2['39'][0], outer3['39'][0]]
sq7_39_1 = [normal['39'][1], inner1['39'][1], inner2['39'][1], inner3['39'][1],
outer1['39'][1], outer2['39'][1], outer3['39'][1]]
sq7_29_0 = [normal['29'][0], inner1['29'][0], inner2['29'][0], inner3['29'][0],
outer1['29'][0], outer2['29'][0], outer3['29'][0]]
sq7_29_1 = [normal['29'][1], inner1['29'][1], inner2['29'][1], inner3['29'][1],
outer1['29'][1], outer2['29'][1], outer3['29'][1]]
# 多转速情况下
sq3_09 = [normal['09'][0], inner3['09'][0], outer3['09'][0]]
sq3_19 = [normal['19'][0], inner3['19'][0], outer3['19'][0]]
sq3_29 = [normal['29'][0], inner3['29'][0], outer3['29'][0]]
sq3_39 = [normal['39'][0], inner3['39'][0], outer3['39'][0]]
sq3_09_ = [normal['09'][1], inner3['09'][1], outer3['09'][1]]
sq3_19_ = [normal['19'][1], inner3['19'][1], outer3['19'][1]]
sq3_29_ = [normal['29'][1], inner3['29'][1], outer3['29'][1]]
sq3_39_ = [normal['39'][1], inner3['39'][1], outer3['39'][1]]
# sq_NC = [normal['09'][0], normal['19'][0], normal['29'][0], normal['39'][0]]
# sq_IF = [inner3['09'][0], inner3['19'][0], inner3['29'][0], inner3['39'][0]]
# sq_OF = [outer3['09'][0], outer3['19'][0], outer3['29'][0], outer3['39'][0]]
if __name__ == '__main__':
pass
|
print(a == b)
print(a == c)
print(b == c)
# a and b evaluate to the same
|
#
# PySNMP MIB module MIMOSA-NETWORKS-BASE-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/MIMOSA-NETWORKS-BASE-MIB
# Produced by pysmi-0.3.4 at Wed May 1 14:12:48 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
Counter32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Counter64, enterprises, ObjectIdentity, Gauge32, IpAddress, iso, Integer32, Unsigned32, Bits, NotificationType, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Counter64", "enterprises", "ObjectIdentity", "Gauge32", "IpAddress", "iso", "Integer32", "Unsigned32", "Bits", "NotificationType", "ModuleIdentity")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
mimosa = ModuleIdentity((1, 3, 6, 1, 4, 1, 43356))
mimosa.setRevisions(('2015-06-03 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: mimosa.setRevisionsDescriptions(('First draft',))
if mibBuilder.loadTexts: mimosa.setLastUpdated('201506030000Z')
if mibBuilder.loadTexts: mimosa.setOrganization('Mimosa Networks www.mimosa.co')
if mibBuilder.loadTexts: mimosa.setContactInfo('postal: Mimosa Networks, Inc. 300 Orchard City Dr. Campbell, CA 95008 email: support@mimosa.co')
if mibBuilder.loadTexts: mimosa.setDescription('Mimosa device MIB definitions')
mimosaProduct = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1))
mimosaMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2))
mimosaHardware = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1, 1))
mimosaSoftware = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1, 2))
mimosaB5 = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1, 1, 1))
mimosaB5Lite = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1, 1, 2))
mimosaA5 = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1, 1, 3))
mimosaC5 = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 1, 1, 4))
mimosaTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2, 0))
mimosaMib = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2, 1))
mimosaMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2, 3))
mimosaConformanceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2, 4))
mimosaTrapMib = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2, 1, 1))
mimosaWireless = MibIdentifier((1, 3, 6, 1, 4, 1, 43356, 2, 1, 2))
mimosaTrapMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 43356, 2, 3, 1)).setObjects(("MIMOSA-NETWORKS-BASE-MIB", "mimosaTrapMessage"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaOldSpeed"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaNewSpeed"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mimosaTrapMIBGroup = mimosaTrapMIBGroup.setStatus('current')
if mibBuilder.loadTexts: mimosaTrapMIBGroup.setDescription('A collection of objects providing basic Trap function.')
mimosaTrapMessage = MibScalar((1, 3, 6, 1, 4, 1, 43356, 2, 1, 1, 1), OctetString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mimosaTrapMessage.setStatus('current')
if mibBuilder.loadTexts: mimosaTrapMessage.setDescription('General Octet String object to contain message sent with traps.')
mimosaOldSpeed = MibScalar((1, 3, 6, 1, 4, 1, 43356, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mimosaOldSpeed.setStatus('current')
if mibBuilder.loadTexts: mimosaOldSpeed.setDescription('The speed of the Ethernet link before the change within Ethernet Speed Change Notifications.')
mimosaNewSpeed = MibScalar((1, 3, 6, 1, 4, 1, 43356, 2, 1, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: mimosaNewSpeed.setStatus('current')
if mibBuilder.loadTexts: mimosaNewSpeed.setDescription('The speed of the Ethernet link after the change within Ethernet Speed Change Notifications.')
mimosaGenericNotificationsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 43356, 2, 3, 2)).setObjects(("MIMOSA-NETWORKS-BASE-MIB", "mimosaCriticalFault"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaTempWarning"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaTempNormal"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaEthernetSpeedChange"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
mimosaGenericNotificationsGroup = mimosaGenericNotificationsGroup.setStatus('current')
if mibBuilder.loadTexts: mimosaGenericNotificationsGroup.setDescription('The basic Trap notifications for all Mimosa products.')
mimosaCriticalFault = NotificationType((1, 3, 6, 1, 4, 1, 43356, 2, 0, 1)).setObjects(("MIMOSA-NETWORKS-BASE-MIB", "mimosaTrapMessage"))
if mibBuilder.loadTexts: mimosaCriticalFault.setStatus('current')
if mibBuilder.loadTexts: mimosaCriticalFault.setDescription('The mimosaCriticalFault notification is sent when the log manager in the Mimosa product determines that a fault with a critical severity has been detected. The mimosaCriticalFaultLog contains the description of the general error.')
mimosaTempWarning = NotificationType((1, 3, 6, 1, 4, 1, 43356, 2, 0, 2)).setObjects(("MIMOSA-NETWORKS-BASE-MIB", "mimosaTrapMessage"))
if mibBuilder.loadTexts: mimosaTempWarning.setStatus('current')
if mibBuilder.loadTexts: mimosaTempWarning.setDescription('The mimosaTempWarning notification is sent when the log manager in the Mimosa product receives an indication that the temperature is outside the safe range.')
mimosaTempNormal = NotificationType((1, 3, 6, 1, 4, 1, 43356, 2, 0, 3)).setObjects(("MIMOSA-NETWORKS-BASE-MIB", "mimosaTrapMessage"))
if mibBuilder.loadTexts: mimosaTempNormal.setStatus('current')
if mibBuilder.loadTexts: mimosaTempNormal.setDescription('The mimosaTempNormal notification is sent when the log manager in the Mimosa product receives an indication that the temperature is with in the safe range.')
mimosaEthernetSpeedChange = NotificationType((1, 3, 6, 1, 4, 1, 43356, 2, 0, 4)).setObjects(("IF-MIB", "ifIndex"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaOldSpeed"), ("MIMOSA-NETWORKS-BASE-MIB", "mimosaNewSpeed"))
if mibBuilder.loadTexts: mimosaEthernetSpeedChange.setStatus('current')
if mibBuilder.loadTexts: mimosaEthernetSpeedChange.setDescription('The mimosaEthernetSpeedChange notification is sent when the log manager in the Mimosa product determines that a speed change on the Ethernet port was detected. The mimosaOldSpeed and mimosaNewSpeed indicates the speed in bits per second of the change. ifIndex is used per the ifTable in the IF-MIB.')
mibBuilder.exportSymbols("MIMOSA-NETWORKS-BASE-MIB", mimosaGenericNotificationsGroup=mimosaGenericNotificationsGroup, mimosaProduct=mimosaProduct, mimosaTempNormal=mimosaTempNormal, mimosa=mimosa, mimosaHardware=mimosaHardware, mimosaConformanceGroup=mimosaConformanceGroup, mimosaNewSpeed=mimosaNewSpeed, mimosaMgmt=mimosaMgmt, mimosaTrapMIBGroup=mimosaTrapMIBGroup, mimosaTrapMessage=mimosaTrapMessage, mimosaB5=mimosaB5, mimosaMIBGroups=mimosaMIBGroups, mimosaOldSpeed=mimosaOldSpeed, mimosaTrap=mimosaTrap, mimosaEthernetSpeedChange=mimosaEthernetSpeedChange, mimosaMib=mimosaMib, mimosaTrapMib=mimosaTrapMib, mimosaTempWarning=mimosaTempWarning, mimosaA5=mimosaA5, mimosaCriticalFault=mimosaCriticalFault, mimosaB5Lite=mimosaB5Lite, mimosaC5=mimosaC5, mimosaWireless=mimosaWireless, PYSNMP_MODULE_ID=mimosa, mimosaSoftware=mimosaSoftware)
|
# Question 3
# Midpoints of a line
x1 = float(input("Enter x of 1st point: "))
y1 = float(input("Enter y of 1st point: "))
x2 = float(input("Enter x of 2nd point: "))
y2 = float(input("Enter y of 2nd point: "))
midpoint_x = abs(x1 + x2) / 2
midpoint_y = abs(y1 + y2) / 2
print("Midpoint of a line: (" + str(midpoint_x) + ", " + str(midpoint_y) + ")")
|
def giwaxs_S_edge_wenkai(t=1):
dets = [pil300KW]
names = [ 'A2', 'A3', 'A4', 'A5', 'A6']
x = [30000, 16000, 0, -15000, -36000]
energies = np.arange(2450, 2470, 5).tolist() + np.arange(2470, 2480, 0.25).tolist() + np.arange(2480, 2490, 1).tolist()+ np.arange(2490, 2501, 5).tolist()
waxs_arc = np.linspace(0, 26, 5)
ai0 = 0
for name, xs in zip(names, x):
yield from bps.mv(piezo.x, xs)
yield from bps.mv(piezo.th, ai0)
yield from bps.mv(GV7.open_cmd, 1 )
yield from bps.sleep(1)
yield from bps.mv(GV7.open_cmd, 1 )
yield from bps.sleep(1)
yield from alignement_gisaxs(angle = 0.4)
# yield from bps.mv(att2_9, 'Insert')
yield from bps.mv(GV7.close_cmd, 1 )
yield from bps.sleep(1)
# yield from bps.mv(att2_9, 'Insert')
yield from bps.mv(GV7.close_cmd, 1 )
yield from bps.sleep(1)
ai0 = piezo.th.position
yield from bps.mv(piezo.th, ai0 + 0.7)
xss = np.linspace(xs, xs - 8000, 57)
for wa in waxs_arc:
yield from bps.mv(waxs, wa)
det_exposure_time(t,t)
name_fmt = '{sample}_{energy}eV_wa{wax}_bpm{xbpm}'
for e, xsss in zip(energies, xss):
yield from bps.mv(energy, e)
yield from bps.sleep(2)
yield from bps.mv(piezo.x, xsss)
bpm = xbpm2.sumX.value
sample_name = name_fmt.format(sample=name, energy='%6.2f'%e, wax = wa, xbpm = '%4.3f'%bpm)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.mv(energy, 2470)
yield from bps.mv(energy, 2450)
def nexafs_S_edge_wenkai(t=1):
dets = [pil300KW]
names = ['PFSA_LSC']
x = [41200]
y = [-8000]
z = [ 2700]
energies = np.linspace(2450, 2500, 51)
energies = np.arange(2450, 2470, 5).tolist() + np.arange(2470, 2480, 0.25).tolist() + np.arange(2480, 2490, 1).tolist()+ np.arange(2490, 2501, 5).tolist()
energies1 = 10 + np.asarray(np.arange(2445, 2470, 5).tolist() + np.arange(2470, 2480, 0.25).tolist() + np.arange(2480, 2490, 1).tolist()+ np.arange(2490, 2501, 5).tolist())
for name, xs in zip(names, x):
det_exposure_time(t,t)
name_fmt = 'nexafs_{sample}_{energy}eV_wa52.00_bpm{xbpm}'
for e in energies:
yield from bps.mv(energy, e)
yield from bps.sleep(1)
bpm = xbpm2.sumX.value
sample_name = name_fmt.format(sample=name, energy='%6.2f'%e, xbpm = '%4.3f'%bpm)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.mv(energy, 2470)
yield from bps.mv(energy, 2450)
def hardxray_wenkai2020_1(t=1):
dets = [pil300KW, pil1M]
names = ['PFSA_LSC', 'PFSA_LSC', 'N2200_vert', 'N2200_hori', 'A1', 'A2', 'B1', 'B2', 'C1', 'C2', 'D1', 'D2', 'A3', 'B3', 'C3', 'D3']
x = [41000, 29000, -8000, -30000, 43800, 37500, 32500, 27500, 22500, 17100, 12100, 5900, -16900, -21900, -27300, -32500]
y = [-8000, -8000, -8000, -8000, 3800, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 4200,]
z = [ 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700]
waxs_arc = np.linspace(0, 39, 7)
for wa in waxs_arc:
yield from bps.mv(waxs, wa)
for name, xs, ys, zs in zip(names, x, y, z):
yield from bps.mv(piezo.x, xs)
yield from bps.mv(piezo.y, ys)
yield from bps.mv(piezo.z, zs)
det_exposure_time(t,t)
name_fmt = '{sample}_16.1keVeV_8.3m_wa{wax}'
yield from bps.sleep(1)
sample_name = name_fmt.format(sample=name, wax = wa)
sample_id(user_name='WZ', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
def waxs_S_edge_wenkai_2021_1(t=1):
dets = [pil1M, pil300KW]
# names = ['PFSA_LSC', 'PFSA_SSC', 'A1', 'A2', 'B1', 'B2', 'C1', 'C2', 'D1', 'D2', 'A3', 'B3', 'C3', 'D3']
# x = [41000, 28000, 43300, 37600, 32700, 27500, 21700, 16600, 11300, 5900, -17600, -22600, -28100, -33100]
# y = [-8500, -8500, 3800, 4000, 3900, 4200, 4100, 4100, 3800, 3900, 3900, 4100, 4100, 4200]
# z = [ 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700, 2700]
energies = np.arange(2450, 2470, 5).tolist() + np.arange(2470, 2480, 0.25).tolist() + np.arange(2480, 2490, 1).tolist()+ np.arange(2490, 2501, 5).tolist()
# energies1 = 10 + np.asarray(np.arange(2445, 2470, 5).tolist() + np.arange(2470, 2480, 0.25).tolist() + np.arange(2480, 2490, 1).tolist()+ np.arange(2490, 2501, 5).tolist())
# waxs_arc = np.linspace(13, 19.5, 2)
# for k, wa in enumerate(waxs_arc):
# yield from bps.mv(waxs, wa)
# for name, xs, ys, zs in zip(names, x, y, z):
# yield from bps.mv(piezo.x, xs)
# yield from bps.mv(piezo.y, ys)
# yield from bps.mv(piezo.z, zs)
# yss = np.linspace(ys, ys + 700, 29)
# xss = np.array([xs, xs + 500])
# yss, xss = np.meshgrid(yss, xss)
# yss = yss.ravel()
# xss = xss.ravel()
# det_exposure_time(t,t)
# name_fmt = '{sample}_{energy}eV_wa{wax}_bpm{xbpm}'
# for e, xsss, ysss in zip(energies1, xss, yss):
# yield from bps.mv(energy, e)
# yield from bps.sleep(1)
# yield from bps.mv(piezo.y, ysss)
# yield from bps.mv(piezo.x, xsss)
# bpm = xbpm2.sumX.value
# sample_name = name_fmt.format(sample=name, energy='%6.2f'%e, wax = wa, xbpm = '%4.3f'%bpm)
# sample_id(user_name='WZ', sample_name=sample_name)
# print(f'\n\t=== Sample: {sample_name} ===\n')
# yield from bp.count(dets, num=1)
# yield from bps.mv(energy, 2470)
# yield from bps.mv(energy, 2450)
names = ['N2200_vert', 'N2200_hori']
x = [-8500, -30500]
y = [-8500, -8000]
z = [ 2700, 2700]
waxs_arc = np.linspace(0, 19.5, 4)
for wa in waxs_arc:
yield from bps.mv(waxs, wa)
for name, xs, ys, zs in zip(names, x, y, z):
yield from bps.mv(piezo.x, xs)
yield from bps.mv(piezo.y, ys)
yield from bps.mv(piezo.z, zs)
yss = np.linspace(ys, ys + 1000, 29)
xss = np.array([xs, xs + 500])
yss, xss = np.meshgrid(yss, xss)
yss = yss.ravel()
xss = xss.ravel()
det_exposure_time(t,t)
name_fmt = '{sample}_{energy}eV_wa{wax}_bpm{xbpm}'
for e, xsss, ysss in zip(energies, xss, yss):
yield from bps.mv(energy, e)
yield from bps.sleep(1)
yield from bps.mv(piezo.y, ysss)
yield from bps.mv(piezo.x, xsss)
bpm = xbpm2.sumX.value
sample_name = name_fmt.format(sample=name, energy='%6.2f'%e, wax = wa, xbpm = '%4.3f'%bpm)
sample_id(user_name='WZ', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.mv(energy, 2470)
yield from bps.mv(energy, 2450)
def wenkai_waxs_tensile_tender_2021_2(t=1):
#85s to do the loop
dets = [pil300KW, pil1M]
names = 'SSC_loop4_waxs'
t0 = time.time()
# yield from bps.mvr(stage.y, -0.4)
for i in range(60):
det_exposure_time(t,t)
yield from bps.mvr(stage.y, 0.03)
if waxs.arc.position > 5:
wa = [19.5, 13, 6.5, 0]
else:
wa = [0, 6.5, 13, 19.5]
t1 = time.time()
for wax in wa:
name_fmt = '{sample}_2455.0eV_sdd3m_{time}s_{i}_wa{wa}'
yield from bps.mv(waxs, wax)
sample_name = name_fmt.format(sample=names, time = '%1.1f'%(t1-t0), i = '%3.3d'%i, wa = '%1.1f'%wax)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.sleep(5)
t2 = time.time()
print(t2-t0)
def wenkai_waxsonly_tensile_tender_2021_2(t=1):
#85s to do the loop
dets = [pil300KW]
names = 'LSC_loop5_waxs_kaclamp'
t0 = time.time()
# yield from bps.mvr(stage.y, -0.4)
for i in range(1000):
det_exposure_time(t,t)
yield from bps.mvr(stage.y, 0.01)
t1 = time.time()
name_fmt = '{sample}_2484.25eV_sdd3m_{time}s_{i}_wa{wa}'
sample_name = name_fmt.format(sample=names, time = '%1.1f'%(t1-t0), i = '%3.3d'%i, wa = '%1.1f'%0)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
t2 = time.time()
print(t2-t0)
def wenkai_saxsonly_tensile_tender_2021_2(t=1):
#85s to do the loop
dets = [pil300KW, pil1M]
names = 'SSC_loop3_saxs'
t0 = time.time()
# yield from bps.mvr(stage.y, -0.4)
for i in range(1000):
det_exposure_time(t,t)
yield from bps.mvr(stage.y, 0.005)
t1 = time.time()
name_fmt = '{sample}_2484.24eV_sdd3m_{time}s_{i}_wa{wa}'
sample_name = name_fmt.format(sample=names, time = '%1.1f'%(t1-t0), i = '%3.3d'%i, wa = '%1.1f'%8)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.sleep(0.5)
t2 = time.time()
print(t2-t0)
def wenkai_saxs_waxs_tensile_hard(t=1):
dets = [pil300KW, pil1M]
names = 'PF-T2PO1_loop1'
t0 = time.time()
for i in range(2000):
det_exposure_time(t,t)
if waxs.arc.position > 5:
wa = [13, 6.5, 0]
else:
wa = [0, 6.5, 13]
name_fmt = '{sample}_14000eV_{time}s_{i}_wa{wa}'
t1 = time.time()
for wax in wa:
yield from bps.mv(waxs, wax)
sample_name = name_fmt.format(sample=names, time = '%1.1f'%(t1-t0), i = '%3.3d'%i, wa = '%1.1f'%wax)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
def wenkai_waxs_tensile_2021_3(t=0.5):
names = 'LSC_RT_loop1'
dets = [pil900KW, pil300KW]
wa = [0]
yield from bps.mv(stage.y, 0.1)
t0 = time.time()
for i in range(2000):
det_exposure_time(t,t)
name_fmt = '{sample}_14keV_{time}s_{i}_wa{wa}'
t1 = time.time()
for wax in wa:
yield from bps.mv(waxs, wax)
sample_name = name_fmt.format(sample=names, time = '%1.1f'%(t1-t0), i = '%3.3d'%i, wa = '%1.1f'%wax)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.mvr(stage.y, 0.01)
# yield from bps.sleep(2)
def wenkai_saxs_tensile_2021_3(t=0.5):
names = 'LSC_RT_loop6_samesample'
dets = [pil1M]
wa = [20]
yield from bps.mv(stage.y, -0.3)
t0 = time.time()
for i in range(2000):
det_exposure_time(t,t)
name_fmt = '{sample}_2484.24keV_{time}s_{i}_wa{wa}'
t1 = time.time()
for wax in wa:
yield from bps.mv(waxs, wax)
sample_name = name_fmt.format(sample=names, time = '%1.1f'%(t1-t0), i = '%3.3d'%i, wa = '%1.1f'%wax)
sample_id(user_name='GF', sample_name=sample_name)
print(f'\n\t=== Sample: {sample_name} ===\n')
yield from bp.count(dets, num=1)
yield from bps.mvr(stage.y, 0.01)
# yield from bps.sleep(2)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.