hexsha
stringlengths 40
40
| size
int64 4
1.02M
| ext
stringclasses 8
values | lang
stringclasses 1
value | max_stars_repo_path
stringlengths 4
209
| max_stars_repo_name
stringlengths 5
121
| max_stars_repo_head_hexsha
stringlengths 40
40
| max_stars_repo_licenses
listlengths 1
10
| max_stars_count
int64 1
191k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 4
209
| max_issues_repo_name
stringlengths 5
121
| max_issues_repo_head_hexsha
stringlengths 40
40
| max_issues_repo_licenses
listlengths 1
10
| max_issues_count
int64 1
67k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 4
209
| max_forks_repo_name
stringlengths 5
121
| max_forks_repo_head_hexsha
stringlengths 40
40
| max_forks_repo_licenses
listlengths 1
10
| max_forks_count
int64 1
105k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 4
1.02M
| avg_line_length
float64 1.07
66.1k
| max_line_length
int64 4
266k
| alphanum_fraction
float64 0.01
1
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a4d4a478f55b6f61c291806eae0647097756825f
| 13,399
|
py
|
Python
|
PhysicsTools/NanoAOD/python/custom_jme_cff.py
|
scodella/cmssw
|
974479b50b19bd795cb5f91eac872857fd6290f6
|
[
"Apache-2.0"
] | 1
|
2021-04-13T13:26:16.000Z
|
2021-04-13T13:26:16.000Z
|
PhysicsTools/NanoAOD/python/custom_jme_cff.py
|
scodella/cmssw
|
974479b50b19bd795cb5f91eac872857fd6290f6
|
[
"Apache-2.0"
] | 2
|
2020-11-03T19:02:02.000Z
|
2020-11-10T16:44:22.000Z
|
PhysicsTools/NanoAOD/python/custom_jme_cff.py
|
scodella/cmssw
|
974479b50b19bd795cb5f91eac872857fd6290f6
|
[
"Apache-2.0"
] | 1
|
2020-04-01T15:30:45.000Z
|
2020-04-01T15:30:45.000Z
|
import FWCore.ParameterSet.Config as cms
from Configuration.Eras.Modifier_run2_miniAOD_80XLegacy_cff import run2_miniAOD_80XLegacy
from Configuration.Eras.Modifier_run2_nanoAOD_94X2016_cff import run2_nanoAOD_94X2016
from PhysicsTools.NanoAOD.common_cff import Var, P4Vars
from PhysicsTools.NanoAOD.jets_cff import jetTable
from PhysicsTools.PatAlgos.tools.jetCollectionTools import GenJetAdder, RecoJetAdder
import copy
#
# By default, these collections are saved in NanoAODs:
# - ak4gen (GenJet in NanoAOD)
# - ak8gen (GenJetAK8 in NanoAOD)
# Below is a list of genjets that we can save in NanoAOD. Set
# "enabled" to true if you want to store the jet collection
config_genjets = [
{
"jet" : "ak5gen",
"enabled" : False,
},
{
"jet" : "ak6gen",
"enabled" : False,
},
{
"jet" : "ak7gen",
"enabled" : False,
},
{
"jet" : "ak9gen",
"enabled" : False,
},
{
"jet" : "ak10gen",
"enabled" : False,
},
]
config_genjets = list(filter(lambda k: k['enabled'], config_genjets))
#
# GenJets info in NanoAOD
#
nanoInfo_genjets = {
"ak5gen" : {
"name" : "GenJetAK5",
"doc" : "AK5 jets",
},
"ak6gen" : {
"name" : "GenJetAK6",
"doc" : "AK6 jets",
},
"ak7gen" : {
"name" : "GenJetAK7",
"doc" : "AK9 jets",
},
"ak9gen" : {
"name" : "GenJetAK9",
"doc" : "AK9 jets",
},
"ak10gen" : {
"name" : "GenJetAK10",
"doc" : "AK10 jets",
},
}
#
# By default, these collections are saved in NanoAODs:
# - ak4pfchs (Jet in NanoAOD)
# - ak8pfpuppi (FatJet in NanoAOD)
# By default, the ak4pfchs (Jet) and ak8pfpuppi (FatJet) collections
# are saved in NanoAODs.
# Below is a list of recojets that we can save in NanoAOD. Set "enabled"
# to true if you want to store the recojet collection.
#
config_recojets = [
{
"jet" : "ak4pfpuppi",
"enabled" : True,
"inputCollection" : "slimmedJetsPuppi", #Exist in MiniAOD
"genJetsCollection": "slimmedGenJets",
},
{
"jet" : "ak4calo",
"enabled" : True,
"inputCollection" : "slimmedCaloJets", #Exist in MiniAOD
"genJetsCollection": "slimmedGenJets",
},
{
"jet" : "ak4pf",
"enabled" : True,
"inputCollection" : "",
"genJetsCollection": "slimmedGenJets",
},
{
"jet" : "ak8pf",
"enabled" : True,
"inputCollection" : "",
"genJetsCollection": "slimmedGenJetsAK8",
},
{
"jet" : "ak8pfchs",
"enabled" : True,
"inputCollection" : "",
"genJetsCollection": "slimmedGenJetsAK8",
},
{
"jet" : "ak6pf",
"enabled" : False,
"inputCollection" : "",
"genJetsCollection": "AK6GenJetsNoNu",
},
{
"jet" : "ak10pf",
"enabled" : False,
"inputCollection" : "",
"genJetsCollection": "AK10GenJetsNoNu",
},
]
config_recojets = list(filter(lambda k: k['enabled'], config_recojets))
#
# RecoJets info in NanoAOD
#
nanoInfo_recojets = {
"ak4pfpuppi" : {
"name" : "JetPUPPI",
"doc" : "AK4PFPUPPI jets",
},
"ak4calo" : {
"name": "JetCalo",
"doc" : "AK4Calo jets",
},
"ak4pf" : {
"name": "JetPF",
"doc" : "AK4PF jets",
},
"ak8pf" : {
"name": "FatJetPF",
"doc" : "AK8PF jets",
},
"ak8pfchs" : {
"name" : "FatJetCHS",
"doc" : "AK8PFCHS jets",
},
"ak6pf" : {
"name": "JetAK6PF",
"doc" : "AK6PF jets",
},
"ak10pf" : {
"name" : "FatJetAK10PF",
"doc" : "AK10PF jets",
},
}
#
# The reco jet names already exists
# in NanoAOD.
#
recojetNameInNano = [ "Jet", "FatJet" ]
#
# The gen jet names already exists
# in NanoAOD.
#
genjetNameInNano = [ "GenJet", "GenJetAK8" ]
JETVARS = cms.PSet(P4Vars,
HFHEF = Var("HFHadronEnergyFraction()", float, doc = "energy fraction in forward hadronic calorimeter", precision = 6),
HFEMEF = Var("HFEMEnergyFraction()", float, doc = "energy fraction in forward EM calorimeter", precision = 6),
area = jetTable.variables.area,
chHEF = jetTable.variables.chHEF,
neHEF = jetTable.variables.neHEF,
chEmEF = jetTable.variables.chEmEF,
neEmEF = jetTable.variables.neEmEF,
muEF = jetTable.variables.muEF,
rawFactor = jetTable.variables.rawFactor,
jetId = jetTable.variables.jetId,
jercCHPUF = jetTable.variables.jercCHPUF,
jercCHF = jetTable.variables.jercCHF,
)
for modifier in run2_miniAOD_80XLegacy, run2_nanoAOD_94X2016:
modifier.toModify(JETVARS,
jetId = Var("userInt('tightId')*2+userInt('looseId')", int, doc = "Jet ID flags bit1 is loose, bit2 is tight")
)
#============================================
#
# TableGenJetAdder
#
#============================================
class TableGenJetAdder(object):
"""
Tool to store gen jet variables in NanoAOD for customized
gen jet collections.
"""
def __init__(self):
self.main = []
def getSequence(self, proc):
"""
Tool to add
"""
tasks = self.main
resultSequence = cms.Sequence()
for idx, task in enumerate(tasks):
if idx == 0:
resultSequence = cms.Sequence(getattr(proc, task))
else:
resultSequence.insert(idx, getattr(proc, task))
return resultSequence
def addTable(self, proc, genJetInfo):
currentTasks = []
print("custom_jme_cff::TableGenJetAdder::addTable: Adding Table for GenJet Collection: {}".format(genJetInfo.jet))
name = nanoInfo_genjets[genJetInfo.jet]["name"]
doc = nanoInfo_genjets[genJetInfo.jet]["doc"]
if name in genjetNameInNano:
raise RuntimeError('GenJet collection name (%s) taken in NanoAOD for %s' %(name, genJetInfo.jet))
#
# GenJet Table
#
table = "{}Table".format(genJetInfo.jetTagName)
genJetsCollection = "{}{}{}".format(genJetInfo.jetAlgo.upper(), genJetInfo.jetSize, 'GenJetsNoNu')
setattr(proc, table, cms.EDProducer("SimpleCandidateFlatTableProducer",
src = cms.InputTag(genJetsCollection),
cut = cms.string(""),
name = cms.string(name),
doc = cms.string('{} (generator level)'.format(doc)),
singleton = cms.bool(False),
extension = cms.bool(False),
variables = cms.PSet(P4Vars,
area = jetTable.variables.area,
),
)
)
currentTasks.append(table)
#
# GenJet Flavour Table
#
genFlavour = "{}Flavour".format(genJetInfo.jetTagName)
genFlavourTable = "{}Table".format(genFlavour)
if genFlavourTable in self.main:
raise ValueError("Step '%s' already implemented" % genFlavourTable)
setattr(proc, genFlavourTable, cms.EDProducer("GenJetFlavourTableProducer",
name = cms.string(name),
src = cms.InputTag(genJetsCollection),
cut = cms.string(""),
deltaR = cms.double(0.1),
jetFlavourInfos = cms.InputTag(genFlavour),
)
)
currentTasks.append(genFlavourTable)
self.main.extend(currentTasks)
#============================================
#
# TableRecoJetAdder
#
#============================================
class TableRecoJetAdder(object):
"""
Tool to store reco jet variables in NanoAOD for customized
reco jet collections.
"""
def __init__(self):
self.main = []
def getSequence(self, proc):
tasks = self.main
resultSequence = cms.Sequence()
for idx, task in enumerate(tasks):
if idx == 0:
resultSequence = cms.Sequence(getattr(proc, task))
else:
resultSequence.insert(idx, getattr(proc, task))
return resultSequence
def addTable(self, proc, recoJetInfo):
currentTasks = []
print("custom_jme_cff::TableRecoJetAdder::addTable: Adding Table for Reco Jet Collection: {}".format(recoJetInfo.jet))
name = nanoInfo_recojets[recoJetInfo.jet]["name"]
doc = nanoInfo_recojets[recoJetInfo.jet]["doc"]
if name in recojetNameInNano:
raise RuntimeError('RecoJet collection name (%s) taken in NanoAOD for %s' %(name, recoJetInfo.jet))
table = "{}Table".format(recoJetInfo.jetTagName)
if recoJetInfo.skipUserData:
if recoJetInfo.doCalo:
tableContents = cms.PSet(
P4Vars,
area = jetTable.variables.area,
rawFactor = jetTable.variables.rawFactor,
emf = Var("emEnergyFraction()", float, doc = "electromagnetic energy fraction", precision = 10),
)
else:
tableContents = cms.PSet(
P4Vars,
area = jetTable.variables.area,
rawFactor = jetTable.variables.rawFactor,
)
else:
tableContents = JETVARS.clone()
updatedJets = "updatedJets{}".format(recoJetInfo.jetTagName)
setattr(proc, table, cms.EDProducer("SimpleCandidateFlatTableProducer",
src = cms.InputTag(updatedJets),
cut = cms.string(""),
name = cms.string(name),
doc = cms.string(doc),
singleton = cms.bool(False),
extension = cms.bool(False),
variables = tableContents,
)
)
currentTasks.append(table)
tightJetIdLepVeto = "tightJetIdLepVeto{}".format(recoJetInfo.jetTagName)
if not recoJetInfo.skipUserData:
altTasks = copy.deepcopy(currentTasks)
for idx, task in enumerate(altTasks):
if task == tightJetIdLepVeto:
altTasks[idx] = looseJetId
for modifier in run2_miniAOD_80XLegacy, run2_nanoAOD_94X2016:
modifier.toReplaceWith(currentTasks, altTasks)
self.main.extend(currentTasks)
def PrepJMECustomNanoAOD(process):
#
# Additional variables to AK4GenJets
#
process.genJetTable.variables.area = JETVARS.area
#
# Additional variables to AK8GenJets
#
process.genJetAK8Table.variables.area = JETVARS.area
#
# Additional variables for AK4PFCHS
#
process.jetTable.variables.HFHEF = JETVARS.HFHEF
process.jetTable.variables.HFEMEF = JETVARS.HFEMEF
#
# Additional variables to AK8PFPUPPI
#
# These variables are not stored for AK8PFCHS (slimmedJetsAK8)
# in MiniAOD if their pt < 170 GeV. Hence the conditional fill.
#
process.fatJetTable.variables.chHEF = Var("?isPFJet()?chargedHadronEnergyFraction():-1", float, doc="charged Hadron Energy Fraction", precision = 6)
process.fatJetTable.variables.neHEF = Var("?isPFJet()?neutralHadronEnergyFraction():-1", float, doc="neutral Hadron Energy Fraction", precision = 6)
process.fatJetTable.variables.chEmEF = Var("?isPFJet()?chargedEmEnergyFraction():-1", float, doc="charged Electromagnetic Energy Fraction", precision = 6)
process.fatJetTable.variables.neEmEF = Var("?isPFJet()?neutralEmEnergyFraction():-1", float, doc="neutral Electromagnetic Energy Fraction", precision = 6)
process.fatJetTable.variables.muEF = Var("?isPFJet()?muonEnergyFraction():-1", float, doc="muon Energy Fraction", precision = 6)
process.fatJetTable.variables.HFHEF = Var("?isPFJet()?HFHadronEnergyFraction():-1", float, doc="energy fraction in forward hadronic calorimeter", precision = 6)
process.fatJetTable.variables.HFEMEF = Var("?isPFJet()?HFEMEnergyFraction():-1", float, doc="energy fraction in forward EM calorimeter", precision = 6)
#
#
#
process.jercVarsFatJet = process.jercVars.clone(
srcJet = "updatedJetsAK8",
maxDR = 0.8,
)
process.jetSequence.insert(process.jetSequence.index(process.updatedJetsAK8WithUserData), process.jercVarsFatJet)
process.updatedJetsAK8WithUserData.userFloats.jercCHPUF = cms.InputTag(
"%s:chargedHadronPUEnergyFraction" % process.jercVarsFatJet.label()
)
process.updatedJetsAK8WithUserData.userFloats.jercCHF = cms.InputTag(
"%s:chargedHadronCHSEnergyFraction" % process.jercVarsFatJet.label()
)
process.fatJetTable.variables.jercCHPUF = JETVARS.jercCHPUF
process.fatJetTable.variables.jercCHF = JETVARS.jercCHF
#
# Remove any pT cuts.
#
process.finalJets.cut = "" # 15 -> 10
process.finalJetsAK8.cut = "" # 170 -> 170
process.genJetTable.cut = "" # 10 -> 8
process.genJetFlavourTable.cut = "" # 10 -> 8
process.genJetAK8Table.cut = "" # 100 -> 80
process.genJetAK8FlavourTable.cut = "" # 100 -> 80
######################################################################################################################
#
# Add GenJets to NanoAOD
#
genJA = GenJetAdder()
tableGenJA = TableGenJetAdder()
for jetConfig in config_genjets:
cfg = { k : v for k, v in jetConfig.items() if k != "enabled" }
genJetInfo = genJA.addGenJetCollection(process, **cfg)
tableGenJA.addTable(process, genJetInfo)
process.nanoSequenceMC += genJA.getSequence(process)
process.nanoSequenceMC += tableGenJA.getSequence(process)
#
# Add RecoJets to NanoAOD
#
recoJA = RecoJetAdder()
tableRecoJA = TableRecoJetAdder()
for jetConfig in config_recojets:
cfg = { k : v for k, v in jetConfig.items() if k != "enabled" }
recoJetInfo = recoJA.addRecoJetCollection(process, **cfg)
tableRecoJA.addTable(process, recoJetInfo)
process.nanoSequenceMC += recoJA.getSequence(process)
process.nanoSequenceMC += tableRecoJA.getSequence(process)
| 31.676123
| 168
| 0.623106
|
e3479d8c737706c04c13f9035e2ba3982c1f87ff
| 948
|
py
|
Python
|
idact/detail/config/validation/validate_non_negative_int.py
|
intdata-bsc/idact
|
54cb65a711c145351e205970c27c83e6393cccf5
|
[
"MIT"
] | 5
|
2018-12-06T15:40:34.000Z
|
2019-06-19T11:22:58.000Z
|
idact/detail/config/validation/validate_non_negative_int.py
|
garstka/idact
|
b9c8405c94db362c4a51d6bfdf418b14f06f0da1
|
[
"MIT"
] | 9
|
2018-12-06T16:35:26.000Z
|
2019-04-28T19:01:40.000Z
|
idact/detail/config/validation/validate_non_negative_int.py
|
intdata-bsc/idact
|
54cb65a711c145351e205970c27c83e6393cccf5
|
[
"MIT"
] | 2
|
2019-04-28T19:18:58.000Z
|
2019-06-17T06:56:28.000Z
|
"""This module contains a function for validating a non-negative int."""
from idact.detail.config.validation.validation_error_message import \
validation_error_message
VALID_NON_NEGATIVE_INT = "Non-negative int."
def validate_non_negative_int(value, label: str) -> int:
"""Returns the parameter if it's a non negative int, otherwise raises
an exception.
:param value: Object to validate.
:param label: Object label for error message.
:raises TypeError: On wrong type.
:raises ValueError: When integer is out of range.
"""
if not isinstance(value, int):
raise TypeError(validation_error_message(
label=label,
value=value,
expected=VALID_NON_NEGATIVE_INT))
if value < 0:
raise ValueError(validation_error_message(
label=label,
value=value,
expected=VALID_NON_NEGATIVE_INT))
return value
| 27.085714
| 73
| 0.665612
|
b9b158838cb7a3d19b1216deb866e9d440b9b18e
| 5,749
|
py
|
Python
|
gemini/severe_impact.py
|
raonyguimaraes/gemini
|
a8d03f5c5eefc6ef725e667130f141dbb63916b3
|
[
"MIT"
] | null | null | null |
gemini/severe_impact.py
|
raonyguimaraes/gemini
|
a8d03f5c5eefc6ef725e667130f141dbb63916b3
|
[
"MIT"
] | null | null | null |
gemini/severe_impact.py
|
raonyguimaraes/gemini
|
a8d03f5c5eefc6ef725e667130f141dbb63916b3
|
[
"MIT"
] | null | null | null |
import sys
import snpEff
import vep
def interpret_severe_impact(args, var):
"""
Interpret the report from SnpEff or VEP to determine the impact of the variant.
SnpEff examples:
0 NON_SYNONYMOUS_CODING(MODERATE|MISSENSE|Aca/Gca|T/A|OR4F5|protein_coding|CODING|ENST00000335137|exon_1_69091_70008),
1 NON_SYNONYMOUS_CODING(MODERATE|MISSENSE|Aca/Gca|T/A|OR4F5|protein_coding|CODING|ENST00000534990|exon_1_69037_69829)
VEP examples
CSQ: Consequence|Codons|Amino_acids|Gene|hgnc|Feature|EXON|polyphen|sift
non_synonymous_codon|gaT/gaG|D/E|ENSG00000116254|CHD5|ENST00000378006|18/25|benign(0.011)|tolerated(0.3)
nc_transcript_variant|||ENSG00000116254|CHD5|ENST00000491020|5/6||
"""
effect_strings_str = ""
effect_strings = impact_all = string = []
impact_details = impact_features = None
max_severity = 9 # initialize to a value greater than the largest value in impact info priority code
counter = 0 # initialize counter for anno_id
if args.anno_type == "snpEff":
try:
effect_strings_str = var.INFO["EFF"]
effect_strings = effect_strings_str.split(",")
except KeyError:
if "SNPEFF_EFFECT" in var.INFO:
impact_details = snpEff.gatk_effect_details(var.INFO)
else:
sys.stderr.write("WARNING: The input VCF has no snpEFF annotations. "
"Variant impact will be set to unknown\n")
for effect_string in effect_strings:
counter += 1
eff_pieces = snpEff.eff_search.findall(effect_string)
for piece in eff_pieces:
impact_string = piece[0]
# the predicted inpact, which is outside the ()
impact_detail = piece[1]
# all the other information, which is inside the ()
impact_info = snpEff.effect_map[impact_string]
# update the impact stored if a higher or an equal severity transcript
# is encountered
if impact_info.priority_code <= max_severity:
impact_details = snpEff.EffectDetails(impact_string,
impact_info.priority,
impact_detail,
counter,
args.maj_version)
impact_all.append(impact_details)
# store the current "winning" severity for the next iteration
max_severity = impact_info.priority_code
# This would store the highest priority for the next outer loop
top_severity = impact_info.priority
# prioritizing biotype: initialize flags to a high value
set_flag = flag = 4
for idx, impact in enumerate(impact_all):
string = str(impact).split("\t")
if string[1] == str(top_severity) and string[7] == "protein_coding":
set_flag = 0
elif string[1] == str(top_severity) and string[7] != "protein_coding":
set_flag = 1
if string[1] == str(top_severity) and set_flag < flag:
flag = set_flag
impact_features = impact
return impact_features
elif args.anno_type == "VEP":
try:
effect_strings_str = var.INFO["CSQ"]
effect_strings = effect_strings_str.split(",")
except KeyError:
sys.stderr.write("WARNING: The input VCF has no VEP annotations. \
Variant impact will be set to unknown\n")
for effect_string in effect_strings:
# nc_transcript_variant&intron_variant|||ENSG00000243485|MIR1302-11|ENST00000
each_string = effect_string.split("|")
if "&" in each_string[0]:
impact_strings = each_string[0].split("&")
# impact_strings will be [nc_transcript_variant,
# intron_variant]
for impact_string in impact_strings:
counter += 1
try:
impact_info = vep.effect_map[impact_string]
# update the impact stored only if a higher severity
# transcript is encountered
if impact_info.priority_code < max_severity:
impact_details = vep.EffectDetails(
impact_string, impact_info.priority, effect_string, counter)
max_severity = impact_info.priority_code # store the current "winning" severity for the next iteration.
except KeyError:
pass
# we expect VEP to produce a valid impact label for each_string[0]
elif "&" not in each_string[0]:
counter += 1
impact_string = each_string[0]
impact_info = vep.effect_map.get(impact_string)
if impact_info is None:
pass
elif impact_info.priority_code < max_severity:
impact_details = vep.EffectDetails(
impact_string, impact_info.priority, effect_string, counter)
max_severity = impact_info.priority_code # initialize the max_severity to the former value of priority code
else:
# should not get here, as the valid -t options should be handled
# in main()
sys.exit("ERROR: Unsupported variant annotation type.\n")
return impact_details
| 47.122951
| 132
| 0.574187
|
eb4d903516b55cff60acdc37962f7a5b0985124e
| 6,453
|
py
|
Python
|
mapproxy/test/unit/test_request_wmts.py
|
cunha17/mapproxy
|
31f646bbd0465f566c2ac2ea39f8e794bea78dfc
|
[
"ECL-2.0",
"Apache-2.0"
] | 347
|
2015-01-19T15:47:08.000Z
|
2022-03-23T20:33:17.000Z
|
mapproxy/test/unit/test_request_wmts.py
|
cunha17/mapproxy
|
31f646bbd0465f566c2ac2ea39f8e794bea78dfc
|
[
"ECL-2.0",
"Apache-2.0"
] | 374
|
2015-01-05T07:54:31.000Z
|
2022-03-24T08:23:10.000Z
|
mapproxy/test/unit/test_request_wmts.py
|
cunha17/mapproxy
|
31f646bbd0465f566c2ac2ea39f8e794bea78dfc
|
[
"ECL-2.0",
"Apache-2.0"
] | 188
|
2015-01-07T00:59:28.000Z
|
2022-03-15T09:05:57.000Z
|
# This file is part of the MapProxy project.
# Copyright (C) 2011 Omniscale <http://omniscale.de>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from mapproxy.exception import RequestError
from mapproxy.request.wmts import wmts_request, WMTS100CapabilitiesRequest
from mapproxy.request.wmts import (
URLTemplateConverter,
FeatureInfoURLTemplateConverter,
InvalidWMTSTemplate,
make_wmts_rest_request_parser,
WMTS100RestTileRequest,
WMTS100RestFeatureInfoRequest,
)
from mapproxy.request.base import url_decode
import pytest
def dummy_req(args):
return DummyRequest(url_decode(args.replace("\n", "")))
def dummy_rest_req(path):
return DummyRequest(args="", path=path)
class DummyRequest(object):
def __init__(self, args, path="", url=""):
self.args = args
self.path = path
self.base_url = url
def test_tile_request():
args = """requeST=GetTile&service=wmts&tileMatrixset=EPSG900913&
tilematrix=2&tileROW=4&TILECOL=2&FORMAT=image/png&Style=&layer=Foo&version=1.0.0"""
req = wmts_request(dummy_req(args))
assert req.params.coord == (2, 4, "2")
assert req.params.layer == "Foo"
assert req.params.format == "png"
assert req.params.tilematrixset == "EPSG900913"
def test_featureinfo_request():
args = """requeST=GetFeatureInfo&service=wmts&tileMatrixset=EPSG900913&
tilematrix=2&tileROW=4&TILECOL=2&FORMAT=image/png&Style=&layer=Foo&version=1.0.0&
i=5&j=10&infoformat=application/json"""
req = wmts_request(dummy_req(args))
assert req.params.coord == (2, 4, "2")
assert req.params.layer == "Foo"
assert req.params.format == "png"
assert req.params.tilematrixset == "EPSG900913"
assert req.params.pos == (5, 10)
assert req.params.infoformat == "application/json"
def test_capabilities_request():
args = """requeST=GetCapabilities&service=wmts"""
req = wmts_request(dummy_req(args))
assert isinstance(req, WMTS100CapabilitiesRequest)
def test_template_converter():
regexp = URLTemplateConverter(
"/{Layer}/{Style}/{TileMatrixSet}-{TileMatrix}-{TileCol}-{TileRow}/tile"
).regexp()
match = regexp.match("/wmts/test/bar/foo-EPSG4326-4-12-99/tile")
assert match
assert match.groupdict()["Layer"] == "test"
assert match.groupdict()["TileMatrixSet"] == "foo-EPSG4326"
assert match.groupdict()["TileMatrix"] == "4"
assert match.groupdict()["TileCol"] == "12"
assert match.groupdict()["TileRow"] == "99"
assert match.groupdict()["Style"] == "bar"
def test_template_converter_deprecated_format():
# old format that doesn't match the WMTS spec, now deprecated
regexp = URLTemplateConverter(
"/{{Layer}}/{{Style}}/{{TileMatrixSet}}-{{TileMatrix}}-{{TileCol}}-{{TileRow}}/tile"
).regexp()
match = regexp.match("/wmts/test/bar/foo-EPSG4326-4-12-99/tile")
assert match
assert match.groupdict()["Layer"] == "test"
assert match.groupdict()["TileMatrixSet"] == "foo-EPSG4326"
assert match.groupdict()["TileMatrix"] == "4"
assert match.groupdict()["TileCol"] == "12"
assert match.groupdict()["TileRow"] == "99"
assert match.groupdict()["Style"] == "bar"
def test_template_converter_missing_vars():
with pytest.raises(InvalidWMTSTemplate):
URLTemplateConverter("/wmts/{Style}/{TileMatrixSet}/{TileCol}.png").regexp()
def test_template_converter_dimensions():
converter = URLTemplateConverter(
"/{Layer}/{Dim1}/{Dim2}/{TileMatrixSet}-{TileMatrix}-{TileCol}-{TileRow}/tile"
)
assert converter.dimensions == ["Dim1", "Dim2"]
class TestRestRequestParser(object):
@pytest.fixture
def parser(self):
return make_wmts_rest_request_parser(
URLTemplateConverter(
"/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}.{Format}"
),
FeatureInfoURLTemplateConverter(
"/{Layer}/{TileMatrixSet}/{TileMatrix}/{TileCol}/{TileRow}/{I}/{J}.{InfoFormat}"
),
)
@pytest.mark.parametrize(
"url,tile,pos",
[
["/wmts/roads/webmercator/09/201/123/10/30.json", (201, 123, 9), (10, 30)],
["/wmts/roads/webmercator/10/201/1/0/999.json", (201, 1, 10), (0, 999)],
["/wmts/roads/webmercator/09/201/123/10/30json", None, None],
["/wmts/roads/webmercator/09/201/123/10.json", None, None],
["/wmts/roads-webmercator/09/201/123/10/30.json", None, None],
["/roads/webmercator/09/201/123/10/30.json", None, None],
],
)
def test_featureinfo(self, parser, url, tile, pos):
if tile is None:
with pytest.raises(RequestError):
parser(dummy_rest_req(url))
else:
req = parser(dummy_rest_req(url))
assert isinstance(req, WMTS100RestFeatureInfoRequest)
req.make_request()
assert req.pos == pos
assert req.tile == tile
assert req.infoformat == "json"
assert req.tilematrixset == "webmercator"
@pytest.mark.parametrize(
"url,tile",
[
["/wmts/roads/webmercator/09/201/123.png", (201, 123, 9)],
["/wmts/roads/webmercator/10/201/123.png", (201, 123, 10)],
["/wmts/roads/webmercator/10/201/123a.png", None],
["/wmts/roads/webmercator/10/201/123png", None],
["/wmts/roads/webmercator/10/2013.png", None],
["/wmts/roads-webmercator/10/201/123.png", None],
],
)
def test_tile(self, parser, url, tile):
if tile is None:
with pytest.raises(RequestError):
parser(dummy_rest_req(url))
else:
req = parser(dummy_rest_req(url))
assert isinstance(req, WMTS100RestTileRequest)
req.make_request()
assert req.tile == tile
assert req.format == "png"
assert req.tilematrixset == "webmercator"
| 36.050279
| 96
| 0.648071
|
766983ddce7481139bf7afc0780dd13a6f4199ba
| 3,181
|
py
|
Python
|
main_app/coreapp/views.py
|
KiranGangadhar01/FlipkartScrapping
|
ea3fe1a316fb1ff591a46ec7b94fd05ac5c40819
|
[
"MIT"
] | null | null | null |
main_app/coreapp/views.py
|
KiranGangadhar01/FlipkartScrapping
|
ea3fe1a316fb1ff591a46ec7b94fd05ac5c40819
|
[
"MIT"
] | null | null | null |
main_app/coreapp/views.py
|
KiranGangadhar01/FlipkartScrapping
|
ea3fe1a316fb1ff591a46ec7b94fd05ac5c40819
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
from bs4 import BeautifulSoup as soup
import requests
import re
from .models import Information
def basicScrap(request):
def main():
url_list = ["https://www.flipkart.com/signoraware-best-steel-lunch-box"\
"-blue-500ml-350ml-200ml-tumbler-370ml-3-containers-box/p/itm"\
"fedq3gcpfutwv?pid=LBXFED4W8HSF9SPD&otracker=wishlist&lid=LST"\
"LBXFED4W8HSF9SPD8EFHDU&fm=organic&iid=24db7969-8ff2-4574-8550"\
"-dfed03f05549.LBXFED4W8HSF9SPD.PRODUCTSUMMARY&ppt=hp&ppn=hp&s"\
"sid=hm69tsuogg0000001569056937359"]
url_list.append("https://www.flipkart.com/himalaya-anti-hair-fall-sham"\
"poo/p/itmf3xfxdmywkwhs?pid=SMPEUHHFZYBXXHGB&lid=LSTSMPEUHHFZY"\
"BXXHGBNMGARX&marketplace=FLIPKART&sattr[]=quantity&st=quantity")
url_list.append("https://www.flipkart.com/sparx-sfg-529/p/itmfafydk6kw"\
"wurs?pid=SFFE5VWZMMGKQDGE&lid=LSTSFFE5VWZMMGKQDGEGDB3LS&marketpl"\
"ace=FLIPKART&sattr[]=color&sattr[]=size&st=size")
for my_url in url_list:
"""Iterating through each url"""
uClient = requests.get(my_url)
if uClient.status_code == 200:
page_html = uClient.text
page_soup = soup(page_html, "html.parser")
containers = page_soup.find("div", {"class": "_1HmYoV _35HD7C col-8-12"})
name = containers.find("span", {"class": "_35KyD6"})
pName = name.text
print(pName)
price = containers.find("div", {"class": "_1vC4OE _3qQ9m1"})
boxPrice = price.text.strip()
pPrice = int(''.join(filter(str.isdigit, boxPrice)))
print(pPrice)
minPrice = pPrice
get_name = Information.objects.filter(productName=pName)
"""If data not in the record then it'll create new object otherwise it'll update the
existing object with new price"""
if get_name.count()==0:
information_instance = Information.objects.create(
productName=pName, productPrice=pPrice,
minPrice=minPrice, maxP=pPrice)
else:
minPrice = get_name[0].minPrice
maxP = get_name[0].maxP
if minPrice > pPrice:
minPrice=pPrice
if maxP < pPrice:
maxP=pPrice
information_instance = Information.objects.filter(productName=pName).update(
productPrice=pPrice,
minPrice=minPrice, maxP=maxP)
print(minPrice)
else:
print('Not Found.')
main()
details = Information.objects.all()
detailsDict = {'detailsDict' : details}
return render(request, 'coreapp/index.html', context=detailsDict)
| 45.442857
| 101
| 0.546055
|
3d060c0d217dfb19c9a8c86e0947fe4f6bf1a97e
| 24,244
|
py
|
Python
|
sdv/metadata/table.py
|
argo12/SDV
|
7f90bb3a3f9991b34f4c4363edd91e3fa448fd17
|
[
"MIT"
] | 1
|
2021-03-07T21:30:40.000Z
|
2021-03-07T21:30:40.000Z
|
sdv/metadata/table.py
|
ppeddada97/SDV
|
6fbddedcd1ed02adcd7a0ec3698f280a9a86e01c
|
[
"MIT"
] | null | null | null |
sdv/metadata/table.py
|
ppeddada97/SDV
|
6fbddedcd1ed02adcd7a0ec3698f280a9a86e01c
|
[
"MIT"
] | null | null | null |
"""Metadata for a single table."""
import copy
import json
import logging
import numpy as np
import pandas as pd
import rdt
from faker import Faker
from sdv.constraints.base import Constraint
from sdv.metadata.errors import MetadataError, MetadataNotFittedError
from sdv.metadata.utils import strings_from_regex
LOGGER = logging.getLogger(__name__)
class Table:
"""Table Metadata.
The Metadata class provides a unified layer of abstraction over the metadata
of a single Table, which includes all the necessary details to handle the
table of this data, including the data types, the fields with pii information
and the constraints that affect this data.
Args:
name (str):
Name of this table. Optional.
field_names (list[str]):
List of names of the fields that need to be modeled
and included in the generated output data. Any additional
fields found in the data will be ignored and will not be
included in the generated output.
If ``None``, all the fields found in the data are used.
field_types (dict[str, dict]):
Dictinary specifying the data types and subtypes
of the fields that will be modeled. Field types and subtypes
combinations must be compatible with the SDV Metadata Schema.
field_transformers (dict[str, str]):
Dictinary specifying which transformers to use for each field.
Available transformers are:
* ``integer``: Uses a ``NumericalTransformer`` of dtype ``int``.
* ``float``: Uses a ``NumericalTransformer`` of dtype ``float``.
* ``categorical``: Uses a ``CategoricalTransformer`` without gaussian noise.
* ``categorical_fuzzy``: Uses a ``CategoricalTransformer`` adding gaussian noise.
* ``one_hot_encoding``: Uses a ``OneHotEncodingTransformer``.
* ``label_encoding``: Uses a ``LabelEncodingTransformer``.
* ``boolean``: Uses a ``BooleanTransformer``.
* ``datetime``: Uses a ``DatetimeTransformer``.
anonymize_fields (dict[str, str]):
Dict specifying which fields to anonymize and what faker
category they belong to.
primary_key (str):
Name of the field which is the primary key of the table.
constraints (list[Constraint, dict]):
List of Constraint objects or dicts.
dtype_transformers (dict):
Dictionary of transformer templates to be used for the
different data types. The keys must be any of the `dtype.kind`
values, `i`, `f`, `O`, `b` or `M`, and the values must be
either RDT Transformer classes or RDT Transformer instances.
model_kwargs (dict):
Dictionary specifiying the kwargs that need to be used in
each tabular model when working on this table. This dictionary
contains as keys the name of the TabularModel class and as
values a dictionary containing the keyword arguments to use.
This argument exists mostly to ensure that the models are
fitted using the same arguments when the same Table is used
to fit different model instances on different slices of the
same table.
sequence_index (str):
Name of the column that acts as the order index of each
sequence. The sequence index column can be of any type that can
be sorted, such as integer values or datetimes.
entity_columns (list[str]):
Names of the columns which identify different time series
sequences. These will be used to group the data in separated
training examples.
context_columns (list[str]):
The columns in the dataframe which are constant within each
group/entity. These columns will be provided at sampling time
(i.e. the samples will be conditioned on the context variables).
"""
_hyper_transformer = None
_fakers = None
_constraint_instances = None
_fields_metadata = None
fitted = False
_ANONYMIZATION_MAPPINGS = dict()
_TRANSFORMER_TEMPLATES = {
'integer': rdt.transformers.NumericalTransformer(dtype=int),
'float': rdt.transformers.NumericalTransformer(dtype=float),
'categorical': rdt.transformers.CategoricalTransformer,
'categorical_fuzzy': rdt.transformers.CategoricalTransformer(fuzzy=True),
'one_hot_encoding': rdt.transformers.OneHotEncodingTransformer,
'label_encoding': rdt.transformers.LabelEncodingTransformer,
'boolean': rdt.transformers.BooleanTransformer,
'datetime': rdt.transformers.DatetimeTransformer(strip_constant=True),
}
_DTYPE_TRANSFORMERS = {
'i': 'integer',
'f': 'float',
'O': 'one_hot_encoding',
'b': 'boolean',
'M': 'datetime',
}
_DTYPES_TO_TYPES = {
'i': {
'type': 'numerical',
'subtype': 'integer',
},
'f': {
'type': 'numerical',
'subtype': 'float',
},
'O': {
'type': 'categorical',
},
'b': {
'type': 'boolean',
},
'M': {
'type': 'datetime',
}
}
_TYPES_TO_DTYPES = {
('categorical', None): 'object',
('boolean', None): 'bool',
('numerical', None): 'float',
('numerical', 'float'): 'float',
('numerical', 'integer'): 'int',
('datetime', None): 'datetime64',
('id', None): 'int',
('id', 'integer'): 'int',
('id', 'string'): 'str'
}
def _get_faker(self, category):
"""Return the faker object to anonymize data.
Args:
category (str or tuple):
Fake category to use. If a tuple is passed, the first element is
the category and the rest are additional arguments for the Faker.
Returns:
function:
Faker function to generate new fake data instances.
Raises:
ValueError:
A ``ValueError`` is raised if the faker category we want don't exist.
"""
if isinstance(category, (tuple, list)):
category, *args = category
else:
args = tuple()
try:
faker_method = getattr(Faker(), category)
if not args:
return faker_method
def faker():
return faker_method(*args)
return faker
except AttributeError:
raise ValueError('Category "{}" couldn\'t be found on faker'.format(category))
def __init__(self, name=None, field_names=None, field_types=None, field_transformers=None,
anonymize_fields=None, primary_key=None, constraints=None,
dtype_transformers=None, model_kwargs=None, sequence_index=None,
entity_columns=None, context_columns=None):
self.name = name
self._field_names = field_names
self._field_types = field_types or {}
self._field_transformers = field_transformers or {}
self._anonymize_fields = anonymize_fields or {}
self._model_kwargs = model_kwargs or {}
self._primary_key = primary_key
self._sequence_index = sequence_index
self._entity_columns = entity_columns or []
self._context_columns = context_columns or []
self._constraints = constraints or []
self._dtype_transformers = self._DTYPE_TRANSFORMERS.copy()
if dtype_transformers:
self._dtype_transformers.update(dtype_transformers)
def __repr__(self):
return 'Table(name={}, field_names={})'.format(self.name, self._field_names)
def get_model_kwargs(self, model_name):
"""Return the required model kwargs for the indicated model.
Args:
model_name (str):
Qualified Name of the model for which model kwargs
are needed.
Returns:
dict:
Keyword arguments to use on the indicated model.
"""
return copy.deepcopy(self._model_kwargs.get(model_name))
def set_model_kwargs(self, model_name, model_kwargs):
"""Set the model kwargs used for the indicated model."""
self._model_kwargs[model_name] = model_kwargs
def _get_field_dtype(self, field_name, field_metadata):
field_type = field_metadata['type']
field_subtype = field_metadata.get('subtype')
dtype = self._TYPES_TO_DTYPES.get((field_type, field_subtype))
if not dtype:
raise MetadataError(
'Invalid type and subtype combination for field {}: ({}, {})'.format(
field_name, field_type, field_subtype)
)
return dtype
def get_fields(self):
"""Get fields metadata.
Returns:
dict:
Dictionary of fields metadata for this table.
"""
return copy.deepcopy(self._fields_metadata)
def get_dtypes(self, ids=False):
"""Get a ``dict`` with the ``dtypes`` for each field of the table.
Args:
ids (bool):
Whether or not to include the id fields. Defaults to ``False``.
Returns:
dict:
Dictionary that contains the field names and data types.
"""
dtypes = dict()
for name, field_meta in self._fields_metadata.items():
field_type = field_meta['type']
if ids or (field_type != 'id'):
dtypes[name] = self._get_field_dtype(name, field_meta)
return dtypes
def _build_fields_metadata(self, data):
"""Build all the fields metadata.
Args:
data (pandas.DataFrame):
Data to be analyzed.
Returns:
dict:
Dict of valid fields.
Raises:
ValueError:
If a column from the data analyzed is an unsupported data type
"""
fields_metadata = dict()
for field_name in self._field_names:
if field_name not in data:
raise ValueError('Field {} not found in given data'.format(field_name))
field_meta = self._field_types.get(field_name)
if field_meta:
dtype = self._get_field_dtype(field_name, field_meta)
else:
dtype = data[field_name].dtype
field_template = self._DTYPES_TO_TYPES.get(dtype.kind)
if field_template is None:
msg = 'Unsupported dtype {} in column {}'.format(dtype, field_name)
raise ValueError(msg)
field_meta = copy.deepcopy(field_template)
field_transformer = self._field_transformers.get(field_name)
if field_transformer:
field_meta['transformer'] = field_transformer
else:
field_meta['transformer'] = self._dtype_transformers.get(np.dtype(dtype).kind)
anonymize_category = self._anonymize_fields.get(field_name)
if anonymize_category:
field_meta['pii'] = True
field_meta['pii_category'] = anonymize_category
fields_metadata[field_name] = field_meta
return fields_metadata
def _get_transformers(self, dtypes):
"""Create the transformer instances needed to process the given dtypes.
Args:
dtypes (dict):
mapping of field names and dtypes.
Returns:
dict:
mapping of field names and transformer instances.
"""
transformers = dict()
for name, dtype in dtypes.items():
field_metadata = self._fields_metadata.get(name, {})
transformer_template = field_metadata.get('transformer')
if transformer_template is None:
transformer_template = self._dtype_transformers[np.dtype(dtype).kind]
if transformer_template is None:
# Skip this dtype
continue
field_metadata['transformer'] = transformer_template
if isinstance(transformer_template, str):
transformer_template = self._TRANSFORMER_TEMPLATES[transformer_template]
if isinstance(transformer_template, type):
transformer = transformer_template()
else:
transformer = copy.deepcopy(transformer_template)
LOGGER.debug('Loading transformer %s for field %s',
transformer.__class__.__name__, name)
transformers[name] = transformer
return transformers
def _fit_transform_constraints(self, data):
for idx, constraint in enumerate(self._constraints):
if isinstance(constraint, type):
constraint = constraint().to_dict()
elif isinstance(constraint, Constraint):
constraint = constraint.to_dict()
constraint = Constraint.from_dict(constraint)
self._constraints[idx] = constraint
data = constraint.fit_transform(data)
return data
def _fit_hyper_transformer(self, data, extra_columns):
"""Create and return a new ``rdt.HyperTransformer`` instance.
First get the ``dtypes`` and then use them to build a transformer dictionary
to be used by the ``HyperTransformer``.
Args:
data (pandas.DataFrame):
Data to transform.
extra_columns (set):
Names of columns that are not in the metadata but that should also
be transformed. In most cases, these are the fields that were added
by previous transformations which the data underwent.
Returns:
rdt.HyperTransformer
"""
meta_dtypes = self.get_dtypes(ids=False)
dtypes = {}
for column in data.columns:
if column in meta_dtypes:
dtypes[column] = meta_dtypes[column]
elif column in extra_columns:
dtypes[column] = data[column].dtype.kind
transformers_dict = self._get_transformers(dtypes)
self._hyper_transformer = rdt.HyperTransformer(transformers=transformers_dict)
self._hyper_transformer.fit(data[list(dtypes.keys())])
@staticmethod
def _get_key_subtype(field_meta):
"""Get the appropriate key subtype."""
field_type = field_meta['type']
if field_type == 'categorical':
field_subtype = 'string'
elif field_type in ('numerical', 'id'):
field_subtype = field_meta['subtype']
if field_subtype not in ('integer', 'string'):
raise ValueError(
'Invalid field "subtype" for key field: "{}"'.format(field_subtype)
)
else:
raise ValueError(
'Invalid field "type" for key field: "{}"'.format(field_type)
)
return field_subtype
def set_primary_key(self, primary_key):
"""Set the primary key of this table.
The field must exist and either be an integer or categorical field.
Args:
primary_key (str or list):
Name of the field(s) to be used as the new primary key.
Raises:
ValueError:
If the table or the field do not exist or if the field has an
invalid type or subtype.
"""
if primary_key is not None:
fields = primary_key if isinstance(primary_key, list) else [primary_key]
for field_name in fields:
if field_name not in self._fields_metadata:
raise ValueError('Field "{}" does not exist in this table'.format(field_name))
field_metadata = self._fields_metadata[field_name]
if field_metadata['type'] != 'id':
field_subtype = self._get_key_subtype(field_metadata)
field_metadata.update({
'type': 'id',
'subtype': field_subtype
})
self._primary_key = primary_key
def _make_anonymization_mappings(self, data):
mappings = {}
for name, field_metadata in self._fields_metadata.items():
if field_metadata['type'] != 'id' and field_metadata.get('pii'):
faker = self._get_faker(field_metadata['pii_category'])
uniques = data[name].unique()
fake_values = [faker() for _ in range(len(uniques))]
mappings[name] = dict(zip(uniques, fake_values))
self._ANONYMIZATION_MAPPINGS[id(self)] = mappings
return mappings
def _anonymize(self, data):
anonymization_mappings = self._ANONYMIZATION_MAPPINGS.get(id(self))
if anonymization_mappings:
data = data.copy()
for name, mapping in anonymization_mappings.items():
if name in data:
data[name] = data[name].map(mapping)
return data
def fit(self, data):
"""Fit this metadata to the given data.
Args:
data (pandas.DataFrame):
Table to be analyzed.
"""
LOGGER.info('Fitting table %s metadata', self.name)
if not self._field_names:
self._field_names = list(data.columns)
elif isinstance(self._field_names, set):
self._field_names = [field for field in data.columns if field in self._field_names]
self._dtypes = data[self._field_names].dtypes
if not self._fields_metadata:
self._fields_metadata = self._build_fields_metadata(data)
# Re-set the primary key to validate its name and type
self.set_primary_key(self._primary_key)
self._make_anonymization_mappings(data)
LOGGER.info('Anonymizing table %s', self.name)
data = self._anonymize(data)
LOGGER.info('Fitting constraints for table %s', self.name)
constrained = self._fit_transform_constraints(data)
extra_columns = set(constrained.columns) - set(data.columns)
LOGGER.info('Fitting HyperTransformer for table %s', self.name)
self._fit_hyper_transformer(constrained, extra_columns)
self.fitted = True
def transform(self, data):
"""Transform the given data.
Args:
data (pandas.DataFrame):
Table data.
Returns:
pandas.DataFrame:
Transformed data.
"""
if not self.fitted:
raise MetadataNotFittedError()
fields = [field for field in self.get_dtypes(ids=False) if field in data.columns]
LOGGER.debug('Anonymizing table %s', self.name)
data = self._anonymize(data[fields])
LOGGER.debug('Transforming constraints for table %s', self.name)
for constraint in self._constraints:
data = constraint.transform(data)
LOGGER.debug('Transforming table %s', self.name)
return self._hyper_transformer.transform(data)
@classmethod
def _make_ids(cls, field_metadata, length):
field_subtype = field_metadata.get('subtype', 'integer')
if field_subtype == 'string':
regex = field_metadata.get('regex', '[a-zA-Z]+')
generator, max_size = strings_from_regex(regex)
if max_size < length:
raise ValueError((
'Unable to generate {} unique values for regex {}, the '
'maximum number of unique values is {}.'
).format(length, regex, max_size))
values = [next(generator) for _ in range(length)]
return pd.Series(list(values)[:length])
else:
return pd.Series(np.arange(length))
def reverse_transform(self, data):
"""Reverse the transformed data to the original format.
Args:
data (pandas.DataFrame):
Data to be reverse transformed.
Returns:
pandas.DataFrame
"""
if not self.fitted:
raise MetadataNotFittedError()
reversed_data = self._hyper_transformer.reverse_transform(data)
for constraint in self._constraints:
reversed_data = constraint.reverse_transform(reversed_data)
for name, field_metadata in self._fields_metadata.items():
field_type = field_metadata['type']
if field_type == 'id' and name not in reversed_data:
field_data = self._make_ids(field_metadata, len(reversed_data))
elif field_metadata.get('pii', False):
faker = self._get_faker(field_metadata['pii_category'])
field_data = pd.Series([faker() for _ in range(len(reversed_data))])
else:
field_data = reversed_data[name]
reversed_data[name] = field_data[field_data.notnull()].astype(self._dtypes[name])
return reversed_data[self._field_names]
def filter_valid(self, data):
"""Filter the data using the constraints and return only the valid rows.
Args:
data (pandas.DataFrame):
Table data.
Returns:
pandas.DataFrame:
Table containing only the valid rows.
"""
for constraint in self._constraints:
data = constraint.filter_valid(data)
return data
# ###################### #
# Metadata Serialization #
# ###################### #
def to_dict(self):
"""Get a dict representation of this metadata.
Returns:
dict:
dict representation of this metadata.
"""
return {
'fields': copy.deepcopy(self._fields_metadata),
'constraints': [
constraint if isinstance(constraint, dict) else constraint.to_dict()
for constraint in self._constraints
],
'model_kwargs': copy.deepcopy(self._model_kwargs),
'name': self.name,
'primary_key': self._primary_key,
'sequence_index': self._sequence_index,
'entity_columns': self._entity_columns,
'context_columns': self._context_columns,
}
def to_json(self, path):
"""Dump this metadata into a JSON file.
Args:
path (str):
Path of the JSON file where this metadata will be stored.
"""
with open(path, 'w') as out_file:
json.dump(self.to_dict(), out_file, indent=4)
@classmethod
def from_dict(cls, metadata_dict, dtype_transformers=None):
"""Load a Table from a metadata dict.
Args:
metadata_dict (dict):
Dict metadata to load.
dtype_transformers (dict):
If passed, set the dtype_transformers on the new instance.
"""
metadata_dict = copy.deepcopy(metadata_dict)
fields = metadata_dict['fields'] or {}
instance = cls(
name=metadata_dict.get('name'),
field_names=set(fields.keys()),
field_types=fields,
constraints=metadata_dict.get('constraints') or [],
model_kwargs=metadata_dict.get('model_kwargs') or {},
primary_key=metadata_dict.get('primary_key'),
sequence_index=metadata_dict.get('sequence_index'),
entity_columns=metadata_dict.get('entity_columns') or [],
context_columns=metadata_dict.get('context_columns') or [],
dtype_transformers=dtype_transformers,
)
instance._fields_metadata = fields
return instance
@classmethod
def from_json(cls, path):
"""Load a Table from a JSON.
Args:
path (str):
Path of the JSON file to load
"""
with open(path, 'r') as in_file:
return cls.from_dict(json.load(in_file))
| 36.789074
| 98
| 0.595611
|
f8103f5dda307ccbcd7d0201268753fe86102d35
| 1,756
|
py
|
Python
|
cnn.py
|
archit120/lingatagger
|
cb3d0e262900dba1fd1ead0a37fad531e37cff9f
|
[
"Apache-2.0"
] | 1
|
2019-06-29T10:59:22.000Z
|
2019-06-29T10:59:22.000Z
|
cnn.py
|
archit120/lingatagger
|
cb3d0e262900dba1fd1ead0a37fad531e37cff9f
|
[
"Apache-2.0"
] | null | null | null |
cnn.py
|
archit120/lingatagger
|
cb3d0e262900dba1fd1ead0a37fad531e37cff9f
|
[
"Apache-2.0"
] | null | null | null |
import pickle
with open('X', 'rb') as fp:
X_cnn = pickle.load(fp)
with open('Y', 'rb') as fp:
Y_cnn = pickle.load(fp)
a = set(list(set("ऀँंःऄअआइईउऊऋऌऍऎएऐऑऒओऔकखगघङचछजझञटठडढणतथदधनऩपफबभमयरऱलळऴवशषसहऺऻ़ऽािीुूृॄॅॆेैॉॊोौ्ॎॏॐ॒॑॓॔ॕॖॗक़ख़ग़ज़ड़ढ़फ़य़ॠॡॢॣ।॥॰ॱॲॳॴॵॶॷॸॹॺॻॼॽॾॿ-")))
split1 = int(len(Y_cnn)*0.8)
X_train = X_cnn[:split1]
Y_train = Y_cnn[:split1]
X_test = X_cnn[split1:]
Y_test = Y_cnn[split1:]
from keras.models import Sequential
from keras.layers import Dense, Dropout
from keras.layers import Embedding
from keras.layers import Conv1D, GlobalAveragePooling1D, MaxPooling1D
max_features = len(a)+1
for loss_f in ['binary_crossentropy']:
for opt in ['rmsprop','adam','nadam','sgd']:
for cnn_len in [32,64,128]:
for dropout in [0.4,0.45,0.5,0.55,0.6]:
model = Sequential()
model.add(Conv1D(cnn_len, 3, activation='relu', input_shape=(18, 120)))
model.add(Conv1D(64, 3, activation='relu'))
model.add(MaxPooling1D(3))
model.add(GlobalAveragePooling1D())
model.add(Dropout(dropout))
model.add(Dense(1, activation='sigmoid'))
model.compile(loss=loss_f,
optimizer=opt,
metrics=['accuracy'])
print("Training new model, loss:"+loss_f+", optimizer="+opt+", cnn_len="+str(cnn_len)+", dropoff="+str(dropout))
model.fit(X_train, Y_train, batch_size=512, validation_split = 0.2, epochs=20, verbose=2)
score = model.evaluate(X_test, Y_test, batch_size=512, verbose = 0)
print("")
print("test score: " + str(score))
print("")
print("")
| 40.837209
| 141
| 0.577449
|
8aa4e050e1b4b3a4d70feeb585f91d89b805bca3
| 7,242
|
py
|
Python
|
gym_molecule/envs/docking_simple.py
|
AITRICS/FREED
|
ff75e903808edc57f01ef6d0d198b44a56dcdf4b
|
[
"Apache-2.0"
] | 29
|
2021-11-03T09:27:41.000Z
|
2022-03-29T00:49:00.000Z
|
gym_molecule/envs/docking_simple.py
|
doxxitxxyoung/FREED
|
f7fed79dd98c0ea2ea66ae9b03de63fc57083995
|
[
"Apache-2.0"
] | 1
|
2022-01-11T08:02:58.000Z
|
2022-03-06T05:49:54.000Z
|
gym_molecule/envs/docking_simple.py
|
doxxitxxyoung/FREED
|
f7fed79dd98c0ea2ea66ae9b03de63fc57083995
|
[
"Apache-2.0"
] | 7
|
2021-12-09T07:13:06.000Z
|
2022-02-15T11:15:47.000Z
|
#!/usr/bin/env python
import sys
import os
from multiprocessing import Manager
from multiprocessing import Process
from multiprocessing import Queue
import subprocess
from openbabel import pybel
# import pybel
class DockingVina(object):
"""
python module for Vina
"""
def __init__(self, docking_params):
"""
Construction Docking object
put parameters with dictionary
docking_params['vina_program']
docking_params['receptor_file']
docking_params['box_parameter']
(self.box_center, self.box_size) = box_parameter
docking_params['temp_dir']
docking_params['exhaustiveness']
docking_params['num_sub_proc']
docking_params['num_cpu_dock']
docking_params['num_modes']
docking_params['timeout_gen3d']
docking_params['timeout_dock']
"""
super(DockingVina, self).__init__()
self.vina_program = docking_params['vina_program']
self.receptor_file = docking_params['receptor_file']
box_parameter = docking_params['box_parameter']
(self.box_center, self.box_size) = box_parameter
self.temp_dir = docking_params['temp_dir']
self.exhaustiveness = docking_params['exhaustiveness']
self.num_sub_proc = docking_params['num_sub_proc']
self.num_cpu_dock = docking_params['num_cpu_dock']
self.num_modes = docking_params['num_modes']
self.timeout_gen3d = docking_params['timeout_gen3d']
self.timeout_dock = docking_params['timeout_dock']
if not os.path.exists(self.temp_dir):
os.makedirs(self.temp_dir)
def gen_3d(self, smi, ligand_mol_file):
"""
generate initial 3d conformation from SMILES
input :
SMILES string
ligand_mol_file (output file)
"""
run_line = 'obabel -:%s --gen3D -O %s' % (smi, ligand_mol_file)
result = subprocess.check_output(run_line.split(),
stderr=subprocess.STDOUT,
timeout=self.timeout_gen3d, universal_newlines=True)
def docking(self, receptor_file, ligand_mol_file, ligand_pdbqt_file, docking_pdbqt_file):
"""
run_docking program using subprocess
input :
receptor_file
ligand_mol_file
ligand_pdbqt_file
docking_pdbqt_file
output :
affinity list for a input molecule
"""
ms = list(pybel.readfile("mol", ligand_mol_file))
m = ms[0]
m.write("pdbqt", ligand_pdbqt_file, overwrite=True)
run_line = '%s --receptor %s --ligand %s --out %s' % (self.vina_program,
receptor_file, ligand_pdbqt_file, docking_pdbqt_file)
run_line += ' --center_x %s --center_y %s --center_z %s' %(self.box_center)
run_line += ' --size_x %s --size_y %s --size_z %s' %(self.box_size)
run_line += ' --cpu %d' % (self.num_cpu_dock)
run_line += ' --num_modes %d' % (self.num_modes)
run_line += ' --exhaustiveness %d ' % (self.exhaustiveness)
result = subprocess.check_output(run_line.split(),
stderr=subprocess.STDOUT,
timeout=self.timeout_dock, universal_newlines=True)
result_lines = result.split('\n')
check_result = False
affinity_list = list()
for result_line in result_lines:
if result_line.startswith('-----+'):
check_result = True
continue
if not check_result:
continue
if result_line.startswith('Writing output'):
break
if result_line.startswith('Refine time'):
break
lis = result_line.strip().split()
if not lis[0].isdigit():
break
# mode = int(lis[0])
affinity = float(lis[1])
affinity_list += [affinity]
return affinity_list
def creator(self, q, data, num_sub_proc):
"""
put data to queue
input: queue
data = [(idx1,smi1), (idx2,smi2), ...]
num_sub_proc (for end signal)
"""
for d in data:
idx = d[0]
dd = d[1]
q.put((idx, dd))
for i in range(0, num_sub_proc):
q.put('DONE')
def docking_subprocess(self, q, return_dict, sub_id=0):
"""
generate subprocess for docking
input
q (queue)
return_dict
sub_id: subprocess index for temp file
"""
while True:
qqq = q.get()
if qqq == 'DONE':
break
(idx, smi) = qqq
# print(smi)
receptor_file = self.receptor_file
ligand_mol_file = '%s/ligand_%s.mol' % (self.temp_dir, sub_id)
ligand_pdbqt_file = '%s/ligand_%s.pdbqt' % (self.temp_dir, sub_id)
docking_pdbqt_file = '%s/dock_%s.pdbqt' % (self.temp_dir, sub_id)
try:
self.gen_3d(smi, ligand_mol_file)
except Exception as e:
print(e)
print("gen_3d unexpected error:", sys.exc_info())
print("smiles: ", smi)
return_dict[idx] = 99.9
continue
try:
affinity_list = self.docking(receptor_file, ligand_mol_file,
ligand_pdbqt_file, docking_pdbqt_file)
except Exception as e:
print(e)
print("docking unexpected error:", sys.exc_info())
print("smiles: ", smi)
return_dict[idx] = 99.9
continue
if len(affinity_list)==0:
affinity_list.append(99.9)
affinity = affinity_list[0]
return_dict[idx] = affinity
def predict(self, smiles_list):
"""
input SMILES list
output affinity list corresponding to the SMILES list
if docking is fail, docking score is 99.9
"""
data = list(enumerate(smiles_list))
q1 = Queue()
manager = Manager()
return_dict = manager.dict()
proc_master = Process(target=self.creator,
args=(q1, data, self.num_sub_proc))
proc_master.start()
# create slave process
procs = []
for sub_id in range(0, self.num_sub_proc):
proc = Process(target=self.docking_subprocess,
args=(q1, return_dict, sub_id))
procs.append(proc)
proc.start()
q1.close()
q1.join_thread()
proc_master.join()
for proc in procs:
proc.join()
keys = sorted(return_dict.keys())
affinity_list = list()
for key in keys:
affinity = return_dict[key]
affinity_list += [affinity]
return affinity_list
| 37.329897
| 115
| 0.540597
|
8586980b429d66292b83f2ca4ee18003af5f0695
| 5,318
|
py
|
Python
|
src/globus_cli/commands/logout.py
|
globusonline/globus-cli
|
696857baafac198141edc3c1c29c72215f217df1
|
[
"Apache-2.0"
] | null | null | null |
src/globus_cli/commands/logout.py
|
globusonline/globus-cli
|
696857baafac198141edc3c1c29c72215f217df1
|
[
"Apache-2.0"
] | 1
|
2016-04-09T17:26:05.000Z
|
2016-04-11T16:13:50.000Z
|
src/globus_cli/commands/logout.py
|
globusonline/globus-cli
|
696857baafac198141edc3c1c29c72215f217df1
|
[
"Apache-2.0"
] | null | null | null |
import click
import globus_sdk
from globus_sdk import AuthAPIError
from globus_cli.login_manager import (
LoginManager,
delete_templated_client,
internal_native_client,
is_client_login,
token_storage_adapter,
)
from globus_cli.login_manager.auth_flows import _STORE_CONFIG_USERINFO
from globus_cli.parsing import command
def warnecho(msg):
click.echo(click.style(msg, fg="yellow"), err=True)
_LOGOUT_EPILOG = """\
You are now successfully logged out of the Globus CLI.
You may also want to logout of any browser session you have with Globus:
https://auth.globus.org/v2/web/logout
Before attempting any further CLI commands, you will have to login again using
globus login
"""
_CLIENT_LOGOUT_EPILOG = """
You have successfully revoked all CLI tokens for this client identity,
however client identities are always considered logged in as they can request
new tokens at will.
You will need to unset the GLOBUS_CLI_CLIENT_ID and GLOBUS_CLI_CLIENT_SECRET
environment variables if you wish to prevent further use of the Globus CLI
with this client identity, or be able to run globus login for a normal login
flow.
"""
@command(
"logout",
short_help="Logout of the Globus CLI",
disable_options=["format", "map_http_status"],
)
@click.confirmation_option(
prompt="Are you sure you want to logout?",
help='Automatically say "yes" to all prompts',
)
@click.option(
"--ignore-errors",
help="Ignore any errors encountered during logout",
is_flag=True,
default=False,
)
@LoginManager.requires_login()
def logout_command(*, login_manager: LoginManager, ignore_errors):
"""
Logout of the Globus CLI
This command both removes all tokens used for authenticating the user from local
storage and revokes them so that they cannot be used anymore globally.
If an expected token cannot be found in local storage a warning will be raised
as it is possible the token still exists and needs to be manually rescinded
at https://auth.globus.org/consents for security.
If the GLOBUS_PROFILE environment variable is set, you will log out of the account
for the profile it's set to, and may still be logged in on other profiles,
including the default profile. See the docs for details:
https://docs.globus.org/cli/environment_variables/#profile_switching_with_globus_profile
"""
# try to get the user's preferred username from userinfo
# if an API error is raised, they probably are not logged in
try:
username = login_manager.get_auth_client().oauth2_userinfo()[
"preferred_username"
]
except AuthAPIError:
warnecho(
"Unable to lookup username. You may not be logged in. "
"Attempting logout anyway...\n"
)
username = None
if is_client_login():
click.echo(f"Revoking all CLI tokens for {username}")
else:
click.echo(
"Logging out of Globus{}\n".format(" as " + username if username else "")
)
# first, try to delete the templated credentialed client
# ignore failure (maybe creds are already invalidated or the client was deleted)
# client logins don't do this as they don't use a templated client
if not is_client_login():
try:
delete_templated_client()
except AuthAPIError:
if not ignore_errors:
warnecho(
"Failure while deleting internal client. "
"Please try logging out again",
)
click.get_current_context().exit(1)
else:
warnecho(
"Warning: Failed to delete internal client. "
"Continuing... (--ignore-errors)",
)
# because the client was deleted above, the tokens should all be revoked
# but it could have been the `--ignore-errors` case, so take a shot at revoking
# tokens
# use the native client for this purpose so that we definitely have a valid API
# client in this case
native_client = internal_native_client()
adapter = token_storage_adapter()
for rs, tokendata in adapter.get_by_resource_server().items():
for tok_key in ("access_token", "refresh_token"):
token = tokendata[tok_key]
try:
native_client.oauth2_revoke_token(token)
# if we network error, revocation failed -- print message and abort so
# that the user can try again when the network is working
except globus_sdk.NetworkError:
if not ignore_errors:
warnecho(
"Failed to reach Globus to revoke tokens. "
"Because we cannot revoke these tokens, cancelling logout",
)
click.get_current_context().exit(1)
else:
warnecho(
"Warning: Failed to reach Globus to revoke tokens. "
"Continuing... (--ignore-errors)",
)
adapter.remove_tokens_for_resource_server(rs)
adapter.remove_config(_STORE_CONFIG_USERINFO)
if is_client_login():
click.echo(_CLIENT_LOGOUT_EPILOG)
else:
click.echo(_LOGOUT_EPILOG)
| 34.986842
| 92
| 0.660211
|
5e16f6ebce5c8337418e9c16385a8d7280bd62b9
| 19,239
|
py
|
Python
|
tensorflow/python/kernel_tests/split_op_test.py
|
devsangwoo/tensor
|
066592c9f9cdf4acdd1b9b104766271133e9088e
|
[
"Apache-2.0"
] | 1
|
2020-01-12T14:38:34.000Z
|
2020-01-12T14:38:34.000Z
|
tensorflow/python/kernel_tests/split_op_test.py
|
devsangwoo/tensor
|
066592c9f9cdf4acdd1b9b104766271133e9088e
|
[
"Apache-2.0"
] | null | null | null |
tensorflow/python/kernel_tests/split_op_test.py
|
devsangwoo/tensor
|
066592c9f9cdf4acdd1b9b104766271133e9088e
|
[
"Apache-2.0"
] | null | null | null |
<<<<<<< HEAD
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Functional tests for Split Op."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import errors_impl
from tensorflow.python.framework import ops
from tensorflow.python.framework import test_util
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import gradients_impl
from tensorflow.python.ops import math_ops
from tensorflow.python.platform import test
_TEST_DTYPES = (dtypes.float32, dtypes.float64, dtypes.complex64,
dtypes.complex128)
class SplitOpTest(test.TestCase):
def _makeData(self, shape, dtype):
data = np.random.rand(*shape).astype(dtype.as_numpy_dtype)
if dtype.is_complex:
data -= 1j * data
return data
@test_util.run_deprecated_v1
def testShapeInference(self):
model_input = array_ops.placeholder(dtypes.float32, shape=(1, 10))
# check that we fail during static shape inference if sizes are known
with self.assertRaises(ValueError):
# pylint: disable=expression-not-assigned
array_ops.split(model_input, [4], axis=1)[0]
# pylint: enable=expression-not-assigned
model_input = array_ops.placeholder(dtypes.float32)
inp = np.zeros((1, 10))
# check that we still fail at runtime if the shapes were unknown
with self.cached_session(use_gpu=True) as sess:
with self.assertRaises(errors_impl.InvalidArgumentError):
sess.run(array_ops.split(model_input, [4]), {model_input: inp})
# scalar Tensors are not permitted as num_splits
for axis in [0, -2]:
with self.cached_session(use_gpu=True) as sess:
with self.assertRaises(ValueError):
# pylint: disable=expression-not-assigned
sess.run(
array_ops.split(
array_ops.ones([4, 4]),
num_or_size_splits=constant_op.constant(2),
axis=axis))
# pylint: enable=expression-not-assigned
# test that none split dimensions remain, even if we don't know how
# the split_dim will be split, but we do know the axis
result = array_ops.split(
array_ops.ones([5, 2]), array_ops.constant([2, 1, 2]) * 1, axis=0)
self.assertEqual(result[0].shape[1], 2)
self.assertEqual(result[1].shape[1], 2)
self.assertEqual(result[2].shape[1], 2)
model_input2 = array_ops.placeholder(dtypes.float32, shape=[None, 2])
result = array_ops.split(model_input2, [2, 2], axis=0)[0]
with self.cached_session(use_gpu=True) as sess:
sess.run(result, feed_dict={model_input2: np.ones([4, 2])})
@test_util.run_deprecated_v1
def testFailWithoutExplicitNum(self):
size_splits = array_ops.placeholder(dtype=dtypes.int32, shape=[None])
value = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
with self.session(use_gpu=True) as sess:
with self.assertRaises(ValueError) as context:
sess.run(array_ops.split(value, size_splits), {size_splits: [2, 2, 6]})
self.assertTrue("Cannot infer num from shape" in str(context.exception))
@test_util.run_in_graph_and_eager_modes
def testExplicitNum(self):
size_splits = array_ops.constant([2, 2, 6], dtype=dtypes.int32)
value = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
# Eager and Graph modes raise different exceptions
with self.assertRaises((errors_impl.InvalidArgumentError, ValueError)):
array_ops.split(value, size_splits, num=4)
r = self.evaluate(array_ops.split(value, size_splits, num=3))
self.assertAllEqual(r[0], value[0:2])
self.assertAllEqual(r[1], value[2:4])
self.assertAllEqual(r[2], value[4:])
@test_util.run_in_graph_and_eager_modes
def testListOfScalarTensors(self):
a = math_ops.cast(5, dtypes.int32)
b = math_ops.cast(6, dtypes.int32)
value = np.random.rand(11, 11)
with test_util.device(use_gpu=True):
result = self.evaluate(array_ops.split(value, [a, b]))
self.assertAllEqual(result[0], value[0:5, :])
self.assertAllEqual(result[1], value[5:, :])
def _RunAndVerifyVariable(self, dtype, large_num_splits=False):
# Random dims of rank 5
shape = np.random.randint(1, 5, size=5)
split_dim = np.random.randint(-5, 5)
if large_num_splits:
num_split = np.random.randint(16, 25)
else:
num_split = np.random.randint(2, 8)
size_splits = np.random.randint(2, 8, num_split, dtype=np.int32)
shape[split_dim] = np.sum(size_splits)
inp = self._makeData(shape, dtype)
with test_util.device(use_gpu=True):
result = self.evaluate(array_ops.split(inp, size_splits, split_dim))
slices = [slice(0, x) for x in shape]
offset = 0
for i in range(num_split):
slices[split_dim] = slice(offset, offset + size_splits[i])
offset += size_splits[i]
self.assertAllEqual(result[i], inp[slices])
def _testSpecialCasesVariable(self):
inp = np.random.rand(4, 4).astype("f")
with test_util.device(use_gpu=True):
result = self.evaluate(array_ops.split(inp, [4], 0))
self.assertAllEqual(result[0], inp)
result = self.evaluate(array_ops.split(inp, [-1, 3], 0))
self.assertAllEqual(result[0], inp[0:1, :])
self.assertAllEqual(result[1], inp[1:4, :])
def _testHugeNumberOfTensorsVariable(self, dtype):
num_split = 1000
size_splits = np.random.randint(1, 3, num_split, dtype=np.int32)
shape = [3, np.sum(size_splits)]
split_dim = 1
inp = self._makeData(shape, dtype)
with test_util.device(use_gpu=True):
result = self.evaluate(array_ops.split(inp, size_splits, split_dim))
slices = [slice(0, x) for x in shape]
offset = 0
for i in range(num_split):
slices[split_dim] = slice(offset, offset + size_splits[i])
offset += size_splits[i]
self.assertAllEqual(result[i], inp[slices])
@test_util.run_in_graph_and_eager_modes
def testSpecialCasesVariable(self):
self._testSpecialCasesVariable()
for dtype in _TEST_DTYPES:
self._testHugeNumberOfTensorsVariable(dtype)
@test_util.run_in_graph_and_eager_modes
def testDegenerateVariable(self):
inp = np.random.rand(4, 4).astype("f")
with test_util.device(use_gpu=True):
result = self.evaluate(array_ops.split(inp, [-1, 4], 0))
self.assertAllEqual(result[0], inp[0:0, :])
self.assertAllEqual(result[1], inp[0:4, :])
result = self.evaluate(array_ops.split(inp, [4, -1], 0))
self.assertAllEqual(result[0], inp[0:4, :])
self.assertAllEqual(result[1], inp[4:4, :])
result = self.evaluate(array_ops.split(inp, [-1, 4], 1))
self.assertAllEqual(result[0], inp[:, 0:0])
self.assertAllEqual(result[1], inp[:, 0:4])
result = self.evaluate(array_ops.split(inp, [4, -1], 1))
self.assertAllEqual(result[0], inp[:, 0:4])
self.assertAllEqual(result[1], inp[:, 4:4])
def _testGradientsSimpleVariable(self, dtype):
inp = self._makeData((4, 4), dtype)
with test_util.device(use_gpu=True):
inp_tensor = ops.convert_to_tensor(inp)
s = array_ops.split(inp_tensor, [1, 3], 1)
inp_grads = [
self._makeData((4, 1), dtype), self._makeData((4, 3), dtype)
]
grad_tensors = [constant_op.constant(x) for x in inp_grads]
grad = gradients_impl.gradients(s, [inp_tensor], grad_tensors)[-1]
result = self.evaluate(grad)
self.assertAllEqual(result[:, 0:1], inp_grads[0])
self.assertAllEqual(result[:, 1:4], inp_grads[1])
@test_util.run_deprecated_v1
def testOutputShape(self):
for axis in [1, -1]:
with self.cached_session(use_gpu=True):
tensor = array_ops.placeholder(dtypes.float32, shape=[None, 12])
size_splits = [3, 7, 2]
outputs = array_ops.split(tensor, size_splits, axis)
for i, output in enumerate(outputs):
self.assertEqual(output.get_shape().as_list(), [None, size_splits[i]])
def _compare(self, x, dim, num):
np_ans = np.split(x, num, dim)
with test_util.device(use_gpu=True):
tf_ans = array_ops.split(value=x, num_or_size_splits=num, axis=dim)
out = self.evaluate(tf_ans)
=======
"""Functional tests for Split Op."""
import tensorflow.python.platform
import numpy as np
import tensorflow as tf
class SplitOpTest(tf.test.TestCase):
def _compare(self, x, dim, num, use_gpu):
np_ans = np.split(x, num, dim)
with self.test_session(use_gpu=use_gpu) as sess:
tf_ans = tf.split(dim, num, x)
out = sess.run(tf_ans)
>>>>>>> f41959ccb2... TensorFlow: Initial commit of TensorFlow library.
self.assertEqual(num, len(np_ans))
self.assertEqual(num, len(np_ans))
self.assertEqual(num, len(out))
for i in range(num):
self.assertAllEqual(np_ans[i], out[i])
self.assertShapeEqual(np_ans[i], tf_ans[i])
<<<<<<< HEAD
@test_util.run_in_graph_and_eager_modes
def testSplitRows(self):
for dtype in _TEST_DTYPES:
inp = self._makeData((4, 4), dtype)
self._compare(inp, 0, 4)
@test_util.run_in_graph_and_eager_modes
def testSplitCols(self):
for dtype in _TEST_DTYPES:
inp = self._makeData((4, 4), dtype)
self._compare(inp, 1, 4)
def _testEmpty(self, x, dim, num, expected_shape):
with test_util.device(use_gpu=True):
tf_ans = array_ops.split(value=x, num_or_size_splits=num, axis=dim)
out = self.evaluate(tf_ans)
=======
def _testSplitRows(self, use_gpu):
inp = np.random.rand(4, 4).astype("f")
self._compare(inp, 0, 4, use_gpu)
def testSplitRowsAll(self):
self._testSplitRows(use_gpu=False)
self._testSplitRows(use_gpu=True)
def _testSplitCols(self, use_gpu):
inp = np.random.rand(4, 4).astype("f")
self._compare(inp, 1, 4, use_gpu)
def testSplitColsAll(self):
self._testSplitRows(use_gpu=False)
self._testSplitCols(use_gpu=True)
def _testEmpty(self, x, dim, num, expected_shape):
with self.test_session() as sess:
tf_ans = tf.split(dim, num, x)
out = sess.run(tf_ans)
>>>>>>> f41959ccb2... TensorFlow: Initial commit of TensorFlow library.
self.assertEqual(x.size, 0)
self.assertEqual(len(out), num)
for i in range(num):
self.assertEqual(out[i].shape, expected_shape)
self.assertEqual(expected_shape, tf_ans[i].get_shape())
<<<<<<< HEAD
@test_util.run_in_graph_and_eager_modes
def testEmpty(self):
# Note: np.split returns a rank-0 empty ndarray
# if the input ndarray is empty.
for dtype in _TEST_DTYPES:
inp = self._makeData((8, 0, 21), dtype)
self._testEmpty(inp, 0, 2, (4, 0, 21))
self._testEmpty(inp, 0, 4, (2, 0, 21))
self._testEmpty(inp, 1, 4, (8, 0, 21))
self._testEmpty(inp, 2, 3, (8, 0, 7))
self._testEmpty(inp, 2, 7, (8, 0, 3))
@test_util.run_in_graph_and_eager_modes
def testIdentity(self):
for dtype in _TEST_DTYPES:
inp = self._makeData((2, 2, 2), dtype)
self._compare(inp, 0, 1)
self._compare(inp, 1, 1)
self._compare(inp, 2, 1)
@test_util.run_in_graph_and_eager_modes
def testSplitDim0(self):
for dtype in _TEST_DTYPES:
self._compare(self._makeData((6, 10, 18), dtype), 0, 3)
self._compare(self._makeData((6, 7, 18), dtype), 0, 3)
self._compare(self._makeData((6, 7, 9), dtype), 0, 3)
def _RunAndVerify(self, dtype, large_num_splits=False):
# Random dims of rank 5
shape = np.random.randint(0, 5, size=5)
split_dim = np.random.randint(-5, 5)
if large_num_splits:
num_split = np.random.randint(9, 15)
else:
num_split = np.random.randint(2, 8)
shape[split_dim] = np.random.randint(2, 5) * num_split
inp = self._makeData(shape, dtype)
with test_util.device(use_gpu=True):
result = self.evaluate(
array_ops.split(
value=inp, num_or_size_splits=num_split, axis=split_dim))
slices = [slice(0, x) for x in shape]
offset = 0
length = shape[split_dim] // num_split
=======
def testEmpty(self):
# Note: np.split returns a rank-0 empty ndarray
# if the input ndarray is empty.
inp = np.random.rand(8, 0, 21).astype("f")
self._testEmpty(inp, 0, 2, (4, 0, 21))
self._testEmpty(inp, 0, 4, (2, 0, 21))
self._testEmpty(inp, 1, 4, (8, 0, 21))
self._testEmpty(inp, 2, 3, (8, 0, 7))
self._testEmpty(inp, 2, 7, (8, 0, 3))
def testIdentity(self):
inp = np.random.rand(2, 2, 2).astype("f")
for use_gpu in [False, True]:
self._compare(inp, 0, 1, use_gpu)
self._compare(inp, 1, 1, use_gpu)
self._compare(inp, 2, 1, use_gpu)
def testSplitDim0(self):
for use_gpu in [False, True]:
self._compare(np.random.rand(6, 10, 18).astype("f"), 0, 3, use_gpu)
self._compare(np.random.rand(6, 7, 18).astype("f"), 0, 3, use_gpu)
self._compare(np.random.rand(6, 7, 9).astype("f"), 0, 3, use_gpu)
def _RunAndVerify(self, use_gpu):
# Random dims of rank 5
shape = np.random.randint(0, 5, size=5)
split_dim = np.random.randint(0, 5)
num_split = np.random.randint(2, 8)
shape[split_dim] = np.random.randint(2, 5) * num_split
inp = np.random.rand(*shape).astype("f")
with self.test_session(use_gpu=use_gpu) as sess:
result = sess.run(tf.split(split_dim, num_split, inp))
slices = [slice(0, x) for x in shape]
offset = 0
length = shape[split_dim] / num_split
>>>>>>> f41959ccb2... TensorFlow: Initial commit of TensorFlow library.
for i in range(num_split):
slices[split_dim] = slice(offset, offset + length)
offset += length
self.assertAllEqual(result[i], inp[slices])
<<<<<<< HEAD
@test_util.run_in_graph_and_eager_modes
def testRandom(self):
for dtype in _TEST_DTYPES:
for _ in range(5):
self._RunAndVerify(dtype)
self._RunAndVerify(dtype, large_num_splits=True)
self._RunAndVerifyVariable(dtype)
self._RunAndVerifyVariable(dtype, large_num_splits=True)
def _testGradientsSimple(self, dtype):
inp = self._makeData((4, 4), dtype)
with self.cached_session(use_gpu=True):
inp_tensor = ops.convert_to_tensor(inp)
s = array_ops.split(value=inp_tensor, num_or_size_splits=4, axis=1)
inp_grads = [self._makeData((4, 1), dtype)for _ in range(4)]
grad_tensors = [constant_op.constant(x) for x in inp_grads]
grad = gradients_impl.gradients(s, [inp_tensor], grad_tensors)[0]
result = self.evaluate(grad)
for i in range(4):
self.assertAllEqual(result[:, i:i + 1], inp_grads[i])
@test_util.run_deprecated_v1
def testGradientsAll(self):
for dtype in _TEST_DTYPES:
self._testGradientsSimple(dtype)
self._testGradientsSimpleVariable(dtype)
@test_util.run_deprecated_v1
def testShapeFunctionEdgeCases(self):
# split_dim greater than rank of input.
with self.assertRaises(ValueError):
array_ops.split(value=[[0, 1], [2, 3]], num_or_size_splits=4, axis=2)
# split dim less than -(rank of input)
with self.assertRaises(ValueError):
array_ops.split(value=[[0, 1], [2, 3]], num_or_size_splits=4, axis=-3)
# num_split does not evenly divide the size in split_dim.
with self.assertRaisesRegexp(ValueError, "should evenly divide"):
array_ops.split(value=[0, 1, 2, 3], num_or_size_splits=3, axis=0)
# Unknown split_dim.
splits = array_ops.split(
value=[[0, 1, 2, 3]],
num_or_size_splits=4,
axis=array_ops.placeholder(dtypes.int32))
=======
def testRandom(self):
for _ in range(5):
self._RunAndVerify(use_gpu=False)
self._RunAndVerify(use_gpu=True)
def _testGradientsSimple(self, use_gpu):
inp = np.random.rand(4, 4).astype("f")
with self.test_session(use_gpu=use_gpu):
inp_tensor = tf.convert_to_tensor(inp)
s = tf.split(1, 4, inp_tensor)
inp_grads = [np.random.rand(4, 1).astype("f") for _ in range(4)]
grad_tensors = [tf.constant(x) for x in inp_grads]
grad = tf.gradients(s, [inp_tensor], grad_tensors)[0]
result = grad.eval()
for i in range(4):
self.assertAllEqual(result[:, i:i+1], inp_grads[i])
def testGradientsAll(self):
self._testGradientsSimple(use_gpu=False)
self._testGradientsSimple(use_gpu=True)
def testShapeFunctionEdgeCases(self):
# split_dim greater than rank of input.
with self.assertRaises(ValueError):
tf.split(2, 4, [[0, 1], [2, 3]])
# num_split does not evenly divide the size in split_dim.
with self.assertRaisesRegexp(ValueError, "should evenly divide"):
tf.split(0, 3, [0, 1, 2, 3])
# Unknown split_dim.
splits = tf.split(tf.placeholder(tf.int32),
4, [[0, 1, 2, 3]])
>>>>>>> f41959ccb2... TensorFlow: Initial commit of TensorFlow library.
for s in splits:
self.assertEqual([None, None], s.get_shape().as_list())
# Unknown split_dim and input shape.
<<<<<<< HEAD
splits = array_ops.split(
value=array_ops.placeholder(dtypes.float32),
num_or_size_splits=4,
axis=array_ops.placeholder(dtypes.int32))
for s in splits:
self.assertEqual(None, s.get_shape().ndims)
@test_util.run_deprecated_v1
def testVariableShapeFunction(self):
# size_splits too big
with self.assertRaises(ValueError):
array_ops.split([0, 1], [3, -1], axis=0)
# Correct inference of variable dimension
s0, s1 = array_ops.split([0, 1, 2], [2, -1], axis=0)
assert s0.shape.as_list() == [2]
assert s1.shape.as_list() == [1]
@test_util.run_deprecated_v1
@test_util.disable_xla("b/123337890") # Error messages differ
def testNonexistentDimTensor(self):
x = array_ops.placeholder(dtypes.int32)
values = np.zeros([5, 30])
splits = array_ops.placeholder(dtypes.int32)
with self.assertRaisesRegexp(ValueError, "Cannot infer"):
y = array_ops.split(values, splits, axis=x)
splits = array_ops.placeholder(dtypes.int32, [3])
y = array_ops.split(values, splits, axis=x)
with self.session(use_gpu=True) as sess:
with self.assertRaisesRegexp(errors_impl.InvalidArgumentError,
"must have exactly one element"):
sess.run(y, {x: np.array([], dtype=np.int32), splits: [4, 11, 15]})
if __name__ == "__main__":
test.main()
=======
splits = tf.split(tf.placeholder(tf.int32),
4, tf.placeholder(tf.float32))
for s in splits:
self.assertEqual(None, s.get_shape().ndims)
if __name__ == "__main__":
tf.test.main()
>>>>>>> f41959ccb2... TensorFlow: Initial commit of TensorFlow library.
| 37.069364
| 80
| 0.666979
|
2aa01b24453d5eb7f3a13f0ce05d7f98d34af083
| 12,660
|
py
|
Python
|
Project/GuiTest_portrait.py
|
quample/spatial_filter_GUI
|
e1490fc615f221009e0522c77e53392c009d7ca1
|
[
"MIT"
] | 1
|
2019-10-20T01:18:21.000Z
|
2019-10-20T01:18:21.000Z
|
Project/GuiTest_portrait.py
|
quample/spatial_filter_GUI
|
e1490fc615f221009e0522c77e53392c009d7ca1
|
[
"MIT"
] | null | null | null |
Project/GuiTest_portrait.py
|
quample/spatial_filter_GUI
|
e1490fc615f221009e0522c77e53392c009d7ca1
|
[
"MIT"
] | null | null | null |
from tkinter import *
from tkinter import ttk
from tkinter import filedialog
from PIL import Image, ImageTk
import cv2
import os
#from folder_name i3mport python_name as shortcut
from Filter import spatial_filtering_portrait as sf
class Root(Tk):
def __init__(self):
super(Root, self).__init__()
self.MAXSIZE = 1024
self.thumbnailSize = (300,300) #set the max thumbnail display size
self.outputfilenameLabel = ttk.Label() #Label for After Processing Image
self.afterLabel = ttk.Label() #Label for After Processing Text
# Initalize filename to None/Null
self.filename = None
# Generates the window
self.title("Spatial Filter")
self.minsize(500, 400)
self.wm_iconbitmap('icon.ico')
# Input Frame region
self.inputFrame = ttk.LabelFrame(self, text = "Input Image")
self.inputFrame.grid(column=0, row=0, padx=20, pady=20, sticky="w")
self.BrowseFileButton()
# Operation Frame region
self.operationTypeFrame = ttk.LabelFrame(self, text = "Operation")
self.operationTypeFrame.grid(column=0, row=1, padx=20, pady=20, sticky="w")
self.OperationTypeDropDown()
# Filter Size region
self.filterSizeFrame = ttk.LabelFrame(self, text = "Filter Size")
self.filterSizeFrame.grid(column=0, row=2, padx=20, pady=20, sticky="w")
self.FilterSizeSlider()
# Process Button
self.ProcessButton()
#Portrait Button
self.PortraitButton()
# Creates the browse button to select Image
def BrowseFileButton(self):
self.BrowseButton = ttk.Button(self.inputFrame, text = "Browse", command=self.fileDialog) #Creates Button for Browse
self.BrowseButton.grid(column = 0, row = 0, sticky="w") #Places Button in grid/frame
# Command that executes when Browse button is clicked.
# Open/Display JPEG or PNG files
def fileDialog(self):
# self.filename = filedialog.askopenfilename(initialdir = "/", title = "Select A File", filetype = (("jpeg", "*.jpg"), ("PNG", "*.png"), ("All Files", "*.*" )))
self.outputfilenameLabel.grid_forget()
self.afterLabel.grid_forget()
self.filename = filedialog.askopenfilename(initialdir =os.path.dirname(os.path.abspath(__file__)), title = "Select A File", filetype = (("PNG", "*.png"), ("JPEG", "*.jpg")))
if self.filename:
self.image_thumbnail = Image.open(self.filename).convert('L') #Open input image
self.image_thumbnail.thumbnail(self.thumbnailSize) #Creates a thumbnail that keeps the aspect ratio
resized = self.image_thumbnail.resize(self.thumbnailSize, Image.ANTIALIAS) #this resizes the input image in the display out ONLY
self.image_disp_tk = ImageTk.PhotoImage(resized) #Format image for Tkinter compatibility display
self.filenameLabel = ttk.Label(self.inputFrame, image=self.image_disp_tk) #Display input image
self.filenameLabel.grid(column=0, row =1) #Places thumbnail image in grid/frame
self.beforeLabel = ttk.Label(self.inputFrame, text="Before processing") #Creates Label for input image
self.beforeLabel.grid(column=0, row=2) #Places Label in grid/frame
# Creates the Drop down to select the type of operation: Smoothing or Sharpening
def OperationTypeDropDown(self):
# Initialize Operation Type variable, create a label for it and place it in the grid
self.operationType = StringVar() #Operation Variable: Smoothing OR Sharpening
self.operationTypeLabel = ttk.Label(self.operationTypeFrame, text="Operation:") #Create Operation Label
self.operationTypeLabel.grid(column=0, row=0) #Place Label in the grid/frame
self.operationType.set("Smoothing") #Set the default value for the Operation Drop Down
self.operationType.trace('w',self.updateFilterOptions) #Track when the Operation drop down gets changed.
self.operationTypeOptions = OptionMenu(self.operationTypeFrame, self.operationType, 'Smoothing', 'Sharpening') #Populate the Operation Drop Down Option
self.operationTypeOptions.grid(column = 0, row = 1) #Place the Drop Down in the grid/frame
# Initialize Filter Type variable, create a lable for it and place it in the grid
self.filterType = StringVar() #Filter Variable: Average/Gaussian OR Laplace/Unsharp
self.filterTypeLabel = ttk.Label(self.operationTypeFrame, text="Filter:") #Create the Filter Label
self.filterTypeLabel.grid(column=1, row=0) #Place the Label in the grid/frame
# For Initial Start Up, will get replaced/updated by updateFilterOptions when the Operation Type gets changed
self.filterType.set("Average Filter") #Set Default of variable
self.filterTypeOptions = OptionMenu(self.operationTypeFrame, self.filterType, "Average Filter", "Gaussian Filter")
self.filterTypeOptions.grid(column = 1, row = 1)
# Unsharp Mask Initialization
unsharpMaskValues = [0.2, 0.4, 0.6, 0.8, 1.0, 2.0, 5.0, 7.0] #Create a list for values
self.unsharpMaskConstant = DoubleVar() #UnsharpMaskConstant Variable (will use the list above later)
self.unsharpMaskLabel = ttk.Label(self.operationTypeFrame, text="UnSharp Mask Constant:") #Create a Label for Unsharp Mask Constant
self.unsharpMaskConstant.trace('w', self.updateHighBoost) #Track when the UnsharpMaskConstant get changed
self.unsharpMaskConstantOptions = OptionMenu(self.operationTypeFrame, self.unsharpMaskConstant, *unsharpMaskValues) #Populate the UnsharpMaskConstant Drop Down Option
self.highBoostLabel = ttk.Label(self.operationTypeFrame, text="This is now High Boost Sharpening") #Create a Label for High Boost
# Variance Initialization
varianceValues = [1.0, 2.0, 4.0, 5.0, 10.0]
self.varianceValue = DoubleVar()
self.varianceValue.set(1.0)
self.varianceLabel = ttk.Label(self.operationTypeFrame, text="Variance:")
# self.varianceOptions = Scale(self.operationTypeFrame, from_=0.1, to=1.0, tickinterval=0.05, orient=HORIZONTAL)
self.varianceOptions = OptionMenu(self.operationTypeFrame, self.varianceValue, *varianceValues)
# First call to inialize the tracers
self.updateFilterOptions()
# Function that executes whenever the Filter Drop Down is changed
def updateFilterOptions(self, *args):
# When Operation selected is Smoothing, the Filter Drop Down gets set accordingly
if(self.operationType.get() == 'Smoothing'):
self.filterType.set("Average Filter")
# self.filterType.trace('w', self.updateGaussianOptions)
self.filterType.trace('w', self.updateGaussianOptions)
self.filterTypeOptions = OptionMenu(self.operationTypeFrame, self.filterType, "Average Filter", "Gaussian Filter")
elif (self.operationType.get() == 'Sharpening'):
self.filterType.set("Laplacian Filter")
self.filterType.trace('w', self.updateUnsharpOptions)
self.filterTypeOptions = OptionMenu(self.operationTypeFrame, self.filterType, "Laplacian Filter", "Unsharp Mask")
else:
self.filterType.set("Average Filter")
self.filterTypeOptions.grid(column = 1, row = 1)
def updateGaussianOptions(self, *args):
if self.filterType.get()=="Gaussian Filter":
self.varianceLabel.grid(column=2, row=0)
self.varianceOptions.grid(column=2, row=1)
else:
self.varianceOptions.grid_forget()
self.varianceLabel.grid_forget()
# Function that executes whenever the UnsharpMaskConstant Drop Down is changed
def updateUnsharpOptions(self, *args):
self.unsharpMaskConstant.set(0.2) #Reset value whenever the Drop Down is inialized
# Shows/Hides the UnsharpMaskConstant Label and Drop Down option depending on the Filter selection
if(self.filterType.get()=='Unsharp Mask'):
self.unsharpMaskLabel.grid(column=2, row=0)
self.unsharpMaskConstantOptions.grid(column=2, row =1)
else:
self.unsharpMaskConstantOptions.grid_forget()
self.unsharpMaskLabel.grid_forget()
# Function that executes whenever the UnsharpMaskConstant variable is under or over 1.0
def updateHighBoost(self, *args):
# Shows/Hides the High Boost Label whenever the selection is under or over 1.0
if (self.unsharpMaskConstant.get()>1.0):
self.highBoostLabel.grid(column = 4, row=1)
else:
self.highBoostLabel.grid_forget()
# Creates the Filter Size Slider
def FilterSizeSlider(self):
filterSizeOptions = [3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31]
self.filterSize = IntVar()
self.filterSize.set(3)
self.filterSizeOptions = OptionMenu(self.filterSizeFrame, self.filterSize, *filterSizeOptions) #creates dropdown for filter size
self.filterSizeOptions.grid(column = 0, row = 0)
# Creates the Process Button
def ProcessButton(self):
self.ProcessButton = ttk.Button(self, text = "Process Image", command=self.process)
self.ProcessButton.grid(column = 0, row = 3, padx=20, pady=20, sticky="w")
# Command that executes when the Process Button is clicked
def process(self):
# Calls the class of the imported python file for spatial filtering(sf)
spatial_filter = sf.spatial_filtering()
self.outputfilenameLabel.grid_forget()
self.afterLabel.grid_forget()
# if there's a valid filename
if self.filename:
if self.operationType.get()=='Smoothing':
# Calls the smoothing function from the spatial_filter.py file and sets the outputfilename
self.outputfilename = spatial_filter.smoothing(self.filename, self.filterType.get(), self.filterSize.get(), self.varianceValue.get())
elif self.operationType.get() == 'Sharpening':
# Calls the sharpening function from the spatial_filter.py file and sets the outputfilename
self.outputfilename = spatial_filter.sharpening(self.filename, self.filterType.get(), self.filterSize.get(), self.unsharpMaskConstant.get())
self.display_output()
else:
print("No image to process")
# Function to display the filtered image
def display_output(self):
if self.outputfilename:
print(self.outputfilename)
self.output_image_thumbnail = Image.open(self.outputfilename) # put the output image side by side when done?
self.output_image_thumbnail.thumbnail(self.thumbnailSize) #creates a thumbnail
resized = self.output_image_thumbnail.resize(self.thumbnailSize, Image.ANTIALIAS) #this resizes the output image in the display out ONLY
self.output_image_disp_tk = ImageTk.PhotoImage(resized) #Format image for Tkinter compatibility display
self.outputfilenameLabel = ttk.Label(self.inputFrame, image=self.output_image_disp_tk) #Display input image
self.outputfilenameLabel.grid(column=1, row =1) #places the image on the window
self.afterLabel = ttk.Label(self.inputFrame, text="After processing") #create an "After Processing" label
self.afterLabel.grid(column=1, row=2) #places the label on the window
else:
print("No OUTPUT IMAGE to display.")
def PortraitButton(self):
# Creates button and places in window for Portrait Mode
self.PortraitButton = ttk.Button(self, text = "Portrait Mode", command=self.portrait)
self.PortraitButton.grid(column = 1, row = 3, padx=20, pady=20, sticky="w")
def portrait(self):
# Calls the portrait function that blurs the background and sharpens the foreground
self.outputfilenameLabel.grid_forget()
self.afterLabel.grid_forget()
spatial_filter = sf.spatial_filtering()
if self.filename:
self.outputfilename = spatial_filter.portrait(self.filename, self.filterType.get(), self.filterSize.get())
self.display_output()
else:
print("No image to process")
if __name__== '__main__':
root = Root()
style = ttk.Style()
style.theme_use("winnative")
root.mainloop()
| 55.043478
| 181
| 0.674092
|
7968e3851d7c727f0343d757cfe0a21f4f1d2290
| 4,498
|
py
|
Python
|
zeeguu_api/api/accounts.py
|
TWEApol/Zeeguu-API
|
832f1cb2d0950bd879af72d9e606783698d78b57
|
[
"MIT"
] | null | null | null |
zeeguu_api/api/accounts.py
|
TWEApol/Zeeguu-API
|
832f1cb2d0950bd879af72d9e606783698d78b57
|
[
"MIT"
] | null | null | null |
zeeguu_api/api/accounts.py
|
TWEApol/Zeeguu-API
|
832f1cb2d0950bd879af72d9e606783698d78b57
|
[
"MIT"
] | null | null | null |
import flask
import sqlalchemy
import zeeguu
from flask import request
from zeeguu.model import User, Cohort, Teacher
from zeeguu.model.unique_code import UniqueCode
from zeeguu_api.api.sessions import get_session, get_anon_session
from zeeguu_api.api.utils.abort_handling import make_error
from zeeguu_api.emailer.user_activity import send_new_user_account_email
from zeeguu_api.emailer.password_reset import send_password_reset_email
from .utils.route_wrappers import cross_domain
from . import api, db_session
@api.route("/add_user/<email>", methods=["POST"])
@cross_domain
def add_user(email):
"""
Creates user, then redirects to the get_session
endpoint. Returns a session
"""
def _valid_invite_code(invite_code: str):
return invite_code in zeeguu.app.config.get("INVITATION_CODES") or Cohort.exists_with_invite_code(invite_code)
password = request.form.get("password")
username = request.form.get("username")
invite_code = request.form.get("invite_code")
cohort_name = ''
if password is None or len(password) < 4:
return make_error(400, "Password should be at least 4 characters long")
if not (_valid_invite_code(invite_code)):
return make_error(400, "Invitation code is not recognized. Please contact us.")
try:
cohort = Cohort.query.filter_by(inv_code=invite_code).first()
if cohort:
# if the invite code is from a cohort, then there has to be capacity
if not cohort.cohort_still_has_capacity():
return make_error(400, "No more places in this class. Please contact us.")
cohort_name = cohort.name
new_user = User(email, username, password, invitation_code=invite_code, cohort=cohort)
db_session.add(new_user)
if cohort:
if cohort.is_cohort_of_teachers:
teacher = Teacher(new_user)
db_session.add(teacher)
db_session.commit()
send_new_user_account_email(username, invite_code, cohort_name)
except sqlalchemy.exc.IntegrityError:
return make_error(401, "There is already an account for this email.")
except ValueError:
return make_error(400, "Invalid value")
return get_session(email)
@api.route("/add_anon_user", methods=["POST"])
@cross_domain
def add_anon_user():
"""
Creates anonymous user, then redirects to the get_session
endpoint. Returns a session
"""
# These two are post parameters required by the method
uuid = request.form.get("uuid", None)
password = request.form.get("password", None)
# These two are optional
language_code = request.form.get("learned_language_code", None)
native_code = request.form.get("native_language_code", None)
try:
new_user = User.create_anonymous(uuid, password, language_code, native_code)
db_session.add(new_user)
db_session.commit()
except ValueError as e:
flask.abort(flask.make_response("Could not create anon user.", 400))
except sqlalchemy.exc.IntegrityError as e:
flask.abort(flask.make_response("Could not create anon user. Maybe uuid already exists?", 400))
return get_anon_session(uuid)
@api.route("/send_code/<email>", methods=["POST"])
@cross_domain
def send_code(email):
"""
This endpoint generates a unique code that will be used to allow
the user to change his/her password. The unique code is send to
the specified email address.
"""
code = UniqueCode(email)
db_session.add(code)
db_session.commit()
send_password_reset_email(email, code)
return "OK"
@api.route("/reset_password/<email>", methods=["POST"])
@cross_domain
def reset_password(email):
"""
This endpoint can be used to rest a users password.
To do this a uniquecode is required.
"""
last_code = UniqueCode.last_code(email)
code = request.form.get("code", None)
if not (last_code == code):
return make_error(400, "Invalid code")
password = request.form.get("password", None)
if len(password) < 4:
return make_error(400, "Password should be at least 4 characters long")
user = User.find(email)
if user is None:
return make_error(400, "Email unknown")
user.update_password(password)
db_session.commit()
# Delete all the codes for this user
for x in UniqueCode.all_codes_for(email):
db_session.delete(x)
db_session.commit()
return "OK"
| 30.808219
| 118
| 0.696087
|
0da6056fce2d1dc474e46a849747974f7760b071
| 1,247
|
py
|
Python
|
src/bindings/python/tests/test_ngraph/test_ops_multioutput.py
|
ryanloney/openvino-1
|
4e0a740eb3ee31062ba0df88fcf438564f67edb7
|
[
"Apache-2.0"
] | 2
|
2021-12-14T15:27:46.000Z
|
2021-12-14T15:34:16.000Z
|
src/bindings/python/tests/test_ngraph/test_ops_multioutput.py
|
ryanloney/openvino-1
|
4e0a740eb3ee31062ba0df88fcf438564f67edb7
|
[
"Apache-2.0"
] | 33
|
2021-09-23T04:14:30.000Z
|
2022-01-24T13:21:32.000Z
|
src/bindings/python/tests/test_ngraph/test_ops_multioutput.py
|
ryanloney/openvino-1
|
4e0a740eb3ee31062ba0df88fcf438564f67edb7
|
[
"Apache-2.0"
] | 11
|
2021-11-09T00:51:40.000Z
|
2021-11-10T12:04:16.000Z
|
# Copyright (C) 2018-2022 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import numpy as np
import openvino.runtime.opset8 as ov
from tests.runtime import get_runtime
def test_split():
runtime = get_runtime()
input_tensor = ov.constant(np.array([0, 1, 2, 3, 4, 5], dtype=np.int32))
axis = ov.constant(0, dtype=np.int64)
splits = 3
split_node = ov.split(input_tensor, axis, splits)
computation = runtime.computation(split_node)
split_results = computation()
expected_results = np.array([[0, 1], [2, 3], [4, 5]], dtype=np.int32)
assert np.allclose(split_results, expected_results)
def test_variadic_split():
runtime = get_runtime()
input_tensor = ov.constant(np.array([[0, 1, 2, 3, 4, 5], [6, 7, 8, 9, 10, 11]], dtype=np.int32))
axis = ov.constant(1, dtype=np.int64)
splits = ov.constant(np.array([2, 4], dtype=np.int64))
v_split_node = ov.variadic_split(input_tensor, axis, splits)
computation = runtime.computation(v_split_node)
results = computation()
split0 = np.array([[0, 1], [6, 7]], dtype=np.int32)
split1 = np.array([[2, 3, 4, 5], [8, 9, 10, 11]], dtype=np.int32)
assert np.allclose(results[0], split0)
assert np.allclose(results[1], split1)
| 33.702703
| 100
| 0.668805
|
18c3c0279f9fde696d746782e5db6ff8cd132415
| 9,970
|
py
|
Python
|
v0.5.0/google/research_v3.32/gnmt-tpuv3-32/code/gnmt/model/t2t/tensor2tensor/data_generators/gym_utils.py
|
myelintek/results
|
11c38436a158c453e3011f8684570f7a55c03330
|
[
"Apache-2.0"
] | 44
|
2018-11-07T18:52:33.000Z
|
2019-07-06T12:48:18.000Z
|
v0.5.0/google/research_v3.32/gnmt-tpuv3-32/code/gnmt/model/t2t/tensor2tensor/data_generators/gym_utils.py
|
myelintek/results
|
11c38436a158c453e3011f8684570f7a55c03330
|
[
"Apache-2.0"
] | 63
|
2017-12-19T20:29:10.000Z
|
2021-08-04T21:49:36.000Z
|
v0.5.0/google/research_v3.32/gnmt-tpuv3-32/code/gnmt/model/t2t/tensor2tensor/data_generators/gym_utils.py
|
myelintek/results
|
11c38436a158c453e3011f8684570f7a55c03330
|
[
"Apache-2.0"
] | 44
|
2018-11-09T21:04:52.000Z
|
2019-06-24T07:40:28.000Z
|
# coding=utf-8
# Copyright 2018 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Utilities for openai gym."""
from collections import deque
import gym
import numpy as np
# pylint: disable=method-hidden
class WarmupWrapper(gym.Wrapper):
"""Warmup wrapper."""
def __init__(self, env, warm_up_examples=0, warmup_action=0):
gym.Wrapper.__init__(self, env)
self.warm_up_examples = warm_up_examples
self.warm_up_action = warmup_action
self.observation_space = gym.spaces.Box(
low=0, high=255, shape=(210, 160, 3), dtype=np.uint8)
def get_starting_data(self, num_frames):
self.reset()
starting_observations, starting_actions, starting_rewards = [], [], []
for _ in range(num_frames):
observation, rew, _, _ = self.env.step(self.warm_up_action)
starting_observations.append(observation)
starting_rewards.append(rew)
starting_actions.append(self.warm_up_action)
return starting_observations, starting_actions, starting_rewards
def step(self, action):
return self.env.step(action)
def reset(self, **kwargs):
del kwargs
self.env.reset()
observation = None
for _ in range(self.warm_up_examples):
observation, _, _, _ = self.env.step(self.warm_up_action)
return observation
class PongWrapper(WarmupWrapper):
"""Pong Wrapper."""
def __init__(self, env, warm_up_examples=0,
action_space_reduction=False,
reward_skip_steps=0,
big_ball=False):
super(PongWrapper, self).__init__(env, warm_up_examples=warm_up_examples)
self.action_space_reduction = action_space_reduction
if self.action_space_reduction:
self.action_space = gym.spaces.Discrete(2)
self.warm_up_examples = warm_up_examples
self.observation_space = gym.spaces.Box(
low=0, high=255, shape=(210, 160, 3), dtype=np.uint8)
self.reward_skip_steps = reward_skip_steps
self.big_ball = big_ball
def step(self, action):
if self.action_space_reduction:
action = 2 if int(action) == 0 else 5
ob, rew, done, info = self.env.step(action)
ob = self.process_observation(ob)
if rew != 0 and self.reward_skip_steps != 0:
for _ in range(self.reward_skip_steps):
self.env.step(0)
return ob, rew, done, info
def reset(self, **kwargs):
observation = super(PongWrapper, self).reset(**kwargs)
observation = self.process_observation(observation)
return observation
def process_observation(self, obs):
if self.big_ball:
pos = PongWrapper.find_ball(obs)
if pos is not None:
x, y = pos
obs[x-5:x+5, y-5:y+5, :] = 255
return obs
@staticmethod
def find_ball(obs, default=None):
ball_area = obs[37:193, :, 0]
res = np.argwhere(ball_area == 236)
if not res:
return default
else:
x, y = res[0]
x += 37
return x, y
def wrapped_pong_factory(warm_up_examples=0, action_space_reduction=False,
reward_skip_steps=0, big_ball=False):
"""Wrapped pong games."""
env = gym.make("PongDeterministic-v4")
env = env.env # Remove time_limit wrapper.
env = PongWrapper(env, warm_up_examples=warm_up_examples,
action_space_reduction=action_space_reduction,
reward_skip_steps=reward_skip_steps,
big_ball=big_ball)
return env
gym.envs.register(id="T2TPongWarmUp20RewSkip200Steps-v1",
entry_point=lambda: wrapped_pong_factory( # pylint: disable=g-long-lambda
warm_up_examples=20, reward_skip_steps=15),
max_episode_steps=200)
gym.envs.register(id="T2TPongWarmUp20RewSkipFull-v1",
entry_point=lambda: wrapped_pong_factory( # pylint: disable=g-long-lambda
warm_up_examples=20, reward_skip_steps=15))
class BreakoutWrapper(WarmupWrapper):
"""Breakout Wrapper."""
FIRE_ACTION = 1
def __init__(self, env, warm_up_examples=0,
ball_down_skip=0,
big_ball=False,
include_direction_info=False,
reward_clipping=True):
super(BreakoutWrapper, self).__init__(
env, warm_up_examples=warm_up_examples,
warmup_action=BreakoutWrapper.FIRE_ACTION)
self.warm_up_examples = warm_up_examples
self.observation_space = gym.spaces.Box(low=0, high=255,
shape=(210, 160, 3),
dtype=np.uint8)
self.ball_down_skip = ball_down_skip
self.big_ball = big_ball
self.reward_clipping = reward_clipping
self.include_direction_info = include_direction_info
self.direction_info = deque([], maxlen=2)
self.points_gained = False
msg = ("ball_down_skip should be bigger equal 9 for "
"include_direction_info to work correctly")
assert not self.include_direction_info or ball_down_skip >= 9, msg
def step(self, action):
ob, rew, done, info = self.env.step(action)
if BreakoutWrapper.find_ball(ob) is None and self.ball_down_skip != 0:
for _ in range(self.ball_down_skip):
# We assume that nothing interesting happens during ball_down_skip
# and discard all information.
# We fire all the time to start new game
ob, _, _, _ = self.env.step(BreakoutWrapper.FIRE_ACTION)
self.direction_info.append(BreakoutWrapper.find_ball(ob))
ob = self.process_observation(ob)
self.points_gained = self.points_gained or rew > 0
if self.reward_clipping:
rew = np.sign(rew)
return ob, rew, done, info
def reset(self, **kwargs):
observation = super(BreakoutWrapper, self).reset(**kwargs)
self.env.step(BreakoutWrapper.FIRE_ACTION)
self.direction_info = deque([], maxlen=2)
observation = self.process_observation(observation)
return observation
@staticmethod
def find_ball(ob, default=None):
off_x = 63
clipped_ob = ob[off_x:-21, :, 0]
pos = np.argwhere(clipped_ob == 200)
if not pos.size:
return default
x = off_x + pos[0][0]
y = 0 + pos[0][1]
return x, y
def process_observation(self, obs):
if self.big_ball:
pos = BreakoutWrapper.find_ball(obs)
if pos is not None:
x, y = pos
obs[x-5:x+5, y-5:y+5, :] = 255
if self.include_direction_info:
for point in list(self.direction_info):
if point is not None:
x, y = point
obs[x-2:x+2, y-2:y+2, 1] = 255
return obs
def wrapped_breakout_factory(warm_up_examples=0,
ball_down_skip=0,
big_ball=False,
include_direction_info=False,
reward_clipping=True):
"""Wrapped breakout games."""
env = gym.make("BreakoutDeterministic-v4")
env = env.env # Remove time_limit wrapper.
env = BreakoutWrapper(env, warm_up_examples=warm_up_examples,
ball_down_skip=ball_down_skip,
big_ball=big_ball,
include_direction_info=include_direction_info,
reward_clipping=reward_clipping)
return env
gym.envs.register(id="T2TBreakoutWarmUp20RewSkip500Steps-v1",
entry_point=lambda: wrapped_breakout_factory( # pylint: disable=g-long-lambda
warm_up_examples=1,
ball_down_skip=9,
big_ball=False,
include_direction_info=True,
reward_clipping=True
),
max_episode_steps=500)
class FreewayWrapper(WarmupWrapper):
"""Wrapper for Freeway."""
def __init__(self, env,
warm_up_examples=0,
reward_clipping=True,
easy_freeway=False):
super(FreewayWrapper, self).__init__(env, warm_up_examples)
self.easy_freeway = easy_freeway
self.half_way_reward = 1.0
# this is probably not needed, just in case
self.reward_clipping = reward_clipping
def chicken_height(self, image):
raise NotImplementedError()
def step(self, action):
ob, rew, done, info = self.env.step(action)
if self.easy_freeway:
if rew > 0:
self.half_way_reward = 1
chicken_height = self.chicken_height(ob)
if chicken_height < 105:
rew += self.half_way_reward
self.half_way_reward = 0
if self.reward_clipping:
rew = np.sign(rew)
return ob, rew, done, info
def reset(self, **kwargs):
self.half_way_reward = 1.0
observation = super(FreewayWrapper, self).reset(**kwargs)
return observation
def wrapped_freeway_factory(warm_up_examples=0,
reward_clipping=True,
easy_freeway=False):
"""Wrapped freeway games."""
env = gym.make("FreewayDeterministic-v4")
env = env.env # Remove time_limit wrapper.
env = FreewayWrapper(env, warm_up_examples=warm_up_examples,
reward_clipping=reward_clipping,
easy_freeway=easy_freeway)
return env
gym.envs.register(id="T2TFreewayWarmUp20RewSkip500Steps-v1",
entry_point=lambda: wrapped_freeway_factory( # pylint: disable=g-long-lambda
warm_up_examples=1,
reward_clipping=True,
easy_freeway=False
),
max_episode_steps=500)
| 32.90429
| 96
| 0.64674
|
b4725928f8386233ac89556d03d03a1a0d1bddbd
| 6,268
|
py
|
Python
|
wabisabi/kwarg_name_change.py
|
hmaarrfk/deprecation_factory
|
bc7921425d3136c429845620c8a163eef58d8c49
|
[
"BSD-3-Clause"
] | null | null | null |
wabisabi/kwarg_name_change.py
|
hmaarrfk/deprecation_factory
|
bc7921425d3136c429845620c8a163eef58d8c49
|
[
"BSD-3-Clause"
] | 14
|
2018-08-09T04:02:38.000Z
|
2018-09-06T23:55:03.000Z
|
wabisabi/kwarg_name_change.py
|
hmaarrfk/deprecation_factory
|
bc7921425d3136c429845620c8a163eef58d8c49
|
[
"BSD-3-Clause"
] | null | null | null |
"""
As this library is still in early development, the API might change.
I suggest you vendor this so that you don't create conflicts if other
libraries decide to use an older, incompatible version
If you are shipping python source code, then I've included the license
at the bottom of this file to make your life easier.
"""
from distutils.version import LooseVersion as Version
from functools import wraps
import inspect
from warnings import warn
from .merge_docstrings import merge_docstrings
# Keep the order of params as is,
# `previous_arg_order` and `keep_old_signature`
# should be optional positional args.
def kwarg_name_change(version, previous_kwarg_map=None,
library_name=None, current_library_version=None):
"""A decorator factory for keyword arguments to be specified by their old names.
If the current library version is smaller than version in which the new
signature takes effect, this deprecator will:
Issue a warnign pointing to the user's code if they call a function with
too many positional arguments.
Parameters
----------
version: version-like
Version in which the new function signature takes full effect.
previous_kwarg_map: dictionary of kwarg name maps
This dictionary contains the keys (the old kwarg names) and the
associated values of the new kwarg names. You may specifiy as
many kwarg name pairs as you wish.
library_name: str
Friendly library name to include in warning messages
current_library_version: version-like
The current version of the shipped library (typically your module's
``__version__``).
Examples
--------
>>> from wabisabi import kwonly_change
>>> import functools
>>>
>>> kwarg_name_change = functools.partial(kwarg_name_change,
... library_name='my super lib',
... current_library_version='0.14')
>>> @kwarg_name_change('0.15', {'bar': 'foo'})
... def foo_new(zap='zip', *, foo='hello', baz='world'):
... return zap + foo + baz
"""
if current_library_version is None:
raise ValueError('Must provide a version for your library.')
if library_name is None:
raise ValueError('You must provide a user friendly name for your '
'library.')
def the_decorator(func):
if Version(current_library_version) >= version:
return func
@wraps(func)
def wrapper(*args, **kwargs):
new_kwargs = {}
for key, value in kwargs.items():
if key not in previous_kwarg_map:
new_key = key
else:
new_key = previous_kwarg_map[key]
warn("In version {version} of {library_name}, the "
"keyword argument '{key}' will be replaced by "
"'{new_key}'. "
"To suppress this warning, specify the keyword "
"argument with its new name."
"".format(
version=version, library_name=library_name,
key=key, new_key=new_key),
FutureWarning, stacklevel=2)
if new_key in new_kwargs:
# Search for the old key.
for old_key, n_key in previous_kwarg_map.items():
if n_key == new_key:
break
raise TypeError(
"'{old_key}' and '{new_key}' refer to the same "
"parameter. Using both is not allowed."
"".format(old_key=old_key, new_key=new_key))
new_kwargs[new_key] = value
return func(*args, **new_kwargs)
# only add a docstring if they had one already
if wrapper.__doc__ is None:
return wrapper
warnings_string = """
Warns
-----
FutureWarning
In release {version} of {module}, the following keyword arguments can only
be referred by their new names. For now, both names are accepted as valid:
""".format(version=version, module=library_name)
for key, new_key in previous_kwarg_map.items():
warnings_string += ("""
'{new_key}' refers to the old keyword argument '{key}'"""
"".format(new_key=new_key, key=key))
warnings_string += """
To avoid this warning, provide all the listed keyword arguments using their
new names.
"""
wrapper.__doc__ = merge_docstrings(wrapper, warnings_string)
return wrapper
return the_decorator
"""
BSD 3-Clause License
Copyright (c) 2019, Mark Harfouche
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
| 38.453988
| 84
| 0.651723
|
9baffb1e020d9ab75f1fdabfd47795eb44734ec6
| 3,277
|
py
|
Python
|
snake.py
|
farhad-rezazadeh/snake
|
1200d9d627b81d3db22a491e7854ea6403988530
|
[
"MIT"
] | null | null | null |
snake.py
|
farhad-rezazadeh/snake
|
1200d9d627b81d3db22a491e7854ea6403988530
|
[
"MIT"
] | null | null | null |
snake.py
|
farhad-rezazadeh/snake
|
1200d9d627b81d3db22a491e7854ea6403988530
|
[
"MIT"
] | null | null | null |
import consts
class Snake:
def __init__(self, keys, game, pos, color, direction):
self.control_keys = keys
self.cells = [pos]
self.game_manager = game
self.color = color
self.game_manager.add_snake(self)
self.direction = direction
def get_head(self):
return self.cells[-1]
def next_move(self):
temp = self.go(self.direction)
temp = [((temp[0] - consts.sx) // consts.cell_size), ((temp[1] - consts.sy) // consts.cell_size)]
situation = self.game_manager.check_cell(temp)
if situation == "fruit":
self.cells.append(temp)
self.game_manager.cells_class_build[temp[0]][temp[1]].set_color(self.color)
elif situation == "empty_cell":
self.cells.append(temp)
self.game_manager.cells_class_build[temp[0]][temp[1]].set_color(self.color)
last_cell = self.cells.pop(0)
self.game_manager.cells_class_build[last_cell[0]][last_cell[1]].set_color(consts.back_color)
else:
self.game_manager.kill(self)
def handle(self, keys):
for key in keys:
if key in self.control_keys:
key = self.control_keys[key]
if key == "UP" and self.direction != "DOWN":
self.direction = key
break
elif key == "DOWN" and self.direction != "UP":
self.direction = key
break
elif key == "RIGHT" and self.direction != "LEFT":
self.direction = key
break
elif key == "LEFT" and self.direction != "RIGHT":
self.direction = key
break
# ---------------------------------------function_for_moving_cell----------------------------------------
def go_right(self):
pos = [self.get_head()[0], self.get_head()[1]]
if pos[0]+1 > consts.table_size-1:
temp_pos = self.game_manager.cells[0][pos[1]]
else:
temp_pos = self.game_manager.cells[pos[0]+1][pos[1]]
return temp_pos
def go_left(self):
pos = [self.get_head()[0], self.get_head()[1]]
if pos[0]-1 < 0:
temp_pos = self.game_manager.cells[consts.table_size-1][pos[1]]
else:
temp_pos = self.game_manager.cells[pos[0]-1][pos[1]]
return temp_pos
def go_up(self):
pos = [self.get_head()[0], self.get_head()[1]]
if pos[1]-1 < 0:
temp_pos = self.game_manager.cells[pos[0]][consts.table_size-1]
else:
temp_pos = self.game_manager.cells[pos[0]][pos[1]-1]
return temp_pos
def go_down(self):
pos = [self.get_head()[0], self.get_head()[1]]
if pos[1]+1 > consts.table_size-1:
temp_pos = self.game_manager.cells[pos[0]][0]
else:
temp_pos = self.game_manager.cells[pos[0]][pos[1]+1]
return temp_pos
def go(self, _dir):
if _dir == "UP":
return self.go_up()
elif _dir == "DOWN":
return self.go_down()
elif _dir == "RIGHT":
return self.go_right()
elif _dir == "LEFT":
return self.go_left()
| 35.619565
| 105
| 0.527617
|
bb3101fce035b824cfb5db11d70caee8ca8a809b
| 3,736
|
py
|
Python
|
data/stanfordindoor_dataset.py
|
aksh1501/DepthAware_CNN_edit
|
3f6a859ef3f3b7bba1201dc087c860a22d1cd258
|
[
"MIT"
] | null | null | null |
data/stanfordindoor_dataset.py
|
aksh1501/DepthAware_CNN_edit
|
3f6a859ef3f3b7bba1201dc087c860a22d1cd258
|
[
"MIT"
] | null | null | null |
data/stanfordindoor_dataset.py
|
aksh1501/DepthAware_CNN_edit
|
3f6a859ef3f3b7bba1201dc087c860a22d1cd258
|
[
"MIT"
] | null | null | null |
import os.path
import numpy as np
import torchvision
import torchvision.transforms as transforms
import torch
import h5py
### CHANGES - START
import sys
sys.path.insert(0, '/home/jarvis/DepthAwareCNN')
### CHANGES - END
from data.base_dataset import *
from PIL import Image
import math, random
import time
def make_dataset_fromlst(listfilename):
"""
NYUlist format:
imagepath seglabelpath depthpath HHApath
"""
images = []
segs = []
depths = []
with open(listfilename) as f:
content = f.readlines()
for x in content:
imgname, segname, depthname = x.strip().split(' ')
images += [imgname]
segs += [segname]
depths += [depthname]
return {'images':images, 'segs':segs, 'depths':depths}
class StanfordIndoorDataset(BaseDataset):
def initialize(self, opt):
self.opt = opt
np.random.seed(int(time.time()))
self.paths_dict = make_dataset_fromlst(opt.list)
self.len = len(self.paths_dict['images'])
# self.label_weight = torch.Tensor(label_weight)
self.datafile = 'stanfordindoor_dataset.py'
def __getitem__(self, index):
img = np.asarray(Image.open(self.paths_dict['images'][index]))#.astype(np.uint8)
depth = np.asarray(Image.open(self.paths_dict['depths'][index])).astype(np.float32)/120. # 1/10 * depth
seg = np.asarray(Image.open(self.paths_dict['segs'][index]))-1
params = get_params_sunrgbd(self.opt, seg.shape,maxcrop=0.7, maxscale=1.1)
depth_tensor_tranformed = transform(depth, params, normalize=False,istrain=self.opt.isTrain)
seg_tensor_tranformed = transform(seg, params, normalize=False,method='nearest',istrain=self.opt.isTrain)
if self.opt.inputmode == 'bgr-mean':
img_tensor_tranformed = transform(img, params, normalize=False, istrain=self.opt.isTrain, option=1)
else:
img_tensor_tranformed = transform(img, params, istrain=self.opt.isTrain, option=1)
return {'image':img_tensor_tranformed,
'depth':depth_tensor_tranformed,
'seg': seg_tensor_tranformed,
'imgpath': self.paths_dict['segs'][index]}
def __len__(self):
return self.len
def name(self):
return 'stanfordindoor_dataset'
class StanfordIndoorDataset_val(BaseDataset):
def initialize(self, opt):
self.opt = opt
np.random.seed(8964)
self.paths_dict = make_dataset_fromlst(opt.vallist)
self.len = len(self.paths_dict['images'])
def __getitem__(self, index):
img = np.asarray(Image.open(self.paths_dict['images'][index]))#.astype(np.uint8)
depth = np.asarray(Image.open(self.paths_dict['depths'][index])).astype(np.float32)/120. # 1/10 * depth
seg = np.asarray(Image.open(self.paths_dict['segs'][index]))-1
params = get_params_sunrgbd(self.opt, seg.shape, test=True)
depth_tensor_tranformed = transform(depth, params, normalize=False,istrain=self.opt.isTrain)
seg_tensor_tranformed = transform(seg, params, normalize=False,method='nearest',istrain=self.opt.isTrain)
if self.opt.inputmode == 'bgr-mean':
img_tensor_tranformed = transform(img, params, normalize=False, istrain=self.opt.isTrain, option=1)
else:
img_tensor_tranformed = transform(img, params, istrain=self.opt.isTrain, option=1)
return {'image':img_tensor_tranformed,
'depth':depth_tensor_tranformed,
'seg': seg_tensor_tranformed,
'imgpath': self.paths_dict['segs'][index]}
def __len__(self):
return self.len
def name(self):
return 'stanfordindoor_dataset'
| 36.271845
| 113
| 0.65712
|
99363d36c2e610243a250558b9aace120d96c6e6
| 110,490
|
py
|
Python
|
campaign/controllers.py
|
nirvanabear/WeVoteServer
|
f4a6bceaffa1273cb215cc561831a4aaaff19018
|
[
"MIT"
] | 1
|
2021-05-17T07:52:26.000Z
|
2021-05-17T07:52:26.000Z
|
campaign/controllers.py
|
nirvanabear/WeVoteServer
|
f4a6bceaffa1273cb215cc561831a4aaaff19018
|
[
"MIT"
] | null | null | null |
campaign/controllers.py
|
nirvanabear/WeVoteServer
|
f4a6bceaffa1273cb215cc561831a4aaaff19018
|
[
"MIT"
] | null | null | null |
# campaign/controllers.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
from .models import CampaignX, CampaignXListedByOrganization, CampaignXManager, CampaignXNewsItem, CampaignXOwner, \
CampaignXSupporter, FINAL_ELECTION_DATE_COOL_DOWN
import base64
from image.controllers import cache_campaignx_image, create_resized_images
import json
from io import BytesIO
from PIL import Image, ImageOps
import re
from activity.controllers import update_or_create_activity_notice_seed_for_campaignx_supporter_initial_response
from voter.models import VoterManager
import wevote_functions.admin
from wevote_functions.functions import generate_date_as_integer, positive_value_exists
logger = wevote_functions.admin.get_logger(__name__)
# Search for in image/controllers.py as well
CAMPAIGN_PHOTO_ORIGINAL_MAX_WIDTH = 1200
CAMPAIGN_PHOTO_ORIGINAL_MAX_HEIGHT = 628
CAMPAIGN_PHOTO_LARGE_MAX_WIDTH = 575
CAMPAIGN_PHOTO_LARGE_MAX_HEIGHT = 301
CAMPAIGN_PHOTO_MEDIUM_MAX_WIDTH = 224
CAMPAIGN_PHOTO_MEDIUM_MAX_HEIGHT = 117
CAMPAIGN_PHOTO_SMALL_MAX_WIDTH = 140
CAMPAIGN_PHOTO_SMALL_MAX_HEIGHT = 73
def campaignx_list_retrieve_for_api( # campaignListRetrieve
request=None,
voter_device_id='',
hostname='',
recommended_campaigns_for_campaignx_we_vote_id=''):
"""
:param request:
:param voter_device_id:
:param hostname:
:param recommended_campaigns_for_campaignx_we_vote_id:
:return:
"""
campaignx_display_list = []
status = ""
promoted_campaignx_list_returned = True
voter_can_vote_for_politicians_list_returned = True
voter_owned_campaignx_list_returned = True
voter_started_campaignx_list_returned = True
voter_supported_campaignx_list_returned = True
if positive_value_exists(recommended_campaigns_for_campaignx_we_vote_id):
# Do not retrieve certain data if returning recommended campaigns
promoted_campaignx_list_returned = False
voter_can_vote_for_politicians_list_returned = False
voter_owned_campaignx_list_returned = False
voter_started_campaignx_list_returned = False
voter_supported_campaignx_list_returned = False
promoted_campaignx_we_vote_ids = []
voter_can_send_updates_campaignx_we_vote_ids = []
voter_owned_campaignx_we_vote_ids = []
voter_started_campaignx_we_vote_ids = []
voter_supported_campaignx_we_vote_ids = []
voter_manager = VoterManager()
voter_results = voter_manager.retrieve_voter_from_voter_device_id(voter_device_id=voter_device_id, read_only=True)
if not positive_value_exists(voter_results['voter_found']):
status += 'VOTER_WE_VOTE_ID_COULD_NOT_BE_FETCHED '
json_data = {
'status': status,
'success': False,
'campaignx_list': [],
}
return json_data
voter = voter_results['voter']
voter_signed_in_with_email = voter.signed_in_with_email()
voter_we_vote_id = voter.we_vote_id
from organization.controllers import site_configuration_retrieve_for_api
results = site_configuration_retrieve_for_api(hostname)
site_owner_organization_we_vote_id = results['organization_we_vote_id']
voter_can_vote_for_politician_we_vote_ids = []
# TODO: Creates excessive slow-down. We need a more optimized solution.
# if voter_can_vote_for_politicians_list_returned:
# # We need to know all of the politicians this voter can vote for so we can figure out
# # if the voter can vote for any politicians in the election
# from ballot.controllers import what_voter_can_vote_for
# results = what_voter_can_vote_for(request=request, voter_device_id=voter_device_id)
# voter_can_vote_for_politician_we_vote_ids = results['voter_can_vote_for_politician_we_vote_ids']
visible_on_this_site_campaignx_we_vote_id_list = []
campaignx_manager = CampaignXManager()
if positive_value_exists(recommended_campaigns_for_campaignx_we_vote_id):
results = retrieve_recommended_campaignx_list_for_campaignx_we_vote_id(
request=request,
voter_device_id=voter_device_id,
voter_we_vote_id=voter_we_vote_id,
campaignx_we_vote_id=recommended_campaigns_for_campaignx_we_vote_id,
site_owner_organization_we_vote_id=site_owner_organization_we_vote_id)
else:
if positive_value_exists(site_owner_organization_we_vote_id):
results = campaignx_manager.retrieve_campaignx_list_for_private_label(
including_started_by_voter_we_vote_id=voter_we_vote_id,
site_owner_organization_we_vote_id=site_owner_organization_we_vote_id)
visible_on_this_site_campaignx_we_vote_id_list = results['visible_on_this_site_campaignx_we_vote_id_list']
else:
results = campaignx_manager.retrieve_campaignx_list(
including_started_by_voter_we_vote_id=voter_we_vote_id)
success = results['success']
status += results['status']
campaignx_list = results['campaignx_list']
campaignx_list_found = results['campaignx_list_found']
if success:
voter_owned_campaignx_we_vote_ids = campaignx_manager.retrieve_voter_owned_campaignx_we_vote_ids(
voter_we_vote_id=voter_we_vote_id,
)
voter_can_send_updates_campaignx_we_vote_ids = \
campaignx_manager.retrieve_voter_can_send_updates_campaignx_we_vote_ids(
voter_we_vote_id=voter_we_vote_id,
)
final_election_date_plus_cool_down = generate_date_as_integer() + FINAL_ELECTION_DATE_COOL_DOWN
for campaignx in campaignx_list:
viewer_is_owner = campaignx.we_vote_id in voter_owned_campaignx_we_vote_ids
final_election_date_in_past = \
final_election_date_plus_cool_down >= campaignx.final_election_date_as_integer \
if positive_value_exists(campaignx.final_election_date_as_integer) else False
# Should we promote this campaign on home page?
if campaignx.is_still_active and campaignx.is_ok_to_promote_on_we_vote \
and not final_election_date_in_past and not campaignx.is_in_team_review_mode:
if positive_value_exists(site_owner_organization_we_vote_id):
if campaignx.we_vote_id in visible_on_this_site_campaignx_we_vote_id_list:
promoted_campaignx_we_vote_ids.append(campaignx.we_vote_id)
else:
if campaignx.is_supporters_count_minimum_exceeded():
promoted_campaignx_we_vote_ids.append(campaignx.we_vote_id)
campaignx_owner_list = []
campaignx_owner_object_list = campaignx_manager.retrieve_campaignx_owner_list(
campaignx_we_vote_id=campaignx.we_vote_id, viewer_is_owner=viewer_is_owner)
for campaignx_owner in campaignx_owner_object_list:
campaign_owner_dict = {
'feature_this_profile_image': campaignx_owner.feature_this_profile_image,
'organization_name': campaignx_owner.organization_name,
'organization_we_vote_id': campaignx_owner.organization_we_vote_id,
'visible_to_public': campaignx_owner.visible_to_public,
'we_vote_hosted_profile_image_url_medium': campaignx_owner.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': campaignx_owner.we_vote_hosted_profile_image_url_tiny,
}
campaignx_owner_list.append(campaign_owner_dict)
if campaignx.politician_starter_list_serialized:
campaignx_politician_starter_list = json.loads(campaignx.politician_starter_list_serialized)
else:
campaignx_politician_starter_list = []
campaignx_politician_list_modified = []
campaignx_politician_list_exists = False
campaignx_politician_list = campaignx_manager.retrieve_campaignx_politician_list(
campaignx_we_vote_id=campaignx.we_vote_id,
)
for campaignx_politician in campaignx_politician_list:
campaignx_politician_list_exists = True
campaignx_politician_dict = {
'campaignx_politician_id': campaignx_politician.id,
'politician_name': campaignx_politician.politician_name,
'politician_we_vote_id': campaignx_politician.politician_we_vote_id,
'state_code': campaignx_politician.state_code,
'we_vote_hosted_profile_image_url_large':
campaignx_politician.we_vote_hosted_profile_image_url_large,
'we_vote_hosted_profile_image_url_medium':
campaignx_politician.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny':
campaignx_politician.we_vote_hosted_profile_image_url_tiny,
}
campaignx_politician_list_modified.append(campaignx_politician_dict)
# Get list of SEO Friendly Paths related to this campaignX. For most campaigns, there will only be one.
seo_friendly_path_list = campaignx_manager.retrieve_seo_friendly_path_simple_list(
campaignx_we_vote_id=campaignx.we_vote_id,
)
voter_campaignx_supporter_dict = {}
supporter_results = campaignx_manager.retrieve_campaignx_supporter(
campaignx_we_vote_id=campaignx.we_vote_id,
voter_we_vote_id=voter_we_vote_id,
read_only=True)
if supporter_results['success'] and supporter_results['campaignx_supporter_found']:
campaignx_supporter = supporter_results['campaignx_supporter']
chip_in_total = 'none'
date_last_changed_string = ''
date_supported_string = ''
try:
date_last_changed_string = campaignx_supporter.date_last_changed.strftime('%Y-%m-%d %H:%M:%S')
date_supported_string = campaignx_supporter.date_supported.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
try:
from stripe_donations.models import StripeManager
chip_in_total = StripeManager.retrieve_chip_in_total(voter_we_vote_id, campaignx.we_vote_id)
except Exception as e:
status += "LIST_RETRIEVE_CHIP_IN_TOTAL_ERROR: " + str(e) + " "
voter_campaignx_supporter_dict = {
'campaign_supported': campaignx_supporter.campaign_supported,
'campaignx_we_vote_id': campaignx_supporter.campaignx_we_vote_id,
'chip_in_total': chip_in_total,
'date_last_changed': date_last_changed_string,
'date_supported': date_supported_string,
'id': campaignx_supporter.id,
'organization_we_vote_id': campaignx_supporter.organization_we_vote_id,
'supporter_endorsement': campaignx_supporter.supporter_endorsement,
'supporter_name': campaignx_supporter.supporter_name,
'visible_to_public': campaignx_supporter.visible_to_public,
'voter_we_vote_id': campaignx_supporter.voter_we_vote_id,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_medium':
campaignx_supporter.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_photo_image_url_tiny':
campaignx_supporter.we_vote_hosted_profile_image_url_tiny,
}
if hasattr(campaignx, 'visible_on_this_site'):
visible_on_this_site = campaignx.visible_on_this_site
else:
visible_on_this_site = True
# If smaller sizes weren't stored, use large image
if campaignx.we_vote_hosted_campaign_photo_medium_url:
we_vote_hosted_campaign_photo_medium_url = campaignx.we_vote_hosted_campaign_photo_medium_url
else:
we_vote_hosted_campaign_photo_medium_url = campaignx.we_vote_hosted_campaign_photo_large_url
if campaignx.we_vote_hosted_campaign_photo_small_url:
we_vote_hosted_campaign_photo_small_url = campaignx.we_vote_hosted_campaign_photo_small_url
else:
we_vote_hosted_campaign_photo_small_url = campaignx.we_vote_hosted_campaign_photo_large_url
supporters_count_next_goal = campaignx_manager.fetch_supporters_count_next_goal(
supporters_count=campaignx.supporters_count,
supporters_count_victory_goal=campaignx.supporters_count_victory_goal)
one_campaignx = {
'campaign_description': campaignx.campaign_description,
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': campaignx_politician_list_modified,
'campaignx_politician_list_exists': campaignx_politician_list_exists,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaign_title': campaignx.campaign_title,
'campaignx_we_vote_id': campaignx.we_vote_id,
'final_election_date_as_integer': campaignx.final_election_date_as_integer,
'final_election_date_in_past': final_election_date_in_past,
'in_draft_mode': campaignx.in_draft_mode,
'is_blocked_by_we_vote': campaignx.is_blocked_by_we_vote,
'is_blocked_by_we_vote_reason': campaignx.is_blocked_by_we_vote_reason,
'is_in_team_review_mode': campaignx.is_in_team_review_mode,
'is_supporters_count_minimum_exceeded': campaignx.is_supporters_count_minimum_exceeded(),
'seo_friendly_path': campaignx.seo_friendly_path,
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': campaignx.supporters_count,
'supporters_count_next_goal': supporters_count_next_goal,
'supporters_count_victory_goal': campaignx.supporters_count_victory_goal,
'visible_on_this_site': visible_on_this_site,
'voter_campaignx_supporter': voter_campaignx_supporter_dict,
'voter_can_send_updates_to_campaignx':
campaignx.we_vote_id in voter_can_send_updates_campaignx_we_vote_ids,
'voter_is_campaignx_owner': viewer_is_owner,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': campaignx.we_vote_hosted_campaign_photo_large_url,
'we_vote_hosted_campaign_photo_medium_url': we_vote_hosted_campaign_photo_medium_url,
'we_vote_hosted_campaign_photo_small_url': we_vote_hosted_campaign_photo_small_url,
}
campaignx_display_list.append(one_campaignx)
if success and voter_started_campaignx_list_returned:
results = campaignx_manager.retrieve_campaignx_we_vote_id_list_started_by_voter(
started_by_voter_we_vote_id=voter_we_vote_id)
if not results['success']:
voter_started_campaignx_list_returned = False
else:
voter_started_campaignx_we_vote_ids = results['campaignx_we_vote_id_list']
if success and voter_supported_campaignx_list_returned:
supporter_list_results = campaignx_manager.retrieve_campaignx_supporter_list(
voter_we_vote_id=voter_we_vote_id,
limit=0,
require_visible_to_public=False,
read_only=True)
if supporter_list_results['supporter_list_found']:
supporter_list = supporter_list_results['supporter_list']
for one_supporter in supporter_list:
voter_supported_campaignx_we_vote_ids.append(one_supporter.campaignx_we_vote_id)
json_data = {
'status': status,
'success': success,
'campaignx_list': campaignx_display_list,
'campaignx_list_found': campaignx_list_found,
}
if promoted_campaignx_list_returned:
json_data['promoted_campaignx_list_returned'] = True
json_data['promoted_campaignx_we_vote_ids'] = promoted_campaignx_we_vote_ids
if positive_value_exists(recommended_campaigns_for_campaignx_we_vote_id):
json_data['recommended_campaigns_for_campaignx_we_vote_id'] = recommended_campaigns_for_campaignx_we_vote_id
if voter_can_vote_for_politicians_list_returned:
json_data['voter_can_vote_for_politicians_list_returned'] = True
json_data['voter_can_vote_for_politician_we_vote_ids'] = voter_can_vote_for_politician_we_vote_ids
if voter_owned_campaignx_list_returned:
json_data['voter_owned_campaignx_list_returned'] = True
json_data['voter_owned_campaignx_we_vote_ids'] = voter_owned_campaignx_we_vote_ids
json_data['voter_can_send_updates_campaignx_we_vote_ids'] = voter_can_send_updates_campaignx_we_vote_ids
if voter_started_campaignx_list_returned:
json_data['voter_started_campaignx_list_returned'] = True
json_data['voter_started_campaignx_we_vote_ids'] = voter_started_campaignx_we_vote_ids
if voter_supported_campaignx_list_returned:
json_data['voter_supported_campaignx_list_returned'] = True
json_data['voter_supported_campaignx_we_vote_ids'] = voter_supported_campaignx_we_vote_ids
return json_data
def campaignx_news_item_save_for_api( # campaignNewsItemSave
campaign_news_subject='',
campaign_news_subject_changed=False,
campaign_news_text='',
campaign_news_text_changed=False,
campaignx_news_item_we_vote_id='',
campaignx_we_vote_id='',
in_draft_mode=False,
in_draft_mode_changed=False,
send_now=False,
visible_to_public=False,
visible_to_public_changed=False,
voter_device_id=''):
status = ''
success = True
voter_manager = VoterManager()
voter_results = voter_manager.retrieve_voter_from_voter_device_id(voter_device_id)
if voter_results['voter_found']:
voter = voter_results['voter']
voter_we_vote_id = voter.we_vote_id
linked_organization_we_vote_id = voter.linked_organization_we_vote_id
else:
status += "VALID_VOTER_ID_MISSING "
results = {
'status': status,
'success': False,
'campaign_news_subject': '',
'campaign_news_text': '',
'campaignx_news_item_we_vote_id': '',
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_posted': '',
'date_sent_to_email': '',
'in_draft_mode': True,
'organization_we_vote_id': '',
'speaker_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
if not positive_value_exists(campaignx_we_vote_id):
status += "CAMPAIGNX_WE_VOTE_ID_REQUIRED "
results = {
'status': status,
'success': False,
'campaign_news_subject': '',
'campaign_news_text': '',
'campaignx_news_item_we_vote_id': '',
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_posted': '',
'date_sent_to_email': '',
'in_draft_mode': True,
'organization_we_vote_id': '',
'speaker_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
campaignx_manager = CampaignXManager()
voter_is_campaignx_owner = campaignx_manager.is_voter_campaignx_owner(
campaignx_we_vote_id=campaignx_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
)
if not positive_value_exists(voter_is_campaignx_owner):
status += "VOTER_DOES_NOT_HAVE_RIGHT_TO_CREATE_NEWS_ITEM "
results = {
'status': status,
'success': False,
'campaign_news_subject': '',
'campaign_news_text': '',
'campaignx_news_item_we_vote_id': '',
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_posted': '',
'date_sent_to_email': '',
'in_draft_mode': True,
'organization_we_vote_id': '',
'speaker_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
update_values = {
'campaign_news_subject': campaign_news_subject,
'campaign_news_subject_changed': campaign_news_subject_changed,
'campaign_news_text': campaign_news_text,
'campaign_news_text_changed': campaign_news_text_changed,
'in_draft_mode': in_draft_mode,
'in_draft_mode_changed': in_draft_mode_changed,
'visible_to_public': visible_to_public,
'visible_to_public_changed': visible_to_public_changed,
}
create_results = campaignx_manager.update_or_create_campaignx_news_item(
campaignx_news_item_we_vote_id=campaignx_news_item_we_vote_id,
campaignx_we_vote_id=campaignx_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
update_values=update_values,
)
status += create_results['status']
campaignx_news_item = None
campaignx_news_item_found = False
date_sent_to_email_found = False
if create_results['campaignx_news_item_found']:
campaignx_news_item = create_results['campaignx_news_item']
date_sent_to_email_found = positive_value_exists(campaignx_news_item.date_sent_to_email)
campaignx_news_item_found = True
send_campaignx_news_item = positive_value_exists(send_now)
if campaignx_news_item_found:
results = campaignx_manager.retrieve_campaignx(
campaignx_we_vote_id=campaignx_we_vote_id,
read_only=True,
)
if results['campaignx_found']:
campaignx = results['campaignx']
from activity.controllers import update_or_create_activity_notice_seed_for_campaignx_news_item
activity_results = update_or_create_activity_notice_seed_for_campaignx_news_item(
campaignx_news_item_we_vote_id=campaignx_news_item.we_vote_id,
campaignx_we_vote_id=campaignx.we_vote_id,
send_campaignx_news_item=send_campaignx_news_item,
speaker_name=campaignx_news_item.speaker_name,
speaker_organization_we_vote_id=campaignx_news_item.organization_we_vote_id,
speaker_voter_we_vote_id=campaignx_news_item.voter_we_vote_id,
speaker_profile_image_url_medium=campaignx_news_item.we_vote_hosted_profile_image_url_medium,
speaker_profile_image_url_tiny=campaignx_news_item.we_vote_hosted_profile_image_url_tiny,
statement_subject=campaignx_news_item.campaign_news_subject,
statement_text=campaignx_news_item.campaign_news_text)
status += activity_results['status']
if activity_results['success'] and send_campaignx_news_item and not date_sent_to_email_found:
if activity_results['activity_notice_seed_found']:
activity_notice_seed = activity_results['activity_notice_seed']
campaignx_news_item.date_sent_to_email = activity_notice_seed.date_sent_to_email
campaignx_news_item.save()
if campaignx_news_item_found:
date_last_changed_string = ''
date_posted_string = ''
date_sent_to_email_string = ''
try:
date_last_changed_string = campaignx_news_item.date_last_changed.strftime('%Y-%m-%d %H:%M:%S')
date_posted_string = campaignx_news_item.date_posted.strftime('%Y-%m-%d %H:%M:%S')
date_sent_to_email_string = campaignx_news_item.date_posted.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
results = {
'status': status,
'success': success,
'campaign_news_subject': campaignx_news_item.campaign_news_subject,
'campaign_news_text': campaignx_news_item.campaign_news_text,
'campaignx_news_item_we_vote_id': campaignx_news_item.we_vote_id,
'campaignx_we_vote_id': campaignx_news_item.campaignx_we_vote_id,
'date_last_changed': date_last_changed_string,
'date_posted': date_posted_string,
'date_sent_to_email': date_sent_to_email_string,
'in_draft_mode': campaignx_news_item.in_draft_mode,
'organization_we_vote_id': campaignx_news_item.organization_we_vote_id,
'speaker_name': campaignx_news_item.speaker_name,
'voter_we_vote_id': campaignx_news_item.voter_we_vote_id,
'we_vote_hosted_profile_photo_image_url_medium':
campaignx_news_item.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_photo_image_url_tiny': campaignx_news_item.we_vote_hosted_profile_image_url_tiny,
}
return results
else:
status += "CAMPAIGNX_NEWS_ITEM_NOT_FOUND_ERROR "
results = {
'status': status,
'success': False,
'campaign_news_subject': '',
'campaign_news_text': '',
'campaignx_news_item_we_vote_id': '',
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_posted': '',
'date_sent_to_email': '',
'in_draft_mode': True,
'organization_we_vote_id': '',
'speaker_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
def campaignx_retrieve_for_api( # campaignRetrieve & campaignRetrieveAsOwner (No CDN)
request=None,
voter_device_id='',
campaignx_we_vote_id='',
seo_friendly_path='',
as_owner=False,
hostname=''):
status = ''
campaignx_owner_list = []
campaignx_politician_starter_list = []
seo_friendly_path_list = []
voter_signed_in_with_email = False
voter_we_vote_id = ''
campaignx_manager = CampaignXManager()
voter_manager = VoterManager()
voter_results = voter_manager.retrieve_voter_from_voter_device_id(voter_device_id)
if voter_results['voter_found']:
voter = voter_results['voter']
voter_signed_in_with_email = voter.signed_in_with_email()
voter_we_vote_id = voter.we_vote_id
if positive_value_exists(as_owner):
if not positive_value_exists(voter_we_vote_id):
status += "VALID_VOTER_ID_MISSING "
results = {
'status': status,
'success': False,
'campaign_description': '',
'campaign_title': '',
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': '',
'final_election_date_as_integer': None,
'final_election_date_in_past': False,
'in_draft_mode': True,
'is_blocked_by_we_vote': False,
'is_blocked_by_we_vote_reason': '',
'is_supporters_count_minimum_exceeded': False,
'seo_friendly_path': '',
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_campaignx_supporter': {},
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
results = campaignx_manager.retrieve_campaignx_as_owner(
campaignx_we_vote_id=campaignx_we_vote_id,
seo_friendly_path=seo_friendly_path,
voter_we_vote_id=voter_we_vote_id,
read_only=True,
)
voter_is_campaignx_owner = results['viewer_is_owner']
else:
results = campaignx_manager.retrieve_campaignx(
campaignx_we_vote_id=campaignx_we_vote_id,
seo_friendly_path=seo_friendly_path,
voter_we_vote_id=voter_we_vote_id,
read_only=True,
)
voter_is_campaignx_owner = results['viewer_is_owner']
status += results['status']
if not results['success']:
status += "CAMPAIGNX_RETRIEVE_ERROR "
results = {
'status': status,
'success': False,
'campaign_description': '',
'campaign_title': '',
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': '',
'in_draft_mode': True,
'is_supporters_count_minimum_exceeded': False,
'seo_friendly_path': '',
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_campaignx_supporter': {},
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
elif not results['campaignx_found']:
status += "CAMPAIGNX_NOT_FOUND: "
status += results['status'] + " "
results = {
'status': status,
'success': True,
'campaign_description': '',
'campaign_title': '',
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': '',
'final_election_date_as_integer': None,
'final_election_date_in_past': False,
'in_draft_mode': True,
'is_blocked_by_we_vote': False,
'is_blocked_by_we_vote_reason': '',
'is_supporters_count_minimum_exceeded': False,
'seo_friendly_path': '',
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_campaignx_supporter': {},
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
campaignx = results['campaignx']
campaignx_owner_list = results['campaignx_owner_list']
seo_friendly_path_list = results['seo_friendly_path_list']
# Get campaignx news items / updates
campaignx_news_item_list = []
news_item_list_results = campaignx_manager.retrieve_campaignx_news_item_list(
campaignx_we_vote_id=campaignx.we_vote_id,
read_only=True,
voter_is_campaignx_owner=voter_is_campaignx_owner)
if news_item_list_results['campaignx_news_item_list_found']:
news_item_list = news_item_list_results['campaignx_news_item_list']
for news_item in news_item_list:
date_last_changed_string = ''
date_posted_string = ''
date_sent_to_email_string = ''
try:
date_last_changed_string = news_item.date_last_changed.strftime('%Y-%m-%d %H:%M:%S')
date_posted_string = news_item.date_posted.strftime('%Y-%m-%d %H:%M:%S')
if positive_value_exists(news_item.date_sent_to_email):
date_sent_to_email_string = news_item.date_sent_to_email.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
one_news_item_dict = {
'campaign_news_subject': news_item.campaign_news_subject,
'campaign_news_text': news_item.campaign_news_text,
'campaignx_news_item_we_vote_id': news_item.we_vote_id,
'campaignx_we_vote_id': news_item.campaignx_we_vote_id,
'date_last_changed': date_last_changed_string,
'date_posted': date_posted_string,
'date_sent_to_email': date_sent_to_email_string,
'in_draft_mode': news_item.in_draft_mode,
'organization_we_vote_id': news_item.organization_we_vote_id,
'speaker_name': news_item.speaker_name,
'visible_to_public': news_item.visible_to_public,
'voter_we_vote_id': news_item.voter_we_vote_id,
'we_vote_hosted_profile_image_url_medium': news_item.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': news_item.we_vote_hosted_profile_image_url_tiny,
}
campaignx_news_item_list.append(one_news_item_dict)
from organization.controllers import site_configuration_retrieve_for_api
site_results = site_configuration_retrieve_for_api(hostname)
site_owner_organization_we_vote_id = site_results['organization_we_vote_id']
if positive_value_exists(site_owner_organization_we_vote_id):
try:
visible_on_this_site_campaignx_we_vote_id_list = \
campaignx_manager.retrieve_visible_on_this_site_campaignx_simple_list(
site_owner_organization_we_vote_id=site_owner_organization_we_vote_id)
if campaignx.we_vote_id in visible_on_this_site_campaignx_we_vote_id_list:
campaignx.visible_on_this_site = True
else:
campaignx.visible_on_this_site = False
except Exception as e:
success = False
status += "RETRIEVE_CAMPAIGNX_LIST_FOR_PRIVATE_LABEL_FAILED: " + str(e) + " "
else:
campaignx.visible_on_this_site = True
voter_can_send_updates_campaignx_we_vote_ids = \
campaignx_manager.retrieve_voter_can_send_updates_campaignx_we_vote_ids(
voter_we_vote_id=voter_we_vote_id,
)
if campaignx.politician_starter_list_serialized:
campaignx_politician_starter_list = json.loads(campaignx.politician_starter_list_serialized)
else:
campaignx_politician_starter_list = []
campaignx_politician_list_modified = []
campaignx_politician_list_exists = False
campaignx_politician_list = campaignx_manager.retrieve_campaignx_politician_list(
campaignx_we_vote_id=campaignx.we_vote_id,
)
# We need to know all of the politicians this voter can vote for so we can figure out
# if the voter can vote for any politicians in the election
from ballot.controllers import what_voter_can_vote_for
results = what_voter_can_vote_for(request=request, voter_device_id=voter_device_id)
voter_can_vote_for_politician_we_vote_ids = results['voter_can_vote_for_politician_we_vote_ids']
for campaignx_politician in campaignx_politician_list:
campaignx_politician_list_exists = True
campaignx_politician_dict = {
'campaignx_politician_id': campaignx_politician.id,
'politician_name': campaignx_politician.politician_name,
'politician_we_vote_id': campaignx_politician.politician_we_vote_id,
'state_code': campaignx_politician.state_code,
'we_vote_hosted_profile_image_url_large': campaignx_politician.we_vote_hosted_profile_image_url_large,
'we_vote_hosted_profile_image_url_medium': campaignx_politician.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': campaignx_politician.we_vote_hosted_profile_image_url_tiny,
}
campaignx_politician_list_modified.append(campaignx_politician_dict)
supporter_results = campaignx_manager.retrieve_campaignx_supporter(
campaignx_we_vote_id=campaignx.we_vote_id,
voter_we_vote_id=voter_we_vote_id,
read_only=True)
if supporter_results['success'] and supporter_results['campaignx_supporter_found']:
campaignx_supporter = supporter_results['campaignx_supporter']
chip_in_total = 'none'
date_last_changed_string = ''
date_supported_string = ''
try:
date_last_changed_string = campaignx_supporter.date_last_changed.strftime('%Y-%m-%d %H:%M:%S')
date_supported_string = campaignx_supporter.date_supported.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
try:
from stripe_donations.models import StripeManager
chip_in_total = StripeManager.retrieve_chip_in_total(voter_we_vote_id, campaignx.we_vote_id)
except Exception as e:
status += "RETRIEVE_CHIP_IN_TOTAL_ERROR: " + str(e) + " "
voter_campaignx_supporter_dict = {
'campaign_supported': campaignx_supporter.campaign_supported,
'campaignx_we_vote_id': campaignx_supporter.campaignx_we_vote_id,
'chip_in_total': chip_in_total,
'date_last_changed': date_last_changed_string,
'date_supported': date_supported_string,
'id': campaignx_supporter.id,
'organization_we_vote_id': campaignx_supporter.organization_we_vote_id,
'supporter_endorsement': campaignx_supporter.supporter_endorsement,
'supporter_name': campaignx_supporter.supporter_name,
'visible_to_public': campaignx_supporter.visible_to_public,
'voter_we_vote_id': campaignx_supporter.voter_we_vote_id,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_image_url_medium': campaignx_supporter.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': campaignx_supporter.we_vote_hosted_profile_image_url_tiny,
}
else:
voter_campaignx_supporter_dict = {}
# Get most recent supporters
latest_campaignx_supporter_list = []
supporter_list_results = campaignx_manager.retrieve_campaignx_supporter_list(
campaignx_we_vote_id=campaignx.we_vote_id,
limit=7,
read_only=True,
require_visible_to_public=True)
if supporter_list_results['supporter_list_found']:
supporter_list = supporter_list_results['supporter_list']
for campaignx_supporter in supporter_list:
date_supported_string = ''
try:
date_supported_string = campaignx_supporter.date_supported.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
one_supporter_dict = {
'id': campaignx_supporter.id,
'campaign_supported': campaignx_supporter.campaign_supported,
'campaignx_we_vote_id': campaignx_supporter.campaignx_we_vote_id,
'date_supported': date_supported_string,
'organization_we_vote_id': campaignx_supporter.organization_we_vote_id,
'supporter_endorsement': campaignx_supporter.supporter_endorsement,
'supporter_name': campaignx_supporter.supporter_name,
'voter_we_vote_id': campaignx_supporter.voter_we_vote_id,
'we_vote_hosted_profile_image_url_medium': campaignx_supporter.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': campaignx_supporter.we_vote_hosted_profile_image_url_tiny,
}
latest_campaignx_supporter_list.append(one_supporter_dict)
# Get most recent supporter_endorsements
latest_campaignx_supporter_endorsement_list = []
supporter_list_results = campaignx_manager.retrieve_campaignx_supporter_list(
campaignx_we_vote_id=campaignx.we_vote_id,
limit=10,
require_supporter_endorsement=True,
read_only=True)
if supporter_list_results['supporter_list_found']:
supporter_list = supporter_list_results['supporter_list']
for campaignx_supporter in supporter_list:
date_supported_string = ''
try:
date_supported_string = campaignx_supporter.date_supported.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
one_supporter_dict = {
'id': campaignx_supporter.id,
'campaign_supported': campaignx_supporter.campaign_supported,
'campaignx_we_vote_id': campaignx_supporter.campaignx_we_vote_id,
'date_supported': date_supported_string,
'organization_we_vote_id': campaignx_supporter.organization_we_vote_id,
'supporter_endorsement': campaignx_supporter.supporter_endorsement,
'supporter_name': campaignx_supporter.supporter_name,
'voter_we_vote_id': campaignx_supporter.voter_we_vote_id,
'we_vote_hosted_profile_image_url_medium': campaignx_supporter.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': campaignx_supporter.we_vote_hosted_profile_image_url_tiny,
}
latest_campaignx_supporter_endorsement_list.append(one_supporter_dict)
# If smaller sizes weren't stored, use large image
if campaignx.we_vote_hosted_campaign_photo_medium_url:
we_vote_hosted_campaign_photo_medium_url = campaignx.we_vote_hosted_campaign_photo_medium_url
else:
we_vote_hosted_campaign_photo_medium_url = campaignx.we_vote_hosted_campaign_photo_large_url
if campaignx.we_vote_hosted_campaign_photo_small_url:
we_vote_hosted_campaign_photo_small_url = campaignx.we_vote_hosted_campaign_photo_small_url
else:
we_vote_hosted_campaign_photo_small_url = campaignx.we_vote_hosted_campaign_photo_large_url
supporters_count_next_goal = campaignx_manager.fetch_supporters_count_next_goal(
supporters_count=campaignx.supporters_count,
supporters_count_victory_goal=campaignx.supporters_count_victory_goal)
final_election_date_plus_cool_down = generate_date_as_integer() + FINAL_ELECTION_DATE_COOL_DOWN
final_election_date_in_past = \
final_election_date_plus_cool_down >= campaignx.final_election_date_as_integer \
if positive_value_exists(campaignx.final_election_date_as_integer) else False
results = {
'status': status,
'success': True,
'campaign_description': campaignx.campaign_description,
'campaign_title': campaignx.campaign_title,
'campaignx_news_item_list': campaignx_news_item_list,
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': campaignx_politician_list_modified,
'campaignx_politician_list_exists': campaignx_politician_list_exists,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': campaignx.we_vote_id,
'final_election_date_as_integer': campaignx.final_election_date_as_integer,
'final_election_date_in_past': final_election_date_in_past,
'in_draft_mode': campaignx.in_draft_mode,
'is_blocked_by_we_vote': campaignx.is_blocked_by_we_vote,
'is_blocked_by_we_vote_reason': campaignx.is_blocked_by_we_vote_reason,
'is_supporters_count_minimum_exceeded': campaignx.is_supporters_count_minimum_exceeded(),
'latest_campaignx_supporter_endorsement_list': latest_campaignx_supporter_endorsement_list,
'latest_campaignx_supporter_list': latest_campaignx_supporter_list,
'seo_friendly_path': campaignx.seo_friendly_path,
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': campaignx.supporters_count,
'supporters_count_next_goal': supporters_count_next_goal,
'supporters_count_victory_goal': campaignx.supporters_count_victory_goal,
'visible_on_this_site': campaignx.visible_on_this_site,
'voter_campaignx_supporter': voter_campaignx_supporter_dict,
'voter_can_send_updates_to_campaignx':
campaignx.we_vote_id in voter_can_send_updates_campaignx_we_vote_ids,
'voter_can_vote_for_politician_we_vote_ids': voter_can_vote_for_politician_we_vote_ids,
'voter_is_campaignx_owner': voter_is_campaignx_owner,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': campaignx.we_vote_hosted_campaign_photo_large_url,
'we_vote_hosted_campaign_photo_medium_url': we_vote_hosted_campaign_photo_medium_url,
'we_vote_hosted_campaign_photo_small_url': we_vote_hosted_campaign_photo_small_url,
}
return results
def campaignx_save_for_api( # campaignSave & campaignStartSave
campaign_description='',
campaign_description_changed=False,
in_draft_mode=False,
in_draft_mode_changed=False,
campaign_photo_from_file_reader='',
campaign_photo_changed=False,
campaign_photo_delete=False,
campaign_photo_delete_changed=False,
campaign_title='',
campaign_title_changed=False,
campaignx_we_vote_id='',
politician_delete_list_serialized='',
politician_starter_list_serialized='',
politician_starter_list_changed=False,
voter_device_id=''):
status = ''
success = True
campaignx_owner_list = []
campaignx_politician_starter_list = []
seo_friendly_path_list = []
voter_signed_in_with_email = False
voter_manager = VoterManager()
voter_results = voter_manager.retrieve_voter_from_voter_device_id(voter_device_id)
if voter_results['voter_found']:
voter = voter_results['voter']
voter_signed_in_with_email = voter.signed_in_with_email()
voter_we_vote_id = voter.we_vote_id
linked_organization_we_vote_id = voter.linked_organization_we_vote_id
else:
status += "VALID_VOTER_ID_MISSING "
results = {
'status': status,
'success': False,
'campaign_description': '',
'campaign_title': '',
'final_election_date_as_integer': None,
'final_election_date_in_past': False,
'in_draft_mode': True,
'is_blocked_by_we_vote': False,
'is_blocked_by_we_vote_reason': '',
'is_supporters_count_minimum_exceeded': False,
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': '',
'seo_friendly_path': '',
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
if positive_value_exists(in_draft_mode_changed) and not positive_value_exists(in_draft_mode):
# Make sure organization object has necessary images needed for CampaignXOwner and CampaignXSupporter
from organization.models import OrganizationManager
organization_manager = OrganizationManager()
organization_results = \
organization_manager.retrieve_organization_from_we_vote_id(linked_organization_we_vote_id)
organization_changed = False
if organization_results['organization_found']:
try:
organization = organization_results['organization']
if not positive_value_exists(organization.we_vote_hosted_profile_image_url_tiny) and \
positive_value_exists(voter.we_vote_hosted_profile_image_url_tiny):
organization.we_vote_hosted_profile_image_url_tiny = voter.we_vote_hosted_profile_image_url_tiny
organization_changed = True
if not positive_value_exists(organization.we_vote_hosted_profile_image_url_medium) and \
positive_value_exists(voter.we_vote_hosted_profile_image_url_medium):
organization.we_vote_hosted_profile_image_url_medium = voter.we_vote_hosted_profile_image_url_medium
organization_changed = True
if not positive_value_exists(organization.we_vote_hosted_profile_image_url_large) and \
positive_value_exists(voter.we_vote_hosted_profile_image_url_large):
organization.we_vote_hosted_profile_image_url_large = voter.we_vote_hosted_profile_image_url_large
organization_changed = True
if organization_changed:
organization.save()
except Exception as e:
status += "COULD_NOT_UPDATE_ORGANIZATION_FROM_VOTER: " + str(e) + " "
# To publish a campaign, voter must be signed in with an email address
if not voter.signed_in_with_email():
status += "MUST_BE_SIGNED_IN_WITH_EMAIL "
results = {
'status': status,
'success': False,
'campaign_description': '',
'campaign_title': '',
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': '',
'final_election_date_as_integer': None,
'final_election_date_in_past': False,
'in_draft_mode': True,
'is_blocked_by_we_vote': False,
'is_blocked_by_we_vote_reason': '',
'is_supporters_count_minimum_exceeded': False,
'seo_friendly_path': '',
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
campaignx_manager = CampaignXManager()
viewer_is_owner = False
if positive_value_exists(campaignx_we_vote_id):
viewer_is_owner = campaignx_manager.is_voter_campaignx_owner(
campaignx_we_vote_id=campaignx_we_vote_id, voter_we_vote_id=voter_we_vote_id)
if not positive_value_exists(viewer_is_owner):
status += "VOTER_IS_NOT_OWNER_OF_CAMPAIGNX "
results = {
'status': status,
'success': False,
'campaign_description': '',
'campaign_title': '',
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': '',
'final_election_date_as_integer': None,
'final_election_date_in_past': False,
'in_draft_mode': False,
'is_blocked_by_we_vote': False,
'is_blocked_by_we_vote_reason': '',
'is_supporters_count_minimum_exceeded': False,
'seo_friendly_path': '',
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
# Save campaign_photo_from_file_reader and get back we_vote_hosted_campaign_photo_original_url
we_vote_hosted_campaign_photo_large_url = None
we_vote_hosted_campaign_photo_medium_url = None
we_vote_hosted_campaign_photo_original_url = None
we_vote_hosted_campaign_photo_small_url = None
if campaign_photo_changed and campaign_photo_from_file_reader:
photo_results = campaignx_save_photo_from_file_reader(
campaignx_we_vote_id=campaignx_we_vote_id,
campaign_photo_from_file_reader=campaign_photo_from_file_reader)
if photo_results['we_vote_hosted_campaign_photo_original_url']:
we_vote_hosted_campaign_photo_original_url = photo_results['we_vote_hosted_campaign_photo_original_url']
# Now we want to resize to a large version
create_resized_image_results = create_resized_images(
campaignx_we_vote_id=campaignx_we_vote_id,
campaignx_photo_url_https=we_vote_hosted_campaign_photo_original_url)
we_vote_hosted_campaign_photo_large_url = \
create_resized_image_results['cached_resized_image_url_large']
we_vote_hosted_campaign_photo_medium_url = \
create_resized_image_results['cached_resized_image_url_medium']
we_vote_hosted_campaign_photo_small_url = \
create_resized_image_results['cached_resized_image_url_tiny']
update_values = {
'campaign_description': campaign_description,
'campaign_description_changed': campaign_description_changed,
'in_draft_mode': in_draft_mode,
'in_draft_mode_changed': in_draft_mode_changed,
'campaign_photo_changed': campaign_photo_changed,
'campaign_photo_delete': campaign_photo_delete,
'campaign_photo_delete_changed': campaign_photo_delete_changed,
'campaign_title': campaign_title,
'campaign_title_changed': campaign_title_changed,
'politician_delete_list_serialized': politician_delete_list_serialized,
'politician_starter_list_changed': politician_starter_list_changed,
'politician_starter_list_serialized': politician_starter_list_serialized,
'we_vote_hosted_campaign_photo_large_url': we_vote_hosted_campaign_photo_large_url,
'we_vote_hosted_campaign_photo_medium_url': we_vote_hosted_campaign_photo_medium_url,
'we_vote_hosted_campaign_photo_small_url': we_vote_hosted_campaign_photo_small_url,
'we_vote_hosted_campaign_photo_original_url': we_vote_hosted_campaign_photo_original_url,
}
create_results = campaignx_manager.update_or_create_campaignx(
campaignx_we_vote_id=campaignx_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
update_values=update_values,
)
else:
# If here, we are working with a draft
# Save campaign_photo_from_file_reader and get back we_vote_hosted_campaign_photo_large_url
# after initial update
update_values = {
'campaign_description': campaign_description,
'campaign_description_changed': campaign_description_changed,
'in_draft_mode': in_draft_mode,
'in_draft_mode_changed': in_draft_mode_changed,
'campaign_photo_delete': campaign_photo_delete,
'campaign_photo_delete_changed': campaign_photo_delete_changed,
'campaign_title': campaign_title,
'campaign_title_changed': campaign_title_changed,
'politician_delete_list_serialized': politician_delete_list_serialized,
'politician_starter_list_changed': politician_starter_list_changed,
'politician_starter_list_serialized': politician_starter_list_serialized,
}
create_results = campaignx_manager.update_or_create_campaignx(
voter_we_vote_id=voter_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
update_values=update_values,
)
if create_results['campaignx_created']:
# Campaign was just created, so save the voter as an owner
campaignx_we_vote_id = create_results['campaignx_we_vote_id']
owner_results = campaignx_manager.update_or_create_campaignx_owner(
campaignx_we_vote_id=campaignx_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
voter_we_vote_id=voter_we_vote_id)
status += owner_results['status']
if create_results['campaignx_found'] and campaign_photo_changed:
campaignx = create_results['campaignx']
campaignx_we_vote_id = create_results['campaignx_we_vote_id']
if campaign_photo_from_file_reader:
photo_results = campaignx_save_photo_from_file_reader(
campaignx_we_vote_id=campaignx_we_vote_id,
campaign_photo_from_file_reader=campaign_photo_from_file_reader)
if photo_results['we_vote_hosted_campaign_photo_original_url']:
campaignx.we_vote_hosted_campaign_photo_original_url = \
photo_results['we_vote_hosted_campaign_photo_original_url']
# Now we want to resize to a large version
create_resized_image_results = create_resized_images(
campaignx_we_vote_id=campaignx_we_vote_id,
campaignx_photo_url_https=campaignx.we_vote_hosted_campaign_photo_original_url)
campaignx.we_vote_hosted_campaign_photo_large_url = \
create_resized_image_results['cached_resized_image_url_large']
campaignx.we_vote_hosted_campaign_photo_medium_url = \
create_resized_image_results['cached_resized_image_url_medium']
campaignx.we_vote_hosted_campaign_photo_small_url = \
create_resized_image_results['cached_resized_image_url_tiny']
campaignx.save()
else:
# Deleting image
campaignx.we_vote_hosted_campaign_photo_large_url = None
campaignx.we_vote_hosted_campaign_photo_medium_url = None
campaignx.we_vote_hosted_campaign_photo_small_url = None
campaignx.save()
status += create_results['status']
if create_results['campaignx_found']:
campaignx = create_results['campaignx']
campaignx_we_vote_id = campaignx.we_vote_id
# Get owner_list
results = campaignx_manager.retrieve_campaignx_as_owner(
campaignx_we_vote_id=campaignx_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
read_only=True,
)
campaignx_owner_list = results['campaignx_owner_list']
voter_can_send_updates_campaignx_we_vote_ids = \
campaignx_manager.retrieve_voter_can_send_updates_campaignx_we_vote_ids(
voter_we_vote_id=voter_we_vote_id,
)
# Get politician_starter_list
if campaignx.politician_starter_list_serialized:
campaignx_politician_starter_list = json.loads(campaignx.politician_starter_list_serialized)
else:
campaignx_politician_starter_list = []
campaignx_politician_list_modified = []
campaignx_politician_list_exists = False
# if positive_value_exists(politician_starter_list_changed):
# results = campaignx_manager.update_or_create_campaignx_politicians_from_starter(
# campaignx_we_vote_id=campaignx.we_vote_id,
# politician_starter_list=campaignx_politician_starter_list,
# )
# campaignx_politician_list_exists = results['campaignx_politician_list_found']
# campaignx_politician_list = results['campaignx_politician_list']
# else:
campaignx_politician_list = campaignx_manager.retrieve_campaignx_politician_list(
campaignx_we_vote_id=campaignx_we_vote_id,
)
# Convert to json-friendly
for campaignx_politician in campaignx_politician_list:
campaignx_politician_list_exists = True
campaignx_politician_dict = {
'campaignx_politician_id': campaignx_politician.id,
'politician_name': campaignx_politician.politician_name,
'politician_we_vote_id': campaignx_politician.politician_we_vote_id,
'state_code': campaignx_politician.state_code,
'we_vote_hosted_profile_image_url_large': campaignx_politician.we_vote_hosted_profile_image_url_large,
'we_vote_hosted_profile_image_url_medium': campaignx_politician.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_image_url_tiny': campaignx_politician.we_vote_hosted_profile_image_url_tiny,
}
campaignx_politician_list_modified.append(campaignx_politician_dict)
# Get list of SEO Friendly Paths related to this campaignX. For most campaigns, there will only be one.
seo_friendly_path_list = campaignx_manager.retrieve_seo_friendly_path_simple_list(
campaignx_we_vote_id=campaignx_we_vote_id,
)
if in_draft_mode_changed and not positive_value_exists(in_draft_mode):
if voter.signed_in_with_email():
# Make sure the person creating the campaign has a campaignx_supporter entry IFF they are signed in
update_values = {
'campaign_supported': True,
'campaign_supported_changed': True,
'supporter_endorsement': '',
'supporter_endorsement_changed': False,
'visible_to_public': True,
'visible_to_public_changed': True,
}
create_results = campaignx_manager.update_or_create_campaignx_supporter(
campaignx_we_vote_id=campaignx_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
update_values=update_values,
)
status += create_results['status']
# Make sure an owner entry exists
owner_results = campaignx_manager.update_or_create_campaignx_owner(
campaignx_we_vote_id=campaignx_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
voter_we_vote_id=voter_we_vote_id)
status += owner_results['status']
if hasattr(campaignx, 'visible_on_this_site'):
visible_on_this_site = campaignx.visible_on_this_site
else:
visible_on_this_site = True
# If smaller sizes weren't stored, use large image
if campaignx.we_vote_hosted_campaign_photo_medium_url:
we_vote_hosted_campaign_photo_medium_url = campaignx.we_vote_hosted_campaign_photo_medium_url
else:
we_vote_hosted_campaign_photo_medium_url = campaignx.we_vote_hosted_campaign_photo_large_url
if campaignx.we_vote_hosted_campaign_photo_small_url:
we_vote_hosted_campaign_photo_small_url = campaignx.we_vote_hosted_campaign_photo_small_url
else:
we_vote_hosted_campaign_photo_small_url = campaignx.we_vote_hosted_campaign_photo_large_url
supporters_count_next_goal = campaignx_manager.fetch_supporters_count_next_goal(
supporters_count=campaignx.supporters_count,
supporters_count_victory_goal=campaignx.supporters_count_victory_goal)
final_election_date_plus_cool_down = generate_date_as_integer() + FINAL_ELECTION_DATE_COOL_DOWN
final_election_date_in_past = \
final_election_date_plus_cool_down >= campaignx.final_election_date_as_integer \
if positive_value_exists(campaignx.final_election_date_as_integer) else False
results = {
'status': status,
'success': success,
'campaign_description': campaignx.campaign_description,
'campaign_title': campaignx.campaign_title,
'campaignx_owner_list': campaignx_owner_list,
'campaignx_politician_list': campaignx_politician_list_modified,
'campaignx_politician_list_exists': campaignx_politician_list_exists,
'campaignx_politician_starter_list': campaignx_politician_starter_list,
'campaignx_we_vote_id': campaignx.we_vote_id,
'final_election_date_as_integer': campaignx.final_election_date_as_integer,
'final_election_date_in_past': final_election_date_in_past,
'in_draft_mode': campaignx.in_draft_mode,
'is_blocked_by_we_vote': campaignx.is_blocked_by_we_vote,
'is_blocked_by_we_vote_reason': campaignx.is_blocked_by_we_vote_reason,
'is_supporters_count_minimum_exceeded': campaignx.is_supporters_count_minimum_exceeded(),
'seo_friendly_path': campaignx.seo_friendly_path,
'seo_friendly_path_list': seo_friendly_path_list,
'supporters_count': campaignx.supporters_count,
'supporters_count_next_goal': supporters_count_next_goal,
'supporters_count_victory_goal': campaignx.supporters_count_victory_goal,
'visible_on_this_site': visible_on_this_site,
'voter_can_send_updates_to_campaignx':
campaignx.we_vote_id in voter_can_send_updates_campaignx_we_vote_ids,
'voter_is_campaignx_owner': viewer_is_owner,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': campaignx.we_vote_hosted_campaign_photo_large_url,
'we_vote_hosted_campaign_photo_medium_url': we_vote_hosted_campaign_photo_medium_url,
'we_vote_hosted_campaign_photo_small_url': we_vote_hosted_campaign_photo_small_url,
}
return results
else:
status += "CAMPAIGNX_SAVE_ERROR "
results = {
'status': status,
'success': False,
'campaign_description': '',
'campaign_title': '',
'campaignx_owner_list': [],
'campaignx_politician_list': [],
'campaignx_politician_list_exists': False,
'campaignx_politician_starter_list': [],
'campaignx_we_vote_id': '',
'in_draft_mode': True,
'seo_friendly_path': '',
'seo_friendly_path_list': [],
'supporters_count': 0,
'supporters_count_next_goal': 0,
'supporters_count_victory_goal': 0,
'visible_on_this_site': False,
'voter_can_send_updates_to_campaignx': False,
'voter_is_campaignx_owner': False,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_campaign_photo_large_url': '',
'we_vote_hosted_campaign_photo_medium_url': '',
'we_vote_hosted_campaign_photo_small_url': '',
}
return results
def campaignx_save_photo_from_file_reader(
campaignx_we_vote_id='',
campaign_photo_from_file_reader=None):
image_data_found = False
python_image_library_image = None
status = ""
success = True
we_vote_hosted_campaign_photo_original_url = ''
if not positive_value_exists(campaignx_we_vote_id):
status += "MISSING_CAMPAIGNX_WE_VOTE_ID "
results = {
'status': status,
'success': success,
'we_vote_hosted_campaign_photo_original_url': we_vote_hosted_campaign_photo_original_url,
}
return results
if not positive_value_exists(campaign_photo_from_file_reader):
status += "MISSING_CAMPAIGNX_PHOTO_FROM_FILE_READER "
results = {
'status': status,
'success': success,
'we_vote_hosted_campaign_photo_original_url': we_vote_hosted_campaign_photo_original_url,
}
return results
img_dict = re.match("data:(?P<type>.*?);(?P<encoding>.*?),(?P<data>.*)",
campaign_photo_from_file_reader).groupdict()
if img_dict['encoding'] == 'base64':
try:
base64_data = img_dict['data']
byte_data = base64.b64decode(base64_data)
image_data = BytesIO(byte_data)
original_image = Image.open(image_data)
format_to_cache = original_image.format
python_image_library_image = ImageOps.exif_transpose(original_image)
python_image_library_image.thumbnail(
(CAMPAIGN_PHOTO_ORIGINAL_MAX_WIDTH, CAMPAIGN_PHOTO_ORIGINAL_MAX_HEIGHT), Image.ANTIALIAS)
python_image_library_image.format = format_to_cache
image_data_found = True
except Exception as e:
status += 'PROBLEM_DECODING_CAMPAIGN_PHOTO_LARGE: {error} [type: {error_type}] ' \
''.format(error=e, error_type=type(e))
else:
status += "INCOMING_CAMPAIGN_PHOTO_LARGE-BASE64_NOT_FOUND "
if image_data_found:
cache_results = cache_campaignx_image(
python_image_library_image=python_image_library_image,
campaignx_we_vote_id=campaignx_we_vote_id,
kind_of_image_campaignx_photo=True,
kind_of_image_original=True)
status += cache_results['status']
if cache_results['success']:
cached_master_we_vote_image = cache_results['we_vote_image']
try:
we_vote_hosted_campaign_photo_original_url = cached_master_we_vote_image.we_vote_image_url
except Exception as e:
status += "FAILED_TO_CACHE_CAMPAIGNX_IMAGE: " + str(e) + ' '
success = False
else:
success = False
results = {
'status': status,
'success': success,
'we_vote_hosted_campaign_photo_original_url': we_vote_hosted_campaign_photo_original_url,
}
return results
def campaignx_supporter_retrieve_for_api( # campaignSupporterRetrieve
voter_device_id='',
campaignx_we_vote_id=''):
status = ''
voter_signed_in_with_email = False
voter_manager = VoterManager()
voter_results = voter_manager.retrieve_voter_from_voter_device_id(voter_device_id)
if voter_results['voter_found']:
voter = voter_results['voter']
voter_signed_in_with_email = voter.signed_in_with_email()
voter_we_vote_id = voter.we_vote_id
else:
status += "VALID_VOTER_ID_MISSING "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_medium': '',
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
campaignx_manager = CampaignXManager()
results = campaignx_manager.retrieve_campaignx_supporter(
campaignx_we_vote_id=campaignx_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
read_only=True,
)
status += results['status']
if not results['success']:
status += "CAMPAIGNX_SUPPORTER_RETRIEVE_ERROR "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
elif not results['campaignx_supporter_found']:
status += "CAMPAIGNX_SUPPORTER_NOT_FOUND: "
status += results['status'] + " "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
campaignx_supporter = results['campaignx_supporter']
date_last_changed_string = ''
date_supported_string = ''
try:
date_last_changed_string = campaignx_supporter.date_last_changed.strftime('%Y-%m-%d %H:%M:%S')
date_supported_string = campaignx_supporter.date_supported.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
results = {
'status': status,
'success': True,
'campaign_supported': campaignx_supporter.campaign_supported,
'campaignx_we_vote_id': campaignx_supporter.campaignx_we_vote_id,
'date_last_changed': date_last_changed_string,
'date_supported': date_supported_string,
'organization_we_vote_id': campaignx_supporter.organization_we_vote_id,
'supporter_endorsement': campaignx_supporter.supporter_endorsement,
'supporter_name': campaignx_supporter.supporter_name,
'visible_to_public': campaignx_supporter.visible_to_public,
'voter_we_vote_id': campaignx_supporter.voter_we_vote_id,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_medium': campaignx_supporter.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_photo_image_url_tiny': campaignx_supporter.we_vote_hosted_profile_image_url_tiny,
}
return results
def campaignx_supporter_save_for_api( # campaignSupporterSave
campaignx_we_vote_id='',
campaign_supported=False,
campaign_supported_changed=False,
supporter_endorsement='',
supporter_endorsement_changed=False,
visible_to_public=False,
visible_to_public_changed=False,
voter_device_id=''):
status = ''
success = True
voter_signed_in_with_email = False
voter_manager = VoterManager()
voter_results = voter_manager.retrieve_voter_from_voter_device_id(voter_device_id)
if voter_results['voter_found']:
voter = voter_results['voter']
voter_signed_in_with_email = voter.signed_in_with_email()
voter_we_vote_id = voter.we_vote_id
linked_organization_we_vote_id = voter.linked_organization_we_vote_id
else:
status += "VALID_VOTER_ID_MISSING "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'id': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
if positive_value_exists(campaign_supported):
# To support a campaign, voter must be signed in with an email address
if not voter.signed_in_with_email():
status += "MUST_BE_SIGNED_IN_WITH_EMAIL "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'id': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
if not positive_value_exists(campaignx_we_vote_id):
status += "CAMPAIGNX_WE_VOTE_ID_REQUIRED "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'id': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
campaignx_manager = CampaignXManager()
update_values = {
'campaign_supported': campaign_supported,
'campaign_supported_changed': campaign_supported_changed,
'supporter_endorsement': supporter_endorsement,
'supporter_endorsement_changed': supporter_endorsement_changed,
'visible_to_public': visible_to_public,
'visible_to_public_changed': visible_to_public_changed,
}
create_results = campaignx_manager.update_or_create_campaignx_supporter(
campaignx_we_vote_id=campaignx_we_vote_id,
voter_we_vote_id=voter_we_vote_id,
organization_we_vote_id=linked_organization_we_vote_id,
update_values=update_values,
)
if create_results['campaignx_supporter_found']:
campaignx_supporter = create_results['campaignx_supporter']
results = campaignx_manager.retrieve_campaignx(
campaignx_we_vote_id=campaignx_we_vote_id,
read_only=True,
)
statement_text = ''
if results['campaignx_found']:
campaignx = results['campaignx']
statement_text = campaignx.campaign_title
activity_results = update_or_create_activity_notice_seed_for_campaignx_supporter_initial_response(
campaignx_we_vote_id=campaignx_supporter.campaignx_we_vote_id,
visibility_is_public=campaignx_supporter.visible_to_public,
speaker_name=campaignx_supporter.supporter_name,
speaker_organization_we_vote_id=campaignx_supporter.organization_we_vote_id,
speaker_voter_we_vote_id=campaignx_supporter.voter_we_vote_id,
speaker_profile_image_url_medium=voter.we_vote_hosted_profile_image_url_medium,
speaker_profile_image_url_tiny=voter.we_vote_hosted_profile_image_url_tiny,
statement_text=statement_text)
status += activity_results['status']
status += create_results['status']
if create_results['campaignx_supporter_found']:
count_results = campaignx_manager.update_campaignx_supporters_count(campaignx_we_vote_id)
if not count_results['success']:
status += count_results['status']
campaignx_supporter = create_results['campaignx_supporter']
date_last_changed_string = ''
date_supported_string = ''
try:
date_last_changed_string = campaignx_supporter.date_last_changed.strftime('%Y-%m-%d %H:%M:%S')
date_supported_string = campaignx_supporter.date_supported.strftime('%Y-%m-%d %H:%M:%S')
except Exception as e:
status += "DATE_CONVERSION_ERROR: " + str(e) + " "
results = {
'status': status,
'success': success,
'campaign_supported': campaignx_supporter.campaign_supported,
'campaignx_we_vote_id': campaignx_supporter.campaignx_we_vote_id,
'date_last_changed': date_last_changed_string,
'date_supported': date_supported_string,
'id': campaignx_supporter.id,
'organization_we_vote_id': campaignx_supporter.organization_we_vote_id,
'supporter_endorsement': campaignx_supporter.supporter_endorsement,
'supporter_name': campaignx_supporter.supporter_name,
'visible_to_public': campaignx_supporter.visible_to_public,
'voter_we_vote_id': campaignx_supporter.voter_we_vote_id,
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_medium':
campaignx_supporter.we_vote_hosted_profile_image_url_medium,
'we_vote_hosted_profile_photo_image_url_tiny': campaignx_supporter.we_vote_hosted_profile_image_url_tiny,
}
return results
else:
status += "CAMPAIGNX_SUPPORTER_SAVE_ERROR "
results = {
'status': status,
'success': False,
'campaign_supported': False,
'campaignx_we_vote_id': '',
'date_last_changed': '',
'date_supported': '',
'id': '',
'organization_we_vote_id': '',
'supporter_endorsement': '',
'supporter_name': '',
'visible_to_public': True,
'voter_we_vote_id': '',
'voter_signed_in_with_email': voter_signed_in_with_email,
'we_vote_hosted_profile_photo_image_url_tiny': '',
}
return results
def fetch_sentence_string_from_politician_list(politician_list, max_number_of_list_items=200):
"""
Parallel to politicianListToSentenceString in Campaigns site
:param politician_list:
:param max_number_of_list_items:
:return:
"""
sentence_string = ''
if not politician_list or len(politician_list) == 0:
return sentence_string
if len(politician_list) == 1:
sentence_string += ' ' + politician_list[0].politician_name
return sentence_string
number_of_politicians_in_list = len(politician_list)
number_of_politicians_in_list_great_than_max_number_of_list_items = \
number_of_politicians_in_list > max_number_of_list_items
if number_of_politicians_in_list_great_than_max_number_of_list_items:
number_of_politicians_to_show = max_number_of_list_items
else:
number_of_politicians_to_show = number_of_politicians_in_list
politician_number = 0
for politician in politician_list:
politician_number += 1
if politician_number >= number_of_politicians_to_show:
if number_of_politicians_in_list_great_than_max_number_of_list_items:
sentence_string += ' and more'
else:
sentence_string += ' and ' + politician.politician_name
else:
comma_or_not = '' if politician_number == (number_of_politicians_to_show - 1) else ','
sentence_string += ' ' + politician.politician_name + comma_or_not
return sentence_string
def move_campaignx_to_another_organization(
from_organization_we_vote_id, to_organization_we_vote_id,
to_organization_name=None):
status = ''
success = True
campaignx_entries_moved = 0
campaignx_listed_entries_moved = 0
campaignx_news_item_entries_moved = 0
campaignx_owner_entries_moved = 0
campaignx_supporter_entries_moved = 0
if not positive_value_exists(from_organization_we_vote_id) or not positive_value_exists(to_organization_we_vote_id):
status += "MOVE_CAMPAIGNX_TO_ORG-MISSING_EITHER_FROM_OR_TO_ORG_WE_VOTE_ID "
success = False
results = {
'status': status,
'success': success,
'from_organization_we_vote_id': from_organization_we_vote_id,
'to_organization_we_vote_id': to_organization_we_vote_id,
'campaignx_entries_moved': campaignx_entries_moved,
'campaignx_owner_entries_moved': campaignx_owner_entries_moved,
}
return results
if from_organization_we_vote_id == to_organization_we_vote_id:
status += "MOVE_CAMPAIGNX_TO_ORG-FROM_AND_TO_ORG_WE_VOTE_IDS_IDENTICAL "
success = False
results = {
'status': status,
'success': success,
'from_organization_we_vote_id': from_organization_we_vote_id,
'to_organization_we_vote_id': to_organization_we_vote_id,
'campaignx_entries_moved': campaignx_entries_moved,
'campaignx_owner_entries_moved': campaignx_owner_entries_moved,
}
return results
# #############################################
# Move based on organization_we_vote_id
if positive_value_exists(to_organization_name):
try:
campaignx_owner_entries_moved += CampaignXOwner.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_name=to_organization_name,
organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_TO_ORG_OWNER_UPDATE-FROM_ORG_WE_VOTE_ID-WITH_NAME: " + str(e) + " "
try:
campaignx_supporter_entries_moved += CampaignXSupporter.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(supporter_name=to_organization_name,
organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_TO_ORG_SUPPORTER_UPDATE-FROM_ORG_WE_VOTE_ID-WITH_NAME: " + str(e) + " "
try:
campaignx_news_item_entries_moved += CampaignXNewsItem.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(speaker_name=to_organization_name,
organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_NEWS_ITEM_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
else:
try:
campaignx_owner_entries_moved += CampaignXOwner.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_TO_ORG_OWNER_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
try:
campaignx_supporter_entries_moved += CampaignXSupporter.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_TO_ORG_SUPPORTER_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
try:
campaignx_news_item_entries_moved += CampaignXNewsItem.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_NEWS_ITEM_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
try:
campaignx_listed_entries_moved += CampaignXListedByOrganization.objects \
.filter(site_owner_organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(site_owner_organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_LISTED_BY_ORG_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
results = {
'status': status,
'success': success,
'from_organization_we_vote_id': from_organization_we_vote_id,
'to_organization_we_vote_id': to_organization_we_vote_id,
'campaignx_entries_moved': campaignx_owner_entries_moved,
'campaignx_owner_entries_moved': campaignx_owner_entries_moved,
}
return results
def move_campaignx_to_another_voter(
from_voter_we_vote_id, to_voter_we_vote_id, from_organization_we_vote_id, to_organization_we_vote_id,
to_organization_name=None):
status = ''
success = True
campaignx_entries_moved = 0
campaignx_listed_entries_moved = 0
campaignx_news_item_entries_moved = 0
campaignx_owner_entries_moved = 0
campaignx_supporter_entries_moved = 0
if not positive_value_exists(from_voter_we_vote_id) or not positive_value_exists(to_voter_we_vote_id):
status += "MOVE_CAMPAIGNX-MISSING_EITHER_FROM_OR_TO_VOTER_WE_VOTE_ID "
success = False
results = {
'status': status,
'success': success,
'from_voter_we_vote_id': from_voter_we_vote_id,
'to_voter_we_vote_id': to_voter_we_vote_id,
'campaignx_entries_moved': campaignx_entries_moved,
'campaignx_owner_entries_moved': campaignx_owner_entries_moved,
}
return results
if from_voter_we_vote_id == to_voter_we_vote_id:
status += "MOVE_CAMPAIGNX-FROM_AND_TO_VOTER_WE_VOTE_IDS_IDENTICAL "
success = False
results = {
'status': status,
'success': success,
'from_voter_we_vote_id': from_voter_we_vote_id,
'to_voter_we_vote_id': to_voter_we_vote_id,
'campaignx_entries_moved': campaignx_entries_moved,
'campaignx_owner_entries_moved': campaignx_owner_entries_moved,
}
return results
# ######################
# Move based on started_by_voter_we_vote_id
try:
campaignx_entries_moved += CampaignX.objects\
.filter(started_by_voter_we_vote_id__iexact=from_voter_we_vote_id)\
.update(started_by_voter_we_vote_id=to_voter_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_UPDATE: " + str(e) + " "
# ######################
# Move News Item based on voter_we_vote_id
try:
campaignx_news_item_entries_moved += CampaignXNewsItem.objects\
.filter(voter_we_vote_id__iexact=from_voter_we_vote_id)\
.update(voter_we_vote_id=to_voter_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_NEWS_ITEM_UPDATE-FROM_VOTER_WE_VOTE_ID: " + str(e) + " "
# ######################
# Move owners based on voter_we_vote_id
try:
campaignx_owner_entries_moved += CampaignXOwner.objects\
.filter(voter_we_vote_id__iexact=from_voter_we_vote_id)\
.update(voter_we_vote_id=to_voter_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_OWNER_UPDATE-FROM_VOTER_WE_VOTE_ID: " + str(e) + " "
# ######################
# Move supporters based on voter_we_vote_id
try:
campaignx_supporter_entries_moved += CampaignXSupporter.objects\
.filter(voter_we_vote_id__iexact=from_voter_we_vote_id)\
.update(voter_we_vote_id=to_voter_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_SUPPORTER_UPDATE-FROM_VOTER_WE_VOTE_ID: " + str(e) + " "
# #############################################
# Move based on organization_we_vote_id
if positive_value_exists(to_organization_name):
try:
campaignx_owner_entries_moved += CampaignXOwner.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_name=to_organization_name,
organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_OWNER_UPDATE-FROM_ORG_WE_VOTE_ID-WITH_NAME: " + str(e) + " "
try:
campaignx_supporter_entries_moved += CampaignXSupporter.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(supporter_name=to_organization_name,
organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_SUPPORTER_UPDATE-FROM_ORG_WE_VOTE_ID-WITH_NAME: " + str(e) + " "
try:
campaignx_news_item_entries_moved += CampaignXNewsItem.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(speaker_name=to_organization_name,
organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_NEWS_ITEM_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
else:
try:
campaignx_owner_entries_moved += CampaignXOwner.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_OWNER_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
try:
campaignx_supporter_entries_moved += CampaignXSupporter.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_SUPPORTER_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
try:
campaignx_news_item_entries_moved += CampaignXNewsItem.objects \
.filter(organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_NEWS_ITEM_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
try:
campaignx_listed_entries_moved += CampaignXListedByOrganization.objects \
.filter(site_owner_organization_we_vote_id__iexact=from_organization_we_vote_id) \
.update(site_owner_organization_we_vote_id=to_organization_we_vote_id)
except Exception as e:
status += "FAILED-CAMPAIGNX_LISTED_BY_ORG_UPDATE-FROM_ORG_WE_VOTE_ID: " + str(e) + " "
results = {
'status': status,
'success': success,
'from_voter_we_vote_id': from_voter_we_vote_id,
'to_voter_we_vote_id': to_voter_we_vote_id,
'campaignx_entries_moved': campaignx_owner_entries_moved,
'campaignx_owner_entries_moved': campaignx_owner_entries_moved,
}
return results
def retrieve_recommended_campaignx_list_for_campaignx_we_vote_id(
request=None,
voter_device_id='',
campaignx_we_vote_id='',
voter_we_vote_id='',
site_owner_organization_we_vote_id='',
minimum_number_of_campaignx_options=15,
read_only=True):
"""
Regarding minimum_number_of_campaignx_options:
If we ask voters to sign 5 more campaigns, we want to make sure we send 3x options so we have enough
available on the front end so we can filter out campaigns with duplicate politicians
(after the voter makes choices) and let the voter skip campaigns they aren't interested in
:param request:
:param voter_device_id:
:param campaignx_we_vote_id:
:param voter_we_vote_id:
:param site_owner_organization_we_vote_id:
:param minimum_number_of_campaignx_options:
:param read_only:
:return:
"""
campaignx_manager = CampaignXManager()
campaignx_list = []
original_campaignx_we_vote_id_list = [campaignx_we_vote_id]
success = True
status = ""
# Remove campaigns already supported by this voter
supported_by_voter_campaignx_we_vote_id_list = []
if positive_value_exists(voter_we_vote_id):
results = campaignx_manager.retrieve_campaignx_we_vote_id_list_supported_by_voter(
voter_we_vote_id=voter_we_vote_id)
if results['campaignx_we_vote_id_list_found']:
supported_by_voter_campaignx_we_vote_id_list = results['campaignx_we_vote_id_list']
campaignx_we_vote_id_list_voter_can_vote_for = []
if positive_value_exists(voter_device_id):
from ballot.controllers import what_voter_can_vote_for
results = what_voter_can_vote_for(request=request, voter_device_id=voter_device_id)
if len(results['voter_can_vote_for_politician_we_vote_ids']) > 0:
voter_can_vote_for_politician_we_vote_ids = results['voter_can_vote_for_politician_we_vote_ids']
politician_results = campaignx_manager.retrieve_campaignx_we_vote_id_list_by_politician_we_vote_id(
politician_we_vote_id_list=voter_can_vote_for_politician_we_vote_ids)
if politician_results['campaignx_we_vote_id_list_found']:
campaignx_we_vote_id_list_voter_can_vote_for = politician_results['campaignx_we_vote_id_list']
# Create pool of options
# recommended_campaignx_we_vote_id_list = ['wv02camp4']
continue_searching_for_options = True
if positive_value_exists(site_owner_organization_we_vote_id):
# Retrieve all campaigns visible on this site
visible_on_this_site_campaignx_we_vote_id_list = \
campaignx_manager.retrieve_visible_on_this_site_campaignx_simple_list(
site_owner_organization_we_vote_id=site_owner_organization_we_vote_id)
recommended_campaignx_we_vote_id_list = \
list(set(visible_on_this_site_campaignx_we_vote_id_list) - set(original_campaignx_we_vote_id_list))
if len(supported_by_voter_campaignx_we_vote_id_list) > 0:
recommended_campaignx_we_vote_id_list = \
list(set(recommended_campaignx_we_vote_id_list) - set(supported_by_voter_campaignx_we_vote_id_list))
continue_searching_for_options = False
else:
recommended_campaignx_we_vote_id_list = campaignx_we_vote_id_list_voter_can_vote_for
recommended_campaignx_we_vote_id_list = \
list(set(recommended_campaignx_we_vote_id_list) - set(original_campaignx_we_vote_id_list))
if len(supported_by_voter_campaignx_we_vote_id_list) > 0:
recommended_campaignx_we_vote_id_list = \
list(set(recommended_campaignx_we_vote_id_list) - set(supported_by_voter_campaignx_we_vote_id_list))
if len(recommended_campaignx_we_vote_id_list) >= minimum_number_of_campaignx_options:
# If we have the number we need, we can stop here
continue_searching_for_options = False
if continue_searching_for_options:
number_of_options_already_found = len(recommended_campaignx_we_vote_id_list)
number_to_find = minimum_number_of_campaignx_options - number_of_options_already_found
if number_to_find > 0:
campaignx_we_vote_id_list_to_exclude = \
list(set(recommended_campaignx_we_vote_id_list +
supported_by_voter_campaignx_we_vote_id_list +
original_campaignx_we_vote_id_list))
results = campaignx_manager.retrieve_campaignx_we_vote_id_list_filler_options(
campaignx_we_vote_id_list_to_exclude=campaignx_we_vote_id_list_to_exclude,
limit=number_to_find)
if results['campaignx_we_vote_id_list_found']:
campaignx_we_vote_id_list = results['campaignx_we_vote_id_list']
recommended_campaignx_we_vote_id_list = \
list(set(recommended_campaignx_we_vote_id_list + campaignx_we_vote_id_list))
results = campaignx_manager.retrieve_campaignx_list_by_campaignx_we_vote_id_list(
campaignx_we_vote_id_list=recommended_campaignx_we_vote_id_list,
read_only=read_only)
campaignx_list_found = results['campaignx_list_found']
campaignx_list = results['campaignx_list']
status += results['status']
if campaignx_list_found:
if len(campaignx_list) > minimum_number_of_campaignx_options:
# Consider sorting this list and filtering out ones with lowest "score"
pass
results = {
'success': success,
'status': status,
'campaignx_list_found': campaignx_list_found,
'campaignx_list': campaignx_list,
}
return results
| 53.7926
| 120
| 0.644529
|
0f9129f2972743b93a81b88d5d6aa619f469e607
| 1,961
|
py
|
Python
|
function/python/brightics/function/transform/split_data.py
|
sharon1321/studio
|
c5ce7f6db5503f5020b2aa0c6f2e6acfc61c90c5
|
[
"Apache-2.0"
] | null | null | null |
function/python/brightics/function/transform/split_data.py
|
sharon1321/studio
|
c5ce7f6db5503f5020b2aa0c6f2e6acfc61c90c5
|
[
"Apache-2.0"
] | null | null | null |
function/python/brightics/function/transform/split_data.py
|
sharon1321/studio
|
c5ce7f6db5503f5020b2aa0c6f2e6acfc61c90c5
|
[
"Apache-2.0"
] | null | null | null |
"""
Copyright 2019 Samsung SDS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from sklearn.model_selection import train_test_split as sktrain_test_split
from brightics.common.validation import validate, greater_than
from brightics.common.groupby import _function_by_group
from brightics.common.utils import check_required_parameters
from brightics.common.utils import get_default_from_parameters_if_required
def split_data(table, group_by=None, **params):
params = get_default_from_parameters_if_required(params,_split_data)
param_validation_check = [greater_than(params, 0.0, 'train_ratio'),
greater_than(params, 0.0, 'test_ratio')]
validate(*param_validation_check)
check_required_parameters(_split_data, params, ['table'])
if group_by is not None:
return _function_by_group(_split_data, table, group_by=group_by, **params)
else:
return _split_data(table, **params)
def _split_data(table, train_ratio=7.0, test_ratio=3.0, random_state=None, shuffle=True, stratify=None):
ratio = test_ratio / (train_ratio + test_ratio)
out_table_train, out_table_test = sktrain_test_split(table, test_size=ratio, random_state=random_state, shuffle=shuffle, stratify=stratify)
return {'train_table' : out_table_train.reset_index(drop=True), 'test_table' : out_table_test.reset_index(drop=True)}
| 44.568182
| 144
| 0.734319
|
7f420612d3d82bf85500b922499d1ade341d554d
| 763
|
py
|
Python
|
test_app/test_app/migrations/0001_initial.py
|
mkalioby/django-query-parser
|
f87acdf68dab2c78ddf6048b517a0dda194fd6ab
|
[
"MIT"
] | null | null | null |
test_app/test_app/migrations/0001_initial.py
|
mkalioby/django-query-parser
|
f87acdf68dab2c78ddf6048b517a0dda194fd6ab
|
[
"MIT"
] | null | null | null |
test_app/test_app/migrations/0001_initial.py
|
mkalioby/django-query-parser
|
f87acdf68dab2c78ddf6048b517a0dda194fd6ab
|
[
"MIT"
] | null | null | null |
# Generated by Django 2.2.16 on 2020-10-26 14:23
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.CreateModel(
name='Order',
fields=[
('id', models.AutoField(primary_key=True, serialize=False)),
('order_date', models.DateTimeField()),
('status', models.CharField(max_length=15)),
('ordered_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]
| 28.259259
| 124
| 0.625164
|
c99b37c6add646b664063a4f049252b9ae27feba
| 1,669
|
py
|
Python
|
.venv/lib/python3.7/site-packages/notebook/terminal/api_handlers.py
|
ITCRStevenLPZ/Proyecto2-Analisis-de-Algoritmos
|
4acdbc423428fb2e0068720add69e7870c87929a
|
[
"Apache-2.0"
] | 11
|
2019-08-29T03:51:09.000Z
|
2021-07-13T16:44:08.000Z
|
.venv/lib/python3.7/site-packages/notebook/terminal/api_handlers.py
|
ITCRStevenLPZ/Proyecto2-Analisis-de-Algoritmos
|
4acdbc423428fb2e0068720add69e7870c87929a
|
[
"Apache-2.0"
] | 24
|
2020-03-25T19:35:43.000Z
|
2022-02-10T11:46:50.000Z
|
.venv/lib/python3.7/site-packages/notebook/terminal/api_handlers.py
|
ITCRStevenLPZ/Proyecto2-Analisis-de-Algoritmos
|
4acdbc423428fb2e0068720add69e7870c87929a
|
[
"Apache-2.0"
] | 11
|
2019-01-21T17:51:48.000Z
|
2021-08-10T07:04:33.000Z
|
import json
from tornado import web, gen
from ..base.handlers import APIHandler
from ..prometheus.metrics import TERMINAL_CURRENTLY_RUNNING_TOTAL
class TerminalRootHandler(APIHandler):
@web.authenticated
def get(self):
tm = self.terminal_manager
terms = [{'name': name} for name in tm.terminals]
self.finish(json.dumps(terms))
# Update the metric below to the length of the list 'terms'
TERMINAL_CURRENTLY_RUNNING_TOTAL.set(
len(terms)
)
@web.authenticated
def post(self):
"""POST /terminals creates a new terminal and redirects to it"""
name, _ = self.terminal_manager.new_named_terminal()
self.finish(json.dumps({'name': name}))
# Increase the metric by one because a new terminal was created
TERMINAL_CURRENTLY_RUNNING_TOTAL.inc()
class TerminalHandler(APIHandler):
SUPPORTED_METHODS = ('GET', 'DELETE')
@web.authenticated
def get(self, name):
tm = self.terminal_manager
if name in tm.terminals:
self.finish(json.dumps({'name': name}))
else:
raise web.HTTPError(404, "Terminal not found: %r" % name)
@web.authenticated
@gen.coroutine
def delete(self, name):
tm = self.terminal_manager
if name in tm.terminals:
yield tm.terminate(name, force=True)
self.set_status(204)
self.finish()
# Decrease the metric below by one
# because a terminal has been shutdown
TERMINAL_CURRENTLY_RUNNING_TOTAL.dec()
else:
raise web.HTTPError(404, "Terminal not found: %r" % name)
| 30.345455
| 72
| 0.63571
|
286310f46df480ebe94bd5c746cdf3e4614aac01
| 4,635
|
py
|
Python
|
src/gdb/gdb-7.11/gdb/testsuite/gdb.python/py-completion.py
|
aps337/unum-sdk
|
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
|
[
"Apache-2.0"
] | 31
|
2018-08-01T21:25:24.000Z
|
2022-02-14T07:52:34.000Z
|
src/gdb/gdb-7.11/gdb/testsuite/gdb.python/py-completion.py
|
aps337/unum-sdk
|
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
|
[
"Apache-2.0"
] | 40
|
2018-12-03T19:48:52.000Z
|
2021-03-10T06:34:26.000Z
|
src/gdb/gdb-7.11/gdb/testsuite/gdb.python/py-completion.py
|
aps337/unum-sdk
|
2de3ae625e474c5064f6a88b720ec2ffdcdefad9
|
[
"Apache-2.0"
] | 20
|
2018-11-16T21:19:22.000Z
|
2021-10-18T23:08:24.000Z
|
# Copyright (C) 2014-2016 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This testcase tests PR python/16699
import gdb
class CompleteFileInit(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completefileinit',gdb.COMMAND_USER,gdb.COMPLETE_FILENAME)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
class CompleteFileMethod(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completefilemethod',gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return gdb.COMPLETE_FILENAME
class CompleteFileCommandCond(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completefilecommandcond',gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
# This is a test made to know if the command
# completion still works fine. When the user asks to
# complete something like "completefilecommandcond
# /path/to/py-completion-t", it should not complete to
# "/path/to/py-completion-test/", but instead just
# wait for input.
if "py-completion-t" in text:
return gdb.COMPLETE_COMMAND
else:
return gdb.COMPLETE_FILENAME
class CompleteLimit1(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit1',gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl11", "cl12", "cl13"]
class CompleteLimit2(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit2',
gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl21", "cl23", "cl25", "cl27", "cl29",
"cl22", "cl24", "cl26", "cl28", "cl210"]
class CompleteLimit3(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit3',
gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl31", "cl33", "cl35", "cl37", "cl39",
"cl32", "cl34", "cl36", "cl38", "cl310"]
class CompleteLimit4(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit4',
gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl41", "cl43", "cl45", "cl47", "cl49",
"cl42", "cl44", "cl46", "cl48", "cl410"]
class CompleteLimit5(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit5',
gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl51", "cl53", "cl55", "cl57", "cl59",
"cl52", "cl54", "cl56", "cl58", "cl510"]
class CompleteLimit6(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit6',
gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl61", "cl63", "cl65", "cl67", "cl69",
"cl62", "cl64", "cl66", "cl68", "cl610"]
class CompleteLimit7(gdb.Command):
def __init__(self):
gdb.Command.__init__(self,'completelimit7',
gdb.COMMAND_USER)
def invoke(self,argument,from_tty):
raise gdb.GdbError('not implemented')
def complete(self,text,word):
return ["cl71", "cl73", "cl75", "cl77", "cl79",
"cl72", "cl74", "cl76", "cl78", "cl710"]
CompleteFileInit()
CompleteFileMethod()
CompleteFileCommandCond()
CompleteLimit1()
CompleteLimit2()
CompleteLimit3()
CompleteLimit4()
CompleteLimit5()
CompleteLimit6()
CompleteLimit7()
| 31.317568
| 86
| 0.674865
|
7072c7e933063fe320cfeac2d21bacff9f579e0b
| 13,974
|
py
|
Python
|
tensorflow/python/data/ops/multi_device_iterator_ops.py
|
Sonata-Wang/tensorflow
|
8bbef0cd77879d05ed69bf30e76087847a8ca4a2
|
[
"Apache-2.0"
] | 6
|
2019-02-05T22:36:51.000Z
|
2022-01-14T03:50:57.000Z
|
tensorflow/python/data/ops/multi_device_iterator_ops.py
|
YaoYaoZhi/tensorflow
|
83903c9dd9b5235996ec9158c30a1607fcfb4c73
|
[
"Apache-2.0"
] | 1
|
2019-09-14T04:40:07.000Z
|
2020-11-18T18:16:17.000Z
|
tensorflow/python/data/ops/multi_device_iterator_ops.py
|
YaoYaoZhi/tensorflow
|
83903c9dd9b5235996ec9158c30a1607fcfb4c73
|
[
"Apache-2.0"
] | 8
|
2016-01-14T13:12:56.000Z
|
2021-04-09T10:20:53.000Z
|
# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Python wrapper for prefetching_ops."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from tensorflow.python.data.ops import dataset_ops
from tensorflow.python.data.ops import iterator_ops
from tensorflow.python.eager import context
from tensorflow.python.eager import function
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import ops
from tensorflow.python.framework import tensor_spec
from tensorflow.python.ops import array_ops
from tensorflow.python.ops import control_flow_ops
from tensorflow.python.ops import functional_ops
from tensorflow.python.ops import gen_dataset_ops
from tensorflow.python.ops import resource_variable_ops
class _PerDeviceGenerator(dataset_ops.DatasetV2):
"""A `dummy` generator dataset."""
def __init__(self, shard_num, multi_device_iterator_resource, incarnation_id,
source_device, element_structure):
self._structure = element_structure
multi_device_iterator_string_handle = (
gen_dataset_ops.multi_device_iterator_to_string_handle(
multi_device_iterator_resource))
# TODO(b/124254153): Enable autograph once the overhead is low enough.
@function.defun(autograph=False) # Pure graph code.
def _init_func():
return multi_device_iterator_string_handle
init_func_concrete = _init_func._get_concrete_function_internal() # pylint: disable=protected-access
# TODO(b/124254153): Enable autograph once the overhead is low enough.
@function.defun(autograph=False) # Pure graph code.
def _remote_init_func():
return functional_ops.remote_call(
target=source_device,
args=init_func_concrete.captured_inputs,
Tout=[dtypes.string],
f=init_func_concrete)
self._init_func = _remote_init_func._get_concrete_function_internal() # pylint: disable=protected-access
self._init_captured_args = self._init_func.captured_inputs
# TODO(b/124254153): Enable autograph once the overhead is low enough.
@function.defun(
input_signature=[tensor_spec.TensorSpec([], dtypes.string)],
autograph=False) # Pure graph code.
def _next_func(string_handle):
# pylint: disable=protected-access
multi_device_iterator = (
gen_dataset_ops.multi_device_iterator_from_string_handle(
string_handle=string_handle,
output_types=self._structure._flat_types,
output_shapes=self._structure._flat_shapes))
return gen_dataset_ops.multi_device_iterator_get_next_from_shard(
multi_device_iterator=multi_device_iterator,
shard_num=shard_num,
incarnation_id=incarnation_id,
output_types=self._structure._flat_types,
output_shapes=self._structure._flat_shapes)
next_func_concrete = _next_func._get_concrete_function_internal() # pylint: disable=protected-access
# TODO(b/124254153): Enable autograph once the overhead is low enough.
@function.defun_with_attributes(
input_signature=[tensor_spec.TensorSpec([], dtypes.string)],
attributes={"experimental_ints_on_device": True},
autograph=False) # Pure graph code.
def _remote_next_func(string_handle):
return functional_ops.remote_call(
target=source_device,
args=[string_handle] + next_func_concrete.captured_inputs,
Tout=self._structure._flat_types, # pylint: disable=protected-access
f=next_func_concrete)
self._next_func = _remote_next_func._get_concrete_function_internal() # pylint: disable=protected-access
self._next_captured_args = self._next_func.captured_inputs
self._incarnation_id_index = -1
for i, arg in enumerate(self._next_captured_args):
if arg == incarnation_id:
self._incarnation_id_index = i
# TODO(b/124254153): Enable autograph once the overhead is low enough.
@function.defun(
input_signature=[tensor_spec.TensorSpec([], dtypes.string)],
autograph=False) # Pure graph code.
def _finalize_func(unused_string_handle):
return array_ops.constant(0, dtypes.int64)
finalize_func_concrete = _finalize_func._get_concrete_function_internal() # pylint: disable=protected-access
# TODO(b/124254153): Enable autograph once the overhead is low enough.
@function.defun(
input_signature=[tensor_spec.TensorSpec([], dtypes.string)],
autograph=False) # Pure graph code.
def _remote_finalize_func(string_handle):
return functional_ops.remote_call(
target=source_device,
args=[string_handle] + finalize_func_concrete.captured_inputs,
Tout=[dtypes.int64],
f=finalize_func_concrete)
self._finalize_func = _remote_finalize_func._get_concrete_function_internal( # pylint: disable=protected-access
)
self._finalize_captured_args = self._finalize_func.captured_inputs
variant_tensor = gen_dataset_ops.generator_dataset(
self._init_captured_args,
self._next_captured_args,
self._finalize_captured_args,
init_func=self._init_func,
next_func=self._next_func,
finalize_func=self._finalize_func,
**dataset_ops.flat_structure(self))
super(_PerDeviceGenerator, self).__init__(variant_tensor)
def _inputs(self):
# TODO(b/116506223): Determine which datasets should be used as inputs here.
return []
@property
def _element_structure(self):
return self._structure
class _ReincarnatedPerDeviceGenerator(dataset_ops.DatasetV2):
"""Creates a _PerDeviceGenerator-like dataset with a new incarnation_id.
Re-uses the functions from the provided per_device_dataset and just switches
out the function argument corresponding to the incarnation_id.
"""
def __init__(self, per_device_dataset, incarnation_id):
# pylint: disable=protected-access
self._structure = per_device_dataset._structure
self._init_func = per_device_dataset._init_func
self._init_captured_args = self._init_func.captured_inputs
self._next_func = per_device_dataset._next_func
self._next_captured_args = per_device_dataset._next_captured_args
# The captured arguments to the next_func are string_handle, incarnation_id.
# We update the incarnation id to the new one.
self._next_captured_args[
per_device_dataset._incarnation_id_index] = incarnation_id
self._finalize_func = per_device_dataset._finalize_func
self._finalize_captured_args = per_device_dataset._finalize_captured_args
variant_tensor = gen_dataset_ops.generator_dataset(
self._init_captured_args,
self._next_captured_args,
self._finalize_captured_args,
init_func=self._init_func,
next_func=self._next_func,
finalize_func=self._finalize_func,
**dataset_ops.flat_structure(self))
super(_ReincarnatedPerDeviceGenerator, self).__init__(variant_tensor)
def _inputs(self):
# TODO(b/116506223): Determine which datasets should be used as inputs here.
return []
@property
def _element_structure(self):
return self._structure
class MultiDeviceIterator(object):
"""An iterator over multiple devices."""
def __init__(self,
dataset,
devices,
max_buffer_size=1,
prefetch_buffer_size=1,
source_device="/cpu:0"):
"""Constructs a MultiDeviceIterator.
Args:
dataset: The input dataset to be iterated over.
devices: The list of devices to fetch data to.
max_buffer_size: Maximum size of the host side per device buffer to keep.
prefetch_buffer_size: if > 1, then we setup a buffer on each device
to prefetch into.
source_device: The host device to place the `dataset` on.
In order to prevent deadlocks, if the prefetch_buffer_size is greater
than the max_buffer_size, we set the max_buffer_size to
prefetch_buffer_size.
Raises:
RuntimeError: If run in Eager mode.
"""
self._dataset = dataset._apply_options() # pylint: disable=protected-access
self._devices = devices
self._source_device = source_device
self._source_device_tensor = ops.convert_to_tensor(source_device)
self._max_buffer_size = max_buffer_size
self._prefetch_buffer_size = prefetch_buffer_size
if self._prefetch_buffer_size > self._max_buffer_size:
self._max_buffer_size = self._prefetch_buffer_size
# Create the MultiDeviceIterator.
with ops.device(self._source_device):
# TODO(b/121378567): Get rid of this shared_name hack.
shared_name = ""
if context.executing_eagerly():
shared_name = context.shared_name()
self._multi_device_iterator_resource = (
gen_dataset_ops.multi_device_iterator(
devices=self._devices,
shared_name=shared_name,
container="",
**dataset_ops.flat_structure(self._dataset)))
if context.executing_eagerly():
# Delete the resource when this object is deleted
self._resource_deleter = resource_variable_ops.EagerResourceDeleter(
handle=self._multi_device_iterator_resource,
handle_device=self._source_device)
# The incarnation ID is used to ensure consistency between the per-device
# iterators and the multi-device iterator.
self._incarnation_id = gen_dataset_ops.multi_device_iterator_init(
self._dataset._variant_tensor, # pylint: disable=protected-access
self._multi_device_iterator_resource,
max_buffer_size=self._max_buffer_size)
self._prototype_device_datasets = []
for i, device in enumerate(self._devices):
with ops.device(device):
ds = _PerDeviceGenerator(
i, self._multi_device_iterator_resource, self._incarnation_id,
self._source_device_tensor, self._dataset._element_structure) # pylint: disable=protected-access
self._prototype_device_datasets.append(ds)
# TODO(rohanj): Explore the possibility of the MultiDeviceIterator to
# initialize the device side of the pipeline. This would allow the
# MultiDeviceIterator to choose, for example, to move some transformations
# into the device side from its input. It might be useful in rewriting.
# Create the per device iterators.
self._device_iterators = []
for i, device in enumerate(self._devices):
with ops.device(device):
ds = self._create_device_dataset(i)
if context.executing_eagerly():
self._device_iterators.append(dataset_ops.make_one_shot_iterator(ds))
else:
self._device_iterators.append(
dataset_ops.make_initializable_iterator(ds))
if not context.executing_eagerly():
device_iterator_initializers = [
iterator.initializer for iterator in self._device_iterators
]
self._initializer = control_flow_ops.group(*device_iterator_initializers)
def _create_device_dataset(self, i):
"""Uses _prototype_device_datasets[i] to build a dataset for the device."""
ds = self._prototype_device_datasets[i]
ds = _ReincarnatedPerDeviceGenerator(ds, self._incarnation_id)
if self._prefetch_buffer_size > 0:
ds = ds.prefetch(self._prefetch_buffer_size)
# TODO(jsimsa): Enable auto-tuning and optimizations when supported for
# non-CPU devices.
options = dataset_ops.Options()
options.experimental_autotune = False
options.experimental_optimization.apply_default_optimizations = False
ds = ds.with_options(options)
return ds
def get_next(self, device=None):
"""Returns the next element given a `device`, else returns all in a list."""
if device is not None:
index = self._devices.index(device)
return self._device_iterators[index].get_next()
result = []
for i, device in enumerate(self._devices):
with ops.device(device):
result.append(self._device_iterators[i].get_next())
return result
def get_next_as_optional(self):
result = []
for i, device in enumerate(self._devices):
with ops.device(device):
result.append(iterator_ops.get_next_as_optional(
self._device_iterators[i]))
return result
@property
def initializer(self):
if context.executing_eagerly():
return control_flow_ops.no_op()
return self._initializer
def _eager_reset(self):
"""Resets the MultiDeviceIterator in eager mode."""
if not context.executing_eagerly():
raise ValueError("Eager reset is only supported in eager mode.")
# pylint: disable=protected-access
self._incarnation_id = gen_dataset_ops.multi_device_iterator_init(
self._dataset._variant_tensor,
self._multi_device_iterator_resource,
max_buffer_size=self._max_buffer_size)
for i, device in enumerate(self._devices):
with ops.device(device):
ds = self._create_device_dataset(i)
# Reset the device iterator resources with the new dataset.
ds_variant = ds._variant_tensor
gen_dataset_ops.make_iterator(
ds_variant, self._device_iterators[i]._iterator_resource)
@property
def _element_structure(self):
return dataset_ops.get_structure(self._dataset)
| 41.1
| 116
| 0.728138
|
d6ad2de6f92dc747b40b1864c3a145851723278f
| 3,648
|
py
|
Python
|
mianjing/google/increasing_paths.py
|
RENHANFEI/LintCode
|
d572dee248ba4c2a95b52cd737d76c7297f4e7b4
|
[
"CNRI-Python"
] | null | null | null |
mianjing/google/increasing_paths.py
|
RENHANFEI/LintCode
|
d572dee248ba4c2a95b52cd737d76c7297f4e7b4
|
[
"CNRI-Python"
] | null | null | null |
mianjing/google/increasing_paths.py
|
RENHANFEI/LintCode
|
d572dee248ba4c2a95b52cd737d76c7297f4e7b4
|
[
"CNRI-Python"
] | null | null | null |
# increasing paths in an array
def f1_3(array): # O(N^2)
if len(array) <= 1:
return
ans = []
start_idx, idx = 0, 1
prenum = array[start_idx]
while idx < len(array):
if array[idx] >= prenum:
for i in range(start_idx, idx):
ans.append(array[i:idx + 1])
else:
start_idx = idx
prenum = array[idx]
idx += 1
return ans
def f1_2(array): # O(N^2) search from start to end
if len(array) <= 1:
return
ans = [] # a list of increasing arrays
for start_idx in range(len(array) - 1):
prenum = array[start_idx]
idx = start_idx + 1
subarray = [prenum]
while idx < len(array) and array[idx] >= prenum:
subarray.append(array[idx])
ans.append(subarray[:])
prenum = array[idx]
idx += 1
return ans
def f1(array): # O(N^2) search from end to start
if len(array) <= 1:
return
ans = [] # list of increasing arrays
for end_idx in range(1, len(array)):
last_num = array[end_idx]
subarray = [last_num]
idx = end_idx - 1
while idx >= 0:
num = array[idx]
if num <= last_num:
subarray.append(num)
ans.append(list(reversed(subarray)))
idx -= 1
last_num = num
else:
break
return ans
array = [1, 3, 4, 2, 6]
print(f1(array))
print(f1_2(array))
print(f1_3(array))
# increasing paths in a tree
class Node(object):
def __init__(self, val, left=None, right=None):
self.val = val
self.left = left
self.right = right
def f2(root):
if not root or (not root.left and not root.right):
return
ans = []
traverse(root, ans)
return ans
def traverse(root, ans): # O(N)
valid_path(root, ans, [root.val])
left, right = root.left, root.right
if left: traverse(left, ans)
if right: traverse(right, ans)
def valid_path(root, ans, path): # O(logN ^2)
left, right = root.left, root.right
if left and left.val >= root.val:
ans.append(path + [left.val])
valid_path(left, ans, path + [left.val])
if right and right.val >= root.val:
ans.append(path + [right.val])
valid_path(right, ans, path + [right.val])
def f2_2(root):
if not root or (not root.left and not root.right):
return
ans = []
get_paths(root, [root.val], ans)
return ans
def get_paths(root, path, ans):
left, right = root.left, root.right
if left:
if left.val >= path[-1]:
valid_path_reversed = [left.val]
for val in reversed(path):
valid_path_reversed.append(val)
ans.append(list(reversed(valid_path_reversed)))
get_paths(left, path + [left.val], ans)
else:
get_paths(left, [left.val], ans)
if right and right.val >= path[-1]:
if right.val >= path[-1]:
valid_path_reversed = [right.val]
for val in reversed(path):
valid_path_reversed.append(val)
ans.append(list(reversed(valid_path_reversed)))
get_paths(right, path + [right.val], ans)
else:
get_paths(right, [right.val], ans)
node_4 = Node(4)
node_5 = Node(5)
node_9 = Node(9)
node_3 = Node(3)
node_6 = Node(6)
node_8 = Node(8)
node_10 = Node(10)
node_4.left = node_5
node_4.right = node_9
node_5.left = node_3
node_5.right = node_6
node_9.left = node_8
node_9.right = node_10
print(f2(node_4))
print(f2_2(node_4))
| 23.688312
| 63
| 0.553728
|
5aa35d2e76daeb44471ba123d06a44b3a0f45076
| 4,982
|
py
|
Python
|
test/test_LensModel/test_Profiles/test_nie.py
|
lucateo/lenstronomy
|
3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab
|
[
"MIT"
] | 1
|
2020-07-31T07:55:17.000Z
|
2020-07-31T07:55:17.000Z
|
test/test_LensModel/test_Profiles/test_nie.py
|
lucateo/lenstronomy
|
3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab
|
[
"MIT"
] | null | null | null |
test/test_LensModel/test_Profiles/test_nie.py
|
lucateo/lenstronomy
|
3ab6cfd4adea2222f02d3f0f1a9cb5390c533aab
|
[
"MIT"
] | 2
|
2020-10-26T10:45:11.000Z
|
2021-03-04T12:25:19.000Z
|
__author__ = 'sibirrer'
import numpy as np
import numpy.testing as npt
import pytest
import lenstronomy.Util.param_util as param_util
from lenstronomy.Util import util
from lenstronomy.LensModel.Profiles.nie import NIE, NIEMajorAxis
from lenstronomy.LensModel.Profiles.spemd import SPEMD
from lenstronomy.LensModel.Profiles.sis import SIS
try:
import fastell4py
bool_test = True
except:
bool_test = False
print("Warning: fastell4py not available, tests will not crosscheck with fastell4py on your machine")
class TestNIE(object):
"""
tests the Gaussian methods
"""
def setup(self):
self.nie = NIE()
self.spemd = SPEMD(suppress_fastell=True)
self.sis = SIS()
def test_function(self):
y = np.array([1., 2])
x = np.array([0., 0.])
theta_E = 1.
q = 0.9999
s = 0.00001
phi_G = 0
e1, e2 = param_util.phi_q2_ellipticity(phi_G, q)
values = self.nie.function(x, y, theta_E, e1, e2, s_scale=s)
delta_pot = values[1] - values[0]
values_spemd = self.sis.function(x, y, theta_E)
delta_pot_spemd = values_spemd[1] - values_spemd[0]
npt.assert_almost_equal(delta_pot, delta_pot_spemd, decimal=4)
if bool_test is True:
q = 0.99
s = 0.000001
phi_G = 0
e1, e2 = param_util.phi_q2_ellipticity(phi_G, q)
values = self.nie.function(x, y, theta_E, e1, e2, s_scale=s)
delta_pot = values[1] - values[0]
gamma = 2.
values_spemd = self.spemd.function(x, y, theta_E, gamma, e1, e2, s_scale=s)
delta_pot_spemd = values_spemd[1] - values_spemd[0]
npt.assert_almost_equal(delta_pot, delta_pot_spemd, decimal=2)
def test_derivatives(self):
x = np.array([1])
y = np.array([2])
theta_E = 1.
q = 0.99999
phi_G = 0
s = 0.0000001
e1, e2 = param_util.phi_q2_ellipticity(phi_G, q)
f_x, f_y = self.nie.derivatives(x, y, theta_E, e1, e2, s_scale=s)
f_x_spemd, f_y_spemd = self.sis.derivatives(x, y, theta_E)
npt.assert_almost_equal(f_x, f_x_spemd, decimal=4)
npt.assert_almost_equal(f_y, f_y_spemd, decimal=4)
if bool_test is True:
q = 0.99
s = 0.000001
phi_G = 0
e1, e2 = param_util.phi_q2_ellipticity(phi_G, q)
f_x, f_y = self.nie.derivatives(x, y, theta_E, e1, e2, s_scale=s)
gamma = 2.
f_x_spemd, f_y_spemd = self.spemd.derivatives(x, y, theta_E, gamma, e1, e2, s_scale=s)
print(f_x/f_x_spemd, 'ratio deflections')
print(1+(1-q)/2)
npt.assert_almost_equal(f_x, f_x_spemd, decimal=2)
npt.assert_almost_equal(f_y, f_y_spemd, decimal=2)
def test_hessian(self):
x = np.array([1])
y = np.array([2])
theta_E = 1.
q = 0.999999
phi_G = 0
s = 0.0000001
e1, e2 = param_util.phi_q2_ellipticity(phi_G, q)
f_xx, f_yy, f_xy = self.nie.hessian(x, y, theta_E, e1, e2, s_scale=s)
f_xx_spemd, f_yy_spemd, f_xy_spemd = self.sis.hessian(x, y, theta_E)
npt.assert_almost_equal(f_xx, f_xx_spemd, decimal=4)
npt.assert_almost_equal(f_yy, f_yy_spemd, decimal=4)
npt.assert_almost_equal(f_xy, f_xy_spemd, decimal=4)
def test_convergence2surface_brightness(self):
from lenstronomy.LightModel.Profiles.nie import NIE as NIE_Light
nie_light = NIE_Light()
kwargs = {'e1': 0.3, 'e2': -0.05, 's_scale': 0.5}
x, y = util.make_grid(numPix=10, deltapix=0.1)
f_xx, f_yy, f_xy = self.nie.hessian(x, y, theta_E=1, **kwargs)
kappa = 1/2. * (f_xx + f_yy)
flux = nie_light.function(x, y, amp=1, **kwargs)
npt.assert_almost_equal(kappa/np.sum(kappa), flux/np.sum(flux), decimal=5)
def test_static(self):
x, y = 1., 1.
phi_G, q = 0.3, 0.8
e1, e2 = param_util.phi_q2_ellipticity(phi_G, q)
kwargs_lens = {'theta_E': 1., 's_scale': .1, 'e1': e1, 'e2': e2}
f_ = self.nie.function(x, y, **kwargs_lens)
self.nie.set_static(**kwargs_lens)
f_static = self.nie.function(x, y, **kwargs_lens)
npt.assert_almost_equal(f_, f_static, decimal=8)
self.nie.set_dynamic()
kwargs_lens = {'theta_E': 2., 's_scale': .1, 'e1': e1, 'e2': e2}
f_dyn = self.nie.function(x, y, **kwargs_lens)
assert f_dyn != f_static
class TestNIEMajorAxis(object):
def setup(self):
pass
def test_kappa(self):
nie = NIEMajorAxis()
x, y = util.make_grid(numPix=10, deltapix=0.1)
kwargs = {'b': 1, 's': 0.2, 'q': 0.3}
f_xx, f_yy, f_xy = nie.hessian(x, y, **kwargs)
kappa_num = 1./2 * (f_xx + f_yy)
kappa = nie.kappa(x, y, **kwargs)
npt.assert_almost_equal(kappa_num, kappa, decimal=5)
if __name__ == '__main__':
pytest.main()
| 35.841727
| 105
| 0.59996
|
7b70d318af47b2b3c8e9aaf3c684b6ab6d013a26
| 703
|
py
|
Python
|
wjordpress/tests/__init__.py
|
texastribune/wjordpress
|
c98759708867091e419fc2b2a8f77568104bac98
|
[
"Apache-2.0"
] | 4
|
2015-06-12T18:36:00.000Z
|
2016-04-25T14:28:44.000Z
|
wjordpress/tests/__init__.py
|
texastribune/wjordpress
|
c98759708867091e419fc2b2a8f77568104bac98
|
[
"Apache-2.0"
] | null | null | null |
wjordpress/tests/__init__.py
|
texastribune/wjordpress
|
c98759708867091e419fc2b2a8f77568104bac98
|
[
"Apache-2.0"
] | null | null | null |
from django.db.models.signals import post_save
from django.test import TestCase
from ..models import WPPost
try:
from example_project.content.signals import sync_post
DISCONNECT_SIGNALS = True
except ImportError:
DISCONNECT_SIGNALS = False
class WPTestCase(TestCase):
"""
TestCase with common logic.
The example project adds some evil stuff we don't care about. Make sure
it's gone when we test.
"""
@classmethod
def setUpClass(cls):
if DISCONNECT_SIGNALS:
post_save.disconnect(sync_post, sender=WPPost)
@classmethod
def tearDownClass(cls):
if DISCONNECT_SIGNALS:
post_save.connect(sync_post, sender=WPPost)
| 23.433333
| 75
| 0.70697
|
2735014b2f6c8e88f41d8728bbca2732f3584485
| 177
|
py
|
Python
|
edit_earthquake_data.py
|
swappy208/Artificial-Intelligence-Computational-Model
|
fbbbf13fe3912243645f22cc9724721ca3c23162
|
[
"Apache-2.0"
] | null | null | null |
edit_earthquake_data.py
|
swappy208/Artificial-Intelligence-Computational-Model
|
fbbbf13fe3912243645f22cc9724721ca3c23162
|
[
"Apache-2.0"
] | null | null | null |
edit_earthquake_data.py
|
swappy208/Artificial-Intelligence-Computational-Model
|
fbbbf13fe3912243645f22cc9724721ca3c23162
|
[
"Apache-2.0"
] | null | null | null |
import pandas
data = pandas.read_csv("data.csv")
#replace missing ages with mean
data["Age"] = data["Age"].apply(lambda x: "25_39" if x=="don_t_know" or x=="refused" else x)
| 22.125
| 92
| 0.689266
|
cf22407c7dbe0fd0a167b780b1f439be3535594d
| 2,676
|
py
|
Python
|
testscripts/autotest.py
|
schopin-pro/libyami-utils
|
c3d25b64b05aeb0c4eecc140aef617cfeced6b8e
|
[
"Apache-2.0"
] | 13
|
2018-02-22T18:52:04.000Z
|
2021-06-30T03:28:40.000Z
|
testscripts/autotest.py
|
schopin-pro/libyami-utils
|
c3d25b64b05aeb0c4eecc140aef617cfeced6b8e
|
[
"Apache-2.0"
] | 106
|
2016-06-24T01:12:04.000Z
|
2018-01-15T13:49:34.000Z
|
testscripts/autotest.py
|
schopin-pro/libyami-utils
|
c3d25b64b05aeb0c4eecc140aef617cfeced6b8e
|
[
"Apache-2.0"
] | 32
|
2016-06-08T20:36:42.000Z
|
2017-11-20T08:23:06.000Z
|
#! /usr/bin/env python
import os
import sys
import shutil
from yamilib import libyami
if __name__ == '__main__':
if len(sys.argv) < 5:
print('Pls autotest.py file|dirctory decode|encode|v4l2 outdir savemode')
sys.exit(-1)
if not os.path.exists(sys.argv[1]):
print(sys.argv[1] + ' does not exist')
sys.exit(-1)
mediafiles = os.path.abspath(sys.argv[1])
testformat = sys.argv[2]
testoutput = sys.argv[3]
savemode = True if int(sys.argv[4])==1 else False
autotestpath = os.path.dirname(os.path.abspath(sys.argv[0]))
yamitestpath = os.path.join(autotestpath[0:autotestpath.rfind('/')],'tests')
yamidecode = os.path.join(yamitestpath, 'yamidecode')
yamiencode = os.path.join(yamitestpath, 'yamiencode')
v4l2decode = os.path.join(yamitestpath, 'v4l2decode')
v4l2encode = os.path.join(yamitestpath, 'v4l2encode')
capidecode = os.path.join(yamitestpath, 'decodecapi')
capiencode = os.path.join(yamitestpath, 'encodecapi')
psnr = os.path.join(autotestpath, 'psnr')
decodemodelist = ['m', '0', '-2']
encodemodelist = ['m', '0']
v4l2wmodelist = ['w', '0']
v4l2mmodelist = ['m', '0', '3', '4']
if testformat == 'decode':
yamiobject = libyami(yamidecode, yamiencode, psnr)
yamiobject.yamiplay(mediafiles, testoutput, 'D', decodemodelist, savemode, not savemode)
yamiobject.writetologfile()
elif testformat == 'encode':
yamiobject = libyami(yamidecode, yamiencode, psnr)
yamiobject.yamiplay(mediafiles, testoutput, 'E', encodemodelist, savemode, True)
yamiobject.writetologfile()
elif testformat == 'v4l2':
yamiobject = libyami(yamidecode, yamiencode, psnr)
yamiobject.yamiplay(mediafiles, testoutput, 'D', v4l2wmodelist, savemode, False)
yamiobject.yamiplay(mediafiles, testoutput, 'D', v4l2mmodelist, savemode, False)
yamiobject.yamiplay(mediafiles, testoutput, 'E', v4l2mmodelist, savemode, False)
yamiobject.setdeencode(capidecode, capiencode)
yamiobject.yamiplay(mediafiles, testoutput, 'D', v4l2wmodelist, savemode, False)
yamiobject.yamiplay(mediafiles, testoutput, 'D', v4l2mmodelist, savemode, False)
yamiobject.yamiplay(mediafiles, testoutput, 'E', v4l2mmodelist, savemode, False)
yamiobject.setdeencode(v4l2decode, v4l2encode)
yamiobject.yamiplay(mediafiles, testoutput, 'D', v4l2wmodelist, savemode, False)
yamiobject.yamiplay(mediafiles, testoutput, 'D', v4l2mmodelist, savemode, False)
yamiobject.yamiplay(mediafiles, testoutput, 'E', v4l2mmodelist, savemode, False)
yamiobject.writetologfile()
| 50.490566
| 96
| 0.684604
|
4d0e389d23fdc7736f06581fe356199a36c89506
| 8,772
|
py
|
Python
|
2.1/faster_rcnn/utils/rpn/proposal_layer.py
|
waikato-datamining/cntk
|
1b626407ef750dfbd4ad66fe9aed28487f2a4441
|
[
"MIT"
] | null | null | null |
2.1/faster_rcnn/utils/rpn/proposal_layer.py
|
waikato-datamining/cntk
|
1b626407ef750dfbd4ad66fe9aed28487f2a4441
|
[
"MIT"
] | null | null | null |
2.1/faster_rcnn/utils/rpn/proposal_layer.py
|
waikato-datamining/cntk
|
1b626407ef750dfbd4ad66fe9aed28487f2a4441
|
[
"MIT"
] | null | null | null |
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license. See LICENSE.md file in the project root
# for full license information.
# ==============================================================================
from cntk import output_variable, FreeDimension
from cntk.ops.functions import UserFunction
import numpy as np
import yaml
from utils.rpn.generate_anchors import generate_anchors
from utils.rpn.bbox_transform import bbox_transform_inv, clip_boxes
from utils.nms.nms_wrapper import nms
try:
from config import cfg
except ImportError:
from utils.default_config import cfg
DEBUG = False
class ProposalLayer(UserFunction):
'''
Outputs object detection proposals by applying estimated bounding-box
transformations to a set of regular boxes (called "anchors").
'''
def __init__(self, arg1, arg2, arg3, name='ProposalLayer', param_str=None):
super(ProposalLayer, self).__init__([arg1, arg2, arg3], name=name)
self.param_str_ = param_str if param_str is not None else "'feat_stride': 16\n'scales':\n - 8 \n - 16 \n - 32"
# parse the layer parameter string, which must be valid YAML
layer_params = yaml.load(self.param_str_)
self._feat_stride = layer_params['feat_stride']
anchor_scales = layer_params.get('scales', (8, 16, 32))
self._anchors = generate_anchors(scales=np.array(anchor_scales))
self._num_anchors = self._anchors.shape[0]
if DEBUG:
print ('feat_stride: {}'.format(self._feat_stride))
print ('anchors:')
print (self._anchors)
def infer_outputs(self):
# rois blob: holds R regions of interest, each is a 5-tuple
# (n, x1, y1, x2, y2) specifying an image batch index n and a
# rectangle (x1, y1, x2, y2)
# for CNTK the proposal shape is [4 x roisPerImage], and mirrored in Python
proposalShape = (FreeDimension, 4)
return [output_variable(proposalShape, self.inputs[0].dtype, self.inputs[0].dynamic_axes,
name="rpn_rois_raw", needs_gradient=False)]
def forward(self, arguments, device=None, outputs_to_retain=None):
# Algorithm:
#
# for each (H, W) location i
# generate A anchor boxes centered on cell i
# apply predicted bbox deltas at cell i to each of the A anchors
# clip predicted boxes to image
# remove predicted boxes with either height or width < threshold
# sort all (proposal, score) pairs by score from highest to lowest
# take top pre_nms_topN proposals before NMS
# apply NMS with threshold 0.7 to remaining proposals
# take after_nms_topN proposals after NMS
# return the top proposals (-> RoIs top, scores top)
# use potentially different number of proposals for training vs evaluation
if len(outputs_to_retain) == 0:
# print("EVAL")
pre_nms_topN = cfg["TEST"].RPN_PRE_NMS_TOP_N
post_nms_topN = cfg["TEST"].RPN_POST_NMS_TOP_N
nms_thresh = cfg["TEST"].RPN_NMS_THRESH
min_size = cfg["TEST"].RPN_MIN_SIZE
else:
pre_nms_topN = cfg["TRAIN"].RPN_PRE_NMS_TOP_N
post_nms_topN = cfg["TRAIN"].RPN_POST_NMS_TOP_N
nms_thresh = cfg["TRAIN"].RPN_NMS_THRESH
min_size = cfg["TRAIN"].RPN_MIN_SIZE
bottom = arguments
assert bottom[0].shape[0] == 1, \
'Only single item batches are supported'
# the first set of _num_anchors channels are bg probs
# the second set are the fg probs, which we want
scores = bottom[0][:, self._num_anchors:, :, :]
bbox_deltas = bottom[1]
im_info = bottom[2][0]
if DEBUG:
# im_info = (pad_width, pad_height, scaled_image_width, scaled_image_height, orig_img_width, orig_img_height)
# e.g.(1000, 1000, 1000, 600, 500, 300) for an original image of 600x300 that is scaled and padded to 1000x1000
print ('im_size: ({}, {})'.format(im_info[0], im_info[1]))
print ('scaled im_size: ({}, {})'.format(im_info[2], im_info[3]))
print ('original im_size: ({}, {})'.format(im_info[4], im_info[5]))
# 1. Generate proposals from bbox deltas and shifted anchors
height, width = scores.shape[-2:]
if DEBUG:
print ('score map size: {}'.format(scores.shape))
# Enumerate all shifts
shift_x = np.arange(0, width) * self._feat_stride
shift_y = np.arange(0, height) * self._feat_stride
shift_x, shift_y = np.meshgrid(shift_x, shift_y)
shifts = np.vstack((shift_x.ravel(), shift_y.ravel(),
shift_x.ravel(), shift_y.ravel())).transpose()
# Enumerate all shifted anchors:
#
# add A anchors (1, A, 4) to
# cell K shifts (K, 1, 4) to get
# shift anchors (K, A, 4)
# reshape to (K*A, 4) shifted anchors
A = self._num_anchors
K = shifts.shape[0]
anchors = self._anchors.reshape((1, A, 4)) + \
shifts.reshape((1, K, 4)).transpose((1, 0, 2))
anchors = anchors.reshape((K * A, 4))
# Transpose and reshape predicted bbox transformations to get them
# into the same order as the anchors:
#
# bbox deltas will be (1, 4 * A, H, W) format
# transpose to (1, H, W, 4 * A)
# reshape to (1 * H * W * A, 4) where rows are ordered by (h, w, a)
# in slowest to fastest order
bbox_deltas = bbox_deltas.transpose((0, 2, 3, 1)).reshape((-1, 4))
# Same story for the scores:
#
# scores are (1, A, H, W) format
# transpose to (1, H, W, A)
# reshape to (1 * H * W * A, 1) where rows are ordered by (h, w, a)
scores = scores.transpose((0, 2, 3, 1)).reshape((-1, 1))
# Convert anchors into proposals via bbox transformations
proposals = bbox_transform_inv(anchors, bbox_deltas)
# 2. clip predicted boxes to image
proposals = clip_boxes(proposals, im_info)
# 3. remove predicted boxes with either height or width < threshold
# (NOTE: convert min_size to input image scale. Original size = im_info[4:6], scaled size = im_info[2:4])
cntk_image_scale = im_info[2] / im_info[4]
keep = _filter_boxes(proposals, min_size * cntk_image_scale)
proposals = proposals[keep, :]
scores = scores[keep]
# 4. sort all (proposal, score) pairs by score from highest to lowest
# 5. take top pre_nms_topN (e.g. 6000)
order = scores.ravel().argsort()[::-1]
if pre_nms_topN > 0:
order = order[:pre_nms_topN]
proposals = proposals[order, :]
scores = scores[order]
# 6. apply nms (e.g. threshold = 0.7)
# 7. take after_nms_topN (e.g. 300)
# 8. return the top proposals (-> RoIs top)
keep = nms(np.hstack((proposals, scores)), nms_thresh)
if post_nms_topN > 0:
keep = keep[:post_nms_topN]
proposals = proposals[keep, :]
scores = scores[keep]
# pad with zeros if too few rois were found
num_found_proposals = proposals.shape[0]
if num_found_proposals < post_nms_topN:
if DEBUG:
print("Only {} proposals generated in ProposalLayer".format(num_found_proposals))
proposals_padded = np.zeros(((post_nms_topN,) + proposals.shape[1:]), dtype=np.float32)
proposals_padded[:num_found_proposals, :] = proposals
proposals = proposals_padded
# Output rois blob
# Our RPN implementation only supports a single input image, so all
# batch inds are 0
# for CNTK: add batch axis to output shape
proposals.shape = (1,) + proposals.shape
return None, proposals
def backward(self, state, root_gradients, variables):
"""This layer does not propagate gradients."""
pass
def clone(self, cloned_inputs):
return ProposalLayer(cloned_inputs[0], cloned_inputs[1], cloned_inputs[2], param_str=self.param_str_)
def serialize(self):
internal_state = {}
internal_state['param_str'] = self.param_str_
return internal_state
@staticmethod
def deserialize(inputs, name, state):
param_str = state['param_str']
return ProposalLayer(inputs[0], inputs[1], inputs[2], name=name, param_str=param_str)
def _filter_boxes(boxes, min_size):
"""Remove all boxes with any side smaller than min_size."""
ws = boxes[:, 2] - boxes[:, 0] + 1
hs = boxes[:, 3] - boxes[:, 1] + 1
keep = np.where((ws >= min_size) & (hs >= min_size))[0]
return keep
| 41.377358
| 123
| 0.616279
|
895c2540a4feb263539a3a90a7a5e4a9969c3619
| 3,713
|
py
|
Python
|
contrib/macdeploy/custom_dsstore.py
|
traficoin/traficoin
|
f6985559b8c9dfffa97faa77419b9fa672122b71
|
[
"MIT"
] | null | null | null |
contrib/macdeploy/custom_dsstore.py
|
traficoin/traficoin
|
f6985559b8c9dfffa97faa77419b9fa672122b71
|
[
"MIT"
] | null | null | null |
contrib/macdeploy/custom_dsstore.py
|
traficoin/traficoin
|
f6985559b8c9dfffa97faa77419b9fa672122b71
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python3
# Copyright (c) 2013-2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
import biplist
from ds_store import DSStore
from mac_alias import Alias
import sys
output_file = sys.argv[1]
package_name_ns = sys.argv[2]
ds = DSStore.open(output_file, 'w+')
ds['.']['bwsp'] = {
'ShowStatusBar': False,
'WindowBounds': b'{{300, 280}, {500, 343}}',
'ContainerShowSidebar': False,
'SidebarWidth': 0,
'ShowTabView': False,
'PreviewPaneVisibility': False,
'ShowToolbar': False,
'ShowSidebar': False,
'ShowPathbar': True
}
icvp = {
'gridOffsetX': 0.0,
'textSize': 12.0,
'viewOptionsVersion': 1,
'backgroundImageAlias': b'\x00\x00\x00\x00\x02\x1e\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd1\x94\\\xb0H+\x00\x05\x00\x00\x00\x98\x0fbackground.tiff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x99\xd19\xb0\xf8\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\r\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b.background\x00\x00\x10\x00\x08\x00\x00\xd1\x94\\\xb0\x00\x00\x00\x11\x00\x08\x00\x00\xd19\xb0\xf8\x00\x00\x00\x01\x00\x04\x00\x00\x00\x98\x00\x0e\x00 \x00\x0f\x00b\x00a\x00c\x00k\x00g\x00r\x00o\x00u\x00n\x00d\x00.\x00t\x00i\x00f\x00f\x00\x0f\x00\x02\x00\x00\x00\x12\x00\x1c/.background/background.tiff\x00\x14\x01\x06\x00\x00\x00\x00\x01\x06\x00\x02\x00\x00\x0cMacintosh HD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xce\x97\xab\xc3H+\x00\x00\x01\x88[\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02u\xab\x8d\xd1\x94\\\xb0devrddsk\xff\xff\xff\xff\x00\x00\t \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07bitcoin\x00\x00\x10\x00\x08\x00\x00\xce\x97\xab\xc3\x00\x00\x00\x11\x00\x08\x00\x00\xd1\x94\\\xb0\x00\x00\x00\x01\x00\x14\x01\x88[\x88\x00\x16\xa9\t\x00\x08\xfaR\x00\x08\xfaQ\x00\x02d\x8e\x00\x0e\x00\x02\x00\x00\x00\x0f\x00\x1a\x00\x0c\x00M\x00a\x00c\x00i\x00n\x00t\x00o\x00s\x00h\x00 \x00H\x00D\x00\x13\x00\x01/\x00\x00\x15\x00\x02\x00\x14\xff\xff\x00\x00\xff\xff\x00\x00',
'backgroundColorBlue': 1.0,
'iconSize': 96.0,
'backgroundColorGreen': 1.0,
'arrangeBy': 'none',
'showIconPreview': True,
'gridSpacing': 100.0,
'gridOffsetY': 0.0,
'showItemInfo': False,
'labelOnBottom': True,
'backgroundType': 2,
'backgroundColorRed': 1.0
}
alias = Alias.from_bytes(icvp['backgroundImageAlias'])
alias.volume.name = package_name_ns
alias.volume.posix_path = '/Volumes/' + package_name_ns
alias.volume.disk_image_alias.target.filename = package_name_ns + '.temp.dmg'
alias.volume.disk_image_alias.target.carbon_path = 'Macintosh HD:Users:\x00bitcoinuser:\x00Documents:\x00bitcoin:\x00bitcoin:\x00' + package_name_ns + '.temp.dmg'
alias.volume.disk_image_alias.target.posix_path = 'Users/bitcoinuser/Documents/bitcoin/bitcoin/' + package_name_ns + '.temp.dmg'
alias.target.carbon_path = package_name_ns + ':.background:\x00background.tiff'
icvp['backgroundImageAlias'] = biplist.Data(alias.to_bytes())
ds['.']['icvp'] = icvp
ds['.']['vSrn'] = ('long', 1)
ds['Applications']['Iloc'] = (370, 156)
ds['TRAFICOIN-Qt.app']['Iloc'] = (128, 156)
ds.flush()
ds.close()
| 61.883333
| 1,817
| 0.724482
|
d360f8c171aa24d690f2edd4b1eb1426b5ad4d93
| 9,545
|
py
|
Python
|
courses/machine_learning/deepdive/08_image/flowersmodel/model.py
|
mikepope-google/training-data-analyst
|
fe04e605686f8281e7b2adacadf6adb16a1345e6
|
[
"Apache-2.0"
] | 1
|
2019-06-06T15:16:30.000Z
|
2019-06-06T15:16:30.000Z
|
courses/machine_learning/deepdive/08_image/flowersmodel/model.py
|
mikepope-google/training-data-analyst
|
fe04e605686f8281e7b2adacadf6adb16a1345e6
|
[
"Apache-2.0"
] | null | null | null |
courses/machine_learning/deepdive/08_image/flowersmodel/model.py
|
mikepope-google/training-data-analyst
|
fe04e605686f8281e7b2adacadf6adb16a1345e6
|
[
"Apache-2.0"
] | 1
|
2020-03-05T05:40:33.000Z
|
2020-03-05T05:40:33.000Z
|
#!/usr/bin/env python
# Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
tf.logging.set_verbosity(tf.logging.INFO)
LIST_OF_LABELS = 'daisy,dandelion,roses,sunflowers,tulips'.split(',')
HEIGHT = 299
WIDTH = 299
NUM_CHANNELS = 3
NCLASSES = 5
def linear_model(img, mode, hparams):
X = tf.reshape(img,[-1,HEIGHT*WIDTH*NUM_CHANNELS]) #flatten
ylogits = tf.layers.dense(X,NCLASSES,activation=None)
return ylogits, NCLASSES
def dnn_model(img, mode, hparams):
X = tf.reshape(img, [-1, HEIGHT*WIDTH*NUM_CHANNELS]) #flatten
h1 = tf.layers.dense(X, 300, activation=tf.nn.relu)
h2 = tf.layers.dense(h1,100, activation=tf.nn.relu)
h3 = tf.layers.dense(h2, 30, activation=tf.nn.relu)
ylogits = tf.layers.dense(h3, NCLASSES, activation=None)
return ylogits, NCLASSES
def dnn_dropout_model(img, mode, hparams):
dprob = hparams.get('dprob', 0.1)
X = tf.reshape(img, [-1, HEIGHT*WIDTH*NUM_CHANNELS]) #flatten
h1 = tf.layers.dense(X, 300, activation=tf.nn.relu)
h2 = tf.layers.dense(h1,100, activation=tf.nn.relu)
h3 = tf.layers.dense(h2, 30, activation=tf.nn.relu)
h3d = tf.layers.dropout(h3, rate=dprob, training=(
mode == tf.estimator.ModeKeys.TRAIN)) #only dropout when training
ylogits = tf.layers.dense(h3d, NCLASSES, activation=None)
return ylogits, NCLASSES
def cnn_model(img, mode, hparams):
ksize1 = hparams.get('ksize1', 5)
ksize2 = hparams.get('ksize2', 5)
nfil1 = hparams.get('nfil1', 10)
nfil2 = hparams.get('nfil2', 20)
dprob = hparams.get('dprob', 0.25)
c1 = tf.layers.conv2d(img, filters=nfil1,
kernel_size=ksize1, strides=1,
padding='same', activation=tf.nn.relu)
p1 = tf.layers.max_pooling2d(c1,pool_size=2, strides=2)
c2 = tf.layers.conv2d(p1, filters=nfil2,
kernel_size=ksize2, strides=1,
padding='same', activation=tf.nn.relu)
p2 = tf.layers.max_pooling2d(c2,pool_size=2, strides=2)
outlen = p2.shape[1]*p2.shape[2]*p2.shape[3]
p2flat = tf.reshape(p2, [-1, outlen]) # flattened
#apply batch normalization
if hparams['batch_norm']:
h3 = tf.layers.dense(p2flat, 300, activation=None)
h3 = tf.layers.batch_normalization(
h3, training=(mode == tf.estimator.ModeKeys.TRAIN)) #only batchnorm when training
h3 = tf.nn.relu(h3)
else:
h3 = tf.layers.dense(p2flat, 300, activation=tf.nn.relu)
#apply dropout
h3d = tf.layers.dropout(h3, rate=dprob, training=(mode == tf.estimator.ModeKeys.TRAIN))
ylogits = tf.layers.dense(h3d, NCLASSES, activation=None)
#apply batch normalization once more
if hparams['batch_norm']:
ylogits = tf.layers.batch_normalization(
ylogits, training=(mode == tf.estimator.ModeKeys.TRAIN))
return ylogits, NCLASSES
def read_and_preprocess_with_augment(image_bytes, label=None):
return read_and_preprocess(image_bytes, label, augment=True)
def read_and_preprocess(image_bytes, label=None, augment=False):
# decode the image
# end up with pixel values that are in the -1, 1 range
image = tf.image.decode_jpeg(image_bytes, channels=NUM_CHANNELS)
image = tf.image.convert_image_dtype(image, dtype=tf.float32) # 0-1
image = tf.expand_dims(image, 0) # resize_bilinear needs batches
if augment:
image = tf.image.resize_bilinear(
image, [HEIGHT+10, WIDTH+10], align_corners=False)
image = tf.squeeze(image) #remove batch dimension
image = tf.random_crop(image, [HEIGHT, WIDTH, NUM_CHANNELS])
image = tf.image.random_flip_left_right(image)
image = tf.image.random_brightness(image, max_delta=63.0/255.0)
image = tf.image.random_contrast(image, lower=0.2, upper=1.8)
else:
image = tf.image.resize_bilinear(image, [HEIGHT, WIDTH, NUM_CHANNELS], align_corners=False)
image = tf.squeeze(image) #remove batch dimension
#pixel values are in range [0,1], convert to [-1,1]
image = tf.subtract(image, 0.5)
image = tf.multiply(image, 2.0)
return {'image':image}, label
def serving_input_fn():
# Note: only handles one image at a time
feature_placeholders = {'image_bytes':
tf.placeholder(tf.string, shape=())}
image, _ = read_and_preprocess(
tf.squeeze(feature_placeholders['image_bytes']))
image['image'] = tf.expand_dims(image['image'],0)
return tf.estimator.export.ServingInputReceiver(image, feature_placeholders)
def make_input_fn(csv_of_filenames, batch_size, mode, augment=False):
def _input_fn():
def decode_csv(csv_row):
filename, label = tf.decode_csv(
csv_row, record_defaults = [[''],['']])
image_bytes = tf.read_file(filename)
return image_bytes, label
# Create tf.data.dataset from filename
dataset = tf.data.TextLineDataset(csv_of_filenames).map(decode_csv)
if augment:
dataset = dataset.map(read_and_preprocess_with_augment)
else:
dataset = dataset.map(read_and_preprocess)
if mode == tf.estimator.ModeKeys.TRAIN:
num_epochs = None # indefinitely
dataset = dataset.shuffle(buffer_size = 10 * batch_size)
else:
num_epochs = 1 # end-of-input after this
dataset = dataset.repeat(num_epochs).batch(batch_size)
return dataset.make_one_shot_iterator().get_next()
return _input_fn
def image_classifier(features, labels, mode, params):
model_functions = {
'linear':linear_model,
'dnn':dnn_model,
'dnn_dropout':dnn_dropout_model,
'cnn':cnn_model}
model_function = model_functions[params['model']]
ylogits, nclasses = model_function(features['image'], mode, params)
probabilities = tf.nn.softmax(ylogits)
class_int = tf.cast(tf.argmax(probabilities, 1), tf.uint8)
class_str = tf.gather(LIST_OF_LABELS, tf.cast(class_int, tf.int32))
if mode == tf.estimator.ModeKeys.TRAIN or mode == tf.estimator.ModeKeys.EVAL:
#convert string label to int
labels_table = tf.contrib.lookup.index_table_from_tensor(
tf.constant(LIST_OF_LABELS))
labels = labels_table.lookup(labels)
loss = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits_v2(
logits=ylogits, labels=tf.one_hot(labels, nclasses)))
evalmetrics = {'accuracy': tf.metrics.accuracy(class_int, labels)}
if mode == tf.estimator.ModeKeys.TRAIN:
# this is needed for batch normalization, but has no effect otherwise
update_ops = tf.get_collection(tf.GraphKeys.UPDATE_OPS)
with tf.control_dependencies(update_ops):
train_op = tf.contrib.layers.optimize_loss(
loss,
tf.train.get_global_step(),
learning_rate=params['learning_rate'],
optimizer="Adam")
else:
train_op = None
else:
loss = None
train_op = None
evalmetrics = None
return tf.estimator.EstimatorSpec(
mode=mode,
predictions={"probabilities": probabilities,
"classid": class_int, "class": class_str},
loss=loss,
train_op=train_op,
eval_metric_ops=evalmetrics,
export_outputs={'classes': tf.estimator.export.PredictOutput(
{"probabilities": probabilities, "classid": class_int,
"class": class_str})}
)
def train_and_evaluate(output_dir, hparams):
EVAL_INTERVAL = 300 #every 5 minutes
estimator = tf.estimator.Estimator(model_fn = image_classifier,
params = hparams,
config= tf.estimator.RunConfig(
save_checkpoints_secs = EVAL_INTERVAL),
model_dir = output_dir)
train_spec = tf.estimator.TrainSpec(input_fn = make_input_fn(
hparams['train_data_path'],
hparams['batch_size'],
mode = tf.estimator.ModeKeys.TRAIN,
augment = hparams['augment']),
max_steps = hparams['train_steps'])
exporter = tf.estimator.LatestExporter('exporter', serving_input_fn)
eval_spec = tf.estimator.EvalSpec(input_fn = make_input_fn(
hparams['eval_data_path'],
hparams['batch_size'],
mode = tf.estimator.ModeKeys.EVAL),
steps = None,
exporters = exporter,
start_delay_secs = EVAL_INTERVAL,
throttle_secs = EVAL_INTERVAL)
tf.estimator.train_and_evaluate(estimator, train_spec, eval_spec)
| 41.142241
| 98
| 0.644421
|
e704c7ee2fad793c8e6f0f7dda0ce27cf32ec098
| 30
|
py
|
Python
|
cookbook/control_plane/register_project.py
|
mayitbeegh/flytesnacks
|
35fe9db45f08fce3d94923b4245b1a9980a915ef
|
[
"Apache-2.0"
] | null | null | null |
cookbook/control_plane/register_project.py
|
mayitbeegh/flytesnacks
|
35fe9db45f08fce3d94923b4245b1a9980a915ef
|
[
"Apache-2.0"
] | null | null | null |
cookbook/control_plane/register_project.py
|
mayitbeegh/flytesnacks
|
35fe9db45f08fce3d94923b4245b1a9980a915ef
|
[
"Apache-2.0"
] | null | null | null |
"""
Register a New Project
"""
| 10
| 22
| 0.633333
|
c5e007316f8cd4cf3e97aa5d2fb5cb124936ca33
| 7,096
|
py
|
Python
|
main.py
|
osucookiezi/gulag
|
cfb5a4bfbfcd281ca1d572b83d799355b0a9b443
|
[
"MIT"
] | null | null | null |
main.py
|
osucookiezi/gulag
|
cfb5a4bfbfcd281ca1d572b83d799355b0a9b443
|
[
"MIT"
] | null | null | null |
main.py
|
osucookiezi/gulag
|
cfb5a4bfbfcd281ca1d572b83d799355b0a9b443
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python3.9
# -*- coding: utf-8 -*-
# if you're interested in development, my test server is
# usually up at 51.161.34.235. just switch the ip of any
# switcher to the one above, toggle it off and on again, and
# you should be connected. registration is done ingame with
# osu!'s built-in registration.
# certificate: https://akatsuki.pw/static/ca.crt
import sys
sys._excepthook = sys.excepthook # backup
def _excepthook(type, value, traceback):
if type is KeyboardInterrupt:
print('\33[2K\r', end='Aborted startup.')
return
print('\x1b[0;31mgulag ran into an issue '
'before starting up :(\x1b[0m')
sys._excepthook(type, value, traceback)
sys.excepthook = _excepthook
import os
from pathlib import Path
import aiohttp
import cmyui
import datadog
import orjson # go zoom
from cmyui import Ansi
from cmyui import log
import bg_loops
from constants.privileges import Privileges
from objects import glob
from objects.achievement import Achievement
from objects.collections import PlayerList
from objects.collections import MatchList
from objects.collections import ChannelList
from objects.collections import ClanList
from objects.collections import MapPoolList
from objects.player import Player
from utils.misc import download_achievement_pngs
from utils.updater import Updater
__all__ = ()
# current version of gulag
# NOTE: this is used internally for the updater, it may be
# worth reading through it's code before playing with it.
glob.version = cmyui.Version(3, 2, 4)
async def setup_collections() -> None:
"""Setup & cache many global collections (mostly from sql)."""
glob.players = PlayerList() # online players
glob.matches = MatchList() # active multiplayer matches
glob.channels = await ChannelList.prepare() # active channels
glob.clans = await ClanList.prepare() # active clans
glob.pools = await MapPoolList.prepare() # active mappools
# create our bot & append it to the global player list.
res = await glob.db.fetch('SELECT name FROM users WHERE id = 1')
glob.bot = Player(
id = 1, name = res['name'], priv = Privileges.Normal,
login_time = float(0x7fffffff) # never auto-dc
)
glob.players.append(glob.bot)
# global achievements (sorted by vn gamemodes)
glob.achievements = {0: [], 1: [], 2: [], 3: []}
async for row in glob.db.iterall('SELECT * FROM achievements'):
# NOTE: achievement conditions are stored as
# stringified python expressions in the database
# to allow for easy custom achievements.
condition = eval(f'lambda score: {row.pop("cond")}')
achievement = Achievement(**row, cond=condition)
# NOTE: achievements are grouped by modes internally.
glob.achievements[row['mode']].append(achievement)
# static api keys
glob.api_keys = {
row['api_key']: row['id']
for row in await glob.db.fetchall(
'SELECT id, api_key FROM users '
'WHERE api_key IS NOT NULL'
)
}
async def before_serving() -> None:
"""Called before the server begins serving connections."""
# retrieve a client session to use for http connections.
glob.http = aiohttp.ClientSession(json_serialize=orjson.dumps)
# retrieve a pool of connections to use for mysql interaction.
glob.db = cmyui.AsyncSQLPool()
await glob.db.connect(glob.config.mysql)
# run the sql & submodule updater (uses http & db).
updater = Updater(glob.version)
await updater.run()
await updater.log_startup()
# cache many global collections/objects from sql,
# such as channels, mappools, clans, bot, etc.
await setup_collections()
new_coros = []
# create a task for each donor expiring in 30d.
new_coros.extend(await bg_loops.donor_expiry())
# setup a loop to kick inactive ghosted players.
new_coros.append(bg_loops.disconnect_ghosts())
# if the surveillance webhook has a value, run
# automatic (still very primitive) detections on
# replays deemed by the server's configurable values.
if glob.config.webhooks['surveillance']:
new_coros.append(bg_loops.replay_detections())
# reroll the bot's random status every `interval` sec.
new_coros.append(bg_loops.reroll_bot_status(interval=300))
for coro in new_coros:
glob.app.add_pending_task(coro)
async def after_serving() -> None:
"""Called after the server stops serving connections."""
await glob.http.close()
if glob.db.pool is not None:
await glob.db.close()
if glob.datadog:
glob.datadog.stop() # stop thread
glob.datadog.flush() # flush any leftover
if __name__ == '__main__':
# set cwd to /gulag.
os.chdir(os.path.dirname(os.path.realpath(__file__)))
# create /.data and its subdirectories.
data_path = Path.cwd() / '.data'
data_path.mkdir(exist_ok=True)
for sub_dir in ('avatars', 'logs', 'osu', 'osr', 'ss'):
subdir = data_path / sub_dir
subdir.mkdir(exist_ok=True)
achievements_path = data_path / 'assets/medals/client'
if not achievements_path.exists():
# create directory & download achievement pngs
achievements_path.mkdir(parents=True)
download_achievement_pngs(achievements_path)
# make sure oppai-ng is built and ready.
glob.oppai_built = (Path.cwd() / 'oppai-ng/oppai').exists()
if not glob.oppai_built:
log('No oppai-ng compiled binary found. PP for all '
'std & taiko scores will be set to 0; instructions '
'can be found in the README file.', Ansi.LRED)
# create a server object, which serves as a map of domains.
app = glob.app = cmyui.Server(
name=f'gulag v{glob.version}',
gzip=4, debug=glob.config.debug
)
# add our endpoint's domains to the server;
# each may potentially hold many individual endpoints.
from domains.cho import domain as cho_domain # c[e4-6]?.ppy.sh
from domains.osu import domain as osu_domain # osu.ppy.sh
from domains.ava import domain as ava_domain # a.ppy.sh
app.add_domains({cho_domain, osu_domain, ava_domain})
# enqueue tasks to run once the server
# begins, and stops serving connections.
# these make sure we set everything up
# and take it down nice and graceful.
app.before_serving = before_serving
app.after_serving = after_serving
# support for https://datadoghq.com
if all(glob.config.datadog.values()):
datadog.initialize(**glob.config.datadog)
glob.datadog = datadog.ThreadStats()
glob.datadog.start(flush_in_thread=True,
flush_interval=15)
# wipe any previous stats from the page.
glob.datadog.gauge('gulag.online_players', 0)
else:
glob.datadog = None
# start up the server; this starts
# an event loop internally, using
# uvloop if it's installed.
app.run(glob.config.server_addr,
handle_signals=True, # SIGHUP, SIGTERM, SIGINT
sigusr1_restart=True) # use SIGUSR1 for restarts
| 34.784314
| 68
| 0.687148
|
6e4428416d964028b6c45bf49d98cc2ebd57bf74
| 1,810
|
py
|
Python
|
bounded_multi_processing.py
|
zinob/python_tutorials
|
a730160d13780360e4c0e407b87a8b090bb2042d
|
[
"MIT"
] | null | null | null |
bounded_multi_processing.py
|
zinob/python_tutorials
|
a730160d13780360e4c0e407b87a8b090bb2042d
|
[
"MIT"
] | null | null | null |
bounded_multi_processing.py
|
zinob/python_tutorials
|
a730160d13780360e4c0e407b87a8b090bb2042d
|
[
"MIT"
] | null | null | null |
#!/usr/bin/python
## """
## How do i parallelize a retriever function and a sender/saver function when they
## 1: require mpthreads
## 2: The dataammount is significant enough that I don't want the receiver to get to far ahead of the sender.
## """
## This code uses a semaphore to bound the amount of in-flight data.
## The general rule of thumb is that you should use twice the number of threads that you have CPUs,
## so this one uses one pool for senders and one pool for receivers, each with equal workers as there are CPUs in the system.
## The semaphore size is set to the twice the number of possible in-flight sending requests in order to avoid thread starvation
## (if it is less than cpu*chunk it will stall, if its less than twice that performance might suffer)
import multiprocessing
from multiprocessing import Pool
import time
try:
from tqdm import tqdm
except:
tqdm=lambda x,*_,**__:x
import random
def ini(y):
global semaphore
semaphore=y
def receive(i):
semaphore.acquire()
time.sleep(1+random.randrange(-4,4)/10)
return i+1
def send(x):
time.sleep(2)
semaphore.release()
return(f"sent:{x}")
ITERS=99
CHUNK=4
CPUs=multiprocessing.cpu_count()
m = multiprocessing.Manager()
s = m.BoundedSemaphore(CHUNK*CPUs*2)
t=time.time()
with Pool(CPUs,initializer=ini, initargs=[s] ) as receiver_p:
with Pool(CPUs,initializer=ini, initargs=[s]) as sender_p:
indata = range(ITERS)
received=receiver_p.imap_unordered(receive, indata,chunksize=CHUNK)
sent=sender_p.imap_unordered(send, tqdm(received, desc="received", total=ITERS,miniters=1),chunksize=CHUNK)
for i in tqdm(sent,desc="sent",total=ITERS,miniters=1):
pass
time.sleep(1)
print()
print(time.time()-t)
print(time.time()-t)
| 31.754386
| 127
| 0.709392
|
67111e3fcadda5601597bb03ba46740c6f0b602f
| 4,730
|
py
|
Python
|
ExcelHandler.py
|
btminzon/bandcombination
|
c2e869f3e31e1655b9c22982b7a90580e080dd1d
|
[
"BSD-2-Clause-FreeBSD"
] | 9
|
2019-04-19T03:19:23.000Z
|
2022-02-22T22:08:10.000Z
|
ExcelHandler.py
|
btminzon/bandcombination
|
c2e869f3e31e1655b9c22982b7a90580e080dd1d
|
[
"BSD-2-Clause-FreeBSD"
] | null | null | null |
ExcelHandler.py
|
btminzon/bandcombination
|
c2e869f3e31e1655b9c22982b7a90580e080dd1d
|
[
"BSD-2-Clause-FreeBSD"
] | 4
|
2019-04-19T03:19:28.000Z
|
2021-01-26T22:53:44.000Z
|
import xlsxwriter
def writeBandOnFile(workbook, bandsList, modulationList):
# Add a worksheet to Excel file
BandWorksheet = workbook.add_worksheet('Band Info')
# Header
BandCombinationHeader = ("Band", "256QAM in DL", "64QAM in UL")
# used formats on this worksheet
cellHeaderFormat = workbook.add_format({'align': 'center', 'valign': 'vcenter', 'border': 1, 'bold': 1, 'font_size': 14, })
cellFormat = workbook.add_format({'align': 'center', 'valign': 'vcenter', 'border': 1, 'bold': 0, 'font_size': 11, })
itemCellFormat = workbook.add_format({'align': 'center', 'valign': 'vcenter', 'border': 1, 'bold': 1, 'font_size': 11, })
row = 0
col = 0
# set 256QAM column size to 17
BandWorksheet.set_column(1, 1, 17)
# set 64QAM column size to 16
BandWorksheet.set_column(2, 2, 16)
for headerItem in (BandCombinationHeader):
BandWorksheet.write(row, col, headerItem, cellHeaderFormat)
col += 1
row = 1
col = 0
for band,modulation in zip(bandsList,modulationList):
BandWorksheet.write(row, col, band, cellFormat)
BandWorksheet.write(row, col+1, modulation['dl-256QAM-r12'], cellFormat)
BandWorksheet.write(row, col+2, modulation['ul-64QAM-r12'], cellFormat)
row += 1
def writeBandCombinationOnFile(workbook, bandCombinationList, layersList, bcsList):
# No Carrier Aggregation Support
if bandCombinationList == ["None"]:
return
# Add a worksheet to Excel file
BandCombinationWorksheet = workbook.add_worksheet('Band Combination Info')
# Header
BandCombinationHeader = ("Item", "Band", "BW Class", "MIMO", "Layers", "Bandwidth Combination Set*")
# used formats on this worksheet
cellHeaderFormat = workbook.add_format({'align': 'center', 'valign': 'vcenter', 'border': 1, 'bold': 1, 'font_size': 14, })
cellFormat = workbook.add_format({'align': 'center', 'valign': 'vcenter', 'border': 1, 'bold': 0, 'font_size': 11, })
itemCellFormat = workbook.add_format({'align': 'center', 'valign': 'vcenter', 'border': 1, 'bold': 1, 'font_size': 11, })
noteFormat = workbook.add_format({'align': 'left', 'valign': 'vcenter', 'border': 1, 'bold': 1, 'font_size': 11, })
row = 0
col = 0
# set BW Class column size to 11
BandCombinationWorksheet.set_column(2,2,11)
# set BCS column size to 28
BandCombinationWorksheet.set_column(5, 5, 44)
for headerItem in BandCombinationHeader:
BandCombinationWorksheet.write(row, col, headerItem, cellHeaderFormat)
col += 1
row = 1
col = 0
notMerged = True
ItemIndex = 0
for items in bandCombinationList:
for bandCombinationObject in items:
if len(items) > 1 and notMerged:
BandCombinationWorksheet.merge_range(row, col, row+len(items)-1, col, bandCombinationObject['Item'], itemCellFormat)
BandCombinationWorksheet.merge_range(row, col+4, row+len(items)-1, col+4, layersList[ItemIndex], cellFormat)
BandCombinationWorksheet.merge_range(row, col+5, row+len(items)-1, col+5, "ALL" if bcsList[ItemIndex] == "" else bcsList[ItemIndex], cellFormat)
notMerged = False
elif len(items) is 1:
BandCombinationWorksheet.write(row, col, bandCombinationObject['Item'], itemCellFormat)
BandCombinationWorksheet.write(row, col+4, layersList[ItemIndex], cellFormat)
BandCombinationWorksheet.write(row, col+5, "ALL" if bcsList[ItemIndex] == '' else bcsList[ItemIndex], cellFormat)
BandCombinationWorksheet.write(row, col+1, bandCombinationObject['Band'], cellFormat)
BandCombinationWorksheet.write(row, col+2, bandCombinationObject['BwClass'].upper(), cellFormat)
BandCombinationWorksheet.write(row, col+3, "2x2" if bandCombinationObject['SupportedMIMOLayers'] == 'twoLayers' else "4x4", cellFormat)
col = 0
row += 1
notMerged = True
ItemIndex += 1
# Write a note about where to find BCS definition, in 3gpp
BandCombinationWorksheet.merge_range(row, 0, row, col + 5, "* For BCS information, please check 36.301-Rel15 tables 5.6A.1-1 and 5.6A.1-2", noteFormat)
def write2Excel(bandsList, bandCombinationList,layersList, bcsList, modulationList, file):
# filename
workbook = xlsxwriter.Workbook(file)
# Write supported bands and related items
writeBandOnFile(workbook, bandsList, modulationList)
# Write supported band combination items and related features
writeBandCombinationOnFile(workbook, bandCombinationList, layersList, bcsList)
print("Created file {}".format(file))
# close file
workbook.close()
| 43
| 160
| 0.670825
|
2dfb031a36e59666a51582deb13e88481abc0fda
| 6,325
|
py
|
Python
|
climateeconomics/tests/l1_test_gradient_oil_resource_discipline.py
|
os-climate/witness-core
|
3ef9a44d86804c5ad57deec3c9916348cb3bfbb8
|
[
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | 1
|
2022-01-14T06:37:42.000Z
|
2022-01-14T06:37:42.000Z
|
climateeconomics/tests/l1_test_gradient_oil_resource_discipline.py
|
os-climate/witness-core
|
3ef9a44d86804c5ad57deec3c9916348cb3bfbb8
|
[
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
climateeconomics/tests/l1_test_gradient_oil_resource_discipline.py
|
os-climate/witness-core
|
3ef9a44d86804c5ad57deec3c9916348cb3bfbb8
|
[
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null |
'''
Copyright 2022 Airbus SAS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
'''
import unittest
from os.path import join, dirname
import numpy as np
from pandas import read_csv
from sos_trades_core.execution_engine.execution_engine import ExecutionEngine
from sos_trades_core.tests.core.abstract_jacobian_unit_test import AbstractJacobianUnittest
class OilResourceJacobianDiscTest(AbstractJacobianUnittest):
"""
Oil resource jacobian test class
"""
#AbstractJacobianUnittest.DUMP_JACOBIAN = True
def analytic_grad_entry(self):
return [
self.test_oil_resource_analytic_grad,
self.test_oil_resource_demand_variable_analytic_grad
]
def setUp(self):
'''
Initialize third data needed for testing
'''
self.year_start = 2020
self.year_end = 2100
data_dir = join(dirname(__file__), 'data')
self.energy_oil_demand_df = read_csv(
join(data_dir, 'all_demand_from_energy_mix.csv'), usecols=['years','oil_resource'])
self.energy_oil_variable_demand_df = read_csv(
join(data_dir, 'all_demand_variable.csv'), usecols=['years','oil_resource'])
# part to adapt lenght to the year range
self.energy_oil_demand_df = self.energy_oil_demand_df.loc[self.energy_oil_demand_df['years']
>= self.year_start]
self.energy_oil_demand_df = self.energy_oil_demand_df.loc[self.energy_oil_demand_df['years']
<= self.year_end]
self.energy_oil_variable_demand_df = self.energy_oil_variable_demand_df.loc[self.energy_oil_variable_demand_df['years']
>= self.year_start]
self.energy_oil_variable_demand_df = self.energy_oil_variable_demand_df.loc[self.energy_oil_variable_demand_df['years']
<= self.year_end]
def test_oil_resource_analytic_grad(self):
self.name = 'Test'
self.ee = ExecutionEngine(self.name)
self.model_name = 'oil_resource'
ns_dict = {'ns_public': f'{self.name}',
'ns_witness': f'{self.name}.{self.model_name}',
'ns_functions': f'{self.name}.{self.model_name}',
'ns_oil_resource':f'{self.name}.{self.model_name}',
'ns_resource': f'{self.name}.{self.model_name}'}
self.ee.ns_manager.add_ns_def(ns_dict)
mod_path = 'climateeconomics.core.core_resources.models.oil_resource.oil_resource_disc.OilResourceDiscipline'
builder = self.ee.factory.get_builder_from_module(self.model_name, mod_path)
self.ee.factory.set_builders_to_coupling_builder(builder)
self.ee.configure()
self.ee.display_treeview_nodes()
inputs_dict = {f'{self.name}.year_start': self.year_start,
f'{self.name}.year_end': self.year_end,
f'{self.name}.{self.model_name}.resources_demand': self.energy_oil_demand_df
}
self.ee.load_study_from_input_dict(inputs_dict)
disc_techno = self.ee.root_process.sos_disciplines[0]
self.check_jacobian(location=dirname(__file__), filename=f'jacobian_oil_discipline.pkl',
discipline=disc_techno, step=1e-15, derr_approx='complex_step',
inputs=[f'{self.name}.{self.model_name}.resources_demand'],
outputs=[f'{self.name}.{self.model_name}.resource_stock',
f'{self.name}.{self.model_name}.resource_price',
f'{self.name}.{self.model_name}.use_stock',
f'{self.name}.{self.model_name}.predictable_production'])
def test_oil_resource_demand_variable_analytic_grad(self):
self.name = 'Test'
self.ee = ExecutionEngine(self.name)
self.model_name = 'oil_resource'
ns_dict = {'ns_public': f'{self.name}',
'ns_witness': f'{self.name}.{self.model_name}',
'ns_functions': f'{self.name}.{self.model_name}',
'ns_oil_resource':f'{self.name}.{self.model_name}',
'ns_resource': f'{self.name}.{self.model_name}'}
self.ee.ns_manager.add_ns_def(ns_dict)
mod_path = 'climateeconomics.core.core_resources.models.oil_resource.oil_resource_disc.OilResourceDiscipline'
builder = self.ee.factory.get_builder_from_module(self.model_name, mod_path)
self.ee.factory.set_builders_to_coupling_builder(builder)
self.ee.configure()
self.ee.display_treeview_nodes()
inputs_dict = {f'{self.name}.year_start': self.year_start,
f'{self.name}.year_end': self.year_end,
f'{self.name}.{self.model_name}.resources_demand': self.energy_oil_variable_demand_df
}
self.ee.load_study_from_input_dict(inputs_dict)
disc_techno = self.ee.root_process.sos_disciplines[0]
self.check_jacobian(location=dirname(__file__), filename=f'jacobian_oil_demand_variable_discipline.pkl',
discipline=disc_techno, step=1e-15, derr_approx='complex_step',
inputs=[f'{self.name}.{self.model_name}.resources_demand'],
outputs=[f'{self.name}.{self.model_name}.resource_stock',
f'{self.name}.{self.model_name}.resource_price',
f'{self.name}.{self.model_name}.use_stock',
f'{self.name}.{self.model_name}.predictable_production'])
| 48.653846
| 127
| 0.625455
|
ebf3dbecca0a0aaff02e1679cecb774e09072831
| 6,869
|
py
|
Python
|
Cartwheel/lib/Python26/Lib/site-packages/OpenGL/raw/GL/ARB/uniform_buffer_object.py
|
MontyThibault/centre-of-mass-awareness
|
58778f148e65749e1dfc443043e9fc054ca3ff4d
|
[
"MIT"
] | null | null | null |
Cartwheel/lib/Python26/Lib/site-packages/OpenGL/raw/GL/ARB/uniform_buffer_object.py
|
MontyThibault/centre-of-mass-awareness
|
58778f148e65749e1dfc443043e9fc054ca3ff4d
|
[
"MIT"
] | null | null | null |
Cartwheel/lib/Python26/Lib/site-packages/OpenGL/raw/GL/ARB/uniform_buffer_object.py
|
MontyThibault/centre-of-mass-awareness
|
58778f148e65749e1dfc443043e9fc054ca3ff4d
|
[
"MIT"
] | null | null | null |
'''OpenGL extension ARB.uniform_buffer_object
The official definition of this extension is available here:
http://oss.sgi.com/projects/ogl-sample/registry/ARB/uniform_buffer_object.txt
Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_uniform_buffer_object'
GL_UNIFORM_BUFFER = constant.Constant( 'GL_UNIFORM_BUFFER', 0x8A11 )
GL_UNIFORM_BUFFER_BINDING = constant.Constant( 'GL_UNIFORM_BUFFER_BINDING', 0x8A28 )
GL_UNIFORM_BUFFER_START = constant.Constant( 'GL_UNIFORM_BUFFER_START', 0x8A29 )
GL_UNIFORM_BUFFER_SIZE = constant.Constant( 'GL_UNIFORM_BUFFER_SIZE', 0x8A2A )
GL_MAX_VERTEX_UNIFORM_BLOCKS = constant.Constant( 'GL_MAX_VERTEX_UNIFORM_BLOCKS', 0x8A2B )
GL_MAX_GEOMETRY_UNIFORM_BLOCKS = constant.Constant( 'GL_MAX_GEOMETRY_UNIFORM_BLOCKS', 0x8A2C )
GL_MAX_FRAGMENT_UNIFORM_BLOCKS = constant.Constant( 'GL_MAX_FRAGMENT_UNIFORM_BLOCKS', 0x8A2D )
GL_MAX_COMBINED_UNIFORM_BLOCKS = constant.Constant( 'GL_MAX_COMBINED_UNIFORM_BLOCKS', 0x8A2E )
GL_MAX_UNIFORM_BUFFER_BINDINGS = constant.Constant( 'GL_MAX_UNIFORM_BUFFER_BINDINGS', 0x8A2F )
GL_MAX_UNIFORM_BLOCK_SIZE = constant.Constant( 'GL_MAX_UNIFORM_BLOCK_SIZE', 0x8A30 )
GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = constant.Constant( 'GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS', 0x8A31 )
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = constant.Constant( 'GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS', 0x8A32 )
GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = constant.Constant( 'GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS', 0x8A33 )
GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = constant.Constant( 'GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT', 0x8A34 )
GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = constant.Constant( 'GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH', 0x8A35 )
GL_ACTIVE_UNIFORM_BLOCKS = constant.Constant( 'GL_ACTIVE_UNIFORM_BLOCKS', 0x8A36 )
GL_UNIFORM_TYPE = constant.Constant( 'GL_UNIFORM_TYPE', 0x8A37 )
GL_UNIFORM_SIZE = constant.Constant( 'GL_UNIFORM_SIZE', 0x8A38 )
GL_UNIFORM_NAME_LENGTH = constant.Constant( 'GL_UNIFORM_NAME_LENGTH', 0x8A39 )
GL_UNIFORM_BLOCK_INDEX = constant.Constant( 'GL_UNIFORM_BLOCK_INDEX', 0x8A3A )
GL_UNIFORM_OFFSET = constant.Constant( 'GL_UNIFORM_OFFSET', 0x8A3B )
GL_UNIFORM_ARRAY_STRIDE = constant.Constant( 'GL_UNIFORM_ARRAY_STRIDE', 0x8A3C )
GL_UNIFORM_MATRIX_STRIDE = constant.Constant( 'GL_UNIFORM_MATRIX_STRIDE', 0x8A3D )
GL_UNIFORM_IS_ROW_MAJOR = constant.Constant( 'GL_UNIFORM_IS_ROW_MAJOR', 0x8A3E )
GL_UNIFORM_BLOCK_BINDING = constant.Constant( 'GL_UNIFORM_BLOCK_BINDING', 0x8A3F )
GL_UNIFORM_BLOCK_DATA_SIZE = constant.Constant( 'GL_UNIFORM_BLOCK_DATA_SIZE', 0x8A40 )
GL_UNIFORM_BLOCK_NAME_LENGTH = constant.Constant( 'GL_UNIFORM_BLOCK_NAME_LENGTH', 0x8A41 )
GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = constant.Constant( 'GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS', 0x8A42 )
GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = constant.Constant( 'GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES', 0x8A43 )
GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = constant.Constant( 'GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER', 0x8A44 )
GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = constant.Constant( 'GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER', 0x8A45 )
GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = constant.Constant( 'GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER', 0x8A46 )
GL_INVALID_INDEX_ARB = constant.Constant( 'GL_INVALID_INDEX_ARB', 0xFFFFFFFF )
glGetUniformIndices = platform.createExtensionFunction(
'glGetUniformIndices', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLsizei, ctypes.POINTER( ctypes.POINTER( constants.GLchar )), arrays.GLuintArray,),
doc = 'glGetUniformIndices( GLuint(program), GLsizei(uniformCount), POINTER( ctypes.POINTER( constants.GLchar ))(uniformNames), GLuintArray(uniformIndices) ) -> None',
argNames = ('program', 'uniformCount', 'uniformNames', 'uniformIndices',),
)
glGetActiveUniformsiv = platform.createExtensionFunction(
'glGetActiveUniformsiv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLsizei, arrays.GLuintArray, constants.GLenum, arrays.GLintArray,),
doc = 'glGetActiveUniformsiv( GLuint(program), GLsizei(uniformCount), GLuintArray(uniformIndices), GLenum(pname), GLintArray(params) ) -> None',
argNames = ('program', 'uniformCount', 'uniformIndices', 'pname', 'params',),
)
glGetActiveUniformName = platform.createExtensionFunction(
'glGetActiveUniformName', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLuint, constants.GLsizei, arrays.GLsizeiArray, arrays.GLcharArray,),
doc = 'glGetActiveUniformName( GLuint(program), GLuint(uniformIndex), GLsizei(bufSize), GLsizeiArray(length), GLcharArray(uniformName) ) -> None',
argNames = ('program', 'uniformIndex', 'bufSize', 'length', 'uniformName',),
)
glGetUniformBlockIndex = platform.createExtensionFunction(
'glGetUniformBlockIndex', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=constants.GLuint,
argTypes=(constants.GLuint, arrays.GLcharArray,),
doc = 'glGetUniformBlockIndex( GLuint(program), GLcharArray(uniformBlockName) ) -> constants.GLuint',
argNames = ('program', 'uniformBlockName',),
)
glGetActiveUniformBlockiv = platform.createExtensionFunction(
'glGetActiveUniformBlockiv', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLuint, constants.GLenum, arrays.GLintArray,),
doc = 'glGetActiveUniformBlockiv( GLuint(program), GLuint(uniformBlockIndex), GLenum(pname), GLintArray(params) ) -> None',
argNames = ('program', 'uniformBlockIndex', 'pname', 'params',),
)
glGetActiveUniformBlockName = platform.createExtensionFunction(
'glGetActiveUniformBlockName', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLuint, constants.GLsizei, arrays.GLsizeiArray, arrays.GLcharArray,),
doc = 'glGetActiveUniformBlockName( GLuint(program), GLuint(uniformBlockIndex), GLsizei(bufSize), GLsizeiArray(length), GLcharArray(uniformBlockName) ) -> None',
argNames = ('program', 'uniformBlockIndex', 'bufSize', 'length', 'uniformBlockName',),
)
glUniformBlockBinding = platform.createExtensionFunction(
'glUniformBlockBinding', dll=platform.GL,
extension=EXTENSION_NAME,
resultType=None,
argTypes=(constants.GLuint, constants.GLuint, constants.GLuint,),
doc = 'glUniformBlockBinding( GLuint(program), GLuint(uniformBlockIndex), GLuint(uniformBlockBinding) ) -> None',
argNames = ('program', 'uniformBlockIndex', 'uniformBlockBinding',),
)
def glInitUniformBufferObjectARB():
'''Return boolean indicating whether this extension is available'''
return extensions.hasGLExtension( EXTENSION_NAME )
| 60.787611
| 168
| 0.819624
|
78cd41b5c9bdd2df8aaa665b7c853b26ed3f2255
| 3,596
|
py
|
Python
|
robots/create_robots_resources.py
|
rrazor/wtop
|
a8c428d91ed841028d36455317485aaf1eb6dc3b
|
[
"BSD-3-Clause"
] | 55
|
2015-01-05T17:11:06.000Z
|
2021-07-31T14:42:16.000Z
|
robots/create_robots_resources.py
|
rrazor/wtop
|
a8c428d91ed841028d36455317485aaf1eb6dc3b
|
[
"BSD-3-Clause"
] | 4
|
2015-03-25T21:38:25.000Z
|
2018-06-18T19:33:20.000Z
|
robots/create_robots_resources.py
|
rrazor/wtop
|
a8c428d91ed841028d36455317485aaf1eb6dc3b
|
[
"BSD-3-Clause"
] | 7
|
2015-09-15T10:57:15.000Z
|
2019-07-16T14:52:58.000Z
|
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
"""Create an optimized regex for matching robot user agents based on the data
compiled by http://user-agent-string.info/"""
# Standard library
import argparse
import io
import re
import urllib
from xml.dom.minidom import parse
# Third-party
import trie
uasparser_xml_uri = "http://user-agent-string.info/rpc/get_data.php"
uasparser_xml_query = "key=free&format=xml&download=y"
download_xml_url = "%s?%s" % (uasparser_xml_uri, uasparser_xml_query)
file_uasparser_xml = "uasparser.xml"
file_robots_config = "robots_excerpt.ini"
file_user_agents = "robot_user_agents.txt"
others = ["curl", "gsa-crawler", "wget"]
default_xml_file = ""
re_trailing_version = re.compile(r"""
(?P<robot>.{4}) # robot name
[/ ][0-9][.][0-9].* # trailing version
""", re.VERBOSE)
def parser_setup():
"""Instantiate, configure, and return an argarse instance."""
ap = argparse.ArgumentParser(description=__doc__)
ap.add_argument("-f", "--file",
help="File containing UASparser data in xml format (if "
"omitted, the file will be downloaded)")
args = ap.parse_args()
return args
def download_uasparser_xml(xml_url, xml_file):
"""Download "Data for UASparser" in XML format."""
urllib.urlretrieve(xml_url, xml_file)
def add_others_to_robots(robots, others_list):
"""Add others to robots set."""
for other in others_list:
robots.add(other)
return robots
def add_xml_names_to_robots(robots, xml_file):
"""Add robots from "Data for UASparser" in XML format to robots set."""
dom = parse(xml_file)
user_agents = list()
for robot in dom.getElementsByTagName("robot"):
for node in robot.childNodes:
if node.localName == "family":
family = node.firstChild.data.strip()
if node.localName == "name":
name = node.firstChild.data.strip()
if node.localName == "useragent":
user_agents.append(node.firstChild.data.strip())
# Use the family title instead of the name, if it is long enough
if len(family) > 3:
name = family
# Remove trailing versions (length protected in regex)
name_new = re_trailing_version.search(name)
if name_new:
name = name_new.group("robot")
if name.endswith(" b"):
name = name.rstrip(" b")
robots.add(name.strip())
return robots, sorted(user_agents)
def create_optmized_robots_regex(robots):
"""Create an optimized regex from list of robots using a trie."""
optimized_robots = trie.Trie()
for robot in sorted(robots):
optimized_robots.add(robot)
return optimized_robots.regexp()
def main():
robots = set()
# Command Line Options
args = parser_setup()
if args.file:
xml_file = args.file
else:
download_uasparser_xml(download_xml_url, file_uasparser_xml)
xml_file = file_uasparser_xml
robots = add_others_to_robots(robots, others)
robots, user_agents = add_xml_names_to_robots(robots, xml_file)
optibots = create_optmized_robots_regex(robots)
# write out robots config excerpt
with io.open(file_robots_config, "w", encoding="utf8") as fh:
fh.write(u"[patterns]\n")
fh.write(u"robots=%s\n" % optibots)
# write out robot users agents for testing
with io.open(file_user_agents, "w", encoding="utf8") as fh:
for agent in user_agents:
fh.write("%s\n" % agent)
if __name__ == "__main__":
main()
| 32.107143
| 77
| 0.659066
|
f38ed06d537fa8c64e30e55fab4394cd27bb5540
| 7,495
|
py
|
Python
|
sublime/pymdownx/st3/pymdownx/arithmatex.py
|
brunobergher/dotfiles
|
2b3bfb9cf1b26441514b5565722fb187be2789cc
|
[
"MIT"
] | 2
|
2018-04-24T10:02:26.000Z
|
2019-06-02T13:53:31.000Z
|
sublime/pymdownx/st3/pymdownx/arithmatex.py
|
brunobergher/dotfiles
|
2b3bfb9cf1b26441514b5565722fb187be2789cc
|
[
"MIT"
] | null | null | null |
sublime/pymdownx/st3/pymdownx/arithmatex.py
|
brunobergher/dotfiles
|
2b3bfb9cf1b26441514b5565722fb187be2789cc
|
[
"MIT"
] | 2
|
2019-04-11T04:13:02.000Z
|
2019-06-02T13:53:33.000Z
|
r"""
Arithmatex.
pymdownx.arithmatex
Extension that preserves the following for MathJax use:
$Equation$, \(Equation\)
$$
Display Equations
$$
\[
Display Equations
\]
\begin{align}
Display Equations
\end{align}
and $Inline MathJax Equations$
Inline equations are converted to the following form for HTML output by default:
\(Inline MathJax Equations\)
While block/display equations are converted to the following form for HTML output by default:
\[
Display Equations
\]
MIT license.
Copyright (c) 2014 - 2017 Isaac Muse <isaacmuse@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
"""
from __future__ import unicode_literals
from markdown import Extension
from markdown.inlinepatterns import Pattern
from markdown.blockprocessors import BlockProcessor
from markdown import util as md_util
from . import util
import re
RE_DOLLAR_INLINE = r'(?:(?<!\\)((?:\\{2})+)(?=\$)|(?<!\\)(\$)(?!\s)((?:\\.|[^\$])+?)(?<!\s)(?:\$))'
RE_BRACKET_INLINE = r'(?:(?<!\\)((?:\\{2})+?)(?=\\\()|(?<!\\)(\\\()((?:\\[^)]|[^\\])+?)(?:\\\)))'
class InlineArithmatexPattern(Pattern):
"""Arithmatex inline pattern handler."""
ESCAPED_BSLASH = '%s%s%s' % (md_util.STX, ord('\\'), md_util.ETX)
def __init__(self, pattern, wrap, script, md):
"""Initialize."""
self.script = script
self.wrap = wrap[0] + '%s' + wrap[1]
Pattern.__init__(self, pattern)
self.markdown = md
def handleMatch(self, m):
"""Handle notations and switch them to something that will be more detectable in HTML."""
# Handle escapes
escapes = m.group(2)
if not escapes:
escapes = m.group(5)
if escapes:
return escapes.replace('\\\\', self.ESCAPED_BSLASH)
# Handle Tex
math = m.group(4)
if not math:
math = m.group(7)
if self.script:
el = md_util.etree.Element('script', {'type': 'math/tex'})
el.text = md_util.AtomicString(math)
else:
el = md_util.etree.Element('span')
el.text = md_util.AtomicString(self.wrap % math)
return el
class BlockArithmatexProcessor(BlockProcessor):
"""Mathjax block processor to find $$mathjax$$ content."""
RE_DOLLAR_BLOCK = r'(?P<dollar>[$]{2})(?P<math>.+?)(?P=dollar)'
RE_TEX_BLOCK = r'(?P<math2>\\begin\{(?P<env>[a-z]+\*?)\}.+?\\end\{(?P=env)\})'
RE_BRACKET_BLOCK = r'\\\[(?P<math3>(?:\\[^\]]|[^\\])+?)\\\]'
def __init__(self, config, md):
"""Initialize."""
self.script = config.get('insert_as_script', False)
wrap = config.get('tex_block_wrap', ['\\[', '\\]'])
self.wrap = wrap[0] + '%s' + wrap[1]
allowed_patterns = set(config.get('block_syntax', ['dollar', 'square', 'begin']))
pattern = []
if 'dollar' in allowed_patterns:
pattern.append(self.RE_DOLLAR_BLOCK)
if 'square' in allowed_patterns:
pattern.append(self.RE_BRACKET_BLOCK)
if 'begin' in allowed_patterns:
pattern.append(self.RE_TEX_BLOCK)
self.match = None
if pattern:
self.pattern = re.compile(r'(?s)^(?:%s)[ ]*$' % '|'.join(pattern))
else:
self.pattern = None
self.markdown = md
BlockProcessor.__init__(self, md.parser)
def test(self, parent, block):
"""Return 'True' for future Python Markdown block compatibility."""
self.match = self.pattern.match(block) if self.pattern is not None else None
return self.match is not None
def run(self, parent, blocks):
"""Find and handle block content."""
blocks.pop(0)
math = self.match.group('math')
if not math:
math = self.match.group('math2')
if not math:
math = self.match.group('math3')
if self.script:
el = md_util.etree.SubElement(parent, 'script', {'type': 'math/tex; mode=display'})
el.text = md_util.AtomicString(math)
else:
el = md_util.etree.SubElement(parent, 'span')
el.text = md_util.AtomicString(self.wrap % math)
return True
class ArithmatexExtension(Extension):
"""Adds delete extension to Markdown class."""
def __init__(self, *args, **kwargs):
"""Initialize."""
self.config = {
'tex_inline_wrap': [
["\\(", "\\)"],
"Wrap inline content with the provided text ['open', 'close'] - Default: ['', '']"
],
'tex_block_wrap': [
["\\[", "\\]"],
"Wrap blick content with the provided text ['open', 'close'] - Default: ['', '']"
],
"block_syntax": [
['dollar', 'square', 'begin'],
'Enable block syntax: "dollar" ($$...$$), "square" (\\[...\\]), and '
'"begin" (\\begin{env}...\\end{env}). - Default: ["dollar", "square", "begin"]'
],
"inline_syntax": [
['dollar', 'round'],
'Enable block syntax: "dollar" ($$...$$), "bracket" (\\(...\\)) '
' - Default: ["dollar", "round"]'
],
'insert_as_script': [
False,
"Insert the math Tex notation into a script tag. Overrides wrapping. - Default: False"
]
}
super(ArithmatexExtension, self).__init__(*args, **kwargs)
def extendMarkdown(self, md, md_globals):
"""Extend the inline and block processor objects."""
md.registerExtension(self)
util.escape_chars(md, ['$'])
config = self.getConfigs()
allowed_inline = set(config.get('inline_syntax', ['dollar', 'round']))
inline_patterns = []
if 'dollar' in allowed_inline:
inline_patterns.append(RE_DOLLAR_INLINE)
if 'round' in allowed_inline:
inline_patterns.append(RE_BRACKET_INLINE)
if inline_patterns:
inline = InlineArithmatexPattern(
'(?:%s)' % '|'.join(inline_patterns),
config.get('tex_inline_wrap', ["\\(", "\\)"]),
config.get('insert_as_script', False),
md
)
md.inlinePatterns.add("arithmatex-inline", inline, ">backtick")
md.parser.blockprocessors.add('arithmatex-block', BlockArithmatexProcessor(config, md), "<code")
def makeExtension(*args, **kwargs):
"""Return extension."""
return ArithmatexExtension(*args, **kwargs)
| 34.380734
| 111
| 0.591194
|
cffb59a2ae6306049d63c6be518aa4f3760ac276
| 12,000
|
py
|
Python
|
test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py
|
changlong-liu/autorest.python
|
1f03e4c6a11934d385fab050dc44041f1e91e9ff
|
[
"MIT"
] | null | null | null |
test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py
|
changlong-liu/autorest.python
|
1f03e4c6a11934d385fab050dc44041f1e91e9ff
|
[
"MIT"
] | null | null | null |
test/vanilla/legacy/Expected/AcceptanceTests/BodyComplex/bodycomplex/aio/operations/_basic_operations.py
|
changlong-liu/autorest.python
|
1f03e4c6a11934d385fab050dc44041f1e91e9ff
|
[
"MIT"
] | null | null | null |
# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
import functools
from typing import Any, Callable, Dict, Generic, Optional, TypeVar
import warnings
from azure.core.exceptions import (
ClientAuthenticationError,
HttpResponseError,
ResourceExistsError,
ResourceNotFoundError,
map_error,
)
from azure.core.pipeline import PipelineResponse
from azure.core.pipeline.transport import AsyncHttpResponse
from azure.core.rest import HttpRequest
from azure.core.tracing.decorator_async import distributed_trace_async
from ... import models as _models
from ..._vendor import _convert_request
from ...operations._basic_operations import (
build_get_empty_request,
build_get_invalid_request,
build_get_not_provided_request,
build_get_null_request,
build_get_valid_request,
build_put_valid_request,
)
T = TypeVar("T")
ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]]
class BasicOperations:
"""BasicOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that
instantiates it for you and attaches it as an attribute.
:ivar models: Alias to model classes used in this operation group.
:type models: ~bodycomplex.models
:param client: Client for service requests.
:param config: Configuration of service client.
:param serializer: An object model serializer.
:param deserializer: An object model deserializer.
"""
models = _models
def __init__(self, client, config, serializer, deserializer) -> None:
self._client = client
self._serialize = serializer
self._deserialize = deserializer
self._config = config
@distributed_trace_async
async def get_valid(self, **kwargs: Any) -> "_models.Basic":
"""Get complex type {id: 2, name: 'abc', color: 'YELLOW'}.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Basic, or the result of cls(response)
:rtype: ~bodycomplex.models.Basic
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop("cls", None) # type: ClsType["_models.Basic"]
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
request = build_get_valid_request(
template_url=self.get_valid.metadata["url"],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
raise HttpResponseError(response=response, model=error)
deserialized = self._deserialize("Basic", pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get_valid.metadata = {"url": "/complex/basic/valid"} # type: ignore
@distributed_trace_async
async def put_valid(self, complex_body: "_models.Basic", **kwargs: Any) -> None:
"""Please put {id: 2, name: 'abc', color: 'Magenta'}.
:param complex_body: Please put {id: 2, name: 'abc', color: 'Magenta'}.
:type complex_body: ~bodycomplex.models.Basic
:keyword callable cls: A custom type or function that will be passed the direct response
:return: None, or the result of cls(response)
:rtype: None
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop("cls", None) # type: ClsType[None]
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
api_version = kwargs.pop("api_version", "2016-02-29") # type: str
content_type = kwargs.pop("content_type", "application/json") # type: Optional[str]
_json = self._serialize.body(complex_body, "Basic")
request = build_put_valid_request(
api_version=api_version,
content_type=content_type,
json=_json,
template_url=self.put_valid.metadata["url"],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
raise HttpResponseError(response=response, model=error)
if cls:
return cls(pipeline_response, None, {})
put_valid.metadata = {"url": "/complex/basic/valid"} # type: ignore
@distributed_trace_async
async def get_invalid(self, **kwargs: Any) -> "_models.Basic":
"""Get a basic complex type that is invalid for the local strong type.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Basic, or the result of cls(response)
:rtype: ~bodycomplex.models.Basic
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop("cls", None) # type: ClsType["_models.Basic"]
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
request = build_get_invalid_request(
template_url=self.get_invalid.metadata["url"],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
raise HttpResponseError(response=response, model=error)
deserialized = self._deserialize("Basic", pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get_invalid.metadata = {"url": "/complex/basic/invalid"} # type: ignore
@distributed_trace_async
async def get_empty(self, **kwargs: Any) -> "_models.Basic":
"""Get a basic complex type that is empty.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Basic, or the result of cls(response)
:rtype: ~bodycomplex.models.Basic
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop("cls", None) # type: ClsType["_models.Basic"]
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
request = build_get_empty_request(
template_url=self.get_empty.metadata["url"],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
raise HttpResponseError(response=response, model=error)
deserialized = self._deserialize("Basic", pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get_empty.metadata = {"url": "/complex/basic/empty"} # type: ignore
@distributed_trace_async
async def get_null(self, **kwargs: Any) -> "_models.Basic":
"""Get a basic complex type whose properties are null.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Basic, or the result of cls(response)
:rtype: ~bodycomplex.models.Basic
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop("cls", None) # type: ClsType["_models.Basic"]
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
request = build_get_null_request(
template_url=self.get_null.metadata["url"],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
raise HttpResponseError(response=response, model=error)
deserialized = self._deserialize("Basic", pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get_null.metadata = {"url": "/complex/basic/null"} # type: ignore
@distributed_trace_async
async def get_not_provided(self, **kwargs: Any) -> "_models.Basic":
"""Get a basic complex type while the server doesn't provide a response payload.
:keyword callable cls: A custom type or function that will be passed the direct response
:return: Basic, or the result of cls(response)
:rtype: ~bodycomplex.models.Basic
:raises: ~azure.core.exceptions.HttpResponseError
"""
cls = kwargs.pop("cls", None) # type: ClsType["_models.Basic"]
error_map = {401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError}
error_map.update(kwargs.pop("error_map", {}))
request = build_get_not_provided_request(
template_url=self.get_not_provided.metadata["url"],
)
request = _convert_request(request)
request.url = self._client.format_url(request.url)
pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs)
response = pipeline_response.http_response
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=error_map)
error = self._deserialize.failsafe_deserialize(_models.Error, pipeline_response)
raise HttpResponseError(response=response, model=error)
deserialized = self._deserialize("Basic", pipeline_response)
if cls:
return cls(pipeline_response, deserialized, {})
return deserialized
get_not_provided.metadata = {"url": "/complex/basic/notprovided"} # type: ignore
| 42.553191
| 106
| 0.68
|
a340d7fc12e348d484509c5f32662e368ca8046c
| 32,162
|
py
|
Python
|
toontown/shtiker/OptionsPage.py
|
drewc5131/epic-toontown
|
a02862fc325d70820a51fb83458195062f092c96
|
[
"BSD-3-Clause"
] | null | null | null |
toontown/shtiker/OptionsPage.py
|
drewc5131/epic-toontown
|
a02862fc325d70820a51fb83458195062f092c96
|
[
"BSD-3-Clause"
] | null | null | null |
toontown/shtiker/OptionsPage.py
|
drewc5131/epic-toontown
|
a02862fc325d70820a51fb83458195062f092c96
|
[
"BSD-3-Clause"
] | null | null | null |
from pandac.PandaModules import *
from libotp import *
from . import ShtikerPage
from toontown.toontowngui import TTDialog
from direct.gui.DirectGui import *
from pandac.PandaModules import *
from toontown.toonbase import TTLocalizer
from . import DisplaySettingsDialog
from direct.task import Task
from otp.speedchat import SpeedChat
from otp.speedchat import SCColorScheme
from otp.speedchat import SCStaticTextTerminal
from direct.showbase import PythonUtil
from direct.directnotify import DirectNotifyGlobal
from toontown.toonbase import ToontownGlobals
speedChatStyles = ((2000,
(200 / 255.0, 60 / 255.0, 229 / 255.0),
(200 / 255.0, 135 / 255.0, 255 / 255.0),
(220 / 255.0, 195 / 255.0, 229 / 255.0)),
(2001,
(0 / 255.0, 0 / 255.0, 255 / 255.0),
(140 / 255.0, 150 / 255.0, 235 / 255.0),
(201 / 255.0, 215 / 255.0, 255 / 255.0)),
(2002,
(90 / 255.0, 175 / 255.0, 225 / 255.0),
(120 / 255.0, 215 / 255.0, 255 / 255.0),
(208 / 255.0, 230 / 255.0, 250 / 255.0)),
(2003,
(130 / 255.0, 235 / 255.0, 235 / 255.0),
(120 / 255.0, 225 / 255.0, 225 / 255.0),
(234 / 255.0, 255 / 255.0, 255 / 255.0)),
(2004,
(0 / 255.0, 200 / 255.0, 70 / 255.0),
(0 / 255.0, 200 / 255.0, 80 / 255.0),
(204 / 255.0, 255 / 255.0, 204 / 255.0)),
(2005,
(235 / 255.0, 230 / 255.0, 0 / 255.0),
(255 / 255.0, 250 / 255.0, 100 / 255.0),
(255 / 255.0, 250 / 255.0, 204 / 255.0)),
(2006,
(255 / 255.0, 153 / 255.0, 0 / 255.0),
(229 / 255.0, 147 / 255.0, 0 / 255.0),
(255 / 255.0, 234 / 255.0, 204 / 255.0)),
(2007,
(255 / 255.0, 0 / 255.0, 50 / 255.0),
(229 / 255.0, 0 / 255.0, 50 / 255.0),
(255 / 255.0, 204 / 255.0, 204 / 255.0)),
(2008,
(255 / 255.0, 153 / 255.0, 193 / 255.0),
(240 / 255.0, 157 / 255.0, 192 / 255.0),
(255 / 255.0, 215 / 255.0, 238 / 255.0)),
(2009,
(170 / 255.0, 120 / 255.0, 20 / 255.0),
(165 / 255.0, 120 / 255.0, 50 / 255.0),
(210 / 255.0, 200 / 255.0, 180 / 255.0)))
PageMode = PythonUtil.Enum('Options, Codes')
class OptionsPage(ShtikerPage.ShtikerPage):
notify = DirectNotifyGlobal.directNotify.newCategory('OptionsPage')
def __init__(self):
ShtikerPage.ShtikerPage.__init__(self)
def load(self):
ShtikerPage.ShtikerPage.load(self)
self.optionsTabPage = OptionsTabPage(self)
self.optionsTabPage.hide()
self.codesTabPage = CodesTabPage(self)
self.codesTabPage.hide()
titleHeight = 0.61
self.title = DirectLabel(parent=self, relief=None, text=TTLocalizer.OptionsPageTitle, text_scale=0.12, pos=(0, 0, titleHeight))
normalColor = (1, 1, 1, 1)
clickColor = (0.8, 0.8, 0, 1)
rolloverColor = (0.15, 0.82, 1.0, 1)
diabledColor = (1.0, 0.98, 0.15, 1)
gui = loader.loadModel('phase_3.5/models/gui/fishingBook')
self.optionsTab = DirectButton(parent=self, relief=None, text=TTLocalizer.OptionsPageTitle, text_scale=TTLocalizer.OPoptionsTab, text_align=TextNode.ALeft, text_pos=(0.01, 0.0, 0.0), image=gui.find('**/tabs/polySurface1'), image_pos=(0.55, 1, -0.91), image_hpr=(0, 0, -90), image_scale=(0.033, 0.033, 0.035), image_color=normalColor, image1_color=clickColor, image2_color=rolloverColor, image3_color=diabledColor, text_fg=Vec4(0.2, 0.1, 0, 1), command=self.setMode, extraArgs=[PageMode.Options], pos=(-0.36, 0, 0.77))
self.codesTab = DirectButton(parent=self, relief=None, text=TTLocalizer.OptionsPageCodesTab, text_scale=TTLocalizer.OPoptionsTab, text_align=TextNode.ALeft, text_pos=(-0.035, 0.0, 0.0), image=gui.find('**/tabs/polySurface2'), image_pos=(0.12, 1, -0.91), image_hpr=(0, 0, -90), image_scale=(0.033, 0.033, 0.035), image_color=normalColor, image1_color=clickColor, image2_color=rolloverColor, image3_color=diabledColor, text_fg=Vec4(0.2, 0.1, 0, 1), command=self.setMode, extraArgs=[PageMode.Codes], pos=(0.11, 0, 0.77))
return
def enter(self):
self.setMode(PageMode.Options, updateAnyways=1)
ShtikerPage.ShtikerPage.enter(self)
def exit(self):
self.optionsTabPage.exit()
self.codesTabPage.exit()
ShtikerPage.ShtikerPage.exit(self)
def unload(self):
self.optionsTabPage.unload()
del self.title
ShtikerPage.ShtikerPage.unload(self)
def setMode(self, mode, updateAnyways = 0):
messenger.send('wakeup')
if not updateAnyways:
if self.mode == mode:
return
else:
self.mode = mode
if mode == PageMode.Options:
self.mode = PageMode.Options
self.title['text'] = TTLocalizer.OptionsPageTitle
self.optionsTab['state'] = DGG.DISABLED
self.optionsTabPage.enter()
self.codesTab['state'] = DGG.NORMAL
self.codesTabPage.exit()
elif mode == PageMode.Codes:
self.mode = PageMode.Codes
self.title['text'] = TTLocalizer.CdrPageTitle
self.optionsTab['state'] = DGG.NORMAL
self.optionsTabPage.exit()
self.codesTab['state'] = DGG.DISABLED
self.codesTabPage.enter()
else:
raise Exception('OptionsPage::setMode - Invalid Mode %s' % mode)
class OptionsTabPage(DirectFrame):
notify = DirectNotifyGlobal.directNotify.newCategory('OptionsTabPage')
DisplaySettingsTaskName = 'save-display-settings'
DisplaySettingsDelay = 60
ChangeDisplaySettings = base.config.GetBool('change-display-settings', 1)
ChangeDisplayAPI = base.config.GetBool('change-display-api', 0)
DisplaySettingsApiMap = {'OpenGL': Settings.GL,
'DirectX7': Settings.DX7,
'DirectX8': Settings.DX8}
def __init__(self, parent = aspect2d):
self._parent = parent
self.currentSizeIndex = None
DirectFrame.__init__(self, parent=self._parent, relief=None, pos=(0.0, 0.0, 0.0), scale=(1.0, 1.0, 1.0))
self.load()
return
def destroy(self):
self._parent = None
DirectFrame.destroy(self)
return
def load(self):
self.displaySettings = None
self.displaySettingsChanged = 0
self.displaySettingsSize = (None, None)
self.displaySettingsFullscreen = None
self.displaySettingsEmbedded = None
self.displaySettingsApi = None
self.displaySettingsApiChanged = 0
guiButton = loader.loadModel('phase_3/models/gui/quit_button')
gui = loader.loadModel('phase_3.5/models/gui/friendslist_gui')
titleHeight = 0.61
textStartHeight = 0.45
textRowHeight = 0.145
leftMargin = -0.72
buttonbase_xcoord = 0.35
buttonbase_ycoord = 0.45
button_image_scale = (0.7, 1, 1)
button_textpos = (0, -0.02)
options_text_scale = 0.052
disabled_arrow_color = Vec4(0.6, 0.6, 0.6, 1.0)
self.speed_chat_scale = 0.055
self.Music_Label = DirectLabel(parent=self, relief=None, text='', text_align=TextNode.ALeft, text_scale=options_text_scale, pos=(leftMargin, 0, textStartHeight))
self.SoundFX_Label = DirectLabel(parent=self, relief=None, text='', text_align=TextNode.ALeft, text_scale=options_text_scale, text_wordwrap=16, pos=(leftMargin, 0, textStartHeight - textRowHeight))
self.Friends_Label = DirectLabel(parent=self, relief=None, text='', text_align=TextNode.ALeft, text_scale=options_text_scale, text_wordwrap=16, pos=(leftMargin, 0, textStartHeight - 3 * textRowHeight))
self.Whispers_Label = DirectLabel(parent=self, relief=None, text='', text_align=TextNode.ALeft, text_scale=options_text_scale, text_wordwrap=16, pos=(leftMargin, 0, textStartHeight - 4 * textRowHeight))
self.DisplaySettings_Label = DirectLabel(parent=self, relief=None, text='', text_align=TextNode.ALeft, text_scale=options_text_scale, text_wordwrap=10, pos=(leftMargin, 0, textStartHeight - 5 * textRowHeight))
self.SpeedChatStyle_Label = DirectLabel(parent=self, relief=None, text=TTLocalizer.OptionsPageSpeedChatStyleLabel, text_align=TextNode.ALeft, text_scale=options_text_scale, text_wordwrap=10, pos=(leftMargin, 0, textStartHeight - 6 * textRowHeight))
self.ToonChatSounds_Label = DirectLabel(parent=self, relief=None, text='', text_align=TextNode.ALeft, text_scale=options_text_scale, text_wordwrap=15, pos=(leftMargin, 0, textStartHeight - 2 * textRowHeight + 0.025))
self.ToonChatSounds_Label.setScale(0.9)
self.Music_toggleButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')), image_scale=button_image_scale, text='', text_scale=options_text_scale, text_pos=button_textpos, pos=(buttonbase_xcoord, 0.0, buttonbase_ycoord), command=self.__doToggleMusic)
self.SoundFX_toggleButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')), image_scale=button_image_scale, text='', text_scale=options_text_scale, text_pos=button_textpos, pos=(buttonbase_xcoord, 0.0, buttonbase_ycoord - textRowHeight), command=self.__doToggleSfx)
self.Friends_toggleButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')), image_scale=button_image_scale, text='', text_scale=options_text_scale, text_pos=button_textpos, pos=(buttonbase_xcoord, 0.0, buttonbase_ycoord - textRowHeight * 3), command=self.__doToggleAcceptFriends)
self.Whispers_toggleButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')), image_scale=button_image_scale, text='', text_scale=options_text_scale, text_pos=button_textpos, pos=(buttonbase_xcoord, 0.0, buttonbase_ycoord - textRowHeight * 4), command=self.__doToggleAcceptWhispers)
self.DisplaySettingsButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')), image3_color=Vec4(0.5, 0.5, 0.5, 0.5), image_scale=button_image_scale, text=TTLocalizer.OptionsPageChange, text3_fg=(0.5, 0.5, 0.5, 0.75), text_scale=options_text_scale, text_pos=button_textpos, pos=(buttonbase_xcoord, 0.0, buttonbase_ycoord - textRowHeight * 5), command=self.__doDisplaySettings)
self.speedChatStyleLeftArrow = DirectButton(parent=self, relief=None, image=(gui.find('**/Horiz_Arrow_UP'),
gui.find('**/Horiz_Arrow_DN'),
gui.find('**/Horiz_Arrow_Rllvr'),
gui.find('**/Horiz_Arrow_UP')), image3_color=Vec4(1, 1, 1, 0.5), scale=(-1.0, 1.0, 1.0), pos=(0.25, 0, buttonbase_ycoord - textRowHeight * 6), command=self.__doSpeedChatStyleLeft)
self.speedChatStyleRightArrow = DirectButton(parent=self, relief=None, image=(gui.find('**/Horiz_Arrow_UP'),
gui.find('**/Horiz_Arrow_DN'),
gui.find('**/Horiz_Arrow_Rllvr'),
gui.find('**/Horiz_Arrow_UP')), image3_color=Vec4(1, 1, 1, 0.5), pos=(0.65, 0, buttonbase_ycoord - textRowHeight * 6), command=self.__doSpeedChatStyleRight)
self.ToonChatSounds_toggleButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'),
guiButton.find('**/QuitBtn_DN'),
guiButton.find('**/QuitBtn_RLVR'),
guiButton.find('**/QuitBtn_UP')), image3_color=Vec4(0.5, 0.5, 0.5, 0.5), image_scale=button_image_scale, text='', text3_fg=(0.5, 0.5, 0.5, 0.75), text_scale=options_text_scale, text_pos=button_textpos, pos=(buttonbase_xcoord, 0.0, buttonbase_ycoord - textRowHeight * 2 + 0.025), command=self.__doToggleToonChatSounds)
self.ToonChatSounds_toggleButton.setScale(0.8)
self.speedChatStyleText = SpeedChat.SpeedChat(name='OptionsPageStyleText', structure=[2000], backgroundModelName='phase_3/models/gui/ChatPanel', guiModelName='phase_3.5/models/gui/speedChatGui')
self.speedChatStyleText.setScale(self.speed_chat_scale)
self.speedChatStyleText.setPos(0.37, 0, buttonbase_ycoord - textRowHeight * 6 + 0.03)
self.speedChatStyleText.reparentTo(self, DGG.FOREGROUND_SORT_INDEX)
self.exitButton = DirectButton(parent=self, relief=None, image=(guiButton.find('**/QuitBtn_UP'), guiButton.find('**/QuitBtn_DN'), guiButton.find('**/QuitBtn_RLVR')), image_scale=1.15, text=TTLocalizer.OptionsPageExitToontown, text_scale=options_text_scale, text_pos=button_textpos, textMayChange=0, pos=(0.45, 0, -0.6), command=self.__handleExitShowWithConfirm)
guiButton.removeNode()
gui.removeNode()
return
def enter(self):
self.show()
taskMgr.remove(self.DisplaySettingsTaskName)
self.settingsChanged = 0
self.__setMusicButton()
self.__setSoundFXButton()
self.__setAcceptFriendsButton()
self.__setAcceptWhispersButton()
self.__setDisplaySettings()
self.__setToonChatSoundsButton()
self.speedChatStyleText.enter()
self.speedChatStyleIndex = base.localAvatar.getSpeedChatStyleIndex()
self.updateSpeedChatStyle()
if self._parent.book.safeMode:
self.exitButton.hide()
else:
self.exitButton.show()
def exit(self):
self.ignore('confirmDone')
self.hide()
if self.settingsChanged != 0:
Settings.writeSettings()
self.speedChatStyleText.exit()
if self.displaySettingsChanged:
taskMgr.doMethodLater(self.DisplaySettingsDelay, self.writeDisplaySettings, self.DisplaySettingsTaskName)
def unload(self):
self.writeDisplaySettings()
taskMgr.remove(self.DisplaySettingsTaskName)
if self.displaySettings != None:
self.ignore(self.displaySettings.doneEvent)
self.displaySettings.unload()
self.displaySettings = None
self.exitButton.destroy()
self.Music_toggleButton.destroy()
self.SoundFX_toggleButton.destroy()
self.Friends_toggleButton.destroy()
self.Whispers_toggleButton.destroy()
self.DisplaySettingsButton.destroy()
self.speedChatStyleLeftArrow.destroy()
self.speedChatStyleRightArrow.destroy()
del self.exitButton
del self.SoundFX_Label
del self.Music_Label
del self.Friends_Label
del self.Whispers_Label
del self.SpeedChatStyle_Label
del self.SoundFX_toggleButton
del self.Music_toggleButton
del self.Friends_toggleButton
del self.Whispers_toggleButton
del self.speedChatStyleLeftArrow
del self.speedChatStyleRightArrow
self.speedChatStyleText.exit()
self.speedChatStyleText.destroy()
del self.speedChatStyleText
self.currentSizeIndex = None
return
def __doToggleMusic(self):
messenger.send('wakeup')
if base.musicActive:
base.enableMusic(0)
Settings.setMusic(0)
else:
base.enableMusic(1)
Settings.setMusic(1)
self.settingsChanged = 1
self.__setMusicButton()
def __setMusicButton(self):
if base.musicActive:
self.Music_Label['text'] = TTLocalizer.OptionsPageMusicOnLabel
self.Music_toggleButton['text'] = TTLocalizer.OptionsPageToggleOff
else:
self.Music_Label['text'] = TTLocalizer.OptionsPageMusicOffLabel
self.Music_toggleButton['text'] = TTLocalizer.OptionsPageToggleOn
def __doToggleSfx(self):
messenger.send('wakeup')
if base.sfxActive:
base.enableSoundEffects(0)
Settings.setSfx(0)
else:
base.enableSoundEffects(1)
Settings.setSfx(1)
self.settingsChanged = 1
self.__setSoundFXButton()
def __doToggleToonChatSounds(self):
messenger.send('wakeup')
if base.toonChatSounds:
base.toonChatSounds = 0
Settings.setToonChatSounds(0)
else:
base.toonChatSounds = 1
Settings.setToonChatSounds(1)
self.settingsChanged = 1
self.__setToonChatSoundsButton()
def __setSoundFXButton(self):
if base.sfxActive:
self.SoundFX_Label['text'] = TTLocalizer.OptionsPageSFXOnLabel
self.SoundFX_toggleButton['text'] = TTLocalizer.OptionsPageToggleOff
else:
self.SoundFX_Label['text'] = TTLocalizer.OptionsPageSFXOffLabel
self.SoundFX_toggleButton['text'] = TTLocalizer.OptionsPageToggleOn
self.__setToonChatSoundsButton()
def __setToonChatSoundsButton(self):
if base.toonChatSounds:
self.ToonChatSounds_Label['text'] = TTLocalizer.OptionsPageToonChatSoundsOnLabel
self.ToonChatSounds_toggleButton['text'] = TTLocalizer.OptionsPageToggleOff
else:
self.ToonChatSounds_Label['text'] = TTLocalizer.OptionsPageToonChatSoundsOffLabel
self.ToonChatSounds_toggleButton['text'] = TTLocalizer.OptionsPageToggleOn
if base.sfxActive:
self.ToonChatSounds_Label.setColorScale(1.0, 1.0, 1.0, 1.0)
self.ToonChatSounds_toggleButton['state'] = DGG.NORMAL
else:
self.ToonChatSounds_Label.setColorScale(0.5, 0.5, 0.5, 0.5)
self.ToonChatSounds_toggleButton['state'] = DGG.DISABLED
def __doToggleAcceptFriends(self):
messenger.send('wakeup')
if base.localAvatar.acceptingNewFriends:
base.localAvatar.acceptingNewFriends = 0
Settings.setAcceptingNewFriends(0)
else:
base.localAvatar.acceptingNewFriends = 1
Settings.setAcceptingNewFriends(1)
self.settingsChanged = 1
self.__setAcceptFriendsButton()
def __doToggleAcceptWhispers(self):
messenger.send('wakeup')
if base.localAvatar.acceptingNonFriendWhispers:
base.localAvatar.acceptingNonFriendWhispers = 0
Settings.setAcceptingNonFriendWhispers(0)
else:
base.localAvatar.acceptingNonFriendWhispers = 1
Settings.setAcceptingNonFriendWhispers(1)
self.settingsChanged = 1
self.__setAcceptWhispersButton()
def __setAcceptFriendsButton(self):
if base.localAvatar.acceptingNewFriends:
self.Friends_Label['text'] = TTLocalizer.OptionsPageFriendsEnabledLabel
self.Friends_toggleButton['text'] = TTLocalizer.OptionsPageToggleOff
else:
self.Friends_Label['text'] = TTLocalizer.OptionsPageFriendsDisabledLabel
self.Friends_toggleButton['text'] = TTLocalizer.OptionsPageToggleOn
def __setAcceptWhispersButton(self):
if base.localAvatar.acceptingNonFriendWhispers:
self.Whispers_Label['text'] = TTLocalizer.OptionsPageWhisperEnabledLabel
self.Whispers_toggleButton['text'] = TTLocalizer.OptionsPageToggleOff
else:
self.Whispers_Label['text'] = TTLocalizer.OptionsPageWhisperDisabledLabel
self.Whispers_toggleButton['text'] = TTLocalizer.OptionsPageToggleOn
def __doDisplaySettings(self):
if self.displaySettings == None:
self.displaySettings = DisplaySettingsDialog.DisplaySettingsDialog()
self.displaySettings.load()
self.accept(self.displaySettings.doneEvent, self.__doneDisplaySettings)
self.displaySettings.enter(self.ChangeDisplaySettings, self.ChangeDisplayAPI)
return
def __doneDisplaySettings(self, anyChanged, apiChanged):
if anyChanged:
self.__setDisplaySettings()
properties = base.win.getProperties()
self.displaySettingsChanged = 1
self.displaySettingsSize = (properties.getXSize(), properties.getYSize())
self.displaySettingsFullscreen = properties.getFullscreen()
self.displaySettingsEmbedded = self.isPropertiesEmbedded(properties)
self.displaySettingsApi = base.pipe.getInterfaceName()
self.displaySettingsApiChanged = apiChanged
def isPropertiesEmbedded(self, properties):
result = False
if properties.getParentWindow():
result = True
return result
def __setDisplaySettings(self):
properties = base.win.getProperties()
if properties.getFullscreen():
screensize = '%s x %s' % (properties.getXSize(), properties.getYSize())
else:
screensize = TTLocalizer.OptionsPageDisplayWindowed
isEmbedded = self.isPropertiesEmbedded(properties)
if isEmbedded:
screensize = TTLocalizer.OptionsPageDisplayEmbedded
api = base.pipe.getInterfaceName()
settings = {'screensize': screensize,
'api': api}
if self.ChangeDisplayAPI:
OptionsPage.notify.debug('change display settings...')
text = TTLocalizer.OptionsPageDisplaySettings % settings
else:
OptionsPage.notify.debug('no change display settings...')
text = TTLocalizer.OptionsPageDisplaySettingsNoApi % settings
self.DisplaySettings_Label['text'] = text
def __doSpeedChatStyleLeft(self):
if self.speedChatStyleIndex > 0:
self.speedChatStyleIndex = self.speedChatStyleIndex - 1
self.updateSpeedChatStyle()
def __doSpeedChatStyleRight(self):
if self.speedChatStyleIndex < len(speedChatStyles) - 1:
self.speedChatStyleIndex = self.speedChatStyleIndex + 1
self.updateSpeedChatStyle()
def updateSpeedChatStyle(self):
nameKey, arrowColor, rolloverColor, frameColor = speedChatStyles[self.speedChatStyleIndex]
newSCColorScheme = SCColorScheme.SCColorScheme(arrowColor=arrowColor, rolloverColor=rolloverColor, frameColor=frameColor)
self.speedChatStyleText.setColorScheme(newSCColorScheme)
self.speedChatStyleText.clearMenu()
colorName = SCStaticTextTerminal.SCStaticTextTerminal(nameKey)
self.speedChatStyleText.append(colorName)
self.speedChatStyleText.finalize()
self.speedChatStyleText.setPos(0.445 - self.speedChatStyleText.getWidth() * self.speed_chat_scale / 2, 0, self.speedChatStyleText.getPos()[2])
if self.speedChatStyleIndex > 0:
self.speedChatStyleLeftArrow['state'] = DGG.NORMAL
else:
self.speedChatStyleLeftArrow['state'] = DGG.DISABLED
if self.speedChatStyleIndex < len(speedChatStyles) - 1:
self.speedChatStyleRightArrow['state'] = DGG.NORMAL
else:
self.speedChatStyleRightArrow['state'] = DGG.DISABLED
base.localAvatar.b_setSpeedChatStyleIndex(self.speedChatStyleIndex)
def writeDisplaySettings(self, task = None):
if not self.displaySettingsChanged:
return
taskMgr.remove(self.DisplaySettingsTaskName)
self.notify.info('writing new display settings %s, fullscreen %s, embedded %s, %s to SettingsFile.' % (self.displaySettingsSize,
self.displaySettingsFullscreen,
self.displaySettingsEmbedded,
self.displaySettingsApi))
Settings.setResolutionDimensions(self.displaySettingsSize[0], self.displaySettingsSize[1])
Settings.setWindowedMode(not self.displaySettingsFullscreen)
Settings.setEmbeddedMode(self.displaySettingsEmbedded)
if self.displaySettingsApiChanged:
api = self.DisplaySettingsApiMap.get(self.displaySettingsApi)
if api == None:
self.notify.warning('Cannot save unknown display API: %s' % self.displaySettingsApi)
else:
Settings.setDisplayDriver(api)
Settings.writeSettings()
self.displaySettingsChanged = 0
return Task.done
def __handleExitShowWithConfirm(self):
self.confirm = TTDialog.TTGlobalDialog(doneEvent='confirmDone', message=TTLocalizer.OptionsPageExitConfirm, style=TTDialog.TwoChoice)
self.confirm.show()
self._parent.doneStatus = {'mode': 'exit',
'exitTo': 'closeShard'}
self.accept('confirmDone', self.__handleConfirm)
def __handleConfirm(self):
status = self.confirm.doneStatus
self.ignore('confirmDone')
self.confirm.cleanup()
del self.confirm
if status == 'ok':
base.cr._userLoggingOut = True
messenger.send(self._parent.doneEvent)
class CodesTabPage(DirectFrame):
notify = DirectNotifyGlobal.directNotify.newCategory('CodesTabPage')
def __init__(self, parent = aspect2d):
self._parent = parent
DirectFrame.__init__(self, parent=self._parent, relief=None, pos=(0.0, 0.0, 0.0), scale=(1.0, 1.0, 1.0))
self.load()
return
def destroy(self):
self._parent = None
DirectFrame.destroy(self)
return
def load(self):
cdrGui = loader.loadModel('phase_3.5/models/gui/tt_m_gui_sbk_codeRedemptionGui')
instructionGui = cdrGui.find('**/tt_t_gui_sbk_cdrPresent')
flippyGui = cdrGui.find('**/tt_t_gui_sbk_cdrFlippy')
codeBoxGui = cdrGui.find('**/tt_t_gui_sbk_cdrCodeBox')
self.resultPanelSuccessGui = cdrGui.find('**/tt_t_gui_sbk_cdrResultPanel_success')
self.resultPanelFailureGui = cdrGui.find('**/tt_t_gui_sbk_cdrResultPanel_failure')
self.resultPanelErrorGui = cdrGui.find('**/tt_t_gui_sbk_cdrResultPanel_error')
self.successSfx = base.loader.loadSfx('phase_3.5/audio/sfx/tt_s_gui_sbk_cdrSuccess.ogg')
self.failureSfx = base.loader.loadSfx('phase_3.5/audio/sfx/tt_s_gui_sbk_cdrFailure.ogg')
self.instructionPanel = DirectFrame(parent=self, relief=None, image=instructionGui, image_scale=0.8, text=TTLocalizer.CdrInstructions, text_pos=TTLocalizer.OPCodesInstructionPanelTextPos, text_align=TextNode.ACenter, text_scale=TTLocalizer.OPCodesResultPanelTextScale, text_wordwrap=TTLocalizer.OPCodesInstructionPanelTextWordWrap, pos=(-0.429, 0, -0.05))
self.codeBox = DirectFrame(parent=self, relief=None, image=codeBoxGui, pos=(0.433, 0, 0.35))
self.flippyFrame = DirectFrame(parent=self, relief=None, image=flippyGui, pos=(0.44, 0, -0.353))
self.codeInput = DirectEntry(parent=self.codeBox, relief=DGG.GROOVE, scale=0.08, pos=(-0.33, 0, -0.006), borderWidth=(0.05, 0.05), frameColor=((1, 1, 1, 1), (1, 1, 1, 1), (0.5, 0.5, 0.5, 0.5)), state=DGG.NORMAL, text_align=TextNode.ALeft, text_scale=TTLocalizer.OPCodesInputTextScale, width=10.5, numLines=1, focus=1, backgroundFocus=0, cursorKeys=1, text_fg=(0, 0, 0, 1), suppressMouse=1, autoCapitalize=0, command=self.__submitCode)
submitButtonGui = loader.loadModel('phase_3/models/gui/quit_button')
self.submitButton = DirectButton(parent=self, relief=None, image=(submitButtonGui.find('**/QuitBtn_UP'),
submitButtonGui.find('**/QuitBtn_DN'),
submitButtonGui.find('**/QuitBtn_RLVR'),
submitButtonGui.find('**/QuitBtn_UP')), image3_color=Vec4(0.5, 0.5, 0.5, 0.5), image_scale=1.15, state=DGG.NORMAL, text=TTLocalizer.NameShopSubmitButton, text_scale=TTLocalizer.OPCodesSubmitTextScale, text_align=TextNode.ACenter, text_pos=TTLocalizer.OPCodesSubmitTextPos, text3_fg=(0.5, 0.5, 0.5, 0.75), textMayChange=0, pos=(0.45, 0.0, 0.0896), command=self.__submitCode)
self.resultPanel = DirectFrame(parent=self, relief=None, image=self.resultPanelSuccessGui, text='', text_pos=TTLocalizer.OPCodesResultPanelTextPos, text_align=TextNode.ACenter, text_scale=TTLocalizer.OPCodesResultPanelTextScale, text_wordwrap=TTLocalizer.OPCodesResultPanelTextWordWrap, pos=(-0.42, 0, -0.0567))
self.resultPanel.hide()
closeButtonGui = loader.loadModel('phase_3/models/gui/dialog_box_buttons_gui')
self.closeButton = DirectButton(parent=self.resultPanel, pos=(0.296, 0, -0.466), relief=None, state=DGG.NORMAL, image=(closeButtonGui.find('**/CloseBtn_UP'), closeButtonGui.find('**/CloseBtn_DN'), closeButtonGui.find('**/CloseBtn_Rllvr')), image_scale=(1, 1, 1), command=self.__hideResultPanel)
closeButtonGui.removeNode()
cdrGui.removeNode()
submitButtonGui.removeNode()
return
def enter(self):
self.show()
localAvatar.chatMgr.fsm.request('otherDialog')
self.codeInput['focus'] = 1
self.codeInput.enterText('')
self.__enableCodeEntry()
def exit(self):
self.resultPanel.hide()
self.hide()
localAvatar.chatMgr.fsm.request('mainMenu')
def unload(self):
self.instructionPanel.destroy()
self.instructionPanel = None
self.codeBox.destroy()
self.codeBox = None
self.flippyFrame.destroy()
self.flippyFrame = None
self.codeInput.destroy()
self.codeInput = None
self.submitButton.destroy()
self.submitButton = None
self.resultPanel.destroy()
self.resultPanel = None
self.closeButton.destroy()
self.closeButton = None
del self.successSfx
del self.failureSfx
return
def __submitCode(self, input = None):
if input == None:
input = self.codeInput.get()
self.codeInput['focus'] = 1
if input == '':
return
messenger.send('wakeup')
if hasattr(base, 'codeRedemptionMgr'):
base.codeRedemptionMgr.redeemCode(input, self.__getCodeResult)
self.codeInput.enterText('')
self.__disableCodeEntry()
return
def __getCodeResult(self, result, awardMgrResult):
self.notify.debug('result = %s' % result)
self.notify.debug('awardMgrResult = %s' % awardMgrResult)
self.__enableCodeEntry()
if result == 0:
self.resultPanel['image'] = self.resultPanelSuccessGui
self.resultPanel['text'] = TTLocalizer.CdrResultSuccess
elif result == 1 or result == 3:
self.resultPanel['image'] = self.resultPanelFailureGui
self.resultPanel['text'] = TTLocalizer.CdrResultInvalidCode
elif result == 2:
self.resultPanel['image'] = self.resultPanelFailureGui
self.resultPanel['text'] = TTLocalizer.CdrResultExpiredCode
elif result == 4:
self.resultPanel['image'] = self.resultPanelErrorGui
if awardMgrResult == 0:
self.resultPanel['text'] = TTLocalizer.CdrResultSuccess
elif awardMgrResult == 1 or awardMgrResult == 2 or awardMgrResult == 15 or awardMgrResult == 16:
self.resultPanel['text'] = TTLocalizer.CdrResultUnknownError
elif awardMgrResult == 3 or awardMgrResult == 4:
self.resultPanel['text'] = TTLocalizer.CdrResultMailboxFull
elif awardMgrResult == 5 or awardMgrResult == 10:
self.resultPanel['text'] = TTLocalizer.CdrResultAlreadyInMailbox
elif awardMgrResult == 6 or awardMgrResult == 7 or awardMgrResult == 11:
self.resultPanel['text'] = TTLocalizer.CdrResultAlreadyInQueue
elif awardMgrResult == 8:
self.resultPanel['text'] = TTLocalizer.CdrResultAlreadyInCloset
elif awardMgrResult == 9:
self.resultPanel['text'] = TTLocalizer.CdrResultAlreadyBeingWorn
elif awardMgrResult == 12 or awardMgrResult == 13 or awardMgrResult == 14:
self.resultPanel['text'] = TTLocalizer.CdrResultAlreadyReceived
elif result == 5:
self.resultPanel['text'] = TTLocalizer.CdrResultTooManyFails
self.__disableCodeEntry()
elif result == 6:
self.resultPanel['text'] = TTLocalizer.CdrResultServiceUnavailable
self.__disableCodeEntry()
if result == 0:
self.successSfx.play()
else:
self.failureSfx.play()
self.resultPanel.show()
def __hideResultPanel(self):
self.resultPanel.hide()
def __disableCodeEntry(self):
self.codeInput['state'] = DGG.DISABLED
self.submitButton['state'] = DGG.DISABLED
def __enableCodeEntry(self):
self.codeInput['state'] = DGG.NORMAL
self.codeInput['focus'] = 1
self.submitButton['state'] = DGG.NORMAL
| 52.552288
| 525
| 0.678503
|
89163c64fe3b118214c02476ffc34bf5b6a4b8ae
| 1,311
|
py
|
Python
|
Utils/ConsoleColors.py
|
chae03yb/DaeGal
|
7451bf372ec3a5a174fd7aede952f81127fa64a2
|
[
"MIT"
] | null | null | null |
Utils/ConsoleColors.py
|
chae03yb/DaeGal
|
7451bf372ec3a5a174fd7aede952f81127fa64a2
|
[
"MIT"
] | null | null | null |
Utils/ConsoleColors.py
|
chae03yb/DaeGal
|
7451bf372ec3a5a174fd7aede952f81127fa64a2
|
[
"MIT"
] | null | null | null |
# For Linux
class EFCT():
CLEAR = "\033[0m"
BOLD = "\033[1m"
ITALIC = "\033[3m"
UNDERLINE = "\033[4m"
STRIKEOUT = "\033[9m"
class TEXT():
BLACK = "\033[30m"
RED = "\033[31m"
GREEN = "\033[32m"
YELLOW = "\033[33"
BLUE = "\033[34m"
PURPLE = "\033[35m"
CYAN = "\033[36m"
WHITE = "\033[37m"
Bright = "\033[90m"
BrightRed = "\033[91m"
BrightGreen = "\033[92m"
BrightYellow = "\033[93m"
BrightBlue = "\033[94m"
BrightPurple = "\033[95m"
BrightCyan = "\033[96m"
BrightWhite = "\033[97m"
class BG():
BLACK = "\033[40m"
RED = "\033[41m"
GREEN = "\033[42m"
YELLOW = "\033[43m"
BLUE = "\033[44m"
PURPLE = "\033[45m"
CYAN = "\033[46m"
WHITE = "\033[47m"
BrightBlack = "\033[100m"
BrightRed = "\033[101m"
BrightGreen = "\033[102m"
BrightYellow = "\033[103m"
BrightBlue = "\033[104m"
BrightPurple = "\033[105m"
BrightCyan = "\033[107m"
BrightWhite = "\033[108m"
def TEXT_8Bit(Num:int):
return f"\033[38;5;{Num}m"
def BG_8Bit(Num:int):
return f"\033[48;5;{Num}m"
def TEXT_RGB(R:int, G:int, B:int):
return f"\033[38;2;{R};{G};{B}m"
def BG_RGB(R:int, G:int, B:int):
return f"\033[48;2;{R};{G};{B}m"
| 22.603448
| 36
| 0.517925
|
8e2665c5150a5aabe2cf4db3e1cd2d742dd86629
| 13,967
|
py
|
Python
|
pyts/plot/axform.py
|
JensGM/pyTurbSim
|
89357e94607e99e5a27e069975684fe8e6a89a9d
|
[
"Apache-2.0"
] | 8
|
2017-07-24T23:01:28.000Z
|
2021-12-06T04:31:23.000Z
|
pyts/plot/axform.py
|
camilledub/pyTurbSim
|
69db0d7670afe5b2b386087aa0229a7511ef070d
|
[
"Apache-2.0"
] | 9
|
2015-04-06T16:01:06.000Z
|
2020-06-16T16:51:49.000Z
|
pyts/plot/axform.py
|
camilledub/pyTurbSim
|
69db0d7670afe5b2b386087aa0229a7511ef070d
|
[
"Apache-2.0"
] | 17
|
2015-04-22T15:27:28.000Z
|
2021-11-20T08:10:16.000Z
|
from ..main import tsdata, tsrun # used to identify object types
import superaxes as supax
import psd
from base import indx, mpl
import numpy as np
class axesForm(object):
"""A base 'axesForm' class for for quickly plotting TurbSim data.
Parameters
----------
xlim : iterable(2) (default: [None, None])
Specify the xlims of the axes of these plots. The default
will simply select the limits automatically.
ylim : iterable(2) (default: [None, None])
Specify the ylims of the axes of these plots. The default
will simply select the limits automatically.
xscale : ('log' or 'linear')
specify whether the x-scale should be logarithmic or linear.
yscale : ('log' or 'linear')
specify whether the y-scale should be logarithmic or linear.
"""
method_map = {tsdata: '_calc_tsdata', tsrun: '_calc_tsrun'}
hide_ylabels = False
_lin_x_scale = 0
def __init__(self,
xlim=[None, None], ylim=[None, None],
xscale='linear', yscale='linear',):
self.xlim = xlim
self.ylim = ylim
self.xscale = xscale
self.yscale = yscale
def finalize(self, axes):
"""
This function 'finishes' the `axes` according to the
specifications in this axesForm.
Parameters
----------
axes : A :class:`superaxes.axgroup` instance.
"""
axes.hide('xticklabels', ax=axes[-1])
if self.hide_ylabels:
axes.hide('yticklabels')
if not self.hide_ylabels and hasattr(self, '_ylabel'):
for ax in axes:
ax.set_ylabel(self._ylabel)
if hasattr(self, '_xlabel'):
axes[-1].set_xlabel(self._xlabel)
if hasattr(self, '_title'):
axes[0].set_title(self._title)
if hasattr(self, '_grid_x'):
for ax in axes:
for val in self._grid_x:
ax.axvline(val, linestyle=':', color='k', zorder=-10)
if hasattr(self, '_labels'):
for ax in axes:
ax.annoteCorner(self._labels[ax.comp], pos='ul')
if hasattr(self, 'xtick_n'):
for ax in axes:
ax.xaxis.set_major_locator(
mpl.ticker.MaxNLocator(self.xtick_n))
for ax in axes:
ax.set_xlim(self.xlim)
for ax in axes:
ax.set_ylim(self.ylim)
def _calc(self, obj, comp):
"""
Call the appropriate 'calc' method depending on the object
class.
Parameters
----------
obj : object
An object containing data/information to be plotted.
comp : int,str
The component (u,v,w or 0,1,2) to compute.
Returns
-------
x : array_like
The x data to plot.
y : array_like
The y data to plot.
Notes
-----
This method is a parser for the individual '_calc_<obj>'
methods. It utilizes the :attr:`method_map` to determine which
method should be called for each `obj` object type.
"""
if comp.__class__ is str:
comp = indx[comp]
for cls, meth in self.method_map.iteritems():
if isinstance(obj, cls):
if not hasattr(self, meth):
return np.NaN, np.NaN
return getattr(self, meth)(obj, comp)
raise Exception('Object type %s not recognized for %s axes-type' %
(obj.__class__, self.__class__))
def plot(self, obj, axes, **kwargs):
"""
Plot the data in `obj` to `axes`.
Parameters
----------
obj : object
An object containing data to be plotted.
axes : :class:`superaxes.axgroup` instance
The axes into which that data should be plotted.
"""
for ax in axes:
x, y = self._calc(obj, ax.comp)
# print x, y, self._lin_x_scale
ax.plot(x / (10 ** self._lin_x_scale), y, **kwargs)
ax.set_xscale(self.xscale)
ax.set_yscale(self.yscale)
@property
def _xlabel(self,):
if self._lin_x_scale == 0:
return '$\mathrm{[m^2s^{-2}]}$'
else:
return '$\mathrm{[10^{%d}m^2s^{-2}]}$' % self._lin_x_scale
class prof(axesForm):
"A base axesForm for plotting vertical profiles."
yax = 'z'
_ylabel = '$z\,\mathrm{[m]}$'
hrel = 0.6
xtick_n = 3
class velprof(prof):
"""A 'mean velocity profile' axesForm format.
See also
--------
:class:`prof`
:class:`axesForm`
"""
xax = 'vel'
_title = 'Mean Velocity'
_xlabel = '$\mathrm{[m/s]}$'
def _calc_tsdata(self, tsdat, comp, igrid=None):
"""
The function that calculates x,y values for plotting
:class:`.tsdata` objects.
"""
return tsdat.uprof[comp, :, tsdat.ihub[1]], tsdat.z
def _calc_tsrun(self, tsr, comp, igrid=None):
"""
The function that calculates x,y values for plotting
:class:`.tsrun` objects.
"""
return tsr.prof[comp, :, tsr.grid.ihub[1]], tsr.grid.z
class tkeprof(prof):
"""A 'tke profile' axesForm.
See also
--------
:class:`prof`
:class:`axesForm`
"""
xax = 'tke'
_title = 'tke'
#_lin_x_scale = -2 # Units are 10^-2
def _calc_tsdata(self, tsdat, comp, igrid=None):
return tsdat.tke[comp, :, tsdat.ihub[1]], tsdat.z
def _calc_tsrun(self, tsr, comp, igrid=None):
return tsr.spec.tke[comp, :, tsr.grid.ihub[1]], tsr.grid.z
class Tiprof(prof):
"""A Turbulence intensity axesForm
See also
--------
:class:`prof`
:class:`axesForm`
"""
xax = 'Ti'
_title = 'Ti'
_lin_x_scale = 0
_ylabel = '%'
def _calc_tsdata(self, tsdat, comp, igrid=None):
tmp = (100 * np.std(tsdat.uturb[comp, :, tsdat.ihub[1]], axis=-1)
/ tsdat.uprof[0, :, tsdat.ihub[1]])
return tmp, tsdat.z
def _calc_tsrun(self, tsr, comp, igrid=None):
return (100 * np.sqrt(tsr.spec.tke[comp, :, tsr.grid.ihub[1]])
/ tsr.prof.u[:, tsr.grid.ihub[1]],
tsr.grid.z)
class stressprof(tkeprof):
"""A 'Reynold's stress profile' axesForm.
See also
--------
:class:`prof`
:class:`axesForm`
"""
xax = 'tke'
_title = 'stress'
_lin_x_scale = -2 # Units are 10^-2
_grid_x = [0]
_labels = {'u': r"$\overline{u'v'}$",
'v': r"$\overline{u'w'}$",
'w': r"$\overline{v'w'}$"}
def _calc_tsdata(self, tsdat, comp, igrid=None):
igrid = igrid or tsdat.ihub[1]
return tsdat.stress[comp, :, igrid], tsdat.z
def _calc_tsrun(self, tsr, comp, igrid=None):
igrid = igrid or tsr.grid.ihub[1]
return tsr.stress.array[comp, :, igrid], tsr.grid.z
class spec(axesForm):
"""A 'spectral' axesForm.
Parameters
----------
window_time_sec : float
the length of the fft window (seconds).
igrid : tuple,list (2), *optional* (default: i_hub)
The spatial-index of the grid-point that should be
plotted.
Notes
-----
This axesForm defaults to have 'log' x- and y-scales.
See also
--------
:class:`axesForm`
"""
hrel = 1
_title = 'spectrum'
yax = 'spec'
xax = 'freq'
_xlabel = '$f\,\mathrm{[Hz]}$'
_ylabel = '$\mathrm{[m^2s^{-2}/Hz]}$'
def __init__(self, window_time_sec=600, igrid=None,
xscale='log', yscale='log',
**kwargs):
axesForm.__init__(self, xscale=xscale, yscale=yscale, **kwargs)
self.window_time = window_time_sec
self.igrid = igrid
def _calc_tsdata(self, tsdat, comp, igrid=None):
nfft = int(self.window_time / tsdat.dt)
nfft += np.mod(nfft, 2)
igrid = igrid or self.igrid or tsdat.ihub
tmp = psd.psd(tsdat.uturb[comp][igrid],
1. / tsdat.dt,
nfft)
# print tmp
return tmp
def _calc_tsrun(self, tsr, comp, igrid=None):
igrid = igrid or self.igrid or tsr.grid.ihub
return tsr.grid.f, tsr.spec[comp][igrid]
class cohere(axesForm):
"""
A 'coherence' plotting format for showing coherence between two
points.
Parameters
----------
window_time_sec : float
the length of the fft window (seconds).
igrid0 : tuple,list (2), *optional* (default: i_hub)
The first spatial-index from which to estimate+plot
coherence.
igrid1 : tuple,list (2), *optional* (default: (0,0))
The second spatial-index from which to estimate+plot
coherence.
Notes
-----
This axesForm defaults to have a 'log' x-scale, and to have a
linear y-axis with ylim=[0, 1].
See also
--------
:class:`axesForm`
"""
hrel = 1
_title = 'coherence'
xax = 'freq'
yax = 'coh'
_xlabel = '$f\,\mathrm{[Hz]}$'
def __init__(self, window_time_sec=600, igrid0=None, igrid1=None,
xscale='log', ylim=[0, 1],
**kwargs):
axesForm.__init__(self, xscale=xscale, ylim=ylim, **kwargs)
self.window_time = 600
self.igrid0 = igrid0
self.igrid1 = igrid1
def _calc_tsdata(self, tsdat, comp, igrid0=None, igrid1=None):
nfft = int(self.window_time / tsdat.dt)
nfft += np.mod(nfft, 2)
igrid0 = igrid0 or self.igrid0 or tsdat.ihub
igrid1 = igrid1 or self.igrid1 or (0, 0)
return psd.coh(tsdat.uturb[comp][igrid0],
tsdat.uturb[comp][igrid1],
1. / tsdat.dt, nfft)
def _calc_tsrun(self, tsr, comp, igrid0=None, igrid1=None):
igrid0 = tsr.grid.sub2ind(igrid0 or self.igrid0 or tsr.grid.ihub)
igrid1 = tsr.grid.sub2ind(igrid1 or self.igrid1 or (0, 0))
return tsr.grid.f, tsr.cohere.calcCoh(tsr.grid.f,
comp, igrid0, igrid1) ** 2
class FigAxForm(supax.sfig):
"""The 'figure' class that uses and handles :class:`axesForm`.
Parameters
----------
fignum : integer,string
The figure number, or string, into which the data will be
plotted.
axforms : list of axForms (e.g. :class:`velprof`, :class:`tkeprof`)
These are the axes formats that will be plotted.
comp : list of velocity components (0,1,2 or 'u','v','w')
axsize : float, tuple, list (2)
The size of the axes. If 2 parameters are specified this
sets they set the horizontal and vertical size of the
axes.
frame : tuple(4) ,list(4)
This specifies the border around the axes (left, right,
bottom, top)
gap : tuple(2), list(2)
This specifies the gap between axes in the horizontal and
vertical directions.
tightgap : float
This specifies the horizontal spacing between axes that
have the same type of y-axis (specified in the formats
'yax' attribute).
Other inputs are passed directly to :meth:`superaxes.sfig.__init__`.
Notes
-----
This will create an NxM axes-grid, where N=len(comp), and
M=len(axforms).
The width of each axes is scaled by the 'hrel' attribute of each
axform.
"""
def __init__(self,
fignum,
axforms=[],
comp=['u', 'v', 'w'],
axsize=2,
frame=[.6, .3, 1, .3],
gap=[.2, 1],
tightgap=.2,
**kwargs):
if len(axforms) == 0:
raise Exception('At least one axes-type \
instance must be provided.')
sharex = np.tile(np.arange(len(axforms), dtype=np.uint8) + 1,
(len(comp), 1))
sharey = np.tile(np.arange(len(axforms), dtype=np.uint8) + 1,
(len(comp), 1))
hspacer = supax.simpleAxSpacer(len(axforms), axsize, gap[1], frame[2:])
vspacer = supax.simpleAxSpacer(len(comp), axsize, gap[0], frame[:2],
vertical=True)
last_yax = None
for idx, axt in enumerate(axforms):
if axt.yax == last_yax:
sharey[:, idx] = sharey[:, idx - 1]
hspacer.gap[idx] = tightgap
axt.hide_ylabels = True
last_yax = axt.yax
if hasattr(axt, 'hrel'):
hspacer.axsize[idx] *= axt.hrel
axp = supax.axPlacer(vspacer, hspacer)
supax.sfig.__init__(self, fignum, axp,
sharex=sharex, sharey=sharey, **kwargs)
self.comp = comp
for idx, axt in enumerate(axforms):
for c, ax in zip(comp, self.sax[:, idx]):
ax.comp = c
self.axforms = axforms
def plot(self, obj, **kwargs):
"""
Plot the data in `obj` to the figure according to the plotting formats.
Parameters
----------
obj : tsdata, tsrun, turbdata
A data or turbsim object to plot.
"""
for idx, axt in enumerate(self.axforms):
axt.plot(obj, self.sax[:, idx], **kwargs)
def finalize(self,):
"""
Finalize the figure according to the plotting formats.
"""
for idx, axt in enumerate(self.axforms):
axt.finalize(self.sax[:, idx])
for c, ax in zip(self.comp, self.ax[:, 0]):
p = ax.get_position().ymax
self.fig.text(0.02, p, '$' + c + '$', va='top', ha='left',
size='x-large', backgroundcolor='w')
def summfig(fignum=400, axforms=[velprof(), spec(600)], **kwargs):
return FigAxForm(fignum, axforms=axforms, **kwargs)
| 31.316143
| 79
| 0.54235
|
7dbc7f9dce4983df8de7270a59ab2927b4522d6a
| 368
|
py
|
Python
|
users/models.py
|
Joabsonlg/ddm-rest-api
|
27d72f5e7dcb061f56b7fd504c76bc7746ecabe2
|
[
"MIT"
] | null | null | null |
users/models.py
|
Joabsonlg/ddm-rest-api
|
27d72f5e7dcb061f56b7fd504c76bc7746ecabe2
|
[
"MIT"
] | null | null | null |
users/models.py
|
Joabsonlg/ddm-rest-api
|
27d72f5e7dcb061f56b7fd504c76bc7746ecabe2
|
[
"MIT"
] | null | null | null |
from django.contrib.auth.models import AbstractUser
from django.db import models
class User(AbstractUser):
email = models.EmailField(max_length=255, unique=True)
name = models.CharField(max_length=255)
is_active = models.BooleanField(default=True)
def save(self, *args, **kwargs):
self.is_active = True
super().save(*args, **kwargs)
| 28.307692
| 58
| 0.709239
|
4d3069aed98aff2ee71023c842ea1611c3c750cd
| 5,466
|
py
|
Python
|
apps/beat.py
|
TinlokLee/Django-Celery
|
320b36ee2091aa876ecf92003af6b8e11b3041ed
|
[
"Apache-2.0"
] | null | null | null |
apps/beat.py
|
TinlokLee/Django-Celery
|
320b36ee2091aa876ecf92003af6b8e11b3041ed
|
[
"Apache-2.0"
] | null | null | null |
apps/beat.py
|
TinlokLee/Django-Celery
|
320b36ee2091aa876ecf92003af6b8e11b3041ed
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
"""Beat command-line program.
This module is the 'program-version' of :mod:`celery.beat`.
It does everything necessary to run that module
as an actual application, like installing signal handlers
and so on.
"""
from __future__ import absolute_import, print_function, unicode_literals
import numbers
import socket
import sys
from datetime import datetime
from celery import VERSION_BANNER, beat, platforms
from celery.five import text_t
from celery.utils.imports import qualname
from celery.utils.log import LOG_LEVELS, get_logger
from celery.utils.time import humanize_seconds
__all__ = ('Beat',)
STARTUP_INFO_FMT = """
LocalTime -> {timestamp}
Configuration ->
. broker -> {conninfo}
. loader -> {loader}
. scheduler -> {scheduler}
{scheduler_info}
. logfile -> {logfile}@%{loglevel}
. maxinterval -> {hmax_interval} ({max_interval}s)
""".strip()
logger = get_logger('celery.beat')
class Beat(object):
"""Beat as a service."""
Service = beat.Service
app = None
def __init__(self, max_interval=None, app=None,
socket_timeout=30, pidfile=None, no_color=None,
loglevel='WARN', logfile=None, schedule=None,
scheduler=None,
scheduler_cls=None, # XXX use scheduler
redirect_stdouts=None,
redirect_stdouts_level=None, **kwargs):
self.app = app = app or self.app
either = self.app.either
self.loglevel = loglevel
self.logfile = logfile
self.schedule = either('beat_schedule_filename', schedule)
self.scheduler_cls = either(
'beat_scheduler', scheduler, scheduler_cls)
self.redirect_stdouts = either(
'worker_redirect_stdouts', redirect_stdouts)
self.redirect_stdouts_level = either(
'worker_redirect_stdouts_level', redirect_stdouts_level)
self.max_interval = max_interval
self.socket_timeout = socket_timeout
self.no_color = no_color
self.colored = app.log.colored(
self.logfile,
enabled=not no_color if no_color is not None else no_color,
)
self.pidfile = pidfile
if not isinstance(self.loglevel, numbers.Integral):
self.loglevel = LOG_LEVELS[self.loglevel.upper()]
def run(self):
print(str(self.colored.cyan(
'celery beat v{0} is starting.'.format(VERSION_BANNER))))
self.init_loader()
self.set_process_title()
self.start_scheduler()
def setup_logging(self, colorize=None):
if colorize is None and self.no_color is not None:
colorize = not self.no_color
self.app.log.setup(self.loglevel, self.logfile,
self.redirect_stdouts, self.redirect_stdouts_level,
colorize=colorize)
def start_scheduler(self):
if self.pidfile:
platforms.create_pidlock(self.pidfile)
service = self.Service(
app=self.app,
max_interval=self.max_interval,
scheduler_cls=self.scheduler_cls,
schedule_filename=self.schedule,
)
print(self.banner(service))
self.setup_logging()
if self.socket_timeout:
logger.debug('Setting default socket timeout to %r',
self.socket_timeout)
socket.setdefaulttimeout(self.socket_timeout)
try:
self.install_sync_handler(service)
service.start()
except Exception as exc:
logger.critical('beat raised exception %s: %r',
exc.__class__, exc,
exc_info=True)
raise
def banner(self, service):
c = self.colored
return text_t( # flake8: noqa
c.blue('__ ', c.magenta('-'),
c.blue(' ... __ '), c.magenta('-'),
c.blue(' _\n'),
c.reset(self.startup_info(service))),
)
def init_loader(self):
# Run the worker init handler.
# (Usually imports task modules and such.)
self.app.loader.init_worker()
self.app.finalize()
def startup_info(self, service):
scheduler = service.get_scheduler(lazy=True)
return STARTUP_INFO_FMT.format(
conninfo=self.app.connection().as_uri(),
timestamp=datetime.now().replace(microsecond=0),
logfile=self.logfile or '[stderr]',
loglevel=LOG_LEVELS[self.loglevel],
loader=qualname(self.app.loader),
scheduler=qualname(scheduler),
scheduler_info=scheduler.info,
hmax_interval=humanize_seconds(scheduler.max_interval),
max_interval=scheduler.max_interval,
)
def set_process_title(self):
arg_start = 'manage' in sys.argv[0] and 2 or 1
platforms.set_process_title(
'celery beat', info=' '.join(sys.argv[arg_start:]),
)
def install_sync_handler(self, service):
"""Install a `SIGTERM` + `SIGINT` handler saving the schedule."""
def _sync(signum, frame):
service.sync()
raise SystemExit()
platforms.signals.update(SIGTERM=_sync, SIGINT=_sync)
| 34.815287
| 79
| 0.594768
|
ba440b0603c0827c61260ea7620830b3bb9f0ed3
| 2,265
|
py
|
Python
|
fn_incident_utils/fn_incident_utils/components/fn_incident_utils_close_incident.py
|
lmahoney1/resilient-community-apps
|
1f60fb100e6a697df7b901d7a4aad707fea3dfee
|
[
"MIT"
] | null | null | null |
fn_incident_utils/fn_incident_utils/components/fn_incident_utils_close_incident.py
|
lmahoney1/resilient-community-apps
|
1f60fb100e6a697df7b901d7a4aad707fea3dfee
|
[
"MIT"
] | null | null | null |
fn_incident_utils/fn_incident_utils/components/fn_incident_utils_close_incident.py
|
lmahoney1/resilient-community-apps
|
1f60fb100e6a697df7b901d7a4aad707fea3dfee
|
[
"MIT"
] | null | null | null |
# (c) Copyright IBM Corp. 2010, 2020. All Rights Reserved.
# -*- coding: utf-8 -*-
# pragma pylint: disable=unused-argument, no-self-use
"""Function implementation"""
import logging
import json
from resilient_circuits import ResilientComponent, function, handler, StatusMessage, FunctionResult, FunctionError
from resilient_lib import close_incident, ResultPayload
PACKAGE_NAME = "fn_incident_utils"
class FunctionComponent(ResilientComponent):
"""Component that implements Resilient function 'incident_utils_close_incident''"""
def __init__(self, opts):
"""constructor provides access to the configuration options"""
super(FunctionComponent, self).__init__(opts)
self.options = opts.get(PACKAGE_NAME, {})
@handler("reload")
def _reload(self, event, opts):
"""Configuration options have changed, save new values"""
self.options = opts.get(PACKAGE_NAME, {})
@function("incident_utils_close_incident")
def _incident_utils_close_incident_function(self, event, *args, **kwargs):
"""Function: Function that takes a JSON String of field and value pairs to close an Incident."""
try:
# Get the function parameters:
incident_id = kwargs.get("incident_id") # number
close_fields = kwargs.get("close_fields") # text
# Check JSON string and convert it to dict
if close_fields is None:
close_fields = {}
else:
close_fields = json.loads(close_fields)
log = logging.getLogger(__name__)
log.info("incident_id: %s", incident_id)
log.info("close_fields: %s", close_fields)
rp = ResultPayload(PACKAGE_NAME, **kwargs)
yield StatusMessage("starting...")
# Instansiate new Resilient API object
res_client = self.rest_client()
# API call to Close an Incident
response = close_incident(res_client, incident_id, close_fields)
results = rp.done(True, response.json())
yield StatusMessage("done...")
# Produce a FunctionResult with the results
yield FunctionResult(results)
except Exception:
yield FunctionError()
| 36.532258
| 114
| 0.65298
|
9f2f7e94b40b0d663f204568f1a8c860ce45e38b
| 663
|
py
|
Python
|
_BACKUP/.gitbook/assets/dfs_paths_dict_recur.py
|
bgoonz/python-gitbook
|
d3b1321a42064e3cf46d1ac16ec1d7c67e4ae04f
|
[
"MIT"
] | 2
|
2021-10-01T22:14:38.000Z
|
2021-11-29T00:32:52.000Z
|
_BACKUP/.gitbook/assets/dfs_paths_dict_recur.py
|
bgoonz/python-gitbook
|
d3b1321a42064e3cf46d1ac16ec1d7c67e4ae04f
|
[
"MIT"
] | 14
|
2021-09-04T13:28:28.000Z
|
2021-09-22T04:06:35.000Z
|
_BACKUP/.gitbook/assets/dfs_paths_dict_recur.py
|
bgoonz/python-gitbook
|
d3b1321a42064e3cf46d1ac16ec1d7c67e4ae04f
|
[
"MIT"
] | 1
|
2021-11-27T20:28:11.000Z
|
2021-11-27T20:28:11.000Z
|
"""
ID: 3df740e0-34f3-4852-add2-7076c8be47c3
"""
from collections.abc import Iterable, Mapping
from typing import Optional
from src.typehints import Node
def dfs_paths_dict_recur(
graph: Mapping[Node, set[Node]],
start: Node,
goal: Node,
path: Optional[list[Node]] = None,
) -> Iterable[list[Node]]:
"""Find all the paths from start to goal recursively on a dict."""
if path is None:
path = [start]
if start == goal:
yield path
else:
for next_node in graph[start].difference(path):
next_path = path + [next_node]
yield from dfs_paths_dict_recur(graph, next_node, goal, next_path)
| 26.52
| 78
| 0.656109
|
2fb1d3760cfed5357bbf719f6cd2025092ad9b78
| 2,368
|
py
|
Python
|
cluster.py
|
ekrell/nir2watermap
|
5253f2cde142a62103eb06fb2931c9aed6431211
|
[
"MIT"
] | null | null | null |
cluster.py
|
ekrell/nir2watermap
|
5253f2cde142a62103eb06fb2931c9aed6431211
|
[
"MIT"
] | null | null | null |
cluster.py
|
ekrell/nir2watermap
|
5253f2cde142a62103eb06fb2931c9aed6431211
|
[
"MIT"
] | null | null | null |
import rasterio
from rasterio.mask import mask
from rasterio.plot import reshape_as_raster, reshape_as_image, adjust_band, show
import geopandas as gpd
import numpy as np
from sklearn.cluster import KMeans, DBSCAN
import matplotlib.pyplot as plt
from optparse import OptionParser
from skimage.transform import resize
def color_stretch(image, index):
colors = image[:, :, index].astype(np.float64)
for b in range(colors.shape[2]):
colors[:, :, b] = rasterio.plot.adjust_band(colors[:, :, b])
return colors
# Options
parser = OptionParser()
parser.add_option("-i", "--in_file",
help = "File with raster of bands (red, green, blue, NIR, ???)",
default = "naip18-nc-cir-60cm_2797141_20181210_occ.jp2")
parser.add_option("-o", "--out_file",
help = "File to store raster, sixth added band is cluster IDs",
default = "naip18-nc-cir-60cm_2797141_20181210_occ_cluster.jp2")
parser.add_option("-m", "--masked", action = "store_true",
help = "Input raster's fifth band is occupancy grid",
default = False)
(options, args) = parser.parse_args()
inFile = options.in_file
outFile = options.out_file
masked = options.masked
# Load NAIP raster
full_dataset = rasterio.open(inFile, driver = "JP2OpenJPEG")
img_rows, img_cols = full_dataset.shape
img_bands = full_dataset.count
print(full_dataset.shape)
print(full_dataset.count)
# Read image
img = full_dataset.read() #[:, 100:2600, 2000:14000]
bands, rows, cols = img.shape
print(bands, rows, cols)
# If masked, apply it
if masked:
for b in range(bands):
img[b, :, :][img[4, :, :] == 255] = 255
# Remove map band
img = img[:4, :, :]
#scaled_img = resize(img, (int(scale * float(rows)), int(scale * float(cols))))
# reshape into long 2d array (nrow * ncol, nband) for classification
reshaped_img = reshape_as_image(img)
# Kmeans
k = 8
kmeans_predictions = KMeans(n_clusters=k, random_state=0, algorithm='full').fit(reshaped_img.reshape(-1, 4))
kmeans_predictions_2d = kmeans_predictions.labels_.reshape(rows, cols)
# Visualize
rgb = img[0:3]
rgb_norm = adjust_band(rgb) # normalize bands to range between 1.0 to 0.0
rgb_reshaped = reshape_as_image(rgb_norm) # reshape to [rows, cols, bands]
fig, axs = plt.subplots(2, 1, figsize=(10, 20))
show(rgb_norm, ax=axs[1])
axs[1].set_title("RGB")
axs[0].imshow(kmeans_predictions_2d)
axs[0].set_title("KMEANS")
plt.show()
| 30.358974
| 108
| 0.718328
|
0b20465747723f7fd98fb793e4aafb2101e0e225
| 1,004
|
py
|
Python
|
examples/python/test.py
|
MartinNum/HNSW_OPT
|
c40943154d55bca4c0ebd6ca7bf719fa1e621aa2
|
[
"Apache-2.0"
] | 1
|
2022-03-31T10:58:21.000Z
|
2022-03-31T10:58:21.000Z
|
examples/python/test.py
|
MartinNum/HNSW_OPT
|
c40943154d55bca4c0ebd6ca7bf719fa1e621aa2
|
[
"Apache-2.0"
] | null | null | null |
examples/python/test.py
|
MartinNum/HNSW_OPT
|
c40943154d55bca4c0ebd6ca7bf719fa1e621aa2
|
[
"Apache-2.0"
] | null | null | null |
import numpy as np
def ivecs_read(fname):
a = np.fromfile(fname, dtype='int32')
d = a[0]
return a.reshape(-1, d + 1)[:, 1:].copy()
def fvecs_read(fname):
return ivecs_read(fname).view('float32')
if __name__ == "__main__":
source = fvecs_read("/home/martin/Project/experiment/data_set/sift1M_128/sift_base.fvecs")
# labels = ivecs_read("/home/martin/Project/experiment/data_set/sift1M_128/siftsmall_groundtruth.ivecs")
querys = fvecs_read("/home/martin/Project/experiment/data_set/sift1M_128/sift_query.fvecs")
# size = len(source)
# print(source[8000])
# for line in source:
# print(line)
# source = fvecs_read("/home/tdlab/dataset/sift1M/sift_base.fvecs")
# print(len(source[0]))
# print(labels[100])
print(len(source))
print(len(querys))
# for i in source[0]:
# print(i+1000)
# for i in range(len(source[0])):
# print(i)
# file = ivecs_read("/home/tdlab/test/quan_Result")
# print(file)
| 23.904762
| 108
| 0.645418
|
9cc56eb0cf897582a07707ea11453eac157701a6
| 1,916
|
py
|
Python
|
venv/Lib/site-packages/pyrogram/raw/base/dialog.py
|
iamgeorgiy/heroku-userbot
|
5a92417d16f8ead949d88cb38da213fc2da5d3a4
|
[
"Apache-2.0"
] | null | null | null |
venv/Lib/site-packages/pyrogram/raw/base/dialog.py
|
iamgeorgiy/heroku-userbot
|
5a92417d16f8ead949d88cb38da213fc2da5d3a4
|
[
"Apache-2.0"
] | null | null | null |
venv/Lib/site-packages/pyrogram/raw/base/dialog.py
|
iamgeorgiy/heroku-userbot
|
5a92417d16f8ead949d88cb38da213fc2da5d3a4
|
[
"Apache-2.0"
] | null | null | null |
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2020 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
# # # # # # # # # # # # # # # # # # # # # # # #
# !!! WARNING !!! #
# This is a generated file! #
# All changes made in this file will be lost! #
# # # # # # # # # # # # # # # # # # # # # # # #
from typing import Union
from pyrogram import raw
from pyrogram.raw.core import TLObject
Dialog = Union[raw.types.Dialog, raw.types.DialogFolder]
# noinspection PyRedeclaration
class Dialog: # type: ignore
"""This base type has 2 constructors available.
Constructors:
.. hlist::
:columns: 2
- :obj:`Dialog <pyrogram.raw.types.Dialog>`
- :obj:`DialogFolder <pyrogram.raw.types.DialogFolder>`
"""
QUALNAME = "pyrogram.raw.base.Dialog"
def __init__(self):
raise TypeError("Base types can only be used for type checking purposes: "
"you tried to use a base type instance as argument, "
"but you need to instantiate one of its constructors instead. "
"More info: https://docs.pyrogram.org/telegram/base/dialog")
| 37.568627
| 87
| 0.634656
|
92bb046084b17e9bf251efa0e24f6f31c2dee95c
| 3,030
|
py
|
Python
|
rustici_software_cloud_v2/models/message_schema.py
|
ryanhope2/scormcloud-api-v2-client-python
|
fcc392933218d32b70987f8bfb1711f891f31c06
|
[
"Apache-2.0"
] | null | null | null |
rustici_software_cloud_v2/models/message_schema.py
|
ryanhope2/scormcloud-api-v2-client-python
|
fcc392933218d32b70987f8bfb1711f891f31c06
|
[
"Apache-2.0"
] | null | null | null |
rustici_software_cloud_v2/models/message_schema.py
|
ryanhope2/scormcloud-api-v2-client-python
|
fcc392933218d32b70987f8bfb1711f891f31c06
|
[
"Apache-2.0"
] | null | null | null |
# coding: utf-8
"""
SCORM Cloud Rest API
REST API used for SCORM Cloud integrations.
OpenAPI spec version: 2.0
Contact: systems@rusticisoftware.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class MessageSchema(object):
"""
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually.
"""
def __init__(self, message=None):
"""
MessageSchema - a model defined in Swagger
:param dict swaggerTypes: The key is attribute name
and the value is attribute type.
:param dict attributeMap: The key is attribute name
and the value is json key in definition.
"""
self.swagger_types = {
'message': 'str'
}
self.attribute_map = {
'message': 'message'
}
self._message = message
@property
def message(self):
"""
Gets the message of this MessageSchema.
:return: The message of this MessageSchema.
:rtype: str
"""
return self._message
@message.setter
def message(self, message):
"""
Sets the message of this MessageSchema.
:param message: The message of this MessageSchema.
:type: str
"""
if message is None:
raise ValueError("Invalid value for `message`, must not be `None`")
self._message = message
def to_dict(self):
"""
Returns the model properties as a dict
"""
result = {}
for attr, _ in iteritems(self.swagger_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
result[attr] = value
return result
def to_str(self):
"""
Returns the string representation of the model
"""
return pformat(self.to_dict())
def __repr__(self):
"""
For `print` and `pprint`
"""
return self.to_str()
def __eq__(self, other):
"""
Returns true if both objects are equal
"""
if not isinstance(other, MessageSchema):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""
Returns true if both objects are not equal
"""
return not self == other
| 25.677966
| 79
| 0.533003
|
3c8c62d6e5c2ccb0446d74f93f455faf1e3dae92
| 1,490
|
py
|
Python
|
app/user/serializers.py
|
hmoodallahma/recipe-app-api
|
13ea22aca5cc2dd1a4e6ed4860f937e46fd2939b
|
[
"MIT"
] | null | null | null |
app/user/serializers.py
|
hmoodallahma/recipe-app-api
|
13ea22aca5cc2dd1a4e6ed4860f937e46fd2939b
|
[
"MIT"
] | null | null | null |
app/user/serializers.py
|
hmoodallahma/recipe-app-api
|
13ea22aca5cc2dd1a4e6ed4860f937e46fd2939b
|
[
"MIT"
] | null | null | null |
from django.contrib.auth import get_user_model, authenticate
from rest_framework import serializers
from django.utils.translation import ugettext_lazy as _
class UserSerializer(serializers.ModelSerializer):
"""Serializer for the users object"""
class Meta:
model = get_user_model()
fields = ('email', 'password', 'name')
extra_kwargs = {'password': {'write_only': True, 'min_length': 5}}
def create(self, validated_data):
"""Create a new user with encrypted password and return it"""
user = get_user_model().objects.create_user(**validated_data)
user.set_password(validated_data['password'])
user.save()
return user
class AuthTokenSerializer(serializers.Serializer):
"""Serializer for the user authentication object"""
email = serializers.CharField()
password = serializers.CharField(
style={'input_type': 'password'},
trim_whitespace=False
)
def validate(self, attrs):
"""Validate and authenticate the user"""
email = attrs.get('email')
password = attrs.get('password')
user = authenticate(
request=self.context.get("request"),
username=email,
password=password,
)
if not user:
msg = _('Cannot authenticate user with those credentials.')
raise serializers.ValidationError(msg, code='authentication')
attrs['user'] = user
return attrs
| 31.041667
| 74
| 0.644295
|
7fd6b86e204af136883717eaec052af737ce9961
| 1,704
|
py
|
Python
|
setup.py
|
tylershunt/katana
|
1afbc755dddc3f88ee0414d0db59d0bf5928f6b3
|
[
"BSD-3-Clause"
] | null | null | null |
setup.py
|
tylershunt/katana
|
1afbc755dddc3f88ee0414d0db59d0bf5928f6b3
|
[
"BSD-3-Clause"
] | null | null | null |
setup.py
|
tylershunt/katana
|
1afbc755dddc3f88ee0414d0db59d0bf5928f6b3
|
[
"BSD-3-Clause"
] | null | null | null |
import sys
import os
import setuptools
from skbuild import setup
# Require pytest-runner only when running tests
pytest_runner = (
["pytest-runner>=2.0,<3dev"] if any(arg in sys.argv for arg in ("pytest", "test")) else []
)
setup_requires = pytest_runner
def find_files(root, suffix):
"""
Find files ending with a given suffix in root and its subdirectories and
return their names relative to root.
"""
files = []
for dirpath, _, filenames in os.walk(root):
for f in filenames:
if not f.endswith(suffix):
continue
relpath = os.path.relpath(dirpath, root)
files.append(os.path.join(relpath, f))
return files
def package_setup():
with open("config/version.txt") as f:
version = f.read().strip()
pxd_files = find_files("python/katana", ".pxd")
# "pip wheel --build-option=..." disables use of wheels for dependencies.
# In order to support passing build arguments directly, accept arguments
# via the environment.
cmake_args = os.environ.get("KATANA_CMAKE_ARGS", "").split()
cmake_args.append("-DBUILD_SHARED_LIBS=ON")
cmake_args.append("-DBUILD_TESTING=OFF")
# Following PEP-518, use pyproject.toml instead of setup(setup_requires=...) to
# specify setup dependencies.
setup(
version=version,
name="katana",
packages=setuptools.find_packages("python"),
package_data={"katana": pxd_files},
package_dir={"": "python"},
tests_require=["pytest"],
setup_requires=setup_requires,
cmake_args=cmake_args,
cmake_source_dir="python",
)
if __name__ == "__main__":
package_setup()
| 27.934426
| 94
| 0.649648
|
9698135c91da53e0bf42587dfbdb3c397b0a5641
| 488
|
py
|
Python
|
tests/test_smoke/test_non_english.py
|
souvikg10/rasa-nlu-examples
|
553a6461949f57232601e778fccdff74a488e0cd
|
[
"Apache-2.0"
] | 1
|
2021-04-11T09:17:11.000Z
|
2021-04-11T09:17:11.000Z
|
tests/test_smoke/test_non_english.py
|
souvikg10/rasa-nlu-examples
|
553a6461949f57232601e778fccdff74a488e0cd
|
[
"Apache-2.0"
] | null | null | null |
tests/test_smoke/test_non_english.py
|
souvikg10/rasa-nlu-examples
|
553a6461949f57232601e778fccdff74a488e0cd
|
[
"Apache-2.0"
] | 2
|
2021-04-12T23:52:51.000Z
|
2021-04-13T00:30:55.000Z
|
import pytest
from rasa.train import train_nlu
# Take heed! Pytest fails if you use a function that starts with "test"
from rasa.test import test_nlu as run_nlu
non_english_files = [("thai-tokenizer-config.yml", "tests/data/nlu/th/nlu-th.md")]
@pytest.mark.parametrize("fp,nlu", non_english_files)
def test_run_train_test_command_non_english(fp, nlu):
mod = train_nlu(nlu_data=nlu, config=f"tests/configs/{fp}", output="models")
run_nlu(model=f"models/{mod}", nlu_data=nlu)
| 30.5
| 82
| 0.754098
|
4d24ddff69c9944420703282e1a260af369dc338
| 3,438
|
py
|
Python
|
lar1nd/run_sbnd.py
|
NuTufts/chroma_lartpc
|
ea6d1a62d22eeeaac069efdef1068a56be683fcc
|
[
"BSD-3-Clause"
] | null | null | null |
lar1nd/run_sbnd.py
|
NuTufts/chroma_lartpc
|
ea6d1a62d22eeeaac069efdef1068a56be683fcc
|
[
"BSD-3-Clause"
] | null | null | null |
lar1nd/run_sbnd.py
|
NuTufts/chroma_lartpc
|
ea6d1a62d22eeeaac069efdef1068a56be683fcc
|
[
"BSD-3-Clause"
] | null | null | null |
import os,sys,time
#os.environ['PYOPENCL_CTX']='0:0'
#os.environ['PYOPENCL_COMPILER_OUTPUT'] = '0'
#os.environ['CUDA_PROFILE'] = '1'
import chroma.api as api
#api.use_opencl()
api.use_cuda()
import numpy as np
from pyqtgraph.Qt import QtCore, QtGui
import pyqtgraph as pg
import pyqtgraph.opengl as gl
from chroma.display.pyqtdisplay import PyQtDisplay
from chroma.sim import Simulation
from chroma.event import Photons
import chroma.event
# LOAD CHROMA UBOONE
nthreads_per_block = 1
from sbnd import SBND
def gen_photons( nphotons ):
dphi = np.random.uniform(0,2.0*np.pi, nphotons)
dcos = np.random.uniform(-1.0, 1.0, nphotons)
dir = np.array( zip( np.sqrt(1-dcos[:]*dcos[:])*np.cos(dphi[:]), np.sqrt(1-dcos[:]*dcos[:])*np.sin(dphi[:]), dcos[:] ), dtype=np.float32 )
pos = np.tile([0,0,0], (nphotons,1)).astype(np.float32)
pol = np.zeros_like(pos)
phi = np.random.uniform(0, 2*np.pi, nphotons).astype(np.float32)
pol[:,0] = np.cos(phi)
pol[:,1] = np.sin(phi)
pol = np.cross( pol, dir )
for n,p in enumerate(pol):
norm = np.sqrt( p[0]*p[0] + p[1]*p[1] + p[2]*p[2] )
p /= norm
t = np.zeros(nphotons, dtype=np.float32) + 100.0 # Avoid negative photon times
wavelengths = np.empty(nphotons, np.float32)
wavelengths.fill(128.0)
return Photons(pos=pos, dir=dir, pol=pol, t=t, wavelengths=wavelengths)
if __name__ == "__main__":
try:
app = QtGui.QApplication([])
except:
pass
start = time.time()
det = SBND()
print "[ TIME ] Load detector data ",time.time()-start,"secs"
try:
display = PyQtDisplay( det )
except:
pass
print "[ Start Sim. ]"
start = time.time()
sim = Simulation(det, geant4_processes=0, nthreads_per_block=nthreads_per_block, max_blocks=1024)
print "[ TIME ] push geometry data to GPU: ",time.time()-start,"secs"
nphotons = 256*100
start = time.time()
photons = gen_photons( nphotons )
print "[ TIME ] generate photons ",time.time()-start,"secs"
start = time.time()
events = sim.simulate( photons, keep_photons_end=True, max_steps=2000)
print "[ TIME ] propagate photons ",time.time()-start,"secs"
for ev in events:
nhits = ev.channels.hit[ np.arange(0,36)[:] ]
print "Channels with Hits: "
print nhits
print "Photoelectrons in each channel: "
print ev.channels.q
detected_photons = ev.photons_end.flags[:] & chroma.event.SURFACE_DETECT # bit-wise AND. if detected bit set, then value >0, otherwise 0.
print "Detected photons: ",np.count_nonzero( detected_photons )
print "hit prep: ",len( ev.photons_end.last_hit_triangles ),len(det.solid_id_to_channel_index),len(det.solid_id)
channelhit = np.zeros( len(detected_photons), dtype=np.int )
channelhit[:] = det.solid_id_to_channel_index[ det.solid_id[ ev.photons_end.last_hit_triangles[:] ] ]
for n,f in enumerate(detected_photons):
if f!=0:
# by convention chroma starts event at t=100.0
print "HIT DETID=",channelhit[n]," POS=",ev.photons_end.pos[n,:]," TIME=",ev.photons_end.t[n]-100.0
try:
display.plotEvent( ev )
except:
pass
try:
if (sys.flags.interactive != 1) or not hasattr(QtCore, 'PYQT_VERSION'):
QtGui.QApplication.instance().exec_()
except:
pass
| 32.742857
| 147
| 0.636707
|
16e4f99b455ca4d7da1d4038c73c4b91f9aefa4f
| 1,946
|
py
|
Python
|
summary_workflows/differential_usage/diff.usage.barplot.py
|
chilampoon/APAeval
|
ed9f86bf76d760bb20b1484e5853de4d4a30d240
|
[
"MIT"
] | null | null | null |
summary_workflows/differential_usage/diff.usage.barplot.py
|
chilampoon/APAeval
|
ed9f86bf76d760bb20b1484e5853de4d4a30d240
|
[
"MIT"
] | null | null | null |
summary_workflows/differential_usage/diff.usage.barplot.py
|
chilampoon/APAeval
|
ed9f86bf76d760bb20b1484e5853de4d4a30d240
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
import os, re, argparse
import pandas as pd
import matplotlib.pyplot as plt
def bar_plot(files, plot_out):
'''
Inputs:
- files: a list of tsv files containing
gene_id & usage changes (e.g. deltaPPAU in QAPA);
NOTE that these genes have been filtered by FDR/q-value.
File names are like 'AA_diffUTR_03.tsv'
- [hardcoded] cutoff: the cutoff to determine if the change is big enough or not,
e.g. in QAPA, deltaPPAU > 20 means lengthening
- output: path to store the image
'''
files = [f for f in files if '_03.tsv' in f]
methods = {}
for file in files:
method = re.sub('_03.tsv$', '', os.path.basename(file))
method = re.sub('^.*_', '', method)
# hardcode the cutoffs since each method has its own calculation
cutoff = 0
if method == "QAPA":
cutoff = 20
elif method == "diffUTR":
cutoff = 0.5 #not sure, can ask the author
# others to be added
df = pd.read_csv(file, sep='\t', header=None, names=['gene','usage'])
l = df[df.usage >= cutoff].shape[0]
s = df[df.usage <= -cutoff].shape[0]
nc = df.shape[0] - l - s
methods[method] = [l,s,nc]
df = pd.DataFrame(methods, index=['Lengthening', 'Shortening', 'NoChange'])
ax = df.plot.bar(rot=0)
fig = ax.get_figure()
fig.savefig(plot_out)
def main(args):
files = args['tsvfile'] # tsv files
out_path = args['outdir'][0] # directory to output image
plot_out = os.path.join(out_path, 'diff.usages.pdf')
#cutoff = float(args['cutoff'][0])
bar_plot(files, plot_out)
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Differential usage plot')
#parser.add_argument('--cutoff', required=True, nargs=1)
parser.add_argument('--tsvfile', required=True, nargs='+')
parser.add_argument('--outdir', required=True, nargs=1)
args = vars(parser.parse_args())
main(args)
# usage: ./diff.usage.barplot.py --tsvfile ../AA_QAPA_03.tsv ../BB_MISO_03.tsv ../AB_diffUTR_03.tsv --outdir .
| 30.888889
| 111
| 0.67112
|
6d7ad4f003d00b4e64eeca99232999280bbd4a67
| 1,288
|
py
|
Python
|
src/poetry/console/commands/shell.py
|
zEdS15B3GCwq/poetry
|
2afe9840533aacfe561d3fdf65c6fb2e790d89b1
|
[
"MIT"
] | 7,258
|
2018-02-28T16:23:08.000Z
|
2019-12-11T18:27:58.000Z
|
src/poetry/console/commands/shell.py
|
zEdS15B3GCwq/poetry
|
2afe9840533aacfe561d3fdf65c6fb2e790d89b1
|
[
"MIT"
] | 1,608
|
2018-02-28T15:31:35.000Z
|
2019-12-11T20:00:05.000Z
|
src/poetry/console/commands/shell.py
|
zEdS15B3GCwq/poetry
|
2afe9840533aacfe561d3fdf65c6fb2e790d89b1
|
[
"MIT"
] | 597
|
2018-03-07T15:07:46.000Z
|
2019-12-11T16:36:22.000Z
|
from __future__ import annotations
import sys
from distutils.util import strtobool
from os import environ
from poetry.console.commands.env_command import EnvCommand
class ShellCommand(EnvCommand):
name = "shell"
description = "Spawns a shell within the virtual environment."
help = """The <info>shell</> command spawns a shell, according to the
<comment>$SHELL</> environment variable, within the virtual environment.
If one doesn't exist yet, it will be created.
"""
def handle(self) -> int:
from poetry.utils.shell import Shell
# Check if it's already activated or doesn't exist and won't be created
venv_activated = strtobool(environ.get("POETRY_ACTIVE", "0")) or getattr(
sys, "real_prefix", sys.prefix
) == str(self.env.path)
if venv_activated:
self.line(
f"Virtual environment already activated: <info>{self.env.path}</>"
)
return 0
self.line(f"Spawning shell within <info>{self.env.path}</>")
# Setting this to avoid spawning unnecessary nested shells
environ["POETRY_ACTIVE"] = "1"
shell = Shell.get()
shell.activate(self.env) # type: ignore[arg-type]
environ.pop("POETRY_ACTIVE")
return 0
| 29.272727
| 82
| 0.651398
|
5404a08097f242a1926bb3fea5b9c46fdeb50024
| 1,499
|
py
|
Python
|
python3/koans/about_none.py
|
willsheppard/python_koans
|
e843070518b62a26aae3b71620dd4dfba25d18f9
|
[
"MIT"
] | null | null | null |
python3/koans/about_none.py
|
willsheppard/python_koans
|
e843070518b62a26aae3b71620dd4dfba25d18f9
|
[
"MIT"
] | null | null | null |
python3/koans/about_none.py
|
willsheppard/python_koans
|
e843070518b62a26aae3b71620dd4dfba25d18f9
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Based on AboutNil in the Ruby Koans
#
from runner.koan import *
class AboutNone(Koan):
def test_none_is_an_object(self):
"Unlike NULL in a lot of languages"
self.assertEqual(True, isinstance(None, object))
def test_none_is_universal(self):
"There is only one None"
self.assertEqual(True, None is None)
def test_what_exception_do_you_get_when_calling_nonexistent_methods(self):
"""
What is the Exception that is thrown when you call a method that does
not exist?
Hint: launch python command console and try the code in the block below.
Don't worry about what 'try' and 'except' do, we'll talk about this later
"""
try:
None.some_method_none_does_not_know_about()
except Exception as ex:
ex2 = ex
# What exception has been caught?
#
# Need a recap on how to evaluate __class__ attributes?
#
# http://bit.ly/__class__
self.assertEqual(AttributeError, ex2.__class__)
# What message was attached to the exception?
# (HINT: replace __ with part of the error message.)
self.assertRegex(ex2.args[0], 'has no attribute')
def test_none_is_distinct(self):
"""
None is distinct from other things which are False.
"""
self.assertEqual(True, None is not 0)
self.assertEqual(True, None is not False)
| 28.826923
| 81
| 0.632422
|
d3702ff2b84a3f8dc1b9b15098a575fb28dc4f01
| 4,661
|
py
|
Python
|
osf/utils/datetime_aware_jsonfield.py
|
alexschiller/osf.io
|
4122d4be152c6189142c2ebb19cfdee09c77035d
|
[
"Apache-2.0"
] | null | null | null |
osf/utils/datetime_aware_jsonfield.py
|
alexschiller/osf.io
|
4122d4be152c6189142c2ebb19cfdee09c77035d
|
[
"Apache-2.0"
] | null | null | null |
osf/utils/datetime_aware_jsonfield.py
|
alexschiller/osf.io
|
4122d4be152c6189142c2ebb19cfdee09c77035d
|
[
"Apache-2.0"
] | null | null | null |
from __future__ import unicode_literals
import datetime as dt
import json
import logging
from decimal import Decimal
from functools import partial
import pytz
from dateutil import parser
from django.contrib.postgres import lookups
from django.contrib.postgres.fields.jsonb import JSONField
from django.core.serializers.json import DjangoJSONEncoder
from osf.exceptions import NaiveDatetimeException, ValidationError
from psycopg2.extras import Json
logger = logging.getLogger(__name__)
def coerce_nonnaive_datetimes(json_data):
if isinstance(json_data, list):
coerced_data = [coerce_nonnaive_datetimes(data) for data in json_data]
elif isinstance(json_data, dict):
coerced_data = dict()
for key, value in json_data.iteritems():
coerced_data[key] = coerce_nonnaive_datetimes(value)
elif isinstance(json_data, dt.datetime):
try:
worked = json_data.astimezone(pytz.utc) # aware object can be in any timezone # noqa
except ValueError: # naive
coerced_data = json_data.replace(tzinfo=pytz.utc) # json_data must be in UTC
logger.warn('Coerced naive datetime to aware for {}'.format(json_data))
else:
coerced_data = json_data # it's already aware
else:
coerced_data = json_data
return coerced_data
class DateTimeAwareJSONEncoder(DjangoJSONEncoder):
def default(self, o):
if isinstance(o, dt.datetime):
if o.tzinfo is None or o.tzinfo.utcoffset(o) is None:
raise NaiveDatetimeException('Tried to encode a naive datetime.')
return dict(type='encoded_datetime', value=o.isoformat())
elif isinstance(o, dt.date):
return dict(type='encoded_date', value=o.isoformat())
elif isinstance(o, dt.time):
if o.tzinfo is None or o.tzinfo.utcoffset(o) is None:
raise NaiveDatetimeException('Tried to encode a naive time.')
return dict(type='encoded_time', value=o.isoformat())
elif isinstance(o, Decimal):
return dict(type='encoded_decimal', value=str(o))
return super(DateTimeAwareJSONEncoder, self).default(o)
def decode_datetime_objects(nested_value):
if isinstance(nested_value, list):
return [decode_datetime_objects(item) for item in nested_value]
elif isinstance(nested_value, dict):
for key, value in nested_value.iteritems():
if isinstance(value, dict) and 'type' in value.keys():
if value['type'] == 'encoded_datetime':
nested_value[key] = parser.parse(value['value'])
if value['type'] == 'encoded_date':
nested_value[key] = parser.parse(value['value']).date()
if value['type'] == 'encoded_time':
nested_value[key] = parser.parse(value['value']).time()
if value['type'] == 'encoded_decimal':
nested_value[key] = Decimal(value['value'])
elif isinstance(value, dict):
nested_value[key] = decode_datetime_objects(value)
elif isinstance(value, list):
nested_value[key] = decode_datetime_objects(value)
return nested_value
return nested_value
class DateTimeAwareJSONField(JSONField):
def get_prep_value(self, value):
if value is not None:
return Json(value, dumps=partial(json.dumps, cls=DateTimeAwareJSONEncoder))
return value
def from_db_value(self, value, expression, connection, context):
if value is None:
return None
return super(DateTimeAwareJSONField, self).to_python(decode_datetime_objects(value))
def get_prep_lookup(self, lookup_type, value):
if lookup_type in ('has_key', 'has_keys', 'has_any_keys'):
return value
if isinstance(value, (dict, list)):
return Json(value, dumps=partial(json.dumps, cls=DateTimeAwareJSONEncoder))
return super(JSONField, self).get_prep_lookup(lookup_type, value)
def validate(self, value, model_instance):
super(JSONField, self).validate(value, model_instance)
try:
json.dumps(value, cls=DateTimeAwareJSONEncoder)
except TypeError:
raise ValidationError(
self.error_messages['invalid'],
code='invalid',
params={'value': value},
)
JSONField.register_lookup(lookups.DataContains)
JSONField.register_lookup(lookups.ContainedBy)
JSONField.register_lookup(lookups.HasKey)
JSONField.register_lookup(lookups.HasKeys)
JSONField.register_lookup(lookups.HasAnyKeys)
| 40.885965
| 97
| 0.667024
|
af65fdeeed6c6cd5fd7ea66ed6079b367b457dea
| 11,517
|
py
|
Python
|
src/hardware/graph.py
|
yuezuegu/UBoostNAS
|
a3ddef3d4b2640eded5858f1a1dd24ec230503b6
|
[
"MIT"
] | null | null | null |
src/hardware/graph.py
|
yuezuegu/UBoostNAS
|
a3ddef3d4b2640eded5858f1a1dd24ec230503b6
|
[
"MIT"
] | null | null | null |
src/hardware/graph.py
|
yuezuegu/UBoostNAS
|
a3ddef3d4b2640eded5858f1a1dd24ec230503b6
|
[
"MIT"
] | null | null | null |
from collections import OrderedDict
from tensorflow.keras.utils import model_to_dot
class Node:
def __init__(self, layer_name, layer_type):
self.layer_name = layer_name
self.layer_type = layer_type
self.layer_attr = {}
self.src = []
self.dst = []
def add_src(self, node):
if node is None:
return
if node not in self.src:
self.src.append(node)
if self not in node.dst:
node.dst.append(self)
def add_dst(self, node):
if node is None:
return
if node not in self.dst:
self.dst.append(node)
if self not in node.src:
node.src.append(self)
def set_layer_attr(self, key, value):
self.layer_attr[key] = value
def copy(self, node):
self.layer_name = node.layer_name
self.layer_type = node.layer_type
self.layer_attr = node.layer_attr.copy()
self.src = node.src.copy()
self.dst = node.dst.copy()
def delete(self):
for node in self.src:
node.dst.remove(self)
for node in self.dst:
node.src.remove(self)
def print_node(self):
print("{} -> ".format(self.layer_name), end='')
for d in self.dst:
print("{}, ".format(d.layer_name), end='')
class Graph:
def __init__(self) -> None:
self.root = None
self.node_list = OrderedDict()
def add_node(self, node) -> None:
if self.root is None:
self.root = node
self.node_list[node.layer_name] = node
def get_node(self, layer_name) -> Node:
if layer_name in self.node_list.keys():
return self.node_list[layer_name]
else:
return None
def copy(self, graph) -> None:
if graph.root is None:
self.root = None
else:
self.root.copy(graph.root)
self.node_list = graph.node_list.copy()
def get_layer_names(self) -> list:
return list(self.node_list.keys())
def print_graph(self):
print("\nPrinting graph...")
for k in self.node_list:
self.node_list[k].print_node()
print()
def conv2matrix(weight_tensor, output_tensor):
input_size = [ output_tensor[0]*output_tensor[1]*output_tensor[2], weight_tensor[0]*weight_tensor[1]*weight_tensor[2] ]
weight_size = [ weight_tensor[0]*weight_tensor[1]*weight_tensor[2], weight_tensor[3] ]
return input_size, weight_size
def dense2matrix(weight_tensor, output_tensor):
assert len(weight_tensor) == 2, "Unconventional weight tensor"
input_reuse = 1
for d in range(len(output_tensor)-1):
input_reuse = input_reuse * output_tensor[d]
input_size = [input_reuse, weight_tensor[0]]
weight_size = [weight_tensor[0], weight_tensor[1]]
return input_size, weight_size
def get_layer_info(node_label):
return node_label.split(': ')
def convert_keras_to_graph(model):
dot_graph = model_to_dot(model, show_shapes=False, show_layer_names=True, rankdir='TB', expand_nested=False, dpi=96)
graph = Graph()
for n in dot_graph.get_nodes():
label = n.get_label()
if label is not None:
layer_name, layer_type = get_layer_info(label)
graph.add_node(Node(layer_name, layer_type))
for e in dot_graph.get_edges():
src = e.get_source()
src_node = dot_graph.get_node(src)[0]
src_label = src_node.get_label()
if src_label is None:
continue
src_layer_name, _ = get_layer_info(src_label)
dst = e.get_destination()
dst_node = dot_graph.get_node(dst)[0]
dst_label = dst_node.get_label()
dst_layer_name, _ = get_layer_info(dst_label)
graph.get_node(dst_layer_name).add_src(graph.get_node(src_layer_name))
graph_tmp = Graph()
for layer_name in graph.get_layer_names():
node = graph.get_node(layer_name)
layer = model.get_layer(layer_name)
if node is None:
continue
if node.layer_type == "Conv2D":
weight_tensor = layer.get_weights()[0].shape
output_tensor = layer.output_shape
input_size, weight_size = conv2matrix(weight_tensor, output_tensor)
node.set_layer_attr("input_size", input_size)
node.set_layer_attr("weight_size", weight_size)
kernel_size = [layer.get_weights()[0].shape[0], layer.get_weights()[0].shape[1]]
node.set_layer_attr("kernel_size", kernel_size)
graph_tmp.add_node(node)
elif node.layer_type == "DepthwiseConv2D":
weight_tensor = layer.get_weights()[0].shape
output_tensor = layer.output_shape
in_channels = weight_tensor[2]
out_channels = in_channels
weight_tensor = (weight_tensor[0], weight_tensor[1], 1, weight_tensor[3])
output_tensor = (output_tensor[0], output_tensor[1], output_tensor[2], 1)
input_size, weight_size = conv2matrix(weight_tensor, output_tensor)
kernel_size = [layer.get_weights()[0].shape[0], layer.get_weights()[0].shape[1]]
for ch in range(in_channels):
node_single_ch = Node(layer_name+str(ch), node.layer_type)
node_single_ch.set_layer_attr("input_size", input_size)
node_single_ch.set_layer_attr("weight_size", weight_size)
node_single_ch.set_layer_attr("kernel_size", kernel_size)
for s in node.src:
node_single_ch.add_src(s)
for d in node.dst:
node_single_ch.add_dst(d)
graph_tmp.add_node(node_single_ch)
node.delete()
elif node.layer_type == "Dense":
weight_tensor = layer.get_weights()[0].shape
output_tensor = layer.output_shape
input_size, weight_size = dense2matrix(weight_tensor, output_tensor)
node.set_layer_attr("input_size", input_size)
node.set_layer_attr("weight_size", weight_size)
graph_tmp.add_node(node)
elif node.layer_type == "FeedForward":
node_dense1 = Node(layer_name+"1", "Dense")
weight_tensor = layer.W1.get_shape().as_list()
output_tensor = layer.output_shape
input_size, weight_size = dense2matrix(weight_tensor, output_tensor)
node_dense1.set_layer_attr("input_size", input_size)
node_dense1.set_layer_attr("weight_size", weight_size)
for s in node.src:
node_dense1.add_src(s)
node_dense2 = Node(layer_name+"2", "Dense")
weight_tensor = layer.W2.get_shape().as_list()
output_tensor = layer.output_shape
input_size, weight_size = dense2matrix(weight_tensor, output_tensor)
node_dense2.set_layer_attr("input_size", input_size)
node_dense2.set_layer_attr("weight_size", weight_size)
node_dense2.add_src(node_dense1)
for d in node.dst:
node_dense2.add_dst(d)
graph_tmp.add_node(node_dense1)
graph_tmp.add_node(node_dense2)
node.delete()
elif node.layer_type == "MultiHeadAttention":
if isinstance(layer.input, list): #decoder query attention
input_tensor = layer.input_shape[0]
for i in range(1,len(layer.input_shape)):
assert input_tensor == layer.input_shape[i]
else: #self-attention
input_tensor = layer.input_shape
batch_size = input_tensor[0]
sentence_len = input_tensor[1]
d_model = input_tensor[2]
node_K = Node(layer_name+"_K", "Dense")
Wk = layer.Wk.get_shape().as_list()
input_size, weight_size = [[batch_size*sentence_len, d_model],list(Wk)]
node_K.set_layer_attr("input_size", input_size)
node_K.set_layer_attr("weight_size", weight_size)
for s in node.src:
node_K.add_src(s)
node_Q = Node(layer_name+"_Q", "Dense")
Wq = layer.Wq.get_shape().as_list()
input_size, weight_size = [[batch_size*sentence_len, d_model],list(Wq)]
node_Q.set_layer_attr("input_size", input_size)
node_Q.set_layer_attr("weight_size", weight_size)
for s in node.src:
node_Q.add_src(s)
node_V = Node(layer_name+"_V", "Dense")
Wv = layer.Wv.get_shape().as_list()
input_size, weight_size = [[batch_size*sentence_len, d_model],list(Wv)]
node_V.set_layer_attr("input_size", input_size)
node_V.set_layer_attr("weight_size", weight_size)
for s in node.src:
node_V.add_src(s)
d_h = int(d_model/layer.head_num)
node_QK = []
for i in range(layer.head_num):
n = Node(layer_name+"_QK"+str(i), "Dense")
input_size, weight_size = [[input_tensor[0]*input_tensor[1], d_h], [d_h, input_tensor[0]*input_tensor[1]]]
n.set_layer_attr("input_size", input_size)
n.set_layer_attr("weight_size", weight_size)
n.add_src(node_K)
n.add_src(node_Q)
n.add_src(node_V)
node_QK.append(n)
node_QK_concat = Node(layer_name+"_QK-Concat", "Concat")
for i in range(layer.head_num):
node_QK_concat.add_src(node_QK[i])
node_PV = []
for i in range(layer.head_num):
n = Node(layer_name+"_PV"+str(i), "Dense")
input_size, weight_size = [[input_tensor[0]*input_tensor[1], input_tensor[0]*input_tensor[1]], [input_tensor[0]*input_tensor[1], d_h]]
n.set_layer_attr("input_size", input_size)
n.set_layer_attr("weight_size", weight_size)
n.add_src(node_QK_concat)
node_PV.append(n)
node_PV_concat = Node(layer_name+"_PV-Concat", "Concat")
for i in range(layer.head_num):
node_PV_concat.add_src(node_PV[i])
node_O = Node(layer_name+"_O", "Dense")
Wo = layer.Wo.get_shape().as_list()
input_size, weight_size = [[batch_size*sentence_len, d_model],list(Wo)]
node_O.set_layer_attr("input_size", input_size)
node_O.set_layer_attr("weight_size", weight_size)
node_O.add_src(node_PV_concat)
for d in node.dst:
node_O.add_dst(d)
graph_tmp.add_node(node_K)
graph_tmp.add_node(node_Q)
graph_tmp.add_node(node_V)
for i in range(layer.head_num):
graph_tmp.add_node(node_QK[i])
graph_tmp.add_node(node_QK_concat)
for i in range(layer.head_num):
graph_tmp.add_node(node_PV[i])
graph_tmp.add_node(node_PV_concat)
graph_tmp.add_node(node_O)
node.delete()
else:
graph_tmp.add_node(node)
graph.copy(graph_tmp)
# graph.print_graph()
# from tensorflow.keras.utils import plot_model
# plot_model(model, to_file='model_plot.png', show_shapes=True, show_layer_names=True)
return graph
| 34.585586
| 150
| 0.596075
|
ad0d7664779de98923f4a887930781c4ace6155b
| 1,467
|
py
|
Python
|
aliyun-python-sdk-bssopenapi/aliyunsdkbssopenapi/request/v20171214/QueryCustomerAddressListRequest.py
|
yndu13/aliyun-openapi-python-sdk
|
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
|
[
"Apache-2.0"
] | null | null | null |
aliyun-python-sdk-bssopenapi/aliyunsdkbssopenapi/request/v20171214/QueryCustomerAddressListRequest.py
|
yndu13/aliyun-openapi-python-sdk
|
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
|
[
"Apache-2.0"
] | null | null | null |
aliyun-python-sdk-bssopenapi/aliyunsdkbssopenapi/request/v20171214/QueryCustomerAddressListRequest.py
|
yndu13/aliyun-openapi-python-sdk
|
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
|
[
"Apache-2.0"
] | null | null | null |
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from aliyunsdkcore.request import RpcRequest
from aliyunsdkbssopenapi.endpoint import endpoint_data
class QueryCustomerAddressListRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'BssOpenApi', '2017-12-14', 'QueryCustomerAddressList')
self.set_method('POST')
if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')
def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
| 37.615385
| 84
| 0.766871
|
4bc49efa19b29942b786c0ae1cfd9d264ccc664e
| 207
|
py
|
Python
|
appengine/tictactoe/routing.py
|
salendron/ai-kindergarten
|
02782730753b7d9b70fcff2dcfbff0f7a4ed6e0e
|
[
"MIT"
] | null | null | null |
appengine/tictactoe/routing.py
|
salendron/ai-kindergarten
|
02782730753b7d9b70fcff2dcfbff0f7a4ed6e0e
|
[
"MIT"
] | null | null | null |
appengine/tictactoe/routing.py
|
salendron/ai-kindergarten
|
02782730753b7d9b70fcff2dcfbff0f7a4ed6e0e
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
TODO
"""
__author__ = 'Bruno Hautzenberger'
import bottle
from .webhandler import index
def setup_routing():
bottle.route('/', ['GET', 'POST'], index)
| 15.923077
| 45
| 0.642512
|
63668934999a198e71f1a6d365063473a35449ae
| 782
|
py
|
Python
|
p00-python-fundamentals/hermes.py
|
rahulswarnkar/slides
|
6d90c5f1ff9c3c774580af8ac7c2f74b959eb2c2
|
[
"MIT"
] | null | null | null |
p00-python-fundamentals/hermes.py
|
rahulswarnkar/slides
|
6d90c5f1ff9c3c774580af8ac7c2f74b959eb2c2
|
[
"MIT"
] | 1
|
2022-02-10T19:15:46.000Z
|
2022-02-10T19:15:46.000Z
|
p00-python-fundamentals/hermes.py
|
rahulswarnkar/slides
|
6d90c5f1ff9c3c774580af8ac7c2f74b959eb2c2
|
[
"MIT"
] | null | null | null |
import scraper
def collect_urls(products_url, prefix = ''):
products_html = scraper.content(products_url)
products_hrefs = scraper.get_attrs(products_html, 'div.product-item a', 'href')
product_urls = [(prefix + href) for href in products_hrefs]
return product_urls
def collect_info(product_url):
product_html = scraper.content(product_url)
info = {
'name': scraper.get_text(product_html, 'div#variant-info h1').pop(),
'sku': scraper.get_text(product_html, 'div.commerce-product-sku span').pop(),
'price': scraper.get_text(product_html, 'p.field-type-commerce-price').pop()
}
return info
urls = collect_urls('https://www.hermes.com/uk/en/men/shoes/', 'https://www.hermes.com/')
for url in urls:
print(collect_info(url))
| 39.1
| 89
| 0.699488
|
2ac762fc2b09524279f9639fbe4bb7802dc23833
| 685
|
py
|
Python
|
cookbook/c07/p7_lambda_value.py
|
RaiderTcT/python3-cookbook
|
4eb7715b9b9d3418897ec08276eabe401e5ce513
|
[
"Apache-2.0"
] | null | null | null |
cookbook/c07/p7_lambda_value.py
|
RaiderTcT/python3-cookbook
|
4eb7715b9b9d3418897ec08276eabe401e5ce513
|
[
"Apache-2.0"
] | null | null | null |
cookbook/c07/p7_lambda_value.py
|
RaiderTcT/python3-cookbook
|
4eb7715b9b9d3418897ec08276eabe401e5ce513
|
[
"Apache-2.0"
] | null | null | null |
# @作者 : Ulysses
# @功能描述 : 在lambda中绑定变量的值
# @修改记录 : 2019/2/14 16:27 创建
x = 10
a = lambda y: x + y
x = 20
b = lambda y: x + y
print(a(10), b(10)) # x是自由变量, 在运行时绑定变量的值
# 30 30
funcs = [lambda x: x+n for n in range(5)]
print(funcs) # 还没有执行
# [<function <listcomp>.<lambda> at 0x00000000029B1598>, <function <listcomp>.<lambda> at 0x00000000029B1620>, <function <listcomp>.<lambda> at 0x00000000029B16A8>, <function <listcomp>.<lambda> at 0x00000000029B1730>, <function <listcomp>.<lambda> at 0x00000000029B17B8>]
for f in funcs:
print(f(0), end=' ') # 4 4 4 4 4
print()
funcs_1 = [lambda x, n=n: x+n for n in range(5)]
for f in funcs_1:
print(f(1), end=' ') # 1 2 3 4 5
| 31.136364
| 272
| 0.643796
|
83b631635747e4fe0a374c9c904060708a276aea
| 2,378
|
py
|
Python
|
test_model.py
|
Ahid-Naif/Breaking-Captchas-with-a-CNN
|
81987ce54d8756699812c315bd8725bd2219b9b2
|
[
"MIT"
] | 3
|
2020-05-25T15:13:23.000Z
|
2022-02-26T21:30:20.000Z
|
test_model.py
|
Ahid-Naif/Breaking-Captchas-with-a-CNN
|
81987ce54d8756699812c315bd8725bd2219b9b2
|
[
"MIT"
] | null | null | null |
test_model.py
|
Ahid-Naif/Breaking-Captchas-with-a-CNN
|
81987ce54d8756699812c315bd8725bd2219b9b2
|
[
"MIT"
] | 5
|
2020-03-12T00:42:02.000Z
|
2020-06-08T16:24:19.000Z
|
from keras.preprocessing.image import img_to_array
from keras.models import load_model
from utils.captchahelper import preprocess
from imutils import contours, paths
import imutils
import numpy as np
import cv2
modelPath = "lenet.hdf5"
imagesPath = "downloads"
# load the pre-trained network
print("[INFO] loading pre-trained network...")
model = load_model(modelPath)
# randomly sample a few of the input images
imagesPaths = list(paths.list_images(imagesPath))
imagesPaths = np.random.choice(imagesPaths, size=(10,), replace=False)
# loop over the image paths
for imagePath in imagesPaths:
# load the image and convert it to grayscale
image = cv2.imread(imagePath)
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
# pad the image
gray = cv2.copyMakeBorder(gray, 20, 20, 20, 20, cv2.BORDER_REPLICATE)
# threshold the image to reveal the digits
thresh = cv2.threshold(gray, 0, 255,
cv2.THRESH_BINARY_INV | cv2.THRESH_OTSU)[1]
# find contours in the image, keeping only the four largest ones,
# then sort them from left-to-right
cnts, _ = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL,
cv2.CHAIN_APPROX_SIMPLE)
cnts = sorted(cnts, key=cv2.contourArea, reverse=True)[:4]
cnts = contours.sort_contours(cnts)[0]
# initialize the output image as a "grayscale" image with 3
# channels along with the output predictions
output = cv2.merge([gray] * 3)
predictions = []
# loop over the contours
for c in cnts:
# compute the bounding box for the contour then extract the digit
(x, y, w, h) = cv2.boundingRect(c)
roi = gray[y - 5:y + h + 5, x - 5:x + w + 5]
# pre-process the ROI and classify it then classify it
roi = preprocess(roi, 28, 28)
roi = np.expand_dims(img_to_array(roi), axis=0)
pred = model.predict(roi).argmax(axis=1)[0] + 1
predictions.append(str(pred))
# draw the prediction on the output image
cv2.rectangle(output, (x - 2, y - 2), (x + w + 4, y + h + 4), (0, 255, 0), 1)
cv2.putText(output, str(pred), (x - 5, y - 5),
cv2.FONT_HERSHEY_SIMPLEX, 0.55, (0, 255, 0), 2)
# show the output image
print("[INFO] captcha: {}".format("".join(predictions)))
cv2.imshow("Output", output)
cv2.waitKey()
| 36.030303
| 85
| 0.649706
|
39712fa63f8726101ca851612fb14afaa2194b17
| 2,382
|
py
|
Python
|
golden_fish_pb2_grpc.py
|
lablabla/GoldenFishServer
|
71eece8c7d340a70a86bc7595699c858cc7a9d30
|
[
"Apache-2.0"
] | null | null | null |
golden_fish_pb2_grpc.py
|
lablabla/GoldenFishServer
|
71eece8c7d340a70a86bc7595699c858cc7a9d30
|
[
"Apache-2.0"
] | null | null | null |
golden_fish_pb2_grpc.py
|
lablabla/GoldenFishServer
|
71eece8c7d340a70a86bc7595699c858cc7a9d30
|
[
"Apache-2.0"
] | null | null | null |
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import golden_fish_pb2 as golden__fish__pb2
class GoldenFishStub(object):
"""Interface exported by the server.
"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.RegisterValve = channel.unary_unary(
'/goldenfish.GoldenFish/RegisterValve',
request_serializer=golden__fish__pb2.Valve.SerializeToString,
response_deserializer=golden__fish__pb2.Status.FromString,
)
class GoldenFishServicer(object):
"""Interface exported by the server.
"""
def RegisterValve(self, request, context):
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_GoldenFishServicer_to_server(servicer, server):
rpc_method_handlers = {
'RegisterValve': grpc.unary_unary_rpc_method_handler(
servicer.RegisterValve,
request_deserializer=golden__fish__pb2.Valve.FromString,
response_serializer=golden__fish__pb2.Status.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'goldenfish.GoldenFish', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class GoldenFish(object):
"""Interface exported by the server.
"""
@staticmethod
def RegisterValve(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/goldenfish.GoldenFish/RegisterValve',
golden__fish__pb2.Valve.SerializeToString,
golden__fish__pb2.Status.FromString,
options, channel_credentials,
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
| 34.028571
| 101
| 0.663728
|
e6b40f613202ef1594b5da1025bf67c62a1de21b
| 5,526
|
py
|
Python
|
motion_analysis/gui/dialogs/select_scene_objects_dialog.py
|
gemlongman/motion_preprocessing_tool
|
0d46fc41ff951e7cc4788d1d9355b0346a9df306
|
[
"MIT"
] | null | null | null |
motion_analysis/gui/dialogs/select_scene_objects_dialog.py
|
gemlongman/motion_preprocessing_tool
|
0d46fc41ff951e7cc4788d1d9355b0346a9df306
|
[
"MIT"
] | null | null | null |
motion_analysis/gui/dialogs/select_scene_objects_dialog.py
|
gemlongman/motion_preprocessing_tool
|
0d46fc41ff951e7cc4788d1d9355b0346a9df306
|
[
"MIT"
] | null | null | null |
#!/usr/bin/env python
#
# Copyright 2019 DFKI GmbH.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to permit
# persons to whom the Software is furnished to do so, subject to the
# following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
# NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
# USE OR OTHER DEALINGS IN THE SOFTWARE.
from PySide2.QtWidgets import QDialog, QListWidgetItem, QHBoxLayout, QLabel, QCheckBox, QLineEdit, QPushButton
from PySide2.QtCore import Qt
from motion_analysis.gui.layout.select_scene_object_dialog_ui import Ui_Dialog
from .utils import get_all_objects
from functools import partial
from .set_properties_dialog import SetPropertiesDialog
class SelectSceneObjectsDialog(QDialog, Ui_Dialog):
def __init__(self, scene, filter_function=get_all_objects, parent=None, name=None, properties=None):
QDialog.__init__(self, parent)
Ui_Dialog.setupUi(self, self)
if name is not None:
self.setWindowTitle(name)
self._filter_function = filter_function
self.selectButton.clicked.connect(self.slot_accept)
self.cancelButton.clicked.connect(self.slot_reject)
self.success = False
self.selected_node_id = -1
self._fill_list_with_scene_objects(scene)
self.properties = dict()
if properties is not None:
self.properties = properties
for key in list(self.properties.keys()):
self.add_line(key)
def _fill_list_with_scene_objects(self, scene):
for sceneObject in self._filter_function(scene):
item = QListWidgetItem()
item.setText(sceneObject.name)
item.setData(Qt.UserRole, sceneObject.node_id)
self.sceneObjectListWidget.addItem(item)
def slot_accept(self):
selected_item = self.sceneObjectListWidget.currentItem()
node_id = selected_item.data(Qt.UserRole)
self.selected_node_id = node_id
print("selected item", selected_item.text(),self.selected_node_id)
self.success = True
self.close()
def slot_reject(self):
self.close()
def add_line(self, key):
layout = QHBoxLayout()
label = QLabel(self)
name =str(key)
label.setText(name)
layout.addWidget(label)
value = self.properties[key]
if isinstance(value, (bool)):
checkbox = QCheckBox(self)
checkbox.setChecked(bool(value))
layout.addWidget(checkbox)
checkbox.stateChanged.connect(partial(self.update_value, key=key, type_func=bool))
#self.connect(checkbox, QtCore.SIGNAL('stateChanged(int)'), partial(self.update_value, key=key, type_func=bool))
elif isinstance(value, (int, float, complex)):
value = str(value)
line_edit = QLineEdit(self)
line_edit.setText(value)
layout.addWidget(line_edit)
line_edit.textChanged.connect(partial(self.update_value, key=key, type_func=float))
#self.connect(line_edit, QtCore.SIGNAL('textChanged(QString)'), partial(self.update_value, key=key, type_func=float))
elif isinstance(value, (int)):
value = str(value)
line_edit = QLineEdit(self)
line_edit.setText(value)
layout.addWidget(line_edit)
line_edit.textChanged.connect(partial(self.update_value, key=key, type_func=int))
#self.connect(line_edit, QtCore.SIGNAL('textChanged(QString)'), partial(self.update_value, key=key, type_func=int))
elif isinstance(value, (str)):
value = str(value)
line_edit = QLineEdit(self)
line_edit.setText(value)
layout.addWidget(line_edit)
line_edit.textChanged.connect(partial(self.update_value, key=key, type_func=str))
#self.connect(line_edit, QtCore.SIGNAL('textChanged(QString)'), partial(self.update_value, key=key, type_func=str))
elif isinstance(value, dict):
button = QPushButton(self)
button.setText("Set Values")
button.setObjectName(key)
button.clicked.connect(self.update_dictionary)
#self.connect(button, QtCore.SIGNAL("clicked()"), self.update_dictionary)
layout.addWidget(button)
self.settingsVerticalLayout.addLayout(layout)
def update_value(self, value, key, type_func):
self.properties[key] = type_func(value)
print("value changed", key, self.properties[key])
def update_dictionary(self):
key = str(self.sender().objectName())
print("sender", key)
dialog = SetPropertiesDialog(self.properties[key], self)
dialog.exec_()
self.properties[key] = dialog.properties
| 45.669421
| 129
| 0.685306
|
8fe260419699d7296488d77507a9079c5cba983e
| 8,261
|
py
|
Python
|
linprog/matrixtools.py
|
Napam/JallaResearch
|
f0ed573f20f050ec0a653bff09068eb11a9c4128
|
[
"MIT"
] | 1
|
2021-04-30T20:13:05.000Z
|
2021-04-30T20:13:05.000Z
|
linprog/matrixtools.py
|
Napam/JallaResearch
|
f0ed573f20f050ec0a653bff09068eb11a9c4128
|
[
"MIT"
] | null | null | null |
linprog/matrixtools.py
|
Napam/JallaResearch
|
f0ed573f20f050ec0a653bff09068eb11a9c4128
|
[
"MIT"
] | null | null | null |
import numpy as np
from typing import Callable, Sequence
from numbers import Number
from fractions import Fraction
from numpy.core.fromnumeric import ravel
from sympy.solvers.inequalities import solve_poly_inequality
from sympy.polys import Poly
import sympy as sp
from itertools import combinations
from pprint import pprint
UTF = {
0: u'\u2080',
1: u'\u2081',
2: u'\u2082',
3: u'\u2083',
4: u'\u2084',
5: u'\u2085',
6: u'\u2086',
7: u'\u2087',
8: u'\u2088',
9: u'\u2089',
10: '₁₀',
11: '₁₁',
12: '₁₂',
'cal B': '𝓑',
'cal N': '𝓝',
'_B': 'ᵦ',
'_N': 'ₙ',
'inv': '⁻¹',
'T': 'ᵀ',
'zeta': 'ζ',
'geq': '≥',
'Delta': 'Δ',
'rarrow':'⇒',
}
def get_formatter(spacing: int) -> Callable:
def formatter(x):
a = str(Fraction(x).limit_denominator())
return f'{a:>{spacing}}'
return formatter
def print_lp_dict(DICp: Sequence[Sequence[Number]], basic: np.ndarray, nonbasic: np.ndarray):
with np.printoptions(formatter={'float':get_formatter(4)}):
strbasic = [f'x{UTF[i]}' for i in basic+1]
strnonbasic = [f'x{UTF[i]}' for i in nonbasic+1]
objstring = f'{UTF["zeta"]} = {DICp[0]}'
print(f'x{UTF["_N"]} = ', ' , '.join(strnonbasic))
print(objstring)
print(f'{"":_^{len(objstring)}}')
for basicvar, row in zip(strbasic, DICp[1:]):
print(f'{basicvar} = {row}')
def get_dict_from_basis(
A: Sequence[Sequence[Number]],
b: Sequence[Number],
c: Sequence[Number],
basis: Sequence[int]
) -> None:
A = np.array(A)
b = np.array(b)
c = np.array(c)
basis = np.array(basis)
m, n = A.shape
A = np.c_[A, np.eye(m, dtype=int)]
c = np.concatenate([c, np.zeros(m)])
basic = basis - 1
allvars = np.arange(m+n)
nonbasic = np.setdiff1d(allvars, basic)
c_basic = c[basic]
c_nonbasic = c[nonbasic]
print('Variables:', *['x'+UTF[v] for v in allvars+1])
print(UTF['cal B']+' =', basic+1)
print(UTF['cal N']+' =', nonbasic+1)
print('c'+UTF['_B'], c_basic)
print('c'+UTF['_N'], c_nonbasic)
B = A[:,basic]
N = A[:,nonbasic]
with np.printoptions(formatter={'float':get_formatter(4)}):
print('\nB =')
print(B)
print('\nN =')
print(N)
print('\nb =')
print(b)
Binv = np.linalg.inv(B)
print('\nB'+UTF['inv']+'N =')
print(Binv@N)
with np.printoptions(formatter={'float':get_formatter(4)}):
Binvb = Binv@b
print('\nB'+UTF['inv']+'b =')
print(Binvb)
cBb = c_basic@Binv@b
print('\nc'+UTF['T']+UTF['_B']+'B'+UTF['inv']+'b =', cBb)
with np.printoptions(formatter={'float':get_formatter(4)}):
BinvN = Binv@N
zn = (BinvN.T)@c_basic - c_nonbasic
print(f'\n(B{UTF["inv"]}N){UTF["T"]}c{UTF["_B"]}-c{UTF["_N"]} =', zn)
print('\nDictionary:')
DICp = np.zeros((m+1, n+m-1))
DICp[0] = [cBb, *(-zn)]
DICp[1:,0] = Binvb.ravel()
DICp[1:,1:] = -BinvN
print_lp_dict(DICp, basic, nonbasic)
def ranging(
DICp: Sequence[Sequence[Number]],
c: Sequence[Number],
dc: Sequence[Number],
basic: Sequence[int],
nonbasic: Sequence[int],
) -> None:
DICp = np.array(DICp)
c = np.array(c)
dc = np.array(dc)
basic = np.array(basic)
nonbasic = np.array(nonbasic)
zn = -DICp[0,1:].reshape(-1,1)
basic = np.array(basic)-1
nonbasic = np.array(nonbasic)-1
dc_basic = dc[basic].reshape(-1,1)
dc_nonbasic = dc[nonbasic].reshape(-1,1)
BinvN = -DICp[1:,1:]
BinvNTcb = BinvN.T@dc_basic
dzn = BinvNTcb - dc_nonbasic
print('Got dicitonary:')
print_lp_dict(DICp, basic, nonbasic)
print(f'\n-B{UTF["inv"]}N =')
print(-BinvN)
print()
print(f'{UTF["Delta"]}c{UTF["T"]} = {dc.ravel()}')
print(f'{UTF["Delta"]}c{UTF["_B"]}{UTF["T"]} = {dc_basic.ravel()}')
print(f'{UTF["Delta"]}c{UTF["_N"]}{UTF["T"]} = {dc_nonbasic.ravel()}')
print(f'\n(B{UTF["inv"]}N){UTF["T"]} =')
print(BinvN.T)
print()
print(f'{UTF["Delta"]}z{UTF["_N"]}= '
f'(B{UTF["inv"]}N){UTF["T"]}{UTF["Delta"]}c{UTF["_B"]} - c{UTF["_N"]} =')
print(f'{BinvNTcb.ravel()}{UTF["T"]} - {dc_nonbasic.ravel()}{UTF["T"]} = {dzn.ravel()}{UTF["T"]}')
print(f'\nz*{UTF["_N"]} + t{UTF["Delta"]}z{UTF["_N"]} {UTF["geq"]} 0 {UTF["rarrow"]} '
f'{zn.ravel()}{UTF["T"]} + t{dzn.ravel()}{UTF["T"]} {UTF["geq"]} 0')
print(UTF['rarrow'])
for i, j in zip(zn.ravel(), dzn.ravel()):
string = ''
string += str(i)
if j >= 0:
string += ' +'
elif j < 0:
string += ' -'
string += f' {abs(j)}t {UTF["geq"]} 0'
print(string)
t = sp.Symbol('t', real=True)
polys = [(Poly(i + j*t), '>=') for i, j in zip(zn.ravel(), dzn.ravel()) if j != 0]
result = sp.Intersection(*[s for p in polys for s in solve_poly_inequality(*p)])
# l for lower, u for upper
l_bound, u_bound = result.left, result.right
l_c = c + dc*l_bound
u_c = c + dc*u_bound
# Fix nans
mask = l_c == sp.nan
l_c[mask] = c[mask]
mask = u_c == sp.nan
u_c[mask] = c[mask]
print()
print(f'Respective to {UTF["Delta"]}c = {dc}')
print(f'We see that we can vary c in:')
print(l_c)
print('to')
print(u_c)
def submatrix(A: Sequence[Sequence[Number]], b: Sequence[Sequence[Number]]) -> None:
A = np.array(A)
b = np.array(b)
m, n = A.shape
print(f'A = \n{A}')
print(f'b = \n{b}\n')
indices = np.arange(n)
pairs = np.array(list(combinations(indices,2)))
submatrices = np.zeros((len(pairs), m, m))
for i, pair in enumerate(pairs):
mat = A[:,pair]
submatrices[i] = (mat)
for pair, mat in zip(pairs, submatrices):
print(f'Basic vars: {pair} {UTF["rarrow"]}')
print('B=')
print(mat)
det = np.linalg.det(mat)
print(f'det = {det:.2f}')
if np.linalg.det(mat) != 0:
print('Is nonsingular')
else:
print('Is SINGULAR')
print()
inverses = np.zeros_like(submatrices)
vertices = np.zeros((len(submatrices), m))
for i, mat in enumerate(submatrices):
Binv = np.linalg.inv(mat)
inverses[i] = Binv
vertices[i] = (Binv@b).ravel()
feasible_mask = (vertices < 0).sum(axis=1) == 0
print('\n\nBasis feasible')
for isbasis, pair, mat in zip(feasible_mask, pairs, submatrices):
if isbasis:
print(pair)
print(mat)
if __name__ == '__main__':
submatrix(
A=[
[-1, 4, 1, 0],
[ 2, 6, 0, 1]
],
b=[
[-1],
[ 6],
]
)
# get_dict_from_basis(
# A=[
# [-1,-1, 0, 0, 0, 0],
# [ 1, 0,-1, 0,-1, 0],
# [ 0, 1, 1,-1, 0, 0],
# [ 0, 0, 0, 1, 0, 1],
# [ 0, 0, 0, 0, 1,-1],
# ],
# b=[
# [ 2],
# [ 2],
# [-1],
# [-4],
# [ 1],
# ],
# c=[4,2,1,1,1,3],
# basis=[1,3,4,6]
# )
# Compulsory 2
# get_dict_from_basis(
# A=[
# [ 1, 2, 3, 4, 5],
# [ 0, 5,-3,-2,-1],
# ],
# b=[
# [ 2],
# [ 3],
# ],
# c=[1,2,4,8,16],
# basis=[1,5]
# )
# H15 Ex2
# get_dict_from_basis(
# A=[
# [ 1, 2, 3],
# [-7, 5,-1],
# ],
# b=[
# [ 1],
# [-3],
# ],
# c=[1,2,4],
# basis=[1,3]
# )
# ranging(
# DICp=[
# [ 6,-1,-1,-2],
# [ 3,-1,-1,-1],
# [ 4, 2,-2, 3]
# ],
# c=[1,2,1,0,0],
# dc=[0,1,0,0,0],
# basic=[2,5],
# nonbasic=[1,3,4],
# )
# ranging(
# DICp=[
# [ 3,-1,-0,-1],
# [ 3,-1,-1,-1],
# [10,-2,-4, 1]
# ],
# c=[1,0,1,0,0],
# dc=[0,1,0,0,0],
# basic=[1,5],
# nonbasic=[2,3,4],
# )
| 24.807808
| 102
| 0.468708
|
45edaa36251e2b2e1ab4693071a631211aad7277
| 19,886
|
py
|
Python
|
tests/components/apple_tv/test_config_flow.py
|
basicpail/core
|
5cc54618c5af3f75c08314bf2375cc7ac40d2b7e
|
[
"Apache-2.0"
] | 11
|
2018-02-16T15:35:47.000Z
|
2020-01-14T15:20:00.000Z
|
tests/components/apple_tv/test_config_flow.py
|
basicpail/core
|
5cc54618c5af3f75c08314bf2375cc7ac40d2b7e
|
[
"Apache-2.0"
] | 87
|
2020-07-06T22:22:54.000Z
|
2022-03-31T06:01:46.000Z
|
tests/components/apple_tv/test_config_flow.py
|
Vaarlion/core
|
f3de8b9f28de01abf72c0f5bb0b457eb1841f201
|
[
"Apache-2.0"
] | 11
|
2020-12-16T13:48:14.000Z
|
2022-02-01T00:28:05.000Z
|
"""Test config flow."""
from unittest.mock import patch
from pyatv import exceptions
from pyatv.const import Protocol
import pytest
from homeassistant import config_entries, data_entry_flow
from homeassistant.components.apple_tv.const import CONF_START_OFF, DOMAIN
from tests.common import MockConfigEntry
DMAP_SERVICE = {
"type": "_touch-able._tcp.local.",
"name": "dmapid.something",
"properties": {"CtlN": "Apple TV"},
}
@pytest.fixture(autouse=True)
def mock_setup_entry():
"""Mock setting up a config entry."""
with patch(
"homeassistant.components.apple_tv.async_setup_entry", return_value=True
):
yield
# User Flows
async def test_user_input_device_not_found(hass, mrp_device):
"""Test when user specifies a non-existing device."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["description_placeholders"] == {"devices": "`MRP Device (127.0.0.1)`"}
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "none"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "no_devices_found"}
async def test_user_input_unexpected_error(hass, mock_scan):
"""Test that unexpected error yields an error message."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
mock_scan.side_effect = Exception
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "dummy"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "unknown"}
async def test_user_adds_full_device(hass, full_device, pairing):
"""Test adding device with all services."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["errors"] == {}
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"name": "MRP Device"}
result3 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result3["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result3["description_placeholders"] == {"protocol": "MRP"}
result4 = await hass.config_entries.flow.async_configure(
result["flow_id"], {"pin": 1111}
)
assert result4["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result4["description_placeholders"] == {"protocol": "DMAP", "pin": 1111}
result5 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result5["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result5["description_placeholders"] == {"protocol": "AirPlay"}
result6 = await hass.config_entries.flow.async_configure(
result["flow_id"], {"pin": 1234}
)
assert result6["type"] == "create_entry"
assert result6["data"] == {
"address": "127.0.0.1",
"credentials": {
Protocol.DMAP.value: "dmap_creds",
Protocol.MRP.value: "mrp_creds",
Protocol.AirPlay.value: "airplay_creds",
},
"name": "MRP Device",
"protocol": Protocol.MRP.value,
}
async def test_user_adds_dmap_device(hass, dmap_device, dmap_pin, pairing):
"""Test adding device with only DMAP service."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "DMAP Device"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"name": "DMAP Device"}
result3 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result3["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result3["description_placeholders"] == {"pin": 1111, "protocol": "DMAP"}
result6 = await hass.config_entries.flow.async_configure(
result["flow_id"], {"pin": 1234}
)
assert result6["type"] == "create_entry"
assert result6["data"] == {
"address": "127.0.0.1",
"credentials": {Protocol.DMAP.value: "dmap_creds"},
"name": "DMAP Device",
"protocol": Protocol.DMAP.value,
}
async def test_user_adds_dmap_device_failed(hass, dmap_device, dmap_pin, pairing):
"""Test adding DMAP device where remote device did not attempt to pair."""
pairing.always_fail = True
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "DMAP Device"},
)
await hass.config_entries.flow.async_configure(result["flow_id"], {})
result2 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result2["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result2["reason"] == "device_did_not_pair"
async def test_user_adds_device_with_credentials(hass, dmap_device_with_credentials):
"""Test adding DMAP device with existing credentials (home sharing)."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "DMAP Device"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"name": "DMAP Device"}
result3 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result3["type"] == "create_entry"
assert result3["data"] == {
"address": "127.0.0.1",
"credentials": {Protocol.DMAP.value: "dummy_creds"},
"name": "DMAP Device",
"protocol": Protocol.DMAP.value,
}
async def test_user_adds_device_with_ip_filter(
hass, dmap_device_with_credentials, mock_scan
):
"""Test add device filtering by IP."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "127.0.0.1"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"name": "DMAP Device"}
result3 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result3["type"] == "create_entry"
assert result3["data"] == {
"address": "127.0.0.1",
"credentials": {Protocol.DMAP.value: "dummy_creds"},
"name": "DMAP Device",
"protocol": Protocol.DMAP.value,
}
async def test_user_adds_device_by_ip_uses_unicast_scan(hass, mock_scan):
"""Test add device by IP-address, verify unicast scan is used."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "127.0.0.1"},
)
assert str(mock_scan.hosts[0]) == "127.0.0.1"
async def test_user_adds_existing_device(hass, mrp_device):
"""Test that it is not possible to add existing device."""
MockConfigEntry(domain="apple_tv", unique_id="mrpid").add_to_hass(hass)
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "127.0.0.1"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "already_configured"}
async def test_user_adds_unusable_device(hass, device_with_no_services):
"""Test that it is not possible to add device with no services."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "Invalid Device"},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "no_usable_service"}
async def test_user_connection_failed(hass, mrp_device, pairing_mock):
"""Test error message when connection to device fails."""
pairing_mock.begin.side_effect = exceptions.ConnectionFailedError
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result2["reason"] == "invalid_config"
async def test_user_start_pair_error_failed(hass, mrp_device, pairing_mock):
"""Test initiating pairing fails."""
pairing_mock.begin.side_effect = exceptions.PairingError
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result2["reason"] == "invalid_auth"
async def test_user_pair_invalid_pin(hass, mrp_device, pairing_mock):
"""Test pairing with invalid pin."""
pairing_mock.finish.side_effect = exceptions.PairingError
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"pin": 1111},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "invalid_auth"}
async def test_user_pair_unexpected_error(hass, mrp_device, pairing_mock):
"""Test unexpected error when entering PIN code."""
pairing_mock.finish.side_effect = Exception
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{"pin": 1111},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["errors"] == {"base": "unknown"}
async def test_user_pair_backoff_error(hass, mrp_device, pairing_mock):
"""Test that backoff error is displayed in case device requests it."""
pairing_mock.begin.side_effect = exceptions.BackOffError
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result2["reason"] == "backoff"
async def test_user_pair_begin_unexpected_error(hass, mrp_device, pairing_mock):
"""Test unexpected error during start of pairing."""
pairing_mock.begin.side_effect = Exception
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_USER}
)
await hass.config_entries.flow.async_configure(
result["flow_id"],
{"device_input": "MRP Device"},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result2["reason"] == "unknown"
# Zeroconf
async def test_zeroconf_unsupported_service_aborts(hass):
"""Test discovering unsupported zeroconf service."""
result = await hass.config_entries.flow.async_init(
DOMAIN,
context={"source": config_entries.SOURCE_ZEROCONF},
data={
"type": "_dummy._tcp.local.",
"properties": {},
},
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "unknown"
async def test_zeroconf_add_mrp_device(hass, mrp_device, pairing):
"""Test add MRP device discovered by zeroconf."""
result = await hass.config_entries.flow.async_init(
DOMAIN,
context={"source": config_entries.SOURCE_ZEROCONF},
data={
"type": "_mediaremotetv._tcp.local.",
"properties": {"UniqueIdentifier": "mrpid", "Name": "Kitchen"},
},
)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["description_placeholders"] == {"name": "MRP Device"}
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"protocol": "MRP"}
result3 = await hass.config_entries.flow.async_configure(
result["flow_id"], {"pin": 1111}
)
assert result3["type"] == "create_entry"
assert result3["data"] == {
"address": "127.0.0.1",
"credentials": {Protocol.MRP.value: "mrp_creds"},
"name": "MRP Device",
"protocol": Protocol.MRP.value,
}
async def test_zeroconf_add_dmap_device(hass, dmap_device, dmap_pin, pairing):
"""Test add DMAP device discovered by zeroconf."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_ZEROCONF}, data=DMAP_SERVICE
)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result["description_placeholders"] == {"name": "DMAP Device"}
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"protocol": "DMAP", "pin": 1111}
result3 = await hass.config_entries.flow.async_configure(result["flow_id"], {})
assert result3["type"] == "create_entry"
assert result3["data"] == {
"address": "127.0.0.1",
"credentials": {Protocol.DMAP.value: "dmap_creds"},
"name": "DMAP Device",
"protocol": Protocol.DMAP.value,
}
async def test_zeroconf_add_existing_aborts(hass, dmap_device):
"""Test start new zeroconf flow while existing flow is active aborts."""
await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_ZEROCONF}, data=DMAP_SERVICE
)
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_ZEROCONF}, data=DMAP_SERVICE
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "already_in_progress"
async def test_zeroconf_add_but_device_not_found(hass, mock_scan):
"""Test add device which is not found with another scan."""
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_ZEROCONF}, data=DMAP_SERVICE
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "no_devices_found"
async def test_zeroconf_add_existing_device(hass, dmap_device):
"""Test add already existing device from zeroconf."""
MockConfigEntry(domain="apple_tv", unique_id="dmapid").add_to_hass(hass)
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_ZEROCONF}, data=DMAP_SERVICE
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "already_configured"
async def test_zeroconf_unexpected_error(hass, mock_scan):
"""Test unexpected error aborts in zeroconf."""
mock_scan.side_effect = Exception
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_ZEROCONF}, data=DMAP_SERVICE
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "unknown"
# Re-configuration
async def test_reconfigure_update_credentials(hass, mrp_device, pairing):
"""Test that reconfigure flow updates config entry."""
config_entry = MockConfigEntry(domain="apple_tv", unique_id="mrpid")
config_entry.add_to_hass(hass)
result = await hass.config_entries.flow.async_init(
DOMAIN,
context={"source": config_entries.SOURCE_REAUTH},
data={"identifier": "mrpid", "name": "apple tv"},
)
result2 = await hass.config_entries.flow.async_configure(
result["flow_id"],
{},
)
assert result2["type"] == data_entry_flow.RESULT_TYPE_FORM
assert result2["description_placeholders"] == {"protocol": "MRP"}
result3 = await hass.config_entries.flow.async_configure(
result["flow_id"], {"pin": 1111}
)
assert result3["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result3["reason"] == "already_configured"
assert config_entry.data == {
"address": "127.0.0.1",
"protocol": Protocol.MRP.value,
"name": "MRP Device",
"credentials": {Protocol.MRP.value: "mrp_creds"},
}
async def test_reconfigure_ongoing_aborts(hass, mrp_device):
"""Test start additional reconfigure flow aborts."""
data = {
"identifier": "mrpid",
"name": "Apple TV",
}
await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_REAUTH}, data=data
)
result = await hass.config_entries.flow.async_init(
DOMAIN, context={"source": config_entries.SOURCE_REAUTH}, data=data
)
assert result["type"] == data_entry_flow.RESULT_TYPE_ABORT
assert result["reason"] == "already_in_progress"
# Options
async def test_option_start_off(hass):
"""Test start off-option flag."""
config_entry = MockConfigEntry(
domain=DOMAIN, unique_id="dmapid", options={"start_off": False}
)
config_entry.add_to_hass(hass)
result = await hass.config_entries.options.async_init(config_entry.entry_id)
assert result["type"] == data_entry_flow.RESULT_TYPE_FORM
result2 = await hass.config_entries.options.async_configure(
result["flow_id"], user_input={CONF_START_OFF: True}
)
assert result2["type"] == "create_entry"
assert config_entry.options[CONF_START_OFF]
| 34.05137
| 88
| 0.679272
|
41c6003f18f4f49f78cffbf6ba97cd797590b5a0
| 3,640
|
py
|
Python
|
pyllars/sklearn_transformers/multicolumn_label_encoder.py
|
bmmalone/pyllars
|
e37c2bd6fba91a587e54f0bc6a456cee050a6d00
|
[
"MIT"
] | 3
|
2020-04-19T15:22:43.000Z
|
2022-01-05T16:06:50.000Z
|
pyllars/sklearn_transformers/multicolumn_label_encoder.py
|
bmmalone/pyllars
|
e37c2bd6fba91a587e54f0bc6a456cee050a6d00
|
[
"MIT"
] | 19
|
2018-12-29T13:59:39.000Z
|
2021-07-22T11:53:23.000Z
|
pyllars/sklearn_transformers/multicolumn_label_encoder.py
|
bmmalone/pymisc-utils
|
a1000824623d7db4873836864c14b830cc81aeed
|
[
"MIT"
] | null | null | null |
import sklearn.preprocessing
import sklearn.base
from pyllars.validation_utils import check_is_fitted
import numpy as np
import pandas as pd
from pyllars.sklearn_transformers.nan_label_encoder import NaNLabelEncoder
class MultiColumnLabelEncoder(sklearn.base.TransformerMixin):
""" Encode multiple columns using independent label encoders
Optionally, the columns to encode can be specified; if they are not given,
then all columns in the matrix are encoded (independently).
A number of similar implementations are available online; this
implementation keeps the encoders around so that they can be used later,
for example, on test data. It also provides an inverse_transform operation.
It also attempts with both data frames (with named columns) and simpler
np.arrays (which only have indices).
Parameters
----------
columns: list-like of column identifiers, or None
A list of the columns for imputation. These should be integer indices
for np.arrays or string column names for pd.DataFrames.
"""
def __init__(self, columns=None):
self.columns = columns
def fit(self, X, *_, **__):
""" Fit the encoders for all of the specified columns
"""
# first, check if we have an np array or a data frame
if isinstance(X, np.ndarray):
self.is_np_array_ = True
elif isinstance(X, pd.DataFrame):
self.is_np_array_ = False
else:
msg = ("[multicolumn_le]: attepting to encode an object which is "
"neither an np.array nor a pd.DataFrame. type: {}".format(
type(X)))
raise ValueError(msg)
# select the columns, if necessary
if self.columns is None:
if self.is_np_array_:
self.columns = list(range(X.shape[1]))
else:
self.columns = X.columns
# keep around the label encoders
self.le_ = {}
for c in self.columns:
# make sure we actually grab a column
if self.is_np_array_:
y = X[:,c]
else:
y = X[c]
label_encoder = NaNLabelEncoder()
label_encoder.fit(y)
self.le_[c] = label_encoder
return self
def transform(self, X, *_, **__):
""" Encode the respective columns of X
"""
check_is_fitted(self, "le_")
# make a copy to keep around everything we do not encode
X = X.copy()
for c in self.columns:
le = self.le_[c]
# make sure we actually grab a column
if self.is_np_array_:
# so np.array
y = X[:,c]
y = le.transform(y)
X[:,c] = y
else:
# then pd.DataFrame
y = X[c]
y = le.transform(y)
X[c] = y
return X
def inverse_transform(self, X, *_, **__):
""" Transform labels back to the original encoding
"""
check_is_fitted(self, "le_")
# make a copy to keep around everything we do not encode
X = X.copy()
for c in self.columns:
le = self.le_[c]
# make sure we actually grab a column
if self.is_np_array_:
# so np.array
y = X[:,c]
y = le.inverse_transform(y)
X[:,c] = y
else:
# then pd.DataFrame
y = X[c]
y = le.inverse_transform(y)
X[c] = y
return X
| 29.12
| 79
| 0.557143
|
7487322543082c9081637fde6d509cafd61117b8
| 2,876
|
py
|
Python
|
vehicle/OVMS.V3/components/wolfssl/wrapper/python/wolfssl/src/wolfssl/exceptions.py
|
qtwre/Open-Vehicle-Monitoring-System-3
|
0ebd21bdff06190c0909c29b215ab63f5792e7d6
|
[
"MIT"
] | 322
|
2017-06-12T16:56:49.000Z
|
2022-03-27T15:46:38.000Z
|
vehicle/OVMS.V3/components/wolfssl/wrapper/python/wolfssl/src/wolfssl/exceptions.py
|
qtwre/Open-Vehicle-Monitoring-System-3
|
0ebd21bdff06190c0909c29b215ab63f5792e7d6
|
[
"MIT"
] | 426
|
2017-08-30T04:47:34.000Z
|
2022-03-25T21:01:11.000Z
|
vehicle/OVMS.V3/components/wolfssl/wrapper/python/wolfssl/src/wolfssl/exceptions.py
|
qtwre/Open-Vehicle-Monitoring-System-3
|
0ebd21bdff06190c0909c29b215ab63f5792e7d6
|
[
"MIT"
] | 194
|
2017-07-03T23:34:08.000Z
|
2022-03-16T09:09:22.000Z
|
# -*- coding: utf-8 -*-
#
# exceptions.py
#
# Copyright (C) 2006-2020 wolfSSL Inc.
#
# This file is part of wolfSSL.
#
# wolfSSL is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# wolfSSL is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
#/
# pylint: disable=missing-docstring
from socket import error as socket_error
class SSLError(socket_error):
"""
Raised to signal an error from the wolfSSL's SSL/TLS library. This signifies
some problem in the higher-level encryption and authentication layer that's
superimposed on the underlying network connection. This error is a subtype
of socket.error, which in turn is a subtype of IOError. The error code and
message of SSLError instances are provided by the wolfSSL library.
"""
pass
class SSLZeroReturnError(SSLError):
"""
A subclass of SSLError raised when trying to read or write and the SSL
connection has been closed cleanly. Note that this doesn't mean that the
underlying transport (read TCP) has been closed.
"""
pass
class SSLWantReadError(SSLError):
"""
A subclass of SSLError raised by a non-blocking SSL socket when trying to
read or write data, but more data needs to be received on the underlying TCP
transport before the request can be fulfilled.
"""
pass
class SSLWantWriteError(SSLError):
"""
A subclass of SSLError raised by a non-blocking SSL socket when trying to
read or write data, but more data needs to be sent on the underlying TCP
transport before the request can be fulfilled.
"""
pass
class SSLSyscallError(SSLError):
"""
A subclass of SSLError raised when a system error was encountered while
trying to fulfill an operation on a SSL socket. Unfortunately, there is no
easy way to inspect the original errno number.
"""
pass
class SSLEOFError(SSLError):
"""
A subclass of SSLError raised when the SSL connection has been terminated
abruptly. Generally, you shouldn't try to reuse the underlying transport
when this error is encountered.
"""
pass
class CertificateError(ValueError):
"""
Raised to signal an error with a certificate (such as mismatching hostname).
Certificate errors detected by wolfSSL, though, raise an SSLError.
"""
pass
| 31.955556
| 80
| 0.728442
|
32cb86fe55a49ea9d42e7f8ce75e7756a1326c47
| 2,250
|
py
|
Python
|
rnacentral_pipeline/databases/quickgo/parser.py
|
RNAcentral/rnacentral-import-pipeline
|
238e573440c72581a051b16c15f56fcd25bece74
|
[
"Apache-2.0"
] | 1
|
2018-08-09T14:41:16.000Z
|
2018-08-09T14:41:16.000Z
|
rnacentral_pipeline/databases/quickgo/parser.py
|
RNAcentral/rnacentral-import-pipeline
|
238e573440c72581a051b16c15f56fcd25bece74
|
[
"Apache-2.0"
] | 60
|
2015-02-04T16:43:53.000Z
|
2022-01-27T10:28:43.000Z
|
rnacentral_pipeline/databases/quickgo/parser.py
|
RNAcentral/rnacentral-import-pipeline
|
238e573440c72581a051b16c15f56fcd25bece74
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
Copyright [2009-2017] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
import operator as op
import itertools as it
import typing as ty
from Bio.UniProt.GOA import gpa_iterator as raw_parser
from rnacentral_pipeline.databases.data.go_annotations import GoTermAnnotation
from rnacentral_pipeline.databases.quickgo import helpers
def as_annotation(record: ty.Dict[str, ty.Any]) -> GoTermAnnotation:
"""
Turn a record into an annotation.
"""
return GoTermAnnotation(
rna_id=helpers.rna_id(record),
qualifier=helpers.qualifier(record),
term_id=helpers.go_id(record),
evidence_code=record["ECO_Evidence_code"],
extensions=helpers.extensions(record),
assigned_by=helpers.assigned_by(record),
publications=helpers.publications(record),
)
def parse(handle: ty.IO) -> ty.Iterable[GoTermAnnotation]:
"""
Parse the given file to produce an iterable of GoTerm objects to import.
"""
key = op.attrgetter(
"rna_id", "qualifier", "term_id", "evidence_code", "assigned_by"
)
records = raw_parser(handle)
records = filter(lambda r: r["Assigned_by"] != "RNAcentral", records)
records = filter(lambda r: r["DB:Reference"] != "GO_REF:0000115", records)
annotations = list(map(as_annotation, records))
annotations.sort(key=key)
for _, similar_iter in it.groupby(annotations, key):
similar = list(similar_iter)
if len(similar) == 1:
yield similar[0]
continue
merged = similar.pop(0)
for ann in similar:
merged.publications.extend(ann.publications)
merged.extensions.extend(ann.extensions)
yield merged
| 32.608696
| 78
| 0.705333
|
a1de42bca41435ab1fcee6be72dc3c5270cfb068
| 6,178
|
py
|
Python
|
chemdataextractor/scrape/pub/springer.py
|
materialsintelligence/deprecated-cde-selfcontained-nodawg
|
f899d64c7e09be1b56cd1d90ba34b86b4270e78a
|
[
"MIT"
] | 199
|
2016-10-07T06:55:23.000Z
|
2022-03-29T09:50:03.000Z
|
chemdataextractor/scrape/pub/springer.py
|
qingtong00/ChemDataExtractor
|
349a3bea965f2073141d62043b89319222e46af1
|
[
"MIT"
] | 29
|
2016-10-04T08:56:05.000Z
|
2022-03-06T19:36:55.000Z
|
chemdataextractor/scrape/pub/springer.py
|
qingtong00/ChemDataExtractor
|
349a3bea965f2073141d62043b89319222e46af1
|
[
"MIT"
] | 95
|
2016-10-10T14:24:27.000Z
|
2022-03-16T18:30:00.000Z
|
# -*- coding: utf-8 -*-
"""
chemdataextractor.scrape.springer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tools for scraping documents from Springer, Biomed Central and Chemistry Central XML files.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import logging
from ...text.normalize import normalize
from ...text.processors import Chain, LStrip, RStrip, Discard
from ..clean import Cleaner
from ..entity import Entity
from ..fields import StringField, EntityField, UrlField, IntField
log = logging.getLogger(__name__)
#: XML stripper that also kills equations/formulas.
strip_springer_xml = Cleaner(strip_xpath='.//*', kill_xpath='.//display-formula|.//inline-formula|.//m:math|.//abbrgrp', namespaces={'m': 'http://www.w3.org/1998/Math/MathML'})
#: XML stripper that also kills headings
strip_springer_abstract_xml = Cleaner(strip_xpath='.//*', kill_xpath='.//display-formula|.//inline-formula|.//m:math|.//abbrgrp|.//st', namespaces={'m': 'http://www.w3.org/1998/Math/MathML'})
def tidy_springer_references(document):
"""Remove punctuation around references like brackets, commas, hyphens."""
def strip_preceding(text):
stext = text.rstrip()
if stext.endswith('[') or stext.endswith('('):
#log.debug('%s -> %s' % (text, stext[:-1]))
return stext[:-1]
return text
def strip_between(text):
stext = text.strip()
if stext in {',', '-', '\u2013'}:
#log.debug('%s -> %s' % (text, ''))
return ''
return text
def strip_following(text):
stext = text.lstrip()
if stext.startswith(']') or stext.startswith(')'):
#log.debug('%s -> %s' % (text, stext[1:]))
return stext[1:]
return text
for ref in document.xpath('.//abbrgrp'):
parent = ref.getparent()
previous = ref.getprevious()
next = ref.getnext()
if previous is None:
parent.text = strip_preceding(parent.text or '')
else:
previous.tail = strip_preceding(previous.tail or '')
if next is not None and next.tag == 'abbrgrp':
ref.tail = strip_between(ref.tail or '')
ref.tail = strip_following(ref.tail or '')
return document
class SpringerXmlAuthor(Entity):
"""Author information from a Springer XML file."""
firstname = StringField('./fnm', xpath=True, strip=True)
middlename = StringField('./mnm|./mi', xpath=True, strip=True)
lastname = StringField('./snm', xpath=True, strip=True)
suffix = StringField('./suf', xpath=True, strip=True)
email = StringField('./email', xpath=True, strip=True)
process_email = Discard('')
class SpringerXmlImage(Entity):
"""Figure information from a Springer XML file."""
label = StringField('./title', xpath=True, strip=True)
caption = StringField('./text', xpath=True, strip=True)
reference = StringField('@id', xpath=True, strip=True)
clean_caption = strip_springer_xml
process_caption = normalize
class SpringerXmlTable(Entity):
"""Table information from a Springer XML file."""
label = StringField('./title', xpath=True, strip=True)
caption = StringField('./caption', xpath=True, strip=True)
reference = StringField('@id', xpath=True, strip=True)
src = StringField('.', xpath=True, strip=True, raw=True)
clean_caption = strip_springer_xml
process_caption = normalize
class SpringerXmlDocument(Entity):
"""Document information from a Springer XML file."""
ui = StringField('/art/ui/text()', xpath=True, strip=True)
doi = StringField('/art/fm/bibl/xrefbib//pubid[@idtype="doi"]/text()', xpath=True, lower=True)
title = StringField('/art/fm/bibl/title', xpath=True, strip=True)
authors = EntityField(SpringerXmlAuthor, '/art/fm/bibl/aug/au', xpath=True, all=True)
journal = StringField('/art/fm/bibl/source/text()', xpath=True, strip=True)
firstpage = StringField('/art/fm/bibl/fpage/text()', xpath=True, strip=True)
year = IntField('/art/fm/bibl/pubdate/text()', xpath=True)
volume = StringField('/art/fm/bibl/volume/text()', xpath=True, strip=True)
issue = StringField('/art/fm/bibl/issue/text()', xpath=True, strip=True)
issn = StringField('/art/fm/bibl/issn/text()', xpath=True, strip=True)
landing_url = UrlField('/art/fm/bibl/url/text()', xpath=True)
abstract = StringField('/art/fm/abs/sec/p|/art/fm/abs', xpath=True, strip=True)
published_year = IntField('/art/fm/history/pub/date/year/text()', xpath=True)
published_month = IntField('/art/fm/history/pub/date/month/text()', xpath=True)
published_day = IntField('/art/fm/history/pub/date/day/text()', xpath=True)
accepted_year = IntField('/art/fm/history/acc/date/year/text()', xpath=True)
accepted_month = IntField('/art/fm/history/acc/date/month/text()', xpath=True)
accepted_day = IntField('/art/fm/history/acc/date/day/text()', xpath=True)
received_year = IntField('/art/fm/history/rec/date/year/text()', xpath=True)
received_month = IntField('/art/fm/history/rec/date/month/text()', xpath=True)
received_day = IntField('/art/fm/history/rec/date/day/text()', xpath=True)
license = UrlField('/art/fm/cpyrt/note/url/text()', xpath=True, strip=True)
figures = EntityField(SpringerXmlImage, '/art/bdy//fig', xpath=True, all=True)
schemes = EntityField(SpringerXmlImage, '/art/bdy//scheme', xpath=True, all=True)
tables = EntityField(SpringerXmlTable, '/art/bdy//tbl|/art/bdy//table', xpath=True, all=True)
headings = StringField('/art/bdy//st', xpath=True, strip=True, all=True)
paragraphs = StringField('/art/bdy//sec/p', xpath=True, strip=True, all=True)
clean_title = strip_springer_xml
clean_abstract = Chain(tidy_springer_references, strip_springer_abstract_xml)
clean_headings = strip_springer_xml
clean_paragraphs = Chain(tidy_springer_references, strip_springer_xml)
process_abstract = normalize
process_headings = normalize
process_paragraphs = Chain(normalize, Discard(''))
process_license = Chain(LStrip('('), RStrip(')'))
| 43.202797
| 191
| 0.673357
|
542625c2cd04c7449ca14f4e6328695b96bcdd6a
| 33
|
py
|
Python
|
elichika/elichika/parser/config.py
|
kuenishi/chainer-compiler
|
942c3b09759d0857ddc7c6bb93b81117d011ff50
|
[
"MIT"
] | null | null | null |
elichika/elichika/parser/config.py
|
kuenishi/chainer-compiler
|
942c3b09759d0857ddc7c6bb93b81117d011ff50
|
[
"MIT"
] | null | null | null |
elichika/elichika/parser/config.py
|
kuenishi/chainer-compiler
|
942c3b09759d0857ddc7c6bb93b81117d011ff50
|
[
"MIT"
] | null | null | null |
import sys
show_warnings = True
| 8.25
| 20
| 0.787879
|
b9ca5a2834c64ac5f95960f021e2046243f97686
| 8,804
|
py
|
Python
|
examples/STRUMPACK/strumpack_MLA_KRR.py
|
kadircs/GPTune
|
4a6d35f1080a99e85f838ed3180c7221f4600175
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
examples/STRUMPACK/strumpack_MLA_KRR.py
|
kadircs/GPTune
|
4a6d35f1080a99e85f838ed3180c7221f4600175
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
examples/STRUMPACK/strumpack_MLA_KRR.py
|
kadircs/GPTune
|
4a6d35f1080a99e85f838ed3180c7221f4600175
|
[
"BSD-3-Clause-LBNL"
] | null | null | null |
#! /usr/bin/env python3
# GPTune Copyright (c) 2019, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S.Dept. of Energy) and the University of
# California, Berkeley. All rights reserved.
#
# If you have questions about your rights to use or distribute this software,
# please contact Berkeley Lab's Intellectual Property Office at IPO@lbl.gov.
#
# NOTICE. This Software was developed under funding from the U.S. Department
# of Energy and the U.S. Government consequently retains certain rights.
# As such, the U.S. Government has been granted for itself and others acting
# on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in
# the Software to reproduce, distribute copies to the public, prepare
# derivative works, and perform publicly and display publicly, and to permit
# other to do so.
#
################################################################################
"""
Example of invocation of this script:
mpirun -n 1 python ./strumpack_MLA_KRR.py -ntask 1 -nrun 20 -npernode 32
where:
-npernode is the number of MPIs per node for launching the application code
-ntask is the number of different matrix sizes that will be tuned
-nrun is the number of calls per task
"""
################################################################################
import sys
import os
import numpy as np
import argparse
import pickle
import mpi4py
from mpi4py import MPI
from array import array
import math
sys.path.insert(0, os.path.abspath(__file__ + "/../../../GPTune/"))
from gptune import * # import all
from autotune.problem import *
from autotune.space import *
from autotune.search import *
from callopentuner import OpenTuner
from callhpbandster import HpBandSter
import math
################################################################################
def objectives(point): # should always use this name for user-defined objective function
#########################################
##### constants defined in TuningProblem
nodes = point['nodes']
cores = point['cores']
npernode = point['npernode']
#########################################
datafile = point['datafile']
h = 10**point['h']
Lambda = 10**point['Lambda']
nproc = nodes*npernode
nthreads = int(cores / npernode)
params = ['datafile', datafile, 'h', h,'Lambda', Lambda,'nthreads', nthreads, 'npernode', npernode, 'nproc',nproc]
RUNDIR = os.path.abspath(__file__ + "/../STRUMPACK/examples")
INPUTDIR = os.path.abspath(__file__ + "/../STRUMPACK/examples")
TUNER_NAME = os.environ['TUNER_NAME']
""" pass some parameters through environment variables """
info = MPI.Info.Create()
envstr= 'OMP_NUM_THREADS=%d\n' %(nthreads)
print('OMP_NUM_THREADS=%d\n' %(nthreads))
info.Set('env',envstr)
info.Set('npernode','%d'%(npernode)) # YL: npernode is deprecated in openmpi 4.0, but no other parameter (e.g. 'map-by') works
# datafile = "data/susy_10Kn"
# h = 0.1
# Lambda = 3.11
degree = 1 # only used when kernel=ANOVA (degree<=d) in KernelRegressionMPI.py
""" use MPI spawn to call the executable, and pass the other parameters and inputs through command line """
# print('exec', "%s/testPoisson3dMPIDist"%(RUNDIR), 'args', ['%s'%(gridsize), '1', '--sp_reordering_method', '%s'%(sp_reordering_method),'--sp_matching', '0','--sp_compression', '%s'%(sp_compression1),'--sp_nd_param', '%s'%(sp_nd_param),'--sp_compression_min_sep_size', '%s'%(sp_compression_min_sep_size),'--sp_compression_min_front_size', '%s'%(sp_compression_min_front_size),'--sp_compression_leaf_size', '%s'%(sp_compression_leaf_size)]+extra_str, 'nproc', nproc, 'env', 'OMP_NUM_THREADS=%d' %(nthreads))
comm = MPI.COMM_SELF.Spawn("%s/KernelRegressionMPI.py"%(RUNDIR), args=['%s/%s'%(INPUTDIR,datafile), '%s'%(h),'%s'%(Lambda),'%s'%(degree)], maxprocs=nproc,info=info)
""" gather the return value using the inter-communicator """
tmpdata = np.array([0],dtype=np.float64)
comm.Reduce(sendbuf=None, recvbuf=[tmpdata,MPI.DOUBLE],op=MPI.MAX,root=mpi4py.MPI.ROOT)
comm.Disconnect()
retval = tmpdata[0]
print(params, ' krr prediction accuracy (%): ', retval)
return [-retval]
def main():
# Parse command line arguments
args = parse_args()
# Extract arguments
ntask = args.ntask
npernode = args.npernode
optimization = args.optimization
nrun = args.nrun
TUNER_NAME = args.optimization
(machine, processor, nodes, cores) = GetMachineConfiguration()
print ("machine: " + machine + " processor: " + processor + " num_nodes: " + str(nodes) + " num_cores: " + str(cores))
os.environ['MACHINE_NAME'] = machine
os.environ['TUNER_NAME'] = TUNER_NAME
datafiles = ["data/susy_10Kn"]
# Task input parameters
datafile = Categoricalnorm (datafiles, transform="onehot", name="datafile")
# Tuning parameters
h = Real(-10, 10, transform="normalize", name="h")
Lambda = Real(-10, 10, transform="normalize", name="Lambda")
# npernode = Integer (int(math.log2(nprocmin_pernode)), int(math.log2(cores)), transform="normalize", name="npernode")
result = Real (0 , float("Inf"),name="r")
IS = Space([datafile])
# PS = Space([h,Lambda,npernode])
PS = Space([h,Lambda])
OS = Space([result])
constraints = {}
models = {}
constants={"nodes":nodes,"cores":cores,"npernode":npernode}
""" Print all input and parameter samples """
print(IS, PS, OS, constraints, models)
problem = TuningProblem(IS, PS, OS, objectives, constraints, constants=constants)
computer = Computer(nodes = nodes, cores = cores, hosts = None)
""" Set and validate options """
options = Options()
options['model_processes'] = 1
# options['model_threads'] = 1
options['model_restarts'] = 1
# options['search_multitask_processes'] = 1
# options['model_restart_processes'] = 1
options['distributed_memory_parallelism'] = False
options['shared_memory_parallelism'] = False
options['model_class '] = 'Model_LCM' # 'Model_GPy_LCM'
options['verbose'] = False
options.validate(computer = computer)
# """ Building MLA with the given list of tasks """
giventask = [["data/susy_10Kn"]]
data = Data(problem)
if(TUNER_NAME=='GPTune'):
gt = GPTune(problem, computer=computer, data=data, options=options, driverabspath=os.path.abspath(__file__))
NI = len(giventask)
NS = nrun
(data, model, stats) = gt.MLA(NS=NS, NI=NI, Igiven=giventask, NS1=max(NS//2, 1))
print("stats: ", stats)
""" Print all input and parameter samples """
for tid in range(NI):
print("tid: %d"%(tid))
print(" matrix:%s"%(data.I[tid][0]))
print(" Ps ", data.P[tid])
print(" Os ", -data.O[tid])
print(' Popt ', data.P[tid][np.argmin(data.O[tid])], 'Oopt ', -min(data.O[tid])[0], 'nth ', np.argmin(data.O[tid]))
if(TUNER_NAME=='opentuner'):
NI = ntask
NS = nrun
(data,stats) = OpenTuner(T=giventask, NS=NS, tp=problem, computer=computer, run_id="OpenTuner", niter=1, technique=None)
print("stats: ", stats)
""" Print all input and parameter samples """
for tid in range(NI):
print("tid: %d"%(tid))
print(" matrix:%s"%(data.I[tid][0]))
print(" Ps ", data.P[tid])
print(" Os ", -data.O[tid])
print(' Popt ', data.P[tid][np.argmin(data.O[tid])], 'Oopt ', -min(data.O[tid])[0], 'nth ', np.argmin(data.O[tid]))
if(TUNER_NAME=='hpbandster'):
NI = ntask
NS = nrun
(data,stats)=HpBandSter(T=giventask, NS=NS, tp=problem, computer=computer, run_id="HpBandSter", niter=1)
print("stats: ", stats)
""" Print all input and parameter samples """
for tid in range(NI):
print("tid: %d"%(tid))
print(" matrix:%s"%(data.I[tid][0]))
print(" Ps ", data.P[tid])
print(" Os ", -data.O[tid])
print(' Popt ', data.P[tid][np.argmin(data.O[tid])], 'Oopt ', -min(data.O[tid])[0], 'nth ', np.argmin(data.O[tid]))
def parse_args():
parser = argparse.ArgumentParser()
# Problem related arguments
# Machine related arguments
parser.add_argument('-nodes', type=int, default=1, help='Number of machine nodes')
parser.add_argument('-cores', type=int, default=1, help='Number of cores per machine node')
parser.add_argument('-npernode', type=int, default=1,help='Minimum number of MPIs per machine node for the application code')
parser.add_argument('-machine', type=str, help='Name of the computer (not hostname)')
# Algorithm related arguments
parser.add_argument('-optimization', type=str,default='GPTune',help='Optimization algorithm (opentuner, hpbandster, GPTune)')
parser.add_argument('-ntask', type=int, default=-1, help='Number of tasks')
parser.add_argument('-nrun', type=int, help='Number of runs per task')
args = parser.parse_args()
return args
if __name__ == "__main__":
main()
| 35.788618
| 508
| 0.661745
|
8bbc1b1838beb7829dc5b27804a61604d1bff5d7
| 10,343
|
py
|
Python
|
utils.py
|
lihenryhfl/projection_stg
|
4affabf6b5c4033a1b636073ed535facc887340c
|
[
"MIT"
] | null | null | null |
utils.py
|
lihenryhfl/projection_stg
|
4affabf6b5c4033a1b636073ed535facc887340c
|
[
"MIT"
] | null | null | null |
utils.py
|
lihenryhfl/projection_stg
|
4affabf6b5c4033a1b636073ed535facc887340c
|
[
"MIT"
] | null | null | null |
# Taken from https://github.com/davebiagioni/pyomp
import numpy as np
from scipy.optimize import nnls
class Result(object):
"""Result object for storing input and output data for omp. When called from
`omp`, runtime parameters are passed as keyword arguments and stored in the
`params` dictionary.
Attributes:
X: Predictor array after (optional) standardization.
y: Response array after (optional) standarization.
ypred: Predicted response.
residual: Residual vector.
coef: Solution coefficients.
active: Indices of the active (non-zero) coefficient set.
err: Relative error per iteration.
params: Dictionary of runtime parameters passed as keyword args.
"""
def __init__(self, **kwargs):
# to be computed
self.X = None
self.y = None
self.ypred = None
self.residual = None
self.coef = None
self.active = None
self.err = None
# runtime parameters
self.params = {}
for key, val in kwargs.items():
self.params[key] = val
def update(self, coef, active, err, residual, ypred):
"""Update the solution attributes."""
self.coef = coef
self.active = active
self.err = err
self.residual = residual
self.ypred = ypred
def omp(
X, y, const, nonneg=True, ncoef=None, maxit=5000, tol=1e-5, ztol=1e-14, verbose=True
):
"""Compute sparse orthogonal matching pursuit solution with unconstrained
or non-negative coefficients.
Args:
X: Dictionary array of size n_samples x n_features.
y: Reponse array of size n_samples x 1.
nonneg: Enforce non-negative coefficients.
ncoef: Max number of coefficients. Set to n_features/2 by default.
tol: Convergence tolerance. If relative error is less than
tol * ||y||_2, exit.
ztol: Residual covariance threshold. If all coefficients are less
than ztol * ||y||_2, exit.
verbose: Boolean, print some info at each iteration.
Returns:
result: Result object. See Result.__doc__
"""
def norm2(x):
return np.linalg.norm(x) / np.sqrt(len(x))
# initialize result object
result = Result(nnoneg=nonneg, ncoef=ncoef, maxit=maxit, tol=tol, ztol=ztol)
# if verbose:
# print(result.params)
# check types, try to make somewhat user friendly
if type(X) is not np.ndarray:
X = np.array(X)
if type(y) is not np.ndarray:
y = np.array(y)
# check that n_samples match
if X.shape[0] != len(y):
# print('X and y must have same number of rows (samples)')
return result
# store arrays in result object
result.y = y
result.X = X
# for rest of call, want y to have ndim=1
if np.ndim(y) > 1:
y = np.reshape(y, (len(y),))
# by default set max number of coef to half of total possible
if ncoef is None:
ncoef = int(X.shape[1] / 2)
# initialize things
X_transpose = X.T # store for repeated use
# active = np.array([], dtype=int) # initialize list of active set
active = []
coef = np.zeros(X.shape[1], dtype=float) # solution vector
residual = y # residual vector
ypred = np.zeros(y.shape, dtype=float)
ynorm = norm2(y) # store for computing relative err
err = np.zeros(maxit, dtype=float) # relative err vector
# Check if response has zero norm, because then we're done. This can happen
# in the corner case where the response is constant and you normalize it.
if ynorm < tol: # the same as ||residual|| < tol * ||residual||
# print('Norm of the response is less than convergence tolerance.')
result.update(coef, active, err[0], residual, ypred)
return result
# convert tolerances to relative
tol = tol * ynorm # convergence tolerance
ztol = ztol * ynorm # threshold for residual covariance
# if verbose:
# print('\nIteration, relative error, number of non-zeros')
# main iteration
for it in range(maxit):
# compute residual covariance vector and check threshold
rcov = np.dot(X_transpose, residual)
if nonneg:
i = np.argmax(rcov)
rc = rcov[i]
else:
# i = np.argmax(np.abs(rcov))
# print(rcov)
norm_x = np.diag(np.matmul(X_transpose, X))
est = rcov / np.sqrt(norm_x)
prob_exp = np.exp((0.5 * const) * est ** 2)
prob_exp = prob_exp / np.sum(prob_exp)
ind = np.arange(0, prob_exp.shape[0])
i = np.random.choice(ind, size=1, replace=True, p=prob_exp)[0]
# print(l)
rc = np.abs(rcov[i])
if rc < ztol:
# print('All residual covariances are below threshold.')
break
# update active set
if i not in active:
# active = np.concatenate([active, [i]], axis=1)
active.append(i)
# solve for new coefficients on active set
if nonneg:
coefi, _ = nnls(X[:, active], y)
else:
coefi, _, _, _ = np.linalg.lstsq(X[:, active], y)
coef[active] = coefi # update solution
# update residual vector and error
residual = y - np.dot(X[:, active], coefi)
ypred = y - residual
err[it] = norm2(residual) / ynorm
# print status
# if verbose:
# print('{}, {}, {}'.format(it, err[it], len(active)))
# check stopping criteria
if err[it] < tol: # converged
print("\nConverged.")
break
if len(active) >= ncoef: # hit max coefficients
break
# print('\nFound solution with max number of coefficients.')
# break
if it == maxit - 1: # max iterations
print("\nHit max iterations.")
result.update(coef, active, err[: (it + 1)], residual, ypred)
return result
def omp_orig(
X, y, const, nonneg=True, ncoef=None, maxit=5000, tol=1e-5, ztol=1e-14, verbose=True
):
"""Compute sparse orthogonal matching pursuit solution with unconstrained
or non-negative coefficients.
Args:
X: Dictionary array of size n_samples x n_features.
y: Reponse array of size n_samples x 1.
nonneg: Enforce non-negative coefficients.
ncoef: Max number of coefficients. Set to n_features/2 by default.
tol: Convergence tolerance. If relative error is less than
tol * ||y||_2, exit.
ztol: Residual covariance threshold. If all coefficients are less
than ztol * ||y||_2, exit.
verbose: Boolean, print some info at each iteration.
Returns:
result: Result object. See Result.__doc__
"""
def norm2(x):
return np.linalg.norm(x) / np.sqrt(len(x))
# initialize result object
result = Result(nnoneg=nonneg, ncoef=ncoef, maxit=maxit, tol=tol, ztol=ztol)
# if verbose:
# print(result.params)
# check types, try to make somewhat user friendly
if type(X) is not np.ndarray:
X = np.array(X)
if type(y) is not np.ndarray:
y = np.array(y)
# check that n_samples match
if X.shape[0] != len(y):
# print('X and y must have same number of rows (samples)')
return result
# store arrays in result object
result.y = y
result.X = X
# for rest of call, want y to have ndim=1
if np.ndim(y) > 1:
y = np.reshape(y, (len(y),))
# by default set max number of coef to half of total possible
if ncoef is None:
ncoef = int(X.shape[1] / 2)
# initialize things
X_transpose = X.T # store for repeated use
# active = np.array([], dtype=int) # initialize list of active set
active = []
coef = np.zeros(X.shape[1], dtype=float) # solution vector
residual = y # residual vector
ypred = np.zeros(y.shape, dtype=float)
ynorm = norm2(y) # store for computing relative err
err = np.zeros(maxit, dtype=float) # relative err vector
# Check if response has zero norm, because then we're done. This can happen
# in the corner case where the response is constant and you normalize it.
if ynorm < tol: # the same as ||residual|| < tol * ||residual||
# print('Norm of the response is less than convergence tolerance.')
result.update(coef, active, err[0], residual, ypred)
return result
# convert tolerances to relative
tol = tol * ynorm # convergence tolerance
ztol = ztol * ynorm # threshold for residual covariance
# if verbose:
# print('\nIteration, relative error, number of non-zeros')
# main iteration
for it in range(maxit):
# compute residual covariance vector and check threshold
rcov = np.dot(X_transpose, residual)
if nonneg:
i = np.argmax(rcov)
rc = rcov[i]
else:
i = np.argmax(np.abs(rcov))
# print(rcov)
rc = np.abs(rcov[i])
if rc < ztol:
# print('All residual covariances are below threshold.')
break
# update active set
if i not in active:
# active = np.concatenate([active, [i]], axis=1)
active.append(i)
# solve for new coefficients on active set
if nonneg:
coefi, _ = nnls(X[:, active], y)
else:
coefi, _, _, _ = np.linalg.lstsq(X[:, active], y)
coef[active] = coefi # update solution
# update residual vector and error
residual = y - np.dot(X[:, active], coefi)
ypred = y - residual
err[it] = norm2(residual) / ynorm
# print status
# if verbose:
# print('{}, {}, {}'.format(it, err[it], len(active)))
# check stopping criteria
if err[it] < tol: # converged
print("\nConverged.")
break
if len(active) >= ncoef: # hit max coefficients
break
# print('\nFound solution with max number of coefficients.')
# break
if it == maxit - 1: # max iterations
print("\nHit max iterations.")
result.update(coef, active, err[: (it + 1)], residual, ypred)
return result
| 33.472492
| 88
| 0.589577
|
0a42aa946eee7d245198517945624ed6ddd3d988
| 2,440
|
py
|
Python
|
tests/project/packages/test_install.py
|
drLis/brownie
|
bf1e1056df70b7696e298ce695b18291fb5f9b2f
|
[
"MIT"
] | null | null | null |
tests/project/packages/test_install.py
|
drLis/brownie
|
bf1e1056df70b7696e298ce695b18291fb5f9b2f
|
[
"MIT"
] | null | null | null |
tests/project/packages/test_install.py
|
drLis/brownie
|
bf1e1056df70b7696e298ce695b18291fb5f9b2f
|
[
"MIT"
] | null | null | null |
import shutil
import pytest
import yaml
from brownie._config import _get_data_folder
from brownie.exceptions import InvalidPackage
from brownie.project.main import install_package
@pytest.fixture(autouse=True)
def setup(package_test):
yield
path = _get_data_folder().joinpath("packages")
shutil.rmtree(path)
path.mkdir()
@pytest.fixture
def dependentproject(newproject):
with newproject._path.joinpath("brownie-config.yaml").open() as fp:
config = yaml.safe_load(fp)
config["dependencies"] = ["brownie-mix/token-mix@1.0.0"]
with newproject._path.joinpath("brownie-config.yaml").open("w") as fp:
yaml.dump(config, fp)
yield newproject
def test_install_from_github():
install_package("brownie-mix/token-mix@1.0.0")
def test_install_from_ethpm(ipfs_mock):
install_package("ethpm://zeppelin.snakecharmers.eth:1/access@1.0.0")
def test_github_already_installed():
path = _get_data_folder().joinpath("packages/brownie-mix")
path.mkdir()
path.joinpath("token-mix@1.0.0").mkdir()
with pytest.raises(FileExistsError):
install_package("brownie-mix/token-mix@1.0.0")
def test_ethpm_already_installed():
path = _get_data_folder().joinpath("packages/zeppelin.snakecharmers.eth")
path.mkdir()
path.joinpath("access@1.0.0").mkdir()
with pytest.raises(FileExistsError):
install_package("ethpm://zeppelin.snakecharmers.eth:1/access@1.0.0")
def test_unknown_version():
with pytest.raises(ValueError):
install_package("brownie-mix/token-mix@1.0.1")
def test_bad_project_id_version():
with pytest.raises(ValueError):
install_package("brownie-mix/token-mix")
def test_bad_project_id_repo_org():
with pytest.raises(ValueError):
install_package("token-mix@1.0.0")
def test_valid_repo_not_a_project():
with pytest.raises(InvalidPackage):
install_package("iamdefinitelyahuman/eth-event@0.2.2")
assert not _get_data_folder().joinpath("packages/iamdefinitelyahuman/eth-event@0.2.2").exists()
def test_install_from_config_dependencies(dependentproject):
package_folder = _get_data_folder().joinpath("packages/brownie-mix/token-mix@1.0.0")
assert not package_folder.exists()
dependentproject.load()
assert package_folder.exists()
def test_dependency_already_installed(dependentproject):
install_package("brownie-mix/token-mix@1.0.0")
dependentproject.load()
| 27.41573
| 99
| 0.736885
|
96e0378e5068bf415910697ab7e6559173b660d1
| 18,662
|
py
|
Python
|
synapse/storage/databases/main/state.py
|
Erethon/synapse
|
d13863d6eb4b3a1ce1ca4a702ae30d4f8808e51f
|
[
"Apache-2.0"
] | null | null | null |
synapse/storage/databases/main/state.py
|
Erethon/synapse
|
d13863d6eb4b3a1ce1ca4a702ae30d4f8808e51f
|
[
"Apache-2.0"
] | null | null | null |
synapse/storage/databases/main/state.py
|
Erethon/synapse
|
d13863d6eb4b3a1ce1ca4a702ae30d4f8808e51f
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
# Copyright 2014-2016 OpenMarket Ltd
# Copyright 2020 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import collections.abc
import logging
from collections import namedtuple
from typing import Iterable, Optional, Set
from synapse.api.constants import EventTypes, Membership
from synapse.api.errors import NotFoundError, UnsupportedRoomVersionError
from synapse.api.room_versions import KNOWN_ROOM_VERSIONS, RoomVersion
from synapse.events import EventBase
from synapse.storage._base import SQLBaseStore
from synapse.storage.database import DatabasePool
from synapse.storage.databases.main.events_worker import EventsWorkerStore
from synapse.storage.databases.main.roommember import RoomMemberWorkerStore
from synapse.storage.state import StateFilter
from synapse.util.caches import intern_string
from synapse.util.caches.descriptors import cached, cachedList
logger = logging.getLogger(__name__)
MAX_STATE_DELTA_HOPS = 100
class _GetStateGroupDelta(
namedtuple("_GetStateGroupDelta", ("prev_group", "delta_ids"))
):
"""Return type of get_state_group_delta that implements __len__, which lets
us use the itrable flag when caching
"""
__slots__ = []
def __len__(self):
return len(self.delta_ids) if self.delta_ids else 0
# this inherits from EventsWorkerStore because it calls self.get_events
class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore):
"""The parts of StateGroupStore that can be called from workers.
"""
def __init__(self, database: DatabasePool, db_conn, hs):
super(StateGroupWorkerStore, self).__init__(database, db_conn, hs)
async def get_room_version(self, room_id: str) -> RoomVersion:
"""Get the room_version of a given room
Raises:
NotFoundError: if the room is unknown
UnsupportedRoomVersionError: if the room uses an unknown room version.
Typically this happens if support for the room's version has been
removed from Synapse.
"""
room_version_id = await self.get_room_version_id(room_id)
v = KNOWN_ROOM_VERSIONS.get(room_version_id)
if not v:
raise UnsupportedRoomVersionError(
"Room %s uses a room version %s which is no longer supported"
% (room_id, room_version_id)
)
return v
@cached(max_entries=10000)
async def get_room_version_id(self, room_id: str) -> str:
"""Get the room_version of a given room
Raises:
NotFoundError: if the room is unknown
"""
# First we try looking up room version from the database, but for old
# rooms we might not have added the room version to it yet so we fall
# back to previous behaviour and look in current state events.
# We really should have an entry in the rooms table for every room we
# care about, but let's be a bit paranoid (at least while the background
# update is happening) to avoid breaking existing rooms.
version = await self.db_pool.simple_select_one_onecol(
table="rooms",
keyvalues={"room_id": room_id},
retcol="room_version",
desc="get_room_version",
allow_none=True,
)
if version is not None:
return version
# Retrieve the room's create event
create_event = await self.get_create_event_for_room(room_id)
return create_event.content.get("room_version", "1")
async def get_room_predecessor(self, room_id: str) -> Optional[dict]:
"""Get the predecessor of an upgraded room if it exists.
Otherwise return None.
Args:
room_id: The room ID.
Returns:
A dictionary containing the structure of the predecessor
field from the room's create event. The structure is subject to other servers,
but it is expected to be:
* room_id (str): The room ID of the predecessor room
* event_id (str): The ID of the tombstone event in the predecessor room
None if a predecessor key is not found, or is not a dictionary.
Raises:
NotFoundError if the given room is unknown
"""
# Retrieve the room's create event
create_event = await self.get_create_event_for_room(room_id)
# Retrieve the predecessor key of the create event
predecessor = create_event.content.get("predecessor", None)
# Ensure the key is a dictionary
if not isinstance(predecessor, collections.abc.Mapping):
return None
return predecessor
async def get_create_event_for_room(self, room_id: str) -> EventBase:
"""Get the create state event for a room.
Args:
room_id: The room ID.
Returns:
The room creation event.
Raises:
NotFoundError if the room is unknown
"""
state_ids = await self.get_current_state_ids(room_id)
create_id = state_ids.get((EventTypes.Create, ""))
# If we can't find the create event, assume we've hit a dead end
if not create_id:
raise NotFoundError("Unknown room %s" % (room_id,))
# Retrieve the room's create event and return
create_event = await self.get_event(create_id)
return create_event
@cached(max_entries=100000, iterable=True)
def get_current_state_ids(self, room_id):
"""Get the current state event ids for a room based on the
current_state_events table.
Args:
room_id (str)
Returns:
deferred: dict of (type, state_key) -> event_id
"""
def _get_current_state_ids_txn(txn):
txn.execute(
"""SELECT type, state_key, event_id FROM current_state_events
WHERE room_id = ?
""",
(room_id,),
)
return {(intern_string(r[0]), intern_string(r[1])): r[2] for r in txn}
return self.db_pool.runInteraction(
"get_current_state_ids", _get_current_state_ids_txn
)
# FIXME: how should this be cached?
def get_filtered_current_state_ids(
self, room_id: str, state_filter: StateFilter = StateFilter.all()
):
"""Get the current state event of a given type for a room based on the
current_state_events table. This may not be as up-to-date as the result
of doing a fresh state resolution as per state_handler.get_current_state
Args:
room_id
state_filter: The state filter used to fetch state
from the database.
Returns:
defer.Deferred[StateMap[str]]: Map from type/state_key to event ID.
"""
where_clause, where_args = state_filter.make_sql_filter_clause()
if not where_clause:
# We delegate to the cached version
return self.get_current_state_ids(room_id)
def _get_filtered_current_state_ids_txn(txn):
results = {}
sql = """
SELECT type, state_key, event_id FROM current_state_events
WHERE room_id = ?
"""
if where_clause:
sql += " AND (%s)" % (where_clause,)
args = [room_id]
args.extend(where_args)
txn.execute(sql, args)
for row in txn:
typ, state_key, event_id = row
key = (intern_string(typ), intern_string(state_key))
results[key] = event_id
return results
return self.db_pool.runInteraction(
"get_filtered_current_state_ids", _get_filtered_current_state_ids_txn
)
async def get_canonical_alias_for_room(self, room_id: str) -> Optional[str]:
"""Get canonical alias for room, if any
Args:
room_id: The room ID
Returns:
The canonical alias, if any
"""
state = await self.get_filtered_current_state_ids(
room_id, StateFilter.from_types([(EventTypes.CanonicalAlias, "")])
)
event_id = state.get((EventTypes.CanonicalAlias, ""))
if not event_id:
return
event = await self.get_event(event_id, allow_none=True)
if not event:
return
return event.content.get("canonical_alias")
@cached(max_entries=50000)
def _get_state_group_for_event(self, event_id):
return self.db_pool.simple_select_one_onecol(
table="event_to_state_groups",
keyvalues={"event_id": event_id},
retcol="state_group",
allow_none=True,
desc="_get_state_group_for_event",
)
@cachedList(
cached_method_name="_get_state_group_for_event",
list_name="event_ids",
num_args=1,
inlineCallbacks=True,
)
def _get_state_group_for_events(self, event_ids):
"""Returns mapping event_id -> state_group
"""
rows = yield self.db_pool.simple_select_many_batch(
table="event_to_state_groups",
column="event_id",
iterable=event_ids,
keyvalues={},
retcols=("event_id", "state_group"),
desc="_get_state_group_for_events",
)
return {row["event_id"]: row["state_group"] for row in rows}
async def get_referenced_state_groups(
self, state_groups: Iterable[int]
) -> Set[int]:
"""Check if the state groups are referenced by events.
Args:
state_groups
Returns:
The subset of state groups that are referenced.
"""
rows = await self.db_pool.simple_select_many_batch(
table="event_to_state_groups",
column="state_group",
iterable=state_groups,
keyvalues={},
retcols=("DISTINCT state_group",),
desc="get_referenced_state_groups",
)
return {row["state_group"] for row in rows}
class MainStateBackgroundUpdateStore(RoomMemberWorkerStore):
CURRENT_STATE_INDEX_UPDATE_NAME = "current_state_members_idx"
EVENT_STATE_GROUP_INDEX_UPDATE_NAME = "event_to_state_groups_sg_index"
DELETE_CURRENT_STATE_UPDATE_NAME = "delete_old_current_state_events"
def __init__(self, database: DatabasePool, db_conn, hs):
super(MainStateBackgroundUpdateStore, self).__init__(database, db_conn, hs)
self.server_name = hs.hostname
self.db_pool.updates.register_background_index_update(
self.CURRENT_STATE_INDEX_UPDATE_NAME,
index_name="current_state_events_member_index",
table="current_state_events",
columns=["state_key"],
where_clause="type='m.room.member'",
)
self.db_pool.updates.register_background_index_update(
self.EVENT_STATE_GROUP_INDEX_UPDATE_NAME,
index_name="event_to_state_groups_sg_index",
table="event_to_state_groups",
columns=["state_group"],
)
self.db_pool.updates.register_background_update_handler(
self.DELETE_CURRENT_STATE_UPDATE_NAME, self._background_remove_left_rooms,
)
async def _background_remove_left_rooms(self, progress, batch_size):
"""Background update to delete rows from `current_state_events` and
`event_forward_extremities` tables of rooms that the server is no
longer joined to.
"""
last_room_id = progress.get("last_room_id", "")
def _background_remove_left_rooms_txn(txn):
# get a batch of room ids to consider
sql = """
SELECT DISTINCT room_id FROM current_state_events
WHERE room_id > ? ORDER BY room_id LIMIT ?
"""
txn.execute(sql, (last_room_id, batch_size))
room_ids = [row[0] for row in txn]
if not room_ids:
return True, set()
###########################################################################
#
# exclude rooms where we have active members
sql = """
SELECT room_id
FROM local_current_membership
WHERE
room_id > ? AND room_id <= ?
AND membership = 'join'
GROUP BY room_id
"""
txn.execute(sql, (last_room_id, room_ids[-1]))
joined_room_ids = {row[0] for row in txn}
to_delete = set(room_ids) - joined_room_ids
###########################################################################
#
# exclude rooms which we are in the process of constructing; these otherwise
# qualify as "rooms with no local users", and would have their
# forward extremities cleaned up.
# the following query will return a list of rooms which have forward
# extremities that are *not* also the create event in the room - ie
# those that are not being created currently.
sql = """
SELECT DISTINCT efe.room_id
FROM event_forward_extremities efe
LEFT JOIN current_state_events cse ON
cse.event_id = efe.event_id
AND cse.type = 'm.room.create'
AND cse.state_key = ''
WHERE
cse.event_id IS NULL
AND efe.room_id > ? AND efe.room_id <= ?
"""
txn.execute(sql, (last_room_id, room_ids[-1]))
# build a set of those rooms within `to_delete` that do not appear in
# the above, leaving us with the rooms in `to_delete` that *are* being
# created.
creating_rooms = to_delete.difference(row[0] for row in txn)
logger.info("skipping rooms which are being created: %s", creating_rooms)
# now remove the rooms being created from the list of those to delete.
#
# (we could have just taken the intersection of `to_delete` with the result
# of the sql query, but it's useful to be able to log `creating_rooms`; and
# having done so, it's quicker to remove the (few) creating rooms from
# `to_delete` than it is to form the intersection with the (larger) list of
# not-creating-rooms)
to_delete -= creating_rooms
###########################################################################
#
# now clear the state for the rooms
logger.info("Deleting current state left rooms: %r", to_delete)
# First we get all users that we still think were joined to the
# room. This is so that we can mark those device lists as
# potentially stale, since there may have been a period where the
# server didn't share a room with the remote user and therefore may
# have missed any device updates.
rows = self.db_pool.simple_select_many_txn(
txn,
table="current_state_events",
column="room_id",
iterable=to_delete,
keyvalues={"type": EventTypes.Member, "membership": Membership.JOIN},
retcols=("state_key",),
)
potentially_left_users = {row["state_key"] for row in rows}
# Now lets actually delete the rooms from the DB.
self.db_pool.simple_delete_many_txn(
txn,
table="current_state_events",
column="room_id",
iterable=to_delete,
keyvalues={},
)
self.db_pool.simple_delete_many_txn(
txn,
table="event_forward_extremities",
column="room_id",
iterable=to_delete,
keyvalues={},
)
self.db_pool.updates._background_update_progress_txn(
txn,
self.DELETE_CURRENT_STATE_UPDATE_NAME,
{"last_room_id": room_ids[-1]},
)
return False, potentially_left_users
finished, potentially_left_users = await self.db_pool.runInteraction(
"_background_remove_left_rooms", _background_remove_left_rooms_txn
)
if finished:
await self.db_pool.updates._end_background_update(
self.DELETE_CURRENT_STATE_UPDATE_NAME
)
# Now go and check if we still share a room with the remote users in
# the deleted rooms. If not mark their device lists as stale.
joined_users = await self.get_users_server_still_shares_room_with(
potentially_left_users
)
for user_id in potentially_left_users - joined_users:
await self.mark_remote_user_device_list_as_unsubscribed(user_id)
return batch_size
class StateStore(StateGroupWorkerStore, MainStateBackgroundUpdateStore):
""" Keeps track of the state at a given event.
This is done by the concept of `state groups`. Every event is a assigned
a state group (identified by an arbitrary string), which references a
collection of state events. The current state of an event is then the
collection of state events referenced by the event's state group.
Hence, every change in the current state causes a new state group to be
generated. However, if no change happens (e.g., if we get a message event
with only one parent it inherits the state group from its parent.)
There are three tables:
* `state_groups`: Stores group name, first event with in the group and
room id.
* `event_to_state_groups`: Maps events to state groups.
* `state_groups_state`: Maps state group to state events.
"""
def __init__(self, database: DatabasePool, db_conn, hs):
super(StateStore, self).__init__(database, db_conn, hs)
| 36.592157
| 90
| 0.618583
|
9f3fefedb6574803b8ccb5eb76419d5aa98b80e9
| 12,958
|
py
|
Python
|
csld/basic_lattice_model.py
|
jsyony37/csld
|
b0e6d5845d807174f24ca7b591bc164c608c99c8
|
[
"MIT"
] | 16
|
2019-07-22T18:49:33.000Z
|
2022-03-04T10:22:05.000Z
|
csld/basic_lattice_model.py
|
jsyony37/csld
|
b0e6d5845d807174f24ca7b591bc164c608c99c8
|
[
"MIT"
] | 8
|
2019-07-18T20:49:55.000Z
|
2021-09-09T00:47:04.000Z
|
csld/basic_lattice_model.py
|
jsyony37/csld
|
b0e6d5845d807174f24ca7b591bc164c608c99c8
|
[
"MIT"
] | 8
|
2019-07-18T17:52:44.000Z
|
2020-09-04T11:35:04.000Z
|
#!/usr/bin/env python3
"""
This module provides the basic lattice model as used in e.g. cluster expansion, lattice dynamics
"""
import numpy as np
import logging
import scipy.sparse
from collections import Counter
from .cluster import Cluster
from .atomic_model import AtomicModel
from .util.mathtool import relativePosition
from .util.tool import pad_right, matrix2text
from _c_util import get_structure_ordering
logger = logging.getLogger(__name__)
class BasicLatticeModel(AtomicModel):
"""
A generic model with variables on the lattice:
"""
def __init__(self, prim, raw_clusters, irange=None, **kwargs):
"""
:param prim:
:param raw_clusters:
:return:
"""
self.clusters = raw_clusters
self.prim = prim
self.maxorder=kwargs['maxorder']
self.proper_range=kwargs['prange']
self.cluster_filter = kwargs['filter']
self.orbits = None
self.imp_range = irange
@classmethod
def from_file(cls, prim, clusf, **kwargs):
raw = Cluster.read_cluster(prim, clusf)
return cls(prim, raw, **kwargs)
def save_clusters(self, fname):
self.save_clusters_to_file(self.clusters, fname)
def save_clusters_to_file(self, clusters, fname):
scale = self.prim.lattice._scale
elements= self.prim.elements
sublat = self.prim.orbit_of_l
out_s = []
out_ijkl = []
for cl in clusters:
out_s.append("1\n%.8f\n%s\n%s\n" % (cl.diameter/scale, " ".join([str(i) for i in cl.orders] +
([str(i[0]) for i in cl.id] if hasattr(cl, 'id') else [])), matrix2text(pad_right(
np.array(cl.frac_coords, dtype=object), (cl.order, 5)))))
out_ijkl.append(", ".join(["%d %d %d %d %s%d"%tuple(i.tolist()+[elements[i[-1]],sublat[i[-1]]]) for i in cl._ijkls_np]))
out_ijkl[-1]+= " frac: "+ matrix2text(cl.frac_coords, ' ')
out_ijkl[-1]+= " cart: "+ matrix2text(cl.coords, ' ')
open(fname, "w").write("\n".join(out_s))
open(fname+'_ijkl', "w").write("\n".join(out_ijkl))
@classmethod
def generate_clusters(cls, prim, **kwargs):
"""
Generating PROPER clusters.
Iteratively generation starting from empty and point clusters
:param prim: Primitive cell
:return: LDModel with certain clusters
"""
sites = kwargs['sites'] if 'sites' in kwargs.keys() else list(range(prim.num_sites))
proper_range = kwargs['prange']
maxord = max([ord for ord in proper_range.keys() if proper_range[ord]>0])
raw= []
clus_per_ord = []
for ord in range(maxord+1):
clus_per_ord = cls.generate_n(prim, ord, proper_range[ord], clus_per_ord, sites)
raw.extend(clus_per_ord)
return cls(prim, raw, **kwargs)
def generate_improper(self):
"""
:return: Improper clusters
"""
improp = []
assert self.imp_range is not None, ValueError('improper range not specified')
for ord, cut in self.imp_range.items():
if ord <= 1:
continue
for clus in self.clusters:
if (clus.diameter <= cut) and (clus.order< ord) and clus.order >0:
# print("extending", ord, cut, clus)
improp.extend(Cluster.improper_from_proper(clus, ord, self.prim))
print(" generated %d improper clusters" %(len(improp)), self.tally_clusters(improp, 2, self.maxorder))
self.clusters.extend(improp)
def tally(self, minord=0):
return self.tally_clusters(self.clusters, minord, self.maxorder+1)
@staticmethod
def tally_clusters(clusters, minord=0, maxord=0):
return dict(Counter([c.order for c in clusters]))
@staticmethod
def generate_n(prim, n, cutoff, clus0, sites):
"""
Input:
prim cell
order n
cutoff for diameter of clusters
clus0 clusters at order n-1
:param sites: allowed sites in the primitive cell. Default all sites
"""
pts = [[0, 0, 0, l] for l in sites]
if n == 0:
uc = [Cluster([], prim)]
elif n == 1:
uc = [Cluster.from_ijkl([pt], prim) for pt in pts]
uc = Cluster.remove_equivalent_clusters(uc)
#assert len(uc) == prim.n_orb
elif n >= 2:
print(" generating order %d clusters..."% (n))
uc = []
for clus in clus0:
if clus.diameter > cutoff:
continue
ijkl0 = clus.ijkls
# each cluster is now sorted by the orbit (sub-lattice) type
max_id = prim.orbit_of_l[ijkl0[-1][-1]]
sumPts = prim.find_nb_cluster(np.array(clus.ijkls), cutoff)
clus_new = []
for pt_n in sumPts:
pt = pt_n.tolist()
if not pt[-1] in sites:
continue
if prim.orbit_of_l[pt[-1]] < max_id:
continue
if pt in ijkl0:
continue
clusSum = clus.append_site(pt)
if clusSum.diameter > cutoff:
continue
clus_new.append(clusSum)
clus_new = Cluster.remove_equivalent_clusters(clus_new)
uc.extend(clus_new)
uc = Cluster.remove_equivalent_clusters(uc)
return uc
def __str__(self):
if self.orbits is None:
outs= [" No. ord uniq diam"]
for i, c in enumerate(self.clusters):
outs.append("%4d %4d %4d %9.5f" % (i, c.order, c.order_uniq, c.diameter))
return "\n".join(outs)
else:
outs= [" No. ord uniq mult diam"]
for i, orb in enumerate(self.orbits):
c = orb.cluster
outs.append("%5d %4d %4d %4d %9.5f" % (i, c.order, c.order_uniq, len(orb.clusters), c.diameter))
return "\n".join(outs)
def cleanup(self):
"""
1. filter through clusters
2. move first atoms of each cluster to primitive cell
3. sort clusters
:return:
"""
self.clusters= list(filter(self.cluster_filter, self.clusters))
for i in range(len(self.clusters)):
self.clusters[i].move_to_prim()
self.clusters.sort()
def l_point_cls(self):
return [orb.cluster.ijkls[0][-1] for orb in self.orbits if orb.cluster.order==1]
def symmetrize(self):
self.Cmat = scipy.sparse.identity(self.ncorr_full)
@property
def ncorr(self): return self.Cmat.shape[0]
def prepare_index_full(self):
# implementations should set the number of correlations for each cluster.
# by default set to 1 per cluster
for orb in self.orbits:
if orb.ncorr_full<0:
print("WARNING: ncorr_full NOT set for cluster and set to 1:",orb.cluster)
orb.ncorr_full = 1
self.orb_idx_full=np.cumsum([0]+[orb.ncorr_full for orb in self.orbits])
self.ncorr_full= self.orb_idx_full[-1]
def prepare_index(self):
npara_ord = [0]*(self.maxorder+1)
for orb in self.orbits:
npara_ord[orb.cluster.order]+= orb.ncorr_full
self.ord_idx=np.cumsum([0]+npara_ord)
self.orb_idx=self.orb_idx_full
def get_orbit_isotropy(self):
"""
1. Find orbit of each cluster, modulus lattice translation
2. Find isotropy group of each representative (first) cluster of an orbit
:return: list of [orbit, isotropy]
orbit is a list of Clusters
isotropy is list of [ig, relativePos]
ig = symmop index
relativePos indexing function under this symmop
"""
if self.orbits is None:
self.orbits = Cluster.clusters_to_orbit_isotropy(self.prim, self.clusters)
return self.orbits
def translate_to_supercell(self, sc, orb_idx=None, clus_idx=None):
"""
:param sc: SupercellStructure
:return: all clusters in the supercell. Each cluster is give as
[list of the indices of the vertices, i.d. of orbit, i.d. of symop]
orb_idx: default (None) to process all; explicit e.g. [0, 3, 5] to process selected few
clus_idx: default (None) to process all; explicit e.g. [0] to process selected few
"""
# natom = self.prim.num_sites
# def match_ordering(l1, l2):
# """
# ordering such that l1[ordering] == l2
# """
# n= len(l1)
# ordering = list(range(n))
orb_range = orb_idx if orb_idx is not None else range(len(self.orbits))
allclus = []
for iorb in orb_range:
orbit = self.orbits[iorb]
clus_range = clus_idx if clus_idx is not None else range(len(orbit.clusters))
for ic in clus_range:
clus = orbit.clusters[ic]
ig = orbit.clusters_ig[ic]
allclus.extend([cx, iorb, ig, ic] for cx in self.translate_cluster_to_supercell(sc, clus))
return allclus
@staticmethod
def translate_cluster_to_supercell(sc, clus):
"""
:param sc: SupercellStructure
:return: all clusters in the supercell
"""
if clus.order == 0:
return [[]]*sc.n_cell
coords= clus.frac_coords
use_compiled_code = True
if use_compiled_code:
from f_util import f_util
allclus= f_util.tr_cl_sc(sc._ijkl.T, sc.sc_mat.T, sc.inv_sc_mat.T, sc.sc_ref.T, sc.prim.frac_coords.T, clus._ijkls_np.T).T-1
else:
allclus = [get_structure_ordering((coords+ijk[None,:]).dot(sc.inv_sc_mat), sc.frac_coords,0) for ijk in sc.ijk_ref]
return allclus
def identify_cluster(self, clus_in):
"""
Find if and which the input cluster matches the model clusters
:param clus_try:
:return: [matched cluster, iorb, ig, clus_sorted]
"""
for iorb, orb in enumerate(self.orbits):
# Quick return if not match obviously *)
if orb.cluster._must_differ(clus_in):
continue
# logger.debug(" proceed with %d"%(iorb))
for ic, clus_match in enumerate(orb.clusters):
[flag, foundOrb] = clus_match.equivalent_by_lattranslation(clus_in.ijkls)
if flag:
ig = orb.clusters_ig[ic]
# logger.debug("debug> sum "+repr(clus_in)+" == orbit %d cluster %d sym %d matching="%(iorb, ic, ig) +str(foundOrb))
# logger.debug(" calc FC Trans mem=")#, MemoryInUse()/1E6)
return [True, iorb, ic, ig, relativePosition(clus_match.ijkls, foundOrb, dim=len(clus_in.orders))]
return [False, -1, -1, None, None]
def load_solution(self, sol_f):
return np.loadtxt(sol_f, ndmin=2)
def process_name_ord(self, name_ord, all_ord):
if len(name_ord) == 0:
name_ord = [['All', all_ord]]
else:
for i in name_ord:
try:
i[1]= list(map(int, i[1]))
except:
continue
if i[0][-6:].lower()=='except':
i[1] = [j for j in all_ord if j not in i[1]]
else:
i[1] = [j for j in i[1] if j in all_ord]
return name_ord
def get_submodels(self, name_ord, knownsol=None, **kwargs):
"""
:param name_ord: list of [name, fct order], e.g. pair 0,2
or [name, filename] where filename is a matrix
:return: list of [name, matrix] defining the different fittings
"""
def down_select(o, sol0):
if isinstance(o, list):
return sum([list(range(self.ord_idx[i], self.ord_idx[i+1])) for i in o if i<=self.maxorder], [])
elif o=='except-known':
return np.where(sol0==0)[0]
else:
return np.loadtxt(o).reshape((-1))
all_ord=list(set([o.cluster.order for o in self.orbits]))
name_ord = self.process_name_ord(name_ord, all_ord)
print("No. of parameters", {o: self.ord_idx[o+1]-self.ord_idx[o] for o in range(self.maxorder+1)})
sol0 = np.zeros(self.ncorr)
if knownsol:
print(" Reading previous solution from %s"%(knownsol))
input_sol = self.load_solution(knownsol).reshape(-1)
sol0[:min(sol0.size, input_sol.size)] = input_sol[:min(sol0.size, input_sol.size)]
return [[nm,
scipy.sparse.identity(self.ncorr).tocsr()[:,
down_select(o, sol0)], sol0]
for (nm, o) in name_ord]
| 36.708215
| 137
| 0.566677
|
3c6f22f1509518a9ecf30eeca268459e8c5c4c9e
| 226
|
py
|
Python
|
application/KitchenMagician/kitchen_magician/testing/views.py
|
AsuPaul19/Kitchen-Magician
|
8c22bc1a45942d22c183096f8e92f858983d351d
|
[
"MIT"
] | null | null | null |
application/KitchenMagician/kitchen_magician/testing/views.py
|
AsuPaul19/Kitchen-Magician
|
8c22bc1a45942d22c183096f8e92f858983d351d
|
[
"MIT"
] | 8
|
2021-04-08T20:50:25.000Z
|
2022-03-12T00:53:18.000Z
|
application/KitchenMagician/kitchen_magician/testing/views.py
|
AsuPaul19/Kitchen-Magician
|
8c22bc1a45942d22c183096f8e92f858983d351d
|
[
"MIT"
] | null | null | null |
from django.shortcuts import render
# Create your views here.
def testing(request):
context = {
'title': 'Testing',
'diets': 'Gluten Free'
}
return render(request, 'testing/testing.html', context)
| 22.6
| 59
| 0.641593
|
fe8f789a8bbf284e756dec4e6b84a57005d4db61
| 1,774
|
py
|
Python
|
third_party/blink/web_tests/wpt_internal/prerender/PRESUBMIT.py
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668
|
2015-01-01T01:57:10.000Z
|
2022-03-31T23:33:32.000Z
|
third_party/blink/web_tests/wpt_internal/prerender/PRESUBMIT.py
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86
|
2015-10-21T13:02:42.000Z
|
2022-03-14T07:50:50.000Z
|
third_party/blink/web_tests/wpt_internal/prerender/PRESUBMIT.py
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941
|
2015-01-02T11:32:21.000Z
|
2022-03-31T16:35:46.000Z
|
# Copyright 2021 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Chromium presubmit script for prerender in Web Platform Tests.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into gcl.
"""
import os
USE_PYTHON3 = True
def _CheckFileTimeoutMetaTags(f):
"""Checks if the given file has timeout meta tags."""
new_contents = f.NewContents()
for line in new_contents:
if 'name="timeout" content="long"' in line:
return True
return False
def _CheckTimeoutMetaTags(input_api, output_api):
""" This function ensures that all WPTs for prerendering have meta tags
to lengthen test timeout as some tests can possibly run out of time
on windows platform.
"""
results = []
def file_filter(f):
return (f.LocalPath().endswith(('html'))
and (os.path.join('resources', '') not in f.LocalPath()))
for f in input_api.AffectedFiles(include_deletes=False,
file_filter=file_filter):
if not _CheckFileTimeoutMetaTags(f):
results.append(
output_api.PresubmitError(
('Missing long timeout.'
'Add `<meta name="timeout" content="long">` to %s.') %
f.LocalPath()))
return results
def CheckChangeOnUpload(input_api, output_api):
results = []
results.extend(_CheckTimeoutMetaTags(input_api, output_api))
return results
def CheckChangeOnCommit(input_api, output_api):
results = []
results.extend(_CheckTimeoutMetaTags(input_api, output_api))
return results
| 31.122807
| 75
| 0.66009
|
a480363595f24f83ac682ff0d566a911850fe4ff
| 8,634
|
py
|
Python
|
conwhat/utils/readers.py
|
GriffithsLab/conwhat
|
282765211cd4da31d7a7ed48e95e29614899cd22
|
[
"BSD-3-Clause"
] | 1
|
2021-01-19T22:26:44.000Z
|
2021-01-19T22:26:44.000Z
|
conwhat/utils/readers.py
|
GriffithsLab/conwhat
|
282765211cd4da31d7a7ed48e95e29614899cd22
|
[
"BSD-3-Clause"
] | 10
|
2021-01-19T21:24:07.000Z
|
2021-06-01T17:51:16.000Z
|
conwhat/utils/readers.py
|
GriffithsLab/ConWhAt
|
282765211cd4da31d7a7ed48e95e29614899cd22
|
[
"BSD-3-Clause"
] | null | null | null |
"""
Utils for reading ConWhAt and external data files
"""
# Author: John Griffiths
# License: simplified BSD
import os,sys,yaml,h5py
import numpy as np,networkx as nx, pandas as pd
import nibabel as nib, nilearn as nl
from nibabel.affines import apply_affine
from dipy.io import Dpy
import indexed_gzip as igzip
# Atlas base dir
abd = os.path.split(__file__)[0] + '/../data'
def load_vol_file_mappings(atlas_name=None,atlas_dir=None):
print('loading file mapping')
if atlas_dir == None: atlas_dir = os.path.join(abd,atlas_name)
mappings = pd.read_csv(atlas_dir + '/mappings.txt', sep=',')
return mappings,atlas_dir
def load_vol_bboxes(atlas_name=None,atlas_dir=None):
print('loading vol bbox')
if atlas_dir == None: atlas_dir = os.path.join(abd,atlas_name)
bbox = pd.read_csv(atlas_dir + '/bounding_boxes.txt', sep=',')
return bbox
def load_connectivity(atlas_name=None,atlas_dir=None,weights_name='weights'):
print('loading connectivity')
if not atlas_dir: atlas_dir = os.path.join(abd,atlas_name)
# Mandatory files
ws_file = '%s/%s.txt' %(atlas_dir,weights_name)
rls_file = '%s/region_labels.txt' % atlas_dir
ws = np.loadtxt(ws_file)
rls = [l[:-1] for l in open(rls_file, 'r').readlines()]
# Optional files
tls_file = '%s/tract_lengths.txt' % atlas_dir
rxyzs_file = '%s/region_xyzs.txt' % atlas_dir
rnii_file = '%s/region_masks.nii.gz' % atlas_dir
hs_file = '%s/hemispheres.txt' % atlas_dir
ctx_file = '%s/cortex.txt' % atlas_dir
rmfslh_file = '%s/region_mapping_fsav_lh.txt' % atlas_dir
rmfsrh_file = '%s/region_mapping_fsav_rh.txt' % atlas_dir
tls,rxyzs,rnii,ctxi,hs,rmfslh,rmfsrh = None,None,None,None,None,None,None
if os.path.isfile(tls_file): itls = np.loadtxt(tls_file)
if os.path.isfile(rxyzs_file): rxyzs = np.loadtxt(rxyzs_file)
if os.path.isfile(rnii_file): rnii = nib.load(rnii_file)
if os.path.isfile(hs_file): hs = np.loadtxt(hs_file)
if os.path.isfile(ctx_file): ctx = np.loadtxt(ctx_file)
if os.path.isfile(rmfslh_file): rmfslh =np.loadtxt(rmfslh_file)
if os.path.isfile(rmfsrh_file): rmfsrh = np.loadtxt(rmfsrh_file)
return ws,rls,tls,rxyzs,rnii,ctx,hs,rmfslh,rmfsrh
def make_nx_graph(vfms,bboxes,weights,region_labels,hemis,cortex):
G = nx.Graph()
# add node info
for node_it,node in enumerate(region_labels):
rl = region_labels[node_it]
hemi = hemis[node_it]
ctx = cortex[node_it]
G.add_node(node_it, **{'region_label': rl,
'hemisphere': hemi,
'cortex': ctx})
# add edge info
for idx in vfms.index:
vfm = vfms.iloc[idx]
name = vfm['name']
# Allow either '33-55' or '33_to_55' naming conventions
if '_to_' in name:
roi1,roi2 = name.split('_to_')
else:
roi1,roi2 = name.split('-')
roi1 = int(roi1); roi2 = int(roi2)
ad = vfm.to_dict()
ad.update(bboxes.iloc[idx])
ad['idx'] = idx
ad['weight'] = weights[roi1,roi2]
n1,n2 = G.nodes[roi1],G.nodes[roi2]
# (ibid...)
if '_to_' in name:
fullname = n1['region_label'] + '_to_' + n2['region_label']
else:
fullname = n1['region_label'] + '-' + n2['region_label']
ad['fullname'] = fullname
G.add_edge(roi1,roi2,**ad)
return G
def load_stream_file_mappings(atlas_name=None,atlas_dir=None):
print('loading streamline file mappings')
if not atlas_dir: atlas_dir = os.path.join(abd,atlas_name)
F = h5py.File(atlas_dir + '/mappings.h5', 'r')
KVs = {k: v.value.astype(int) for k,v in F.items()}
F.close()
mappings = pd.DataFrame(np.array(KVs.values()),
index=KVs.keys())
mappings.columns = ['idxlist']
mappings.index.names = ['name']
mappings = mappings.reset_index()
return mappings,atlas_dir
def load_stream_file_mappings_multifile(atlas_name=None,atlas_dir=None):
print('loading mult-file streamline file mappings')
if not atlas_dir: atlas_dir = os.path.join(abd,atlas_name)
# Difference from above is that the keys are now (sub,cnxn), rather than cnxn
F = h5py.File(atlas_dir + '/mappings_multifile.h5', 'r')
KVs = {k: v.value for k,v in F.items()}
F.close()
mappings = pd.DataFrame(np.array(KVs.values()),
index=KVs.keys())
mappings.columns = ['idxlist']
mappings.index.names = ['sub','name']
mappings = mappings.reset_index()
return mappings,atlas_dir
# (this is identical to load vox bboxes. Remove both
# and replace with single func?)
def load_stream_bboxes(atlas_name=None,atlas_dir=None):
print('loading stream bbox')
if not atlas_dir: atlas_dir = os.path.join(abd,atlas_name)
bbox = pd.read_csv(atlas_dir + '/bounding_boxes.txt', sep=',',
names=['xmin', 'xmax', 'ymin', 'ymax', 'zmin', 'zmax'])
return bbox
def make_streams_nx_graph(sfms,bboxes,weights,region_labels,hemis,cortex):
# I THINK THIS CAN BE THE SAME FUNC FOR BOTH \
# VOLUMETRIC AND STREAMLINETRIC
# ...just writing one for streamlines first to get clear...
G = nx.Graph()
# add node info
for node_it,node in enumerate(region_labels):
rl = region_labels[node_it]
hemi = hemis[node_it]
ctx = cortex[node_it]
G.add_node(node_it, **{'region_label': rl,
'hemisphere': hemi,
'cortex': ctx})
# add edge info
for idx in sfms.index:
sfm = sfms.ix[idx]
name = sfm['name']
# Allow either '33-55' or '33_to_55' naming conventions
if '_to_' in name:
roi1,roi2 = name.split('_to_')
else:
roi1,roi2 = name.split('-')
roi1 = int(roi1); roi2 = int(roi2)
ad = sfm.to_dict()
ad.update(bboxes.ix[idx])
ad['idx'] = idx
ad['weight'] = weights[roi1,roi2]
n1,n2 = G.node[roi1],G.node[roi2]
# (ibid...)
if '_to_' in name:
fullname = n1['region_label'] + '_to_' + n2['region_label']
else:
fullname = n1['region_label'] + '-' + n2['region_label']
ad['fullname'] = fullname
G.add_edge(roi1,roi2,**ad)
def igzip4dnii(fname,inds3d,
inds0d='all',inds1d='all',inds2d='all',
atlas_name=None,
atlas_dir=None):
# If atlas dir given, file is assumed to be in there
if atlas_dir:
fname = '%s/%s' %(atlas_dir,fname)
else:
# If atlas dir not given but atlas name is given, assumes path is relative
# to local conwhat atlas dir
if atlas_name:
fname = '%s/%s/%s' %(abd,atlas_name,fname)
# Here we are usin 4MB spacing between
# seek points, and using a larger read
# buffer (than the default size of 16KB).
fobj = igzip.IndexedGzipFile(
filename=fname,#'big_image.nii.gz',
spacing=4194304,
readbuf_size=131072)
# Create a nibabel image using
# the existing file handle.
fmap = nib.Nifti1Image.make_file_map()
fmap['image'].fileobj = fobj
image = nib.Nifti1Image.from_file_map(fmap)
if inds3d == 'N/A' or np.isnan(inds3d):
dims0,dims1,dims2 = image.shape
dat = np.squeeze(image.dataobj[:,:,:])
else:
# Use the image ArrayProxy to access the
# data - the index will automatically be
# built as data is accessed.
dims0,dims1,dims2,dims3 = image.shape
#if inds0d == 'all': inds0d = range(dims0)
#if inds1d == 'all': inds1d = range(dims1)
#if inds2d == 'all': inds2d = range(dims2)
dat = np.squeeze(image.dataobj[:,:,:,int(inds3d)])
#dat = np.squeeze(image.dataobj[inds0d,inds1d,inds2d,int(inds3d)])
#if type(inds3d) == int: # len(inds3d) == 1:
# dat = np.squeeze(image.dataobj[inds0d,inds1d,inds2d,int(inds3d)])
#else:
# dat = np.array([(image.dataobj[inds0d,inds1d,inds2d,int(i3)]) for i3 in inds3d])
# dat = dat.reshape([dims[1],dims[2],dims[3],dims[0]])
return dat
def dpy_to_trk(dpy_file,ref,outfile,inds='all'):
if os.path.isfile(ref):
ref_img = nib.load(ref)
else:
ref_img = ref
# Make trackvis header
hdr = nib.trackvis.empty_header()
hdr['voxel_size'] = ref_img.get_header().get_zooms()
hdr['dim'] = ref_img.shape
hdr['voxel_order'] = "LAS"#"RAS"
hdr['vox_to_ras'] = ref_img.Affine
zooms = ref_img.header.get_zooms()
# Load streamlines
D = Dpy(dpy_file, 'r')
if inds == 'all':
dpy_streams = D.read_tracks()
else:
dpy_streams = D.read_tracksi(inds)
D.close()
# Convert to trackvis space + format
[apply_affine(hdr['vox_to_ras'], s*zooms) for s in dpy_streams]
trk_streams = [(s,None,None) for s in dpy_streams]
nib.trackvis.write(outfile,trk_streams,hdr)
| 25.172012
| 87
| 0.645356
|
9d891bb512e52d9fd6c006686575c07959d44483
| 2,753
|
py
|
Python
|
corunner/runner.py
|
thepatrik/corunner
|
a68ed8e4f9f659b71a03c37833710544532c302d
|
[
"MIT"
] | null | null | null |
corunner/runner.py
|
thepatrik/corunner
|
a68ed8e4f9f659b71a03c37833710544532c302d
|
[
"MIT"
] | null | null | null |
corunner/runner.py
|
thepatrik/corunner
|
a68ed8e4f9f659b71a03c37833710544532c302d
|
[
"MIT"
] | null | null | null |
import asyncio
import contextlib
import inspect
import time
from typing import Any, Awaitable, Callable, List
import click_spinner
from .exceptions import CancelledError
from .report import Execution, Report
def run(*groups,
users: int = 5,
duration: int = 0,
logger=None,
show_progress_bar: bool = False,
halt_and_catch_fire: bool = False) -> Report:
cm = contextlib.nullcontext()
if show_progress_bar and not logger:
cm = click_spinner.spinner()
with cm:
started = time.time()
executions = []
if duration:
while time.time() - started <= duration:
res = _run(*groups, users=users, logger=logger,
halt_and_catch_fire=halt_and_catch_fire)
executions.extend(res)
else:
res = _run(*groups, users=users, logger=logger,
halt_and_catch_fire=halt_and_catch_fire)
executions.extend(res)
return Report(executions)
def _run(
*groups,
users: int,
logger,
halt_and_catch_fire: bool) -> List[Execution]:
asyncio_semaphore = asyncio.Semaphore(users)
coros = []
for c in [c for group in groups for c in group._coros]:
i = 0
while i < c.count:
coros.append(_run_coro(c.id, c.f, asyncio_semaphore,
halt_and_catch_fire, logger))
i += 1
async def runner(coros) -> Awaitable:
return await asyncio.gather(*coros)
return _run_until_complete(runner(coros))
def _run_until_complete(f: Awaitable[Any], close: bool = False):
loop = asyncio.get_event_loop()
try:
return loop.run_until_complete(f)
except KeyboardInterrupt:
raise CancelledError()
finally:
loop.run_until_complete(loop.shutdown_asyncgens())
for task in asyncio.all_tasks(loop=loop):
task.cancel()
if close:
loop.close()
async def _run_coro(id: str, f: Callable[..., Any], semaphore: asyncio.Semaphore,
halt_and_catch_fire: bool, callback, *args, **kw):
async with semaphore:
error = None
ts = time.time()
try:
await f(*args, **kw)
except Exception as e:
error = e
te = time.time()
execution = Execution(id=id, error=error, start_time=ts * 1000,
end_time=te * 1000, latency=(te - ts) * 1000)
if callback:
if inspect.iscoroutinefunction(callback):
await callback(execution)
else:
callback(execution)
if error and halt_and_catch_fire:
raise error
return execution
| 29.287234
| 81
| 0.586996
|
901bc7cbba875fcb68fbeeeccac4773ef79bda17
| 5,463
|
py
|
Python
|
tests/test_types.py
|
saullocarvalho/angr
|
48a7297f70f9420f3a79882b48bf9a682f910a0c
|
[
"BSD-2-Clause"
] | null | null | null |
tests/test_types.py
|
saullocarvalho/angr
|
48a7297f70f9420f3a79882b48bf9a682f910a0c
|
[
"BSD-2-Clause"
] | null | null | null |
tests/test_types.py
|
saullocarvalho/angr
|
48a7297f70f9420f3a79882b48bf9a682f910a0c
|
[
"BSD-2-Clause"
] | null | null | null |
import nose
import claripy
import angr
from angr.sim_type import SimTypeFunction, SimTypeInt, SimTypePointer, SimTypeChar, SimStruct, SimTypeFloat, SimUnion, SimTypeDouble, SimTypeLongLong, SimTypeLong, SimTypeNum
from angr.utils.library import convert_cproto_to_py
def test_type_annotation():
my_ty = angr.sim_type.SimTypeTop()
ptr = claripy.BVS('ptr', 32).annotate(angr.type_backend.TypeAnnotation(angr.sim_type.SimTypePointer(my_ty, label=[])))
ptroffset = ptr + 4
bt = angr.type_backend.TypeBackend()
tv = bt.convert(ptroffset)
nose.tools.assert_is(tv.ty.pts_to, my_ty)
nose.tools.assert_true(claripy.is_true(tv.ty.offset == 4))
def test_cproto_conversion():
# A normal function declaration
cproto_0 = "int main(int argc, char** argv);"
pyproto_name, pyproto, the_str = convert_cproto_to_py(cproto_0)
nose.tools.assert_equal(pyproto_name, "main")
nose.tools.assert_is_instance(pyproto, SimTypeFunction)
nose.tools.assert_is_instance(pyproto.args[0], SimTypeInt)
nose.tools.assert_is_instance(pyproto.args[1], SimTypePointer)
nose.tools.assert_is_instance(pyproto.args[1].pts_to.pts_to, SimTypeChar)
nose.tools.assert_is_instance(pyproto.returnty, SimTypeInt)
# Directly comparing the strings... how bad can I be?
nose.tools.assert_equal(the_str,
'# int main(int argc, char** argv);\n"main": SimTypeFunction([SimTypeInt(signed=True, label=None), SimTypePointer(SimTypePointer(SimTypeChar(label=None), label=None, offset=0), label=None, offset=0)], SimTypeInt(signed=True, label=None), label=None),')
# A bad function declaration
cproto_1 = "int bad(xxxxxxx);"
pyproto_name, pyproto, the_str = convert_cproto_to_py(cproto_1) # pylint:disable=unused-variable
nose.tools.assert_equal(pyproto_name, "bad")
nose.tools.assert_is(pyproto, None)
# A even worse function declaration
# Special thanks to @schieb, see GitHub PR #958
cproto_2 = "__attribute__ ((something)) void foo(void);"
pyproto_name, pyproto, the_str = convert_cproto_to_py(cproto_2) # pylint:disable=unused-variable
nose.tools.assert_equal(pyproto_name, "foo")
def test_struct_deduplication():
angr.types.define_struct('struct ahdr { int a ;}')
angr.types.define_struct('struct bhdr { int b ;}')
angr.types.define_struct('struct chdr { int c ;}')
angr.types.register_types(angr.types.parse_types('typedef struct ahdr ahdr;'))
angr.types.register_types(angr.types.parse_types('typedef struct bhdr bhdr;'))
angr.types.register_types(angr.types.parse_types('typedef struct chdr chdr;'))
dhdr = angr.types.define_struct('struct dhdr { struct ahdr a; struct bhdr b; struct chdr c;}')
assert dhdr.fields['a'].fields
def test_parse_type():
int_ptr = angr.types.parse_type('int *')
nose.tools.assert_is_instance(int_ptr, SimTypePointer)
nose.tools.assert_is_instance(int_ptr.pts_to, SimTypeInt)
char_ptr = angr.types.parse_type('char *c')
nose.tools.assert_is_instance(char_ptr, SimTypePointer)
nose.tools.assert_is_instance(char_ptr.pts_to, SimTypeChar)
struct_abcd = angr.types.parse_type('struct abcd { char c; float f; }')
nose.tools.assert_is_instance(struct_abcd, SimStruct)
nose.tools.assert_equal(struct_abcd.name, 'abcd')
nose.tools.assert_true(len(struct_abcd.fields) == 2)
nose.tools.assert_is_instance(struct_abcd.fields['c'], SimTypeChar)
nose.tools.assert_is_instance(struct_abcd.fields['f'], SimTypeFloat)
union_dcba = angr.types.parse_type('union dcba { double d; long long int lli; }')
nose.tools.assert_is_instance(union_dcba, SimUnion)
nose.tools.assert_equal(union_dcba.name, 'dcba')
nose.tools.assert_true(len(union_dcba.members) == 2)
nose.tools.assert_is_instance(union_dcba.members['d'], SimTypeDouble)
nose.tools.assert_is_instance(union_dcba.members['lli'], SimTypeLongLong)
struct_llist = angr.types.parse_type('struct llist { int data; struct llist * next; }')
nose.tools.assert_is_instance(struct_llist, SimStruct)
nose.tools.assert_equal(struct_llist.name, 'llist')
nose.tools.assert_true(len(struct_llist.fields) == 2)
nose.tools.assert_is_instance(struct_llist.fields['data'], SimTypeInt)
nose.tools.assert_is_instance(struct_llist.fields['next'], SimTypePointer)
nose.tools.assert_is_instance(struct_llist.fields['next'].pts_to, SimStruct)
nose.tools.assert_equal(struct_llist.fields['next'].pts_to.name, 'llist')
func_ptr = angr.types.parse_type('double (*) (int, float)')
nose.tools.assert_is_instance(func_ptr, SimTypePointer)
nose.tools.assert_is_instance(func_ptr.pts_to, SimTypeFunction)
nose.tools.assert_is_instance(func_ptr.pts_to.returnty, SimTypeDouble)
nose.tools.assert_true(len(func_ptr.pts_to.args) == 2)
nose.tools.assert_is_instance(func_ptr.pts_to.args[0], SimTypeInt)
nose.tools.assert_is_instance(func_ptr.pts_to.args[1], SimTypeFloat)
def test_parse_type_no_basic_types():
time_t = angr.types.parse_type('time_t')
nose.tools.assert_is_instance(time_t, SimTypeLong)
byte = angr.types.parse_type('byte')
nose.tools.assert_is_instance(byte, SimTypeNum)
nose.tools.assert_true(byte.size, 8)
nose.tools.assert_false(byte.signed)
if __name__ == '__main__':
test_type_annotation()
test_cproto_conversion()
test_struct_deduplication()
test_parse_type()
test_parse_type_no_basic_types()
| 45.907563
| 280
| 0.746842
|
417c98a6c2adee0d04f431a80fd90c5b2c372d0f
| 344
|
py
|
Python
|
example/data/rocketdataset/rocketdatasetresize.py
|
SeanMabli/aiinpy
|
bd332fce454c489e236878c9da91bb86ec6dda14
|
[
"MIT"
] | 2
|
2021-04-19T21:49:34.000Z
|
2021-05-17T21:03:08.000Z
|
testing/data/rocketdataset/rocketdatasetresize.py
|
Sean-Mabli/aiinpy
|
827e4f85861436c0332046fa8aa84e24153513d6
|
[
"MIT"
] | null | null | null |
testing/data/rocketdataset/rocketdatasetresize.py
|
Sean-Mabli/aiinpy
|
827e4f85861436c0332046fa8aa84e24153513d6
|
[
"MIT"
] | null | null | null |
from PIL import Image
numofelectronimages = 23
numoffalcon9images = 72
numofsoyuzimages = 59
numofspaceshuttleimages = 71
for i in range(72):
im = Image.open('testing\\data\\rocketdataset\\960x540\\SoyuzImagesFormated\\Soyuz_' + format(i, "04") + '_Credit=Roscosmos.png')
im.save('testing\\data\\rocketdataset\\soyuz\\' + str(i) + '.png')
| 34.4
| 131
| 0.732558
|
b9885dfec7242cbbbb808f31b466dabae833761f
| 2,013
|
py
|
Python
|
open/Inspur/code/common/lwis_harness.py
|
fenz-org/mlperf_inference_results_v0.7
|
2e38bec7f8df806283802a69db3d0038a37d026e
|
[
"Apache-2.0"
] | 19
|
2020-10-26T17:37:22.000Z
|
2022-01-20T09:32:38.000Z
|
open/Inspur/code/common/lwis_harness.py
|
fenz-org/mlperf_inference_results_v0.7
|
2e38bec7f8df806283802a69db3d0038a37d026e
|
[
"Apache-2.0"
] | 11
|
2020-10-21T19:18:48.000Z
|
2021-03-11T18:50:36.000Z
|
open/Inspur/code/common/lwis_harness.py
|
fenz-org/mlperf_inference_results_v0.7
|
2e38bec7f8df806283802a69db3d0038a37d026e
|
[
"Apache-2.0"
] | 19
|
2020-10-21T19:15:17.000Z
|
2022-01-04T08:32:08.000Z
|
# Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import re
import os, sys
sys.path.insert(0, os.getcwd())
from code.common import BENCHMARKS, SCENARIOS, logging, args_to_string
from code.common.harness import BaseBenchmarkHarness
import code.common.arguments as common_args
response_postprocess_map = {
BENCHMARKS.SSDResNet34: "coco",
BENCHMARKS.SSDMobileNet: "coco"
}
class LWISHarness(BaseBenchmarkHarness):
def __init__(self, args, name=""):
super().__init__(args, name=name)
self.use_jemalloc = (self.scenario == SCENARIOS.Server)
self.flag_builder_custom_args = common_args.LOADGEN_ARGS + common_args.LWIS_ARGS + common_args.SHARED_ARGS
def _get_harness_executable(self):
return "./build/bin/harness_default"
def _build_custom_flags(self, flag_dict):
if self.has_dla:
flag_dict["dla_engines"] = self.dla_engine
if self.has_gpu and self.has_dla:
pass
elif self.has_gpu:
flag_dict["max_dlas"] = 0
elif self.has_dla:
flag_dict["max_dlas"] = 1
else:
raise ValueError("Cannot specify --no_gpu and --gpu_only at the same time")
argstr = args_to_string(flag_dict) + " --scenario " + self.scenario + " --model " + self.name
if self.name in response_postprocess_map:
argstr += " --response_postprocess " + response_postprocess_map[self.name]
return argstr
| 34.706897
| 114
| 0.701937
|
a7ac2e4e6627e3117ff2dce0a8397c8df4a4ed25
| 11,390
|
py
|
Python
|
run_simulation_yaml.py
|
larrycameron80/metta
|
4a15b790701fe84a6493e52aec95e5788fef1a04
|
[
"MIT"
] | 940
|
2018-02-13T00:36:42.000Z
|
2022-03-30T20:15:52.000Z
|
run_simulation_yaml.py
|
larrycameron80/metta
|
4a15b790701fe84a6493e52aec95e5788fef1a04
|
[
"MIT"
] | 24
|
2018-02-11T22:02:53.000Z
|
2020-10-08T16:32:14.000Z
|
run_simulation_yaml.py
|
larrycameron80/metta
|
4a15b790701fe84a6493e52aec95e5788fef1a04
|
[
"MIT"
] | 140
|
2018-02-13T02:48:56.000Z
|
2022-03-09T13:35:18.000Z
|
# author Chris Gates - Uber
# additions Maus - Uber
# additions author Russ Nolen - Riot Games
# adversarial simulation engine
from __future__ import print_function
import datetime
import json
import logging
import os
import subprocess
import sys
import time
from argparse import ArgumentParser
from random import randint
import requests
import yaml
from reporting.log_to_file import *
from workers.vagranttasks import *
try:
import configparser as ConfigParser # Python 3
except ImportError:
import ConfigParser # Python 2
# slack hook URL
hook = ""
# vagrant variables that get populated below
windows = " "
osx = " "
linux = " "
kali = " "
# banners for metta
banner = '''
_____ __ __
/ \ _____/ |__/ |______
/ \ / \_/ __ \ __\ __\__ \
/ Y \ ___/| | | | / __ \_
\____|__ /\___ >__| |__| (____ /
\/ \/ \/
'''
banner2 = '''
__ __ _______ _______ _______ _______
| |_| || || || || _ |
| || ___||_ _||_ _|| |_| |
| || |___ | | | | | |
| || ___| | | | | | |
| ||_|| || |___ | | | | | _ |
|_| |_||_______| |___| |___| |__| |__|
'''
# module to post to slack if you set the webhook in config.ini
def post_to_slack(hook, json):
try:
r = requests.post(hook, json=json)
except Exception as e:
print(e)
def run_scenario(ioc_filename):
try:
print("### Running the Scenario ###")
raw_iocs = yaml.load_all(open(ioc_filename, 'r').read())
timenow = datetime.datetime.utcnow()
for raw_ioc in raw_iocs:
scenario = raw_ioc.get('meta').get('scenario_actions')
rule_name = raw_ioc.get('name')
print("### {} ###".format(rule_name))
scenario_actions = []
# read the steps from purple_actions in yaml and load them into purple_actions
for x in range(1, len(scenario)+1):
scenario_actions.append(raw_ioc.get('meta').get('scenario_actions').get(x))
for uuid_file in scenario_actions:
run_uuid(uuid_file)
except Exception as e:
print(e)
def run_uuid(ioc_filename):
try:
print("\nRunning UUID actions inside:{}".format(ioc_filename))
raw_iocs = yaml.load_all(open(ioc_filename, 'r').read())
for raw_ioc in raw_iocs:
rule_name = raw_ioc.get('name')
rule_uuid = raw_ioc.get('uuid')
rule_os = raw_ioc.get('os')
mitre_phase = raw_ioc.get('meta').get('mitre_attack_phase')
mitre_tech = raw_ioc.get('meta').get('mitre_attack_technique')
purple = raw_ioc.get('meta').get('purple_actions')
if not purple:
print("No Purple Actions detected you've probably messed up your scenario.yml...")
sys.exit(0)
purple_actions = []
# read the steps from purple_actions in yaml and load them into purple_actions
for x in range(1, len(purple)+1):
purple_actions.append(raw_ioc.get('meta').get('purple_actions').get(x))
if rule_os == "windows":
print("OS matched Windows...sending to the windows vagrant")
for action in purple_actions:
print("Running: {}".format(action))
timenow = datetime.datetime.utcnow()
date = timenow.strftime('%Y-%m-%d')
hourminsec = timenow.strftime('%H:%M:%S')
time_to_log = date+" "+hourminsec
try:
vagrant = runcmd_nodb_win.delay(action, rule_name, rule_uuid, windows)
data = json.dumps({'time': time_to_log, 'rule_name': rule_name, 'action': action, 'mitre_attack_phase': mitre_phase, 'mitre_attack_technique': mitre_tech, 'host': windows})
logging.info(data)
write_row(time_to_log, rule_name, action, mitre_phase, mitre_tech, windows)
'''
# if you want to post to slack uncomment this and set the slack hook above
json = {'text': "Automated Purple Team --> Simulation: {} | Action: {} | Host: {} | Execution Time: {} UTC".format(rule_name,action,windows,datetime.datetime.utcnow())}
post_to_slack(hook,json)
'''
time.sleep(randint(2, 30))
except Exception as e:
print(e)
elif rule_os == "osx":
print("OS matched OSX...sending to the OSX vagrant")
for action in purple_actions:
print("Running: {}".format(action))
timenow = datetime.datetime.utcnow()
date = timenow.strftime('%Y-%m-%d')
hourminsec = timenow.strftime('%H:%M:%S')
time_to_log = date+" "+hourminsec
try:
vagrant = runcmd_nodb_osx.delay(action, rule_name, rule_uuid, osx)
data = json.dumps({'time': time_to_log, 'rule_name': rule_name, 'action': action, 'mitre_attack_phase': mitre_phase, 'mitre_attack_technique': mitre_tech, 'host': osx})
logging.info(data)
write_row(time_to_log, rule_name, action, mitre_phase, mitre_tech, osx)
'''
# if you want to post to slack uncomment this and set the slack hook above
json = {'text': "Automated Purple Team --> Simulation: {} | Action: {} | Host: {} | Execution Time: {} UTC".format(rule_name,action,osx,datetime.datetime.utcnow())}
post_to_slack(hook,json)
'''
time.sleep(randint(2, 30))
except Exception as e:
print(e)
elif rule_os == "linux":
print("OS matched Linux...sending to the Linux vagrant")
for action in purple_actions:
print("Running: {}".format(action))
timenow = datetime.datetime.utcnow()
date = timenow.strftime('%Y-%m-%d')
hourminsec = timenow.strftime('%H:%M:%S')
time_to_log = date+" "+hourminsec
try:
vagrant = runcmd_nodb_linux.delay(action, rule_name, rule_uuid, linux)
data = json.dumps({'time': time_to_log, 'rule_name': rule_name, 'action': action, 'mitre_attack_phase': mitre_phase, 'mitre_attack_technique': mitre_tech, 'host': linux})
logging.info(data)
write_row(time_to_log, rule_name, action, mitre_phase, mitre_tech, linux)
'''
# if you want to post to slack uncomment this and set the slack hook above
json = {'text': "Automated Purple Team --> Simulation: {} | Action: {} | Host: {} | Execution Time: {} UTC".format(rule_name,action,osx,datetime.datetime.utcnow())}
post_to_slack(hook,json)
'''
time.sleep(randint(2, 30))
except Exception as e:
print(e)
elif rule_os == "kali":
print("OS matched Kali...sending to the Kali Linux vagrant")
for action in purple_actions:
print("Running: {}".format(action))
timenow = datetime.datetime.utcnow()
date = timenow.strftime('%Y-%m-%d')
hourminsec = timenow.strftime('%H:%M:%S')
time_to_log = date+" "+hourminsec
try:
vagrant = runcmd_nodb_kali.delay(action, rule_name, rule_uuid, kali)
data = json.dumps({'time': time_to_log, 'rule_name': rule_name, 'action': action, 'mitre_attack_phase': mitre_phase, 'mitre_attack_technique': mitre_tech, 'host': kali})
logging.info(data)
write_row(time_to_log, rule_name, action, mitre_phase, mitre_tech, kali)
'''
#if you want to post to slack uncomment this and set the slack hook above
#json = {'text': "Automated Purple Team --> Simulation: {} | Action: {} | Host: {} | Execution Time: {} UTC".format(rule_name,action,osx,datetime.datetime.utcnow())}
#post_to_slack(hook,json)
'''
time.sleep(randint(2, 30))
except Exception as e:
print(e)
else:
print("I received an unknown OS")
except KeyboardInterrupt:
print("CTRL-C received, exiting...")
except Exception as e:
print(e)
def parse_yaml(ioc_filename):
print(banner2)
print("YAML FILE: {}".format(ioc_filename))
try:
raw_iocs = yaml.load_all(open(ioc_filename, 'r').read())
start_log("Adversarial Simulation", "1.0")
for raw_ioc in raw_iocs:
scenario = raw_ioc.get('meta').get('scenario')
purple = raw_ioc.get('meta').get('purple_actions')
# if we cant find the scenario tag, default to run_uuid
if not scenario:
run_uuid(ioc_filename)
# if the scenario field is found and if it's true run the run_scenario function
if scenario is True:
run_scenario(ioc_filename)
close_log()
except KeyboardInterrupt:
print("CTRL-C received, exiting...")
except Exception as e:
print(e)
def main():
parser = ArgumentParser(description="adversarial-simulation ")
parser.add_argument("-f", "--simfile", action="store", default=None, required=True, dest="simfile", help="Path to simulation file you want to run")
args = parser.parse_args()
config = ConfigParser.RawConfigParser()
try:
config.read('config.ini')
except Exception as e:
print(e)
sys.exit(0)
global windows
windows = config.get('vms', 'windows')
global osx
osx = config.get('vms', 'osx')
global linux
linux = config.get('vms', 'linux')
global kali
kali = config.get('vms', 'kali')
global console_output
console_log_output = config.get('console_log_output', 'enabled')
# logging function to log json to a file
logging.basicConfig(level=logging.DEBUG, format='%(message)s', filename='simulation.log', filemode='w')
if console_log_output == 'True' or console_log_output == 'true':
# logging function to give info to the console
console = logging.StreamHandler()
console.setLevel(logging.INFO)
# set a format which is simpler for console use
formatter = logging.Formatter('%(levelname)-4s : %(message)s')
# tell the handler to use this format
console.setFormatter(formatter)
# add the handler to the root logger
logging.getLogger('').addHandler(console)
else:
''
parse_yaml(args.simfile)
if __name__ == '__main__':
main()
| 39.686411
| 196
| 0.54504
|
0e4099b5054e5f542b9bd9e68b972db57d955253
| 1,212
|
py
|
Python
|
store/migrations/0015_order_coupon.py
|
Jerome-Celle/Blitz-API
|
7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0
|
[
"MIT"
] | 3
|
2019-10-22T00:16:49.000Z
|
2021-07-15T07:44:43.000Z
|
store/migrations/0015_order_coupon.py
|
Jerome-Celle/Blitz-API
|
7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0
|
[
"MIT"
] | 1,183
|
2018-04-19T18:40:30.000Z
|
2022-03-31T21:05:05.000Z
|
store/migrations/0015_order_coupon.py
|
Jerome-Celle/Blitz-API
|
7dfb7b837ed47b11afcfaa5f5aee831c1aa4e5e0
|
[
"MIT"
] | 12
|
2018-04-17T19:16:42.000Z
|
2022-01-27T00:19:59.000Z
|
# Generated by Django 2.0.8 on 2019-01-08 18:35
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('store', '0014_optional_applicable_anything'),
]
operations = [
migrations.AddField(
model_name='historicalorder',
name='coupon',
field=models.ForeignKey(blank=True, db_constraint=False, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='+', to='store.Coupon'),
),
migrations.AddField(
model_name='order',
name='coupon',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='orders', to='store.Coupon', verbose_name='Applied coupon'),
),
migrations.AlterField(
model_name='coupon',
name='value',
field=models.DecimalField(decimal_places=2, max_digits=6, verbose_name='Value'),
),
migrations.AlterField(
model_name='historicalcoupon',
name='value',
field=models.DecimalField(decimal_places=2, max_digits=6, verbose_name='Value'),
),
]
| 34.628571
| 165
| 0.628713
|
cb089350f29a336069b96da619a104cfbf6753c3
| 4,657
|
py
|
Python
|
ditto/flickr/fetch/filesfetchers.py
|
garrettc/django-ditto
|
fcf15beb8f9b4d61634efd4a88064df12ee16a6f
|
[
"MIT"
] | 54
|
2016-08-15T17:32:41.000Z
|
2022-02-27T03:32:05.000Z
|
ditto/flickr/fetch/filesfetchers.py
|
garrettc/django-ditto
|
fcf15beb8f9b4d61634efd4a88064df12ee16a6f
|
[
"MIT"
] | 229
|
2015-07-23T12:50:47.000Z
|
2022-03-24T10:33:20.000Z
|
ditto/flickr/fetch/filesfetchers.py
|
garrettc/django-ditto
|
fcf15beb8f9b4d61634efd4a88064df12ee16a6f
|
[
"MIT"
] | 8
|
2015-09-10T17:10:35.000Z
|
2022-03-25T13:05:01.000Z
|
import os
from django.core.files import File
from . import FetchError
from ..models import Photo
from ...core.utils.downloader import DownloadException, filedownloader
# A single class that fetches original photo/video files for existing
# Photo objects. Doesn't use the API.
class OriginalFilesFetcher(object):
"""
Fetch the original photo files for a single Account.
Not based off FlickrFetcher because we don't use the API so it's quite
different. But still has a similar external appearance.
Use something like:
results = OriginalFilesFetcher(account=account_object).fetch()
results is a dict that will have:
'success': Boolean.
'account': String. Indicating the Account (eg, its User's username).
'fetched': Integer. If success, the number of files fetched, if any.
'messages': List of strings. If no success, the failure message(s).
"""
def __init__(self, account):
self.account = None
self.results = []
self.results_count = 0
self.return_value = {"fetched": 0}
if account.user:
self.return_value["account"] = account.user.username
else:
self.return_value["success"] = False
self.return_value["messages"] = ["This account has no Flickr User"]
self.account = account
def fetch(self, fetch_all=False):
"""
Download and save original photos and videos for all Photo objects
(or just those that don't already have them).
self.account must be an Account object first.
fetch_all -- Boolean. Fetch ALL photos/videos, even if we've already
got them?
"""
# Might already have success=False from __init__():
if "success" not in self.return_value:
self._fetch_files(fetch_all)
self.return_value["fetched"] = self.results_count
return self.return_value
def _fetch_files(self, fetch_all):
"""
Download and save original photos and videos for all Photo objects
(or just those that don't already have them).
fetch_all -- Boolean. Fetch ALL photos/videos, even if we've already
got them?
"""
photos = Photo.objects.filter(user=self.account.user)
if not fetch_all:
photos = photos.filter(original_file="")
error_messages = []
for photo in photos:
try:
self._fetch_and_save_file(photo=photo, media_type="photo")
self.results_count += 1
except FetchError as e:
error_messages.append(str(e))
if photo.media == "video":
try:
self._fetch_and_save_file(photo=photo, media_type="video")
self.results_count += 1
except FetchError as e:
error_messages.append(str(e))
if len(error_messages) > 0:
self.return_value["success"] = False
self.return_value["messages"] = error_messages
else:
self.return_value["success"] = True
def _fetch_and_save_file(self, photo, media_type):
"""
Downloads a video or photo file and saves it to the Photo object.
Expects:
photo -- A Photo object.
media_type -- String, either 'photo' or 'video'.
Raises FetchError if something goes wrong.
"""
if media_type == "video":
url = photo.remote_video_original_url
# Accepted video formats:
# https://help.yahoo.com/kb/flickr/sln15628.html
# BUT, they all seem to be sent as video/mp4.
acceptable_content_types = [
"video/mp4",
]
else:
url = photo.remote_original_url
acceptable_content_types = [
"image/jpeg",
"image/jpg",
"image/png",
"image/gif",
]
filepath = False
try:
# Saves the file to /tmp/:
filepath = filedownloader.download(url, acceptable_content_types)
except DownloadException as e:
raise FetchError(e)
if filepath:
# Reopen file and save to the Photo:
reopened_file = open(filepath, "rb")
django_file = File(reopened_file)
if media_type == "video":
photo.video_original_file.save(os.path.basename(filepath), django_file)
else:
photo.original_file.save(os.path.basename(filepath), django_file)
| 31.466216
| 87
| 0.587932
|
9cb136c60f59a551fd2956a0e41b20f978350ef2
| 3,994
|
py
|
Python
|
analysis/plotting/scripts/2021415_plot_classification.py
|
zieglerad/damselfly
|
d0ee9b13aa5981a91f62765cba6a263b584e7f25
|
[
"MIT"
] | null | null | null |
analysis/plotting/scripts/2021415_plot_classification.py
|
zieglerad/damselfly
|
d0ee9b13aa5981a91f62765cba6a263b584e7f25
|
[
"MIT"
] | null | null | null |
analysis/plotting/scripts/2021415_plot_classification.py
|
zieglerad/damselfly
|
d0ee9b13aa5981a91f62765cba6a263b584e7f25
|
[
"MIT"
] | null | null | null |
import damselfly as df
import numpy as np
import pickle as pkl
import os
import matplotlib.pyplot as plt
temp = 10.0
result_date = '210607'
result_train_dset = '210607_df1_multiclass_ch3'
result_test_dset = '210607_df2_multiclass_test_ch3'
result_model = 'df_conv6_fc2_multiclass_3ch'
result_domain = 'freq'
result_epoch = 54
plot_date = '210607'
plot_font_size = 18
#saved_networks = '/home/az396/project/deepfiltering/training/checkpoints'
#datasets = '/home/az396/project/deepfiltering/data/datasets'
#dataset = f'{checkpoint_domain}/{checkpoint_dset}_temp{temp}.pkl'
#checkpoint = f'date{checkpoint_date}_dset_name{checkpoint_dset}_temp{temp}_model{checkpoint_model}_domain_{checkpoint_domain}/epoch{epoch}.pth'
confusion_matrix_result_name = f'{result_date}_confusion_matrix_train_dset_{result_train_dset}_test_dset_{result_test_dset}_model_{result_model}_domain_{result_domain}_epoch{result_epoch}.pkl'
results = '/home/az396/project/damselfly/analysis/results'
plots = '/home/az396/project/damselfly/analysis/plotting/plots'
# load the matrices,
with open(os.path.join(results, confusion_matrix_result_name), 'rb') as infile:
matrices = pkl.load(infile)
for s in ['train', 'test']:
plot = df.plot.ConfusionMatrix(matrices[s], font_size=plot_font_size)
plot_name = f'{plot_date}_{s}_confusion_matrix_train_dset_{result_train_dset}_test_dset_{result_test_dset}_model_{result_model}_domain_{result_domain}_epoch_{result_epoch}.png'
plot[1].set_title(f'Confusion Matrix, Set = {s}', size=24)
plt.savefig(os.path.join(plots, plot_name))
#tpr_list = []
#fpr_list = []
#eff_mats_train = []
#eff_mats_test = []
#for temp in compare_temps:
# model_path = date + '_temp' + str(temp) + model + epoch_str
# train_path = os.path.join(top, model_path, 'train_mat.pkl')
# test_path = os.path.join(top, model_path, 'test_mat.pkl')
# tpr_path = os.path.join(top, model_path, 'tpr.pkl')
# fpr_path = os.path.join(top, model_path, 'fpr.pkl')
# with open(train_path, 'rb') as infile:
# train_matrices.append(pkl.load(infile))
# with open(test_path, 'rb') as infile:
# test_matrices.append(pkl.load(infile))
# with open(tpr_path, 'rb') as infile:
# tpr_list.append(pkl.load(infile))
# with open(fpr_path, 'rb') as infile:
# fpr_list.append(pkl.load(infile))
####
# do the same for the efficiency temps
#for temp in efficiency_temps:
# train_path = os.path.join(top, date + '_temp' + str(temp) + model + epoch_str, 'train_mat.pkl')
# test_path = os.path.join(top, date + '_temp' + str(temp) + model + epoch_str, 'test_mat.pkl')
# with open(train_path, 'rb') as infile:
# eff_mats_train.append(pkl.load(infile))
# with open(test_path, 'rb') as infile:
# eff_mats_test.append(pkl.load(infile))
####
## plot selected classification matrices
#train_name = date + '_compare_train' + model + '.png'
#test_name = date + '_compare_test' + model + '.png'
#df.plot.ClassificationMatrix(train_matrices, compare_temps, save_path, train_name)
#df.plot.ClassificationMatrix(test_matrices, compare_temps, save_path, test_name)
####
## plot true positive rate, false alarms ##
#det_eff_name = date + '_det_eff' + model + '.png'
#fa_name = date + '_false_alarms' + model + '.png'
#df.plot.ClassMatrixObservable(eff_mats_train, eff_mats_test, efficiency_temps, [0, 0], save_path, det_eff_name)
#df.plot.ClassMatrixObservable(eff_mats_train, eff_mats_test, efficiency_temps, [1, 0], save_path, fa_name)
####
## ROC curve
#roc_name = date + '_roc' + model + '.png'
#df.plot.ROC(tpr_list, fpr_list, compare_temps, save_path, roc_name)
#info_list = []
#name = date + '_compare_10epoch' + model + '.png'
#for temp in compare_temps:
# print(temp)
# info_path = os.path.join(top, date + '_temp' + str(temp) + model, 'info.pkl')
# with open(info_path, 'rb') as infile:
# info_list.append(pkl.load(infile))
#save_path = '/home/az396/project/deepfiltering/analysis/plot/training_loss/compare_loss'
#df.plot.CompareTrainLoss(info_list, compare_temps, save_path, name)
| 33.283333
| 192
| 0.744367
|
b5a978eabb5441b009825f47e557887543fed6e0
| 31,667
|
py
|
Python
|
nodes/test_scripts/test_cuda_inference.py
|
mrfmap/mrfmap_ros
|
8c1e108860ff297f39591d97f8f8ce2937b29a51
|
[
"BSD-3-Clause"
] | 6
|
2020-07-15T21:00:49.000Z
|
2021-05-12T07:16:38.000Z
|
nodes/test_scripts/test_cuda_inference.py
|
mrfmap/mrfmap_ros
|
8c1e108860ff297f39591d97f8f8ce2937b29a51
|
[
"BSD-3-Clause"
] | 2
|
2020-08-14T16:16:21.000Z
|
2020-11-12T07:43:22.000Z
|
nodes/test_scripts/test_cuda_inference.py
|
mrfmap/mrfmap_ros
|
8c1e108860ff297f39591d97f8f8ce2937b29a51
|
[
"BSD-3-Clause"
] | 2
|
2020-08-16T15:53:14.000Z
|
2021-05-12T07:16:41.000Z
|
#!/usr/bin/env python
import numpy as np
from mrfmap_ros.MRFMapGenerator import MRFMapGenerator
from mrfmap_ros.GVDBPyModules import GVDBInference, GVDBImage, gvdb_params, PangolinViewer, KeyframeSelector
import pdb
from geometry import se3, SE3
import cv2
import glob
import yaml
dtype=np.float32
from time import time
_tstart_stack = []
def tic():
_tstart_stack.append(time())
def toc(fmt="Elapsed: %s s"):
print fmt % (time() - _tstart_stack.pop())
show_map = False
show_pango_viewer = True
vis_likelihoods = True
plot_1d = False
plot_2d = False
# Note: This script is only useful when MRFMap is compiled with DEBUG enabled!
if show_map:
from mayavi import mlab
if __name__ == "__main__":
main_dir = '/home/icoderaven/bagfiles/'
datasets = ['coffin_world_640']
dataset = datasets[0]
config_dir = '../../config/'
params_config_file = config_dir+dataset+'.yaml'
use_multiplicative_noise = False
noise_val = 0.1
noise_str = str(noise_val).replace('.', '_')
# hfov = 0.9799151
img_dims = np.array([640, 480])
# img_dims = np.array([320, 240])
use_realsense_noise = False
if use_realsense_noise:
# Load the polynomials
with open(config_dir+'realsense_bias_poly5x.yml') as f:
bias_poly = np.array(yaml.load(f)).reshape(
img_dims[1]/20, img_dims[0]/20, 3)
# Now just repeat to img dims for easy noisy image generation
bias_poly = np.repeat(np.repeat(bias_poly, 20, axis=0), 20, axis=1)
with open(config_dir+'realsense_stddev_poly5x.yml') as f:
stddev_poly = np.array(yaml.load(f)).reshape(
img_dims[1]/20, img_dims[0]/20, 3)
# Now just repeat to img dims for easy noisy image generation
stddev_poly = np.repeat(
np.repeat(stddev_poly, 20, axis=0), 20, axis=1)
downsample_image = False
downsample_times = 1
# path_str = 'data/res_640x480/'
# path_str = 'data/res_640_more/'
# path_str = 'data/res_640x480_fixed/'
# path_str = 'data/airsim_factory/'
path_str = main_dir + dataset + '/'
# Determine the number of cameras inside this directory
if use_multiplicative_noise:
file_list = glob.glob(path_str + 'depth_noise_' +
noise_str + '/0_depth_*.npy')
else:
file_list = glob.glob(path_str + 'depth_*.npy')
num_images = len(file_list)
# num_images = 1
print 'Detected {0} images'.format(num_images)
cam_id = 0
map_indices = []
tic()
print 'Creating params...'
if downsample_image:
img_dims = img_dims/(2**downsample_times)
if glob.glob(params_config_file) == []:
print 'No params_config_file!, bailing'
exit
mrfmap = MRFMapGenerator(
params_config_file, main_dir+dataset+'/generated/', 'mrfmap')
mrfmap.inference = GVDBInference(True, False)
if show_pango_viewer:
pango_viewer = PangolinViewer("MyViewer", mrfmap.inference)
print 'Done!'
poses = []
depth_imgs = []
gt_depth_imgs = []
image_ptrs = []
# list_of_images = [0,1,2,11,10]
list_of_images = range(num_images)
num_images = 0
mrfmap.inference.set_selected_x_y(338, 204)
for image_index in list_of_images:
pose = np.load(path_str+'pose_' + str(image_index) + '.npy')
cam_in_body = np.eye(4)
cam_in_body[:3, :3] = np.array(
[[0, 0, 1], [-1, 0, 0], [0, -1, 0]])
pose_cpp = np.dot(pose, cam_in_body).astype(dtype)
origin = pose_cpp[:3, 3]
camera_normal = pose_cpp[:3, 2]
if use_multiplicative_noise:
depth_img = np.load(path_str + 'depth_noise_' + noise_str +
'/0_depth_' + str(image_index) + '.npy')
else:
depth_img = np.load(path_str + 'depth_' +
str(image_index) + '.npy')
depth_img_cpp = np.array(depth_img)
if use_realsense_noise:
gt_depth_imgs.append(depth_img_cpp)
# Yay! First apply the bias
biased_depth_img = depth_img_cpp + \
bias_poly[:, :, 2] * depth_img_cpp**2 + \
bias_poly[:, :, 1]*depth_img_cpp + bias_poly[:, :, 0]
# Now get stddev values
stddev_depth_img = stddev_poly[:, :, 2] * depth_img_cpp**2 + \
stddev_poly[:, :, 1]*depth_img_cpp + stddev_poly[:, :, 0]
# Now sample from stddev values and add to biased depth image
generated_img = biased_depth_img + stddev_depth_img * \
np.random.randn(img_dims[1], img_dims[0])
# pdb.set_trace()
# Assign this to the depth_img_cpp
depth_img_cpp = generated_img.astype(dtype)
if downsample_image:
for i in range(downsample_times):
# Downsample the image
# depth_img_cpp = cv2.pyrDown(depth_img_cpp)
depth_img_cpp = cv2.resize(
depth_img_cpp, (depth_img_cpp.shape[1]/2, depth_img_cpp.shape[0]/2), interpolation=cv2.INTER_NEAREST)
if mrfmap.keyframe_selector.is_keyframe(pose_cpp.astype(dtype)):
poses.append(pose_cpp)
depth_imgs.append(depth_img_cpp)
image_ptrs.append(GVDBImage(depth_img_cpp))
mrfmap.add_data(pose_cpp.astype(dtype), image_ptrs[-1])
if show_pango_viewer:
pango_viewer.add_keyframe(
pose_cpp.astype(dtype), depth_img_cpp)
num_images += 1
else:
print 'oof, not a keyframe'
if show_pango_viewer:
pango_viewer.add_frame(pose_cpp.astype(dtype), depth_img_cpp)
toc()
# mrfmap.save_map()
if show_map:
mrfmap.show_map()
if vis_likelihoods:
# VISUALIZE LIKELIHOODS
import matplotlib.pyplot as plt
from matplotlib.patches import Rectangle
from matplotlib.widgets import CheckButtons
plt.style.use('seaborn-muted')
image = np.zeros(depth_imgs[0].shape, dtype=dtype)
mrfmap.inference.get_likelihood_image(cam_id, image)
expected_depth_image = np.zeros(depth_imgs[0].shape, dtype=dtype)
mrfmap.inference.get_expected_depth_image(cam_id, expected_depth_image)
# fig2 = plt.figure(2)
# ax_1 = plt.subplot2grid((1, 2), (0, 0), colspan=1)
# ax_2 = plt.subplot2grid((1, 2), (0, 1), colspan=1)
# ax_1.imshow(depth_imgs[cam_id])
# ax_2.imshow(expected_depth_image)
# plt.show()
img = np.exp(image)
fig = plt.figure(0)
ax_like_img = plt.subplot2grid((2, 2), (0, 0), colspan=1)
ax_depth_img = plt.subplot2grid((2, 2), (0, 1), colspan=1)
ax_like_imshow_handle = ax_like_img.imshow(img, picker=True)
ax_depth_imshow_handle = ax_depth_img.imshow(
depth_imgs[cam_id], picker=True)
ax_data = plt.subplot2grid((2, 2), (1, 0), colspan=2, picker=True)
rax = plt.axes([0.85, 0.6, 0.2, 0.4])
labels_right = [
['ray_mu_d_i', False],
['last_outgoing', False],
['pos_log_msg_sum', False],
['neg_norm', True],
['pos_msg', True],
['length', False],
['pos_iso_msg', False],
['prod_mu_o_0s', False]
]
right_check = CheckButtons(rax, tuple(
[label[0] for label in labels_right]),
tuple([label[1] for label in labels_right]))
ray_idx = [None]
voxel_ids = [None]
node_ids = [None]
selected_node = None
brick_ids = [None]
z_distances = [None]
click_mode = None
def onclick(event):
global voxel_ids
global z_distances
global node_ids
global brick_ids
global selected_node
global atlas_ids
global click_mode
indx_x = (event.xdata + 0.5).astype(np.int)
indx_y = (event.ydata + 0.5).astype(np.int)
print indx_x, indx_y
# print b_is, z_given_b_is
if event.inaxes is ax_data:
# We're in the data plot, clicking should open up the window that
# pushes out messages being sent by the rays
data = ax_data.get_lines()[0].get_data()
ind = np.searchsorted(data[0], event.xdata)
if click_mode == 1:
vox_id = voxel_ids[ind]
elif click_mode == 3:
vox_id = atlas_ids[ind]
print 'Index is '+str(ind) + ' voxel id is ' + \
str(vox_id) + ' dist is '+str(data[0][ind])
mrfmap.inference.set_selected_voxel(vox_id)
selected_node = [node_ids[ind], brick_ids[:, ind], vox_id]
# Perform mrfmap.inference again to print output?
mrfmap.inference.perform_inference_dryrun()
# Also show the line for selected voxel
ax_data.vlines(z_distances[ind], 0,
1.0, linestyles='dotted', alpha=0.8)
elif event.inaxes is ax_like_img:
# Set the x and y
mrfmap.inference.set_selected_x_y(indx_x, indx_y)
# We should also reset selected node
mrfmap.inference.set_selected_voxel(0)
# Call the diagnostic method
diag_image = np.zeros(
depth_imgs[0].shape, dtype=dtype).flatten()
if event.button == 1:
click_mode = 1
mrfmap.inference.get_diagnostic_image(
cam_id, diag_image, 0)
# Extract data from image
# Get num_voxels from last entry
stride = 10
num_voxels = diag_image[-1].astype(np.int)
z_distances = diag_image[:stride*num_voxels:stride]
alphas = diag_image[1:stride*num_voxels:stride]
w_is = diag_image[4:stride*num_voxels:stride]
vis_is = diag_image[5:stride*num_voxels:stride]
voxel_ids = np.frombuffer(diag_image, dtype=np.uint64)[
1:num_voxels*(stride/2):(stride/2)]
node_ids = np.frombuffer(diag_image, dtype=np.uint64)[
3:num_voxels*(stride/2):(stride/2)]
brick_ids_x = np.frombuffer(diag_image, dtype=np.uint8)[
8*4:stride*4*num_voxels:stride*4]
brick_ids_y = np.frombuffer(diag_image, dtype=np.uint8)[
8*4+1:stride*4*num_voxels:stride*4]
brick_ids_z = np.frombuffer(diag_image, dtype=np.uint8)[
8*4+2:stride*4*num_voxels:stride*4]
brick_ids = np.vstack(
(brick_ids_x, brick_ids_y, brick_ids_z))
# Plot corresponding data
ax_data.clear()
ax_data.plot(z_distances, alphas,
label='alphas', marker='.')
ax_data.plot(z_distances, w_is, label='w_is', marker='.')
ax_data.plot(z_distances, vis_is,
label='vis_is', marker='.')
print 'Sum of w_is is '+str(np.sum(w_is))
elif event.button == 3:
click_mode = 3
mrfmap.inference.get_diagnostic_image(
cam_id, diag_image, 1)
# Extract data from image
# Get num_voxels from last entry
stride = 12
num_voxels = diag_image[-1].astype(np.int)
z_distances = diag_image[:stride*num_voxels:stride]
ray_mu_d_i = diag_image[1:stride*num_voxels:stride]
last_outgoing = diag_image[2:stride*num_voxels:stride]
pos_log_msg_sum = diag_image[3:stride*num_voxels:stride]
neg_norm = diag_image[4:stride*num_voxels:stride]
pos_msg = diag_image[5:stride*num_voxels:stride]
length = diag_image[6:stride*num_voxels:stride]
pos_iso_msg = diag_image[7:stride*num_voxels:stride]
atlas_ids = np.frombuffer(diag_image, dtype=np.uint64)[
4:num_voxels*(stride/2):(stride/2)]
prod_mu_o_0s = diag_image[10:stride*num_voxels:stride]
dict_labels = {'ray_mu_d_i': ray_mu_d_i,
'last_outgoing': last_outgoing,
'pos_log_msg_sum': pos_log_msg_sum,
'neg_norm': neg_norm,
'pos_msg': pos_msg,
'length': length,
'pos_iso_msg': pos_iso_msg,
'prod_mu_o_0s': prod_mu_o_0s}
# Plot corresponding data
ax_data.clear()
for label in labels_right:
if label[1]:
ax_data.plot(z_distances, dict_labels[label[0]],
label=label[0], marker='.')
# Draw circle on image
for obj in ax_like_img.findobj(match=type(plt.Circle((1, 1)))):
obj.remove()
circle = plt.Circle(
(indx_x, indx_y), 1, color='red', fill=False)
ax_like_img.add_artist(circle)
d_meas = depth_imgs[cam_id][indx_y, indx_x]
print 'Expected depth here is ' + \
str(expected_depth_image[indx_y, indx_x]
) + ' actual is '+str(d_meas)
if np.isnan(d_meas):
d_meas = 10.0
xlims = ax_data.get_xlim()
ylims = ax_data.get_ylim()
ax_data.vlines(d_meas, 0, 1.0, 'blue',
linestyles='dashed', alpha=0.8)
ax_data.annotate(s='$d_{meas}$',
xy=((
(d_meas-xlims[0])/(xlims[1]-xlims[0])), 1.01),
xycoords='axes fraction',
verticalalignment='right',
horizontalalignment='right bottom',
rotation=0)
if use_realsense_noise:
gt_depth = gt_depth_imgs[cam_id][indx_y, indx_x]
gt_plus_bias = d_meas + \
np.polynomial.polynomial.polyval(
gt_depth, bias_poly[indx_y, indx_x])
ax_data.vlines(gt_plus_bias, 0, 1.0,
linestyles='-.', alpha=0.8)
ax_data.annotate(s='$d_{bias}$', # = '+('%.2f' % d_meas) +'$',
xy=((
(gt_plus_bias-xlims[0])/(xlims[1]-xlims[0])), 1.01),
xycoords='axes fraction',
verticalalignment='right',
horizontalalignment='right bottom',
rotation=0)
ax_data.vlines(gt_depth, 0, 1.0, 'red',
linestyles=':', alpha=0.8)
ax_data.annotate(s='$d_{gt}$', # = '+('%.2f' % d_meas) +'$',
xy=((
(gt_depth-xlims[0])/(xlims[1]-xlims[0])), 1.01),
xycoords='axes fraction',
verticalalignment='right',
horizontalalignment='right bottom',
rotation=0)
# Get the corresponding sigma
delta = np.polynomial.polynomial.polyval(
gt_depth, stddev_poly[indx_y, indx_x])
ax_data.add_patch(
Rectangle((gt_depth - delta, 0.0), 2*delta, ylims[1], alpha=0.2, ec='black', ls=':'))
ax_data.grid(b=True, which='major', color='k',
linestyle=':', alpha=0.8)
ax_data.grid(b=True, which='minor', axis='x',
color='k', linestyle=':', alpha=0.2)
ax_data.minorticks_on()
extraticks = [d_meas]
ax_data.set_xticks(list(ax_data.get_xticks())[
1:-1] + extraticks)
ax_data.set_xlabel('Cell Depth $||d_i||$')
ax_data.legend()
# Should also get the messages being sent along this ray
fig.canvas.draw()
def onpick(event):
line = event.artist
if not type(line) == type(plt.imshow(np.zeros((1, 1)))):
xdata, ydata = line.get_data()
ind = event.ind
print 'Index is '+str(ind)
# Get nearest voxel id
if ind is not None:
# Get corresponding voxel id
ray_indices = VecUInt([])
mrfmap.inference.get_indices_along_ray(
0, ray_idx[0], ray_indices)
vox_idx = np.array(ray_indices)[ind[0]]
viewer.plot_rays(vox_idx, mrfmap.inference)
fig.canvas.draw()
def right_check_callback(label):
if label in [l[0] for l in labels_right]:
idx = [l[0] for l in labels_right].index(label)
labels_right[idx][1] = not(labels_right[idx][1])
voxel_cube = [None for i in range(24)]
def on_key(event):
global cam_id
global voxel_cube
id_changed = False
if event.key == 'n':
cam_id = cam_id + 1 if cam_id < num_images - 1 else 0
id_changed = True
elif event.key == 'p':
cam_id = cam_id - 1 if cam_id > 0 else num_images - 1
id_changed = True
elif event.key == 'i':
# Perform 1 pass of inference
mrfmap.inference.perform_inference()
id_changed = True
if id_changed:
print 'Set cam_id to '+str(cam_id)
# Update likelihood image displayed
image = np.zeros(depth_imgs[0].shape, dtype=dtype)
mrfmap.inference.get_likelihood_image(cam_id, image)
img = np.exp(image)
ax_like_imshow_handle.set_data(img)
ax_depth_imshow_handle.set_data(depth_imgs[cam_id])
if selected_node is not None:
# Display this selected voxel?
vox_coords = mrfmap.inference.get_voxel_coords(
[selected_node[0]]).flatten()
brick_id = selected_node[1]
# TODO: move these coords by brick index
render_choices = ['brick', 'voxel']
edges = [
# Back
(0, 1), (1, 2), (2, 3), (3, 0),
# Front
(5, 4), (4, 7), (7, 6), (6, 5),
# Front-to-back
(0, 4), (1, 5), (2, 6), (3, 7)]
i = 0
for render_choice in render_choices:
if render_choice is 'brick':
vmin = vox_coords[:3]
side = vox_coords[3] - vox_coords[0]
elif render_choice is 'voxel':
side = 1
vmin = vox_coords[:3] + brick_id
vertices = np.array([
vmin + [0, side, 0],
vmin + [side, side, 0],
vmin + [side, 0, 0],
vmin + [0, 0, 0],
vmin + [0, side, side],
vmin + [side, side, side],
vmin + [side, 0, side],
vmin + [0, 0, side]])
centered_vertices = vertices - \
np.array([[width], [breadth], [height]]
).transpose()/(2.0*resolution)
scaled_vertices = centered_vertices * resolution
homogenized_vertices = np.hstack(
(scaled_vertices, np.ones((8, 1))))
transformed_vertices = np.dot(np.linalg.inv(
poses[cam_id]), homogenized_vertices.transpose())
pts = np.dot(K, transformed_vertices[:3, :])
pts = pts[:]/pts[2, :]
pts = pts.transpose()
for e in edges:
if voxel_cube[i] is not None:
ax_depth_img.lines.remove(voxel_cube[i])
if render_choice is 'brick':
style = 'r-'
line_width = 0.4
else:
style = 'r-'
line_width = 0.9
voxel_cube[i], = ax_depth_img.plot(
(pts[e[0]][0], pts[e[1]][0]), (pts[e[0]][1], pts[e[1]][1]), style, linewidth=line_width)
i += 1
# Change the event clicked location to the mean of the projected vertices
# mean = pts.mean(axis=0)[:2]
# Find the projected center of the voxel
mean = (pts[3] + pts[5])/2.0
print 'mean of points is '+str(mean)
event.xdata = mean[0]
event.ydata = mean[1]
event.button = 3
event.inaxes = ax_like_img
if 0 <= event.xdata < depth_img.shape[1] and 0 <= event.ydata < depth_img.shape[0]:
onclick(event)
fig.canvas.draw()
cid = fig.canvas.mpl_connect('button_press_event', onclick)
rbid = right_check.on_clicked(right_check_callback)
kid = fig.canvas.mpl_connect('key_press_event', on_key)
plt.show()
if plot_1d:
# PLOT 1D LIKELIHOOD PLOTS
# Now test likelihoods of perturbed camera poses
import matplotlib.pyplot as plt
num_poses = 11
deltas = np.linspace(-0.1, 0.1, num_poses)
labels = ['rx', 'ry', 'rz', 'x', 'y', 'z']
np.set_printoptions(precision=3, suppress=True)
axes_to_plot = range(6)
for i in [cam_id]: # range(num_images):
pose_cpp = poses[i]
depth_img_cpp = depth_imgs[i]
sampled_poses = []
ray_likelihoods = [[]]*6
for j in axes_to_plot:
print '!!Evaluating for axis '+labels[j]
likes = []
for k in range(num_poses):
print "Axis::{0} Pose::{1}".format(j, k)
delta_vector = np.zeros(6)
delta_vector[j] = deltas[k]
T = SE3.group_from_algebra(
se3.algebra_from_vector(delta_vector))
pose = np.dot(pose_cpp, T)
sampled_poses.append(pose)
# print 'pose is '+str(pose)
mrfmap.inference.set_pose(i, pose.astype(dtype))
# pdb.set_trace()
sum = mrfmap.inference.compute_likelihood(i)
likes.append(sum)
ray_likelihoods[j] = np.array(likes)
# viewer.visualize_poses(sampled_poses, resolution, scaled_dims)
# viewer.show()
f, ax = plt.subplots(6, 1)
handles = []
for j in axes_to_plot:
handle = ax[j].plot(deltas, ray_likelihoods[j])
handles.append(handle[0])
f.legend(handles, labels, 'upper right')
plt.show()
# Compute likelihood of 2D locations with known yaw for a particular camera
# create a square grid around ground truth location
# import matplotlib.pyplot as plt
# num_images = 2
# f, ax = plt.subplots(1, num_images)
# grid_dim = 5
# eval_dim = 3
# cell_res = 0.05
# grid = np.mgrid[0:grid_dim:1, 0:grid_dim:1].reshape(2, -1).T
# # grid = zip(range(grid_dim), range(grid_dim))
# for cam_id in range(num_images):
# grid_likes = np.zeros((grid_dim*eval_dim, grid_dim*eval_dim))
# for item in grid:
# start = cell_res * \
# np.array([item[0] - grid_dim/2, item[1] - grid_dim/2])
# end = start + cell_res
# xys = np.mgrid[start[0]:end[0]: (end[0] - start[0])/eval_dim,
# start[1]:end[1]: (end[1] - start[1])/eval_dim].reshape(2, -1).T
# vectors = np.hstack((xys, np.zeros((xys.shape[0], 4))))
# pose_cpp = poses[cam_id]
# depth_img_cpp = depth_imgs[cam_id]
# for delta_vector in vectors:
# T = SE3.group_from_algebra(se3.algebra_from_vector(delta_vector))
# pose = np.dot(pose_cpp, T)
# # pdb.set_trace()
# mrfmap.inference.add_likelihood_camera(pose.astype(dtype), hfov,
# depth_img_cpp.astype(dtype))
# likes = VecFloat([])
# mrfmap.inference.compute_ray_likelihoods(likes)
# grid_likes[item[0]*eval_dim:(item[0]+1)*eval_dim,
# item[1]*eval_dim:(item[1]+1)*eval_dim] = np.array(likes).reshape(eval_dim, eval_dim)
# ax[cam_id].imshow(grid_likes, interpolation='none',
# extent=[-(grid_dim/2 - 0.5 / eval_dim)*cell_res, (grid_dim/2+0.5 / eval_dim)*cell_res,
# (grid_dim/2+0.5 / eval_dim)*cell_res, -(grid_dim/2 - 0.5 / eval_dim)*cell_res])
# plt.show()
if plot_2d:
# Compute likelihood of 2D locations with known yaw for a particular camera
# create a square grid around ground truth location
# import matplotlib.pyplot as plt
f, ax = plt.subplots(1, 2)
axes_to_compare = [3, 5] # first axis on x axis, second on y
grid_dim = 4
eval_dim = 5
grid_res = 0.1
cell_res = grid_res/eval_dim
grid = np.mgrid[0:grid_dim:1, 0:grid_dim:1].reshape(2, -1).T
grid_likes = np.zeros((grid_dim*eval_dim, grid_dim*eval_dim))
eval_poses = [[None for _ in range(grid_dim*eval_dim)]
for _ in range(grid_dim*eval_dim)]
for item in grid:
print item
start = grid_res * \
np.array([item[0] - grid_dim/2, item[1] - grid_dim/2])
end = start + grid_res
xys = np.mgrid[start[0]:end[0]: (end[0] - start[0])/eval_dim,
start[1]:end[1]: (end[1] - start[1])/eval_dim].reshape(2, -1).T
vectors = np.zeros((xys.shape[0], 6))
vectors[:, axes_to_compare[0]] = xys[:, 1]
vectors[:, axes_to_compare[1]] = xys[:, 0]
pose_cpp = poses[cam_id]
depth_img_cpp = depth_imgs[cam_id]
likes = []
for i, delta_vector in enumerate(vectors):
T = SE3.group_from_algebra(
se3.algebra_from_vector(delta_vector))
pose = np.dot(pose_cpp, T)
# pdb.set_trace()
eval_poses[item[0]*eval_dim +
int(i/eval_dim)][item[1]*eval_dim + i % eval_dim] = pose
mrfmap.inference.set_pose(cam_id, pose.astype(dtype))
# pdb.set_trace()
sum = mrfmap.inference.compute_likelihood(cam_id)
likes.append(sum)
grid_likes[item[0]*eval_dim:(item[0]+1)*eval_dim,
item[1]*eval_dim:(item[1]+1)*eval_dim] = np.array(likes).reshape(eval_dim, eval_dim)
ax[0].imshow(grid_likes, interpolation='none', picker=True)
nx = grid_likes.shape[1]
ny = grid_likes.shape[0]
no_labels = grid_dim+1 # how many labels to see on axis x
step_x = int(nx / (no_labels - 1)) # step between consecutive labels
step_y = int(ny / (no_labels - 1)) # step between consecutive labels
# pixel count at label position
x_positions = np.arange(0, nx+1, step_x)
# pixel count at label position
y_positions = np.arange(0, ny+1, step_y)
x_labels = np.linspace(-nx*cell_res/2.0, nx*cell_res/2.0,
nx+1)[::step_x] # labels you want to see
y_labels = np.linspace(-ny*cell_res/2.0, ny*cell_res/2.0,
ny+1)[::step_y] # labels you want to see
ax[0].set_xticks(x_positions)
ax[0].set_xticklabels(x_labels.tolist())
ax[0].set_yticks(y_positions)
ax[0].set_yticklabels(y_labels.tolist())
ax[0].set_xlabel('Displacement in '+labels[axes_to_compare[0]])
ax[0].set_ylabel('Displacement in '+labels[axes_to_compare[1]])
rect = None
imshow_img = None
def onclick_eval(event):
global rect
global imshow_img
global cam_id
print event.xdata, event.ydata
x = (event.xdata + 0.5).astype(np.int)
y = (event.ydata + 0.5).astype(np.int)
print x, y
if event.inaxes is ax[1]:
# We're in the image plot, don't do anything
pass
else:
# Show the likelihood image corresponding to this pixel coord
mrfmap.inference.set_pose(cam_id, eval_poses[y][x])
print 'Pose is '
print eval_poses[y][x]
img = np.zeros(depth_imgs[0].shape, dtype=dtype)
mrfmap.inference.get_likelihood_image(cam_id, img)
img = np.exp(img)
if imshow_img is None:
imshow_img = ax[1].imshow(
img, picker=True, cmap='brg')
plt.colorbar(imshow_img)
else:
imshow_img.set_data(img)
# Maybe also highlight the specific pixel?
if rect is not None:
rect.remove()
rect = plt.Rectangle((x-0.5, y-0.5), 1, 1,
edgecolor='red', facecolor='none')
ax[0].add_artist(rect)
# Should also get the messages being sent along this ray
f.canvas.draw()
cid = f.canvas.mpl_connect('button_press_event', onclick_eval)
plt.show()
# from mayavi import mlab
# plot_surf = mlab.surf(grid_likes, warp_scale='auto')
# mlab.outline(plot_surf)
# mlab.axes(plot_surf, xlabel='x', ylabel='y')
# mlab.show()
| 43.379452
| 121
| 0.504437
|
54045de1587eb5b5b1867e9bc46b52c0dd0c9875
| 1,166
|
py
|
Python
|
igibson/objects/cube.py
|
suresh-guttikonda/iGibson
|
a69e623058180146466cd52d4bb3c00d1facdacf
|
[
"MIT"
] | 360
|
2020-04-02T11:12:09.000Z
|
2022-03-24T21:46:58.000Z
|
igibson/objects/cube.py
|
suresh-guttikonda/iGibson
|
a69e623058180146466cd52d4bb3c00d1facdacf
|
[
"MIT"
] | 169
|
2020-04-07T21:01:05.000Z
|
2022-03-31T10:07:39.000Z
|
igibson/objects/cube.py
|
suresh-guttikonda/iGibson
|
a69e623058180146466cd52d4bb3c00d1facdacf
|
[
"MIT"
] | 94
|
2020-04-09T23:22:17.000Z
|
2022-03-17T21:49:03.000Z
|
import pybullet as p
from igibson.objects.stateful_object import StatefulObject
class Cube(StatefulObject):
"""
Cube shape primitive
"""
def __init__(self, pos=[1, 2, 3], dim=[1, 2, 3], visual_only=False, mass=1000, color=[1, 1, 1, 1]):
super(Cube, self).__init__()
self.basePos = pos
self.dimension = dim
self.visual_only = visual_only
self.mass = mass
self.color = color
def _load(self):
"""
Load the object into pybullet
"""
baseOrientation = [0, 0, 0, 1]
colBoxId = p.createCollisionShape(p.GEOM_BOX, halfExtents=self.dimension)
visualShapeId = p.createVisualShape(p.GEOM_BOX, halfExtents=self.dimension, rgbaColor=self.color)
if self.visual_only:
body_id = p.createMultiBody(baseCollisionShapeIndex=-1, baseVisualShapeIndex=visualShapeId)
else:
body_id = p.createMultiBody(
baseMass=self.mass, baseCollisionShapeIndex=colBoxId, baseVisualShapeIndex=visualShapeId
)
p.resetBasePositionAndOrientation(body_id, self.basePos, baseOrientation)
return body_id
| 32.388889
| 105
| 0.64837
|
fc9774b93a9b40cd18b682819d2669ab743b8e89
| 732,002
|
py
|
Python
|
template_container_mouse/labels/slice_135.py
|
lkondratova/Brainplot
|
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
|
[
"MIT"
] | null | null | null |
template_container_mouse/labels/slice_135.py
|
lkondratova/Brainplot
|
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
|
[
"MIT"
] | null | null | null |
template_container_mouse/labels/slice_135.py
|
lkondratova/Brainplot
|
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
|
[
"MIT"
] | null | null | null |
coordinates_00FFBF = ((128, 221),
(128, 222), (129, 219), (129, 223), (129, 224), (130, 217), (130, 221), (130, 222), (130, 226), (131, 215), (131, 216), (131, 219), (131, 220), (131, 221), (131, 222), (131, 223), (131, 225), (132, 214), (132, 217), (132, 218), (132, 219), (132, 220), (132, 221), (132, 222), (132, 223), (132, 225), (133, 214), (133, 216), (133, 217), (133, 218), (133, 219), (133, 220), (133, 221), (133, 222), (133, 223), (133, 225), (134, 214), (134, 216), (134, 217), (134, 218), (134, 219), (134, 220), (134, 221), (134, 222), (134, 225), (135, 213), (135, 215), (135, 216), (135, 217), (135, 218), (135, 219), (135, 220), (135, 224), (136, 213), (136, 215), (136, 216), (136, 217), (136, 218), (136, 219), (136, 222), (137, 213), (137, 215), (137, 216), (137, 217), (137, 218), (137, 220), (138, 213), (138, 215), (138, 216), (138, 217), (138, 219), (139, 212), (139, 213),
(139, 214), (139, 215), (139, 216), (139, 218), (140, 212), (140, 214), (140, 215), (140, 216), (140, 218), (141, 212), (141, 214), (141, 215), (141, 217), (142, 211), (142, 213), (142, 214), (142, 215), (142, 217), (143, 211), (143, 213), (143, 214), (143, 215), (143, 217), (144, 210), (144, 211), (144, 212), (144, 213), (144, 214), (144, 216), (145, 210), (145, 212), (145, 213), (145, 214), (145, 216), (146, 209), (146, 210), (146, 211), (146, 212), (146, 213), (146, 214), (146, 216), (147, 209), (147, 211), (147, 212), (147, 213), (147, 215), (148, 208), (148, 210), (148, 211), (148, 212), (149, 208), (149, 210), (149, 211), (150, 207), (150, 209), (150, 210), (150, 212), (151, 207), (151, 209), (151, 211), (152, 206), (152, 208), (152, 210), (153, 205), (153, 207), (153, 209), (154, 205), (154, 208), (155, 204), (155, 207), (156, 204), (156, 206),
(157, 203), (157, 206), (158, 203), (158, 205), (159, 202), (159, 205), (160, 202), (160, 205), (161, 201), (161, 204), (162, 201), (162, 204), (163, 200), (163, 202), (163, 204), (164, 200), (164, 202), (164, 204), (165, 200), (165, 203), (166, 200), (166, 202), (167, 201), (168, 200), (241, 207), (241, 209), (242, 206), (242, 210), (243, 206), (243, 208), (243, 209), (243, 211), (244, 206), (244, 208), (244, 209), (244, 210), (244, 213), (244, 214), (244, 215), (244, 217), (245, 206), (245, 208), (245, 209), (245, 210), (245, 211), (245, 218), (246, 205), (246, 207), (246, 208), (246, 209), (246, 210), (246, 211), (246, 212), (246, 213), (246, 214), (246, 215), (246, 216), (246, 218), (247, 205), (247, 207), (247, 208), (247, 209), (247, 210), (247, 211), (247, 212), (247, 213), (247, 214), (247, 215), (247, 217), (248, 205), (248, 207), (248, 208),
(248, 209), (248, 210), (248, 211), (248, 212), (248, 213), (248, 214), (248, 215), (248, 217), (249, 205), (249, 207), (249, 208), (249, 209), (249, 210), (249, 211), (249, 212), (249, 213), (249, 214), (249, 215), (249, 217), (250, 205), (250, 207), (250, 208), (250, 209), (250, 210), (250, 211), (250, 212), (250, 213), (250, 214), (250, 216), (251, 205), (251, 207), (251, 208), (251, 209), (251, 210), (251, 211), (251, 212), (251, 213), (251, 214), (251, 216), (252, 205), (252, 207), (252, 208), (252, 209), (252, 210), (252, 211), (252, 212), (252, 213), (252, 215), (253, 205), (253, 215), (254, 205), (254, 207), (254, 208), (254, 209), (254, 210), (254, 211), (254, 212), (254, 214), (325, 190), (326, 190), (326, 191), (327, 190), (327, 191), (328, 190), (328, 192), (329, 190), (329, 193), (330, 190), (330, 192), (330, 194), (331, 191), (331, 193),
(331, 195), (332, 191), (332, 193), (332, 194), (332, 196), (333, 191), (333, 193), (333, 194), (333, 195), (333, 197), (334, 192), (334, 194), (334, 195), (334, 196), (334, 198), (335, 192), (335, 194), (335, 195), (335, 196), (335, 198), (336, 193), (336, 195), (336, 196), (336, 198), (337, 194), (337, 196), (337, 197), (337, 199), (338, 195), (338, 197), (338, 199), (339, 195), (339, 197), (339, 199), (340, 196), (340, 199), (341, 197), (341, 199), (342, 198), (342, 200), (343, 199), (343, 200), (344, 200), (345, 200), (346, 201), (352, 204), (353, 205), (354, 205), (354, 206), (355, 206), (355, 207), (356, 206), (356, 208), (357, 207), (357, 208), (358, 207), (358, 209), (359, 208), (359, 209), (360, 208), (360, 209), (361, 209), )
coordinates_FF009F = ((410, 235),
(411, 234), (411, 237), (412, 234), (412, 239), (413, 234), (413, 236), (413, 237), (413, 241), (414, 235), (414, 237), (414, 238), (414, 239), (414, 242), (414, 243), (415, 235), (415, 237), (415, 238), (415, 239), (415, 240), (415, 241), (415, 244), (416, 236), (416, 238), (416, 239), (416, 240), (416, 241), (416, 242), (416, 243), (416, 246), (417, 237), (417, 240), (417, 241), (417, 242), (417, 243), (417, 244), (417, 248), (418, 238), (418, 241), (418, 242), (418, 243), (418, 244), (418, 245), (418, 246), (418, 249), (418, 250), (419, 240), (419, 243), (419, 244), (419, 245), (419, 246), (419, 247), (419, 248), (419, 251), (420, 241), (420, 245), (420, 246), (420, 247), (420, 248), (420, 249), (420, 250), (420, 253), (421, 243), (421, 247), (421, 248), (421, 249), (421, 250), (421, 251), (421, 252), (421, 255), (421, 256), (422, 245), (422, 250),
(422, 251), (422, 252), (422, 253), (422, 257), (422, 258), (422, 259), (423, 247), (423, 248), (423, 252), (423, 253), (423, 254), (423, 255), (423, 256), (423, 260), (423, 261), (423, 262), (423, 263), (424, 250), (424, 251), (424, 255), (424, 256), (424, 257), (424, 258), (424, 259), (424, 264), (424, 265), (424, 266), (425, 252), (425, 254), (425, 258), (425, 259), (425, 260), (425, 261), (425, 262), (425, 263), (425, 267), (425, 268), (425, 269), (425, 270), (426, 255), (426, 256), (426, 260), (426, 261), (426, 262), (426, 263), (426, 264), (426, 265), (426, 266), (426, 271), (426, 272), (426, 273), (426, 274), (427, 258), (427, 259), (427, 263), (427, 264), (427, 265), (427, 266), (427, 267), (427, 268), (427, 269), (427, 270), (427, 275), (427, 277), (428, 261), (428, 262), (428, 266), (428, 267), (428, 268), (428, 269), (428, 270), (428, 271),
(428, 272), (428, 273), (428, 274), (428, 278), (429, 263), (429, 264), (429, 265), (429, 278), (430, 266), (430, 268), (430, 269), (430, 270), (430, 271), (430, 272), (430, 273), (430, 274), (430, 276), )
coordinates_00FFDF = ((92, 140),
(92, 142), (92, 143), (92, 144), (92, 145), (92, 146), (92, 147), (92, 148), (92, 149), (92, 150), (92, 151), (92, 152), (92, 153), (93, 138), (93, 155), (93, 156), (93, 157), (94, 137), (94, 140), (94, 141), (94, 142), (94, 143), (94, 144), (94, 145), (94, 146), (94, 147), (94, 148), (94, 149), (94, 150), (94, 151), (94, 152), (94, 153), (94, 154), (94, 160), (95, 135), (95, 138), (95, 139), (95, 140), (95, 141), (95, 142), (95, 143), (95, 144), (95, 145), (95, 146), (95, 147), (95, 148), (95, 149), (95, 150), (95, 151), (95, 152), (95, 153), (95, 154), (95, 155), (95, 156), (95, 157), (95, 158), (95, 162), (96, 134), (96, 137), (96, 138), (96, 139), (96, 140), (96, 141), (96, 142), (96, 143), (96, 144), (96, 145), (96, 146), (96, 147), (96, 148), (96, 149), (96, 150), (96, 151),
(96, 152), (96, 153), (96, 154), (96, 155), (96, 156), (96, 157), (96, 158), (96, 159), (96, 160), (96, 164), (96, 165), (96, 166), (97, 133), (97, 136), (97, 137), (97, 138), (97, 139), (97, 140), (97, 141), (97, 142), (97, 143), (97, 144), (97, 145), (97, 146), (97, 147), (97, 148), (97, 149), (97, 150), (97, 151), (97, 152), (97, 153), (97, 154), (97, 155), (97, 156), (97, 157), (97, 158), (97, 159), (97, 160), (97, 161), (97, 162), (97, 163), (97, 167), (97, 168), (97, 169), (97, 170), (97, 171), (97, 172), (97, 173), (97, 174), (98, 132), (98, 135), (98, 136), (98, 137), (98, 138), (98, 139), (98, 140), (98, 141), (98, 142), (98, 143), (98, 144), (98, 145), (98, 146), (98, 147), (98, 148), (98, 149), (98, 150), (98, 151), (98, 152), (98, 153), (98, 154), (98, 155), (98, 156),
(98, 157), (98, 158), (98, 159), (98, 160), (98, 161), (98, 162), (98, 163), (98, 164), (98, 165), (98, 166), (98, 167), (98, 175), (98, 176), (98, 178), (99, 134), (99, 135), (99, 136), (99, 137), (99, 138), (99, 139), (99, 140), (99, 141), (99, 142), (99, 143), (99, 144), (99, 145), (99, 146), (99, 147), (99, 148), (99, 149), (99, 150), (99, 151), (99, 152), (99, 153), (99, 154), (99, 155), (99, 156), (99, 157), (99, 158), (99, 159), (99, 160), (99, 161), (99, 162), (99, 163), (99, 164), (99, 165), (99, 166), (99, 167), (99, 168), (99, 169), (99, 170), (99, 171), (99, 172), (99, 173), (99, 174), (99, 175), (99, 180), (100, 131), (100, 133), (100, 134), (100, 135), (100, 136), (100, 137), (100, 138), (100, 139), (100, 140), (100, 141), (100, 142), (100, 143), (100, 144), (100, 145), (100, 146),
(100, 147), (100, 148), (100, 149), (100, 150), (100, 151), (100, 152), (100, 153), (100, 154), (100, 155), (100, 156), (100, 157), (100, 158), (100, 159), (100, 160), (100, 161), (100, 162), (100, 163), (100, 164), (100, 165), (100, 166), (100, 167), (100, 168), (100, 169), (100, 170), (100, 171), (100, 172), (100, 173), (100, 174), (100, 175), (100, 176), (100, 177), (100, 178), (100, 182), (100, 183), (101, 130), (101, 132), (101, 133), (101, 134), (101, 135), (101, 136), (101, 137), (101, 138), (101, 139), (101, 140), (101, 141), (101, 142), (101, 143), (101, 144), (101, 145), (101, 146), (101, 147), (101, 148), (101, 149), (101, 150), (101, 151), (101, 152), (101, 153), (101, 154), (101, 155), (101, 156), (101, 157), (101, 158), (101, 159), (101, 160), (101, 161), (101, 162), (101, 163), (101, 164), (101, 165), (101, 166), (101, 167), (101, 168),
(101, 169), (101, 170), (101, 171), (101, 172), (101, 173), (101, 174), (101, 175), (101, 176), (101, 177), (101, 178), (101, 179), (101, 180), (101, 181), (101, 184), (101, 185), (102, 129), (102, 131), (102, 132), (102, 133), (102, 134), (102, 135), (102, 136), (102, 137), (102, 138), (102, 139), (102, 140), (102, 141), (102, 142), (102, 143), (102, 144), (102, 145), (102, 146), (102, 147), (102, 148), (102, 149), (102, 150), (102, 151), (102, 152), (102, 153), (102, 154), (102, 155), (102, 156), (102, 157), (102, 158), (102, 159), (102, 160), (102, 161), (102, 162), (102, 163), (102, 164), (102, 165), (102, 166), (102, 167), (102, 168), (102, 169), (102, 170), (102, 171), (102, 172), (102, 173), (102, 174), (102, 175), (102, 176), (102, 177), (102, 178), (102, 179), (102, 180), (102, 181), (102, 182), (102, 183), (102, 186), (102, 188), (103, 129),
(103, 131), (103, 132), (103, 133), (103, 134), (103, 135), (103, 136), (103, 137), (103, 138), (103, 139), (103, 140), (103, 141), (103, 142), (103, 143), (103, 144), (103, 145), (103, 146), (103, 147), (103, 148), (103, 149), (103, 150), (103, 151), (103, 152), (103, 153), (103, 154), (103, 155), (103, 156), (103, 157), (103, 158), (103, 159), (103, 160), (103, 161), (103, 162), (103, 163), (103, 164), (103, 165), (103, 166), (103, 167), (103, 168), (103, 169), (103, 170), (103, 171), (103, 172), (103, 173), (103, 174), (103, 175), (103, 176), (103, 177), (103, 178), (103, 179), (103, 180), (103, 181), (103, 182), (103, 183), (103, 184), (103, 185), (103, 189), (103, 191), (104, 128), (104, 130), (104, 131), (104, 132), (104, 133), (104, 134), (104, 135), (104, 136), (104, 137), (104, 138), (104, 139), (104, 140), (104, 141), (104, 142), (104, 143),
(104, 144), (104, 145), (104, 146), (104, 147), (104, 148), (104, 149), (104, 150), (104, 151), (104, 152), (104, 153), (104, 154), (104, 155), (104, 156), (104, 157), (104, 158), (104, 159), (104, 160), (104, 161), (104, 162), (104, 163), (104, 164), (104, 165), (104, 166), (104, 167), (104, 168), (104, 169), (104, 170), (104, 171), (104, 172), (104, 173), (104, 174), (104, 175), (104, 176), (104, 177), (104, 178), (104, 179), (104, 180), (104, 181), (104, 182), (104, 183), (104, 184), (104, 185), (104, 186), (104, 187), (104, 188), (104, 192), (104, 193), (105, 127), (105, 129), (105, 130), (105, 131), (105, 132), (105, 133), (105, 134), (105, 135), (105, 136), (105, 137), (105, 138), (105, 139), (105, 140), (105, 141), (105, 142), (105, 143), (105, 144), (105, 145), (105, 146), (105, 147), (105, 148), (105, 149), (105, 150), (105, 151), (105, 152),
(105, 153), (105, 154), (105, 155), (105, 156), (105, 157), (105, 158), (105, 159), (105, 160), (105, 161), (105, 162), (105, 163), (105, 164), (105, 165), (105, 166), (105, 167), (105, 168), (105, 169), (105, 170), (105, 171), (105, 172), (105, 173), (105, 174), (105, 175), (105, 176), (105, 177), (105, 178), (105, 179), (105, 180), (105, 181), (105, 182), (105, 183), (105, 184), (105, 185), (105, 186), (105, 187), (105, 188), (105, 189), (105, 190), (105, 191), (105, 195), (105, 196), (106, 127), (106, 129), (106, 130), (106, 131), (106, 132), (106, 133), (106, 134), (106, 135), (106, 136), (106, 137), (106, 138), (106, 139), (106, 140), (106, 141), (106, 142), (106, 143), (106, 144), (106, 145), (106, 146), (106, 147), (106, 148), (106, 149), (106, 150), (106, 151), (106, 152), (106, 153), (106, 154), (106, 155), (106, 156), (106, 157), (106, 158),
(106, 159), (106, 160), (106, 161), (106, 162), (106, 163), (106, 164), (106, 165), (106, 166), (106, 167), (106, 168), (106, 169), (106, 170), (106, 171), (106, 172), (106, 173), (106, 174), (106, 175), (106, 176), (106, 177), (106, 178), (106, 179), (106, 180), (106, 181), (106, 182), (106, 183), (106, 184), (106, 185), (106, 186), (106, 187), (106, 188), (106, 189), (106, 190), (106, 191), (106, 192), (106, 193), (106, 194), (106, 198), (107, 126), (107, 128), (107, 129), (107, 130), (107, 131), (107, 132), (107, 133), (107, 134), (107, 135), (107, 136), (107, 137), (107, 138), (107, 139), (107, 140), (107, 141), (107, 142), (107, 143), (107, 144), (107, 145), (107, 146), (107, 147), (107, 148), (107, 149), (107, 150), (107, 151), (107, 152), (107, 153), (107, 154), (107, 155), (107, 156), (107, 157), (107, 158), (107, 159), (107, 160), (107, 161),
(107, 162), (107, 163), (107, 164), (107, 165), (107, 166), (107, 167), (107, 168), (107, 169), (107, 170), (107, 171), (107, 172), (107, 173), (107, 174), (107, 175), (107, 176), (107, 177), (107, 178), (107, 179), (107, 180), (107, 181), (107, 182), (107, 183), (107, 184), (107, 185), (107, 186), (107, 187), (107, 188), (107, 189), (107, 190), (107, 191), (107, 192), (107, 193), (107, 194), (107, 195), (107, 196), (107, 200), (108, 124), (108, 127), (108, 128), (108, 129), (108, 130), (108, 131), (108, 132), (108, 133), (108, 134), (108, 135), (108, 136), (108, 137), (108, 138), (108, 139), (108, 140), (108, 141), (108, 142), (108, 143), (108, 144), (108, 145), (108, 146), (108, 147), (108, 148), (108, 149), (108, 150), (108, 151), (108, 152), (108, 153), (108, 154), (108, 155), (108, 156), (108, 157), (108, 158), (108, 159), (108, 160), (108, 161),
(108, 162), (108, 163), (108, 164), (108, 165), (108, 166), (108, 167), (108, 168), (108, 169), (108, 170), (108, 171), (108, 172), (108, 173), (108, 174), (108, 175), (108, 176), (108, 177), (108, 178), (108, 179), (108, 180), (108, 181), (108, 182), (108, 183), (108, 184), (108, 185), (108, 186), (108, 187), (108, 188), (108, 189), (108, 190), (108, 191), (108, 192), (108, 193), (108, 194), (108, 195), (108, 196), (108, 197), (108, 198), (108, 201), (109, 123), (109, 126), (109, 127), (109, 128), (109, 129), (109, 130), (109, 131), (109, 132), (109, 133), (109, 134), (109, 135), (109, 136), (109, 137), (109, 138), (109, 139), (109, 140), (109, 141), (109, 142), (109, 143), (109, 144), (109, 145), (109, 146), (109, 147), (109, 148), (109, 149), (109, 150), (109, 151), (109, 152), (109, 153), (109, 154), (109, 155), (109, 156), (109, 157), (109, 158),
(109, 159), (109, 160), (109, 161), (109, 162), (109, 163), (109, 164), (109, 165), (109, 166), (109, 167), (109, 168), (109, 169), (109, 170), (109, 171), (109, 172), (109, 173), (109, 174), (109, 175), (109, 176), (109, 177), (109, 178), (109, 179), (109, 180), (109, 181), (109, 182), (109, 183), (109, 184), (109, 185), (109, 186), (109, 187), (109, 188), (109, 189), (109, 190), (109, 191), (109, 192), (109, 193), (109, 194), (109, 195), (109, 196), (109, 197), (109, 198), (109, 199), (109, 200), (109, 202), (110, 122), (110, 125), (110, 126), (110, 127), (110, 128), (110, 129), (110, 130), (110, 131), (110, 132), (110, 133), (110, 134), (110, 135), (110, 136), (110, 137), (110, 138), (110, 139), (110, 140), (110, 141), (110, 142), (110, 143), (110, 144), (110, 145), (110, 146), (110, 147), (110, 148), (110, 149), (110, 150), (110, 151), (110, 152),
(110, 153), (110, 154), (110, 155), (110, 156), (110, 157), (110, 158), (110, 159), (110, 160), (110, 161), (110, 162), (110, 163), (110, 164), (110, 165), (110, 166), (110, 167), (110, 168), (110, 169), (110, 170), (110, 171), (110, 172), (110, 173), (110, 174), (110, 175), (110, 176), (110, 177), (110, 178), (110, 179), (110, 180), (110, 181), (110, 182), (110, 183), (110, 184), (110, 185), (110, 186), (110, 187), (110, 188), (110, 189), (110, 190), (110, 191), (110, 192), (110, 193), (110, 194), (110, 195), (110, 196), (110, 197), (110, 198), (110, 199), (110, 200), (110, 201), (110, 203), (111, 121), (111, 123), (111, 124), (111, 125), (111, 126), (111, 127), (111, 128), (111, 129), (111, 130), (111, 131), (111, 132), (111, 133), (111, 134), (111, 135), (111, 136), (111, 137), (111, 138), (111, 139), (111, 140), (111, 141), (111, 142), (111, 143),
(111, 144), (111, 145), (111, 146), (111, 147), (111, 148), (111, 149), (111, 150), (111, 151), (111, 152), (111, 153), (111, 154), (111, 155), (111, 156), (111, 157), (111, 158), (111, 159), (111, 160), (111, 161), (111, 162), (111, 163), (111, 164), (111, 165), (111, 166), (111, 167), (111, 168), (111, 169), (111, 170), (111, 171), (111, 172), (111, 173), (111, 174), (111, 175), (111, 176), (111, 177), (111, 178), (111, 179), (111, 180), (111, 181), (111, 182), (111, 183), (111, 184), (111, 185), (111, 186), (111, 187), (111, 188), (111, 189), (111, 190), (111, 191), (111, 192), (111, 193), (111, 194), (111, 195), (111, 196), (111, 197), (111, 198), (111, 199), (111, 200), (111, 201), (111, 202), (111, 204), (111, 206), (112, 120), (112, 122), (112, 123), (112, 124), (112, 125), (112, 126), (112, 127), (112, 128), (112, 129), (112, 130), (112, 131),
(112, 132), (112, 133), (112, 134), (112, 135), (112, 136), (112, 137), (112, 138), (112, 139), (112, 140), (112, 141), (112, 142), (112, 143), (112, 144), (112, 145), (112, 146), (112, 147), (112, 148), (112, 149), (112, 150), (112, 151), (112, 152), (112, 153), (112, 154), (112, 155), (112, 156), (112, 157), (112, 158), (112, 159), (112, 160), (112, 161), (112, 162), (112, 163), (112, 164), (112, 165), (112, 166), (112, 167), (112, 168), (112, 169), (112, 170), (112, 171), (112, 172), (112, 173), (112, 174), (112, 175), (112, 176), (112, 177), (112, 178), (112, 179), (112, 180), (112, 181), (112, 182), (112, 183), (112, 184), (112, 185), (112, 186), (112, 187), (112, 188), (112, 189), (112, 190), (112, 191), (112, 192), (112, 193), (112, 194), (112, 195), (112, 196), (112, 197), (112, 198), (112, 199), (112, 200), (112, 201), (112, 202), (112, 203),
(112, 207), (113, 119), (113, 121), (113, 122), (113, 123), (113, 124), (113, 125), (113, 126), (113, 127), (113, 128), (113, 129), (113, 130), (113, 131), (113, 132), (113, 133), (113, 134), (113, 135), (113, 136), (113, 137), (113, 138), (113, 139), (113, 140), (113, 141), (113, 142), (113, 143), (113, 144), (113, 145), (113, 146), (113, 147), (113, 148), (113, 149), (113, 150), (113, 151), (113, 152), (113, 153), (113, 154), (113, 155), (113, 156), (113, 157), (113, 158), (113, 159), (113, 160), (113, 161), (113, 162), (113, 163), (113, 164), (113, 165), (113, 166), (113, 167), (113, 168), (113, 169), (113, 170), (113, 171), (113, 172), (113, 173), (113, 174), (113, 175), (113, 176), (113, 177), (113, 178), (113, 179), (113, 180), (113, 181), (113, 182), (113, 183), (113, 184), (113, 185), (113, 186), (113, 187), (113, 188), (113, 189), (113, 190),
(113, 191), (113, 192), (113, 193), (113, 194), (113, 195), (113, 196), (113, 197), (113, 198), (113, 199), (113, 200), (113, 201), (113, 202), (113, 203), (113, 204), (113, 205), (113, 207), (114, 118), (114, 120), (114, 121), (114, 122), (114, 123), (114, 124), (114, 125), (114, 126), (114, 127), (114, 128), (114, 129), (114, 130), (114, 131), (114, 132), (114, 133), (114, 134), (114, 135), (114, 136), (114, 137), (114, 138), (114, 139), (114, 140), (114, 141), (114, 142), (114, 143), (114, 144), (114, 145), (114, 146), (114, 147), (114, 148), (114, 149), (114, 150), (114, 151), (114, 152), (114, 153), (114, 154), (114, 155), (114, 156), (114, 157), (114, 158), (114, 159), (114, 160), (114, 161), (114, 162), (114, 163), (114, 164), (114, 165), (114, 166), (114, 167), (114, 168), (114, 169), (114, 170), (114, 171), (114, 172), (114, 173), (114, 174),
(114, 175), (114, 176), (114, 177), (114, 178), (114, 179), (114, 180), (114, 181), (114, 182), (114, 183), (114, 184), (114, 185), (114, 186), (114, 187), (114, 188), (114, 189), (114, 190), (114, 191), (114, 192), (114, 193), (114, 194), (114, 195), (114, 196), (114, 197), (114, 198), (114, 199), (114, 200), (114, 201), (114, 202), (114, 203), (114, 204), (114, 205), (114, 207), (115, 118), (115, 120), (115, 121), (115, 122), (115, 123), (115, 124), (115, 125), (115, 126), (115, 127), (115, 128), (115, 129), (115, 130), (115, 131), (115, 132), (115, 133), (115, 134), (115, 135), (115, 136), (115, 137), (115, 138), (115, 139), (115, 140), (115, 141), (115, 142), (115, 143), (115, 144), (115, 145), (115, 146), (115, 147), (115, 148), (115, 149), (115, 150), (115, 151), (115, 152), (115, 153), (115, 154), (115, 155), (115, 156), (115, 157), (115, 158),
(115, 159), (115, 160), (115, 161), (115, 162), (115, 163), (115, 164), (115, 165), (115, 166), (115, 167), (115, 168), (115, 169), (115, 170), (115, 171), (115, 172), (115, 173), (115, 174), (115, 175), (115, 176), (115, 177), (115, 178), (115, 179), (115, 180), (115, 181), (115, 182), (115, 183), (115, 184), (115, 185), (115, 186), (115, 187), (115, 188), (115, 189), (115, 190), (115, 191), (115, 192), (115, 193), (115, 194), (115, 195), (115, 196), (115, 197), (115, 198), (115, 199), (115, 200), (115, 201), (115, 202), (115, 203), (115, 204), (115, 205), (115, 207), (116, 117), (116, 119), (116, 120), (116, 121), (116, 122), (116, 123), (116, 124), (116, 125), (116, 126), (116, 127), (116, 128), (116, 129), (116, 130), (116, 131), (116, 132), (116, 133), (116, 134), (116, 135), (116, 136), (116, 137), (116, 138), (116, 139), (116, 140), (116, 141),
(116, 142), (116, 143), (116, 144), (116, 145), (116, 146), (116, 147), (116, 148), (116, 149), (116, 150), (116, 151), (116, 152), (116, 153), (116, 154), (116, 155), (116, 156), (116, 157), (116, 158), (116, 159), (116, 160), (116, 161), (116, 162), (116, 163), (116, 164), (116, 165), (116, 166), (116, 167), (116, 168), (116, 169), (116, 170), (116, 171), (116, 172), (116, 173), (116, 174), (116, 175), (116, 176), (116, 177), (116, 178), (116, 179), (116, 180), (116, 181), (116, 182), (116, 183), (116, 184), (116, 185), (116, 186), (116, 187), (116, 188), (116, 189), (116, 190), (116, 191), (116, 192), (116, 193), (116, 194), (116, 195), (116, 196), (116, 197), (116, 198), (116, 199), (116, 200), (116, 201), (116, 202), (116, 203), (116, 204), (116, 205), (116, 207), (117, 116), (117, 118), (117, 119), (117, 120), (117, 121), (117, 122), (117, 123),
(117, 124), (117, 125), (117, 126), (117, 127), (117, 128), (117, 129), (117, 130), (117, 131), (117, 132), (117, 133), (117, 134), (117, 135), (117, 136), (117, 137), (117, 138), (117, 139), (117, 140), (117, 141), (117, 142), (117, 143), (117, 144), (117, 145), (117, 146), (117, 147), (117, 148), (117, 149), (117, 150), (117, 151), (117, 152), (117, 153), (117, 154), (117, 155), (117, 156), (117, 157), (117, 158), (117, 159), (117, 160), (117, 161), (117, 162), (117, 163), (117, 164), (117, 165), (117, 166), (117, 167), (117, 168), (117, 169), (117, 170), (117, 171), (117, 172), (117, 173), (117, 174), (117, 175), (117, 176), (117, 177), (117, 178), (117, 179), (117, 180), (117, 181), (117, 182), (117, 183), (117, 184), (117, 185), (117, 186), (117, 187), (117, 188), (117, 189), (117, 190), (117, 191), (117, 192), (117, 193), (117, 194), (117, 195),
(117, 196), (117, 197), (117, 198), (117, 199), (117, 200), (117, 201), (117, 202), (117, 203), (117, 204), (117, 206), (118, 116), (118, 118), (118, 119), (118, 120), (118, 121), (118, 122), (118, 123), (118, 124), (118, 125), (118, 126), (118, 127), (118, 128), (118, 129), (118, 130), (118, 131), (118, 132), (118, 133), (118, 134), (118, 135), (118, 136), (118, 137), (118, 138), (118, 139), (118, 140), (118, 141), (118, 142), (118, 143), (118, 144), (118, 145), (118, 146), (118, 147), (118, 148), (118, 149), (118, 150), (118, 151), (118, 152), (118, 153), (118, 154), (118, 155), (118, 156), (118, 157), (118, 158), (118, 159), (118, 160), (118, 161), (118, 162), (118, 163), (118, 164), (118, 165), (118, 166), (118, 167), (118, 168), (118, 169), (118, 170), (118, 171), (118, 172), (118, 173), (118, 174), (118, 175), (118, 176), (118, 177), (118, 178),
(118, 179), (118, 180), (118, 181), (118, 182), (118, 183), (118, 184), (118, 185), (118, 186), (118, 187), (118, 188), (118, 189), (118, 190), (118, 191), (118, 192), (118, 193), (118, 194), (118, 195), (118, 196), (118, 197), (118, 198), (118, 199), (118, 200), (118, 201), (118, 202), (118, 203), (118, 204), (118, 206), (119, 115), (119, 117), (119, 118), (119, 119), (119, 120), (119, 121), (119, 122), (119, 123), (119, 124), (119, 125), (119, 126), (119, 127), (119, 128), (119, 129), (119, 130), (119, 131), (119, 132), (119, 133), (119, 134), (119, 135), (119, 136), (119, 137), (119, 138), (119, 139), (119, 140), (119, 141), (119, 142), (119, 143), (119, 144), (119, 145), (119, 146), (119, 147), (119, 148), (119, 149), (119, 150), (119, 151), (119, 152), (119, 153), (119, 154), (119, 155), (119, 156), (119, 157), (119, 158), (119, 159), (119, 160),
(119, 161), (119, 162), (119, 163), (119, 164), (119, 165), (119, 166), (119, 167), (119, 168), (119, 169), (119, 170), (119, 171), (119, 172), (119, 173), (119, 174), (119, 175), (119, 176), (119, 177), (119, 178), (119, 179), (119, 180), (119, 181), (119, 182), (119, 183), (119, 184), (119, 185), (119, 186), (119, 187), (119, 188), (119, 189), (119, 190), (119, 191), (119, 192), (119, 193), (119, 194), (119, 195), (119, 196), (119, 197), (119, 198), (119, 199), (119, 200), (119, 201), (119, 202), (119, 203), (119, 204), (119, 206), (120, 114), (120, 116), (120, 117), (120, 118), (120, 119), (120, 120), (120, 121), (120, 122), (120, 123), (120, 124), (120, 125), (120, 126), (120, 127), (120, 128), (120, 129), (120, 130), (120, 131), (120, 132), (120, 133), (120, 134), (120, 135), (120, 136), (120, 137), (120, 138), (120, 139), (120, 140), (120, 141),
(120, 142), (120, 143), (120, 144), (120, 145), (120, 146), (120, 147), (120, 148), (120, 149), (120, 150), (120, 151), (120, 152), (120, 153), (120, 154), (120, 155), (120, 156), (120, 157), (120, 158), (120, 159), (120, 160), (120, 161), (120, 162), (120, 163), (120, 164), (120, 165), (120, 166), (120, 167), (120, 168), (120, 169), (120, 170), (120, 171), (120, 172), (120, 173), (120, 174), (120, 175), (120, 176), (120, 177), (120, 178), (120, 179), (120, 180), (120, 181), (120, 182), (120, 183), (120, 184), (120, 185), (120, 186), (120, 187), (120, 188), (120, 189), (120, 190), (120, 191), (120, 192), (120, 193), (120, 194), (120, 195), (120, 196), (120, 197), (120, 198), (120, 199), (120, 200), (120, 201), (120, 202), (120, 203), (120, 204), (120, 206), (121, 113), (121, 115), (121, 116), (121, 117), (121, 118), (121, 119), (121, 120), (121, 121),
(121, 122), (121, 123), (121, 124), (121, 125), (121, 126), (121, 127), (121, 128), (121, 129), (121, 130), (121, 131), (121, 132), (121, 133), (121, 134), (121, 135), (121, 136), (121, 137), (121, 138), (121, 139), (121, 140), (121, 141), (121, 142), (121, 143), (121, 144), (121, 145), (121, 146), (121, 147), (121, 148), (121, 149), (121, 150), (121, 151), (121, 152), (121, 153), (121, 154), (121, 155), (121, 156), (121, 157), (121, 158), (121, 159), (121, 160), (121, 161), (121, 162), (121, 163), (121, 164), (121, 165), (121, 166), (121, 167), (121, 168), (121, 169), (121, 170), (121, 171), (121, 172), (121, 173), (121, 174), (121, 175), (121, 176), (121, 177), (121, 178), (121, 179), (121, 180), (121, 181), (121, 182), (121, 183), (121, 184), (121, 185), (121, 186), (121, 187), (121, 188), (121, 189), (121, 190), (121, 191), (121, 192), (121, 193),
(121, 194), (121, 195), (121, 196), (121, 197), (121, 198), (121, 199), (121, 200), (121, 201), (121, 202), (121, 203), (121, 204), (121, 206), (122, 112), (122, 114), (122, 115), (122, 116), (122, 117), (122, 118), (122, 119), (122, 120), (122, 121), (122, 122), (122, 123), (122, 124), (122, 125), (122, 126), (122, 127), (122, 128), (122, 129), (122, 130), (122, 131), (122, 132), (122, 133), (122, 134), (122, 135), (122, 136), (122, 137), (122, 138), (122, 139), (122, 140), (122, 141), (122, 142), (122, 143), (122, 144), (122, 145), (122, 146), (122, 147), (122, 148), (122, 149), (122, 150), (122, 151), (122, 152), (122, 153), (122, 154), (122, 155), (122, 156), (122, 157), (122, 158), (122, 159), (122, 160), (122, 161), (122, 162), (122, 163), (122, 164), (122, 165), (122, 166), (122, 167), (122, 168), (122, 169), (122, 170), (122, 171), (122, 172),
(122, 173), (122, 174), (122, 175), (122, 176), (122, 177), (122, 178), (122, 179), (122, 180), (122, 181), (122, 182), (122, 183), (122, 184), (122, 185), (122, 186), (122, 187), (122, 188), (122, 189), (122, 190), (122, 191), (122, 192), (122, 193), (122, 194), (122, 195), (122, 196), (122, 197), (122, 198), (122, 199), (122, 200), (122, 201), (122, 202), (122, 203), (122, 205), (122, 206), (123, 111), (123, 113), (123, 114), (123, 115), (123, 116), (123, 117), (123, 118), (123, 119), (123, 120), (123, 121), (123, 122), (123, 123), (123, 124), (123, 125), (123, 126), (123, 127), (123, 128), (123, 129), (123, 130), (123, 131), (123, 132), (123, 133), (123, 134), (123, 135), (123, 136), (123, 137), (123, 138), (123, 139), (123, 140), (123, 141), (123, 142), (123, 143), (123, 144), (123, 145), (123, 146), (123, 147), (123, 148), (123, 149), (123, 150),
(123, 151), (123, 152), (123, 153), (123, 154), (123, 155), (123, 156), (123, 157), (123, 158), (123, 159), (123, 160), (123, 161), (123, 162), (123, 163), (123, 164), (123, 165), (123, 166), (123, 167), (123, 168), (123, 169), (123, 170), (123, 171), (123, 172), (123, 173), (123, 174), (123, 175), (123, 176), (123, 177), (123, 178), (123, 179), (123, 180), (123, 181), (123, 182), (123, 183), (123, 184), (123, 185), (123, 186), (123, 187), (123, 188), (123, 189), (123, 190), (123, 191), (123, 192), (123, 193), (123, 194), (123, 195), (123, 196), (123, 197), (123, 198), (123, 199), (123, 200), (123, 201), (123, 202), (123, 203), (123, 204), (123, 206), (124, 110), (124, 113), (124, 114), (124, 115), (124, 116), (124, 117), (124, 118), (124, 119), (124, 120), (124, 121), (124, 122), (124, 123), (124, 124), (124, 125), (124, 126), (124, 127), (124, 128),
(124, 129), (124, 130), (124, 131), (124, 132), (124, 133), (124, 134), (124, 135), (124, 136), (124, 137), (124, 138), (124, 139), (124, 140), (124, 141), (124, 142), (124, 143), (124, 144), (124, 145), (124, 146), (124, 147), (124, 148), (124, 149), (124, 150), (124, 151), (124, 152), (124, 153), (124, 154), (124, 155), (124, 156), (124, 157), (124, 158), (124, 159), (124, 160), (124, 161), (124, 162), (124, 163), (124, 164), (124, 165), (124, 166), (124, 167), (124, 168), (124, 169), (124, 170), (124, 171), (124, 172), (124, 173), (124, 174), (124, 175), (124, 176), (124, 177), (124, 178), (124, 179), (124, 180), (124, 181), (124, 182), (124, 183), (124, 184), (124, 185), (124, 186), (124, 187), (124, 188), (124, 189), (124, 190), (124, 191), (124, 192), (124, 193), (124, 194), (124, 195), (124, 196), (124, 197), (124, 198), (124, 199), (124, 200),
(124, 201), (124, 202), (124, 203), (124, 204), (124, 206), (125, 110), (125, 112), (125, 113), (125, 114), (125, 115), (125, 116), (125, 117), (125, 118), (125, 119), (125, 120), (125, 121), (125, 122), (125, 123), (125, 124), (125, 125), (125, 126), (125, 127), (125, 128), (125, 129), (125, 130), (125, 131), (125, 132), (125, 133), (125, 134), (125, 135), (125, 136), (125, 137), (125, 138), (125, 139), (125, 140), (125, 141), (125, 142), (125, 143), (125, 144), (125, 145), (125, 146), (125, 147), (125, 148), (125, 149), (125, 150), (125, 151), (125, 152), (125, 153), (125, 154), (125, 155), (125, 156), (125, 157), (125, 158), (125, 159), (125, 160), (125, 161), (125, 162), (125, 163), (125, 164), (125, 165), (125, 166), (125, 167), (125, 168), (125, 169), (125, 170), (125, 171), (125, 172), (125, 173), (125, 174), (125, 175), (125, 176), (125, 177),
(125, 178), (125, 179), (125, 180), (125, 181), (125, 182), (125, 183), (125, 184), (125, 185), (125, 186), (125, 187), (125, 188), (125, 189), (125, 190), (125, 191), (125, 192), (125, 193), (125, 194), (125, 195), (125, 196), (125, 197), (125, 198), (125, 199), (125, 200), (125, 201), (125, 202), (125, 203), (125, 204), (125, 205), (125, 207), (126, 109), (126, 111), (126, 112), (126, 113), (126, 114), (126, 115), (126, 116), (126, 117), (126, 118), (126, 119), (126, 120), (126, 121), (126, 122), (126, 123), (126, 124), (126, 125), (126, 126), (126, 127), (126, 128), (126, 129), (126, 130), (126, 131), (126, 132), (126, 133), (126, 134), (126, 135), (126, 136), (126, 137), (126, 138), (126, 139), (126, 140), (126, 141), (126, 142), (126, 143), (126, 144), (126, 145), (126, 146), (126, 147), (126, 148), (126, 149), (126, 150), (126, 151), (126, 152),
(126, 153), (126, 154), (126, 155), (126, 156), (126, 157), (126, 158), (126, 159), (126, 160), (126, 161), (126, 162), (126, 163), (126, 164), (126, 165), (126, 166), (126, 167), (126, 168), (126, 169), (126, 170), (126, 171), (126, 172), (126, 173), (126, 174), (126, 175), (126, 176), (126, 177), (126, 178), (126, 179), (126, 180), (126, 181), (126, 182), (126, 183), (126, 184), (126, 185), (126, 186), (126, 187), (126, 188), (126, 189), (126, 190), (126, 191), (126, 192), (126, 193), (126, 194), (126, 195), (126, 196), (126, 197), (126, 198), (126, 199), (126, 200), (126, 201), (126, 202), (126, 203), (126, 204), (126, 205), (126, 206), (126, 208), (127, 108), (127, 110), (127, 111), (127, 112), (127, 113), (127, 114), (127, 115), (127, 116), (127, 117), (127, 118), (127, 119), (127, 120), (127, 121), (127, 122), (127, 123), (127, 124), (127, 125),
(127, 126), (127, 127), (127, 128), (127, 129), (127, 130), (127, 131), (127, 132), (127, 133), (127, 134), (127, 135), (127, 136), (127, 137), (127, 138), (127, 139), (127, 140), (127, 141), (127, 142), (127, 143), (127, 144), (127, 145), (127, 146), (127, 147), (127, 148), (127, 149), (127, 150), (127, 151), (127, 152), (127, 153), (127, 154), (127, 155), (127, 156), (127, 157), (127, 158), (127, 159), (127, 160), (127, 161), (127, 162), (127, 163), (127, 164), (127, 165), (127, 166), (127, 167), (127, 168), (127, 169), (127, 170), (127, 171), (127, 172), (127, 173), (127, 174), (127, 175), (127, 176), (127, 177), (127, 178), (127, 179), (127, 180), (127, 181), (127, 182), (127, 183), (127, 184), (127, 185), (127, 186), (127, 187), (127, 188), (127, 189), (127, 190), (127, 191), (127, 192), (127, 193), (127, 194), (127, 195), (127, 196), (127, 197),
(127, 198), (127, 199), (127, 200), (127, 201), (127, 202), (127, 203), (127, 204), (127, 205), (127, 206), (127, 207), (127, 209), (128, 107), (128, 109), (128, 110), (128, 111), (128, 112), (128, 113), (128, 114), (128, 115), (128, 116), (128, 117), (128, 118), (128, 119), (128, 120), (128, 121), (128, 122), (128, 123), (128, 124), (128, 125), (128, 126), (128, 127), (128, 128), (128, 129), (128, 130), (128, 131), (128, 132), (128, 133), (128, 134), (128, 135), (128, 136), (128, 137), (128, 138), (128, 139), (128, 140), (128, 141), (128, 142), (128, 143), (128, 144), (128, 145), (128, 146), (128, 147), (128, 148), (128, 149), (128, 150), (128, 151), (128, 152), (128, 153), (128, 154), (128, 155), (128, 156), (128, 157), (128, 158), (128, 159), (128, 160), (128, 161), (128, 162), (128, 163), (128, 164), (128, 165), (128, 166), (128, 167), (128, 168),
(128, 169), (128, 170), (128, 171), (128, 172), (128, 173), (128, 174), (128, 175), (128, 176), (128, 177), (128, 178), (128, 179), (128, 180), (128, 181), (128, 182), (128, 183), (128, 184), (128, 185), (128, 186), (128, 187), (128, 188), (128, 189), (128, 190), (128, 191), (128, 192), (128, 193), (128, 194), (128, 195), (128, 196), (128, 197), (128, 198), (128, 199), (128, 200), (128, 201), (128, 202), (128, 203), (128, 204), (128, 205), (128, 206), (128, 207), (128, 209), (129, 107), (129, 109), (129, 110), (129, 111), (129, 112), (129, 113), (129, 114), (129, 115), (129, 116), (129, 117), (129, 118), (129, 119), (129, 120), (129, 121), (129, 122), (129, 123), (129, 124), (129, 125), (129, 126), (129, 127), (129, 128), (129, 129), (129, 130), (129, 131), (129, 132), (129, 133), (129, 134), (129, 135), (129, 136), (129, 137), (129, 138), (129, 139),
(129, 140), (129, 141), (129, 142), (129, 143), (129, 144), (129, 145), (129, 146), (129, 147), (129, 148), (129, 149), (129, 150), (129, 151), (129, 152), (129, 153), (129, 154), (129, 155), (129, 156), (129, 157), (129, 158), (129, 159), (129, 160), (129, 161), (129, 162), (129, 163), (129, 164), (129, 165), (129, 166), (129, 167), (129, 168), (129, 169), (129, 170), (129, 171), (129, 172), (129, 173), (129, 174), (129, 175), (129, 176), (129, 177), (129, 178), (129, 179), (129, 180), (129, 181), (129, 182), (129, 183), (129, 184), (129, 185), (129, 186), (129, 187), (129, 188), (129, 189), (129, 190), (129, 191), (129, 192), (129, 193), (129, 194), (129, 195), (129, 196), (129, 197), (129, 198), (129, 199), (129, 200), (129, 201), (129, 202), (129, 203), (129, 204), (129, 205), (129, 206), (129, 207), (129, 208), (129, 210), (130, 106), (130, 108),
(130, 109), (130, 110), (130, 111), (130, 112), (130, 113), (130, 114), (130, 115), (130, 116), (130, 117), (130, 118), (130, 119), (130, 120), (130, 121), (130, 122), (130, 123), (130, 124), (130, 125), (130, 126), (130, 127), (130, 128), (130, 129), (130, 130), (130, 131), (130, 132), (130, 133), (130, 134), (130, 135), (130, 136), (130, 137), (130, 138), (130, 139), (130, 140), (130, 141), (130, 142), (130, 143), (130, 144), (130, 145), (130, 146), (130, 147), (130, 148), (130, 149), (130, 150), (130, 151), (130, 152), (130, 153), (130, 154), (130, 155), (130, 156), (130, 157), (130, 158), (130, 159), (130, 160), (130, 161), (130, 162), (130, 163), (130, 164), (130, 165), (130, 166), (130, 167), (130, 168), (130, 169), (130, 170), (130, 171), (130, 172), (130, 173), (130, 174), (130, 175), (130, 176), (130, 177), (130, 178), (130, 179), (130, 180),
(130, 181), (130, 182), (130, 183), (130, 184), (130, 185), (130, 186), (130, 187), (130, 188), (130, 189), (130, 190), (130, 191), (130, 192), (130, 193), (130, 194), (130, 195), (130, 196), (130, 197), (130, 198), (130, 199), (130, 200), (130, 201), (130, 202), (130, 203), (130, 204), (130, 205), (130, 206), (130, 207), (130, 208), (130, 209), (130, 211), (131, 105), (131, 107), (131, 108), (131, 109), (131, 110), (131, 111), (131, 112), (131, 113), (131, 114), (131, 115), (131, 116), (131, 117), (131, 118), (131, 119), (131, 120), (131, 121), (131, 122), (131, 123), (131, 124), (131, 125), (131, 126), (131, 127), (131, 128), (131, 129), (131, 130), (131, 131), (131, 132), (131, 133), (131, 134), (131, 135), (131, 136), (131, 137), (131, 138), (131, 139), (131, 140), (131, 141), (131, 142), (131, 143), (131, 144), (131, 145), (131, 146), (131, 147),
(131, 148), (131, 149), (131, 150), (131, 151), (131, 152), (131, 153), (131, 154), (131, 155), (131, 156), (131, 157), (131, 158), (131, 159), (131, 160), (131, 161), (131, 162), (131, 163), (131, 164), (131, 165), (131, 166), (131, 167), (131, 168), (131, 169), (131, 170), (131, 171), (131, 172), (131, 173), (131, 174), (131, 175), (131, 176), (131, 177), (131, 178), (131, 179), (131, 180), (131, 181), (131, 182), (131, 183), (131, 184), (131, 185), (131, 186), (131, 187), (131, 188), (131, 189), (131, 190), (131, 191), (131, 192), (131, 193), (131, 194), (131, 195), (131, 196), (131, 197), (131, 198), (131, 199), (131, 200), (131, 201), (131, 202), (131, 203), (131, 204), (131, 205), (131, 206), (131, 207), (131, 208), (131, 209), (131, 211), (132, 105), (132, 107), (132, 108), (132, 109), (132, 110), (132, 111), (132, 112), (132, 113), (132, 114),
(132, 115), (132, 116), (132, 117), (132, 118), (132, 119), (132, 120), (132, 121), (132, 122), (132, 123), (132, 124), (132, 125), (132, 126), (132, 127), (132, 128), (132, 129), (132, 130), (132, 131), (132, 132), (132, 133), (132, 134), (132, 135), (132, 136), (132, 137), (132, 138), (132, 139), (132, 140), (132, 141), (132, 142), (132, 143), (132, 144), (132, 145), (132, 146), (132, 147), (132, 148), (132, 149), (132, 150), (132, 151), (132, 152), (132, 153), (132, 154), (132, 155), (132, 156), (132, 157), (132, 158), (132, 159), (132, 160), (132, 161), (132, 162), (132, 163), (132, 164), (132, 165), (132, 166), (132, 167), (132, 168), (132, 169), (132, 170), (132, 171), (132, 172), (132, 173), (132, 174), (132, 175), (132, 176), (132, 177), (132, 178), (132, 179), (132, 180), (132, 181), (132, 182), (132, 183), (132, 184), (132, 185), (132, 186),
(132, 187), (132, 188), (132, 189), (132, 190), (132, 191), (132, 192), (132, 193), (132, 194), (132, 195), (132, 196), (132, 197), (132, 198), (132, 199), (132, 200), (132, 201), (132, 202), (132, 203), (132, 204), (132, 205), (132, 206), (132, 207), (132, 208), (132, 209), (132, 211), (133, 104), (133, 106), (133, 107), (133, 108), (133, 109), (133, 110), (133, 111), (133, 112), (133, 113), (133, 114), (133, 115), (133, 116), (133, 117), (133, 118), (133, 119), (133, 120), (133, 121), (133, 122), (133, 123), (133, 124), (133, 125), (133, 126), (133, 127), (133, 128), (133, 129), (133, 130), (133, 131), (133, 132), (133, 133), (133, 134), (133, 135), (133, 136), (133, 137), (133, 138), (133, 139), (133, 140), (133, 141), (133, 142), (133, 143), (133, 144), (133, 145), (133, 146), (133, 147), (133, 148), (133, 149), (133, 150), (133, 151), (133, 152),
(133, 153), (133, 154), (133, 155), (133, 156), (133, 157), (133, 158), (133, 159), (133, 160), (133, 161), (133, 162), (133, 163), (133, 164), (133, 165), (133, 166), (133, 167), (133, 168), (133, 169), (133, 170), (133, 171), (133, 172), (133, 173), (133, 174), (133, 175), (133, 176), (133, 177), (133, 178), (133, 179), (133, 180), (133, 181), (133, 182), (133, 183), (133, 184), (133, 185), (133, 186), (133, 187), (133, 188), (133, 189), (133, 190), (133, 191), (133, 192), (133, 193), (133, 194), (133, 195), (133, 196), (133, 197), (133, 198), (133, 199), (133, 200), (133, 201), (133, 202), (133, 203), (133, 204), (133, 205), (133, 206), (133, 207), (133, 208), (133, 209), (133, 211), (134, 104), (134, 106), (134, 107), (134, 108), (134, 109), (134, 110), (134, 111), (134, 112), (134, 113), (134, 114), (134, 115), (134, 116), (134, 117), (134, 118),
(134, 119), (134, 120), (134, 121), (134, 122), (134, 123), (134, 124), (134, 125), (134, 126), (134, 127), (134, 128), (134, 129), (134, 130), (134, 131), (134, 132), (134, 133), (134, 134), (134, 135), (134, 136), (134, 137), (134, 138), (134, 139), (134, 140), (134, 141), (134, 142), (134, 143), (134, 144), (134, 145), (134, 146), (134, 147), (134, 148), (134, 149), (134, 150), (134, 151), (134, 152), (134, 153), (134, 154), (134, 155), (134, 156), (134, 157), (134, 158), (134, 159), (134, 160), (134, 161), (134, 162), (134, 163), (134, 164), (134, 165), (134, 166), (134, 167), (134, 168), (134, 169), (134, 170), (134, 171), (134, 172), (134, 173), (134, 174), (134, 175), (134, 176), (134, 177), (134, 178), (134, 179), (134, 180), (134, 181), (134, 182), (134, 183), (134, 184), (134, 185), (134, 186), (134, 187), (134, 188), (134, 189), (134, 190),
(134, 191), (134, 192), (134, 193), (134, 194), (134, 195), (134, 196), (134, 197), (134, 198), (134, 199), (134, 200), (134, 201), (134, 202), (134, 203), (134, 204), (134, 205), (134, 206), (134, 207), (134, 208), (134, 209), (134, 211), (135, 104), (135, 106), (135, 107), (135, 108), (135, 109), (135, 110), (135, 111), (135, 112), (135, 113), (135, 114), (135, 115), (135, 116), (135, 117), (135, 118), (135, 119), (135, 120), (135, 121), (135, 122), (135, 123), (135, 124), (135, 125), (135, 126), (135, 127), (135, 128), (135, 129), (135, 130), (135, 131), (135, 132), (135, 133), (135, 134), (135, 135), (135, 136), (135, 137), (135, 138), (135, 139), (135, 140), (135, 141), (135, 142), (135, 143), (135, 144), (135, 145), (135, 146), (135, 147), (135, 148), (135, 149), (135, 150), (135, 151), (135, 152), (135, 153), (135, 154), (135, 155), (135, 156),
(135, 157), (135, 158), (135, 159), (135, 160), (135, 161), (135, 162), (135, 163), (135, 164), (135, 165), (135, 166), (135, 167), (135, 168), (135, 169), (135, 170), (135, 171), (135, 172), (135, 173), (135, 174), (135, 175), (135, 176), (135, 177), (135, 178), (135, 179), (135, 180), (135, 181), (135, 182), (135, 183), (135, 184), (135, 185), (135, 186), (135, 187), (135, 188), (135, 189), (135, 190), (135, 191), (135, 192), (135, 193), (135, 194), (135, 195), (135, 196), (135, 197), (135, 198), (135, 199), (135, 200), (135, 201), (135, 202), (135, 203), (135, 204), (135, 205), (135, 206), (135, 207), (135, 208), (135, 209), (135, 211), (136, 103), (136, 105), (136, 106), (136, 107), (136, 108), (136, 109), (136, 110), (136, 111), (136, 112), (136, 113), (136, 114), (136, 115), (136, 116), (136, 117), (136, 118), (136, 119), (136, 120), (136, 121),
(136, 122), (136, 123), (136, 124), (136, 125), (136, 126), (136, 127), (136, 128), (136, 129), (136, 130), (136, 131), (136, 132), (136, 133), (136, 134), (136, 135), (136, 136), (136, 137), (136, 138), (136, 139), (136, 140), (136, 141), (136, 142), (136, 143), (136, 144), (136, 145), (136, 146), (136, 147), (136, 148), (136, 149), (136, 150), (136, 151), (136, 152), (136, 153), (136, 154), (136, 155), (136, 156), (136, 157), (136, 158), (136, 159), (136, 160), (136, 161), (136, 162), (136, 163), (136, 164), (136, 165), (136, 166), (136, 167), (136, 168), (136, 169), (136, 170), (136, 171), (136, 172), (136, 173), (136, 174), (136, 175), (136, 176), (136, 177), (136, 178), (136, 179), (136, 180), (136, 181), (136, 182), (136, 183), (136, 184), (136, 185), (136, 186), (136, 187), (136, 188), (136, 189), (136, 190), (136, 191), (136, 192), (136, 193),
(136, 194), (136, 195), (136, 196), (136, 197), (136, 198), (136, 199), (136, 200), (136, 201), (136, 202), (136, 203), (136, 204), (136, 205), (136, 206), (136, 207), (136, 208), (136, 209), (136, 211), (137, 103), (137, 105), (137, 106), (137, 107), (137, 108), (137, 109), (137, 110), (137, 111), (137, 112), (137, 113), (137, 114), (137, 115), (137, 116), (137, 117), (137, 118), (137, 119), (137, 120), (137, 121), (137, 122), (137, 123), (137, 124), (137, 125), (137, 126), (137, 127), (137, 128), (137, 129), (137, 130), (137, 131), (137, 132), (137, 133), (137, 134), (137, 135), (137, 136), (137, 137), (137, 138), (137, 139), (137, 140), (137, 141), (137, 142), (137, 143), (137, 144), (137, 145), (137, 146), (137, 147), (137, 148), (137, 149), (137, 150), (137, 151), (137, 152), (137, 153), (137, 154), (137, 155), (137, 156), (137, 157), (137, 158),
(137, 159), (137, 160), (137, 161), (137, 162), (137, 163), (137, 164), (137, 165), (137, 166), (137, 167), (137, 168), (137, 169), (137, 170), (137, 171), (137, 172), (137, 173), (137, 174), (137, 175), (137, 176), (137, 177), (137, 178), (137, 179), (137, 180), (137, 181), (137, 182), (137, 183), (137, 184), (137, 185), (137, 186), (137, 187), (137, 188), (137, 189), (137, 190), (137, 191), (137, 192), (137, 193), (137, 194), (137, 195), (137, 196), (137, 197), (137, 198), (137, 199), (137, 200), (137, 201), (137, 202), (137, 203), (137, 204), (137, 205), (137, 206), (137, 207), (137, 208), (137, 209), (137, 211), (138, 102), (138, 103), (138, 104), (138, 105), (138, 106), (138, 107), (138, 108), (138, 109), (138, 110), (138, 111), (138, 112), (138, 113), (138, 114), (138, 115), (138, 116), (138, 117), (138, 118), (138, 119), (138, 120), (138, 121),
(138, 122), (138, 123), (138, 124), (138, 125), (138, 126), (138, 127), (138, 128), (138, 129), (138, 130), (138, 131), (138, 132), (138, 133), (138, 134), (138, 135), (138, 136), (138, 137), (138, 138), (138, 139), (138, 140), (138, 141), (138, 142), (138, 143), (138, 144), (138, 145), (138, 146), (138, 147), (138, 148), (138, 149), (138, 150), (138, 151), (138, 152), (138, 153), (138, 154), (138, 155), (138, 156), (138, 157), (138, 158), (138, 159), (138, 160), (138, 161), (138, 162), (138, 163), (138, 164), (138, 165), (138, 166), (138, 167), (138, 168), (138, 169), (138, 170), (138, 171), (138, 172), (138, 173), (138, 174), (138, 175), (138, 176), (138, 177), (138, 178), (138, 179), (138, 180), (138, 181), (138, 182), (138, 183), (138, 184), (138, 185), (138, 186), (138, 187), (138, 188), (138, 189), (138, 190), (138, 191), (138, 192), (138, 193),
(138, 194), (138, 195), (138, 196), (138, 197), (138, 198), (138, 199), (138, 200), (138, 201), (138, 202), (138, 203), (138, 204), (138, 205), (138, 206), (138, 207), (138, 208), (138, 210), (139, 102), (139, 104), (139, 105), (139, 106), (139, 107), (139, 108), (139, 109), (139, 110), (139, 111), (139, 112), (139, 113), (139, 114), (139, 115), (139, 116), (139, 117), (139, 118), (139, 119), (139, 120), (139, 121), (139, 122), (139, 123), (139, 124), (139, 125), (139, 126), (139, 127), (139, 128), (139, 129), (139, 130), (139, 131), (139, 132), (139, 133), (139, 134), (139, 135), (139, 136), (139, 137), (139, 138), (139, 139), (139, 140), (139, 141), (139, 142), (139, 143), (139, 144), (139, 145), (139, 146), (139, 147), (139, 148), (139, 149), (139, 150), (139, 151), (139, 152), (139, 153), (139, 154), (139, 155), (139, 156), (139, 157), (139, 158),
(139, 159), (139, 160), (139, 161), (139, 162), (139, 163), (139, 164), (139, 165), (139, 166), (139, 167), (139, 168), (139, 169), (139, 170), (139, 171), (139, 172), (139, 173), (139, 174), (139, 175), (139, 176), (139, 177), (139, 178), (139, 179), (139, 180), (139, 181), (139, 182), (139, 183), (139, 184), (139, 185), (139, 186), (139, 187), (139, 188), (139, 189), (139, 190), (139, 191), (139, 192), (139, 193), (139, 194), (139, 195), (139, 196), (139, 197), (139, 198), (139, 199), (139, 200), (139, 201), (139, 202), (139, 203), (139, 204), (139, 205), (139, 206), (139, 207), (139, 208), (139, 210), (140, 102), (140, 104), (140, 105), (140, 106), (140, 107), (140, 108), (140, 109), (140, 110), (140, 111), (140, 112), (140, 113), (140, 114), (140, 115), (140, 116), (140, 117), (140, 118), (140, 119), (140, 120), (140, 121), (140, 122), (140, 123),
(140, 124), (140, 125), (140, 126), (140, 127), (140, 128), (140, 129), (140, 130), (140, 131), (140, 132), (140, 133), (140, 134), (140, 135), (140, 136), (140, 137), (140, 138), (140, 139), (140, 140), (140, 141), (140, 142), (140, 143), (140, 144), (140, 145), (140, 146), (140, 147), (140, 148), (140, 149), (140, 150), (140, 151), (140, 152), (140, 153), (140, 154), (140, 155), (140, 156), (140, 157), (140, 158), (140, 159), (140, 160), (140, 161), (140, 162), (140, 163), (140, 164), (140, 165), (140, 166), (140, 167), (140, 168), (140, 169), (140, 170), (140, 171), (140, 172), (140, 173), (140, 174), (140, 175), (140, 176), (140, 177), (140, 178), (140, 179), (140, 180), (140, 181), (140, 182), (140, 183), (140, 184), (140, 185), (140, 186), (140, 187), (140, 188), (140, 189), (140, 190), (140, 191), (140, 192), (140, 193), (140, 194), (140, 195),
(140, 196), (140, 197), (140, 198), (140, 199), (140, 200), (140, 201), (140, 202), (140, 203), (140, 204), (140, 205), (140, 206), (140, 207), (140, 208), (140, 210), (141, 102), (141, 104), (141, 105), (141, 106), (141, 107), (141, 108), (141, 109), (141, 110), (141, 111), (141, 112), (141, 113), (141, 114), (141, 115), (141, 116), (141, 117), (141, 118), (141, 119), (141, 120), (141, 121), (141, 122), (141, 123), (141, 124), (141, 125), (141, 126), (141, 127), (141, 128), (141, 129), (141, 130), (141, 131), (141, 132), (141, 133), (141, 134), (141, 135), (141, 136), (141, 137), (141, 138), (141, 139), (141, 140), (141, 141), (141, 142), (141, 143), (141, 144), (141, 145), (141, 146), (141, 147), (141, 148), (141, 149), (141, 150), (141, 151), (141, 152), (141, 153), (141, 154), (141, 155), (141, 156), (141, 157), (141, 158), (141, 159), (141, 160),
(141, 161), (141, 162), (141, 163), (141, 164), (141, 165), (141, 166), (141, 167), (141, 168), (141, 169), (141, 170), (141, 171), (141, 172), (141, 173), (141, 174), (141, 175), (141, 176), (141, 177), (141, 178), (141, 179), (141, 180), (141, 181), (141, 182), (141, 183), (141, 184), (141, 185), (141, 186), (141, 187), (141, 188), (141, 189), (141, 190), (141, 191), (141, 192), (141, 193), (141, 194), (141, 195), (141, 196), (141, 197), (141, 198), (141, 199), (141, 200), (141, 201), (141, 202), (141, 203), (141, 204), (141, 205), (141, 206), (141, 207), (141, 209), (142, 101), (142, 103), (142, 104), (142, 105), (142, 106), (142, 107), (142, 108), (142, 109), (142, 110), (142, 111), (142, 112), (142, 113), (142, 114), (142, 115), (142, 116), (142, 117), (142, 118), (142, 119), (142, 120), (142, 121), (142, 122), (142, 123), (142, 124), (142, 125),
(142, 126), (142, 127), (142, 128), (142, 129), (142, 130), (142, 131), (142, 132), (142, 133), (142, 134), (142, 135), (142, 136), (142, 137), (142, 138), (142, 139), (142, 140), (142, 141), (142, 142), (142, 143), (142, 144), (142, 145), (142, 146), (142, 147), (142, 148), (142, 149), (142, 150), (142, 151), (142, 152), (142, 153), (142, 154), (142, 155), (142, 156), (142, 157), (142, 158), (142, 159), (142, 160), (142, 161), (142, 162), (142, 163), (142, 164), (142, 165), (142, 166), (142, 167), (142, 168), (142, 169), (142, 170), (142, 171), (142, 172), (142, 173), (142, 174), (142, 175), (142, 176), (142, 177), (142, 178), (142, 179), (142, 180), (142, 181), (142, 182), (142, 183), (142, 184), (142, 185), (142, 186), (142, 187), (142, 188), (142, 189), (142, 190), (142, 191), (142, 192), (142, 193), (142, 194), (142, 195), (142, 196), (142, 197),
(142, 198), (142, 199), (142, 200), (142, 201), (142, 202), (142, 203), (142, 204), (142, 205), (142, 206), (142, 207), (142, 209), (143, 101), (143, 103), (143, 104), (143, 105), (143, 106), (143, 107), (143, 108), (143, 109), (143, 110), (143, 111), (143, 112), (143, 113), (143, 114), (143, 115), (143, 116), (143, 117), (143, 118), (143, 119), (143, 120), (143, 121), (143, 122), (143, 123), (143, 124), (143, 125), (143, 126), (143, 127), (143, 128), (143, 129), (143, 130), (143, 131), (143, 132), (143, 133), (143, 134), (143, 135), (143, 136), (143, 137), (143, 138), (143, 139), (143, 140), (143, 141), (143, 142), (143, 143), (143, 144), (143, 145), (143, 146), (143, 147), (143, 148), (143, 149), (143, 150), (143, 151), (143, 152), (143, 153), (143, 154), (143, 155), (143, 156), (143, 157), (143, 158), (143, 159), (143, 160), (143, 161), (143, 162),
(143, 163), (143, 164), (143, 165), (143, 166), (143, 167), (143, 168), (143, 169), (143, 170), (143, 171), (143, 172), (143, 173), (143, 174), (143, 175), (143, 176), (143, 177), (143, 178), (143, 179), (143, 180), (143, 181), (143, 182), (143, 183), (143, 184), (143, 185), (143, 186), (143, 187), (143, 188), (143, 189), (143, 190), (143, 191), (143, 192), (143, 193), (143, 194), (143, 195), (143, 196), (143, 197), (143, 198), (143, 199), (143, 200), (143, 201), (143, 202), (143, 203), (143, 204), (143, 205), (143, 206), (143, 207), (143, 209), (144, 101), (144, 103), (144, 104), (144, 105), (144, 106), (144, 107), (144, 108), (144, 109), (144, 110), (144, 111), (144, 112), (144, 113), (144, 114), (144, 115), (144, 116), (144, 117), (144, 118), (144, 119), (144, 120), (144, 121), (144, 122), (144, 123), (144, 124), (144, 125), (144, 126), (144, 127),
(144, 128), (144, 129), (144, 130), (144, 131), (144, 132), (144, 133), (144, 134), (144, 135), (144, 136), (144, 137), (144, 138), (144, 139), (144, 140), (144, 141), (144, 142), (144, 143), (144, 144), (144, 145), (144, 146), (144, 147), (144, 148), (144, 149), (144, 150), (144, 151), (144, 152), (144, 153), (144, 154), (144, 155), (144, 156), (144, 157), (144, 158), (144, 159), (144, 160), (144, 161), (144, 162), (144, 163), (144, 164), (144, 165), (144, 166), (144, 167), (144, 168), (144, 169), (144, 170), (144, 171), (144, 172), (144, 173), (144, 174), (144, 175), (144, 176), (144, 177), (144, 178), (144, 179), (144, 180), (144, 181), (144, 182), (144, 183), (144, 184), (144, 185), (144, 186), (144, 187), (144, 188), (144, 189), (144, 190), (144, 191), (144, 192), (144, 193), (144, 194), (144, 195), (144, 196), (144, 197), (144, 198), (144, 199),
(144, 200), (144, 201), (144, 202), (144, 203), (144, 204), (144, 205), (144, 206), (144, 208), (145, 101), (145, 103), (145, 104), (145, 105), (145, 106), (145, 107), (145, 108), (145, 109), (145, 110), (145, 111), (145, 112), (145, 113), (145, 114), (145, 115), (145, 116), (145, 117), (145, 118), (145, 119), (145, 120), (145, 121), (145, 122), (145, 123), (145, 124), (145, 125), (145, 126), (145, 127), (145, 128), (145, 129), (145, 130), (145, 131), (145, 132), (145, 133), (145, 134), (145, 135), (145, 136), (145, 137), (145, 138), (145, 139), (145, 140), (145, 141), (145, 142), (145, 143), (145, 144), (145, 145), (145, 146), (145, 147), (145, 148), (145, 149), (145, 150), (145, 151), (145, 152), (145, 153), (145, 154), (145, 155), (145, 156), (145, 157), (145, 158), (145, 159), (145, 160), (145, 161), (145, 162), (145, 163), (145, 164), (145, 165),
(145, 166), (145, 167), (145, 168), (145, 169), (145, 170), (145, 171), (145, 172), (145, 173), (145, 174), (145, 175), (145, 176), (145, 177), (145, 178), (145, 179), (145, 180), (145, 181), (145, 182), (145, 183), (145, 184), (145, 185), (145, 186), (145, 187), (145, 188), (145, 189), (145, 190), (145, 191), (145, 192), (145, 193), (145, 194), (145, 195), (145, 196), (145, 197), (145, 198), (145, 199), (145, 200), (145, 201), (145, 202), (145, 203), (145, 204), (145, 205), (145, 206), (145, 208), (146, 100), (146, 102), (146, 103), (146, 104), (146, 105), (146, 106), (146, 107), (146, 108), (146, 109), (146, 110), (146, 111), (146, 112), (146, 113), (146, 114), (146, 115), (146, 116), (146, 117), (146, 118), (146, 119), (146, 120), (146, 121), (146, 122), (146, 123), (146, 124), (146, 125), (146, 126), (146, 127), (146, 128), (146, 129), (146, 130),
(146, 131), (146, 132), (146, 133), (146, 134), (146, 135), (146, 136), (146, 137), (146, 138), (146, 139), (146, 140), (146, 141), (146, 142), (146, 143), (146, 144), (146, 145), (146, 146), (146, 147), (146, 148), (146, 149), (146, 150), (146, 151), (146, 152), (146, 153), (146, 154), (146, 155), (146, 156), (146, 157), (146, 158), (146, 159), (146, 160), (146, 161), (146, 162), (146, 163), (146, 164), (146, 165), (146, 166), (146, 167), (146, 168), (146, 169), (146, 170), (146, 171), (146, 172), (146, 173), (146, 174), (146, 175), (146, 176), (146, 177), (146, 178), (146, 179), (146, 180), (146, 181), (146, 182), (146, 183), (146, 184), (146, 185), (146, 186), (146, 187), (146, 188), (146, 189), (146, 190), (146, 191), (146, 192), (146, 193), (146, 194), (146, 195), (146, 196), (146, 197), (146, 198), (146, 199), (146, 200), (146, 201), (146, 202),
(146, 203), (146, 204), (146, 205), (146, 207), (147, 100), (147, 102), (147, 103), (147, 104), (147, 105), (147, 106), (147, 107), (147, 108), (147, 109), (147, 110), (147, 111), (147, 112), (147, 113), (147, 114), (147, 115), (147, 116), (147, 117), (147, 118), (147, 119), (147, 120), (147, 121), (147, 122), (147, 123), (147, 124), (147, 125), (147, 126), (147, 127), (147, 128), (147, 129), (147, 130), (147, 131), (147, 132), (147, 133), (147, 134), (147, 135), (147, 136), (147, 137), (147, 138), (147, 139), (147, 140), (147, 141), (147, 142), (147, 143), (147, 144), (147, 145), (147, 146), (147, 147), (147, 148), (147, 149), (147, 150), (147, 151), (147, 152), (147, 153), (147, 154), (147, 155), (147, 156), (147, 157), (147, 158), (147, 159), (147, 160), (147, 161), (147, 162), (147, 163), (147, 164), (147, 165), (147, 166), (147, 167), (147, 168),
(147, 169), (147, 170), (147, 171), (147, 172), (147, 173), (147, 174), (147, 175), (147, 176), (147, 177), (147, 178), (147, 179), (147, 180), (147, 181), (147, 182), (147, 183), (147, 184), (147, 185), (147, 186), (147, 187), (147, 188), (147, 189), (147, 190), (147, 191), (147, 192), (147, 193), (147, 194), (147, 195), (147, 196), (147, 197), (147, 198), (147, 199), (147, 200), (147, 201), (147, 202), (147, 203), (147, 204), (147, 205), (147, 207), (148, 100), (148, 102), (148, 103), (148, 104), (148, 105), (148, 106), (148, 107), (148, 108), (148, 109), (148, 110), (148, 111), (148, 112), (148, 113), (148, 114), (148, 115), (148, 116), (148, 117), (148, 118), (148, 119), (148, 120), (148, 121), (148, 122), (148, 123), (148, 124), (148, 125), (148, 126), (148, 127), (148, 128), (148, 129), (148, 130), (148, 131), (148, 132), (148, 133), (148, 134),
(148, 135), (148, 136), (148, 137), (148, 138), (148, 139), (148, 140), (148, 141), (148, 142), (148, 143), (148, 144), (148, 145), (148, 146), (148, 147), (148, 148), (148, 149), (148, 150), (148, 151), (148, 152), (148, 153), (148, 154), (148, 155), (148, 156), (148, 157), (148, 158), (148, 159), (148, 160), (148, 161), (148, 162), (148, 163), (148, 164), (148, 165), (148, 166), (148, 167), (148, 168), (148, 169), (148, 170), (148, 171), (148, 172), (148, 173), (148, 174), (148, 175), (148, 176), (148, 177), (148, 178), (148, 179), (148, 180), (148, 181), (148, 182), (148, 183), (148, 184), (148, 185), (148, 186), (148, 187), (148, 188), (148, 189), (148, 190), (148, 191), (148, 192), (148, 193), (148, 194), (148, 195), (148, 196), (148, 197), (148, 198), (148, 199), (148, 200), (148, 201), (148, 202), (148, 203), (148, 204), (148, 206), (149, 100),
(149, 102), (149, 103), (149, 104), (149, 105), (149, 106), (149, 107), (149, 108), (149, 109), (149, 110), (149, 111), (149, 112), (149, 113), (149, 114), (149, 115), (149, 116), (149, 117), (149, 118), (149, 119), (149, 120), (149, 121), (149, 122), (149, 123), (149, 124), (149, 125), (149, 126), (149, 127), (149, 128), (149, 129), (149, 130), (149, 131), (149, 132), (149, 133), (149, 134), (149, 135), (149, 136), (149, 137), (149, 138), (149, 139), (149, 140), (149, 141), (149, 142), (149, 143), (149, 144), (149, 145), (149, 146), (149, 147), (149, 148), (149, 149), (149, 150), (149, 151), (149, 152), (149, 153), (149, 154), (149, 155), (149, 156), (149, 157), (149, 158), (149, 159), (149, 160), (149, 161), (149, 162), (149, 163), (149, 164), (149, 165), (149, 166), (149, 167), (149, 168), (149, 169), (149, 170), (149, 171), (149, 172), (149, 173),
(149, 174), (149, 175), (149, 176), (149, 177), (149, 178), (149, 179), (149, 180), (149, 181), (149, 182), (149, 183), (149, 184), (149, 185), (149, 186), (149, 187), (149, 188), (149, 189), (149, 190), (149, 191), (149, 192), (149, 193), (149, 194), (149, 195), (149, 196), (149, 197), (149, 198), (149, 199), (149, 200), (149, 201), (149, 202), (149, 203), (149, 205), (150, 99), (150, 101), (150, 102), (150, 103), (150, 104), (150, 105), (150, 106), (150, 107), (150, 108), (150, 109), (150, 110), (150, 111), (150, 112), (150, 113), (150, 114), (150, 115), (150, 116), (150, 117), (150, 118), (150, 119), (150, 120), (150, 121), (150, 122), (150, 123), (150, 124), (150, 125), (150, 126), (150, 127), (150, 128), (150, 129), (150, 130), (150, 131), (150, 132), (150, 133), (150, 134), (150, 135), (150, 136), (150, 137), (150, 138), (150, 139), (150, 140),
(150, 141), (150, 142), (150, 143), (150, 144), (150, 145), (150, 146), (150, 147), (150, 148), (150, 149), (150, 150), (150, 151), (150, 152), (150, 153), (150, 154), (150, 155), (150, 156), (150, 157), (150, 158), (150, 159), (150, 160), (150, 161), (150, 162), (150, 163), (150, 164), (150, 165), (150, 166), (150, 167), (150, 168), (150, 169), (150, 170), (150, 171), (150, 172), (150, 173), (150, 174), (150, 175), (150, 176), (150, 177), (150, 178), (150, 179), (150, 180), (150, 181), (150, 182), (150, 183), (150, 184), (150, 185), (150, 186), (150, 187), (150, 188), (150, 189), (150, 190), (150, 191), (150, 192), (150, 193), (150, 194), (150, 195), (150, 196), (150, 197), (150, 198), (150, 199), (150, 200), (150, 201), (150, 202), (150, 203), (150, 205), (151, 99), (151, 101), (151, 102), (151, 103), (151, 104), (151, 105), (151, 106), (151, 107),
(151, 108), (151, 109), (151, 110), (151, 111), (151, 112), (151, 113), (151, 114), (151, 115), (151, 116), (151, 117), (151, 118), (151, 119), (151, 120), (151, 121), (151, 122), (151, 123), (151, 124), (151, 125), (151, 126), (151, 127), (151, 128), (151, 129), (151, 130), (151, 131), (151, 132), (151, 133), (151, 134), (151, 135), (151, 136), (151, 137), (151, 138), (151, 139), (151, 140), (151, 141), (151, 142), (151, 143), (151, 144), (151, 145), (151, 146), (151, 147), (151, 148), (151, 149), (151, 150), (151, 151), (151, 152), (151, 153), (151, 154), (151, 155), (151, 156), (151, 157), (151, 158), (151, 159), (151, 160), (151, 161), (151, 162), (151, 163), (151, 164), (151, 165), (151, 166), (151, 167), (151, 168), (151, 169), (151, 170), (151, 171), (151, 172), (151, 173), (151, 174), (151, 175), (151, 176), (151, 177), (151, 178), (151, 179),
(151, 180), (151, 181), (151, 182), (151, 183), (151, 184), (151, 185), (151, 186), (151, 187), (151, 188), (151, 189), (151, 190), (151, 191), (151, 192), (151, 193), (151, 194), (151, 195), (151, 196), (151, 197), (151, 198), (151, 199), (151, 200), (151, 201), (151, 202), (151, 204), (152, 99), (152, 101), (152, 102), (152, 103), (152, 104), (152, 105), (152, 106), (152, 107), (152, 108), (152, 109), (152, 110), (152, 111), (152, 112), (152, 113), (152, 114), (152, 115), (152, 116), (152, 117), (152, 118), (152, 119), (152, 120), (152, 121), (152, 122), (152, 123), (152, 124), (152, 125), (152, 126), (152, 127), (152, 128), (152, 129), (152, 130), (152, 131), (152, 132), (152, 133), (152, 134), (152, 135), (152, 136), (152, 137), (152, 138), (152, 139), (152, 140), (152, 141), (152, 142), (152, 143), (152, 144), (152, 145), (152, 146), (152, 147),
(152, 148), (152, 149), (152, 150), (152, 151), (152, 152), (152, 153), (152, 154), (152, 155), (152, 156), (152, 157), (152, 158), (152, 159), (152, 160), (152, 161), (152, 162), (152, 163), (152, 164), (152, 165), (152, 166), (152, 167), (152, 168), (152, 169), (152, 170), (152, 171), (152, 172), (152, 173), (152, 174), (152, 175), (152, 176), (152, 177), (152, 178), (152, 179), (152, 180), (152, 181), (152, 182), (152, 183), (152, 184), (152, 185), (152, 186), (152, 187), (152, 188), (152, 189), (152, 190), (152, 191), (152, 192), (152, 193), (152, 194), (152, 195), (152, 196), (152, 197), (152, 198), (152, 199), (152, 200), (152, 201), (152, 202), (152, 204), (153, 99), (153, 101), (153, 102), (153, 103), (153, 104), (153, 105), (153, 106), (153, 107), (153, 108), (153, 109), (153, 110), (153, 111), (153, 112), (153, 113), (153, 114), (153, 115),
(153, 116), (153, 117), (153, 118), (153, 119), (153, 120), (153, 121), (153, 122), (153, 123), (153, 124), (153, 125), (153, 126), (153, 127), (153, 128), (153, 129), (153, 130), (153, 131), (153, 132), (153, 133), (153, 134), (153, 135), (153, 136), (153, 137), (153, 138), (153, 139), (153, 140), (153, 141), (153, 142), (153, 143), (153, 144), (153, 145), (153, 146), (153, 147), (153, 148), (153, 149), (153, 150), (153, 151), (153, 152), (153, 153), (153, 154), (153, 155), (153, 156), (153, 157), (153, 158), (153, 159), (153, 160), (153, 161), (153, 162), (153, 163), (153, 164), (153, 165), (153, 166), (153, 167), (153, 168), (153, 169), (153, 170), (153, 171), (153, 172), (153, 173), (153, 174), (153, 175), (153, 176), (153, 177), (153, 178), (153, 179), (153, 180), (153, 181), (153, 182), (153, 183), (153, 184), (153, 185), (153, 186), (153, 187),
(153, 188), (153, 189), (153, 190), (153, 191), (153, 192), (153, 193), (153, 194), (153, 195), (153, 196), (153, 197), (153, 198), (153, 199), (153, 200), (153, 201), (153, 203), (154, 98), (154, 100), (154, 101), (154, 102), (154, 103), (154, 104), (154, 105), (154, 106), (154, 107), (154, 108), (154, 109), (154, 110), (154, 111), (154, 112), (154, 113), (154, 114), (154, 115), (154, 116), (154, 117), (154, 118), (154, 119), (154, 120), (154, 121), (154, 122), (154, 123), (154, 124), (154, 125), (154, 126), (154, 127), (154, 128), (154, 129), (154, 130), (154, 131), (154, 132), (154, 133), (154, 134), (154, 135), (154, 136), (154, 137), (154, 138), (154, 139), (154, 140), (154, 141), (154, 142), (154, 143), (154, 144), (154, 145), (154, 146), (154, 147), (154, 148), (154, 149), (154, 150), (154, 151), (154, 152), (154, 153), (154, 154), (154, 155),
(154, 156), (154, 157), (154, 158), (154, 159), (154, 160), (154, 161), (154, 162), (154, 163), (154, 164), (154, 165), (154, 166), (154, 167), (154, 168), (154, 169), (154, 170), (154, 171), (154, 172), (154, 173), (154, 174), (154, 175), (154, 176), (154, 177), (154, 178), (154, 179), (154, 180), (154, 181), (154, 182), (154, 183), (154, 184), (154, 185), (154, 186), (154, 187), (154, 188), (154, 189), (154, 190), (154, 191), (154, 192), (154, 193), (154, 194), (154, 195), (154, 196), (154, 197), (154, 198), (154, 199), (154, 200), (154, 201), (154, 202), (155, 98), (155, 100), (155, 101), (155, 102), (155, 103), (155, 104), (155, 105), (155, 106), (155, 107), (155, 108), (155, 109), (155, 110), (155, 111), (155, 112), (155, 113), (155, 114), (155, 115), (155, 116), (155, 117), (155, 118), (155, 119), (155, 120), (155, 121), (155, 122), (155, 123),
(155, 124), (155, 125), (155, 126), (155, 127), (155, 128), (155, 129), (155, 130), (155, 131), (155, 132), (155, 133), (155, 134), (155, 135), (155, 136), (155, 137), (155, 138), (155, 139), (155, 140), (155, 141), (155, 142), (155, 143), (155, 144), (155, 145), (155, 146), (155, 147), (155, 148), (155, 149), (155, 150), (155, 151), (155, 152), (155, 153), (155, 154), (155, 155), (155, 156), (155, 157), (155, 158), (155, 159), (155, 160), (155, 161), (155, 162), (155, 163), (155, 164), (155, 165), (155, 166), (155, 167), (155, 168), (155, 169), (155, 170), (155, 171), (155, 172), (155, 173), (155, 174), (155, 175), (155, 176), (155, 177), (155, 178), (155, 179), (155, 180), (155, 181), (155, 182), (155, 183), (155, 184), (155, 185), (155, 186), (155, 187), (155, 188), (155, 189), (155, 190), (155, 191), (155, 192), (155, 193), (155, 194), (155, 195),
(155, 196), (155, 197), (155, 198), (155, 199), (155, 200), (155, 202), (156, 98), (156, 100), (156, 101), (156, 102), (156, 103), (156, 104), (156, 105), (156, 106), (156, 107), (156, 108), (156, 109), (156, 110), (156, 111), (156, 112), (156, 113), (156, 114), (156, 115), (156, 116), (156, 117), (156, 118), (156, 119), (156, 120), (156, 121), (156, 122), (156, 123), (156, 124), (156, 125), (156, 126), (156, 127), (156, 128), (156, 129), (156, 130), (156, 131), (156, 132), (156, 133), (156, 134), (156, 135), (156, 136), (156, 137), (156, 138), (156, 139), (156, 140), (156, 141), (156, 142), (156, 143), (156, 144), (156, 145), (156, 146), (156, 147), (156, 148), (156, 149), (156, 150), (156, 151), (156, 152), (156, 153), (156, 154), (156, 155), (156, 156), (156, 157), (156, 158), (156, 159), (156, 160), (156, 161), (156, 162), (156, 163), (156, 164),
(156, 165), (156, 166), (156, 167), (156, 168), (156, 169), (156, 170), (156, 171), (156, 172), (156, 173), (156, 174), (156, 175), (156, 176), (156, 177), (156, 178), (156, 179), (156, 180), (156, 181), (156, 182), (156, 183), (156, 184), (156, 185), (156, 186), (156, 187), (156, 188), (156, 189), (156, 190), (156, 191), (156, 192), (156, 193), (156, 194), (156, 195), (156, 196), (156, 197), (156, 198), (156, 199), (156, 201), (157, 97), (157, 99), (157, 100), (157, 101), (157, 102), (157, 103), (157, 104), (157, 105), (157, 106), (157, 107), (157, 108), (157, 109), (157, 110), (157, 111), (157, 112), (157, 113), (157, 114), (157, 115), (157, 116), (157, 117), (157, 118), (157, 119), (157, 120), (157, 121), (157, 122), (157, 123), (157, 124), (157, 125), (157, 126), (157, 127), (157, 128), (157, 129), (157, 130), (157, 131), (157, 132), (157, 133),
(157, 134), (157, 135), (157, 136), (157, 137), (157, 138), (157, 139), (157, 140), (157, 141), (157, 142), (157, 143), (157, 144), (157, 145), (157, 146), (157, 147), (157, 148), (157, 149), (157, 150), (157, 151), (157, 152), (157, 153), (157, 154), (157, 155), (157, 156), (157, 157), (157, 158), (157, 159), (157, 160), (157, 161), (157, 162), (157, 163), (157, 164), (157, 165), (157, 166), (157, 167), (157, 168), (157, 169), (157, 170), (157, 171), (157, 172), (157, 173), (157, 174), (157, 175), (157, 176), (157, 177), (157, 178), (157, 179), (157, 180), (157, 181), (157, 182), (157, 183), (157, 184), (157, 185), (157, 186), (157, 187), (157, 188), (157, 189), (157, 190), (157, 191), (157, 192), (157, 193), (157, 194), (157, 195), (157, 196), (157, 197), (157, 198), (157, 199), (157, 201), (158, 97), (158, 99), (158, 100), (158, 101), (158, 102),
(158, 103), (158, 104), (158, 105), (158, 106), (158, 107), (158, 108), (158, 109), (158, 110), (158, 111), (158, 112), (158, 113), (158, 114), (158, 115), (158, 116), (158, 117), (158, 118), (158, 119), (158, 120), (158, 121), (158, 122), (158, 123), (158, 124), (158, 125), (158, 126), (158, 127), (158, 128), (158, 129), (158, 130), (158, 131), (158, 132), (158, 133), (158, 134), (158, 135), (158, 136), (158, 137), (158, 138), (158, 139), (158, 140), (158, 141), (158, 142), (158, 143), (158, 144), (158, 145), (158, 146), (158, 147), (158, 148), (158, 149), (158, 150), (158, 151), (158, 152), (158, 153), (158, 154), (158, 155), (158, 156), (158, 157), (158, 158), (158, 159), (158, 160), (158, 161), (158, 162), (158, 163), (158, 164), (158, 165), (158, 166), (158, 167), (158, 168), (158, 169), (158, 170), (158, 171), (158, 172), (158, 173), (158, 174),
(158, 175), (158, 176), (158, 177), (158, 178), (158, 179), (158, 180), (158, 181), (158, 182), (158, 183), (158, 184), (158, 185), (158, 186), (158, 187), (158, 188), (158, 189), (158, 190), (158, 191), (158, 192), (158, 193), (158, 194), (158, 195), (158, 196), (158, 197), (158, 198), (158, 200), (159, 97), (159, 99), (159, 100), (159, 101), (159, 102), (159, 103), (159, 104), (159, 105), (159, 106), (159, 107), (159, 108), (159, 109), (159, 110), (159, 111), (159, 112), (159, 113), (159, 114), (159, 115), (159, 116), (159, 117), (159, 118), (159, 119), (159, 120), (159, 121), (159, 122), (159, 123), (159, 124), (159, 125), (159, 126), (159, 127), (159, 128), (159, 129), (159, 130), (159, 131), (159, 132), (159, 133), (159, 134), (159, 135), (159, 136), (159, 137), (159, 138), (159, 139), (159, 140), (159, 141), (159, 142), (159, 143), (159, 144),
(159, 145), (159, 146), (159, 147), (159, 148), (159, 149), (159, 150), (159, 151), (159, 152), (159, 153), (159, 154), (159, 155), (159, 156), (159, 157), (159, 158), (159, 159), (159, 160), (159, 161), (159, 162), (159, 163), (159, 164), (159, 165), (159, 166), (159, 167), (159, 168), (159, 169), (159, 170), (159, 171), (159, 172), (159, 173), (159, 174), (159, 175), (159, 176), (159, 177), (159, 178), (159, 179), (159, 180), (159, 181), (159, 182), (159, 183), (159, 184), (159, 185), (159, 186), (159, 187), (159, 188), (159, 189), (159, 190), (159, 191), (159, 192), (159, 193), (159, 194), (159, 195), (159, 196), (159, 197), (159, 198), (159, 200), (160, 96), (160, 98), (160, 99), (160, 100), (160, 101), (160, 102), (160, 103), (160, 104), (160, 105), (160, 106), (160, 107), (160, 108), (160, 109), (160, 110), (160, 111), (160, 112), (160, 113),
(160, 114), (160, 115), (160, 116), (160, 117), (160, 118), (160, 119), (160, 120), (160, 121), (160, 122), (160, 123), (160, 124), (160, 125), (160, 126), (160, 127), (160, 128), (160, 129), (160, 130), (160, 131), (160, 132), (160, 133), (160, 134), (160, 135), (160, 136), (160, 137), (160, 138), (160, 139), (160, 140), (160, 141), (160, 142), (160, 143), (160, 144), (160, 145), (160, 146), (160, 147), (160, 148), (160, 149), (160, 150), (160, 151), (160, 152), (160, 153), (160, 154), (160, 155), (160, 156), (160, 157), (160, 158), (160, 159), (160, 160), (160, 161), (160, 162), (160, 163), (160, 164), (160, 165), (160, 166), (160, 167), (160, 168), (160, 169), (160, 170), (160, 171), (160, 172), (160, 173), (160, 174), (160, 175), (160, 176), (160, 177), (160, 178), (160, 179), (160, 180), (160, 181), (160, 182), (160, 183), (160, 184), (160, 185),
(160, 186), (160, 187), (160, 188), (160, 189), (160, 190), (160, 191), (160, 192), (160, 193), (160, 194), (160, 195), (160, 196), (160, 197), (160, 199), (161, 96), (161, 98), (161, 99), (161, 100), (161, 101), (161, 102), (161, 103), (161, 104), (161, 105), (161, 106), (161, 107), (161, 108), (161, 109), (161, 110), (161, 111), (161, 112), (161, 113), (161, 114), (161, 115), (161, 116), (161, 117), (161, 118), (161, 119), (161, 120), (161, 121), (161, 122), (161, 123), (161, 124), (161, 125), (161, 126), (161, 127), (161, 128), (161, 129), (161, 130), (161, 131), (161, 132), (161, 133), (161, 134), (161, 135), (161, 136), (161, 137), (161, 138), (161, 139), (161, 140), (161, 141), (161, 142), (161, 143), (161, 144), (161, 145), (161, 146), (161, 147), (161, 148), (161, 149), (161, 150), (161, 151), (161, 152), (161, 153), (161, 154), (161, 155),
(161, 156), (161, 157), (161, 158), (161, 159), (161, 160), (161, 161), (161, 162), (161, 163), (161, 164), (161, 165), (161, 166), (161, 167), (161, 168), (161, 169), (161, 170), (161, 171), (161, 172), (161, 173), (161, 174), (161, 175), (161, 176), (161, 177), (161, 178), (161, 179), (161, 180), (161, 181), (161, 182), (161, 183), (161, 184), (161, 185), (161, 186), (161, 187), (161, 188), (161, 189), (161, 190), (161, 191), (161, 192), (161, 193), (161, 194), (161, 195), (161, 196), (161, 197), (161, 199), (162, 95), (162, 97), (162, 98), (162, 99), (162, 100), (162, 101), (162, 102), (162, 103), (162, 104), (162, 105), (162, 106), (162, 107), (162, 108), (162, 109), (162, 110), (162, 111), (162, 112), (162, 113), (162, 114), (162, 115), (162, 116), (162, 117), (162, 118), (162, 119), (162, 120), (162, 121), (162, 122), (162, 123), (162, 124),
(162, 125), (162, 126), (162, 127), (162, 128), (162, 129), (162, 130), (162, 131), (162, 132), (162, 133), (162, 134), (162, 135), (162, 136), (162, 137), (162, 138), (162, 139), (162, 140), (162, 141), (162, 142), (162, 143), (162, 144), (162, 145), (162, 146), (162, 147), (162, 148), (162, 149), (162, 150), (162, 151), (162, 152), (162, 153), (162, 154), (162, 155), (162, 156), (162, 157), (162, 158), (162, 159), (162, 160), (162, 161), (162, 162), (162, 163), (162, 164), (162, 165), (162, 166), (162, 167), (162, 168), (162, 169), (162, 170), (162, 171), (162, 172), (162, 173), (162, 174), (162, 175), (162, 176), (162, 177), (162, 178), (162, 179), (162, 180), (162, 181), (162, 182), (162, 183), (162, 184), (162, 185), (162, 186), (162, 187), (162, 188), (162, 189), (162, 190), (162, 191), (162, 192), (162, 193), (162, 194), (162, 195), (162, 196),
(162, 198), (163, 95), (163, 97), (163, 98), (163, 99), (163, 100), (163, 101), (163, 102), (163, 103), (163, 104), (163, 105), (163, 106), (163, 107), (163, 108), (163, 109), (163, 110), (163, 111), (163, 112), (163, 113), (163, 114), (163, 115), (163, 116), (163, 117), (163, 118), (163, 119), (163, 120), (163, 121), (163, 122), (163, 123), (163, 124), (163, 125), (163, 126), (163, 127), (163, 128), (163, 129), (163, 130), (163, 131), (163, 132), (163, 133), (163, 134), (163, 135), (163, 136), (163, 137), (163, 138), (163, 139), (163, 140), (163, 141), (163, 142), (163, 143), (163, 144), (163, 145), (163, 146), (163, 147), (163, 148), (163, 149), (163, 150), (163, 151), (163, 152), (163, 153), (163, 154), (163, 155), (163, 156), (163, 157), (163, 158), (163, 159), (163, 160), (163, 161), (163, 162), (163, 163), (163, 164), (163, 165), (163, 166),
(163, 167), (163, 168), (163, 169), (163, 170), (163, 171), (163, 172), (163, 173), (163, 174), (163, 175), (163, 176), (163, 177), (163, 178), (163, 179), (163, 180), (163, 181), (163, 182), (163, 183), (163, 184), (163, 185), (163, 186), (163, 187), (163, 188), (163, 189), (163, 190), (163, 191), (163, 192), (163, 193), (163, 194), (163, 195), (163, 196), (163, 198), (164, 94), (164, 95), (164, 96), (164, 97), (164, 98), (164, 99), (164, 100), (164, 101), (164, 102), (164, 103), (164, 104), (164, 105), (164, 106), (164, 107), (164, 108), (164, 109), (164, 110), (164, 111), (164, 112), (164, 113), (164, 114), (164, 115), (164, 116), (164, 117), (164, 118), (164, 119), (164, 120), (164, 121), (164, 122), (164, 123), (164, 124), (164, 125), (164, 126), (164, 127), (164, 128), (164, 129), (164, 130), (164, 131), (164, 132), (164, 133), (164, 134),
(164, 135), (164, 136), (164, 137), (164, 138), (164, 139), (164, 140), (164, 141), (164, 142), (164, 143), (164, 144), (164, 145), (164, 146), (164, 147), (164, 148), (164, 149), (164, 150), (164, 151), (164, 152), (164, 153), (164, 154), (164, 155), (164, 156), (164, 157), (164, 158), (164, 159), (164, 160), (164, 161), (164, 162), (164, 163), (164, 164), (164, 165), (164, 166), (164, 167), (164, 168), (164, 169), (164, 170), (164, 171), (164, 172), (164, 173), (164, 174), (164, 175), (164, 176), (164, 177), (164, 178), (164, 179), (164, 180), (164, 181), (164, 182), (164, 183), (164, 184), (164, 185), (164, 186), (164, 187), (164, 188), (164, 189), (164, 190), (164, 191), (164, 192), (164, 193), (164, 194), (164, 195), (164, 196), (164, 198), (165, 94), (165, 96), (165, 97), (165, 98), (165, 99), (165, 100), (165, 101), (165, 102), (165, 103),
(165, 104), (165, 105), (165, 106), (165, 107), (165, 108), (165, 109), (165, 110), (165, 111), (165, 112), (165, 113), (165, 114), (165, 115), (165, 116), (165, 117), (165, 118), (165, 119), (165, 120), (165, 121), (165, 122), (165, 123), (165, 124), (165, 125), (165, 126), (165, 127), (165, 128), (165, 129), (165, 130), (165, 131), (165, 132), (165, 133), (165, 134), (165, 135), (165, 136), (165, 137), (165, 138), (165, 139), (165, 140), (165, 141), (165, 142), (165, 143), (165, 144), (165, 145), (165, 146), (165, 147), (165, 148), (165, 149), (165, 150), (165, 151), (165, 152), (165, 153), (165, 154), (165, 155), (165, 156), (165, 157), (165, 158), (165, 159), (165, 160), (165, 161), (165, 162), (165, 163), (165, 164), (165, 165), (165, 166), (165, 167), (165, 168), (165, 169), (165, 170), (165, 171), (165, 172), (165, 173), (165, 174), (165, 175),
(165, 176), (165, 177), (165, 178), (165, 179), (165, 180), (165, 181), (165, 182), (165, 183), (165, 184), (165, 185), (165, 186), (165, 187), (165, 188), (165, 189), (165, 190), (165, 191), (165, 192), (165, 193), (165, 194), (165, 195), (165, 197), (166, 94), (166, 96), (166, 97), (166, 98), (166, 99), (166, 100), (166, 101), (166, 102), (166, 103), (166, 104), (166, 105), (166, 106), (166, 107), (166, 108), (166, 109), (166, 110), (166, 111), (166, 112), (166, 113), (166, 114), (166, 115), (166, 116), (166, 117), (166, 118), (166, 119), (166, 120), (166, 121), (166, 122), (166, 123), (166, 124), (166, 125), (166, 126), (166, 127), (166, 128), (166, 129), (166, 130), (166, 131), (166, 132), (166, 133), (166, 134), (166, 135), (166, 136), (166, 137), (166, 138), (166, 139), (166, 140), (166, 141), (166, 142), (166, 143), (166, 144), (166, 145),
(166, 146), (166, 147), (166, 148), (166, 149), (166, 150), (166, 151), (166, 152), (166, 153), (166, 154), (166, 155), (166, 156), (166, 157), (166, 158), (166, 159), (166, 160), (166, 161), (166, 162), (166, 163), (166, 164), (166, 165), (166, 166), (166, 167), (166, 168), (166, 169), (166, 170), (166, 171), (166, 172), (166, 173), (166, 174), (166, 175), (166, 176), (166, 177), (166, 178), (166, 179), (166, 180), (166, 181), (166, 182), (166, 183), (166, 184), (166, 185), (166, 186), (166, 187), (166, 188), (166, 189), (166, 190), (166, 191), (166, 192), (166, 193), (166, 194), (166, 195), (166, 197), (167, 94), (167, 96), (167, 97), (167, 98), (167, 99), (167, 100), (167, 101), (167, 102), (167, 103), (167, 104), (167, 105), (167, 106), (167, 107), (167, 108), (167, 109), (167, 110), (167, 111), (167, 112), (167, 113), (167, 114), (167, 115),
(167, 116), (167, 117), (167, 118), (167, 119), (167, 120), (167, 121), (167, 122), (167, 123), (167, 124), (167, 125), (167, 126), (167, 127), (167, 128), (167, 129), (167, 130), (167, 131), (167, 132), (167, 133), (167, 134), (167, 135), (167, 136), (167, 137), (167, 138), (167, 139), (167, 140), (167, 141), (167, 142), (167, 143), (167, 144), (167, 145), (167, 146), (167, 147), (167, 148), (167, 149), (167, 150), (167, 151), (167, 152), (167, 153), (167, 154), (167, 155), (167, 156), (167, 157), (167, 158), (167, 159), (167, 160), (167, 161), (167, 162), (167, 163), (167, 164), (167, 165), (167, 166), (167, 167), (167, 168), (167, 169), (167, 170), (167, 171), (167, 172), (167, 173), (167, 174), (167, 175), (167, 176), (167, 177), (167, 178), (167, 179), (167, 180), (167, 181), (167, 182), (167, 183), (167, 184), (167, 185), (167, 186), (167, 187),
(167, 188), (167, 189), (167, 190), (167, 191), (167, 192), (167, 193), (167, 194), (167, 195), (167, 197), (168, 94), (168, 96), (168, 97), (168, 98), (168, 99), (168, 100), (168, 101), (168, 102), (168, 103), (168, 104), (168, 105), (168, 106), (168, 107), (168, 108), (168, 109), (168, 110), (168, 111), (168, 112), (168, 113), (168, 114), (168, 115), (168, 116), (168, 117), (168, 118), (168, 119), (168, 120), (168, 121), (168, 122), (168, 123), (168, 124), (168, 125), (168, 126), (168, 127), (168, 128), (168, 129), (168, 130), (168, 131), (168, 132), (168, 133), (168, 134), (168, 135), (168, 136), (168, 137), (168, 138), (168, 139), (168, 140), (168, 141), (168, 142), (168, 143), (168, 144), (168, 145), (168, 146), (168, 147), (168, 148), (168, 149), (168, 150), (168, 151), (168, 152), (168, 153), (168, 154), (168, 155), (168, 156), (168, 157),
(168, 158), (168, 159), (168, 160), (168, 161), (168, 162), (168, 163), (168, 164), (168, 165), (168, 166), (168, 167), (168, 168), (168, 169), (168, 170), (168, 171), (168, 172), (168, 173), (168, 174), (168, 175), (168, 176), (168, 177), (168, 178), (168, 179), (168, 180), (168, 181), (168, 182), (168, 183), (168, 184), (168, 185), (168, 186), (168, 187), (168, 188), (168, 189), (168, 190), (168, 191), (168, 192), (168, 193), (168, 194), (168, 195), (168, 197), (169, 94), (169, 96), (169, 97), (169, 98), (169, 99), (169, 100), (169, 101), (169, 102), (169, 103), (169, 104), (169, 105), (169, 106), (169, 107), (169, 108), (169, 109), (169, 110), (169, 111), (169, 112), (169, 113), (169, 114), (169, 115), (169, 116), (169, 117), (169, 118), (169, 119), (169, 120), (169, 121), (169, 122), (169, 123), (169, 124), (169, 125), (169, 126), (169, 127),
(169, 128), (169, 129), (169, 130), (169, 131), (169, 132), (169, 133), (169, 134), (169, 135), (169, 136), (169, 137), (169, 138), (169, 139), (169, 140), (169, 141), (169, 142), (169, 143), (169, 144), (169, 145), (169, 146), (169, 147), (169, 148), (169, 149), (169, 150), (169, 151), (169, 152), (169, 153), (169, 154), (169, 155), (169, 156), (169, 157), (169, 158), (169, 159), (169, 160), (169, 161), (169, 162), (169, 163), (169, 164), (169, 165), (169, 166), (169, 167), (169, 168), (169, 169), (169, 170), (169, 171), (169, 172), (169, 173), (169, 174), (169, 175), (169, 176), (169, 177), (169, 178), (169, 179), (169, 180), (169, 181), (169, 182), (169, 183), (169, 184), (169, 185), (169, 186), (169, 187), (169, 188), (169, 189), (169, 190), (169, 191), (169, 192), (169, 193), (169, 194), (169, 195), (169, 196), (169, 198), (170, 95), (170, 97),
(170, 98), (170, 99), (170, 100), (170, 101), (170, 102), (170, 103), (170, 104), (170, 105), (170, 106), (170, 107), (170, 108), (170, 109), (170, 110), (170, 111), (170, 112), (170, 113), (170, 114), (170, 115), (170, 116), (170, 117), (170, 118), (170, 119), (170, 120), (170, 121), (170, 122), (170, 123), (170, 124), (170, 125), (170, 126), (170, 127), (170, 128), (170, 129), (170, 130), (170, 131), (170, 132), (170, 133), (170, 134), (170, 135), (170, 136), (170, 137), (170, 138), (170, 139), (170, 140), (170, 141), (170, 142), (170, 143), (170, 144), (170, 145), (170, 146), (170, 147), (170, 148), (170, 149), (170, 150), (170, 151), (170, 152), (170, 153), (170, 154), (170, 155), (170, 156), (170, 157), (170, 158), (170, 159), (170, 160), (170, 161), (170, 162), (170, 163), (170, 164), (170, 165), (170, 166), (170, 167), (170, 168), (170, 169),
(170, 170), (170, 171), (170, 172), (170, 173), (170, 174), (170, 175), (170, 176), (170, 177), (170, 178), (170, 179), (170, 180), (170, 181), (170, 182), (170, 183), (170, 184), (170, 185), (170, 186), (170, 187), (170, 188), (170, 189), (170, 190), (170, 191), (170, 192), (170, 193), (170, 194), (170, 195), (170, 196), (170, 197), (170, 199), (171, 95), (171, 97), (171, 98), (171, 99), (171, 100), (171, 101), (171, 102), (171, 103), (171, 104), (171, 105), (171, 106), (171, 107), (171, 108), (171, 109), (171, 110), (171, 111), (171, 112), (171, 113), (171, 114), (171, 115), (171, 116), (171, 117), (171, 118), (171, 119), (171, 120), (171, 121), (171, 122), (171, 123), (171, 124), (171, 125), (171, 126), (171, 127), (171, 128), (171, 129), (171, 130), (171, 131), (171, 132), (171, 133), (171, 134), (171, 135), (171, 136), (171, 137), (171, 138),
(171, 139), (171, 140), (171, 141), (171, 142), (171, 143), (171, 144), (171, 145), (171, 146), (171, 147), (171, 148), (171, 149), (171, 150), (171, 151), (171, 152), (171, 153), (171, 154), (171, 155), (171, 156), (171, 157), (171, 158), (171, 159), (171, 160), (171, 161), (171, 162), (171, 163), (171, 164), (171, 165), (171, 166), (171, 167), (171, 168), (171, 169), (171, 170), (171, 171), (171, 172), (171, 173), (171, 174), (171, 175), (171, 176), (171, 177), (171, 178), (171, 179), (171, 180), (171, 181), (171, 182), (171, 183), (171, 184), (171, 185), (171, 186), (171, 187), (171, 188), (171, 189), (171, 190), (171, 191), (171, 192), (171, 193), (171, 194), (171, 195), (171, 196), (171, 197), (171, 199), (172, 95), (172, 97), (172, 98), (172, 99), (172, 100), (172, 101), (172, 102), (172, 103), (172, 104), (172, 105), (172, 106), (172, 107),
(172, 108), (172, 109), (172, 110), (172, 111), (172, 112), (172, 113), (172, 114), (172, 115), (172, 116), (172, 117), (172, 118), (172, 119), (172, 120), (172, 121), (172, 122), (172, 123), (172, 124), (172, 125), (172, 126), (172, 127), (172, 128), (172, 129), (172, 130), (172, 131), (172, 132), (172, 133), (172, 134), (172, 135), (172, 136), (172, 137), (172, 138), (172, 139), (172, 140), (172, 141), (172, 142), (172, 143), (172, 144), (172, 145), (172, 146), (172, 147), (172, 148), (172, 149), (172, 150), (172, 151), (172, 152), (172, 153), (172, 154), (172, 155), (172, 156), (172, 157), (172, 158), (172, 159), (172, 160), (172, 161), (172, 162), (172, 163), (172, 164), (172, 165), (172, 166), (172, 167), (172, 168), (172, 169), (172, 170), (172, 171), (172, 172), (172, 173), (172, 174), (172, 175), (172, 176), (172, 177), (172, 178), (172, 179),
(172, 180), (172, 181), (172, 182), (172, 183), (172, 184), (172, 185), (172, 186), (172, 187), (172, 188), (172, 189), (172, 190), (172, 191), (172, 192), (172, 193), (172, 194), (172, 195), (172, 196), (172, 197), (172, 199), (173, 95), (173, 97), (173, 98), (173, 99), (173, 100), (173, 101), (173, 102), (173, 103), (173, 104), (173, 105), (173, 106), (173, 107), (173, 108), (173, 109), (173, 110), (173, 111), (173, 112), (173, 113), (173, 114), (173, 115), (173, 116), (173, 117), (173, 118), (173, 119), (173, 120), (173, 121), (173, 122), (173, 123), (173, 124), (173, 125), (173, 126), (173, 127), (173, 128), (173, 129), (173, 130), (173, 131), (173, 132), (173, 133), (173, 134), (173, 135), (173, 136), (173, 137), (173, 138), (173, 139), (173, 140), (173, 141), (173, 142), (173, 143), (173, 144), (173, 145), (173, 146), (173, 147), (173, 148),
(173, 149), (173, 150), (173, 151), (173, 152), (173, 153), (173, 154), (173, 155), (173, 156), (173, 157), (173, 158), (173, 159), (173, 160), (173, 161), (173, 162), (173, 163), (173, 164), (173, 165), (173, 166), (173, 167), (173, 168), (173, 169), (173, 170), (173, 171), (173, 172), (173, 173), (173, 174), (173, 175), (173, 176), (173, 177), (173, 178), (173, 179), (173, 180), (173, 181), (173, 182), (173, 183), (173, 184), (173, 185), (173, 186), (173, 187), (173, 188), (173, 189), (173, 190), (173, 191), (173, 192), (173, 193), (173, 194), (173, 195), (173, 196), (173, 197), (173, 199), (174, 95), (174, 97), (174, 98), (174, 99), (174, 100), (174, 101), (174, 102), (174, 103), (174, 104), (174, 105), (174, 106), (174, 107), (174, 108), (174, 109), (174, 110), (174, 111), (174, 112), (174, 113), (174, 114), (174, 115), (174, 116), (174, 117),
(174, 118), (174, 119), (174, 120), (174, 121), (174, 122), (174, 123), (174, 124), (174, 125), (174, 126), (174, 127), (174, 128), (174, 129), (174, 130), (174, 131), (174, 132), (174, 133), (174, 134), (174, 135), (174, 136), (174, 137), (174, 138), (174, 139), (174, 140), (174, 141), (174, 142), (174, 143), (174, 144), (174, 145), (174, 146), (174, 147), (174, 148), (174, 149), (174, 150), (174, 151), (174, 152), (174, 153), (174, 154), (174, 155), (174, 156), (174, 157), (174, 158), (174, 159), (174, 160), (174, 161), (174, 162), (174, 163), (174, 164), (174, 165), (174, 166), (174, 167), (174, 168), (174, 169), (174, 170), (174, 171), (174, 172), (174, 173), (174, 174), (174, 175), (174, 176), (174, 177), (174, 178), (174, 179), (174, 180), (174, 181), (174, 182), (174, 183), (174, 184), (174, 185), (174, 186), (174, 187), (174, 188), (174, 189),
(174, 190), (174, 191), (174, 192), (174, 193), (174, 194), (174, 195), (174, 196), (174, 197), (174, 199), (175, 96), (175, 98), (175, 99), (175, 100), (175, 101), (175, 102), (175, 103), (175, 104), (175, 105), (175, 106), (175, 107), (175, 108), (175, 109), (175, 110), (175, 111), (175, 112), (175, 113), (175, 114), (175, 115), (175, 116), (175, 117), (175, 118), (175, 119), (175, 120), (175, 121), (175, 122), (175, 123), (175, 124), (175, 125), (175, 126), (175, 127), (175, 128), (175, 129), (175, 130), (175, 131), (175, 132), (175, 133), (175, 134), (175, 135), (175, 136), (175, 137), (175, 138), (175, 139), (175, 140), (175, 141), (175, 142), (175, 143), (175, 144), (175, 145), (175, 146), (175, 147), (175, 148), (175, 149), (175, 150), (175, 151), (175, 152), (175, 153), (175, 154), (175, 155), (175, 156), (175, 157), (175, 158), (175, 159),
(175, 160), (175, 161), (175, 162), (175, 163), (175, 164), (175, 165), (175, 166), (175, 167), (175, 168), (175, 169), (175, 170), (175, 171), (175, 172), (175, 173), (175, 174), (175, 175), (175, 176), (175, 177), (175, 178), (175, 179), (175, 180), (175, 181), (175, 182), (175, 183), (175, 184), (175, 185), (175, 186), (175, 187), (175, 188), (175, 189), (175, 190), (175, 191), (175, 192), (175, 193), (175, 194), (175, 195), (175, 196), (175, 197), (175, 199), (176, 96), (176, 98), (176, 99), (176, 100), (176, 101), (176, 102), (176, 103), (176, 104), (176, 105), (176, 106), (176, 107), (176, 108), (176, 109), (176, 110), (176, 111), (176, 112), (176, 113), (176, 114), (176, 115), (176, 116), (176, 117), (176, 118), (176, 119), (176, 120), (176, 121), (176, 122), (176, 123), (176, 124), (176, 125), (176, 126), (176, 127), (176, 128), (176, 129),
(176, 130), (176, 131), (176, 132), (176, 133), (176, 134), (176, 135), (176, 136), (176, 137), (176, 138), (176, 139), (176, 140), (176, 141), (176, 142), (176, 143), (176, 144), (176, 145), (176, 146), (176, 147), (176, 148), (176, 149), (176, 150), (176, 151), (176, 152), (176, 153), (176, 154), (176, 155), (176, 156), (176, 157), (176, 158), (176, 159), (176, 160), (176, 161), (176, 162), (176, 163), (176, 164), (176, 165), (176, 166), (176, 167), (176, 168), (176, 169), (176, 170), (176, 171), (176, 172), (176, 173), (176, 174), (176, 175), (176, 176), (176, 177), (176, 178), (176, 179), (176, 180), (176, 181), (176, 182), (176, 183), (176, 184), (176, 185), (176, 186), (176, 187), (176, 188), (176, 189), (176, 190), (176, 191), (176, 192), (176, 193), (176, 194), (176, 195), (176, 196), (176, 197), (176, 199), (177, 96), (177, 98), (177, 99),
(177, 100), (177, 101), (177, 102), (177, 103), (177, 104), (177, 105), (177, 106), (177, 107), (177, 108), (177, 109), (177, 110), (177, 111), (177, 112), (177, 113), (177, 114), (177, 115), (177, 116), (177, 117), (177, 118), (177, 119), (177, 120), (177, 121), (177, 122), (177, 123), (177, 124), (177, 125), (177, 126), (177, 127), (177, 128), (177, 129), (177, 130), (177, 131), (177, 132), (177, 133), (177, 134), (177, 135), (177, 136), (177, 137), (177, 138), (177, 139), (177, 140), (177, 141), (177, 142), (177, 143), (177, 144), (177, 145), (177, 146), (177, 147), (177, 148), (177, 149), (177, 150), (177, 151), (177, 152), (177, 153), (177, 154), (177, 155), (177, 156), (177, 157), (177, 158), (177, 159), (177, 160), (177, 161), (177, 162), (177, 163), (177, 164), (177, 165), (177, 166), (177, 167), (177, 168), (177, 169), (177, 170), (177, 171),
(177, 172), (177, 173), (177, 174), (177, 175), (177, 176), (177, 177), (177, 178), (177, 179), (177, 180), (177, 181), (177, 182), (177, 183), (177, 184), (177, 185), (177, 186), (177, 187), (177, 188), (177, 189), (177, 190), (177, 191), (177, 192), (177, 193), (177, 194), (177, 195), (177, 196), (177, 197), (177, 199), (178, 96), (178, 98), (178, 99), (178, 100), (178, 101), (178, 102), (178, 103), (178, 104), (178, 105), (178, 106), (178, 107), (178, 108), (178, 109), (178, 110), (178, 111), (178, 112), (178, 113), (178, 114), (178, 115), (178, 116), (178, 117), (178, 118), (178, 119), (178, 120), (178, 121), (178, 122), (178, 123), (178, 124), (178, 125), (178, 126), (178, 127), (178, 128), (178, 129), (178, 130), (178, 131), (178, 132), (178, 133), (178, 134), (178, 135), (178, 136), (178, 137), (178, 138), (178, 139), (178, 140), (178, 141),
(178, 142), (178, 143), (178, 144), (178, 145), (178, 146), (178, 147), (178, 148), (178, 149), (178, 150), (178, 151), (178, 152), (178, 153), (178, 154), (178, 155), (178, 156), (178, 157), (178, 158), (178, 159), (178, 160), (178, 161), (178, 162), (178, 163), (178, 164), (178, 165), (178, 166), (178, 167), (178, 168), (178, 169), (178, 170), (178, 171), (178, 172), (178, 173), (178, 174), (178, 175), (178, 176), (178, 177), (178, 178), (178, 179), (178, 180), (178, 181), (178, 182), (178, 183), (178, 184), (178, 185), (178, 186), (178, 187), (178, 188), (178, 189), (178, 190), (178, 191), (178, 192), (178, 193), (178, 194), (178, 195), (178, 196), (178, 197), (178, 199), (179, 96), (179, 98), (179, 99), (179, 100), (179, 101), (179, 102), (179, 103), (179, 104), (179, 105), (179, 106), (179, 107), (179, 108), (179, 109), (179, 110), (179, 111),
(179, 112), (179, 113), (179, 114), (179, 115), (179, 116), (179, 117), (179, 118), (179, 119), (179, 120), (179, 121), (179, 122), (179, 123), (179, 124), (179, 125), (179, 126), (179, 127), (179, 128), (179, 129), (179, 130), (179, 131), (179, 132), (179, 133), (179, 134), (179, 135), (179, 136), (179, 137), (179, 138), (179, 139), (179, 140), (179, 141), (179, 142), (179, 143), (179, 144), (179, 145), (179, 146), (179, 147), (179, 148), (179, 149), (179, 150), (179, 151), (179, 152), (179, 153), (179, 154), (179, 155), (179, 156), (179, 157), (179, 158), (179, 159), (179, 160), (179, 161), (179, 162), (179, 163), (179, 164), (179, 165), (179, 166), (179, 167), (179, 168), (179, 169), (179, 170), (179, 171), (179, 172), (179, 173), (179, 174), (179, 175), (179, 176), (179, 177), (179, 178), (179, 179), (179, 180), (179, 181), (179, 182), (179, 183),
(179, 184), (179, 185), (179, 186), (179, 187), (179, 188), (179, 189), (179, 190), (179, 191), (179, 192), (179, 193), (179, 194), (179, 195), (179, 196), (179, 197), (179, 199), (180, 96), (180, 98), (180, 99), (180, 100), (180, 101), (180, 102), (180, 103), (180, 104), (180, 105), (180, 106), (180, 107), (180, 108), (180, 109), (180, 110), (180, 111), (180, 112), (180, 113), (180, 114), (180, 115), (180, 116), (180, 117), (180, 118), (180, 119), (180, 120), (180, 121), (180, 122), (180, 123), (180, 124), (180, 125), (180, 126), (180, 127), (180, 128), (180, 129), (180, 130), (180, 131), (180, 132), (180, 133), (180, 134), (180, 135), (180, 136), (180, 137), (180, 138), (180, 139), (180, 140), (180, 141), (180, 142), (180, 143), (180, 144), (180, 145), (180, 146), (180, 147), (180, 148), (180, 149), (180, 150), (180, 151), (180, 152), (180, 153),
(180, 154), (180, 155), (180, 156), (180, 157), (180, 158), (180, 159), (180, 160), (180, 161), (180, 162), (180, 163), (180, 164), (180, 165), (180, 166), (180, 167), (180, 168), (180, 169), (180, 170), (180, 171), (180, 172), (180, 173), (180, 174), (180, 175), (180, 176), (180, 177), (180, 178), (180, 179), (180, 180), (180, 181), (180, 182), (180, 183), (180, 184), (180, 185), (180, 186), (180, 187), (180, 188), (180, 189), (180, 190), (180, 191), (180, 192), (180, 193), (180, 194), (180, 195), (180, 196), (180, 197), (180, 199), (181, 96), (181, 98), (181, 99), (181, 100), (181, 101), (181, 102), (181, 103), (181, 104), (181, 105), (181, 106), (181, 107), (181, 108), (181, 109), (181, 110), (181, 111), (181, 112), (181, 113), (181, 114), (181, 115), (181, 116), (181, 117), (181, 118), (181, 119), (181, 120), (181, 121), (181, 122), (181, 123),
(181, 124), (181, 125), (181, 126), (181, 127), (181, 128), (181, 129), (181, 130), (181, 131), (181, 132), (181, 133), (181, 134), (181, 135), (181, 136), (181, 137), (181, 138), (181, 139), (181, 140), (181, 141), (181, 142), (181, 143), (181, 144), (181, 145), (181, 146), (181, 147), (181, 148), (181, 149), (181, 150), (181, 151), (181, 152), (181, 153), (181, 154), (181, 155), (181, 156), (181, 157), (181, 158), (181, 159), (181, 160), (181, 161), (181, 162), (181, 163), (181, 164), (181, 165), (181, 166), (181, 167), (181, 168), (181, 169), (181, 170), (181, 171), (181, 172), (181, 173), (181, 174), (181, 175), (181, 176), (181, 177), (181, 178), (181, 179), (181, 180), (181, 181), (181, 182), (181, 183), (181, 184), (181, 185), (181, 186), (181, 187), (181, 188), (181, 189), (181, 190), (181, 191), (181, 192), (181, 193), (181, 194), (181, 195),
(181, 196), (181, 197), (181, 199), (182, 95), (182, 97), (182, 98), (182, 99), (182, 100), (182, 101), (182, 102), (182, 103), (182, 104), (182, 105), (182, 106), (182, 107), (182, 108), (182, 109), (182, 110), (182, 111), (182, 112), (182, 113), (182, 114), (182, 115), (182, 116), (182, 117), (182, 118), (182, 119), (182, 120), (182, 121), (182, 122), (182, 123), (182, 124), (182, 125), (182, 126), (182, 127), (182, 128), (182, 129), (182, 130), (182, 131), (182, 132), (182, 133), (182, 134), (182, 135), (182, 136), (182, 137), (182, 138), (182, 139), (182, 140), (182, 141), (182, 142), (182, 143), (182, 144), (182, 145), (182, 146), (182, 147), (182, 148), (182, 149), (182, 150), (182, 151), (182, 152), (182, 153), (182, 154), (182, 155), (182, 156), (182, 157), (182, 158), (182, 159), (182, 160), (182, 161), (182, 162), (182, 163), (182, 164),
(182, 165), (182, 166), (182, 167), (182, 168), (182, 169), (182, 170), (182, 171), (182, 172), (182, 173), (182, 174), (182, 175), (182, 176), (182, 177), (182, 178), (182, 179), (182, 180), (182, 181), (182, 182), (182, 183), (182, 184), (182, 185), (182, 186), (182, 187), (182, 188), (182, 189), (182, 190), (182, 191), (182, 192), (182, 193), (182, 194), (182, 195), (182, 196), (182, 197), (182, 199), (183, 95), (183, 97), (183, 98), (183, 99), (183, 100), (183, 101), (183, 102), (183, 103), (183, 104), (183, 105), (183, 106), (183, 107), (183, 108), (183, 109), (183, 110), (183, 111), (183, 112), (183, 113), (183, 114), (183, 115), (183, 116), (183, 117), (183, 118), (183, 119), (183, 120), (183, 121), (183, 122), (183, 123), (183, 124), (183, 125), (183, 126), (183, 127), (183, 128), (183, 129), (183, 130), (183, 131), (183, 132), (183, 133),
(183, 134), (183, 135), (183, 136), (183, 137), (183, 138), (183, 139), (183, 140), (183, 141), (183, 142), (183, 143), (183, 144), (183, 145), (183, 146), (183, 147), (183, 148), (183, 149), (183, 150), (183, 151), (183, 152), (183, 153), (183, 154), (183, 155), (183, 156), (183, 157), (183, 158), (183, 159), (183, 160), (183, 161), (183, 162), (183, 163), (183, 164), (183, 165), (183, 166), (183, 167), (183, 168), (183, 169), (183, 170), (183, 171), (183, 172), (183, 173), (183, 174), (183, 175), (183, 176), (183, 177), (183, 178), (183, 179), (183, 180), (183, 181), (183, 182), (183, 183), (183, 184), (183, 185), (183, 186), (183, 187), (183, 188), (183, 189), (183, 190), (183, 191), (183, 192), (183, 193), (183, 194), (183, 195), (183, 196), (183, 197), (183, 199), (184, 94), (184, 96), (184, 97), (184, 98), (184, 99), (184, 100), (184, 101),
(184, 102), (184, 103), (184, 104), (184, 105), (184, 106), (184, 107), (184, 108), (184, 109), (184, 110), (184, 111), (184, 112), (184, 113), (184, 114), (184, 115), (184, 116), (184, 117), (184, 118), (184, 119), (184, 120), (184, 121), (184, 122), (184, 123), (184, 124), (184, 125), (184, 126), (184, 127), (184, 128), (184, 129), (184, 130), (184, 131), (184, 132), (184, 133), (184, 134), (184, 135), (184, 136), (184, 137), (184, 138), (184, 139), (184, 140), (184, 141), (184, 142), (184, 143), (184, 144), (184, 145), (184, 146), (184, 147), (184, 148), (184, 149), (184, 150), (184, 151), (184, 152), (184, 153), (184, 154), (184, 155), (184, 156), (184, 157), (184, 158), (184, 159), (184, 160), (184, 161), (184, 162), (184, 163), (184, 164), (184, 165), (184, 166), (184, 167), (184, 168), (184, 169), (184, 170), (184, 171), (184, 172), (184, 173),
(184, 174), (184, 175), (184, 176), (184, 177), (184, 178), (184, 179), (184, 180), (184, 181), (184, 182), (184, 183), (184, 184), (184, 185), (184, 186), (184, 187), (184, 188), (184, 189), (184, 190), (184, 191), (184, 192), (184, 193), (184, 194), (184, 195), (184, 196), (184, 197), (184, 199), (185, 93), (185, 95), (185, 96), (185, 97), (185, 98), (185, 99), (185, 100), (185, 101), (185, 102), (185, 103), (185, 104), (185, 105), (185, 106), (185, 107), (185, 108), (185, 109), (185, 110), (185, 111), (185, 112), (185, 113), (185, 114), (185, 115), (185, 116), (185, 117), (185, 118), (185, 119), (185, 120), (185, 121), (185, 122), (185, 123), (185, 124), (185, 125), (185, 126), (185, 127), (185, 128), (185, 129), (185, 130), (185, 131), (185, 132), (185, 133), (185, 134), (185, 135), (185, 136), (185, 137), (185, 138), (185, 139), (185, 140),
(185, 141), (185, 142), (185, 143), (185, 144), (185, 145), (185, 146), (185, 147), (185, 148), (185, 149), (185, 150), (185, 151), (185, 152), (185, 153), (185, 154), (185, 155), (185, 156), (185, 157), (185, 158), (185, 159), (185, 160), (185, 161), (185, 162), (185, 163), (185, 164), (185, 165), (185, 166), (185, 167), (185, 168), (185, 169), (185, 170), (185, 171), (185, 172), (185, 173), (185, 174), (185, 175), (185, 176), (185, 177), (185, 178), (185, 179), (185, 180), (185, 181), (185, 182), (185, 183), (185, 184), (185, 185), (185, 186), (185, 187), (185, 188), (185, 189), (185, 190), (185, 191), (185, 192), (185, 193), (185, 194), (185, 195), (185, 196), (185, 197), (185, 199), (186, 92), (186, 94), (186, 95), (186, 96), (186, 97), (186, 98), (186, 99), (186, 100), (186, 101), (186, 102), (186, 103), (186, 104), (186, 105), (186, 106),
(186, 107), (186, 108), (186, 109), (186, 110), (186, 111), (186, 112), (186, 113), (186, 114), (186, 115), (186, 116), (186, 117), (186, 118), (186, 119), (186, 120), (186, 121), (186, 122), (186, 123), (186, 124), (186, 125), (186, 126), (186, 127), (186, 128), (186, 129), (186, 130), (186, 131), (186, 132), (186, 133), (186, 134), (186, 135), (186, 136), (186, 137), (186, 138), (186, 139), (186, 140), (186, 141), (186, 142), (186, 143), (186, 144), (186, 145), (186, 146), (186, 147), (186, 148), (186, 149), (186, 150), (186, 151), (186, 152), (186, 153), (186, 154), (186, 155), (186, 156), (186, 157), (186, 158), (186, 159), (186, 160), (186, 161), (186, 162), (186, 163), (186, 164), (186, 165), (186, 166), (186, 167), (186, 168), (186, 169), (186, 170), (186, 171), (186, 172), (186, 173), (186, 174), (186, 175), (186, 176), (186, 177), (186, 178),
(186, 179), (186, 180), (186, 181), (186, 182), (186, 183), (186, 184), (186, 185), (186, 186), (186, 187), (186, 188), (186, 189), (186, 190), (186, 191), (186, 192), (186, 193), (186, 194), (186, 195), (186, 196), (186, 197), (186, 199), (187, 92), (187, 94), (187, 95), (187, 96), (187, 97), (187, 98), (187, 99), (187, 100), (187, 101), (187, 102), (187, 103), (187, 104), (187, 105), (187, 106), (187, 107), (187, 108), (187, 109), (187, 110), (187, 111), (187, 112), (187, 113), (187, 114), (187, 115), (187, 116), (187, 117), (187, 118), (187, 119), (187, 120), (187, 121), (187, 122), (187, 123), (187, 124), (187, 125), (187, 126), (187, 127), (187, 128), (187, 129), (187, 130), (187, 131), (187, 132), (187, 133), (187, 134), (187, 135), (187, 136), (187, 137), (187, 138), (187, 139), (187, 140), (187, 141), (187, 142), (187, 143), (187, 144),
(187, 145), (187, 146), (187, 147), (187, 148), (187, 149), (187, 150), (187, 151), (187, 152), (187, 153), (187, 154), (187, 155), (187, 156), (187, 157), (187, 158), (187, 159), (187, 160), (187, 161), (187, 162), (187, 163), (187, 164), (187, 165), (187, 166), (187, 167), (187, 168), (187, 169), (187, 170), (187, 171), (187, 172), (187, 173), (187, 174), (187, 175), (187, 176), (187, 177), (187, 178), (187, 179), (187, 180), (187, 181), (187, 182), (187, 183), (187, 184), (187, 185), (187, 186), (187, 187), (187, 188), (187, 189), (187, 190), (187, 191), (187, 192), (187, 193), (187, 194), (187, 195), (187, 196), (187, 197), (187, 199), (188, 91), (188, 93), (188, 94), (188, 95), (188, 96), (188, 97), (188, 98), (188, 99), (188, 100), (188, 101), (188, 102), (188, 103), (188, 104), (188, 105), (188, 106), (188, 107), (188, 108), (188, 109),
(188, 110), (188, 111), (188, 112), (188, 113), (188, 114), (188, 115), (188, 116), (188, 117), (188, 118), (188, 119), (188, 120), (188, 121), (188, 122), (188, 123), (188, 124), (188, 125), (188, 126), (188, 127), (188, 128), (188, 129), (188, 130), (188, 131), (188, 132), (188, 133), (188, 134), (188, 135), (188, 136), (188, 137), (188, 138), (188, 139), (188, 140), (188, 141), (188, 142), (188, 143), (188, 144), (188, 145), (188, 146), (188, 147), (188, 148), (188, 149), (188, 150), (188, 151), (188, 152), (188, 153), (188, 154), (188, 155), (188, 156), (188, 157), (188, 158), (188, 159), (188, 160), (188, 161), (188, 162), (188, 163), (188, 164), (188, 165), (188, 166), (188, 167), (188, 168), (188, 169), (188, 170), (188, 171), (188, 172), (188, 173), (188, 174), (188, 175), (188, 176), (188, 177), (188, 178), (188, 179), (188, 180), (188, 181),
(188, 182), (188, 183), (188, 184), (188, 185), (188, 186), (188, 187), (188, 188), (188, 189), (188, 190), (188, 191), (188, 192), (188, 193), (188, 194), (188, 195), (188, 196), (188, 197), (188, 199), (189, 90), (189, 92), (189, 93), (189, 94), (189, 95), (189, 96), (189, 97), (189, 98), (189, 99), (189, 100), (189, 101), (189, 102), (189, 103), (189, 104), (189, 105), (189, 106), (189, 107), (189, 108), (189, 109), (189, 110), (189, 111), (189, 112), (189, 113), (189, 114), (189, 115), (189, 116), (189, 117), (189, 118), (189, 119), (189, 120), (189, 121), (189, 122), (189, 123), (189, 124), (189, 125), (189, 126), (189, 127), (189, 128), (189, 129), (189, 130), (189, 131), (189, 132), (189, 133), (189, 134), (189, 135), (189, 136), (189, 137), (189, 138), (189, 139), (189, 140), (189, 141), (189, 142), (189, 143), (189, 144), (189, 145),
(189, 146), (189, 147), (189, 148), (189, 149), (189, 150), (189, 151), (189, 152), (189, 153), (189, 154), (189, 155), (189, 156), (189, 157), (189, 158), (189, 159), (189, 160), (189, 161), (189, 162), (189, 163), (189, 164), (189, 165), (189, 166), (189, 167), (189, 168), (189, 169), (189, 170), (189, 171), (189, 172), (189, 173), (189, 174), (189, 175), (189, 176), (189, 177), (189, 178), (189, 179), (189, 180), (189, 181), (189, 182), (189, 183), (189, 184), (189, 185), (189, 186), (189, 187), (189, 188), (189, 189), (189, 190), (189, 191), (189, 192), (189, 193), (189, 194), (189, 195), (189, 196), (189, 197), (189, 199), (190, 89), (190, 91), (190, 92), (190, 93), (190, 94), (190, 95), (190, 96), (190, 97), (190, 98), (190, 99), (190, 100), (190, 101), (190, 102), (190, 103), (190, 104), (190, 105), (190, 106), (190, 107), (190, 108),
(190, 109), (190, 110), (190, 111), (190, 112), (190, 113), (190, 114), (190, 115), (190, 116), (190, 117), (190, 118), (190, 119), (190, 120), (190, 121), (190, 122), (190, 123), (190, 124), (190, 125), (190, 126), (190, 127), (190, 128), (190, 129), (190, 130), (190, 131), (190, 132), (190, 133), (190, 134), (190, 135), (190, 136), (190, 137), (190, 138), (190, 139), (190, 140), (190, 141), (190, 142), (190, 143), (190, 144), (190, 145), (190, 146), (190, 147), (190, 148), (190, 149), (190, 150), (190, 151), (190, 152), (190, 153), (190, 154), (190, 155), (190, 156), (190, 157), (190, 158), (190, 159), (190, 160), (190, 161), (190, 162), (190, 163), (190, 164), (190, 165), (190, 166), (190, 167), (190, 168), (190, 169), (190, 170), (190, 171), (190, 172), (190, 173), (190, 174), (190, 175), (190, 176), (190, 177), (190, 178), (190, 179), (190, 180),
(190, 181), (190, 182), (190, 183), (190, 184), (190, 185), (190, 186), (190, 187), (190, 188), (190, 189), (190, 190), (190, 191), (190, 192), (190, 193), (190, 194), (190, 195), (190, 196), (190, 197), (190, 199), (191, 88), (191, 90), (191, 91), (191, 92), (191, 93), (191, 94), (191, 95), (191, 96), (191, 97), (191, 98), (191, 99), (191, 100), (191, 101), (191, 102), (191, 103), (191, 104), (191, 105), (191, 106), (191, 107), (191, 108), (191, 109), (191, 110), (191, 111), (191, 112), (191, 113), (191, 114), (191, 115), (191, 116), (191, 117), (191, 118), (191, 119), (191, 120), (191, 121), (191, 122), (191, 123), (191, 124), (191, 125), (191, 126), (191, 127), (191, 128), (191, 129), (191, 130), (191, 131), (191, 132), (191, 133), (191, 134), (191, 135), (191, 136), (191, 137), (191, 138), (191, 139), (191, 140), (191, 141), (191, 142),
(191, 143), (191, 144), (191, 145), (191, 146), (191, 147), (191, 148), (191, 149), (191, 150), (191, 151), (191, 152), (191, 153), (191, 154), (191, 155), (191, 156), (191, 157), (191, 158), (191, 159), (191, 160), (191, 161), (191, 162), (191, 163), (191, 164), (191, 165), (191, 166), (191, 167), (191, 168), (191, 169), (191, 170), (191, 171), (191, 172), (191, 173), (191, 174), (191, 175), (191, 176), (191, 177), (191, 178), (191, 179), (191, 180), (191, 181), (191, 182), (191, 183), (191, 184), (191, 185), (191, 186), (191, 187), (191, 188), (191, 189), (191, 190), (191, 191), (191, 192), (191, 193), (191, 194), (191, 195), (191, 196), (191, 197), (191, 198), (191, 199), (192, 87), (192, 90), (192, 91), (192, 92), (192, 93), (192, 94), (192, 95), (192, 96), (192, 97), (192, 98), (192, 99), (192, 100), (192, 101), (192, 102), (192, 103),
(192, 104), (192, 105), (192, 106), (192, 107), (192, 108), (192, 109), (192, 110), (192, 111), (192, 112), (192, 113), (192, 114), (192, 115), (192, 116), (192, 117), (192, 118), (192, 119), (192, 120), (192, 121), (192, 122), (192, 123), (192, 124), (192, 125), (192, 126), (192, 127), (192, 128), (192, 129), (192, 130), (192, 131), (192, 132), (192, 133), (192, 134), (192, 135), (192, 136), (192, 137), (192, 138), (192, 139), (192, 140), (192, 141), (192, 142), (192, 143), (192, 144), (192, 145), (192, 146), (192, 147), (192, 148), (192, 149), (192, 150), (192, 151), (192, 152), (192, 153), (192, 154), (192, 155), (192, 156), (192, 157), (192, 158), (192, 159), (192, 160), (192, 161), (192, 162), (192, 163), (192, 164), (192, 165), (192, 166), (192, 167), (192, 168), (192, 169), (192, 170), (192, 171), (192, 172), (192, 173), (192, 174), (192, 175),
(192, 176), (192, 177), (192, 178), (192, 179), (192, 180), (192, 181), (192, 182), (192, 183), (192, 184), (192, 185), (192, 186), (192, 187), (192, 188), (192, 189), (192, 190), (192, 191), (192, 192), (192, 193), (192, 194), (192, 195), (192, 196), (192, 198), (193, 87), (193, 89), (193, 90), (193, 91), (193, 92), (193, 93), (193, 94), (193, 95), (193, 96), (193, 97), (193, 98), (193, 99), (193, 100), (193, 101), (193, 102), (193, 103), (193, 104), (193, 105), (193, 106), (193, 107), (193, 108), (193, 109), (193, 110), (193, 111), (193, 112), (193, 113), (193, 114), (193, 115), (193, 116), (193, 117), (193, 118), (193, 119), (193, 120), (193, 121), (193, 122), (193, 123), (193, 124), (193, 125), (193, 126), (193, 127), (193, 128), (193, 129), (193, 130), (193, 131), (193, 132), (193, 133), (193, 134), (193, 135), (193, 136), (193, 137),
(193, 138), (193, 139), (193, 140), (193, 141), (193, 142), (193, 143), (193, 144), (193, 145), (193, 146), (193, 147), (193, 148), (193, 149), (193, 150), (193, 151), (193, 152), (193, 153), (193, 154), (193, 155), (193, 156), (193, 157), (193, 158), (193, 159), (193, 160), (193, 161), (193, 162), (193, 163), (193, 164), (193, 165), (193, 166), (193, 167), (193, 168), (193, 169), (193, 170), (193, 171), (193, 172), (193, 173), (193, 174), (193, 175), (193, 176), (193, 177), (193, 178), (193, 179), (193, 180), (193, 181), (193, 182), (193, 183), (193, 184), (193, 185), (193, 186), (193, 187), (193, 188), (193, 189), (193, 190), (193, 191), (193, 192), (193, 193), (193, 194), (193, 195), (193, 196), (193, 198), (194, 86), (194, 88), (194, 89), (194, 90), (194, 91), (194, 92), (194, 93), (194, 94), (194, 95), (194, 96), (194, 97), (194, 98),
(194, 99), (194, 100), (194, 101), (194, 102), (194, 103), (194, 104), (194, 105), (194, 106), (194, 107), (194, 108), (194, 109), (194, 110), (194, 111), (194, 112), (194, 113), (194, 114), (194, 115), (194, 116), (194, 117), (194, 118), (194, 119), (194, 120), (194, 121), (194, 122), (194, 123), (194, 124), (194, 125), (194, 126), (194, 127), (194, 128), (194, 129), (194, 130), (194, 131), (194, 132), (194, 133), (194, 134), (194, 135), (194, 136), (194, 137), (194, 138), (194, 139), (194, 140), (194, 141), (194, 142), (194, 143), (194, 144), (194, 145), (194, 146), (194, 147), (194, 148), (194, 149), (194, 150), (194, 151), (194, 152), (194, 153), (194, 154), (194, 155), (194, 156), (194, 157), (194, 158), (194, 159), (194, 160), (194, 161), (194, 162), (194, 163), (194, 164), (194, 165), (194, 166), (194, 167), (194, 168), (194, 169), (194, 170),
(194, 171), (194, 172), (194, 173), (194, 174), (194, 175), (194, 176), (194, 177), (194, 178), (194, 179), (194, 180), (194, 181), (194, 182), (194, 183), (194, 184), (194, 185), (194, 186), (194, 187), (194, 188), (194, 189), (194, 190), (194, 191), (194, 192), (194, 193), (194, 194), (194, 195), (194, 196), (194, 198), (195, 85), (195, 87), (195, 88), (195, 89), (195, 90), (195, 91), (195, 92), (195, 93), (195, 94), (195, 95), (195, 96), (195, 97), (195, 98), (195, 99), (195, 100), (195, 101), (195, 102), (195, 103), (195, 104), (195, 105), (195, 106), (195, 107), (195, 108), (195, 109), (195, 110), (195, 111), (195, 112), (195, 113), (195, 114), (195, 115), (195, 116), (195, 117), (195, 118), (195, 119), (195, 120), (195, 121), (195, 122), (195, 123), (195, 124), (195, 125), (195, 126), (195, 127), (195, 128), (195, 129), (195, 130),
(195, 131), (195, 132), (195, 133), (195, 134), (195, 135), (195, 136), (195, 137), (195, 138), (195, 139), (195, 140), (195, 141), (195, 142), (195, 143), (195, 144), (195, 145), (195, 146), (195, 147), (195, 148), (195, 149), (195, 150), (195, 151), (195, 152), (195, 153), (195, 154), (195, 155), (195, 156), (195, 157), (195, 158), (195, 159), (195, 160), (195, 161), (195, 162), (195, 163), (195, 164), (195, 165), (195, 166), (195, 167), (195, 168), (195, 169), (195, 170), (195, 171), (195, 172), (195, 173), (195, 174), (195, 175), (195, 176), (195, 177), (195, 178), (195, 179), (195, 180), (195, 181), (195, 182), (195, 183), (195, 184), (195, 185), (195, 186), (195, 187), (195, 188), (195, 189), (195, 190), (195, 191), (195, 192), (195, 193), (195, 194), (195, 195), (195, 196), (195, 198), (196, 85), (196, 87), (196, 88), (196, 89), (196, 90),
(196, 91), (196, 92), (196, 93), (196, 94), (196, 95), (196, 96), (196, 97), (196, 98), (196, 99), (196, 100), (196, 101), (196, 102), (196, 103), (196, 104), (196, 105), (196, 106), (196, 107), (196, 108), (196, 109), (196, 110), (196, 111), (196, 112), (196, 113), (196, 114), (196, 115), (196, 116), (196, 117), (196, 118), (196, 119), (196, 120), (196, 121), (196, 122), (196, 123), (196, 124), (196, 125), (196, 126), (196, 127), (196, 128), (196, 129), (196, 130), (196, 131), (196, 132), (196, 133), (196, 134), (196, 135), (196, 136), (196, 137), (196, 138), (196, 139), (196, 140), (196, 141), (196, 142), (196, 143), (196, 144), (196, 145), (196, 146), (196, 147), (196, 148), (196, 149), (196, 150), (196, 151), (196, 152), (196, 153), (196, 154), (196, 155), (196, 156), (196, 157), (196, 158), (196, 159), (196, 160), (196, 161), (196, 162),
(196, 163), (196, 164), (196, 165), (196, 166), (196, 167), (196, 168), (196, 169), (196, 170), (196, 171), (196, 172), (196, 173), (196, 174), (196, 175), (196, 176), (196, 177), (196, 178), (196, 179), (196, 180), (196, 181), (196, 182), (196, 183), (196, 184), (196, 185), (196, 186), (196, 187), (196, 188), (196, 189), (196, 190), (196, 191), (196, 192), (196, 193), (196, 194), (196, 195), (196, 196), (196, 198), (197, 84), (197, 86), (197, 87), (197, 88), (197, 89), (197, 90), (197, 91), (197, 92), (197, 93), (197, 94), (197, 95), (197, 96), (197, 97), (197, 98), (197, 99), (197, 100), (197, 101), (197, 102), (197, 103), (197, 104), (197, 105), (197, 106), (197, 107), (197, 108), (197, 109), (197, 110), (197, 111), (197, 112), (197, 113), (197, 114), (197, 115), (197, 116), (197, 117), (197, 118), (197, 119), (197, 120), (197, 121),
(197, 122), (197, 123), (197, 124), (197, 125), (197, 126), (197, 127), (197, 128), (197, 129), (197, 130), (197, 131), (197, 132), (197, 133), (197, 134), (197, 135), (197, 136), (197, 137), (197, 138), (197, 139), (197, 140), (197, 141), (197, 142), (197, 143), (197, 144), (197, 145), (197, 146), (197, 147), (197, 148), (197, 149), (197, 150), (197, 151), (197, 152), (197, 153), (197, 154), (197, 155), (197, 156), (197, 157), (197, 158), (197, 159), (197, 160), (197, 161), (197, 162), (197, 163), (197, 164), (197, 165), (197, 166), (197, 167), (197, 168), (197, 169), (197, 170), (197, 171), (197, 172), (197, 173), (197, 174), (197, 175), (197, 176), (197, 177), (197, 178), (197, 179), (197, 180), (197, 181), (197, 182), (197, 183), (197, 184), (197, 185), (197, 186), (197, 187), (197, 188), (197, 189), (197, 190), (197, 191), (197, 192), (197, 193),
(197, 194), (197, 195), (197, 196), (197, 198), (198, 84), (198, 86), (198, 87), (198, 88), (198, 89), (198, 90), (198, 91), (198, 92), (198, 93), (198, 94), (198, 95), (198, 96), (198, 97), (198, 98), (198, 99), (198, 100), (198, 101), (198, 102), (198, 103), (198, 104), (198, 105), (198, 106), (198, 107), (198, 108), (198, 109), (198, 110), (198, 111), (198, 112), (198, 113), (198, 114), (198, 115), (198, 116), (198, 117), (198, 118), (198, 119), (198, 120), (198, 121), (198, 122), (198, 123), (198, 124), (198, 125), (198, 126), (198, 127), (198, 128), (198, 129), (198, 130), (198, 131), (198, 132), (198, 133), (198, 134), (198, 135), (198, 136), (198, 137), (198, 138), (198, 139), (198, 140), (198, 141), (198, 142), (198, 143), (198, 144), (198, 145), (198, 146), (198, 147), (198, 148), (198, 149), (198, 150), (198, 151), (198, 152),
(198, 153), (198, 154), (198, 155), (198, 156), (198, 157), (198, 158), (198, 159), (198, 160), (198, 161), (198, 162), (198, 163), (198, 164), (198, 165), (198, 166), (198, 167), (198, 168), (198, 169), (198, 170), (198, 171), (198, 172), (198, 173), (198, 174), (198, 175), (198, 176), (198, 177), (198, 178), (198, 179), (198, 180), (198, 181), (198, 182), (198, 183), (198, 184), (198, 185), (198, 186), (198, 187), (198, 188), (198, 189), (198, 190), (198, 191), (198, 192), (198, 193), (198, 194), (198, 195), (198, 196), (198, 198), (199, 83), (199, 85), (199, 86), (199, 87), (199, 88), (199, 89), (199, 90), (199, 91), (199, 92), (199, 93), (199, 94), (199, 95), (199, 96), (199, 97), (199, 98), (199, 99), (199, 100), (199, 101), (199, 102), (199, 103), (199, 104), (199, 105), (199, 106), (199, 107), (199, 108), (199, 109), (199, 110),
(199, 111), (199, 112), (199, 113), (199, 114), (199, 115), (199, 116), (199, 117), (199, 118), (199, 119), (199, 120), (199, 121), (199, 122), (199, 123), (199, 124), (199, 125), (199, 126), (199, 127), (199, 128), (199, 129), (199, 130), (199, 131), (199, 132), (199, 133), (199, 134), (199, 135), (199, 136), (199, 137), (199, 138), (199, 139), (199, 140), (199, 141), (199, 142), (199, 143), (199, 144), (199, 145), (199, 146), (199, 147), (199, 148), (199, 149), (199, 150), (199, 151), (199, 152), (199, 153), (199, 154), (199, 155), (199, 156), (199, 157), (199, 158), (199, 159), (199, 160), (199, 161), (199, 162), (199, 163), (199, 164), (199, 165), (199, 166), (199, 167), (199, 168), (199, 169), (199, 170), (199, 171), (199, 172), (199, 173), (199, 174), (199, 175), (199, 176), (199, 177), (199, 178), (199, 179), (199, 180), (199, 181), (199, 182),
(199, 183), (199, 184), (199, 185), (199, 186), (199, 187), (199, 188), (199, 189), (199, 190), (199, 191), (199, 192), (199, 193), (199, 194), (199, 195), (199, 196), (199, 198), (200, 82), (200, 84), (200, 85), (200, 86), (200, 87), (200, 88), (200, 89), (200, 90), (200, 91), (200, 92), (200, 93), (200, 94), (200, 95), (200, 96), (200, 97), (200, 98), (200, 99), (200, 100), (200, 101), (200, 102), (200, 103), (200, 104), (200, 105), (200, 106), (200, 107), (200, 108), (200, 109), (200, 110), (200, 111), (200, 112), (200, 113), (200, 114), (200, 115), (200, 116), (200, 117), (200, 118), (200, 119), (200, 120), (200, 121), (200, 122), (200, 123), (200, 124), (200, 125), (200, 126), (200, 127), (200, 128), (200, 129), (200, 130), (200, 131), (200, 132), (200, 133), (200, 134), (200, 135), (200, 136), (200, 137), (200, 138), (200, 139),
(200, 140), (200, 141), (200, 142), (200, 143), (200, 144), (200, 145), (200, 146), (200, 147), (200, 148), (200, 149), (200, 150), (200, 151), (200, 152), (200, 153), (200, 154), (200, 155), (200, 156), (200, 157), (200, 158), (200, 159), (200, 160), (200, 161), (200, 162), (200, 163), (200, 164), (200, 165), (200, 166), (200, 167), (200, 168), (200, 169), (200, 170), (200, 171), (200, 172), (200, 173), (200, 174), (200, 175), (200, 176), (200, 177), (200, 178), (200, 179), (200, 180), (200, 181), (200, 182), (200, 183), (200, 184), (200, 185), (200, 186), (200, 187), (200, 188), (200, 189), (200, 190), (200, 191), (200, 192), (200, 193), (200, 194), (200, 195), (200, 196), (200, 198), (201, 82), (201, 84), (201, 85), (201, 86), (201, 87), (201, 88), (201, 89), (201, 90), (201, 91), (201, 92), (201, 93), (201, 94), (201, 95), (201, 96),
(201, 97), (201, 98), (201, 99), (201, 100), (201, 101), (201, 102), (201, 103), (201, 104), (201, 105), (201, 106), (201, 107), (201, 108), (201, 109), (201, 110), (201, 111), (201, 112), (201, 113), (201, 114), (201, 115), (201, 116), (201, 117), (201, 118), (201, 119), (201, 120), (201, 121), (201, 122), (201, 123), (201, 124), (201, 125), (201, 126), (201, 127), (201, 128), (201, 129), (201, 130), (201, 131), (201, 132), (201, 133), (201, 134), (201, 135), (201, 136), (201, 137), (201, 138), (201, 139), (201, 140), (201, 141), (201, 142), (201, 143), (201, 144), (201, 145), (201, 146), (201, 147), (201, 148), (201, 149), (201, 150), (201, 151), (201, 152), (201, 153), (201, 154), (201, 155), (201, 156), (201, 157), (201, 158), (201, 159), (201, 160), (201, 161), (201, 162), (201, 163), (201, 164), (201, 165), (201, 166), (201, 167), (201, 168),
(201, 169), (201, 170), (201, 171), (201, 172), (201, 173), (201, 174), (201, 175), (201, 176), (201, 177), (201, 178), (201, 179), (201, 180), (201, 181), (201, 182), (201, 183), (201, 184), (201, 185), (201, 186), (201, 187), (201, 188), (201, 189), (201, 190), (201, 191), (201, 192), (201, 193), (201, 194), (201, 195), (201, 196), (201, 198), (202, 81), (202, 83), (202, 84), (202, 85), (202, 86), (202, 87), (202, 88), (202, 89), (202, 90), (202, 91), (202, 92), (202, 93), (202, 94), (202, 95), (202, 96), (202, 97), (202, 98), (202, 99), (202, 100), (202, 101), (202, 102), (202, 103), (202, 104), (202, 105), (202, 106), (202, 107), (202, 108), (202, 109), (202, 110), (202, 111), (202, 112), (202, 113), (202, 114), (202, 115), (202, 116), (202, 117), (202, 118), (202, 119), (202, 120), (202, 121), (202, 122), (202, 123), (202, 124),
(202, 125), (202, 126), (202, 127), (202, 128), (202, 129), (202, 130), (202, 131), (202, 132), (202, 133), (202, 134), (202, 135), (202, 136), (202, 137), (202, 138), (202, 139), (202, 140), (202, 141), (202, 142), (202, 143), (202, 144), (202, 145), (202, 146), (202, 147), (202, 148), (202, 149), (202, 150), (202, 151), (202, 152), (202, 153), (202, 154), (202, 155), (202, 156), (202, 157), (202, 158), (202, 159), (202, 160), (202, 161), (202, 162), (202, 163), (202, 164), (202, 165), (202, 166), (202, 167), (202, 168), (202, 169), (202, 170), (202, 171), (202, 172), (202, 173), (202, 174), (202, 175), (202, 176), (202, 177), (202, 178), (202, 179), (202, 180), (202, 181), (202, 182), (202, 183), (202, 184), (202, 185), (202, 186), (202, 187), (202, 188), (202, 189), (202, 190), (202, 191), (202, 192), (202, 193), (202, 194), (202, 195), (202, 196),
(202, 198), (203, 81), (203, 83), (203, 84), (203, 85), (203, 86), (203, 87), (203, 88), (203, 89), (203, 90), (203, 91), (203, 92), (203, 93), (203, 94), (203, 95), (203, 96), (203, 97), (203, 98), (203, 99), (203, 100), (203, 101), (203, 102), (203, 103), (203, 104), (203, 105), (203, 106), (203, 107), (203, 108), (203, 109), (203, 110), (203, 111), (203, 112), (203, 113), (203, 114), (203, 115), (203, 116), (203, 117), (203, 118), (203, 119), (203, 120), (203, 121), (203, 122), (203, 123), (203, 124), (203, 125), (203, 126), (203, 127), (203, 128), (203, 129), (203, 130), (203, 131), (203, 132), (203, 133), (203, 134), (203, 135), (203, 136), (203, 137), (203, 138), (203, 139), (203, 140), (203, 141), (203, 142), (203, 143), (203, 144), (203, 145), (203, 146), (203, 147), (203, 148), (203, 149), (203, 150), (203, 151), (203, 152),
(203, 153), (203, 154), (203, 155), (203, 156), (203, 157), (203, 158), (203, 159), (203, 160), (203, 161), (203, 162), (203, 163), (203, 164), (203, 165), (203, 166), (203, 167), (203, 168), (203, 169), (203, 170), (203, 171), (203, 172), (203, 173), (203, 174), (203, 175), (203, 176), (203, 177), (203, 178), (203, 179), (203, 180), (203, 181), (203, 182), (203, 183), (203, 184), (203, 185), (203, 186), (203, 187), (203, 188), (203, 189), (203, 190), (203, 191), (203, 192), (203, 193), (203, 194), (203, 195), (203, 196), (203, 198), (204, 80), (204, 82), (204, 83), (204, 84), (204, 85), (204, 86), (204, 87), (204, 88), (204, 89), (204, 90), (204, 91), (204, 92), (204, 93), (204, 94), (204, 95), (204, 96), (204, 97), (204, 98), (204, 99), (204, 100), (204, 101), (204, 102), (204, 103), (204, 104), (204, 105), (204, 106), (204, 107),
(204, 108), (204, 109), (204, 110), (204, 111), (204, 112), (204, 113), (204, 114), (204, 115), (204, 116), (204, 117), (204, 118), (204, 119), (204, 120), (204, 121), (204, 122), (204, 123), (204, 124), (204, 125), (204, 126), (204, 127), (204, 128), (204, 129), (204, 130), (204, 131), (204, 132), (204, 133), (204, 134), (204, 135), (204, 136), (204, 137), (204, 138), (204, 139), (204, 140), (204, 141), (204, 142), (204, 143), (204, 144), (204, 145), (204, 146), (204, 147), (204, 148), (204, 149), (204, 150), (204, 151), (204, 152), (204, 153), (204, 154), (204, 155), (204, 156), (204, 157), (204, 158), (204, 159), (204, 160), (204, 161), (204, 162), (204, 163), (204, 164), (204, 165), (204, 166), (204, 167), (204, 168), (204, 169), (204, 170), (204, 171), (204, 172), (204, 173), (204, 174), (204, 175), (204, 176), (204, 177), (204, 178), (204, 179),
(204, 180), (204, 181), (204, 182), (204, 183), (204, 184), (204, 185), (204, 186), (204, 187), (204, 188), (204, 189), (204, 190), (204, 191), (204, 192), (204, 193), (204, 194), (204, 195), (204, 196), (204, 198), (205, 80), (205, 82), (205, 83), (205, 84), (205, 85), (205, 86), (205, 87), (205, 88), (205, 89), (205, 90), (205, 91), (205, 92), (205, 93), (205, 94), (205, 95), (205, 96), (205, 97), (205, 98), (205, 99), (205, 100), (205, 101), (205, 102), (205, 103), (205, 104), (205, 105), (205, 106), (205, 107), (205, 108), (205, 109), (205, 110), (205, 111), (205, 112), (205, 113), (205, 114), (205, 115), (205, 116), (205, 117), (205, 118), (205, 119), (205, 120), (205, 121), (205, 122), (205, 123), (205, 124), (205, 125), (205, 126), (205, 127), (205, 128), (205, 129), (205, 130), (205, 131), (205, 132), (205, 133), (205, 134),
(205, 135), (205, 136), (205, 137), (205, 138), (205, 139), (205, 140), (205, 141), (205, 142), (205, 143), (205, 144), (205, 145), (205, 146), (205, 147), (205, 148), (205, 149), (205, 150), (205, 151), (205, 152), (205, 153), (205, 154), (205, 155), (205, 156), (205, 157), (205, 158), (205, 159), (205, 160), (205, 161), (205, 162), (205, 163), (205, 164), (205, 165), (205, 166), (205, 167), (205, 168), (205, 169), (205, 170), (205, 171), (205, 172), (205, 173), (205, 174), (205, 175), (205, 176), (205, 177), (205, 178), (205, 179), (205, 180), (205, 181), (205, 182), (205, 183), (205, 184), (205, 185), (205, 186), (205, 187), (205, 188), (205, 189), (205, 190), (205, 191), (205, 192), (205, 193), (205, 194), (205, 195), (205, 196), (205, 198), (206, 79), (206, 81), (206, 82), (206, 83), (206, 84), (206, 85), (206, 86), (206, 87), (206, 88),
(206, 89), (206, 90), (206, 91), (206, 92), (206, 93), (206, 94), (206, 95), (206, 96), (206, 97), (206, 98), (206, 99), (206, 100), (206, 101), (206, 102), (206, 103), (206, 104), (206, 105), (206, 106), (206, 107), (206, 108), (206, 109), (206, 110), (206, 111), (206, 112), (206, 113), (206, 114), (206, 115), (206, 116), (206, 117), (206, 118), (206, 119), (206, 120), (206, 121), (206, 122), (206, 123), (206, 124), (206, 125), (206, 126), (206, 127), (206, 128), (206, 129), (206, 130), (206, 131), (206, 132), (206, 133), (206, 134), (206, 135), (206, 136), (206, 137), (206, 138), (206, 139), (206, 140), (206, 141), (206, 142), (206, 143), (206, 144), (206, 145), (206, 146), (206, 147), (206, 148), (206, 149), (206, 150), (206, 151), (206, 152), (206, 153), (206, 154), (206, 155), (206, 156), (206, 157), (206, 158), (206, 159), (206, 160),
(206, 161), (206, 162), (206, 163), (206, 164), (206, 165), (206, 166), (206, 167), (206, 168), (206, 169), (206, 170), (206, 171), (206, 172), (206, 173), (206, 174), (206, 175), (206, 176), (206, 177), (206, 178), (206, 179), (206, 180), (206, 181), (206, 182), (206, 183), (206, 184), (206, 185), (206, 186), (206, 187), (206, 188), (206, 189), (206, 190), (206, 191), (206, 192), (206, 193), (206, 194), (206, 195), (206, 196), (206, 198), (207, 79), (207, 80), (207, 81), (207, 82), (207, 83), (207, 84), (207, 85), (207, 86), (207, 87), (207, 88), (207, 89), (207, 90), (207, 91), (207, 92), (207, 93), (207, 94), (207, 95), (207, 96), (207, 97), (207, 98), (207, 99), (207, 100), (207, 101), (207, 102), (207, 103), (207, 104), (207, 105), (207, 106), (207, 107), (207, 108), (207, 109), (207, 110), (207, 111), (207, 112), (207, 113),
(207, 114), (207, 115), (207, 116), (207, 117), (207, 118), (207, 119), (207, 120), (207, 121), (207, 122), (207, 123), (207, 124), (207, 125), (207, 126), (207, 127), (207, 128), (207, 129), (207, 130), (207, 131), (207, 132), (207, 133), (207, 134), (207, 135), (207, 136), (207, 137), (207, 138), (207, 139), (207, 140), (207, 141), (207, 142), (207, 143), (207, 144), (207, 145), (207, 146), (207, 147), (207, 148), (207, 149), (207, 150), (207, 151), (207, 152), (207, 153), (207, 154), (207, 155), (207, 156), (207, 157), (207, 158), (207, 159), (207, 160), (207, 161), (207, 162), (207, 163), (207, 164), (207, 165), (207, 166), (207, 167), (207, 168), (207, 169), (207, 170), (207, 171), (207, 172), (207, 173), (207, 174), (207, 175), (207, 176), (207, 177), (207, 178), (207, 179), (207, 180), (207, 181), (207, 182), (207, 183), (207, 184), (207, 185),
(207, 186), (207, 187), (207, 188), (207, 189), (207, 190), (207, 191), (207, 192), (207, 193), (207, 194), (207, 195), (207, 196), (207, 198), (208, 78), (208, 80), (208, 81), (208, 82), (208, 83), (208, 84), (208, 85), (208, 86), (208, 87), (208, 88), (208, 89), (208, 90), (208, 91), (208, 92), (208, 93), (208, 94), (208, 95), (208, 96), (208, 97), (208, 98), (208, 99), (208, 100), (208, 101), (208, 102), (208, 103), (208, 104), (208, 105), (208, 106), (208, 107), (208, 108), (208, 109), (208, 110), (208, 111), (208, 112), (208, 113), (208, 114), (208, 115), (208, 116), (208, 117), (208, 118), (208, 119), (208, 120), (208, 121), (208, 122), (208, 123), (208, 124), (208, 125), (208, 126), (208, 127), (208, 128), (208, 129), (208, 130), (208, 131), (208, 132), (208, 133), (208, 134), (208, 135), (208, 136), (208, 137), (208, 138),
(208, 139), (208, 140), (208, 141), (208, 142), (208, 143), (208, 144), (208, 145), (208, 146), (208, 147), (208, 148), (208, 149), (208, 150), (208, 151), (208, 152), (208, 153), (208, 154), (208, 155), (208, 156), (208, 157), (208, 158), (208, 159), (208, 160), (208, 161), (208, 162), (208, 163), (208, 164), (208, 165), (208, 166), (208, 167), (208, 168), (208, 169), (208, 170), (208, 171), (208, 172), (208, 173), (208, 174), (208, 175), (208, 176), (208, 177), (208, 178), (208, 179), (208, 180), (208, 181), (208, 182), (208, 183), (208, 184), (208, 185), (208, 186), (208, 187), (208, 188), (208, 189), (208, 190), (208, 191), (208, 192), (208, 193), (208, 194), (208, 195), (208, 196), (208, 198), (209, 77), (209, 79), (209, 80), (209, 81), (209, 82), (209, 83), (209, 84), (209, 85), (209, 86), (209, 87), (209, 88), (209, 89), (209, 90),
(209, 91), (209, 92), (209, 93), (209, 94), (209, 95), (209, 96), (209, 97), (209, 98), (209, 99), (209, 100), (209, 101), (209, 102), (209, 103), (209, 104), (209, 105), (209, 106), (209, 107), (209, 108), (209, 109), (209, 110), (209, 111), (209, 112), (209, 113), (209, 114), (209, 115), (209, 116), (209, 117), (209, 118), (209, 119), (209, 120), (209, 121), (209, 122), (209, 123), (209, 124), (209, 125), (209, 126), (209, 127), (209, 128), (209, 129), (209, 130), (209, 131), (209, 132), (209, 133), (209, 134), (209, 135), (209, 136), (209, 137), (209, 138), (209, 139), (209, 140), (209, 141), (209, 142), (209, 143), (209, 144), (209, 145), (209, 146), (209, 147), (209, 148), (209, 149), (209, 150), (209, 151), (209, 152), (209, 153), (209, 154), (209, 155), (209, 156), (209, 157), (209, 158), (209, 159), (209, 160), (209, 161), (209, 162),
(209, 163), (209, 164), (209, 165), (209, 166), (209, 167), (209, 168), (209, 169), (209, 170), (209, 171), (209, 172), (209, 173), (209, 174), (209, 175), (209, 176), (209, 177), (209, 178), (209, 179), (209, 180), (209, 181), (209, 182), (209, 183), (209, 184), (209, 185), (209, 186), (209, 187), (209, 188), (209, 189), (209, 190), (209, 191), (209, 192), (209, 193), (209, 194), (209, 195), (209, 196), (209, 198), (210, 77), (210, 79), (210, 80), (210, 81), (210, 82), (210, 83), (210, 84), (210, 85), (210, 86), (210, 87), (210, 88), (210, 89), (210, 90), (210, 91), (210, 92), (210, 93), (210, 94), (210, 95), (210, 96), (210, 97), (210, 98), (210, 99), (210, 100), (210, 101), (210, 102), (210, 103), (210, 104), (210, 105), (210, 106), (210, 107), (210, 108), (210, 109), (210, 110), (210, 111), (210, 112), (210, 113), (210, 114),
(210, 115), (210, 116), (210, 117), (210, 118), (210, 119), (210, 120), (210, 121), (210, 122), (210, 123), (210, 124), (210, 125), (210, 126), (210, 127), (210, 128), (210, 129), (210, 130), (210, 131), (210, 132), (210, 133), (210, 134), (210, 135), (210, 136), (210, 137), (210, 138), (210, 139), (210, 140), (210, 141), (210, 142), (210, 143), (210, 144), (210, 145), (210, 146), (210, 147), (210, 148), (210, 149), (210, 150), (210, 151), (210, 152), (210, 153), (210, 154), (210, 155), (210, 156), (210, 157), (210, 158), (210, 159), (210, 160), (210, 161), (210, 162), (210, 163), (210, 164), (210, 165), (210, 166), (210, 167), (210, 168), (210, 169), (210, 170), (210, 171), (210, 172), (210, 173), (210, 174), (210, 175), (210, 176), (210, 177), (210, 178), (210, 179), (210, 180), (210, 181), (210, 182), (210, 183), (210, 184), (210, 185), (210, 186),
(210, 187), (210, 188), (210, 189), (210, 190), (210, 191), (210, 192), (210, 193), (210, 194), (210, 195), (210, 196), (210, 198), (211, 76), (211, 78), (211, 79), (211, 80), (211, 81), (211, 82), (211, 83), (211, 84), (211, 85), (211, 86), (211, 87), (211, 88), (211, 89), (211, 90), (211, 91), (211, 92), (211, 93), (211, 94), (211, 95), (211, 96), (211, 97), (211, 98), (211, 99), (211, 100), (211, 101), (211, 102), (211, 103), (211, 104), (211, 105), (211, 106), (211, 107), (211, 108), (211, 109), (211, 110), (211, 111), (211, 112), (211, 113), (211, 114), (211, 115), (211, 116), (211, 117), (211, 118), (211, 119), (211, 120), (211, 121), (211, 122), (211, 123), (211, 124), (211, 125), (211, 126), (211, 127), (211, 128), (211, 129), (211, 130), (211, 131), (211, 132), (211, 133), (211, 134), (211, 135), (211, 136), (211, 137),
(211, 138), (211, 139), (211, 140), (211, 141), (211, 142), (211, 143), (211, 144), (211, 145), (211, 146), (211, 147), (211, 148), (211, 149), (211, 150), (211, 151), (211, 152), (211, 153), (211, 154), (211, 155), (211, 156), (211, 157), (211, 158), (211, 159), (211, 160), (211, 161), (211, 162), (211, 163), (211, 164), (211, 165), (211, 166), (211, 167), (211, 168), (211, 169), (211, 170), (211, 171), (211, 172), (211, 173), (211, 174), (211, 175), (211, 176), (211, 177), (211, 178), (211, 179), (211, 180), (211, 181), (211, 182), (211, 183), (211, 184), (211, 185), (211, 186), (211, 187), (211, 188), (211, 189), (211, 190), (211, 191), (211, 192), (211, 193), (211, 194), (211, 195), (211, 196), (211, 198), (212, 76), (212, 78), (212, 79), (212, 80), (212, 81), (212, 82), (212, 83), (212, 84), (212, 85), (212, 86), (212, 87), (212, 88),
(212, 89), (212, 90), (212, 91), (212, 92), (212, 93), (212, 94), (212, 95), (212, 96), (212, 97), (212, 98), (212, 99), (212, 100), (212, 101), (212, 102), (212, 103), (212, 104), (212, 105), (212, 106), (212, 107), (212, 108), (212, 109), (212, 110), (212, 111), (212, 112), (212, 113), (212, 114), (212, 115), (212, 116), (212, 117), (212, 118), (212, 119), (212, 120), (212, 121), (212, 122), (212, 123), (212, 124), (212, 125), (212, 126), (212, 127), (212, 128), (212, 129), (212, 130), (212, 131), (212, 132), (212, 133), (212, 134), (212, 135), (212, 136), (212, 137), (212, 138), (212, 139), (212, 140), (212, 141), (212, 142), (212, 143), (212, 144), (212, 145), (212, 146), (212, 147), (212, 148), (212, 149), (212, 150), (212, 151), (212, 152), (212, 153), (212, 154), (212, 155), (212, 156), (212, 157), (212, 158), (212, 159), (212, 160),
(212, 161), (212, 162), (212, 163), (212, 164), (212, 165), (212, 166), (212, 167), (212, 168), (212, 169), (212, 170), (212, 171), (212, 172), (212, 173), (212, 174), (212, 175), (212, 176), (212, 177), (212, 178), (212, 179), (212, 180), (212, 181), (212, 182), (212, 183), (212, 184), (212, 185), (212, 186), (212, 187), (212, 188), (212, 189), (212, 190), (212, 191), (212, 192), (212, 193), (212, 194), (212, 195), (212, 196), (212, 198), (213, 76), (213, 78), (213, 79), (213, 80), (213, 81), (213, 82), (213, 83), (213, 84), (213, 85), (213, 86), (213, 87), (213, 88), (213, 89), (213, 90), (213, 91), (213, 92), (213, 93), (213, 94), (213, 95), (213, 96), (213, 97), (213, 98), (213, 99), (213, 100), (213, 101), (213, 102), (213, 103), (213, 104), (213, 105), (213, 106), (213, 107), (213, 108), (213, 109), (213, 110), (213, 111),
(213, 112), (213, 113), (213, 114), (213, 115), (213, 116), (213, 117), (213, 118), (213, 119), (213, 120), (213, 121), (213, 122), (213, 123), (213, 124), (213, 125), (213, 126), (213, 127), (213, 128), (213, 129), (213, 130), (213, 131), (213, 132), (213, 133), (213, 134), (213, 135), (213, 136), (213, 137), (213, 138), (213, 139), (213, 140), (213, 141), (213, 142), (213, 143), (213, 144), (213, 145), (213, 146), (213, 147), (213, 148), (213, 149), (213, 150), (213, 151), (213, 152), (213, 153), (213, 154), (213, 155), (213, 156), (213, 157), (213, 158), (213, 159), (213, 160), (213, 161), (213, 162), (213, 163), (213, 164), (213, 165), (213, 166), (213, 167), (213, 168), (213, 169), (213, 170), (213, 171), (213, 172), (213, 173), (213, 174), (213, 175), (213, 176), (213, 177), (213, 178), (213, 179), (213, 180), (213, 181), (213, 182), (213, 183),
(213, 184), (213, 185), (213, 186), (213, 187), (213, 188), (213, 189), (213, 190), (213, 191), (213, 192), (213, 193), (213, 194), (213, 195), (213, 196), (213, 198), (214, 76), (214, 78), (214, 79), (214, 80), (214, 81), (214, 82), (214, 83), (214, 84), (214, 85), (214, 86), (214, 87), (214, 88), (214, 89), (214, 90), (214, 91), (214, 92), (214, 93), (214, 94), (214, 95), (214, 96), (214, 97), (214, 98), (214, 99), (214, 100), (214, 101), (214, 102), (214, 103), (214, 104), (214, 105), (214, 106), (214, 107), (214, 108), (214, 109), (214, 110), (214, 111), (214, 112), (214, 113), (214, 114), (214, 115), (214, 116), (214, 117), (214, 118), (214, 119), (214, 120), (214, 121), (214, 122), (214, 123), (214, 124), (214, 125), (214, 126), (214, 127), (214, 128), (214, 129), (214, 130), (214, 131), (214, 132), (214, 133), (214, 134),
(214, 135), (214, 136), (214, 137), (214, 138), (214, 139), (214, 140), (214, 141), (214, 142), (214, 143), (214, 144), (214, 145), (214, 146), (214, 147), (214, 148), (214, 149), (214, 150), (214, 151), (214, 152), (214, 153), (214, 154), (214, 155), (214, 156), (214, 157), (214, 158), (214, 159), (214, 160), (214, 161), (214, 162), (214, 163), (214, 164), (214, 165), (214, 166), (214, 167), (214, 168), (214, 169), (214, 170), (214, 171), (214, 172), (214, 173), (214, 174), (214, 175), (214, 176), (214, 177), (214, 178), (214, 179), (214, 180), (214, 181), (214, 182), (214, 183), (214, 184), (214, 185), (214, 186), (214, 187), (214, 188), (214, 189), (214, 190), (214, 191), (214, 192), (214, 193), (214, 194), (214, 195), (214, 196), (214, 198), (215, 76), (215, 78), (215, 79), (215, 80), (215, 81), (215, 82), (215, 83), (215, 84), (215, 85),
(215, 86), (215, 87), (215, 88), (215, 89), (215, 90), (215, 91), (215, 92), (215, 93), (215, 94), (215, 95), (215, 96), (215, 97), (215, 98), (215, 99), (215, 100), (215, 101), (215, 102), (215, 103), (215, 104), (215, 105), (215, 106), (215, 107), (215, 108), (215, 109), (215, 110), (215, 111), (215, 112), (215, 113), (215, 114), (215, 115), (215, 116), (215, 117), (215, 118), (215, 119), (215, 120), (215, 121), (215, 122), (215, 123), (215, 124), (215, 125), (215, 126), (215, 127), (215, 128), (215, 129), (215, 130), (215, 131), (215, 132), (215, 133), (215, 134), (215, 135), (215, 136), (215, 137), (215, 138), (215, 139), (215, 140), (215, 141), (215, 142), (215, 143), (215, 144), (215, 145), (215, 146), (215, 147), (215, 148), (215, 149), (215, 150), (215, 151), (215, 152), (215, 153), (215, 154), (215, 155), (215, 156), (215, 157),
(215, 158), (215, 159), (215, 160), (215, 161), (215, 162), (215, 163), (215, 164), (215, 165), (215, 166), (215, 167), (215, 168), (215, 169), (215, 170), (215, 171), (215, 172), (215, 173), (215, 174), (215, 175), (215, 176), (215, 177), (215, 178), (215, 179), (215, 180), (215, 181), (215, 182), (215, 183), (215, 184), (215, 185), (215, 186), (215, 187), (215, 188), (215, 189), (215, 190), (215, 191), (215, 192), (215, 193), (215, 194), (215, 195), (215, 196), (215, 198), (216, 75), (216, 77), (216, 78), (216, 79), (216, 80), (216, 81), (216, 82), (216, 83), (216, 84), (216, 85), (216, 86), (216, 87), (216, 88), (216, 89), (216, 90), (216, 91), (216, 92), (216, 93), (216, 94), (216, 95), (216, 96), (216, 97), (216, 98), (216, 99), (216, 100), (216, 101), (216, 102), (216, 103), (216, 104), (216, 105), (216, 106), (216, 107),
(216, 108), (216, 109), (216, 110), (216, 111), (216, 112), (216, 113), (216, 114), (216, 115), (216, 116), (216, 117), (216, 118), (216, 119), (216, 120), (216, 121), (216, 122), (216, 123), (216, 124), (216, 125), (216, 126), (216, 127), (216, 128), (216, 129), (216, 130), (216, 131), (216, 132), (216, 133), (216, 134), (216, 135), (216, 136), (216, 137), (216, 138), (216, 139), (216, 140), (216, 141), (216, 142), (216, 143), (216, 144), (216, 145), (216, 146), (216, 147), (216, 148), (216, 149), (216, 150), (216, 151), (216, 152), (216, 153), (216, 154), (216, 155), (216, 156), (216, 157), (216, 158), (216, 159), (216, 160), (216, 161), (216, 162), (216, 163), (216, 164), (216, 165), (216, 166), (216, 167), (216, 168), (216, 169), (216, 170), (216, 171), (216, 172), (216, 173), (216, 174), (216, 175), (216, 176), (216, 177), (216, 178), (216, 179),
(216, 180), (216, 181), (216, 182), (216, 183), (216, 184), (216, 185), (216, 186), (216, 187), (216, 188), (216, 189), (216, 190), (216, 191), (216, 192), (216, 193), (216, 194), (216, 195), (216, 196), (216, 198), (217, 75), (217, 77), (217, 78), (217, 79), (217, 80), (217, 81), (217, 82), (217, 83), (217, 84), (217, 85), (217, 86), (217, 87), (217, 88), (217, 89), (217, 90), (217, 91), (217, 92), (217, 93), (217, 94), (217, 95), (217, 96), (217, 97), (217, 98), (217, 99), (217, 100), (217, 101), (217, 102), (217, 103), (217, 104), (217, 105), (217, 106), (217, 107), (217, 108), (217, 109), (217, 110), (217, 111), (217, 112), (217, 113), (217, 114), (217, 115), (217, 116), (217, 117), (217, 118), (217, 119), (217, 120), (217, 121), (217, 122), (217, 123), (217, 124), (217, 125), (217, 126), (217, 127), (217, 128), (217, 129),
(217, 130), (217, 131), (217, 132), (217, 133), (217, 134), (217, 135), (217, 136), (217, 137), (217, 138), (217, 139), (217, 140), (217, 141), (217, 142), (217, 143), (217, 144), (217, 145), (217, 146), (217, 147), (217, 148), (217, 149), (217, 150), (217, 151), (217, 152), (217, 153), (217, 154), (217, 155), (217, 156), (217, 157), (217, 158), (217, 159), (217, 160), (217, 161), (217, 162), (217, 163), (217, 164), (217, 165), (217, 166), (217, 167), (217, 168), (217, 169), (217, 170), (217, 171), (217, 172), (217, 173), (217, 174), (217, 175), (217, 176), (217, 177), (217, 178), (217, 179), (217, 180), (217, 181), (217, 182), (217, 183), (217, 184), (217, 185), (217, 186), (217, 187), (217, 188), (217, 189), (217, 190), (217, 191), (217, 192), (217, 193), (217, 194), (217, 195), (217, 196), (217, 197), (217, 198), (217, 199), (218, 75), (218, 77),
(218, 78), (218, 79), (218, 80), (218, 81), (218, 82), (218, 83), (218, 84), (218, 85), (218, 86), (218, 87), (218, 88), (218, 89), (218, 90), (218, 91), (218, 92), (218, 93), (218, 94), (218, 95), (218, 96), (218, 97), (218, 98), (218, 99), (218, 100), (218, 101), (218, 102), (218, 103), (218, 104), (218, 105), (218, 106), (218, 107), (218, 108), (218, 109), (218, 110), (218, 111), (218, 112), (218, 113), (218, 114), (218, 115), (218, 116), (218, 117), (218, 118), (218, 119), (218, 120), (218, 121), (218, 122), (218, 123), (218, 124), (218, 125), (218, 126), (218, 127), (218, 128), (218, 129), (218, 130), (218, 131), (218, 132), (218, 133), (218, 134), (218, 135), (218, 136), (218, 137), (218, 138), (218, 139), (218, 140), (218, 141), (218, 142), (218, 143), (218, 144), (218, 145), (218, 146), (218, 147), (218, 148), (218, 149),
(218, 150), (218, 151), (218, 152), (218, 153), (218, 154), (218, 155), (218, 156), (218, 157), (218, 158), (218, 159), (218, 160), (218, 161), (218, 162), (218, 163), (218, 164), (218, 165), (218, 166), (218, 167), (218, 168), (218, 169), (218, 170), (218, 171), (218, 172), (218, 173), (218, 174), (218, 175), (218, 176), (218, 177), (218, 178), (218, 179), (218, 180), (218, 181), (218, 182), (218, 183), (218, 184), (218, 185), (218, 186), (218, 187), (218, 188), (218, 189), (218, 190), (218, 191), (218, 192), (218, 193), (218, 194), (218, 195), (218, 196), (218, 197), (218, 199), (219, 75), (219, 77), (219, 78), (219, 79), (219, 80), (219, 81), (219, 82), (219, 83), (219, 84), (219, 85), (219, 86), (219, 87), (219, 88), (219, 89), (219, 90), (219, 91), (219, 92), (219, 93), (219, 94), (219, 95), (219, 96), (219, 97), (219, 98),
(219, 99), (219, 100), (219, 101), (219, 102), (219, 103), (219, 104), (219, 105), (219, 106), (219, 107), (219, 108), (219, 109), (219, 110), (219, 111), (219, 112), (219, 113), (219, 114), (219, 115), (219, 116), (219, 117), (219, 118), (219, 119), (219, 120), (219, 121), (219, 122), (219, 123), (219, 124), (219, 125), (219, 126), (219, 127), (219, 128), (219, 129), (219, 130), (219, 131), (219, 132), (219, 133), (219, 134), (219, 135), (219, 136), (219, 137), (219, 138), (219, 139), (219, 140), (219, 141), (219, 142), (219, 143), (219, 144), (219, 145), (219, 146), (219, 147), (219, 148), (219, 149), (219, 150), (219, 151), (219, 152), (219, 153), (219, 154), (219, 155), (219, 156), (219, 157), (219, 158), (219, 159), (219, 160), (219, 161), (219, 162), (219, 163), (219, 164), (219, 165), (219, 166), (219, 167), (219, 168), (219, 169), (219, 170),
(219, 171), (219, 172), (219, 173), (219, 174), (219, 175), (219, 176), (219, 177), (219, 178), (219, 179), (219, 180), (219, 181), (219, 182), (219, 183), (219, 184), (219, 185), (219, 186), (219, 187), (219, 188), (219, 189), (219, 190), (219, 191), (219, 192), (219, 193), (219, 194), (219, 195), (219, 196), (219, 197), (219, 199), (220, 75), (220, 77), (220, 78), (220, 79), (220, 80), (220, 81), (220, 82), (220, 83), (220, 84), (220, 85), (220, 86), (220, 87), (220, 88), (220, 89), (220, 90), (220, 91), (220, 92), (220, 93), (220, 94), (220, 95), (220, 96), (220, 97), (220, 98), (220, 99), (220, 100), (220, 101), (220, 102), (220, 103), (220, 104), (220, 105), (220, 106), (220, 107), (220, 108), (220, 109), (220, 110), (220, 111), (220, 112), (220, 113), (220, 114), (220, 115), (220, 116), (220, 117), (220, 118), (220, 119),
(220, 120), (220, 121), (220, 122), (220, 123), (220, 124), (220, 125), (220, 126), (220, 127), (220, 128), (220, 129), (220, 130), (220, 131), (220, 132), (220, 133), (220, 134), (220, 135), (220, 136), (220, 137), (220, 138), (220, 139), (220, 140), (220, 141), (220, 142), (220, 143), (220, 144), (220, 145), (220, 146), (220, 147), (220, 148), (220, 149), (220, 150), (220, 151), (220, 152), (220, 153), (220, 154), (220, 155), (220, 156), (220, 157), (220, 158), (220, 159), (220, 160), (220, 161), (220, 162), (220, 163), (220, 164), (220, 165), (220, 166), (220, 167), (220, 168), (220, 169), (220, 170), (220, 171), (220, 172), (220, 173), (220, 174), (220, 175), (220, 176), (220, 177), (220, 178), (220, 179), (220, 180), (220, 181), (220, 182), (220, 183), (220, 184), (220, 185), (220, 186), (220, 187), (220, 188), (220, 189), (220, 190), (220, 191),
(220, 192), (220, 193), (220, 194), (220, 195), (220, 196), (220, 197), (220, 199), (221, 75), (221, 77), (221, 78), (221, 79), (221, 80), (221, 81), (221, 82), (221, 83), (221, 84), (221, 85), (221, 86), (221, 87), (221, 88), (221, 89), (221, 90), (221, 91), (221, 92), (221, 93), (221, 94), (221, 95), (221, 96), (221, 97), (221, 98), (221, 99), (221, 100), (221, 101), (221, 102), (221, 103), (221, 104), (221, 105), (221, 106), (221, 107), (221, 108), (221, 109), (221, 110), (221, 111), (221, 112), (221, 113), (221, 114), (221, 115), (221, 116), (221, 117), (221, 118), (221, 119), (221, 120), (221, 121), (221, 122), (221, 123), (221, 124), (221, 125), (221, 126), (221, 127), (221, 128), (221, 129), (221, 130), (221, 131), (221, 132), (221, 133), (221, 134), (221, 135), (221, 136), (221, 137), (221, 138), (221, 139), (221, 140),
(221, 141), (221, 142), (221, 143), (221, 144), (221, 145), (221, 146), (221, 147), (221, 148), (221, 149), (221, 150), (221, 151), (221, 152), (221, 153), (221, 154), (221, 155), (221, 156), (221, 157), (221, 158), (221, 159), (221, 160), (221, 161), (221, 162), (221, 163), (221, 164), (221, 165), (221, 166), (221, 167), (221, 168), (221, 169), (221, 170), (221, 171), (221, 172), (221, 173), (221, 174), (221, 175), (221, 176), (221, 177), (221, 178), (221, 179), (221, 180), (221, 181), (221, 182), (221, 183), (221, 184), (221, 185), (221, 186), (221, 187), (221, 188), (221, 189), (221, 190), (221, 191), (221, 192), (221, 193), (221, 194), (221, 195), (221, 196), (221, 197), (221, 199), (222, 75), (222, 77), (222, 78), (222, 79), (222, 80), (222, 81), (222, 82), (222, 83), (222, 84), (222, 85), (222, 86), (222, 87), (222, 88), (222, 89),
(222, 90), (222, 91), (222, 92), (222, 93), (222, 94), (222, 95), (222, 96), (222, 97), (222, 98), (222, 99), (222, 100), (222, 101), (222, 102), (222, 103), (222, 104), (222, 105), (222, 106), (222, 107), (222, 108), (222, 109), (222, 110), (222, 111), (222, 112), (222, 113), (222, 114), (222, 115), (222, 116), (222, 117), (222, 118), (222, 119), (222, 120), (222, 121), (222, 122), (222, 123), (222, 124), (222, 125), (222, 126), (222, 127), (222, 128), (222, 129), (222, 130), (222, 131), (222, 132), (222, 133), (222, 134), (222, 135), (222, 136), (222, 137), (222, 138), (222, 139), (222, 140), (222, 141), (222, 142), (222, 143), (222, 144), (222, 145), (222, 146), (222, 147), (222, 148), (222, 149), (222, 150), (222, 151), (222, 152), (222, 153), (222, 154), (222, 155), (222, 156), (222, 157), (222, 158), (222, 159), (222, 160), (222, 161),
(222, 162), (222, 163), (222, 164), (222, 165), (222, 166), (222, 167), (222, 168), (222, 169), (222, 170), (222, 171), (222, 172), (222, 173), (222, 174), (222, 175), (222, 176), (222, 177), (222, 178), (222, 179), (222, 180), (222, 181), (222, 182), (222, 183), (222, 184), (222, 185), (222, 186), (222, 187), (222, 188), (222, 189), (222, 190), (222, 191), (222, 192), (222, 193), (222, 194), (222, 195), (222, 196), (222, 197), (222, 199), (223, 75), (223, 77), (223, 78), (223, 79), (223, 80), (223, 81), (223, 82), (223, 83), (223, 84), (223, 85), (223, 86), (223, 87), (223, 88), (223, 89), (223, 90), (223, 91), (223, 92), (223, 93), (223, 94), (223, 95), (223, 96), (223, 97), (223, 98), (223, 99), (223, 100), (223, 101), (223, 102), (223, 103), (223, 104), (223, 105), (223, 106), (223, 107), (223, 108), (223, 109), (223, 110),
(223, 111), (223, 112), (223, 113), (223, 114), (223, 115), (223, 116), (223, 117), (223, 118), (223, 119), (223, 120), (223, 121), (223, 122), (223, 123), (223, 124), (223, 125), (223, 126), (223, 127), (223, 128), (223, 129), (223, 130), (223, 131), (223, 132), (223, 133), (223, 134), (223, 135), (223, 136), (223, 137), (223, 138), (223, 139), (223, 140), (223, 141), (223, 142), (223, 143), (223, 144), (223, 145), (223, 146), (223, 147), (223, 148), (223, 149), (223, 150), (223, 151), (223, 152), (223, 153), (223, 154), (223, 155), (223, 156), (223, 157), (223, 158), (223, 159), (223, 160), (223, 161), (223, 162), (223, 163), (223, 164), (223, 165), (223, 166), (223, 167), (223, 168), (223, 169), (223, 170), (223, 171), (223, 172), (223, 173), (223, 174), (223, 175), (223, 176), (223, 177), (223, 178), (223, 179), (223, 180), (223, 181), (223, 182),
(223, 183), (223, 184), (223, 185), (223, 186), (223, 187), (223, 188), (223, 189), (223, 190), (223, 191), (223, 192), (223, 193), (223, 194), (223, 195), (223, 196), (223, 197), (223, 199), (224, 75), (224, 77), (224, 78), (224, 79), (224, 80), (224, 81), (224, 82), (224, 83), (224, 84), (224, 85), (224, 86), (224, 87), (224, 88), (224, 89), (224, 90), (224, 91), (224, 92), (224, 93), (224, 94), (224, 95), (224, 96), (224, 97), (224, 98), (224, 99), (224, 100), (224, 101), (224, 102), (224, 103), (224, 104), (224, 105), (224, 106), (224, 107), (224, 108), (224, 109), (224, 110), (224, 111), (224, 112), (224, 113), (224, 114), (224, 115), (224, 116), (224, 117), (224, 118), (224, 119), (224, 120), (224, 121), (224, 122), (224, 123), (224, 124), (224, 125), (224, 126), (224, 127), (224, 128), (224, 129), (224, 130), (224, 131),
(224, 132), (224, 133), (224, 134), (224, 135), (224, 136), (224, 137), (224, 138), (224, 139), (224, 140), (224, 141), (224, 142), (224, 143), (224, 144), (224, 145), (224, 146), (224, 147), (224, 148), (224, 149), (224, 150), (224, 151), (224, 152), (224, 153), (224, 154), (224, 155), (224, 156), (224, 157), (224, 158), (224, 159), (224, 160), (224, 161), (224, 162), (224, 163), (224, 164), (224, 165), (224, 166), (224, 167), (224, 168), (224, 169), (224, 170), (224, 171), (224, 172), (224, 173), (224, 174), (224, 175), (224, 176), (224, 177), (224, 178), (224, 179), (224, 180), (224, 181), (224, 182), (224, 183), (224, 184), (224, 185), (224, 186), (224, 187), (224, 188), (224, 189), (224, 190), (224, 191), (224, 192), (224, 193), (224, 194), (224, 195), (224, 196), (224, 197), (224, 199), (225, 75), (225, 77), (225, 78), (225, 79), (225, 80),
(225, 81), (225, 82), (225, 83), (225, 84), (225, 85), (225, 86), (225, 87), (225, 88), (225, 89), (225, 90), (225, 91), (225, 92), (225, 93), (225, 94), (225, 95), (225, 96), (225, 97), (225, 98), (225, 99), (225, 100), (225, 101), (225, 102), (225, 103), (225, 104), (225, 105), (225, 106), (225, 107), (225, 108), (225, 109), (225, 110), (225, 111), (225, 112), (225, 113), (225, 114), (225, 115), (225, 116), (225, 117), (225, 118), (225, 119), (225, 120), (225, 121), (225, 122), (225, 123), (225, 124), (225, 125), (225, 126), (225, 127), (225, 128), (225, 129), (225, 130), (225, 131), (225, 132), (225, 133), (225, 134), (225, 135), (225, 136), (225, 137), (225, 138), (225, 139), (225, 140), (225, 141), (225, 142), (225, 143), (225, 144), (225, 145), (225, 146), (225, 147), (225, 148), (225, 149), (225, 150), (225, 151), (225, 152),
(225, 153), (225, 154), (225, 155), (225, 156), (225, 157), (225, 158), (225, 159), (225, 160), (225, 161), (225, 162), (225, 163), (225, 164), (225, 165), (225, 166), (225, 167), (225, 168), (225, 169), (225, 170), (225, 171), (225, 172), (225, 173), (225, 174), (225, 175), (225, 176), (225, 177), (225, 178), (225, 179), (225, 180), (225, 181), (225, 182), (225, 183), (225, 184), (225, 185), (225, 186), (225, 187), (225, 188), (225, 189), (225, 190), (225, 191), (225, 192), (225, 193), (225, 194), (225, 195), (225, 196), (225, 197), (225, 198), (225, 200), (226, 74), (226, 75), (226, 76), (226, 77), (226, 78), (226, 79), (226, 80), (226, 81), (226, 82), (226, 83), (226, 84), (226, 85), (226, 86), (226, 87), (226, 88), (226, 89), (226, 90), (226, 91), (226, 92), (226, 93), (226, 94), (226, 95), (226, 96), (226, 97), (226, 98),
(226, 99), (226, 100), (226, 101), (226, 102), (226, 103), (226, 104), (226, 105), (226, 106), (226, 107), (226, 108), (226, 109), (226, 110), (226, 111), (226, 112), (226, 113), (226, 114), (226, 115), (226, 116), (226, 117), (226, 118), (226, 119), (226, 120), (226, 121), (226, 122), (226, 123), (226, 124), (226, 125), (226, 126), (226, 127), (226, 128), (226, 129), (226, 130), (226, 131), (226, 132), (226, 133), (226, 134), (226, 135), (226, 136), (226, 137), (226, 138), (226, 139), (226, 140), (226, 141), (226, 142), (226, 143), (226, 144), (226, 145), (226, 146), (226, 147), (226, 148), (226, 149), (226, 150), (226, 151), (226, 152), (226, 153), (226, 154), (226, 155), (226, 156), (226, 157), (226, 158), (226, 159), (226, 160), (226, 161), (226, 162), (226, 163), (226, 164), (226, 165), (226, 166), (226, 167), (226, 168), (226, 169), (226, 170),
(226, 171), (226, 172), (226, 173), (226, 174), (226, 175), (226, 176), (226, 177), (226, 178), (226, 179), (226, 180), (226, 181), (226, 182), (226, 183), (226, 184), (226, 185), (226, 186), (226, 187), (226, 188), (226, 189), (226, 190), (226, 191), (226, 192), (226, 193), (226, 194), (226, 195), (226, 196), (226, 197), (226, 198), (226, 200), (227, 74), (227, 76), (227, 77), (227, 78), (227, 79), (227, 80), (227, 81), (227, 82), (227, 83), (227, 84), (227, 85), (227, 86), (227, 87), (227, 88), (227, 89), (227, 90), (227, 91), (227, 92), (227, 93), (227, 94), (227, 95), (227, 96), (227, 97), (227, 98), (227, 99), (227, 100), (227, 101), (227, 102), (227, 103), (227, 104), (227, 105), (227, 106), (227, 107), (227, 108), (227, 109), (227, 110), (227, 111), (227, 112), (227, 113), (227, 114), (227, 115), (227, 116), (227, 117),
(227, 118), (227, 119), (227, 120), (227, 121), (227, 122), (227, 123), (227, 124), (227, 125), (227, 126), (227, 127), (227, 128), (227, 129), (227, 130), (227, 131), (227, 132), (227, 133), (227, 134), (227, 135), (227, 136), (227, 137), (227, 138), (227, 139), (227, 140), (227, 141), (227, 142), (227, 143), (227, 144), (227, 145), (227, 146), (227, 147), (227, 148), (227, 149), (227, 150), (227, 151), (227, 152), (227, 153), (227, 154), (227, 155), (227, 156), (227, 157), (227, 158), (227, 159), (227, 160), (227, 161), (227, 162), (227, 163), (227, 164), (227, 165), (227, 166), (227, 167), (227, 168), (227, 169), (227, 170), (227, 171), (227, 172), (227, 173), (227, 174), (227, 175), (227, 176), (227, 177), (227, 178), (227, 179), (227, 180), (227, 181), (227, 182), (227, 183), (227, 184), (227, 185), (227, 186), (227, 187), (227, 188), (227, 189),
(227, 190), (227, 191), (227, 192), (227, 193), (227, 194), (227, 195), (227, 196), (227, 197), (227, 198), (227, 200), (228, 74), (228, 76), (228, 77), (228, 78), (228, 79), (228, 80), (228, 81), (228, 82), (228, 83), (228, 84), (228, 85), (228, 86), (228, 87), (228, 88), (228, 89), (228, 90), (228, 91), (228, 92), (228, 93), (228, 94), (228, 95), (228, 96), (228, 97), (228, 98), (228, 99), (228, 100), (228, 101), (228, 102), (228, 103), (228, 104), (228, 105), (228, 106), (228, 107), (228, 108), (228, 109), (228, 110), (228, 111), (228, 112), (228, 113), (228, 114), (228, 115), (228, 116), (228, 117), (228, 118), (228, 119), (228, 120), (228, 121), (228, 122), (228, 123), (228, 124), (228, 125), (228, 126), (228, 127), (228, 128), (228, 129), (228, 130), (228, 131), (228, 132), (228, 133), (228, 134), (228, 135), (228, 136),
(228, 137), (228, 138), (228, 139), (228, 140), (228, 141), (228, 142), (228, 143), (228, 144), (228, 145), (228, 146), (228, 147), (228, 148), (228, 149), (228, 150), (228, 151), (228, 152), (228, 153), (228, 154), (228, 155), (228, 156), (228, 157), (228, 158), (228, 159), (228, 160), (228, 161), (228, 162), (228, 163), (228, 164), (228, 165), (228, 166), (228, 167), (228, 168), (228, 169), (228, 170), (228, 171), (228, 172), (228, 173), (228, 174), (228, 175), (228, 176), (228, 177), (228, 178), (228, 179), (228, 180), (228, 181), (228, 182), (228, 183), (228, 184), (228, 185), (228, 186), (228, 187), (228, 188), (228, 189), (228, 190), (228, 191), (228, 192), (228, 193), (228, 194), (228, 195), (228, 196), (228, 197), (228, 198), (228, 199), (228, 201), (229, 74), (229, 76), (229, 77), (229, 78), (229, 79), (229, 80), (229, 81), (229, 82),
(229, 83), (229, 84), (229, 85), (229, 86), (229, 87), (229, 88), (229, 89), (229, 90), (229, 91), (229, 92), (229, 93), (229, 94), (229, 95), (229, 96), (229, 97), (229, 98), (229, 99), (229, 100), (229, 101), (229, 102), (229, 103), (229, 104), (229, 105), (229, 106), (229, 107), (229, 108), (229, 109), (229, 110), (229, 111), (229, 112), (229, 113), (229, 114), (229, 115), (229, 116), (229, 117), (229, 118), (229, 119), (229, 120), (229, 121), (229, 122), (229, 123), (229, 124), (229, 125), (229, 126), (229, 127), (229, 128), (229, 129), (229, 130), (229, 131), (229, 132), (229, 133), (229, 134), (229, 135), (229, 136), (229, 137), (229, 138), (229, 139), (229, 140), (229, 141), (229, 142), (229, 143), (229, 144), (229, 145), (229, 146), (229, 147), (229, 148), (229, 149), (229, 150), (229, 151), (229, 152), (229, 153), (229, 154),
(229, 155), (229, 156), (229, 157), (229, 158), (229, 159), (229, 160), (229, 161), (229, 162), (229, 163), (229, 164), (229, 165), (229, 166), (229, 167), (229, 168), (229, 169), (229, 170), (229, 171), (229, 172), (229, 173), (229, 174), (229, 175), (229, 176), (229, 177), (229, 178), (229, 179), (229, 180), (229, 181), (229, 182), (229, 183), (229, 184), (229, 185), (229, 186), (229, 187), (229, 188), (229, 189), (229, 190), (229, 191), (229, 192), (229, 193), (229, 194), (229, 195), (229, 196), (229, 197), (229, 198), (229, 199), (229, 201), (230, 74), (230, 76), (230, 77), (230, 78), (230, 79), (230, 80), (230, 81), (230, 82), (230, 83), (230, 84), (230, 85), (230, 86), (230, 87), (230, 88), (230, 89), (230, 90), (230, 91), (230, 92), (230, 93), (230, 94), (230, 95), (230, 96), (230, 97), (230, 98), (230, 99), (230, 100),
(230, 101), (230, 102), (230, 103), (230, 104), (230, 105), (230, 106), (230, 107), (230, 108), (230, 109), (230, 110), (230, 111), (230, 112), (230, 113), (230, 114), (230, 115), (230, 116), (230, 117), (230, 118), (230, 119), (230, 120), (230, 121), (230, 122), (230, 123), (230, 124), (230, 125), (230, 126), (230, 127), (230, 128), (230, 129), (230, 130), (230, 131), (230, 132), (230, 133), (230, 134), (230, 135), (230, 136), (230, 137), (230, 138), (230, 139), (230, 140), (230, 141), (230, 142), (230, 143), (230, 144), (230, 145), (230, 146), (230, 147), (230, 148), (230, 149), (230, 150), (230, 151), (230, 152), (230, 153), (230, 154), (230, 155), (230, 156), (230, 157), (230, 158), (230, 159), (230, 160), (230, 161), (230, 162), (230, 163), (230, 164), (230, 165), (230, 166), (230, 167), (230, 168), (230, 169), (230, 170), (230, 171), (230, 172),
(230, 173), (230, 174), (230, 175), (230, 176), (230, 177), (230, 178), (230, 179), (230, 180), (230, 181), (230, 182), (230, 183), (230, 184), (230, 185), (230, 186), (230, 187), (230, 188), (230, 189), (230, 190), (230, 191), (230, 192), (230, 193), (230, 194), (230, 195), (230, 196), (230, 197), (230, 198), (230, 199), (230, 201), (231, 74), (231, 76), (231, 77), (231, 78), (231, 79), (231, 80), (231, 81), (231, 82), (231, 83), (231, 84), (231, 85), (231, 86), (231, 87), (231, 88), (231, 89), (231, 90), (231, 91), (231, 92), (231, 93), (231, 94), (231, 95), (231, 96), (231, 97), (231, 98), (231, 99), (231, 100), (231, 101), (231, 102), (231, 103), (231, 104), (231, 105), (231, 106), (231, 107), (231, 108), (231, 109), (231, 110), (231, 111), (231, 112), (231, 113), (231, 114), (231, 115), (231, 116), (231, 117), (231, 118),
(231, 119), (231, 120), (231, 121), (231, 122), (231, 123), (231, 124), (231, 125), (231, 126), (231, 127), (231, 128), (231, 129), (231, 130), (231, 131), (231, 132), (231, 133), (231, 134), (231, 135), (231, 136), (231, 137), (231, 138), (231, 139), (231, 140), (231, 141), (231, 142), (231, 143), (231, 144), (231, 145), (231, 146), (231, 147), (231, 148), (231, 149), (231, 150), (231, 151), (231, 152), (231, 153), (231, 154), (231, 155), (231, 156), (231, 157), (231, 158), (231, 159), (231, 160), (231, 161), (231, 162), (231, 163), (231, 164), (231, 165), (231, 166), (231, 167), (231, 168), (231, 169), (231, 170), (231, 171), (231, 172), (231, 173), (231, 174), (231, 175), (231, 176), (231, 177), (231, 178), (231, 179), (231, 180), (231, 181), (231, 182), (231, 183), (231, 184), (231, 185), (231, 186), (231, 187), (231, 188), (231, 189), (231, 190),
(231, 191), (231, 192), (231, 193), (231, 194), (231, 195), (231, 196), (231, 197), (231, 198), (231, 199), (231, 200), (231, 202), (232, 74), (232, 76), (232, 77), (232, 78), (232, 79), (232, 80), (232, 81), (232, 82), (232, 83), (232, 84), (232, 85), (232, 86), (232, 87), (232, 88), (232, 89), (232, 90), (232, 91), (232, 92), (232, 93), (232, 94), (232, 95), (232, 96), (232, 97), (232, 98), (232, 99), (232, 100), (232, 101), (232, 102), (232, 103), (232, 104), (232, 105), (232, 106), (232, 107), (232, 108), (232, 109), (232, 110), (232, 111), (232, 112), (232, 113), (232, 114), (232, 115), (232, 116), (232, 117), (232, 118), (232, 119), (232, 120), (232, 121), (232, 122), (232, 123), (232, 124), (232, 125), (232, 126), (232, 127), (232, 128), (232, 129), (232, 130), (232, 131), (232, 132), (232, 133), (232, 134), (232, 135),
(232, 136), (232, 137), (232, 138), (232, 139), (232, 140), (232, 141), (232, 142), (232, 143), (232, 144), (232, 145), (232, 146), (232, 147), (232, 148), (232, 149), (232, 150), (232, 151), (232, 152), (232, 153), (232, 154), (232, 155), (232, 156), (232, 157), (232, 158), (232, 159), (232, 160), (232, 161), (232, 162), (232, 163), (232, 164), (232, 165), (232, 166), (232, 167), (232, 168), (232, 169), (232, 170), (232, 171), (232, 172), (232, 173), (232, 174), (232, 175), (232, 176), (232, 177), (232, 178), (232, 179), (232, 180), (232, 181), (232, 182), (232, 183), (232, 184), (232, 185), (232, 186), (232, 187), (232, 188), (232, 189), (232, 190), (232, 191), (232, 192), (232, 193), (232, 194), (232, 195), (232, 196), (232, 197), (232, 198), (232, 199), (232, 200), (232, 202), (233, 74), (233, 76), (233, 77), (233, 78), (233, 79), (233, 80),
(233, 81), (233, 82), (233, 83), (233, 84), (233, 85), (233, 86), (233, 87), (233, 88), (233, 89), (233, 90), (233, 91), (233, 92), (233, 93), (233, 94), (233, 95), (233, 96), (233, 97), (233, 98), (233, 99), (233, 100), (233, 101), (233, 102), (233, 103), (233, 104), (233, 105), (233, 106), (233, 107), (233, 108), (233, 109), (233, 110), (233, 111), (233, 112), (233, 113), (233, 114), (233, 115), (233, 116), (233, 117), (233, 118), (233, 119), (233, 120), (233, 121), (233, 122), (233, 123), (233, 124), (233, 125), (233, 126), (233, 127), (233, 128), (233, 129), (233, 130), (233, 131), (233, 132), (233, 133), (233, 134), (233, 135), (233, 136), (233, 137), (233, 138), (233, 139), (233, 140), (233, 141), (233, 142), (233, 143), (233, 144), (233, 145), (233, 146), (233, 147), (233, 148), (233, 149), (233, 150), (233, 151), (233, 152),
(233, 153), (233, 154), (233, 155), (233, 156), (233, 157), (233, 158), (233, 159), (233, 160), (233, 161), (233, 162), (233, 163), (233, 164), (233, 165), (233, 166), (233, 167), (233, 168), (233, 169), (233, 170), (233, 171), (233, 172), (233, 173), (233, 174), (233, 175), (233, 176), (233, 177), (233, 178), (233, 179), (233, 180), (233, 181), (233, 182), (233, 183), (233, 184), (233, 185), (233, 186), (233, 187), (233, 188), (233, 189), (233, 190), (233, 191), (233, 192), (233, 193), (233, 194), (233, 195), (233, 196), (233, 197), (233, 198), (233, 199), (233, 200), (233, 202), (234, 74), (234, 76), (234, 77), (234, 78), (234, 79), (234, 80), (234, 81), (234, 82), (234, 83), (234, 84), (234, 85), (234, 86), (234, 87), (234, 88), (234, 89), (234, 90), (234, 91), (234, 92), (234, 93), (234, 94), (234, 95), (234, 96), (234, 97),
(234, 98), (234, 99), (234, 100), (234, 101), (234, 102), (234, 103), (234, 104), (234, 105), (234, 106), (234, 107), (234, 108), (234, 109), (234, 110), (234, 111), (234, 112), (234, 113), (234, 114), (234, 115), (234, 116), (234, 117), (234, 118), (234, 119), (234, 120), (234, 121), (234, 122), (234, 123), (234, 124), (234, 125), (234, 126), (234, 127), (234, 128), (234, 129), (234, 130), (234, 131), (234, 132), (234, 133), (234, 134), (234, 135), (234, 136), (234, 137), (234, 138), (234, 139), (234, 140), (234, 141), (234, 142), (234, 143), (234, 144), (234, 145), (234, 146), (234, 147), (234, 148), (234, 149), (234, 150), (234, 151), (234, 152), (234, 153), (234, 154), (234, 155), (234, 156), (234, 157), (234, 158), (234, 159), (234, 160), (234, 161), (234, 162), (234, 163), (234, 164), (234, 165), (234, 166), (234, 167), (234, 168), (234, 169),
(234, 170), (234, 171), (234, 172), (234, 173), (234, 174), (234, 175), (234, 176), (234, 177), (234, 178), (234, 179), (234, 180), (234, 181), (234, 182), (234, 183), (234, 184), (234, 185), (234, 186), (234, 187), (234, 188), (234, 189), (234, 190), (234, 191), (234, 192), (234, 193), (234, 194), (234, 195), (234, 196), (234, 197), (234, 198), (234, 199), (234, 200), (234, 202), (235, 74), (235, 76), (235, 77), (235, 78), (235, 79), (235, 80), (235, 81), (235, 82), (235, 83), (235, 84), (235, 85), (235, 86), (235, 87), (235, 88), (235, 89), (235, 90), (235, 91), (235, 92), (235, 93), (235, 94), (235, 95), (235, 96), (235, 97), (235, 98), (235, 99), (235, 100), (235, 101), (235, 102), (235, 103), (235, 104), (235, 105), (235, 106), (235, 107), (235, 108), (235, 109), (235, 110), (235, 111), (235, 112), (235, 113), (235, 114),
(235, 115), (235, 116), (235, 117), (235, 118), (235, 119), (235, 120), (235, 121), (235, 122), (235, 123), (235, 124), (235, 125), (235, 126), (235, 127), (235, 128), (235, 129), (235, 130), (235, 131), (235, 132), (235, 133), (235, 134), (235, 135), (235, 136), (235, 137), (235, 138), (235, 139), (235, 140), (235, 141), (235, 142), (235, 143), (235, 144), (235, 145), (235, 146), (235, 147), (235, 148), (235, 149), (235, 150), (235, 151), (235, 152), (235, 153), (235, 154), (235, 155), (235, 156), (235, 157), (235, 158), (235, 159), (235, 160), (235, 161), (235, 162), (235, 163), (235, 164), (235, 165), (235, 166), (235, 167), (235, 168), (235, 169), (235, 170), (235, 171), (235, 172), (235, 173), (235, 174), (235, 175), (235, 176), (235, 177), (235, 178), (235, 179), (235, 180), (235, 181), (235, 182), (235, 183), (235, 184), (235, 185), (235, 186),
(235, 187), (235, 188), (235, 189), (235, 190), (235, 191), (235, 192), (235, 193), (235, 194), (235, 195), (235, 196), (235, 197), (235, 198), (235, 199), (235, 200), (235, 202), (236, 74), (236, 76), (236, 77), (236, 78), (236, 79), (236, 80), (236, 81), (236, 82), (236, 83), (236, 84), (236, 85), (236, 86), (236, 87), (236, 88), (236, 89), (236, 90), (236, 91), (236, 92), (236, 93), (236, 94), (236, 95), (236, 96), (236, 97), (236, 98), (236, 99), (236, 100), (236, 101), (236, 102), (236, 103), (236, 104), (236, 105), (236, 106), (236, 107), (236, 108), (236, 109), (236, 110), (236, 111), (236, 112), (236, 113), (236, 114), (236, 115), (236, 116), (236, 117), (236, 118), (236, 119), (236, 120), (236, 121), (236, 122), (236, 123), (236, 124), (236, 125), (236, 126), (236, 127), (236, 128), (236, 129), (236, 130), (236, 131),
(236, 132), (236, 133), (236, 134), (236, 135), (236, 136), (236, 137), (236, 138), (236, 139), (236, 140), (236, 141), (236, 142), (236, 143), (236, 144), (236, 145), (236, 146), (236, 147), (236, 148), (236, 149), (236, 150), (236, 151), (236, 152), (236, 153), (236, 154), (236, 155), (236, 156), (236, 157), (236, 158), (236, 159), (236, 160), (236, 161), (236, 162), (236, 163), (236, 164), (236, 165), (236, 166), (236, 167), (236, 168), (236, 169), (236, 170), (236, 171), (236, 172), (236, 173), (236, 174), (236, 175), (236, 176), (236, 177), (236, 178), (236, 179), (236, 180), (236, 181), (236, 182), (236, 183), (236, 184), (236, 185), (236, 186), (236, 187), (236, 188), (236, 189), (236, 190), (236, 191), (236, 192), (236, 193), (236, 194), (236, 195), (236, 196), (236, 197), (236, 198), (236, 199), (236, 201), (237, 74), (237, 76), (237, 77),
(237, 78), (237, 79), (237, 80), (237, 81), (237, 82), (237, 83), (237, 84), (237, 85), (237, 86), (237, 87), (237, 88), (237, 89), (237, 90), (237, 91), (237, 92), (237, 93), (237, 94), (237, 95), (237, 96), (237, 97), (237, 98), (237, 99), (237, 100), (237, 101), (237, 102), (237, 103), (237, 104), (237, 105), (237, 106), (237, 107), (237, 108), (237, 109), (237, 110), (237, 111), (237, 112), (237, 113), (237, 114), (237, 115), (237, 116), (237, 117), (237, 118), (237, 119), (237, 120), (237, 121), (237, 122), (237, 123), (237, 124), (237, 125), (237, 126), (237, 127), (237, 128), (237, 129), (237, 130), (237, 131), (237, 132), (237, 133), (237, 134), (237, 135), (237, 136), (237, 137), (237, 138), (237, 139), (237, 140), (237, 141), (237, 142), (237, 143), (237, 144), (237, 145), (237, 146), (237, 147), (237, 148), (237, 149),
(237, 150), (237, 151), (237, 152), (237, 153), (237, 154), (237, 155), (237, 156), (237, 157), (237, 158), (237, 159), (237, 160), (237, 161), (237, 162), (237, 163), (237, 164), (237, 165), (237, 166), (237, 167), (237, 168), (237, 169), (237, 170), (237, 171), (237, 172), (237, 173), (237, 174), (237, 175), (237, 176), (237, 177), (237, 178), (237, 179), (237, 180), (237, 181), (237, 182), (237, 183), (237, 184), (237, 185), (237, 186), (237, 187), (237, 188), (237, 189), (237, 190), (237, 191), (237, 192), (237, 193), (237, 194), (237, 195), (237, 196), (237, 197), (237, 198), (237, 199), (237, 201), (238, 74), (238, 76), (238, 77), (238, 78), (238, 79), (238, 80), (238, 81), (238, 82), (238, 83), (238, 84), (238, 85), (238, 86), (238, 87), (238, 88), (238, 89), (238, 90), (238, 91), (238, 92), (238, 93), (238, 94), (238, 95),
(238, 96), (238, 97), (238, 98), (238, 99), (238, 100), (238, 101), (238, 102), (238, 103), (238, 104), (238, 105), (238, 106), (238, 107), (238, 108), (238, 109), (238, 110), (238, 111), (238, 112), (238, 113), (238, 114), (238, 115), (238, 116), (238, 117), (238, 118), (238, 119), (238, 120), (238, 121), (238, 122), (238, 123), (238, 124), (238, 125), (238, 126), (238, 127), (238, 128), (238, 129), (238, 130), (238, 131), (238, 132), (238, 133), (238, 134), (238, 135), (238, 136), (238, 137), (238, 138), (238, 139), (238, 140), (238, 141), (238, 142), (238, 143), (238, 144), (238, 145), (238, 146), (238, 147), (238, 148), (238, 149), (238, 150), (238, 151), (238, 152), (238, 153), (238, 154), (238, 155), (238, 156), (238, 157), (238, 158), (238, 159), (238, 160), (238, 161), (238, 162), (238, 163), (238, 164), (238, 165), (238, 166), (238, 167),
(238, 168), (238, 169), (238, 170), (238, 171), (238, 172), (238, 173), (238, 174), (238, 175), (238, 176), (238, 177), (238, 178), (238, 179), (238, 180), (238, 181), (238, 182), (238, 183), (238, 184), (238, 185), (238, 186), (238, 187), (238, 188), (238, 189), (238, 190), (238, 191), (238, 192), (238, 193), (238, 194), (238, 195), (238, 196), (238, 197), (238, 198), (238, 199), (238, 201), (239, 74), (239, 76), (239, 77), (239, 78), (239, 79), (239, 80), (239, 81), (239, 82), (239, 83), (239, 84), (239, 85), (239, 86), (239, 87), (239, 88), (239, 89), (239, 90), (239, 91), (239, 92), (239, 93), (239, 94), (239, 95), (239, 96), (239, 97), (239, 98), (239, 99), (239, 100), (239, 101), (239, 102), (239, 103), (239, 104), (239, 105), (239, 106), (239, 107), (239, 108), (239, 109), (239, 110), (239, 111), (239, 112), (239, 113),
(239, 114), (239, 115), (239, 116), (239, 117), (239, 118), (239, 119), (239, 120), (239, 121), (239, 122), (239, 123), (239, 124), (239, 125), (239, 126), (239, 127), (239, 128), (239, 129), (239, 130), (239, 131), (239, 132), (239, 133), (239, 134), (239, 135), (239, 136), (239, 137), (239, 138), (239, 139), (239, 140), (239, 141), (239, 142), (239, 143), (239, 144), (239, 145), (239, 146), (239, 147), (239, 148), (239, 149), (239, 150), (239, 151), (239, 152), (239, 153), (239, 154), (239, 155), (239, 156), (239, 157), (239, 158), (239, 159), (239, 160), (239, 161), (239, 162), (239, 163), (239, 164), (239, 165), (239, 166), (239, 167), (239, 168), (239, 169), (239, 170), (239, 171), (239, 172), (239, 173), (239, 174), (239, 175), (239, 176), (239, 177), (239, 178), (239, 179), (239, 180), (239, 181), (239, 182), (239, 183), (239, 184), (239, 185),
(239, 186), (239, 187), (239, 188), (239, 189), (239, 190), (239, 191), (239, 192), (239, 193), (239, 194), (239, 195), (239, 196), (239, 197), (239, 198), (239, 199), (239, 201), (240, 74), (240, 76), (240, 77), (240, 78), (240, 79), (240, 80), (240, 81), (240, 82), (240, 83), (240, 84), (240, 85), (240, 86), (240, 87), (240, 88), (240, 89), (240, 90), (240, 91), (240, 92), (240, 93), (240, 94), (240, 95), (240, 96), (240, 97), (240, 98), (240, 99), (240, 100), (240, 101), (240, 102), (240, 103), (240, 104), (240, 105), (240, 106), (240, 107), (240, 108), (240, 109), (240, 110), (240, 111), (240, 112), (240, 113), (240, 114), (240, 115), (240, 116), (240, 117), (240, 118), (240, 119), (240, 120), (240, 121), (240, 122), (240, 123), (240, 124), (240, 125), (240, 126), (240, 127), (240, 128), (240, 129), (240, 130), (240, 131),
(240, 132), (240, 133), (240, 134), (240, 135), (240, 136), (240, 137), (240, 138), (240, 139), (240, 140), (240, 141), (240, 142), (240, 143), (240, 144), (240, 145), (240, 146), (240, 147), (240, 148), (240, 149), (240, 150), (240, 151), (240, 152), (240, 153), (240, 154), (240, 155), (240, 156), (240, 157), (240, 158), (240, 159), (240, 160), (240, 161), (240, 162), (240, 163), (240, 164), (240, 165), (240, 166), (240, 167), (240, 168), (240, 169), (240, 170), (240, 171), (240, 172), (240, 173), (240, 174), (240, 175), (240, 176), (240, 177), (240, 178), (240, 179), (240, 180), (240, 181), (240, 182), (240, 183), (240, 184), (240, 185), (240, 186), (240, 187), (240, 188), (240, 189), (240, 190), (240, 191), (240, 192), (240, 193), (240, 194), (240, 195), (240, 196), (240, 197), (240, 198), (240, 199), (240, 201), (241, 73), (241, 75), (241, 76),
(241, 77), (241, 78), (241, 79), (241, 80), (241, 81), (241, 82), (241, 83), (241, 84), (241, 85), (241, 86), (241, 87), (241, 88), (241, 89), (241, 90), (241, 91), (241, 92), (241, 93), (241, 94), (241, 95), (241, 96), (241, 97), (241, 98), (241, 99), (241, 100), (241, 101), (241, 102), (241, 103), (241, 104), (241, 105), (241, 106), (241, 107), (241, 108), (241, 109), (241, 110), (241, 111), (241, 112), (241, 113), (241, 114), (241, 115), (241, 116), (241, 117), (241, 118), (241, 119), (241, 120), (241, 121), (241, 122), (241, 123), (241, 124), (241, 125), (241, 126), (241, 127), (241, 128), (241, 129), (241, 130), (241, 131), (241, 132), (241, 133), (241, 134), (241, 135), (241, 136), (241, 137), (241, 138), (241, 139), (241, 140), (241, 141), (241, 142), (241, 143), (241, 144), (241, 145), (241, 146), (241, 147), (241, 148),
(241, 149), (241, 150), (241, 151), (241, 152), (241, 153), (241, 154), (241, 155), (241, 156), (241, 157), (241, 158), (241, 159), (241, 160), (241, 161), (241, 162), (241, 163), (241, 164), (241, 165), (241, 166), (241, 167), (241, 168), (241, 169), (241, 170), (241, 171), (241, 172), (241, 173), (241, 174), (241, 175), (241, 176), (241, 177), (241, 178), (241, 179), (241, 180), (241, 181), (241, 182), (241, 183), (241, 184), (241, 185), (241, 186), (241, 187), (241, 188), (241, 189), (241, 190), (241, 191), (241, 192), (241, 193), (241, 194), (241, 195), (241, 196), (241, 197), (241, 198), (241, 199), (241, 201), (242, 73), (242, 75), (242, 76), (242, 77), (242, 78), (242, 79), (242, 80), (242, 81), (242, 82), (242, 83), (242, 84), (242, 85), (242, 86), (242, 87), (242, 88), (242, 89), (242, 90), (242, 91), (242, 92), (242, 93),
(242, 94), (242, 95), (242, 96), (242, 97), (242, 98), (242, 99), (242, 100), (242, 101), (242, 102), (242, 103), (242, 104), (242, 105), (242, 106), (242, 107), (242, 108), (242, 109), (242, 110), (242, 111), (242, 112), (242, 113), (242, 114), (242, 115), (242, 116), (242, 117), (242, 118), (242, 119), (242, 120), (242, 121), (242, 122), (242, 123), (242, 124), (242, 125), (242, 126), (242, 127), (242, 128), (242, 129), (242, 130), (242, 131), (242, 132), (242, 133), (242, 134), (242, 135), (242, 136), (242, 137), (242, 138), (242, 139), (242, 140), (242, 141), (242, 142), (242, 143), (242, 144), (242, 145), (242, 146), (242, 147), (242, 148), (242, 149), (242, 150), (242, 151), (242, 152), (242, 153), (242, 154), (242, 155), (242, 156), (242, 157), (242, 158), (242, 159), (242, 160), (242, 161), (242, 162), (242, 163), (242, 164), (242, 165),
(242, 166), (242, 167), (242, 168), (242, 169), (242, 170), (242, 171), (242, 172), (242, 173), (242, 174), (242, 175), (242, 176), (242, 177), (242, 178), (242, 179), (242, 180), (242, 181), (242, 182), (242, 183), (242, 184), (242, 185), (242, 186), (242, 187), (242, 188), (242, 189), (242, 190), (242, 191), (242, 192), (242, 193), (242, 194), (242, 195), (242, 196), (242, 197), (242, 198), (242, 199), (242, 201), (243, 73), (243, 75), (243, 76), (243, 77), (243, 78), (243, 79), (243, 80), (243, 81), (243, 82), (243, 83), (243, 84), (243, 85), (243, 86), (243, 87), (243, 88), (243, 89), (243, 90), (243, 91), (243, 92), (243, 93), (243, 94), (243, 95), (243, 96), (243, 97), (243, 98), (243, 99), (243, 100), (243, 101), (243, 102), (243, 103), (243, 104), (243, 105), (243, 106), (243, 107), (243, 108), (243, 109), (243, 110),
(243, 111), (243, 112), (243, 113), (243, 114), (243, 115), (243, 116), (243, 117), (243, 118), (243, 119), (243, 120), (243, 121), (243, 122), (243, 123), (243, 124), (243, 125), (243, 126), (243, 127), (243, 128), (243, 129), (243, 130), (243, 131), (243, 132), (243, 133), (243, 134), (243, 135), (243, 136), (243, 137), (243, 138), (243, 139), (243, 140), (243, 141), (243, 142), (243, 143), (243, 144), (243, 145), (243, 146), (243, 147), (243, 148), (243, 149), (243, 150), (243, 151), (243, 152), (243, 153), (243, 154), (243, 155), (243, 156), (243, 157), (243, 158), (243, 159), (243, 160), (243, 161), (243, 162), (243, 163), (243, 164), (243, 165), (243, 166), (243, 167), (243, 168), (243, 169), (243, 170), (243, 171), (243, 172), (243, 173), (243, 174), (243, 175), (243, 176), (243, 177), (243, 178), (243, 179), (243, 180), (243, 181), (243, 182),
(243, 183), (243, 184), (243, 185), (243, 186), (243, 187), (243, 188), (243, 189), (243, 190), (243, 191), (243, 192), (243, 193), (243, 194), (243, 195), (243, 196), (243, 197), (243, 198), (243, 199), (243, 201), (244, 72), (244, 73), (244, 75), (244, 76), (244, 77), (244, 78), (244, 79), (244, 80), (244, 81), (244, 82), (244, 83), (244, 84), (244, 85), (244, 86), (244, 87), (244, 88), (244, 89), (244, 90), (244, 91), (244, 92), (244, 93), (244, 94), (244, 95), (244, 96), (244, 97), (244, 98), (244, 99), (244, 100), (244, 101), (244, 102), (244, 103), (244, 104), (244, 105), (244, 106), (244, 107), (244, 108), (244, 109), (244, 110), (244, 111), (244, 112), (244, 113), (244, 114), (244, 115), (244, 116), (244, 117), (244, 118), (244, 119), (244, 120), (244, 121), (244, 122), (244, 123), (244, 124), (244, 125), (244, 126),
(244, 127), (244, 128), (244, 129), (244, 130), (244, 131), (244, 132), (244, 133), (244, 134), (244, 135), (244, 136), (244, 137), (244, 138), (244, 139), (244, 140), (244, 141), (244, 142), (244, 143), (244, 144), (244, 145), (244, 146), (244, 147), (244, 148), (244, 149), (244, 150), (244, 151), (244, 152), (244, 153), (244, 154), (244, 155), (244, 156), (244, 157), (244, 158), (244, 159), (244, 160), (244, 161), (244, 162), (244, 163), (244, 164), (244, 165), (244, 166), (244, 167), (244, 168), (244, 169), (244, 170), (244, 171), (244, 172), (244, 173), (244, 174), (244, 175), (244, 176), (244, 177), (244, 178), (244, 179), (244, 180), (244, 181), (244, 182), (244, 183), (244, 184), (244, 185), (244, 186), (244, 187), (244, 188), (244, 189), (244, 190), (244, 191), (244, 192), (244, 193), (244, 194), (244, 195), (244, 196), (244, 197), (244, 198),
(244, 199), (244, 201), (245, 72), (245, 74), (245, 75), (245, 76), (245, 77), (245, 78), (245, 79), (245, 80), (245, 81), (245, 82), (245, 83), (245, 84), (245, 85), (245, 86), (245, 87), (245, 88), (245, 89), (245, 90), (245, 91), (245, 92), (245, 93), (245, 94), (245, 95), (245, 96), (245, 97), (245, 98), (245, 99), (245, 100), (245, 101), (245, 102), (245, 103), (245, 104), (245, 105), (245, 106), (245, 107), (245, 108), (245, 109), (245, 110), (245, 111), (245, 112), (245, 113), (245, 114), (245, 115), (245, 116), (245, 117), (245, 118), (245, 119), (245, 120), (245, 121), (245, 122), (245, 123), (245, 124), (245, 125), (245, 126), (245, 127), (245, 128), (245, 129), (245, 130), (245, 131), (245, 132), (245, 133), (245, 134), (245, 135), (245, 136), (245, 137), (245, 138), (245, 139), (245, 140), (245, 141), (245, 142),
(245, 143), (245, 144), (245, 145), (245, 146), (245, 147), (245, 148), (245, 149), (245, 150), (245, 151), (245, 152), (245, 153), (245, 154), (245, 155), (245, 156), (245, 157), (245, 158), (245, 159), (245, 160), (245, 161), (245, 162), (245, 163), (245, 164), (245, 165), (245, 166), (245, 167), (245, 168), (245, 169), (245, 170), (245, 171), (245, 172), (245, 173), (245, 174), (245, 175), (245, 176), (245, 177), (245, 178), (245, 179), (245, 180), (245, 181), (245, 182), (245, 183), (245, 184), (245, 185), (245, 186), (245, 187), (245, 188), (245, 189), (245, 190), (245, 191), (245, 192), (245, 193), (245, 194), (245, 195), (245, 196), (245, 197), (245, 198), (245, 199), (245, 201), (246, 72), (246, 74), (246, 75), (246, 76), (246, 77), (246, 78), (246, 79), (246, 80), (246, 81), (246, 82), (246, 83), (246, 84), (246, 85), (246, 86),
(246, 87), (246, 88), (246, 89), (246, 90), (246, 91), (246, 92), (246, 93), (246, 94), (246, 95), (246, 96), (246, 97), (246, 98), (246, 99), (246, 100), (246, 101), (246, 102), (246, 103), (246, 104), (246, 105), (246, 106), (246, 107), (246, 108), (246, 109), (246, 110), (246, 111), (246, 112), (246, 113), (246, 114), (246, 115), (246, 116), (246, 117), (246, 118), (246, 119), (246, 120), (246, 121), (246, 122), (246, 123), (246, 124), (246, 125), (246, 126), (246, 127), (246, 128), (246, 129), (246, 130), (246, 131), (246, 132), (246, 133), (246, 134), (246, 135), (246, 136), (246, 137), (246, 138), (246, 139), (246, 140), (246, 141), (246, 142), (246, 143), (246, 144), (246, 145), (246, 146), (246, 147), (246, 148), (246, 149), (246, 150), (246, 151), (246, 152), (246, 153), (246, 154), (246, 155), (246, 156), (246, 157), (246, 158),
(246, 159), (246, 160), (246, 161), (246, 162), (246, 163), (246, 164), (246, 165), (246, 166), (246, 167), (246, 168), (246, 169), (246, 170), (246, 171), (246, 172), (246, 173), (246, 174), (246, 175), (246, 176), (246, 177), (246, 178), (246, 179), (246, 180), (246, 181), (246, 182), (246, 183), (246, 184), (246, 185), (246, 186), (246, 187), (246, 188), (246, 189), (246, 190), (246, 191), (246, 192), (246, 193), (246, 194), (246, 195), (246, 196), (246, 197), (246, 198), (246, 199), (246, 200), (246, 202), (247, 72), (247, 74), (247, 75), (247, 76), (247, 77), (247, 78), (247, 79), (247, 80), (247, 81), (247, 82), (247, 83), (247, 84), (247, 85), (247, 86), (247, 87), (247, 88), (247, 89), (247, 90), (247, 91), (247, 92), (247, 93), (247, 94), (247, 95), (247, 96), (247, 97), (247, 98), (247, 99), (247, 100), (247, 101),
(247, 102), (247, 103), (247, 104), (247, 105), (247, 106), (247, 107), (247, 108), (247, 109), (247, 110), (247, 111), (247, 112), (247, 113), (247, 114), (247, 115), (247, 116), (247, 117), (247, 118), (247, 119), (247, 120), (247, 121), (247, 122), (247, 123), (247, 124), (247, 125), (247, 126), (247, 127), (247, 128), (247, 129), (247, 130), (247, 131), (247, 132), (247, 133), (247, 134), (247, 135), (247, 136), (247, 137), (247, 138), (247, 139), (247, 140), (247, 141), (247, 142), (247, 143), (247, 144), (247, 145), (247, 146), (247, 147), (247, 148), (247, 149), (247, 150), (247, 151), (247, 152), (247, 153), (247, 154), (247, 155), (247, 156), (247, 157), (247, 158), (247, 159), (247, 160), (247, 161), (247, 162), (247, 163), (247, 164), (247, 165), (247, 166), (247, 167), (247, 168), (247, 169), (247, 170), (247, 171), (247, 172), (247, 173),
(247, 174), (247, 175), (247, 176), (247, 177), (247, 178), (247, 179), (247, 180), (247, 181), (247, 182), (247, 183), (247, 184), (247, 185), (247, 186), (247, 187), (247, 188), (247, 189), (247, 190), (247, 191), (247, 192), (247, 193), (247, 194), (247, 195), (247, 196), (247, 197), (247, 198), (247, 199), (247, 200), (247, 202), (248, 71), (248, 73), (248, 74), (248, 75), (248, 76), (248, 77), (248, 78), (248, 79), (248, 80), (248, 81), (248, 82), (248, 83), (248, 84), (248, 85), (248, 86), (248, 87), (248, 88), (248, 89), (248, 90), (248, 91), (248, 92), (248, 93), (248, 94), (248, 95), (248, 96), (248, 97), (248, 98), (248, 99), (248, 100), (248, 101), (248, 102), (248, 103), (248, 104), (248, 105), (248, 106), (248, 107), (248, 108), (248, 109), (248, 110), (248, 111), (248, 112), (248, 113), (248, 114), (248, 115),
(248, 116), (248, 117), (248, 118), (248, 119), (248, 120), (248, 121), (248, 122), (248, 123), (248, 124), (248, 125), (248, 126), (248, 127), (248, 128), (248, 129), (248, 130), (248, 131), (248, 132), (248, 133), (248, 134), (248, 135), (248, 136), (248, 137), (248, 138), (248, 139), (248, 140), (248, 141), (248, 142), (248, 143), (248, 144), (248, 145), (248, 146), (248, 147), (248, 148), (248, 149), (248, 150), (248, 151), (248, 152), (248, 153), (248, 154), (248, 155), (248, 156), (248, 157), (248, 158), (248, 159), (248, 160), (248, 161), (248, 162), (248, 163), (248, 164), (248, 165), (248, 166), (248, 167), (248, 168), (248, 169), (248, 170), (248, 171), (248, 172), (248, 173), (248, 174), (248, 175), (248, 176), (248, 177), (248, 178), (248, 179), (248, 180), (248, 181), (248, 182), (248, 183), (248, 184), (248, 185), (248, 186), (248, 187),
(248, 188), (248, 189), (248, 190), (248, 191), (248, 192), (248, 193), (248, 194), (248, 195), (248, 196), (248, 197), (248, 198), (248, 199), (248, 200), (248, 202), (249, 71), (249, 73), (249, 74), (249, 75), (249, 76), (249, 77), (249, 78), (249, 79), (249, 80), (249, 81), (249, 82), (249, 83), (249, 84), (249, 85), (249, 86), (249, 87), (249, 88), (249, 89), (249, 90), (249, 91), (249, 92), (249, 93), (249, 94), (249, 95), (249, 96), (249, 97), (249, 98), (249, 99), (249, 100), (249, 101), (249, 102), (249, 103), (249, 104), (249, 105), (249, 106), (249, 107), (249, 108), (249, 109), (249, 110), (249, 111), (249, 112), (249, 113), (249, 114), (249, 115), (249, 116), (249, 117), (249, 118), (249, 119), (249, 120), (249, 121), (249, 122), (249, 123), (249, 124), (249, 125), (249, 126), (249, 127), (249, 128), (249, 129),
(249, 130), (249, 131), (249, 132), (249, 133), (249, 134), (249, 135), (249, 136), (249, 137), (249, 138), (249, 139), (249, 140), (249, 141), (249, 142), (249, 143), (249, 144), (249, 145), (249, 146), (249, 147), (249, 148), (249, 149), (249, 150), (249, 151), (249, 152), (249, 153), (249, 154), (249, 155), (249, 156), (249, 157), (249, 158), (249, 159), (249, 160), (249, 161), (249, 162), (249, 163), (249, 164), (249, 165), (249, 166), (249, 167), (249, 168), (249, 169), (249, 170), (249, 171), (249, 172), (249, 173), (249, 174), (249, 175), (249, 176), (249, 177), (249, 178), (249, 179), (249, 180), (249, 181), (249, 182), (249, 183), (249, 184), (249, 185), (249, 186), (249, 187), (249, 188), (249, 189), (249, 190), (249, 191), (249, 192), (249, 193), (249, 194), (249, 195), (249, 196), (249, 197), (249, 198), (249, 199), (249, 200), (249, 202),
(250, 71), (250, 73), (250, 74), (250, 75), (250, 76), (250, 77), (250, 78), (250, 79), (250, 80), (250, 81), (250, 82), (250, 83), (250, 84), (250, 85), (250, 86), (250, 87), (250, 88), (250, 89), (250, 90), (250, 91), (250, 92), (250, 93), (250, 94), (250, 95), (250, 96), (250, 97), (250, 98), (250, 99), (250, 100), (250, 101), (250, 102), (250, 103), (250, 104), (250, 105), (250, 106), (250, 107), (250, 108), (250, 109), (250, 110), (250, 111), (250, 112), (250, 113), (250, 114), (250, 115), (250, 116), (250, 117), (250, 118), (250, 119), (250, 120), (250, 121), (250, 122), (250, 123), (250, 124), (250, 125), (250, 126), (250, 127), (250, 128), (250, 129), (250, 130), (250, 131), (250, 132), (250, 133), (250, 134), (250, 135), (250, 136), (250, 137), (250, 138), (250, 139), (250, 140), (250, 141), (250, 142), (250, 143),
(250, 144), (250, 145), (250, 146), (250, 147), (250, 148), (250, 149), (250, 150), (250, 151), (250, 152), (250, 153), (250, 154), (250, 155), (250, 156), (250, 157), (250, 158), (250, 159), (250, 160), (250, 161), (250, 162), (250, 163), (250, 164), (250, 165), (250, 166), (250, 167), (250, 168), (250, 169), (250, 170), (250, 171), (250, 172), (250, 173), (250, 174), (250, 175), (250, 176), (250, 177), (250, 178), (250, 179), (250, 180), (250, 181), (250, 182), (250, 183), (250, 184), (250, 185), (250, 186), (250, 187), (250, 188), (250, 189), (250, 190), (250, 191), (250, 192), (250, 193), (250, 194), (250, 195), (250, 196), (250, 197), (250, 198), (250, 199), (250, 200), (250, 202), (251, 71), (251, 73), (251, 74), (251, 75), (251, 76), (251, 77), (251, 78), (251, 79), (251, 80), (251, 81), (251, 82), (251, 83), (251, 84), (251, 85),
(251, 86), (251, 87), (251, 88), (251, 89), (251, 90), (251, 91), (251, 92), (251, 93), (251, 94), (251, 95), (251, 96), (251, 97), (251, 98), (251, 99), (251, 100), (251, 101), (251, 102), (251, 103), (251, 104), (251, 105), (251, 106), (251, 107), (251, 108), (251, 109), (251, 110), (251, 111), (251, 112), (251, 113), (251, 114), (251, 115), (251, 116), (251, 117), (251, 118), (251, 119), (251, 120), (251, 121), (251, 122), (251, 123), (251, 124), (251, 125), (251, 126), (251, 127), (251, 128), (251, 129), (251, 130), (251, 131), (251, 132), (251, 133), (251, 134), (251, 135), (251, 136), (251, 137), (251, 138), (251, 139), (251, 140), (251, 141), (251, 142), (251, 143), (251, 144), (251, 145), (251, 146), (251, 147), (251, 148), (251, 149), (251, 150), (251, 151), (251, 152), (251, 153), (251, 154), (251, 155), (251, 156), (251, 157),
(251, 158), (251, 159), (251, 160), (251, 161), (251, 162), (251, 163), (251, 164), (251, 165), (251, 166), (251, 167), (251, 168), (251, 169), (251, 170), (251, 171), (251, 172), (251, 173), (251, 174), (251, 175), (251, 176), (251, 177), (251, 178), (251, 179), (251, 180), (251, 181), (251, 182), (251, 183), (251, 184), (251, 185), (251, 186), (251, 187), (251, 188), (251, 189), (251, 190), (251, 191), (251, 192), (251, 193), (251, 194), (251, 195), (251, 196), (251, 197), (251, 198), (251, 199), (251, 200), (251, 202), (252, 70), (252, 71), (252, 72), (252, 73), (252, 74), (252, 75), (252, 76), (252, 77), (252, 78), (252, 79), (252, 80), (252, 81), (252, 82), (252, 83), (252, 84), (252, 85), (252, 86), (252, 87), (252, 88), (252, 89), (252, 90), (252, 91), (252, 92), (252, 93), (252, 94), (252, 95), (252, 96), (252, 97),
(252, 98), (252, 99), (252, 100), (252, 101), (252, 102), (252, 103), (252, 104), (252, 105), (252, 106), (252, 107), (252, 108), (252, 109), (252, 110), (252, 111), (252, 112), (252, 113), (252, 114), (252, 115), (252, 116), (252, 117), (252, 118), (252, 119), (252, 120), (252, 121), (252, 122), (252, 123), (252, 124), (252, 125), (252, 126), (252, 127), (252, 128), (252, 129), (252, 130), (252, 131), (252, 132), (252, 133), (252, 134), (252, 135), (252, 136), (252, 137), (252, 138), (252, 139), (252, 140), (252, 141), (252, 142), (252, 143), (252, 144), (252, 145), (252, 146), (252, 147), (252, 148), (252, 149), (252, 150), (252, 151), (252, 152), (252, 153), (252, 154), (252, 155), (252, 156), (252, 157), (252, 158), (252, 159), (252, 160), (252, 161), (252, 162), (252, 163), (252, 164), (252, 165), (252, 166), (252, 167), (252, 168), (252, 169),
(252, 170), (252, 171), (252, 172), (252, 173), (252, 174), (252, 175), (252, 176), (252, 177), (252, 178), (252, 179), (252, 180), (252, 181), (252, 182), (252, 183), (252, 184), (252, 185), (252, 186), (252, 187), (252, 188), (252, 189), (252, 190), (252, 191), (252, 192), (252, 193), (252, 194), (252, 195), (252, 196), (252, 197), (252, 198), (252, 199), (252, 200), (252, 202), (253, 70), (253, 72), (253, 73), (253, 74), (253, 75), (253, 76), (253, 77), (253, 78), (253, 79), (253, 80), (253, 81), (253, 82), (253, 83), (253, 84), (253, 85), (253, 86), (253, 87), (253, 88), (253, 89), (253, 90), (253, 91), (253, 92), (253, 93), (253, 94), (253, 95), (253, 96), (253, 97), (253, 98), (253, 99), (253, 100), (253, 101), (253, 102), (253, 103), (253, 104), (253, 105), (253, 106), (253, 107), (253, 108), (253, 109), (253, 110),
(253, 111), (253, 112), (253, 113), (253, 114), (253, 115), (253, 116), (253, 117), (253, 118), (253, 119), (253, 120), (253, 121), (253, 122), (253, 123), (253, 124), (253, 125), (253, 126), (253, 127), (253, 128), (253, 129), (253, 130), (253, 131), (253, 132), (253, 133), (253, 134), (253, 135), (253, 136), (253, 137), (253, 138), (253, 139), (253, 140), (253, 141), (253, 142), (253, 143), (253, 144), (253, 145), (253, 146), (253, 147), (253, 148), (253, 149), (253, 150), (253, 151), (253, 152), (253, 153), (253, 154), (253, 155), (253, 156), (253, 157), (253, 158), (253, 159), (253, 160), (253, 161), (253, 162), (253, 163), (253, 164), (253, 165), (253, 166), (253, 167), (253, 168), (253, 169), (253, 170), (253, 171), (253, 172), (253, 173), (253, 174), (253, 175), (253, 176), (253, 177), (253, 178), (253, 179), (253, 180), (253, 181), (253, 182),
(253, 183), (253, 184), (253, 185), (253, 186), (253, 187), (253, 188), (253, 189), (253, 190), (253, 191), (253, 192), (253, 193), (253, 194), (253, 195), (253, 196), (253, 197), (253, 198), (253, 199), (253, 200), (253, 202), (254, 70), (254, 72), (254, 73), (254, 74), (254, 75), (254, 76), (254, 77), (254, 78), (254, 79), (254, 80), (254, 81), (254, 82), (254, 83), (254, 84), (254, 85), (254, 86), (254, 87), (254, 88), (254, 89), (254, 90), (254, 91), (254, 92), (254, 93), (254, 94), (254, 95), (254, 96), (254, 97), (254, 98), (254, 99), (254, 100), (254, 101), (254, 102), (254, 103), (254, 104), (254, 105), (254, 106), (254, 107), (254, 108), (254, 109), (254, 110), (254, 111), (254, 112), (254, 113), (254, 114), (254, 115), (254, 116), (254, 117), (254, 118), (254, 119), (254, 120), (254, 121), (254, 122), (254, 123),
(254, 124), (254, 125), (254, 126), (254, 127), (254, 128), (254, 129), (254, 130), (254, 131), (254, 132), (254, 133), (254, 134), (254, 135), (254, 136), (254, 137), (254, 138), (254, 139), (254, 140), (254, 141), (254, 142), (254, 143), (254, 144), (254, 145), (254, 146), (254, 147), (254, 148), (254, 149), (254, 150), (254, 151), (254, 152), (254, 153), (254, 154), (254, 155), (254, 156), (254, 157), (254, 158), (254, 159), (254, 160), (254, 161), (254, 162), (254, 163), (254, 164), (254, 165), (254, 166), (254, 167), (254, 168), (254, 169), (254, 170), (254, 171), (254, 172), (254, 173), (254, 174), (254, 175), (254, 176), (254, 177), (254, 178), (254, 179), (254, 180), (254, 181), (254, 182), (254, 183), (254, 184), (254, 185), (254, 186), (254, 187), (254, 188), (254, 189), (254, 190), (254, 191), (254, 192), (254, 193), (254, 194), (254, 195),
(254, 196), (254, 197), (254, 198), (254, 199), (254, 200), (254, 202), (255, 70), (255, 72), (255, 73), (255, 74), (255, 75), (255, 76), (255, 77), (255, 78), (255, 79), (255, 80), (255, 81), (255, 82), (255, 83), (255, 84), (255, 85), (255, 86), (255, 87), (255, 88), (255, 89), (255, 90), (255, 91), (255, 92), (255, 93), (255, 94), (255, 95), (255, 96), (255, 97), (255, 98), (255, 99), (255, 100), (255, 101), (255, 102), (255, 103), (255, 104), (255, 105), (255, 106), (255, 107), (255, 108), (255, 109), (255, 110), (255, 111), (255, 112), (255, 113), (255, 114), (255, 115), (255, 116), (255, 117), (255, 118), (255, 119), (255, 120), (255, 121), (255, 122), (255, 123), (255, 124), (255, 125), (255, 126), (255, 127), (255, 128), (255, 129), (255, 130), (255, 131), (255, 132), (255, 133), (255, 134), (255, 135), (255, 136),
(255, 137), (255, 138), (255, 139), (255, 140), (255, 141), (255, 142), (255, 143), (255, 144), (255, 145), (255, 146), (255, 147), (255, 148), (255, 149), (255, 150), (255, 151), (255, 152), (255, 153), (255, 154), (255, 155), (255, 156), (255, 157), (255, 158), (255, 159), (255, 160), (255, 161), (255, 162), (255, 163), (255, 164), (255, 165), (255, 166), (255, 167), (255, 168), (255, 169), (255, 170), (255, 171), (255, 172), (255, 173), (255, 174), (255, 175), (255, 176), (255, 177), (255, 178), (255, 179), (255, 180), (255, 181), (255, 182), (255, 183), (255, 184), (255, 185), (255, 186), (255, 187), (255, 188), (255, 189), (255, 190), (255, 191), (255, 192), (255, 193), (255, 194), (255, 195), (255, 196), (255, 197), (255, 198), (255, 199), (255, 200), (255, 202), (256, 70), (256, 72), (256, 73), (256, 74), (256, 75), (256, 76), (256, 77),
(256, 78), (256, 79), (256, 80), (256, 81), (256, 82), (256, 83), (256, 84), (256, 85), (256, 86), (256, 87), (256, 88), (256, 89), (256, 90), (256, 91), (256, 92), (256, 93), (256, 94), (256, 95), (256, 96), (256, 97), (256, 98), (256, 99), (256, 100), (256, 101), (256, 102), (256, 103), (256, 104), (256, 105), (256, 106), (256, 107), (256, 108), (256, 109), (256, 110), (256, 111), (256, 112), (256, 113), (256, 114), (256, 115), (256, 116), (256, 117), (256, 118), (256, 119), (256, 120), (256, 121), (256, 122), (256, 123), (256, 124), (256, 125), (256, 126), (256, 127), (256, 128), (256, 129), (256, 130), (256, 131), (256, 132), (256, 133), (256, 134), (256, 135), (256, 136), (256, 137), (256, 138), (256, 139), (256, 140), (256, 141), (256, 142), (256, 143), (256, 144), (256, 145), (256, 146), (256, 147), (256, 148), (256, 149),
(256, 150), (256, 151), (256, 152), (256, 153), (256, 154), (256, 155), (256, 156), (256, 157), (256, 158), (256, 159), (256, 160), (256, 161), (256, 162), (256, 163), (256, 164), (256, 165), (256, 166), (256, 167), (256, 168), (256, 169), (256, 170), (256, 171), (256, 172), (256, 173), (256, 174), (256, 175), (256, 176), (256, 177), (256, 178), (256, 179), (256, 180), (256, 181), (256, 182), (256, 183), (256, 184), (256, 185), (256, 186), (256, 187), (256, 188), (256, 189), (256, 190), (256, 191), (256, 192), (256, 193), (256, 194), (256, 195), (256, 196), (256, 197), (256, 198), (256, 199), (256, 201), (257, 69), (257, 70), (257, 71), (257, 72), (257, 73), (257, 74), (257, 75), (257, 76), (257, 77), (257, 78), (257, 79), (257, 80), (257, 81), (257, 82), (257, 83), (257, 84), (257, 85), (257, 86), (257, 87), (257, 88), (257, 89),
(257, 90), (257, 91), (257, 92), (257, 93), (257, 94), (257, 95), (257, 96), (257, 97), (257, 98), (257, 99), (257, 100), (257, 101), (257, 102), (257, 103), (257, 104), (257, 105), (257, 106), (257, 107), (257, 108), (257, 109), (257, 110), (257, 111), (257, 112), (257, 113), (257, 114), (257, 115), (257, 116), (257, 117), (257, 118), (257, 119), (257, 120), (257, 121), (257, 122), (257, 123), (257, 124), (257, 125), (257, 126), (257, 127), (257, 128), (257, 129), (257, 130), (257, 131), (257, 132), (257, 133), (257, 134), (257, 135), (257, 136), (257, 137), (257, 138), (257, 139), (257, 140), (257, 141), (257, 142), (257, 143), (257, 144), (257, 145), (257, 146), (257, 147), (257, 148), (257, 149), (257, 150), (257, 151), (257, 152), (257, 153), (257, 154), (257, 155), (257, 156), (257, 157), (257, 158), (257, 159), (257, 160), (257, 161),
(257, 162), (257, 163), (257, 164), (257, 165), (257, 166), (257, 167), (257, 168), (257, 169), (257, 170), (257, 171), (257, 172), (257, 173), (257, 174), (257, 175), (257, 176), (257, 177), (257, 178), (257, 179), (257, 180), (257, 181), (257, 182), (257, 183), (257, 184), (257, 185), (257, 186), (257, 187), (257, 188), (257, 189), (257, 190), (257, 191), (257, 192), (257, 193), (257, 194), (257, 195), (257, 196), (257, 197), (257, 198), (257, 199), (257, 201), (258, 69), (258, 71), (258, 72), (258, 73), (258, 74), (258, 75), (258, 76), (258, 77), (258, 78), (258, 79), (258, 80), (258, 81), (258, 82), (258, 83), (258, 84), (258, 85), (258, 86), (258, 87), (258, 88), (258, 89), (258, 90), (258, 91), (258, 92), (258, 93), (258, 94), (258, 95), (258, 96), (258, 97), (258, 98), (258, 99), (258, 100), (258, 101), (258, 102),
(258, 103), (258, 104), (258, 105), (258, 106), (258, 107), (258, 108), (258, 109), (258, 110), (258, 111), (258, 112), (258, 113), (258, 114), (258, 115), (258, 116), (258, 117), (258, 118), (258, 119), (258, 120), (258, 121), (258, 122), (258, 123), (258, 124), (258, 125), (258, 126), (258, 127), (258, 128), (258, 129), (258, 130), (258, 131), (258, 132), (258, 133), (258, 134), (258, 135), (258, 136), (258, 137), (258, 138), (258, 139), (258, 140), (258, 141), (258, 142), (258, 143), (258, 144), (258, 145), (258, 146), (258, 147), (258, 148), (258, 149), (258, 150), (258, 151), (258, 152), (258, 153), (258, 154), (258, 155), (258, 156), (258, 157), (258, 158), (258, 159), (258, 160), (258, 161), (258, 162), (258, 163), (258, 164), (258, 165), (258, 166), (258, 167), (258, 168), (258, 169), (258, 170), (258, 171), (258, 172), (258, 173), (258, 174),
(258, 175), (258, 176), (258, 177), (258, 178), (258, 179), (258, 180), (258, 181), (258, 182), (258, 183), (258, 184), (258, 185), (258, 186), (258, 187), (258, 188), (258, 189), (258, 190), (258, 191), (258, 192), (258, 193), (258, 194), (258, 195), (258, 196), (258, 197), (258, 198), (258, 199), (258, 201), (259, 69), (259, 71), (259, 72), (259, 73), (259, 74), (259, 75), (259, 76), (259, 77), (259, 78), (259, 79), (259, 80), (259, 81), (259, 82), (259, 83), (259, 84), (259, 85), (259, 86), (259, 87), (259, 88), (259, 89), (259, 90), (259, 91), (259, 92), (259, 93), (259, 94), (259, 95), (259, 96), (259, 97), (259, 98), (259, 99), (259, 100), (259, 101), (259, 102), (259, 103), (259, 104), (259, 105), (259, 106), (259, 107), (259, 108), (259, 109), (259, 110), (259, 111), (259, 112), (259, 113), (259, 114), (259, 115),
(259, 116), (259, 117), (259, 118), (259, 119), (259, 120), (259, 121), (259, 122), (259, 123), (259, 124), (259, 125), (259, 126), (259, 127), (259, 128), (259, 129), (259, 130), (259, 131), (259, 132), (259, 133), (259, 134), (259, 135), (259, 136), (259, 137), (259, 138), (259, 139), (259, 140), (259, 141), (259, 142), (259, 143), (259, 144), (259, 145), (259, 146), (259, 147), (259, 148), (259, 149), (259, 150), (259, 151), (259, 152), (259, 153), (259, 154), (259, 155), (259, 156), (259, 157), (259, 158), (259, 159), (259, 160), (259, 161), (259, 162), (259, 163), (259, 164), (259, 165), (259, 166), (259, 167), (259, 168), (259, 169), (259, 170), (259, 171), (259, 172), (259, 173), (259, 174), (259, 175), (259, 176), (259, 177), (259, 178), (259, 179), (259, 180), (259, 181), (259, 182), (259, 183), (259, 184), (259, 185), (259, 186), (259, 187),
(259, 188), (259, 189), (259, 190), (259, 191), (259, 192), (259, 193), (259, 194), (259, 195), (259, 196), (259, 197), (259, 198), (259, 199), (259, 201), (260, 69), (260, 71), (260, 72), (260, 73), (260, 74), (260, 75), (260, 76), (260, 77), (260, 78), (260, 79), (260, 80), (260, 81), (260, 82), (260, 83), (260, 84), (260, 85), (260, 86), (260, 87), (260, 88), (260, 89), (260, 90), (260, 91), (260, 92), (260, 93), (260, 94), (260, 95), (260, 96), (260, 97), (260, 98), (260, 99), (260, 100), (260, 101), (260, 102), (260, 103), (260, 104), (260, 105), (260, 106), (260, 107), (260, 108), (260, 109), (260, 110), (260, 111), (260, 112), (260, 113), (260, 114), (260, 115), (260, 116), (260, 117), (260, 118), (260, 119), (260, 120), (260, 121), (260, 122), (260, 123), (260, 124), (260, 125), (260, 126), (260, 127), (260, 128),
(260, 129), (260, 130), (260, 131), (260, 132), (260, 133), (260, 134), (260, 135), (260, 136), (260, 137), (260, 138), (260, 139), (260, 140), (260, 141), (260, 142), (260, 143), (260, 144), (260, 145), (260, 146), (260, 147), (260, 148), (260, 149), (260, 150), (260, 151), (260, 152), (260, 153), (260, 154), (260, 155), (260, 156), (260, 157), (260, 158), (260, 159), (260, 160), (260, 161), (260, 162), (260, 163), (260, 164), (260, 165), (260, 166), (260, 167), (260, 168), (260, 169), (260, 170), (260, 171), (260, 172), (260, 173), (260, 174), (260, 175), (260, 176), (260, 177), (260, 178), (260, 179), (260, 180), (260, 181), (260, 182), (260, 183), (260, 184), (260, 185), (260, 186), (260, 187), (260, 188), (260, 189), (260, 190), (260, 191), (260, 192), (260, 193), (260, 194), (260, 195), (260, 196), (260, 197), (260, 198), (260, 199), (260, 201),
(261, 69), (261, 71), (261, 72), (261, 73), (261, 74), (261, 75), (261, 76), (261, 77), (261, 78), (261, 79), (261, 80), (261, 81), (261, 82), (261, 83), (261, 84), (261, 85), (261, 86), (261, 87), (261, 88), (261, 89), (261, 90), (261, 91), (261, 92), (261, 93), (261, 94), (261, 95), (261, 96), (261, 97), (261, 98), (261, 99), (261, 100), (261, 101), (261, 102), (261, 103), (261, 104), (261, 105), (261, 106), (261, 107), (261, 108), (261, 109), (261, 110), (261, 111), (261, 112), (261, 113), (261, 114), (261, 115), (261, 116), (261, 117), (261, 118), (261, 119), (261, 120), (261, 121), (261, 122), (261, 123), (261, 124), (261, 125), (261, 126), (261, 127), (261, 128), (261, 129), (261, 130), (261, 131), (261, 132), (261, 133), (261, 134), (261, 135), (261, 136), (261, 137), (261, 138), (261, 139), (261, 140), (261, 141),
(261, 142), (261, 143), (261, 144), (261, 145), (261, 146), (261, 147), (261, 148), (261, 149), (261, 150), (261, 151), (261, 152), (261, 153), (261, 154), (261, 155), (261, 156), (261, 157), (261, 158), (261, 159), (261, 160), (261, 161), (261, 162), (261, 163), (261, 164), (261, 165), (261, 166), (261, 167), (261, 168), (261, 169), (261, 170), (261, 171), (261, 172), (261, 173), (261, 174), (261, 175), (261, 176), (261, 177), (261, 178), (261, 179), (261, 180), (261, 181), (261, 182), (261, 183), (261, 184), (261, 185), (261, 186), (261, 187), (261, 188), (261, 189), (261, 190), (261, 191), (261, 192), (261, 193), (261, 194), (261, 195), (261, 196), (261, 197), (261, 198), (261, 199), (261, 201), (262, 69), (262, 71), (262, 72), (262, 73), (262, 74), (262, 75), (262, 76), (262, 77), (262, 78), (262, 79), (262, 80), (262, 81), (262, 82),
(262, 83), (262, 84), (262, 85), (262, 86), (262, 87), (262, 88), (262, 89), (262, 90), (262, 91), (262, 92), (262, 93), (262, 94), (262, 95), (262, 96), (262, 97), (262, 98), (262, 99), (262, 100), (262, 101), (262, 102), (262, 103), (262, 104), (262, 105), (262, 106), (262, 107), (262, 108), (262, 109), (262, 110), (262, 111), (262, 112), (262, 113), (262, 114), (262, 115), (262, 116), (262, 117), (262, 118), (262, 119), (262, 120), (262, 121), (262, 122), (262, 123), (262, 124), (262, 125), (262, 126), (262, 127), (262, 128), (262, 129), (262, 130), (262, 131), (262, 132), (262, 133), (262, 134), (262, 135), (262, 136), (262, 137), (262, 138), (262, 139), (262, 140), (262, 141), (262, 142), (262, 143), (262, 144), (262, 145), (262, 146), (262, 147), (262, 148), (262, 149), (262, 150), (262, 151), (262, 152), (262, 153), (262, 154),
(262, 155), (262, 156), (262, 157), (262, 158), (262, 159), (262, 160), (262, 161), (262, 162), (262, 163), (262, 164), (262, 165), (262, 166), (262, 167), (262, 168), (262, 169), (262, 170), (262, 171), (262, 172), (262, 173), (262, 174), (262, 175), (262, 176), (262, 177), (262, 178), (262, 179), (262, 180), (262, 181), (262, 182), (262, 183), (262, 184), (262, 185), (262, 186), (262, 187), (262, 188), (262, 189), (262, 190), (262, 191), (262, 192), (262, 193), (262, 194), (262, 195), (262, 196), (262, 197), (262, 198), (262, 199), (262, 201), (263, 69), (263, 71), (263, 72), (263, 73), (263, 74), (263, 75), (263, 76), (263, 77), (263, 78), (263, 79), (263, 80), (263, 81), (263, 82), (263, 83), (263, 84), (263, 85), (263, 86), (263, 87), (263, 88), (263, 89), (263, 90), (263, 91), (263, 92), (263, 93), (263, 94), (263, 95),
(263, 96), (263, 97), (263, 98), (263, 99), (263, 100), (263, 101), (263, 102), (263, 103), (263, 104), (263, 105), (263, 106), (263, 107), (263, 108), (263, 109), (263, 110), (263, 111), (263, 112), (263, 113), (263, 114), (263, 115), (263, 116), (263, 117), (263, 118), (263, 119), (263, 120), (263, 121), (263, 122), (263, 123), (263, 124), (263, 125), (263, 126), (263, 127), (263, 128), (263, 129), (263, 130), (263, 131), (263, 132), (263, 133), (263, 134), (263, 135), (263, 136), (263, 137), (263, 138), (263, 139), (263, 140), (263, 141), (263, 142), (263, 143), (263, 144), (263, 145), (263, 146), (263, 147), (263, 148), (263, 149), (263, 150), (263, 151), (263, 152), (263, 153), (263, 154), (263, 155), (263, 156), (263, 157), (263, 158), (263, 159), (263, 160), (263, 161), (263, 162), (263, 163), (263, 164), (263, 165), (263, 166), (263, 167),
(263, 168), (263, 169), (263, 170), (263, 171), (263, 172), (263, 173), (263, 174), (263, 175), (263, 176), (263, 177), (263, 178), (263, 179), (263, 180), (263, 181), (263, 182), (263, 183), (263, 184), (263, 185), (263, 186), (263, 187), (263, 188), (263, 189), (263, 190), (263, 191), (263, 192), (263, 193), (263, 194), (263, 195), (263, 196), (263, 197), (263, 198), (263, 199), (263, 201), (264, 69), (264, 71), (264, 72), (264, 73), (264, 74), (264, 75), (264, 76), (264, 77), (264, 78), (264, 79), (264, 80), (264, 81), (264, 82), (264, 83), (264, 84), (264, 85), (264, 86), (264, 87), (264, 88), (264, 89), (264, 90), (264, 91), (264, 92), (264, 93), (264, 94), (264, 95), (264, 96), (264, 97), (264, 98), (264, 99), (264, 100), (264, 101), (264, 102), (264, 103), (264, 104), (264, 105), (264, 106), (264, 107), (264, 108),
(264, 109), (264, 110), (264, 111), (264, 112), (264, 113), (264, 114), (264, 115), (264, 116), (264, 117), (264, 118), (264, 119), (264, 120), (264, 121), (264, 122), (264, 123), (264, 124), (264, 125), (264, 126), (264, 127), (264, 128), (264, 129), (264, 130), (264, 131), (264, 132), (264, 133), (264, 134), (264, 135), (264, 136), (264, 137), (264, 138), (264, 139), (264, 140), (264, 141), (264, 142), (264, 143), (264, 144), (264, 145), (264, 146), (264, 147), (264, 148), (264, 149), (264, 150), (264, 151), (264, 152), (264, 153), (264, 154), (264, 155), (264, 156), (264, 157), (264, 158), (264, 159), (264, 160), (264, 161), (264, 162), (264, 163), (264, 164), (264, 165), (264, 166), (264, 167), (264, 168), (264, 169), (264, 170), (264, 171), (264, 172), (264, 173), (264, 174), (264, 175), (264, 176), (264, 177), (264, 178), (264, 179), (264, 180),
(264, 181), (264, 182), (264, 183), (264, 184), (264, 185), (264, 186), (264, 187), (264, 188), (264, 189), (264, 190), (264, 191), (264, 192), (264, 193), (264, 194), (264, 195), (264, 196), (264, 197), (264, 198), (264, 199), (264, 201), (265, 69), (265, 71), (265, 72), (265, 73), (265, 74), (265, 75), (265, 76), (265, 77), (265, 78), (265, 79), (265, 80), (265, 81), (265, 82), (265, 83), (265, 84), (265, 85), (265, 86), (265, 87), (265, 88), (265, 89), (265, 90), (265, 91), (265, 92), (265, 93), (265, 94), (265, 95), (265, 96), (265, 97), (265, 98), (265, 99), (265, 100), (265, 101), (265, 102), (265, 103), (265, 104), (265, 105), (265, 106), (265, 107), (265, 108), (265, 109), (265, 110), (265, 111), (265, 112), (265, 113), (265, 114), (265, 115), (265, 116), (265, 117), (265, 118), (265, 119), (265, 120), (265, 121),
(265, 122), (265, 123), (265, 124), (265, 125), (265, 126), (265, 127), (265, 128), (265, 129), (265, 130), (265, 131), (265, 132), (265, 133), (265, 134), (265, 135), (265, 136), (265, 137), (265, 138), (265, 139), (265, 140), (265, 141), (265, 142), (265, 143), (265, 144), (265, 145), (265, 146), (265, 147), (265, 148), (265, 149), (265, 150), (265, 151), (265, 152), (265, 153), (265, 154), (265, 155), (265, 156), (265, 157), (265, 158), (265, 159), (265, 160), (265, 161), (265, 162), (265, 163), (265, 164), (265, 165), (265, 166), (265, 167), (265, 168), (265, 169), (265, 170), (265, 171), (265, 172), (265, 173), (265, 174), (265, 175), (265, 176), (265, 177), (265, 178), (265, 179), (265, 180), (265, 181), (265, 182), (265, 183), (265, 184), (265, 185), (265, 186), (265, 187), (265, 188), (265, 189), (265, 190), (265, 191), (265, 192), (265, 193),
(265, 194), (265, 195), (265, 196), (265, 197), (265, 198), (265, 199), (265, 201), (266, 70), (266, 72), (266, 73), (266, 74), (266, 75), (266, 76), (266, 77), (266, 78), (266, 79), (266, 80), (266, 81), (266, 82), (266, 83), (266, 84), (266, 85), (266, 86), (266, 87), (266, 88), (266, 89), (266, 90), (266, 91), (266, 92), (266, 93), (266, 94), (266, 95), (266, 96), (266, 97), (266, 98), (266, 99), (266, 100), (266, 101), (266, 102), (266, 103), (266, 104), (266, 105), (266, 106), (266, 107), (266, 108), (266, 109), (266, 110), (266, 111), (266, 112), (266, 113), (266, 114), (266, 115), (266, 116), (266, 117), (266, 118), (266, 119), (266, 120), (266, 121), (266, 122), (266, 123), (266, 124), (266, 125), (266, 126), (266, 127), (266, 128), (266, 129), (266, 130), (266, 131), (266, 132), (266, 133), (266, 134), (266, 135),
(266, 136), (266, 137), (266, 138), (266, 139), (266, 140), (266, 141), (266, 142), (266, 143), (266, 144), (266, 145), (266, 146), (266, 147), (266, 148), (266, 149), (266, 150), (266, 151), (266, 152), (266, 153), (266, 154), (266, 155), (266, 156), (266, 157), (266, 158), (266, 159), (266, 160), (266, 161), (266, 162), (266, 163), (266, 164), (266, 165), (266, 166), (266, 167), (266, 168), (266, 169), (266, 170), (266, 171), (266, 172), (266, 173), (266, 174), (266, 175), (266, 176), (266, 177), (266, 178), (266, 179), (266, 180), (266, 181), (266, 182), (266, 183), (266, 184), (266, 185), (266, 186), (266, 187), (266, 188), (266, 189), (266, 190), (266, 191), (266, 192), (266, 193), (266, 194), (266, 195), (266, 196), (266, 197), (266, 198), (266, 199), (266, 201), (267, 70), (267, 72), (267, 73), (267, 74), (267, 75), (267, 76), (267, 77),
(267, 78), (267, 79), (267, 80), (267, 81), (267, 82), (267, 83), (267, 84), (267, 85), (267, 86), (267, 87), (267, 88), (267, 89), (267, 90), (267, 91), (267, 92), (267, 93), (267, 94), (267, 95), (267, 96), (267, 97), (267, 98), (267, 99), (267, 100), (267, 101), (267, 102), (267, 103), (267, 104), (267, 105), (267, 106), (267, 107), (267, 108), (267, 109), (267, 110), (267, 111), (267, 112), (267, 113), (267, 114), (267, 115), (267, 116), (267, 117), (267, 118), (267, 119), (267, 120), (267, 121), (267, 122), (267, 123), (267, 124), (267, 125), (267, 126), (267, 127), (267, 128), (267, 129), (267, 130), (267, 131), (267, 132), (267, 133), (267, 134), (267, 135), (267, 136), (267, 137), (267, 138), (267, 139), (267, 140), (267, 141), (267, 142), (267, 143), (267, 144), (267, 145), (267, 146), (267, 147), (267, 148), (267, 149),
(267, 150), (267, 151), (267, 152), (267, 153), (267, 154), (267, 155), (267, 156), (267, 157), (267, 158), (267, 159), (267, 160), (267, 161), (267, 162), (267, 163), (267, 164), (267, 165), (267, 166), (267, 167), (267, 168), (267, 169), (267, 170), (267, 171), (267, 172), (267, 173), (267, 174), (267, 175), (267, 176), (267, 177), (267, 178), (267, 179), (267, 180), (267, 181), (267, 182), (267, 183), (267, 184), (267, 185), (267, 186), (267, 187), (267, 188), (267, 189), (267, 190), (267, 191), (267, 192), (267, 193), (267, 194), (267, 195), (267, 196), (267, 197), (267, 198), (267, 200), (268, 70), (268, 72), (268, 73), (268, 74), (268, 75), (268, 76), (268, 77), (268, 78), (268, 79), (268, 80), (268, 81), (268, 82), (268, 83), (268, 84), (268, 85), (268, 86), (268, 87), (268, 88), (268, 89), (268, 90), (268, 91), (268, 92),
(268, 93), (268, 94), (268, 95), (268, 96), (268, 97), (268, 98), (268, 99), (268, 100), (268, 101), (268, 102), (268, 103), (268, 104), (268, 105), (268, 106), (268, 107), (268, 108), (268, 109), (268, 110), (268, 111), (268, 112), (268, 113), (268, 114), (268, 115), (268, 116), (268, 117), (268, 118), (268, 119), (268, 120), (268, 121), (268, 122), (268, 123), (268, 124), (268, 125), (268, 126), (268, 127), (268, 128), (268, 129), (268, 130), (268, 131), (268, 132), (268, 133), (268, 134), (268, 135), (268, 136), (268, 137), (268, 138), (268, 139), (268, 140), (268, 141), (268, 142), (268, 143), (268, 144), (268, 145), (268, 146), (268, 147), (268, 148), (268, 149), (268, 150), (268, 151), (268, 152), (268, 153), (268, 154), (268, 155), (268, 156), (268, 157), (268, 158), (268, 159), (268, 160), (268, 161), (268, 162), (268, 163), (268, 164),
(268, 165), (268, 166), (268, 167), (268, 168), (268, 169), (268, 170), (268, 171), (268, 172), (268, 173), (268, 174), (268, 175), (268, 176), (268, 177), (268, 178), (268, 179), (268, 180), (268, 181), (268, 182), (268, 183), (268, 184), (268, 185), (268, 186), (268, 187), (268, 188), (268, 189), (268, 190), (268, 191), (268, 192), (268, 193), (268, 194), (268, 195), (268, 196), (268, 197), (268, 198), (268, 200), (269, 70), (269, 72), (269, 73), (269, 74), (269, 75), (269, 76), (269, 77), (269, 78), (269, 79), (269, 80), (269, 81), (269, 82), (269, 83), (269, 84), (269, 85), (269, 86), (269, 87), (269, 88), (269, 89), (269, 90), (269, 91), (269, 92), (269, 93), (269, 94), (269, 95), (269, 96), (269, 97), (269, 98), (269, 99), (269, 100), (269, 101), (269, 102), (269, 103), (269, 104), (269, 105), (269, 106), (269, 107),
(269, 108), (269, 109), (269, 110), (269, 111), (269, 112), (269, 113), (269, 114), (269, 115), (269, 116), (269, 117), (269, 118), (269, 119), (269, 120), (269, 121), (269, 122), (269, 123), (269, 124), (269, 125), (269, 126), (269, 127), (269, 128), (269, 129), (269, 130), (269, 131), (269, 132), (269, 133), (269, 134), (269, 135), (269, 136), (269, 137), (269, 138), (269, 139), (269, 140), (269, 141), (269, 142), (269, 143), (269, 144), (269, 145), (269, 146), (269, 147), (269, 148), (269, 149), (269, 150), (269, 151), (269, 152), (269, 153), (269, 154), (269, 155), (269, 156), (269, 157), (269, 158), (269, 159), (269, 160), (269, 161), (269, 162), (269, 163), (269, 164), (269, 165), (269, 166), (269, 167), (269, 168), (269, 169), (269, 170), (269, 171), (269, 172), (269, 173), (269, 174), (269, 175), (269, 176), (269, 177), (269, 178), (269, 179),
(269, 180), (269, 181), (269, 182), (269, 183), (269, 184), (269, 185), (269, 186), (269, 187), (269, 188), (269, 189), (269, 190), (269, 191), (269, 192), (269, 193), (269, 194), (269, 195), (269, 196), (269, 197), (269, 198), (269, 200), (270, 71), (270, 73), (270, 74), (270, 75), (270, 76), (270, 77), (270, 78), (270, 79), (270, 80), (270, 81), (270, 82), (270, 83), (270, 84), (270, 85), (270, 86), (270, 87), (270, 88), (270, 89), (270, 90), (270, 91), (270, 92), (270, 93), (270, 94), (270, 95), (270, 96), (270, 97), (270, 98), (270, 99), (270, 100), (270, 101), (270, 102), (270, 103), (270, 104), (270, 105), (270, 106), (270, 107), (270, 108), (270, 109), (270, 110), (270, 111), (270, 112), (270, 113), (270, 114), (270, 115), (270, 116), (270, 117), (270, 118), (270, 119), (270, 120), (270, 121), (270, 122), (270, 123),
(270, 124), (270, 125), (270, 126), (270, 127), (270, 128), (270, 129), (270, 130), (270, 131), (270, 132), (270, 133), (270, 134), (270, 135), (270, 136), (270, 137), (270, 138), (270, 139), (270, 140), (270, 141), (270, 142), (270, 143), (270, 144), (270, 145), (270, 146), (270, 147), (270, 148), (270, 149), (270, 150), (270, 151), (270, 152), (270, 153), (270, 154), (270, 155), (270, 156), (270, 157), (270, 158), (270, 159), (270, 160), (270, 161), (270, 162), (270, 163), (270, 164), (270, 165), (270, 166), (270, 167), (270, 168), (270, 169), (270, 170), (270, 171), (270, 172), (270, 173), (270, 174), (270, 175), (270, 176), (270, 177), (270, 178), (270, 179), (270, 180), (270, 181), (270, 182), (270, 183), (270, 184), (270, 185), (270, 186), (270, 187), (270, 188), (270, 189), (270, 190), (270, 191), (270, 192), (270, 193), (270, 194), (270, 195),
(270, 196), (270, 197), (270, 198), (270, 200), (271, 71), (271, 73), (271, 74), (271, 75), (271, 76), (271, 77), (271, 78), (271, 79), (271, 80), (271, 81), (271, 82), (271, 83), (271, 84), (271, 85), (271, 86), (271, 87), (271, 88), (271, 89), (271, 90), (271, 91), (271, 92), (271, 93), (271, 94), (271, 95), (271, 96), (271, 97), (271, 98), (271, 99), (271, 100), (271, 101), (271, 102), (271, 103), (271, 104), (271, 105), (271, 106), (271, 107), (271, 108), (271, 109), (271, 110), (271, 111), (271, 112), (271, 113), (271, 114), (271, 115), (271, 116), (271, 117), (271, 118), (271, 119), (271, 120), (271, 121), (271, 122), (271, 123), (271, 124), (271, 125), (271, 126), (271, 127), (271, 128), (271, 129), (271, 130), (271, 131), (271, 132), (271, 133), (271, 134), (271, 135), (271, 136), (271, 137), (271, 138), (271, 139),
(271, 140), (271, 141), (271, 142), (271, 143), (271, 144), (271, 145), (271, 146), (271, 147), (271, 148), (271, 149), (271, 150), (271, 151), (271, 152), (271, 153), (271, 154), (271, 155), (271, 156), (271, 157), (271, 158), (271, 159), (271, 160), (271, 161), (271, 162), (271, 163), (271, 164), (271, 165), (271, 166), (271, 167), (271, 168), (271, 169), (271, 170), (271, 171), (271, 172), (271, 173), (271, 174), (271, 175), (271, 176), (271, 177), (271, 178), (271, 179), (271, 180), (271, 181), (271, 182), (271, 183), (271, 184), (271, 185), (271, 186), (271, 187), (271, 188), (271, 189), (271, 190), (271, 191), (271, 192), (271, 193), (271, 194), (271, 195), (271, 196), (271, 197), (271, 198), (271, 200), (272, 71), (272, 73), (272, 74), (272, 75), (272, 76), (272, 77), (272, 78), (272, 79), (272, 80), (272, 81), (272, 82), (272, 83),
(272, 84), (272, 85), (272, 86), (272, 87), (272, 88), (272, 89), (272, 90), (272, 91), (272, 92), (272, 93), (272, 94), (272, 95), (272, 96), (272, 97), (272, 98), (272, 99), (272, 100), (272, 101), (272, 102), (272, 103), (272, 104), (272, 105), (272, 106), (272, 107), (272, 108), (272, 109), (272, 110), (272, 111), (272, 112), (272, 113), (272, 114), (272, 115), (272, 116), (272, 117), (272, 118), (272, 119), (272, 120), (272, 121), (272, 122), (272, 123), (272, 124), (272, 125), (272, 126), (272, 127), (272, 128), (272, 129), (272, 130), (272, 131), (272, 132), (272, 133), (272, 134), (272, 135), (272, 136), (272, 137), (272, 138), (272, 139), (272, 140), (272, 141), (272, 142), (272, 143), (272, 144), (272, 145), (272, 146), (272, 147), (272, 148), (272, 149), (272, 150), (272, 151), (272, 152), (272, 153), (272, 154), (272, 155),
(272, 156), (272, 157), (272, 158), (272, 159), (272, 160), (272, 161), (272, 162), (272, 163), (272, 164), (272, 165), (272, 166), (272, 167), (272, 168), (272, 169), (272, 170), (272, 171), (272, 172), (272, 173), (272, 174), (272, 175), (272, 176), (272, 177), (272, 178), (272, 179), (272, 180), (272, 181), (272, 182), (272, 183), (272, 184), (272, 185), (272, 186), (272, 187), (272, 188), (272, 189), (272, 190), (272, 191), (272, 192), (272, 193), (272, 194), (272, 195), (272, 196), (272, 197), (272, 199), (272, 200), (273, 71), (273, 73), (273, 74), (273, 75), (273, 76), (273, 77), (273, 78), (273, 79), (273, 80), (273, 81), (273, 82), (273, 83), (273, 84), (273, 85), (273, 86), (273, 87), (273, 88), (273, 89), (273, 90), (273, 91), (273, 92), (273, 93), (273, 94), (273, 95), (273, 96), (273, 97), (273, 98), (273, 99),
(273, 100), (273, 101), (273, 102), (273, 103), (273, 104), (273, 105), (273, 106), (273, 107), (273, 108), (273, 109), (273, 110), (273, 111), (273, 112), (273, 113), (273, 114), (273, 115), (273, 116), (273, 117), (273, 118), (273, 119), (273, 120), (273, 121), (273, 122), (273, 123), (273, 124), (273, 125), (273, 126), (273, 127), (273, 128), (273, 129), (273, 130), (273, 131), (273, 132), (273, 133), (273, 134), (273, 135), (273, 136), (273, 137), (273, 138), (273, 139), (273, 140), (273, 141), (273, 142), (273, 143), (273, 144), (273, 145), (273, 146), (273, 147), (273, 148), (273, 149), (273, 150), (273, 151), (273, 152), (273, 153), (273, 154), (273, 155), (273, 156), (273, 157), (273, 158), (273, 159), (273, 160), (273, 161), (273, 162), (273, 163), (273, 164), (273, 165), (273, 166), (273, 167), (273, 168), (273, 169), (273, 170), (273, 171),
(273, 172), (273, 173), (273, 174), (273, 175), (273, 176), (273, 177), (273, 178), (273, 179), (273, 180), (273, 181), (273, 182), (273, 183), (273, 184), (273, 185), (273, 186), (273, 187), (273, 188), (273, 189), (273, 190), (273, 191), (273, 192), (273, 193), (273, 194), (273, 195), (273, 196), (273, 197), (273, 199), (274, 71), (274, 73), (274, 74), (274, 75), (274, 76), (274, 77), (274, 78), (274, 79), (274, 80), (274, 81), (274, 82), (274, 83), (274, 84), (274, 85), (274, 86), (274, 87), (274, 88), (274, 89), (274, 90), (274, 91), (274, 92), (274, 93), (274, 94), (274, 95), (274, 96), (274, 97), (274, 98), (274, 99), (274, 100), (274, 101), (274, 102), (274, 103), (274, 104), (274, 105), (274, 106), (274, 107), (274, 108), (274, 109), (274, 110), (274, 111), (274, 112), (274, 113), (274, 114), (274, 115), (274, 116),
(274, 117), (274, 118), (274, 119), (274, 120), (274, 121), (274, 122), (274, 123), (274, 124), (274, 125), (274, 126), (274, 127), (274, 128), (274, 129), (274, 130), (274, 131), (274, 132), (274, 133), (274, 134), (274, 135), (274, 136), (274, 137), (274, 138), (274, 139), (274, 140), (274, 141), (274, 142), (274, 143), (274, 144), (274, 145), (274, 146), (274, 147), (274, 148), (274, 149), (274, 150), (274, 151), (274, 152), (274, 153), (274, 154), (274, 155), (274, 156), (274, 157), (274, 158), (274, 159), (274, 160), (274, 161), (274, 162), (274, 163), (274, 164), (274, 165), (274, 166), (274, 167), (274, 168), (274, 169), (274, 170), (274, 171), (274, 172), (274, 173), (274, 174), (274, 175), (274, 176), (274, 177), (274, 178), (274, 179), (274, 180), (274, 181), (274, 182), (274, 183), (274, 184), (274, 185), (274, 186), (274, 187), (274, 188),
(274, 189), (274, 190), (274, 191), (274, 192), (274, 193), (274, 194), (274, 195), (274, 196), (274, 197), (274, 199), (275, 71), (275, 73), (275, 74), (275, 75), (275, 76), (275, 77), (275, 78), (275, 79), (275, 80), (275, 81), (275, 82), (275, 83), (275, 84), (275, 85), (275, 86), (275, 87), (275, 88), (275, 89), (275, 90), (275, 91), (275, 92), (275, 93), (275, 94), (275, 95), (275, 96), (275, 97), (275, 98), (275, 99), (275, 100), (275, 101), (275, 102), (275, 103), (275, 104), (275, 105), (275, 106), (275, 107), (275, 108), (275, 109), (275, 110), (275, 111), (275, 112), (275, 113), (275, 114), (275, 115), (275, 116), (275, 117), (275, 118), (275, 119), (275, 120), (275, 121), (275, 122), (275, 123), (275, 124), (275, 125), (275, 126), (275, 127), (275, 128), (275, 129), (275, 130), (275, 131), (275, 132), (275, 133),
(275, 134), (275, 135), (275, 136), (275, 137), (275, 138), (275, 139), (275, 140), (275, 141), (275, 142), (275, 143), (275, 144), (275, 145), (275, 146), (275, 147), (275, 148), (275, 149), (275, 150), (275, 151), (275, 152), (275, 153), (275, 154), (275, 155), (275, 156), (275, 157), (275, 158), (275, 159), (275, 160), (275, 161), (275, 162), (275, 163), (275, 164), (275, 165), (275, 166), (275, 167), (275, 168), (275, 169), (275, 170), (275, 171), (275, 172), (275, 173), (275, 174), (275, 175), (275, 176), (275, 177), (275, 178), (275, 179), (275, 180), (275, 181), (275, 182), (275, 183), (275, 184), (275, 185), (275, 186), (275, 187), (275, 188), (275, 189), (275, 190), (275, 191), (275, 192), (275, 193), (275, 194), (275, 195), (275, 196), (275, 197), (275, 199), (276, 71), (276, 72), (276, 73), (276, 74), (276, 75), (276, 76), (276, 77),
(276, 78), (276, 79), (276, 80), (276, 81), (276, 82), (276, 83), (276, 84), (276, 85), (276, 86), (276, 87), (276, 88), (276, 89), (276, 90), (276, 91), (276, 92), (276, 93), (276, 94), (276, 95), (276, 96), (276, 97), (276, 98), (276, 99), (276, 100), (276, 101), (276, 102), (276, 103), (276, 104), (276, 105), (276, 106), (276, 107), (276, 108), (276, 109), (276, 110), (276, 111), (276, 112), (276, 113), (276, 114), (276, 115), (276, 116), (276, 117), (276, 118), (276, 119), (276, 120), (276, 121), (276, 122), (276, 123), (276, 124), (276, 125), (276, 126), (276, 127), (276, 128), (276, 129), (276, 130), (276, 131), (276, 132), (276, 133), (276, 134), (276, 135), (276, 136), (276, 137), (276, 138), (276, 139), (276, 140), (276, 141), (276, 142), (276, 143), (276, 144), (276, 145), (276, 146), (276, 147), (276, 148), (276, 149),
(276, 150), (276, 151), (276, 152), (276, 153), (276, 154), (276, 155), (276, 156), (276, 157), (276, 158), (276, 159), (276, 160), (276, 161), (276, 162), (276, 163), (276, 164), (276, 165), (276, 166), (276, 167), (276, 168), (276, 169), (276, 170), (276, 171), (276, 172), (276, 173), (276, 174), (276, 175), (276, 176), (276, 177), (276, 178), (276, 179), (276, 180), (276, 181), (276, 182), (276, 183), (276, 184), (276, 185), (276, 186), (276, 187), (276, 188), (276, 189), (276, 190), (276, 191), (276, 192), (276, 193), (276, 194), (276, 195), (276, 196), (276, 197), (276, 199), (277, 72), (277, 74), (277, 75), (277, 76), (277, 77), (277, 78), (277, 79), (277, 80), (277, 81), (277, 82), (277, 83), (277, 84), (277, 85), (277, 86), (277, 87), (277, 88), (277, 89), (277, 90), (277, 91), (277, 92), (277, 93), (277, 94), (277, 95),
(277, 96), (277, 97), (277, 98), (277, 99), (277, 100), (277, 101), (277, 102), (277, 103), (277, 104), (277, 105), (277, 106), (277, 107), (277, 108), (277, 109), (277, 110), (277, 111), (277, 112), (277, 113), (277, 114), (277, 115), (277, 116), (277, 117), (277, 118), (277, 119), (277, 120), (277, 121), (277, 122), (277, 123), (277, 124), (277, 125), (277, 126), (277, 127), (277, 128), (277, 129), (277, 130), (277, 131), (277, 132), (277, 133), (277, 134), (277, 135), (277, 136), (277, 137), (277, 138), (277, 139), (277, 140), (277, 141), (277, 142), (277, 143), (277, 144), (277, 145), (277, 146), (277, 147), (277, 148), (277, 149), (277, 150), (277, 151), (277, 152), (277, 153), (277, 154), (277, 155), (277, 156), (277, 157), (277, 158), (277, 159), (277, 160), (277, 161), (277, 162), (277, 163), (277, 164), (277, 165), (277, 166), (277, 167),
(277, 168), (277, 169), (277, 170), (277, 171), (277, 172), (277, 173), (277, 174), (277, 175), (277, 176), (277, 177), (277, 178), (277, 179), (277, 180), (277, 181), (277, 182), (277, 183), (277, 184), (277, 185), (277, 186), (277, 187), (277, 188), (277, 189), (277, 190), (277, 191), (277, 192), (277, 193), (277, 194), (277, 195), (277, 196), (277, 197), (277, 199), (278, 72), (278, 74), (278, 75), (278, 76), (278, 77), (278, 78), (278, 79), (278, 80), (278, 81), (278, 82), (278, 83), (278, 84), (278, 85), (278, 86), (278, 87), (278, 88), (278, 89), (278, 90), (278, 91), (278, 92), (278, 93), (278, 94), (278, 95), (278, 96), (278, 97), (278, 98), (278, 99), (278, 100), (278, 101), (278, 102), (278, 103), (278, 104), (278, 105), (278, 106), (278, 107), (278, 108), (278, 109), (278, 110), (278, 111), (278, 112), (278, 113),
(278, 114), (278, 115), (278, 116), (278, 117), (278, 118), (278, 119), (278, 120), (278, 121), (278, 122), (278, 123), (278, 124), (278, 125), (278, 126), (278, 127), (278, 128), (278, 129), (278, 130), (278, 131), (278, 132), (278, 133), (278, 134), (278, 135), (278, 136), (278, 137), (278, 138), (278, 139), (278, 140), (278, 141), (278, 142), (278, 143), (278, 144), (278, 145), (278, 146), (278, 147), (278, 148), (278, 149), (278, 150), (278, 151), (278, 152), (278, 153), (278, 154), (278, 155), (278, 156), (278, 157), (278, 158), (278, 159), (278, 160), (278, 161), (278, 162), (278, 163), (278, 164), (278, 165), (278, 166), (278, 167), (278, 168), (278, 169), (278, 170), (278, 171), (278, 172), (278, 173), (278, 174), (278, 175), (278, 176), (278, 177), (278, 178), (278, 179), (278, 180), (278, 181), (278, 182), (278, 183), (278, 184), (278, 185),
(278, 186), (278, 187), (278, 188), (278, 189), (278, 190), (278, 191), (278, 192), (278, 193), (278, 194), (278, 195), (278, 196), (278, 197), (278, 198), (278, 199), (279, 72), (279, 74), (279, 75), (279, 76), (279, 77), (279, 78), (279, 79), (279, 80), (279, 81), (279, 82), (279, 83), (279, 84), (279, 85), (279, 86), (279, 87), (279, 88), (279, 89), (279, 90), (279, 91), (279, 92), (279, 93), (279, 94), (279, 95), (279, 96), (279, 97), (279, 98), (279, 99), (279, 100), (279, 101), (279, 102), (279, 103), (279, 104), (279, 105), (279, 106), (279, 107), (279, 108), (279, 109), (279, 110), (279, 111), (279, 112), (279, 113), (279, 114), (279, 115), (279, 116), (279, 117), (279, 118), (279, 119), (279, 120), (279, 121), (279, 122), (279, 123), (279, 124), (279, 125), (279, 126), (279, 127), (279, 128), (279, 129), (279, 130),
(279, 131), (279, 132), (279, 133), (279, 134), (279, 135), (279, 136), (279, 137), (279, 138), (279, 139), (279, 140), (279, 141), (279, 142), (279, 143), (279, 144), (279, 145), (279, 146), (279, 147), (279, 148), (279, 149), (279, 150), (279, 151), (279, 152), (279, 153), (279, 154), (279, 155), (279, 156), (279, 157), (279, 158), (279, 159), (279, 160), (279, 161), (279, 162), (279, 163), (279, 164), (279, 165), (279, 166), (279, 167), (279, 168), (279, 169), (279, 170), (279, 171), (279, 172), (279, 173), (279, 174), (279, 175), (279, 176), (279, 177), (279, 178), (279, 179), (279, 180), (279, 181), (279, 182), (279, 183), (279, 184), (279, 185), (279, 186), (279, 187), (279, 188), (279, 189), (279, 190), (279, 191), (279, 192), (279, 193), (279, 194), (279, 195), (279, 196), (279, 198), (280, 72), (280, 74), (280, 75), (280, 76), (280, 77),
(280, 78), (280, 79), (280, 80), (280, 81), (280, 82), (280, 83), (280, 84), (280, 85), (280, 86), (280, 87), (280, 88), (280, 89), (280, 90), (280, 91), (280, 92), (280, 93), (280, 94), (280, 95), (280, 96), (280, 97), (280, 98), (280, 99), (280, 100), (280, 101), (280, 102), (280, 103), (280, 104), (280, 105), (280, 106), (280, 107), (280, 108), (280, 109), (280, 110), (280, 111), (280, 112), (280, 113), (280, 114), (280, 115), (280, 116), (280, 117), (280, 118), (280, 119), (280, 120), (280, 121), (280, 122), (280, 123), (280, 124), (280, 125), (280, 126), (280, 127), (280, 128), (280, 129), (280, 130), (280, 131), (280, 132), (280, 133), (280, 134), (280, 135), (280, 136), (280, 137), (280, 138), (280, 139), (280, 140), (280, 141), (280, 142), (280, 143), (280, 144), (280, 145), (280, 146), (280, 147), (280, 148), (280, 149),
(280, 150), (280, 151), (280, 152), (280, 153), (280, 154), (280, 155), (280, 156), (280, 157), (280, 158), (280, 159), (280, 160), (280, 161), (280, 162), (280, 163), (280, 164), (280, 165), (280, 166), (280, 167), (280, 168), (280, 169), (280, 170), (280, 171), (280, 172), (280, 173), (280, 174), (280, 175), (280, 176), (280, 177), (280, 178), (280, 179), (280, 180), (280, 181), (280, 182), (280, 183), (280, 184), (280, 185), (280, 186), (280, 187), (280, 188), (280, 189), (280, 190), (280, 191), (280, 192), (280, 193), (280, 194), (280, 195), (280, 196), (280, 198), (281, 73), (281, 75), (281, 76), (281, 77), (281, 78), (281, 79), (281, 80), (281, 81), (281, 82), (281, 83), (281, 84), (281, 85), (281, 86), (281, 87), (281, 88), (281, 89), (281, 90), (281, 91), (281, 92), (281, 93), (281, 94), (281, 95), (281, 96), (281, 97),
(281, 98), (281, 99), (281, 100), (281, 101), (281, 102), (281, 103), (281, 104), (281, 105), (281, 106), (281, 107), (281, 108), (281, 109), (281, 110), (281, 111), (281, 112), (281, 113), (281, 114), (281, 115), (281, 116), (281, 117), (281, 118), (281, 119), (281, 120), (281, 121), (281, 122), (281, 123), (281, 124), (281, 125), (281, 126), (281, 127), (281, 128), (281, 129), (281, 130), (281, 131), (281, 132), (281, 133), (281, 134), (281, 135), (281, 136), (281, 137), (281, 138), (281, 139), (281, 140), (281, 141), (281, 142), (281, 143), (281, 144), (281, 145), (281, 146), (281, 147), (281, 148), (281, 149), (281, 150), (281, 151), (281, 152), (281, 153), (281, 154), (281, 155), (281, 156), (281, 157), (281, 158), (281, 159), (281, 160), (281, 161), (281, 162), (281, 163), (281, 164), (281, 165), (281, 166), (281, 167), (281, 168), (281, 169),
(281, 170), (281, 171), (281, 172), (281, 173), (281, 174), (281, 175), (281, 176), (281, 177), (281, 178), (281, 179), (281, 180), (281, 181), (281, 182), (281, 183), (281, 184), (281, 185), (281, 186), (281, 187), (281, 188), (281, 189), (281, 190), (281, 191), (281, 192), (281, 193), (281, 194), (281, 195), (281, 197), (282, 73), (282, 75), (282, 76), (282, 77), (282, 78), (282, 79), (282, 80), (282, 81), (282, 82), (282, 83), (282, 84), (282, 85), (282, 86), (282, 87), (282, 88), (282, 89), (282, 90), (282, 91), (282, 92), (282, 93), (282, 94), (282, 95), (282, 96), (282, 97), (282, 98), (282, 99), (282, 100), (282, 101), (282, 102), (282, 103), (282, 104), (282, 105), (282, 106), (282, 107), (282, 108), (282, 109), (282, 110), (282, 111), (282, 112), (282, 113), (282, 114), (282, 115), (282, 116), (282, 117), (282, 118),
(282, 119), (282, 120), (282, 121), (282, 122), (282, 123), (282, 124), (282, 125), (282, 126), (282, 127), (282, 128), (282, 129), (282, 130), (282, 131), (282, 132), (282, 133), (282, 134), (282, 135), (282, 136), (282, 137), (282, 138), (282, 139), (282, 140), (282, 141), (282, 142), (282, 143), (282, 144), (282, 145), (282, 146), (282, 147), (282, 148), (282, 149), (282, 150), (282, 151), (282, 152), (282, 153), (282, 154), (282, 155), (282, 156), (282, 157), (282, 158), (282, 159), (282, 160), (282, 161), (282, 162), (282, 163), (282, 164), (282, 165), (282, 166), (282, 167), (282, 168), (282, 169), (282, 170), (282, 171), (282, 172), (282, 173), (282, 174), (282, 175), (282, 176), (282, 177), (282, 178), (282, 179), (282, 180), (282, 181), (282, 182), (282, 183), (282, 184), (282, 185), (282, 186), (282, 187), (282, 188), (282, 189), (282, 190),
(282, 191), (282, 192), (282, 193), (282, 194), (282, 195), (282, 197), (283, 74), (283, 76), (283, 77), (283, 78), (283, 79), (283, 80), (283, 81), (283, 82), (283, 83), (283, 84), (283, 85), (283, 86), (283, 87), (283, 88), (283, 89), (283, 90), (283, 91), (283, 92), (283, 93), (283, 94), (283, 95), (283, 96), (283, 97), (283, 98), (283, 99), (283, 100), (283, 101), (283, 102), (283, 103), (283, 104), (283, 105), (283, 106), (283, 107), (283, 108), (283, 109), (283, 110), (283, 111), (283, 112), (283, 113), (283, 114), (283, 115), (283, 116), (283, 117), (283, 118), (283, 119), (283, 120), (283, 121), (283, 122), (283, 123), (283, 124), (283, 125), (283, 126), (283, 127), (283, 128), (283, 129), (283, 130), (283, 131), (283, 132), (283, 133), (283, 134), (283, 135), (283, 136), (283, 137), (283, 138), (283, 139), (283, 140),
(283, 141), (283, 142), (283, 143), (283, 144), (283, 145), (283, 146), (283, 147), (283, 148), (283, 149), (283, 150), (283, 151), (283, 152), (283, 153), (283, 154), (283, 155), (283, 156), (283, 157), (283, 158), (283, 159), (283, 160), (283, 161), (283, 162), (283, 163), (283, 164), (283, 165), (283, 166), (283, 167), (283, 168), (283, 169), (283, 170), (283, 171), (283, 172), (283, 173), (283, 174), (283, 175), (283, 176), (283, 177), (283, 178), (283, 179), (283, 180), (283, 181), (283, 182), (283, 183), (283, 184), (283, 185), (283, 186), (283, 187), (283, 188), (283, 189), (283, 190), (283, 191), (283, 192), (283, 193), (283, 194), (283, 195), (283, 197), (284, 76), (284, 77), (284, 78), (284, 79), (284, 80), (284, 81), (284, 82), (284, 83), (284, 84), (284, 85), (284, 86), (284, 87), (284, 88), (284, 89), (284, 90), (284, 91),
(284, 92), (284, 93), (284, 94), (284, 95), (284, 96), (284, 97), (284, 98), (284, 99), (284, 100), (284, 101), (284, 102), (284, 103), (284, 104), (284, 105), (284, 106), (284, 107), (284, 108), (284, 109), (284, 110), (284, 111), (284, 112), (284, 113), (284, 114), (284, 115), (284, 116), (284, 117), (284, 118), (284, 119), (284, 120), (284, 121), (284, 122), (284, 123), (284, 124), (284, 125), (284, 126), (284, 127), (284, 128), (284, 129), (284, 130), (284, 131), (284, 132), (284, 133), (284, 134), (284, 135), (284, 136), (284, 137), (284, 138), (284, 139), (284, 140), (284, 141), (284, 142), (284, 143), (284, 144), (284, 145), (284, 146), (284, 147), (284, 148), (284, 149), (284, 150), (284, 151), (284, 152), (284, 153), (284, 154), (284, 155), (284, 156), (284, 157), (284, 158), (284, 159), (284, 160), (284, 161), (284, 162), (284, 163),
(284, 164), (284, 165), (284, 166), (284, 167), (284, 168), (284, 169), (284, 170), (284, 171), (284, 172), (284, 173), (284, 174), (284, 175), (284, 176), (284, 177), (284, 178), (284, 179), (284, 180), (284, 181), (284, 182), (284, 183), (284, 184), (284, 185), (284, 186), (284, 187), (284, 188), (284, 189), (284, 190), (284, 191), (284, 192), (284, 193), (284, 194), (284, 196), (285, 75), (285, 77), (285, 78), (285, 79), (285, 80), (285, 81), (285, 82), (285, 83), (285, 84), (285, 85), (285, 86), (285, 87), (285, 88), (285, 89), (285, 90), (285, 91), (285, 92), (285, 93), (285, 94), (285, 95), (285, 96), (285, 97), (285, 98), (285, 99), (285, 100), (285, 101), (285, 102), (285, 103), (285, 104), (285, 105), (285, 106), (285, 107), (285, 108), (285, 109), (285, 110), (285, 111), (285, 112), (285, 113), (285, 114), (285, 115),
(285, 116), (285, 117), (285, 118), (285, 119), (285, 120), (285, 121), (285, 122), (285, 123), (285, 124), (285, 125), (285, 126), (285, 127), (285, 128), (285, 129), (285, 130), (285, 131), (285, 132), (285, 133), (285, 134), (285, 135), (285, 136), (285, 137), (285, 138), (285, 139), (285, 140), (285, 141), (285, 142), (285, 143), (285, 144), (285, 145), (285, 146), (285, 147), (285, 148), (285, 149), (285, 150), (285, 151), (285, 152), (285, 153), (285, 154), (285, 155), (285, 156), (285, 157), (285, 158), (285, 159), (285, 160), (285, 161), (285, 162), (285, 163), (285, 164), (285, 165), (285, 166), (285, 167), (285, 168), (285, 169), (285, 170), (285, 171), (285, 172), (285, 173), (285, 174), (285, 175), (285, 176), (285, 177), (285, 178), (285, 179), (285, 180), (285, 181), (285, 182), (285, 183), (285, 184), (285, 185), (285, 186), (285, 187),
(285, 188), (285, 189), (285, 190), (285, 191), (285, 192), (285, 193), (285, 194), (285, 196), (286, 76), (286, 78), (286, 79), (286, 80), (286, 81), (286, 82), (286, 83), (286, 84), (286, 85), (286, 86), (286, 87), (286, 88), (286, 89), (286, 90), (286, 91), (286, 92), (286, 93), (286, 94), (286, 95), (286, 96), (286, 97), (286, 98), (286, 99), (286, 100), (286, 101), (286, 102), (286, 103), (286, 104), (286, 105), (286, 106), (286, 107), (286, 108), (286, 109), (286, 110), (286, 111), (286, 112), (286, 113), (286, 114), (286, 115), (286, 116), (286, 117), (286, 118), (286, 119), (286, 120), (286, 121), (286, 122), (286, 123), (286, 124), (286, 125), (286, 126), (286, 127), (286, 128), (286, 129), (286, 130), (286, 131), (286, 132), (286, 133), (286, 134), (286, 135), (286, 136), (286, 137), (286, 138), (286, 139), (286, 140),
(286, 141), (286, 142), (286, 143), (286, 144), (286, 145), (286, 146), (286, 147), (286, 148), (286, 149), (286, 150), (286, 151), (286, 152), (286, 153), (286, 154), (286, 155), (286, 156), (286, 157), (286, 158), (286, 159), (286, 160), (286, 161), (286, 162), (286, 163), (286, 164), (286, 165), (286, 166), (286, 167), (286, 168), (286, 169), (286, 170), (286, 171), (286, 172), (286, 173), (286, 174), (286, 175), (286, 176), (286, 177), (286, 178), (286, 179), (286, 180), (286, 181), (286, 182), (286, 183), (286, 184), (286, 185), (286, 186), (286, 187), (286, 188), (286, 189), (286, 190), (286, 191), (286, 192), (286, 193), (286, 195), (287, 76), (287, 78), (287, 79), (287, 80), (287, 81), (287, 82), (287, 83), (287, 84), (287, 85), (287, 86), (287, 87), (287, 88), (287, 89), (287, 90), (287, 91), (287, 92), (287, 93), (287, 94),
(287, 95), (287, 96), (287, 97), (287, 98), (287, 99), (287, 100), (287, 101), (287, 102), (287, 103), (287, 104), (287, 105), (287, 106), (287, 107), (287, 108), (287, 109), (287, 110), (287, 111), (287, 112), (287, 113), (287, 114), (287, 115), (287, 116), (287, 117), (287, 118), (287, 119), (287, 120), (287, 121), (287, 122), (287, 123), (287, 124), (287, 125), (287, 126), (287, 127), (287, 128), (287, 129), (287, 130), (287, 131), (287, 132), (287, 133), (287, 134), (287, 135), (287, 136), (287, 137), (287, 138), (287, 139), (287, 140), (287, 141), (287, 142), (287, 143), (287, 144), (287, 145), (287, 146), (287, 147), (287, 148), (287, 149), (287, 150), (287, 151), (287, 152), (287, 153), (287, 154), (287, 155), (287, 156), (287, 157), (287, 158), (287, 159), (287, 160), (287, 161), (287, 162), (287, 163), (287, 164), (287, 165), (287, 166),
(287, 167), (287, 168), (287, 169), (287, 170), (287, 171), (287, 172), (287, 173), (287, 174), (287, 175), (287, 176), (287, 177), (287, 178), (287, 179), (287, 180), (287, 181), (287, 182), (287, 183), (287, 184), (287, 185), (287, 186), (287, 187), (287, 188), (287, 189), (287, 190), (287, 191), (287, 192), (287, 193), (287, 195), (288, 77), (288, 79), (288, 80), (288, 81), (288, 82), (288, 83), (288, 84), (288, 85), (288, 86), (288, 87), (288, 88), (288, 89), (288, 90), (288, 91), (288, 92), (288, 93), (288, 94), (288, 95), (288, 96), (288, 97), (288, 98), (288, 99), (288, 100), (288, 101), (288, 102), (288, 103), (288, 104), (288, 105), (288, 106), (288, 107), (288, 108), (288, 109), (288, 110), (288, 111), (288, 112), (288, 113), (288, 114), (288, 115), (288, 116), (288, 117), (288, 118), (288, 119), (288, 120), (288, 121),
(288, 122), (288, 123), (288, 124), (288, 125), (288, 126), (288, 127), (288, 128), (288, 129), (288, 130), (288, 131), (288, 132), (288, 133), (288, 134), (288, 135), (288, 136), (288, 137), (288, 138), (288, 139), (288, 140), (288, 141), (288, 142), (288, 143), (288, 144), (288, 145), (288, 146), (288, 147), (288, 148), (288, 149), (288, 150), (288, 151), (288, 152), (288, 153), (288, 154), (288, 155), (288, 156), (288, 157), (288, 158), (288, 159), (288, 160), (288, 161), (288, 162), (288, 163), (288, 164), (288, 165), (288, 166), (288, 167), (288, 168), (288, 169), (288, 170), (288, 171), (288, 172), (288, 173), (288, 174), (288, 175), (288, 176), (288, 177), (288, 178), (288, 179), (288, 180), (288, 181), (288, 182), (288, 183), (288, 184), (288, 185), (288, 186), (288, 187), (288, 188), (288, 189), (288, 190), (288, 191), (288, 192), (288, 193),
(288, 195), (289, 78), (289, 80), (289, 81), (289, 82), (289, 83), (289, 84), (289, 85), (289, 86), (289, 87), (289, 88), (289, 89), (289, 90), (289, 91), (289, 92), (289, 93), (289, 94), (289, 95), (289, 96), (289, 97), (289, 98), (289, 99), (289, 100), (289, 101), (289, 102), (289, 103), (289, 104), (289, 105), (289, 106), (289, 107), (289, 108), (289, 109), (289, 110), (289, 111), (289, 112), (289, 113), (289, 114), (289, 115), (289, 116), (289, 117), (289, 118), (289, 119), (289, 120), (289, 121), (289, 122), (289, 123), (289, 124), (289, 125), (289, 126), (289, 127), (289, 128), (289, 129), (289, 130), (289, 131), (289, 132), (289, 133), (289, 134), (289, 135), (289, 136), (289, 137), (289, 138), (289, 139), (289, 140), (289, 141), (289, 142), (289, 143), (289, 144), (289, 145), (289, 146), (289, 147), (289, 148), (289, 149),
(289, 150), (289, 151), (289, 152), (289, 153), (289, 154), (289, 155), (289, 156), (289, 157), (289, 158), (289, 159), (289, 160), (289, 161), (289, 162), (289, 163), (289, 164), (289, 165), (289, 166), (289, 167), (289, 168), (289, 169), (289, 170), (289, 171), (289, 172), (289, 173), (289, 174), (289, 175), (289, 176), (289, 177), (289, 178), (289, 179), (289, 180), (289, 181), (289, 182), (289, 183), (289, 184), (289, 185), (289, 186), (289, 187), (289, 188), (289, 189), (289, 190), (289, 191), (289, 192), (289, 194), (290, 78), (290, 80), (290, 81), (290, 82), (290, 83), (290, 84), (290, 85), (290, 86), (290, 87), (290, 88), (290, 89), (290, 90), (290, 91), (290, 92), (290, 93), (290, 94), (290, 95), (290, 96), (290, 97), (290, 98), (290, 99), (290, 100), (290, 101), (290, 102), (290, 103), (290, 104), (290, 105), (290, 106),
(290, 107), (290, 108), (290, 109), (290, 110), (290, 111), (290, 112), (290, 113), (290, 114), (290, 115), (290, 116), (290, 117), (290, 118), (290, 119), (290, 120), (290, 121), (290, 122), (290, 123), (290, 124), (290, 125), (290, 126), (290, 127), (290, 128), (290, 129), (290, 130), (290, 131), (290, 132), (290, 133), (290, 134), (290, 135), (290, 136), (290, 137), (290, 138), (290, 139), (290, 140), (290, 141), (290, 142), (290, 143), (290, 144), (290, 145), (290, 146), (290, 147), (290, 148), (290, 149), (290, 150), (290, 151), (290, 152), (290, 153), (290, 154), (290, 155), (290, 156), (290, 157), (290, 158), (290, 159), (290, 160), (290, 161), (290, 162), (290, 163), (290, 164), (290, 165), (290, 166), (290, 167), (290, 168), (290, 169), (290, 170), (290, 171), (290, 172), (290, 173), (290, 174), (290, 175), (290, 176), (290, 177), (290, 178),
(290, 179), (290, 180), (290, 181), (290, 182), (290, 183), (290, 184), (290, 185), (290, 186), (290, 187), (290, 188), (290, 189), (290, 190), (290, 191), (290, 192), (290, 194), (291, 79), (291, 81), (291, 82), (291, 83), (291, 84), (291, 85), (291, 86), (291, 87), (291, 88), (291, 89), (291, 90), (291, 91), (291, 92), (291, 93), (291, 94), (291, 95), (291, 96), (291, 97), (291, 98), (291, 99), (291, 100), (291, 101), (291, 102), (291, 103), (291, 104), (291, 105), (291, 106), (291, 107), (291, 108), (291, 109), (291, 110), (291, 111), (291, 112), (291, 113), (291, 114), (291, 115), (291, 116), (291, 117), (291, 118), (291, 119), (291, 120), (291, 121), (291, 122), (291, 123), (291, 124), (291, 125), (291, 126), (291, 127), (291, 128), (291, 129), (291, 130), (291, 131), (291, 132), (291, 133), (291, 134), (291, 135), (291, 136),
(291, 137), (291, 138), (291, 139), (291, 140), (291, 141), (291, 142), (291, 143), (291, 144), (291, 145), (291, 146), (291, 147), (291, 148), (291, 149), (291, 150), (291, 151), (291, 152), (291, 153), (291, 154), (291, 155), (291, 156), (291, 157), (291, 158), (291, 159), (291, 160), (291, 161), (291, 162), (291, 163), (291, 164), (291, 165), (291, 166), (291, 167), (291, 168), (291, 169), (291, 170), (291, 171), (291, 172), (291, 173), (291, 174), (291, 175), (291, 176), (291, 177), (291, 178), (291, 179), (291, 180), (291, 181), (291, 182), (291, 183), (291, 184), (291, 185), (291, 186), (291, 187), (291, 188), (291, 189), (291, 190), (291, 191), (291, 193), (292, 80), (292, 82), (292, 83), (292, 84), (292, 85), (292, 86), (292, 87), (292, 88), (292, 89), (292, 90), (292, 91), (292, 92), (292, 93), (292, 94), (292, 95), (292, 96),
(292, 97), (292, 98), (292, 99), (292, 100), (292, 101), (292, 102), (292, 103), (292, 104), (292, 105), (292, 106), (292, 107), (292, 108), (292, 109), (292, 110), (292, 111), (292, 112), (292, 113), (292, 114), (292, 115), (292, 116), (292, 117), (292, 118), (292, 119), (292, 120), (292, 121), (292, 122), (292, 123), (292, 124), (292, 125), (292, 126), (292, 127), (292, 128), (292, 129), (292, 130), (292, 131), (292, 132), (292, 133), (292, 134), (292, 135), (292, 136), (292, 137), (292, 138), (292, 139), (292, 140), (292, 141), (292, 142), (292, 143), (292, 144), (292, 145), (292, 146), (292, 147), (292, 148), (292, 149), (292, 150), (292, 151), (292, 152), (292, 153), (292, 154), (292, 155), (292, 156), (292, 157), (292, 158), (292, 159), (292, 160), (292, 161), (292, 162), (292, 163), (292, 164), (292, 165), (292, 166), (292, 167), (292, 168),
(292, 169), (292, 170), (292, 171), (292, 172), (292, 173), (292, 174), (292, 175), (292, 176), (292, 177), (292, 178), (292, 179), (292, 180), (292, 181), (292, 182), (292, 183), (292, 184), (292, 185), (292, 186), (292, 187), (292, 188), (292, 189), (292, 190), (292, 191), (292, 193), (293, 80), (293, 82), (293, 83), (293, 84), (293, 85), (293, 86), (293, 87), (293, 88), (293, 89), (293, 90), (293, 91), (293, 92), (293, 93), (293, 94), (293, 95), (293, 96), (293, 97), (293, 98), (293, 99), (293, 100), (293, 101), (293, 102), (293, 103), (293, 104), (293, 105), (293, 106), (293, 107), (293, 108), (293, 109), (293, 110), (293, 111), (293, 112), (293, 113), (293, 114), (293, 115), (293, 116), (293, 117), (293, 118), (293, 119), (293, 120), (293, 121), (293, 122), (293, 123), (293, 124), (293, 125), (293, 126), (293, 127), (293, 128),
(293, 129), (293, 130), (293, 131), (293, 132), (293, 133), (293, 134), (293, 135), (293, 136), (293, 137), (293, 138), (293, 139), (293, 140), (293, 141), (293, 142), (293, 143), (293, 144), (293, 145), (293, 146), (293, 147), (293, 148), (293, 149), (293, 150), (293, 151), (293, 152), (293, 153), (293, 154), (293, 155), (293, 156), (293, 157), (293, 158), (293, 159), (293, 160), (293, 161), (293, 162), (293, 163), (293, 164), (293, 165), (293, 166), (293, 167), (293, 168), (293, 169), (293, 170), (293, 171), (293, 172), (293, 173), (293, 174), (293, 175), (293, 176), (293, 177), (293, 178), (293, 179), (293, 180), (293, 181), (293, 182), (293, 183), (293, 184), (293, 185), (293, 186), (293, 187), (293, 188), (293, 189), (293, 190), (293, 192), (294, 81), (294, 83), (294, 84), (294, 85), (294, 86), (294, 87), (294, 88), (294, 89), (294, 90),
(294, 91), (294, 92), (294, 93), (294, 94), (294, 95), (294, 96), (294, 97), (294, 98), (294, 99), (294, 100), (294, 101), (294, 102), (294, 103), (294, 104), (294, 105), (294, 106), (294, 107), (294, 108), (294, 109), (294, 110), (294, 111), (294, 112), (294, 113), (294, 114), (294, 115), (294, 116), (294, 117), (294, 118), (294, 119), (294, 120), (294, 121), (294, 122), (294, 123), (294, 124), (294, 125), (294, 126), (294, 127), (294, 128), (294, 129), (294, 130), (294, 131), (294, 132), (294, 133), (294, 134), (294, 135), (294, 136), (294, 137), (294, 138), (294, 139), (294, 140), (294, 141), (294, 142), (294, 143), (294, 144), (294, 145), (294, 146), (294, 147), (294, 148), (294, 149), (294, 150), (294, 151), (294, 152), (294, 153), (294, 154), (294, 155), (294, 156), (294, 157), (294, 158), (294, 159), (294, 160), (294, 161), (294, 162),
(294, 163), (294, 164), (294, 165), (294, 166), (294, 167), (294, 168), (294, 169), (294, 170), (294, 171), (294, 172), (294, 173), (294, 174), (294, 175), (294, 176), (294, 177), (294, 178), (294, 179), (294, 180), (294, 181), (294, 182), (294, 183), (294, 184), (294, 185), (294, 186), (294, 187), (294, 188), (294, 189), (294, 190), (294, 192), (295, 82), (295, 84), (295, 85), (295, 86), (295, 87), (295, 88), (295, 89), (295, 90), (295, 91), (295, 92), (295, 93), (295, 94), (295, 95), (295, 96), (295, 97), (295, 98), (295, 99), (295, 100), (295, 101), (295, 102), (295, 103), (295, 104), (295, 105), (295, 106), (295, 107), (295, 108), (295, 109), (295, 110), (295, 111), (295, 112), (295, 113), (295, 114), (295, 115), (295, 116), (295, 117), (295, 118), (295, 119), (295, 120), (295, 121), (295, 122), (295, 123), (295, 124), (295, 125),
(295, 126), (295, 127), (295, 128), (295, 129), (295, 130), (295, 131), (295, 132), (295, 133), (295, 134), (295, 135), (295, 136), (295, 137), (295, 138), (295, 139), (295, 140), (295, 141), (295, 142), (295, 143), (295, 144), (295, 145), (295, 146), (295, 147), (295, 148), (295, 149), (295, 150), (295, 151), (295, 152), (295, 153), (295, 154), (295, 155), (295, 156), (295, 157), (295, 158), (295, 159), (295, 160), (295, 161), (295, 162), (295, 163), (295, 164), (295, 165), (295, 166), (295, 167), (295, 168), (295, 169), (295, 170), (295, 171), (295, 172), (295, 173), (295, 174), (295, 175), (295, 176), (295, 177), (295, 178), (295, 179), (295, 180), (295, 181), (295, 182), (295, 183), (295, 184), (295, 185), (295, 186), (295, 187), (295, 188), (295, 189), (295, 190), (295, 192), (296, 82), (296, 84), (296, 85), (296, 86), (296, 87), (296, 88),
(296, 89), (296, 90), (296, 91), (296, 92), (296, 93), (296, 94), (296, 95), (296, 96), (296, 97), (296, 98), (296, 99), (296, 100), (296, 101), (296, 102), (296, 103), (296, 104), (296, 105), (296, 106), (296, 107), (296, 108), (296, 109), (296, 110), (296, 111), (296, 112), (296, 113), (296, 114), (296, 115), (296, 116), (296, 117), (296, 118), (296, 119), (296, 120), (296, 121), (296, 122), (296, 123), (296, 124), (296, 125), (296, 126), (296, 127), (296, 128), (296, 129), (296, 130), (296, 131), (296, 132), (296, 133), (296, 134), (296, 135), (296, 136), (296, 137), (296, 138), (296, 139), (296, 140), (296, 141), (296, 142), (296, 143), (296, 144), (296, 145), (296, 146), (296, 147), (296, 148), (296, 149), (296, 150), (296, 151), (296, 152), (296, 153), (296, 154), (296, 155), (296, 156), (296, 157), (296, 158), (296, 159), (296, 160),
(296, 161), (296, 162), (296, 163), (296, 164), (296, 165), (296, 166), (296, 167), (296, 168), (296, 169), (296, 170), (296, 171), (296, 172), (296, 173), (296, 174), (296, 175), (296, 176), (296, 177), (296, 178), (296, 179), (296, 180), (296, 181), (296, 182), (296, 183), (296, 184), (296, 185), (296, 186), (296, 187), (296, 188), (296, 189), (296, 191), (297, 83), (297, 85), (297, 86), (297, 87), (297, 88), (297, 89), (297, 90), (297, 91), (297, 92), (297, 93), (297, 94), (297, 95), (297, 96), (297, 97), (297, 98), (297, 99), (297, 100), (297, 101), (297, 102), (297, 103), (297, 104), (297, 105), (297, 106), (297, 107), (297, 108), (297, 109), (297, 110), (297, 111), (297, 112), (297, 113), (297, 114), (297, 115), (297, 116), (297, 117), (297, 118), (297, 119), (297, 120), (297, 121), (297, 122), (297, 123), (297, 124), (297, 125),
(297, 126), (297, 127), (297, 128), (297, 129), (297, 130), (297, 131), (297, 132), (297, 133), (297, 134), (297, 135), (297, 136), (297, 137), (297, 138), (297, 139), (297, 140), (297, 141), (297, 142), (297, 143), (297, 144), (297, 145), (297, 146), (297, 147), (297, 148), (297, 149), (297, 150), (297, 151), (297, 152), (297, 153), (297, 154), (297, 155), (297, 156), (297, 157), (297, 158), (297, 159), (297, 160), (297, 161), (297, 162), (297, 163), (297, 164), (297, 165), (297, 166), (297, 167), (297, 168), (297, 169), (297, 170), (297, 171), (297, 172), (297, 173), (297, 174), (297, 175), (297, 176), (297, 177), (297, 178), (297, 179), (297, 180), (297, 181), (297, 182), (297, 183), (297, 184), (297, 185), (297, 186), (297, 187), (297, 188), (297, 189), (297, 191), (298, 83), (298, 85), (298, 86), (298, 87), (298, 88), (298, 89), (298, 90),
(298, 91), (298, 92), (298, 93), (298, 94), (298, 95), (298, 96), (298, 97), (298, 98), (298, 99), (298, 100), (298, 101), (298, 102), (298, 103), (298, 104), (298, 105), (298, 106), (298, 107), (298, 108), (298, 109), (298, 110), (298, 111), (298, 112), (298, 113), (298, 114), (298, 115), (298, 116), (298, 117), (298, 118), (298, 119), (298, 120), (298, 121), (298, 122), (298, 123), (298, 124), (298, 125), (298, 126), (298, 127), (298, 128), (298, 129), (298, 130), (298, 131), (298, 132), (298, 133), (298, 134), (298, 135), (298, 136), (298, 137), (298, 138), (298, 139), (298, 140), (298, 141), (298, 142), (298, 143), (298, 144), (298, 145), (298, 146), (298, 147), (298, 148), (298, 149), (298, 150), (298, 151), (298, 152), (298, 153), (298, 154), (298, 155), (298, 156), (298, 157), (298, 158), (298, 159), (298, 160), (298, 161), (298, 162),
(298, 163), (298, 164), (298, 165), (298, 166), (298, 167), (298, 168), (298, 169), (298, 170), (298, 171), (298, 172), (298, 173), (298, 174), (298, 175), (298, 176), (298, 177), (298, 178), (298, 179), (298, 180), (298, 181), (298, 182), (298, 183), (298, 184), (298, 185), (298, 186), (298, 187), (298, 188), (298, 190), (299, 84), (299, 86), (299, 87), (299, 88), (299, 89), (299, 90), (299, 91), (299, 92), (299, 93), (299, 94), (299, 95), (299, 96), (299, 97), (299, 98), (299, 99), (299, 100), (299, 101), (299, 102), (299, 103), (299, 104), (299, 105), (299, 106), (299, 107), (299, 108), (299, 109), (299, 110), (299, 111), (299, 112), (299, 113), (299, 114), (299, 115), (299, 116), (299, 117), (299, 118), (299, 119), (299, 120), (299, 121), (299, 122), (299, 123), (299, 124), (299, 125), (299, 126), (299, 127), (299, 128), (299, 129),
(299, 130), (299, 131), (299, 132), (299, 133), (299, 134), (299, 135), (299, 136), (299, 137), (299, 138), (299, 139), (299, 140), (299, 141), (299, 142), (299, 143), (299, 144), (299, 145), (299, 146), (299, 147), (299, 148), (299, 149), (299, 150), (299, 151), (299, 152), (299, 153), (299, 154), (299, 155), (299, 156), (299, 157), (299, 158), (299, 159), (299, 160), (299, 161), (299, 162), (299, 163), (299, 164), (299, 165), (299, 166), (299, 167), (299, 168), (299, 169), (299, 170), (299, 171), (299, 172), (299, 173), (299, 174), (299, 175), (299, 176), (299, 177), (299, 178), (299, 179), (299, 180), (299, 181), (299, 182), (299, 183), (299, 184), (299, 185), (299, 186), (299, 187), (299, 188), (299, 190), (300, 84), (300, 86), (300, 87), (300, 88), (300, 89), (300, 90), (300, 91), (300, 92), (300, 93), (300, 94), (300, 95), (300, 96),
(300, 97), (300, 98), (300, 99), (300, 100), (300, 101), (300, 102), (300, 103), (300, 104), (300, 105), (300, 106), (300, 107), (300, 108), (300, 109), (300, 110), (300, 111), (300, 112), (300, 113), (300, 114), (300, 115), (300, 116), (300, 117), (300, 118), (300, 119), (300, 120), (300, 121), (300, 122), (300, 123), (300, 124), (300, 125), (300, 126), (300, 127), (300, 128), (300, 129), (300, 130), (300, 131), (300, 132), (300, 133), (300, 134), (300, 135), (300, 136), (300, 137), (300, 138), (300, 139), (300, 140), (300, 141), (300, 142), (300, 143), (300, 144), (300, 145), (300, 146), (300, 147), (300, 148), (300, 149), (300, 150), (300, 151), (300, 152), (300, 153), (300, 154), (300, 155), (300, 156), (300, 157), (300, 158), (300, 159), (300, 160), (300, 161), (300, 162), (300, 163), (300, 164), (300, 165), (300, 166), (300, 167), (300, 168),
(300, 169), (300, 170), (300, 171), (300, 172), (300, 173), (300, 174), (300, 175), (300, 176), (300, 177), (300, 178), (300, 179), (300, 180), (300, 181), (300, 182), (300, 183), (300, 184), (300, 185), (300, 186), (300, 187), (300, 188), (300, 190), (301, 84), (301, 86), (301, 87), (301, 88), (301, 89), (301, 90), (301, 91), (301, 92), (301, 93), (301, 94), (301, 95), (301, 96), (301, 97), (301, 98), (301, 99), (301, 100), (301, 101), (301, 102), (301, 103), (301, 104), (301, 105), (301, 106), (301, 107), (301, 108), (301, 109), (301, 110), (301, 111), (301, 112), (301, 113), (301, 114), (301, 115), (301, 116), (301, 117), (301, 118), (301, 119), (301, 120), (301, 121), (301, 122), (301, 123), (301, 124), (301, 125), (301, 126), (301, 127), (301, 128), (301, 129), (301, 130), (301, 131), (301, 132), (301, 133), (301, 134), (301, 135),
(301, 136), (301, 137), (301, 138), (301, 139), (301, 140), (301, 141), (301, 142), (301, 143), (301, 144), (301, 145), (301, 146), (301, 147), (301, 148), (301, 149), (301, 150), (301, 151), (301, 152), (301, 153), (301, 154), (301, 155), (301, 156), (301, 157), (301, 158), (301, 159), (301, 160), (301, 161), (301, 162), (301, 163), (301, 164), (301, 165), (301, 166), (301, 167), (301, 168), (301, 169), (301, 170), (301, 171), (301, 172), (301, 173), (301, 174), (301, 175), (301, 176), (301, 177), (301, 178), (301, 179), (301, 180), (301, 181), (301, 182), (301, 183), (301, 184), (301, 185), (301, 186), (301, 187), (301, 188), (301, 190), (302, 84), (302, 86), (302, 87), (302, 88), (302, 89), (302, 90), (302, 91), (302, 92), (302, 93), (302, 94), (302, 95), (302, 96), (302, 97), (302, 98), (302, 99), (302, 100), (302, 101), (302, 102),
(302, 103), (302, 104), (302, 105), (302, 106), (302, 107), (302, 108), (302, 109), (302, 110), (302, 111), (302, 112), (302, 113), (302, 114), (302, 115), (302, 116), (302, 117), (302, 118), (302, 119), (302, 120), (302, 121), (302, 122), (302, 123), (302, 124), (302, 125), (302, 126), (302, 127), (302, 128), (302, 129), (302, 130), (302, 131), (302, 132), (302, 133), (302, 134), (302, 135), (302, 136), (302, 137), (302, 138), (302, 139), (302, 140), (302, 141), (302, 142), (302, 143), (302, 144), (302, 145), (302, 146), (302, 147), (302, 148), (302, 149), (302, 150), (302, 151), (302, 152), (302, 153), (302, 154), (302, 155), (302, 156), (302, 157), (302, 158), (302, 159), (302, 160), (302, 161), (302, 162), (302, 163), (302, 164), (302, 165), (302, 166), (302, 167), (302, 168), (302, 169), (302, 170), (302, 171), (302, 172), (302, 173), (302, 174),
(302, 175), (302, 176), (302, 177), (302, 178), (302, 179), (302, 180), (302, 181), (302, 182), (302, 183), (302, 184), (302, 185), (302, 186), (302, 187), (302, 188), (302, 190), (303, 84), (303, 86), (303, 87), (303, 88), (303, 89), (303, 90), (303, 91), (303, 92), (303, 93), (303, 94), (303, 95), (303, 96), (303, 97), (303, 98), (303, 99), (303, 100), (303, 101), (303, 102), (303, 103), (303, 104), (303, 105), (303, 106), (303, 107), (303, 108), (303, 109), (303, 110), (303, 111), (303, 112), (303, 113), (303, 114), (303, 115), (303, 116), (303, 117), (303, 118), (303, 119), (303, 120), (303, 121), (303, 122), (303, 123), (303, 124), (303, 125), (303, 126), (303, 127), (303, 128), (303, 129), (303, 130), (303, 131), (303, 132), (303, 133), (303, 134), (303, 135), (303, 136), (303, 137), (303, 138), (303, 139), (303, 140), (303, 141),
(303, 142), (303, 143), (303, 144), (303, 145), (303, 146), (303, 147), (303, 148), (303, 149), (303, 150), (303, 151), (303, 152), (303, 153), (303, 154), (303, 155), (303, 156), (303, 157), (303, 158), (303, 159), (303, 160), (303, 161), (303, 162), (303, 163), (303, 164), (303, 165), (303, 166), (303, 167), (303, 168), (303, 169), (303, 170), (303, 171), (303, 172), (303, 173), (303, 174), (303, 175), (303, 176), (303, 177), (303, 178), (303, 179), (303, 180), (303, 181), (303, 182), (303, 183), (303, 184), (303, 185), (303, 186), (303, 187), (303, 188), (303, 190), (304, 84), (304, 86), (304, 87), (304, 88), (304, 89), (304, 90), (304, 91), (304, 92), (304, 93), (304, 94), (304, 95), (304, 96), (304, 97), (304, 98), (304, 99), (304, 100), (304, 101), (304, 102), (304, 103), (304, 104), (304, 105), (304, 106), (304, 107), (304, 108),
(304, 109), (304, 110), (304, 111), (304, 112), (304, 113), (304, 114), (304, 115), (304, 116), (304, 117), (304, 118), (304, 119), (304, 120), (304, 121), (304, 122), (304, 123), (304, 124), (304, 125), (304, 126), (304, 127), (304, 128), (304, 129), (304, 130), (304, 131), (304, 132), (304, 133), (304, 134), (304, 135), (304, 136), (304, 137), (304, 138), (304, 139), (304, 140), (304, 141), (304, 142), (304, 143), (304, 144), (304, 145), (304, 146), (304, 147), (304, 148), (304, 149), (304, 150), (304, 151), (304, 152), (304, 153), (304, 154), (304, 155), (304, 156), (304, 157), (304, 158), (304, 159), (304, 160), (304, 161), (304, 162), (304, 163), (304, 164), (304, 165), (304, 166), (304, 167), (304, 168), (304, 169), (304, 170), (304, 171), (304, 172), (304, 173), (304, 174), (304, 175), (304, 176), (304, 177), (304, 178), (304, 179), (304, 180),
(304, 181), (304, 182), (304, 183), (304, 184), (304, 185), (304, 186), (304, 187), (304, 188), (304, 190), (305, 84), (305, 86), (305, 87), (305, 88), (305, 89), (305, 90), (305, 91), (305, 92), (305, 93), (305, 94), (305, 95), (305, 96), (305, 97), (305, 98), (305, 99), (305, 100), (305, 101), (305, 102), (305, 103), (305, 104), (305, 105), (305, 106), (305, 107), (305, 108), (305, 109), (305, 110), (305, 111), (305, 112), (305, 113), (305, 114), (305, 115), (305, 116), (305, 117), (305, 118), (305, 119), (305, 120), (305, 121), (305, 122), (305, 123), (305, 124), (305, 125), (305, 126), (305, 127), (305, 128), (305, 129), (305, 130), (305, 131), (305, 132), (305, 133), (305, 134), (305, 135), (305, 136), (305, 137), (305, 138), (305, 139), (305, 140), (305, 141), (305, 142), (305, 143), (305, 144), (305, 145), (305, 146), (305, 147),
(305, 148), (305, 149), (305, 150), (305, 151), (305, 152), (305, 153), (305, 154), (305, 155), (305, 156), (305, 157), (305, 158), (305, 159), (305, 160), (305, 161), (305, 162), (305, 163), (305, 164), (305, 165), (305, 166), (305, 167), (305, 168), (305, 169), (305, 170), (305, 171), (305, 172), (305, 173), (305, 174), (305, 175), (305, 176), (305, 177), (305, 178), (305, 179), (305, 180), (305, 181), (305, 182), (305, 183), (305, 184), (305, 185), (305, 186), (305, 187), (305, 188), (305, 190), (306, 84), (306, 86), (306, 87), (306, 88), (306, 89), (306, 90), (306, 91), (306, 92), (306, 93), (306, 94), (306, 95), (306, 96), (306, 97), (306, 98), (306, 99), (306, 100), (306, 101), (306, 102), (306, 103), (306, 104), (306, 105), (306, 106), (306, 107), (306, 108), (306, 109), (306, 110), (306, 111), (306, 112), (306, 113), (306, 114),
(306, 115), (306, 116), (306, 117), (306, 118), (306, 119), (306, 120), (306, 121), (306, 122), (306, 123), (306, 124), (306, 125), (306, 126), (306, 127), (306, 128), (306, 129), (306, 130), (306, 131), (306, 132), (306, 133), (306, 134), (306, 135), (306, 136), (306, 137), (306, 138), (306, 139), (306, 140), (306, 141), (306, 142), (306, 143), (306, 144), (306, 145), (306, 146), (306, 147), (306, 148), (306, 149), (306, 150), (306, 151), (306, 152), (306, 153), (306, 154), (306, 155), (306, 156), (306, 157), (306, 158), (306, 159), (306, 160), (306, 161), (306, 162), (306, 163), (306, 164), (306, 165), (306, 166), (306, 167), (306, 168), (306, 169), (306, 170), (306, 171), (306, 172), (306, 173), (306, 174), (306, 175), (306, 176), (306, 177), (306, 178), (306, 179), (306, 180), (306, 181), (306, 182), (306, 183), (306, 184), (306, 185), (306, 186),
(306, 187), (306, 188), (306, 190), (307, 84), (307, 86), (307, 87), (307, 88), (307, 89), (307, 90), (307, 91), (307, 92), (307, 93), (307, 94), (307, 95), (307, 96), (307, 97), (307, 98), (307, 99), (307, 100), (307, 101), (307, 102), (307, 103), (307, 104), (307, 105), (307, 106), (307, 107), (307, 108), (307, 109), (307, 110), (307, 111), (307, 112), (307, 113), (307, 114), (307, 115), (307, 116), (307, 117), (307, 118), (307, 119), (307, 120), (307, 121), (307, 122), (307, 123), (307, 124), (307, 125), (307, 126), (307, 127), (307, 128), (307, 129), (307, 130), (307, 131), (307, 132), (307, 133), (307, 134), (307, 135), (307, 136), (307, 137), (307, 138), (307, 139), (307, 140), (307, 141), (307, 142), (307, 143), (307, 144), (307, 145), (307, 146), (307, 147), (307, 148), (307, 149), (307, 150), (307, 151), (307, 152), (307, 153),
(307, 154), (307, 155), (307, 156), (307, 157), (307, 158), (307, 159), (307, 160), (307, 161), (307, 162), (307, 163), (307, 164), (307, 165), (307, 166), (307, 167), (307, 168), (307, 169), (307, 170), (307, 171), (307, 172), (307, 173), (307, 174), (307, 175), (307, 176), (307, 177), (307, 178), (307, 179), (307, 180), (307, 181), (307, 182), (307, 183), (307, 184), (307, 185), (307, 186), (307, 187), (307, 188), (307, 190), (308, 83), (308, 85), (308, 86), (308, 87), (308, 88), (308, 89), (308, 90), (308, 91), (308, 92), (308, 93), (308, 94), (308, 95), (308, 96), (308, 97), (308, 98), (308, 99), (308, 100), (308, 101), (308, 102), (308, 103), (308, 104), (308, 105), (308, 106), (308, 107), (308, 108), (308, 109), (308, 110), (308, 111), (308, 112), (308, 113), (308, 114), (308, 115), (308, 116), (308, 117), (308, 118), (308, 119),
(308, 120), (308, 121), (308, 122), (308, 123), (308, 124), (308, 125), (308, 126), (308, 127), (308, 128), (308, 129), (308, 130), (308, 131), (308, 132), (308, 133), (308, 134), (308, 135), (308, 136), (308, 137), (308, 138), (308, 139), (308, 140), (308, 141), (308, 142), (308, 143), (308, 144), (308, 145), (308, 146), (308, 147), (308, 148), (308, 149), (308, 150), (308, 151), (308, 152), (308, 153), (308, 154), (308, 155), (308, 156), (308, 157), (308, 158), (308, 159), (308, 160), (308, 161), (308, 162), (308, 163), (308, 164), (308, 165), (308, 166), (308, 167), (308, 168), (308, 169), (308, 170), (308, 171), (308, 172), (308, 173), (308, 174), (308, 175), (308, 176), (308, 177), (308, 178), (308, 179), (308, 180), (308, 181), (308, 182), (308, 183), (308, 184), (308, 185), (308, 186), (308, 187), (308, 188), (308, 190), (309, 83), (309, 85),
(309, 86), (309, 87), (309, 88), (309, 89), (309, 90), (309, 91), (309, 92), (309, 93), (309, 94), (309, 95), (309, 96), (309, 97), (309, 98), (309, 99), (309, 100), (309, 101), (309, 102), (309, 103), (309, 104), (309, 105), (309, 106), (309, 107), (309, 108), (309, 109), (309, 110), (309, 111), (309, 112), (309, 113), (309, 114), (309, 115), (309, 116), (309, 117), (309, 118), (309, 119), (309, 120), (309, 121), (309, 122), (309, 123), (309, 124), (309, 125), (309, 126), (309, 127), (309, 128), (309, 129), (309, 130), (309, 131), (309, 132), (309, 133), (309, 134), (309, 135), (309, 136), (309, 137), (309, 138), (309, 139), (309, 140), (309, 141), (309, 142), (309, 143), (309, 144), (309, 145), (309, 146), (309, 147), (309, 148), (309, 149), (309, 150), (309, 151), (309, 152), (309, 153), (309, 154), (309, 155), (309, 156), (309, 157),
(309, 158), (309, 159), (309, 160), (309, 161), (309, 162), (309, 163), (309, 164), (309, 165), (309, 166), (309, 167), (309, 168), (309, 169), (309, 170), (309, 171), (309, 172), (309, 173), (309, 174), (309, 175), (309, 176), (309, 177), (309, 178), (309, 179), (309, 180), (309, 181), (309, 182), (309, 183), (309, 184), (309, 185), (309, 186), (309, 187), (309, 188), (309, 190), (310, 83), (310, 85), (310, 86), (310, 87), (310, 88), (310, 89), (310, 90), (310, 91), (310, 92), (310, 93), (310, 94), (310, 95), (310, 96), (310, 97), (310, 98), (310, 99), (310, 100), (310, 101), (310, 102), (310, 103), (310, 104), (310, 105), (310, 106), (310, 107), (310, 108), (310, 109), (310, 110), (310, 111), (310, 112), (310, 113), (310, 114), (310, 115), (310, 116), (310, 117), (310, 118), (310, 119), (310, 120), (310, 121), (310, 122), (310, 123),
(310, 124), (310, 125), (310, 126), (310, 127), (310, 128), (310, 129), (310, 130), (310, 131), (310, 132), (310, 133), (310, 134), (310, 135), (310, 136), (310, 137), (310, 138), (310, 139), (310, 140), (310, 141), (310, 142), (310, 143), (310, 144), (310, 145), (310, 146), (310, 147), (310, 148), (310, 149), (310, 150), (310, 151), (310, 152), (310, 153), (310, 154), (310, 155), (310, 156), (310, 157), (310, 158), (310, 159), (310, 160), (310, 161), (310, 162), (310, 163), (310, 164), (310, 165), (310, 166), (310, 167), (310, 168), (310, 169), (310, 170), (310, 171), (310, 172), (310, 173), (310, 174), (310, 175), (310, 176), (310, 177), (310, 178), (310, 179), (310, 180), (310, 181), (310, 182), (310, 183), (310, 184), (310, 185), (310, 186), (310, 187), (310, 188), (310, 190), (311, 83), (311, 85), (311, 86), (311, 87), (311, 88), (311, 89),
(311, 90), (311, 91), (311, 92), (311, 93), (311, 94), (311, 95), (311, 96), (311, 97), (311, 98), (311, 99), (311, 100), (311, 101), (311, 102), (311, 103), (311, 104), (311, 105), (311, 106), (311, 107), (311, 108), (311, 109), (311, 110), (311, 111), (311, 112), (311, 113), (311, 114), (311, 115), (311, 116), (311, 117), (311, 118), (311, 119), (311, 120), (311, 121), (311, 122), (311, 123), (311, 124), (311, 125), (311, 126), (311, 127), (311, 128), (311, 129), (311, 130), (311, 131), (311, 132), (311, 133), (311, 134), (311, 135), (311, 136), (311, 137), (311, 138), (311, 139), (311, 140), (311, 141), (311, 142), (311, 143), (311, 144), (311, 145), (311, 146), (311, 147), (311, 148), (311, 149), (311, 150), (311, 151), (311, 152), (311, 153), (311, 154), (311, 155), (311, 156), (311, 157), (311, 158), (311, 159), (311, 160), (311, 161),
(311, 162), (311, 163), (311, 164), (311, 165), (311, 166), (311, 167), (311, 168), (311, 169), (311, 170), (311, 171), (311, 172), (311, 173), (311, 174), (311, 175), (311, 176), (311, 177), (311, 178), (311, 179), (311, 180), (311, 181), (311, 182), (311, 183), (311, 184), (311, 185), (311, 186), (311, 187), (311, 188), (311, 190), (312, 83), (312, 85), (312, 86), (312, 87), (312, 88), (312, 89), (312, 90), (312, 91), (312, 92), (312, 93), (312, 94), (312, 95), (312, 96), (312, 97), (312, 98), (312, 99), (312, 100), (312, 101), (312, 102), (312, 103), (312, 104), (312, 105), (312, 106), (312, 107), (312, 108), (312, 109), (312, 110), (312, 111), (312, 112), (312, 113), (312, 114), (312, 115), (312, 116), (312, 117), (312, 118), (312, 119), (312, 120), (312, 121), (312, 122), (312, 123), (312, 124), (312, 125), (312, 126), (312, 127),
(312, 128), (312, 129), (312, 130), (312, 131), (312, 132), (312, 133), (312, 134), (312, 135), (312, 136), (312, 137), (312, 138), (312, 139), (312, 140), (312, 141), (312, 142), (312, 143), (312, 144), (312, 145), (312, 146), (312, 147), (312, 148), (312, 149), (312, 150), (312, 151), (312, 152), (312, 153), (312, 154), (312, 155), (312, 156), (312, 157), (312, 158), (312, 159), (312, 160), (312, 161), (312, 162), (312, 163), (312, 164), (312, 165), (312, 166), (312, 167), (312, 168), (312, 169), (312, 170), (312, 171), (312, 172), (312, 173), (312, 174), (312, 175), (312, 176), (312, 177), (312, 178), (312, 179), (312, 180), (312, 181), (312, 182), (312, 183), (312, 184), (312, 185), (312, 186), (312, 187), (312, 188), (312, 190), (313, 82), (313, 83), (313, 84), (313, 85), (313, 86), (313, 87), (313, 88), (313, 89), (313, 90), (313, 91),
(313, 92), (313, 93), (313, 94), (313, 95), (313, 96), (313, 97), (313, 98), (313, 99), (313, 100), (313, 101), (313, 102), (313, 103), (313, 104), (313, 105), (313, 106), (313, 107), (313, 108), (313, 109), (313, 110), (313, 111), (313, 112), (313, 113), (313, 114), (313, 115), (313, 116), (313, 117), (313, 118), (313, 119), (313, 120), (313, 121), (313, 122), (313, 123), (313, 124), (313, 125), (313, 126), (313, 127), (313, 128), (313, 129), (313, 130), (313, 131), (313, 132), (313, 133), (313, 134), (313, 135), (313, 136), (313, 137), (313, 138), (313, 139), (313, 140), (313, 141), (313, 142), (313, 143), (313, 144), (313, 145), (313, 146), (313, 147), (313, 148), (313, 149), (313, 150), (313, 151), (313, 152), (313, 153), (313, 154), (313, 155), (313, 156), (313, 157), (313, 158), (313, 159), (313, 160), (313, 161), (313, 162), (313, 163),
(313, 164), (313, 165), (313, 166), (313, 167), (313, 168), (313, 169), (313, 170), (313, 171), (313, 172), (313, 173), (313, 174), (313, 175), (313, 176), (313, 177), (313, 178), (313, 179), (313, 180), (313, 181), (313, 182), (313, 183), (313, 184), (313, 185), (313, 186), (313, 187), (313, 188), (313, 190), (314, 82), (314, 84), (314, 85), (314, 86), (314, 87), (314, 88), (314, 89), (314, 90), (314, 91), (314, 92), (314, 93), (314, 94), (314, 95), (314, 96), (314, 97), (314, 98), (314, 99), (314, 100), (314, 101), (314, 102), (314, 103), (314, 104), (314, 105), (314, 106), (314, 107), (314, 108), (314, 109), (314, 110), (314, 111), (314, 112), (314, 113), (314, 114), (314, 115), (314, 116), (314, 117), (314, 118), (314, 119), (314, 120), (314, 121), (314, 122), (314, 123), (314, 124), (314, 125), (314, 126), (314, 127), (314, 128),
(314, 129), (314, 130), (314, 131), (314, 132), (314, 133), (314, 134), (314, 135), (314, 136), (314, 137), (314, 138), (314, 139), (314, 140), (314, 141), (314, 142), (314, 143), (314, 144), (314, 145), (314, 146), (314, 147), (314, 148), (314, 149), (314, 150), (314, 151), (314, 152), (314, 153), (314, 154), (314, 155), (314, 156), (314, 157), (314, 158), (314, 159), (314, 160), (314, 161), (314, 162), (314, 163), (314, 164), (314, 165), (314, 166), (314, 167), (314, 168), (314, 169), (314, 170), (314, 171), (314, 172), (314, 173), (314, 174), (314, 175), (314, 176), (314, 177), (314, 178), (314, 179), (314, 180), (314, 181), (314, 182), (314, 183), (314, 184), (314, 185), (314, 186), (314, 187), (314, 188), (314, 190), (315, 82), (315, 84), (315, 85), (315, 86), (315, 87), (315, 88), (315, 89), (315, 90), (315, 91), (315, 92), (315, 93),
(315, 94), (315, 95), (315, 96), (315, 97), (315, 98), (315, 99), (315, 100), (315, 101), (315, 102), (315, 103), (315, 104), (315, 105), (315, 106), (315, 107), (315, 108), (315, 109), (315, 110), (315, 111), (315, 112), (315, 113), (315, 114), (315, 115), (315, 116), (315, 117), (315, 118), (315, 119), (315, 120), (315, 121), (315, 122), (315, 123), (315, 124), (315, 125), (315, 126), (315, 127), (315, 128), (315, 129), (315, 130), (315, 131), (315, 132), (315, 133), (315, 134), (315, 135), (315, 136), (315, 137), (315, 138), (315, 139), (315, 140), (315, 141), (315, 142), (315, 143), (315, 144), (315, 145), (315, 146), (315, 147), (315, 148), (315, 149), (315, 150), (315, 151), (315, 152), (315, 153), (315, 154), (315, 155), (315, 156), (315, 157), (315, 158), (315, 159), (315, 160), (315, 161), (315, 162), (315, 163), (315, 164), (315, 165),
(315, 166), (315, 167), (315, 168), (315, 169), (315, 170), (315, 171), (315, 172), (315, 173), (315, 174), (315, 175), (315, 176), (315, 177), (315, 178), (315, 179), (315, 180), (315, 181), (315, 182), (315, 183), (315, 184), (315, 185), (315, 186), (315, 187), (315, 188), (315, 190), (316, 82), (316, 84), (316, 85), (316, 86), (316, 87), (316, 88), (316, 89), (316, 90), (316, 91), (316, 92), (316, 93), (316, 94), (316, 95), (316, 96), (316, 97), (316, 98), (316, 99), (316, 100), (316, 101), (316, 102), (316, 103), (316, 104), (316, 105), (316, 106), (316, 107), (316, 108), (316, 109), (316, 110), (316, 111), (316, 112), (316, 113), (316, 114), (316, 115), (316, 116), (316, 117), (316, 118), (316, 119), (316, 120), (316, 121), (316, 122), (316, 123), (316, 124), (316, 125), (316, 126), (316, 127), (316, 128), (316, 129), (316, 130),
(316, 131), (316, 132), (316, 133), (316, 134), (316, 135), (316, 136), (316, 137), (316, 138), (316, 139), (316, 140), (316, 141), (316, 142), (316, 143), (316, 144), (316, 145), (316, 146), (316, 147), (316, 148), (316, 149), (316, 150), (316, 151), (316, 152), (316, 153), (316, 154), (316, 155), (316, 156), (316, 157), (316, 158), (316, 159), (316, 160), (316, 161), (316, 162), (316, 163), (316, 164), (316, 165), (316, 166), (316, 167), (316, 168), (316, 169), (316, 170), (316, 171), (316, 172), (316, 173), (316, 174), (316, 175), (316, 176), (316, 177), (316, 178), (316, 179), (316, 180), (316, 181), (316, 182), (316, 183), (316, 184), (316, 185), (316, 186), (316, 187), (316, 188), (316, 190), (317, 82), (317, 84), (317, 85), (317, 86), (317, 87), (317, 88), (317, 89), (317, 90), (317, 91), (317, 92), (317, 93), (317, 94), (317, 95),
(317, 96), (317, 97), (317, 98), (317, 99), (317, 100), (317, 101), (317, 102), (317, 103), (317, 104), (317, 105), (317, 106), (317, 107), (317, 108), (317, 109), (317, 110), (317, 111), (317, 112), (317, 113), (317, 114), (317, 115), (317, 116), (317, 117), (317, 118), (317, 119), (317, 120), (317, 121), (317, 122), (317, 123), (317, 124), (317, 125), (317, 126), (317, 127), (317, 128), (317, 129), (317, 130), (317, 131), (317, 132), (317, 133), (317, 134), (317, 135), (317, 136), (317, 137), (317, 138), (317, 139), (317, 140), (317, 141), (317, 142), (317, 143), (317, 144), (317, 145), (317, 146), (317, 147), (317, 148), (317, 149), (317, 150), (317, 151), (317, 152), (317, 153), (317, 154), (317, 155), (317, 156), (317, 157), (317, 158), (317, 159), (317, 160), (317, 161), (317, 162), (317, 163), (317, 164), (317, 165), (317, 166), (317, 167),
(317, 168), (317, 169), (317, 170), (317, 171), (317, 172), (317, 173), (317, 174), (317, 175), (317, 176), (317, 177), (317, 178), (317, 179), (317, 180), (317, 181), (317, 182), (317, 183), (317, 184), (317, 185), (317, 186), (317, 187), (317, 188), (317, 190), (318, 82), (318, 84), (318, 85), (318, 86), (318, 87), (318, 88), (318, 89), (318, 90), (318, 91), (318, 92), (318, 93), (318, 94), (318, 95), (318, 96), (318, 97), (318, 98), (318, 99), (318, 100), (318, 101), (318, 102), (318, 103), (318, 104), (318, 105), (318, 106), (318, 107), (318, 108), (318, 109), (318, 110), (318, 111), (318, 112), (318, 113), (318, 114), (318, 115), (318, 116), (318, 117), (318, 118), (318, 119), (318, 120), (318, 121), (318, 122), (318, 123), (318, 124), (318, 125), (318, 126), (318, 127), (318, 128), (318, 129), (318, 130), (318, 131), (318, 132),
(318, 133), (318, 134), (318, 135), (318, 136), (318, 137), (318, 138), (318, 139), (318, 140), (318, 141), (318, 142), (318, 143), (318, 144), (318, 145), (318, 146), (318, 147), (318, 148), (318, 149), (318, 150), (318, 151), (318, 152), (318, 153), (318, 154), (318, 155), (318, 156), (318, 157), (318, 158), (318, 159), (318, 160), (318, 161), (318, 162), (318, 163), (318, 164), (318, 165), (318, 166), (318, 167), (318, 168), (318, 169), (318, 170), (318, 171), (318, 172), (318, 173), (318, 174), (318, 175), (318, 176), (318, 177), (318, 178), (318, 179), (318, 180), (318, 181), (318, 182), (318, 183), (318, 184), (318, 185), (318, 186), (318, 187), (318, 188), (318, 190), (319, 81), (319, 83), (319, 84), (319, 85), (319, 86), (319, 87), (319, 88), (319, 89), (319, 90), (319, 91), (319, 92), (319, 93), (319, 94), (319, 95), (319, 96),
(319, 97), (319, 98), (319, 99), (319, 100), (319, 101), (319, 102), (319, 103), (319, 104), (319, 105), (319, 106), (319, 107), (319, 108), (319, 109), (319, 110), (319, 111), (319, 112), (319, 113), (319, 114), (319, 115), (319, 116), (319, 117), (319, 118), (319, 119), (319, 120), (319, 121), (319, 122), (319, 123), (319, 124), (319, 125), (319, 126), (319, 127), (319, 128), (319, 129), (319, 130), (319, 131), (319, 132), (319, 133), (319, 134), (319, 135), (319, 136), (319, 137), (319, 138), (319, 139), (319, 140), (319, 141), (319, 142), (319, 143), (319, 144), (319, 145), (319, 146), (319, 147), (319, 148), (319, 149), (319, 150), (319, 151), (319, 152), (319, 153), (319, 154), (319, 155), (319, 156), (319, 157), (319, 158), (319, 159), (319, 160), (319, 161), (319, 162), (319, 163), (319, 164), (319, 165), (319, 166), (319, 167), (319, 168),
(319, 169), (319, 170), (319, 171), (319, 172), (319, 173), (319, 174), (319, 175), (319, 176), (319, 177), (319, 178), (319, 179), (319, 180), (319, 181), (319, 182), (319, 183), (319, 184), (319, 185), (319, 186), (319, 187), (319, 189), (320, 81), (320, 83), (320, 84), (320, 85), (320, 86), (320, 87), (320, 88), (320, 89), (320, 90), (320, 91), (320, 92), (320, 93), (320, 94), (320, 95), (320, 96), (320, 97), (320, 98), (320, 99), (320, 100), (320, 101), (320, 102), (320, 103), (320, 104), (320, 105), (320, 106), (320, 107), (320, 108), (320, 109), (320, 110), (320, 111), (320, 112), (320, 113), (320, 114), (320, 115), (320, 116), (320, 117), (320, 118), (320, 119), (320, 120), (320, 121), (320, 122), (320, 123), (320, 124), (320, 125), (320, 126), (320, 127), (320, 128), (320, 129), (320, 130), (320, 131), (320, 132), (320, 133),
(320, 134), (320, 135), (320, 136), (320, 137), (320, 138), (320, 139), (320, 140), (320, 141), (320, 142), (320, 143), (320, 144), (320, 145), (320, 146), (320, 147), (320, 148), (320, 149), (320, 150), (320, 151), (320, 152), (320, 153), (320, 154), (320, 155), (320, 156), (320, 157), (320, 158), (320, 159), (320, 160), (320, 161), (320, 162), (320, 163), (320, 164), (320, 165), (320, 166), (320, 167), (320, 168), (320, 169), (320, 170), (320, 171), (320, 172), (320, 173), (320, 174), (320, 175), (320, 176), (320, 177), (320, 178), (320, 179), (320, 180), (320, 181), (320, 182), (320, 183), (320, 184), (320, 185), (320, 186), (320, 187), (320, 189), (321, 81), (321, 83), (321, 84), (321, 85), (321, 86), (321, 87), (321, 88), (321, 89), (321, 90), (321, 91), (321, 92), (321, 93), (321, 94), (321, 95), (321, 96), (321, 97), (321, 98),
(321, 99), (321, 100), (321, 101), (321, 102), (321, 103), (321, 104), (321, 105), (321, 106), (321, 107), (321, 108), (321, 109), (321, 110), (321, 111), (321, 112), (321, 113), (321, 114), (321, 115), (321, 116), (321, 117), (321, 118), (321, 119), (321, 120), (321, 121), (321, 122), (321, 123), (321, 124), (321, 125), (321, 126), (321, 127), (321, 128), (321, 129), (321, 130), (321, 131), (321, 132), (321, 133), (321, 134), (321, 135), (321, 136), (321, 137), (321, 138), (321, 139), (321, 140), (321, 141), (321, 142), (321, 143), (321, 144), (321, 145), (321, 146), (321, 147), (321, 148), (321, 149), (321, 150), (321, 151), (321, 152), (321, 153), (321, 154), (321, 155), (321, 156), (321, 157), (321, 158), (321, 159), (321, 160), (321, 161), (321, 162), (321, 163), (321, 164), (321, 165), (321, 166), (321, 167), (321, 168), (321, 169), (321, 170),
(321, 171), (321, 172), (321, 173), (321, 174), (321, 175), (321, 176), (321, 177), (321, 178), (321, 179), (321, 180), (321, 181), (321, 182), (321, 183), (321, 184), (321, 185), (321, 186), (321, 188), (322, 81), (322, 83), (322, 84), (322, 85), (322, 86), (322, 87), (322, 88), (322, 89), (322, 90), (322, 91), (322, 92), (322, 93), (322, 94), (322, 95), (322, 96), (322, 97), (322, 98), (322, 99), (322, 100), (322, 101), (322, 102), (322, 103), (322, 104), (322, 105), (322, 106), (322, 107), (322, 108), (322, 109), (322, 110), (322, 111), (322, 112), (322, 113), (322, 114), (322, 115), (322, 116), (322, 117), (322, 118), (322, 119), (322, 120), (322, 121), (322, 122), (322, 123), (322, 124), (322, 125), (322, 126), (322, 127), (322, 128), (322, 129), (322, 130), (322, 131), (322, 132), (322, 133), (322, 134), (322, 135), (322, 136),
(322, 137), (322, 138), (322, 139), (322, 140), (322, 141), (322, 142), (322, 143), (322, 144), (322, 145), (322, 146), (322, 147), (322, 148), (322, 149), (322, 150), (322, 151), (322, 152), (322, 153), (322, 154), (322, 155), (322, 156), (322, 157), (322, 158), (322, 159), (322, 160), (322, 161), (322, 162), (322, 163), (322, 164), (322, 165), (322, 166), (322, 167), (322, 168), (322, 169), (322, 170), (322, 171), (322, 172), (322, 173), (322, 174), (322, 175), (322, 176), (322, 177), (322, 178), (322, 179), (322, 180), (322, 181), (322, 182), (322, 183), (322, 184), (322, 185), (322, 186), (322, 188), (323, 81), (323, 83), (323, 84), (323, 85), (323, 86), (323, 87), (323, 88), (323, 89), (323, 90), (323, 91), (323, 92), (323, 93), (323, 94), (323, 95), (323, 96), (323, 97), (323, 98), (323, 99), (323, 100), (323, 101), (323, 102),
(323, 103), (323, 104), (323, 105), (323, 106), (323, 107), (323, 108), (323, 109), (323, 110), (323, 111), (323, 112), (323, 113), (323, 114), (323, 115), (323, 116), (323, 117), (323, 118), (323, 119), (323, 120), (323, 121), (323, 122), (323, 123), (323, 124), (323, 125), (323, 126), (323, 127), (323, 128), (323, 129), (323, 130), (323, 131), (323, 132), (323, 133), (323, 134), (323, 135), (323, 136), (323, 137), (323, 138), (323, 139), (323, 140), (323, 141), (323, 142), (323, 143), (323, 144), (323, 145), (323, 146), (323, 147), (323, 148), (323, 149), (323, 150), (323, 151), (323, 152), (323, 153), (323, 154), (323, 155), (323, 156), (323, 157), (323, 158), (323, 159), (323, 160), (323, 161), (323, 162), (323, 163), (323, 164), (323, 165), (323, 166), (323, 167), (323, 168), (323, 169), (323, 170), (323, 171), (323, 172), (323, 173), (323, 174),
(323, 175), (323, 176), (323, 177), (323, 178), (323, 179), (323, 180), (323, 181), (323, 182), (323, 183), (323, 184), (323, 185), (323, 187), (324, 81), (324, 83), (324, 84), (324, 85), (324, 86), (324, 87), (324, 88), (324, 89), (324, 90), (324, 91), (324, 92), (324, 93), (324, 94), (324, 95), (324, 96), (324, 97), (324, 98), (324, 99), (324, 100), (324, 101), (324, 102), (324, 103), (324, 104), (324, 105), (324, 106), (324, 107), (324, 108), (324, 109), (324, 110), (324, 111), (324, 112), (324, 113), (324, 114), (324, 115), (324, 116), (324, 117), (324, 118), (324, 119), (324, 120), (324, 121), (324, 122), (324, 123), (324, 124), (324, 125), (324, 126), (324, 127), (324, 128), (324, 129), (324, 130), (324, 131), (324, 132), (324, 133), (324, 134), (324, 135), (324, 136), (324, 137), (324, 138), (324, 139), (324, 140), (324, 141),
(324, 142), (324, 143), (324, 144), (324, 145), (324, 146), (324, 147), (324, 148), (324, 149), (324, 150), (324, 151), (324, 152), (324, 153), (324, 154), (324, 155), (324, 156), (324, 157), (324, 158), (324, 159), (324, 160), (324, 161), (324, 162), (324, 163), (324, 164), (324, 165), (324, 166), (324, 167), (324, 168), (324, 169), (324, 170), (324, 171), (324, 172), (324, 173), (324, 174), (324, 175), (324, 176), (324, 177), (324, 178), (324, 179), (324, 180), (324, 181), (324, 182), (324, 183), (324, 184), (324, 185), (324, 187), (325, 80), (325, 82), (325, 83), (325, 84), (325, 85), (325, 86), (325, 87), (325, 88), (325, 89), (325, 90), (325, 91), (325, 92), (325, 93), (325, 94), (325, 95), (325, 96), (325, 97), (325, 98), (325, 99), (325, 100), (325, 101), (325, 102), (325, 103), (325, 104), (325, 105), (325, 106), (325, 107),
(325, 108), (325, 109), (325, 110), (325, 111), (325, 112), (325, 113), (325, 114), (325, 115), (325, 116), (325, 117), (325, 118), (325, 119), (325, 120), (325, 121), (325, 122), (325, 123), (325, 124), (325, 125), (325, 126), (325, 127), (325, 128), (325, 129), (325, 130), (325, 131), (325, 132), (325, 133), (325, 134), (325, 135), (325, 136), (325, 137), (325, 138), (325, 139), (325, 140), (325, 141), (325, 142), (325, 143), (325, 144), (325, 145), (325, 146), (325, 147), (325, 148), (325, 149), (325, 150), (325, 151), (325, 152), (325, 153), (325, 154), (325, 155), (325, 156), (325, 157), (325, 158), (325, 159), (325, 160), (325, 161), (325, 162), (325, 163), (325, 164), (325, 165), (325, 166), (325, 167), (325, 168), (325, 169), (325, 170), (325, 171), (325, 172), (325, 173), (325, 174), (325, 175), (325, 176), (325, 177), (325, 178), (325, 179),
(325, 180), (325, 181), (325, 182), (325, 183), (325, 184), (325, 185), (325, 187), (326, 80), (326, 82), (326, 83), (326, 84), (326, 85), (326, 86), (326, 87), (326, 88), (326, 89), (326, 90), (326, 91), (326, 92), (326, 93), (326, 94), (326, 95), (326, 96), (326, 97), (326, 98), (326, 99), (326, 100), (326, 101), (326, 102), (326, 103), (326, 104), (326, 105), (326, 106), (326, 107), (326, 108), (326, 109), (326, 110), (326, 111), (326, 112), (326, 113), (326, 114), (326, 115), (326, 116), (326, 117), (326, 118), (326, 119), (326, 120), (326, 121), (326, 122), (326, 123), (326, 124), (326, 125), (326, 126), (326, 127), (326, 128), (326, 129), (326, 130), (326, 131), (326, 132), (326, 133), (326, 134), (326, 135), (326, 136), (326, 137), (326, 138), (326, 139), (326, 140), (326, 141), (326, 142), (326, 143), (326, 144), (326, 145),
(326, 146), (326, 147), (326, 148), (326, 149), (326, 150), (326, 151), (326, 152), (326, 153), (326, 154), (326, 155), (326, 156), (326, 157), (326, 158), (326, 159), (326, 160), (326, 161), (326, 162), (326, 163), (326, 164), (326, 165), (326, 166), (326, 167), (326, 168), (326, 169), (326, 170), (326, 171), (326, 172), (326, 173), (326, 174), (326, 175), (326, 176), (326, 177), (326, 178), (326, 179), (326, 180), (326, 181), (326, 182), (326, 183), (326, 184), (326, 185), (326, 187), (327, 80), (327, 82), (327, 83), (327, 84), (327, 85), (327, 86), (327, 87), (327, 88), (327, 89), (327, 90), (327, 91), (327, 92), (327, 93), (327, 94), (327, 95), (327, 96), (327, 97), (327, 98), (327, 99), (327, 100), (327, 101), (327, 102), (327, 103), (327, 104), (327, 105), (327, 106), (327, 107), (327, 108), (327, 109), (327, 110), (327, 111),
(327, 112), (327, 113), (327, 114), (327, 115), (327, 116), (327, 117), (327, 118), (327, 119), (327, 120), (327, 121), (327, 122), (327, 123), (327, 124), (327, 125), (327, 126), (327, 127), (327, 128), (327, 129), (327, 130), (327, 131), (327, 132), (327, 133), (327, 134), (327, 135), (327, 136), (327, 137), (327, 138), (327, 139), (327, 140), (327, 141), (327, 142), (327, 143), (327, 144), (327, 145), (327, 146), (327, 147), (327, 148), (327, 149), (327, 150), (327, 151), (327, 152), (327, 153), (327, 154), (327, 155), (327, 156), (327, 157), (327, 158), (327, 159), (327, 160), (327, 161), (327, 162), (327, 163), (327, 164), (327, 165), (327, 166), (327, 167), (327, 168), (327, 169), (327, 170), (327, 171), (327, 172), (327, 173), (327, 174), (327, 175), (327, 176), (327, 177), (327, 178), (327, 179), (327, 180), (327, 181), (327, 182), (327, 183),
(327, 184), (327, 185), (327, 186), (327, 187), (327, 188), (328, 80), (328, 82), (328, 83), (328, 84), (328, 85), (328, 86), (328, 87), (328, 88), (328, 89), (328, 90), (328, 91), (328, 92), (328, 93), (328, 94), (328, 95), (328, 96), (328, 97), (328, 98), (328, 99), (328, 100), (328, 101), (328, 102), (328, 103), (328, 104), (328, 105), (328, 106), (328, 107), (328, 108), (328, 109), (328, 110), (328, 111), (328, 112), (328, 113), (328, 114), (328, 115), (328, 116), (328, 117), (328, 118), (328, 119), (328, 120), (328, 121), (328, 122), (328, 123), (328, 124), (328, 125), (328, 126), (328, 127), (328, 128), (328, 129), (328, 130), (328, 131), (328, 132), (328, 133), (328, 134), (328, 135), (328, 136), (328, 137), (328, 138), (328, 139), (328, 140), (328, 141), (328, 142), (328, 143), (328, 144), (328, 145), (328, 146), (328, 147),
(328, 148), (328, 149), (328, 150), (328, 151), (328, 152), (328, 153), (328, 154), (328, 155), (328, 156), (328, 157), (328, 158), (328, 159), (328, 160), (328, 161), (328, 162), (328, 163), (328, 164), (328, 165), (328, 166), (328, 167), (328, 168), (328, 169), (328, 170), (328, 171), (328, 172), (328, 173), (328, 174), (328, 175), (328, 176), (328, 177), (328, 178), (328, 179), (328, 180), (328, 181), (328, 182), (328, 183), (328, 184), (328, 185), (328, 186), (328, 188), (329, 80), (329, 82), (329, 83), (329, 84), (329, 85), (329, 86), (329, 87), (329, 88), (329, 89), (329, 90), (329, 91), (329, 92), (329, 93), (329, 94), (329, 95), (329, 96), (329, 97), (329, 98), (329, 99), (329, 100), (329, 101), (329, 102), (329, 103), (329, 104), (329, 105), (329, 106), (329, 107), (329, 108), (329, 109), (329, 110), (329, 111), (329, 112),
(329, 113), (329, 114), (329, 115), (329, 116), (329, 117), (329, 118), (329, 119), (329, 120), (329, 121), (329, 122), (329, 123), (329, 124), (329, 125), (329, 126), (329, 127), (329, 128), (329, 129), (329, 130), (329, 131), (329, 132), (329, 133), (329, 134), (329, 135), (329, 136), (329, 137), (329, 138), (329, 139), (329, 140), (329, 141), (329, 142), (329, 143), (329, 144), (329, 145), (329, 146), (329, 147), (329, 148), (329, 149), (329, 150), (329, 151), (329, 152), (329, 153), (329, 154), (329, 155), (329, 156), (329, 157), (329, 158), (329, 159), (329, 160), (329, 161), (329, 162), (329, 163), (329, 164), (329, 165), (329, 166), (329, 167), (329, 168), (329, 169), (329, 170), (329, 171), (329, 172), (329, 173), (329, 174), (329, 175), (329, 176), (329, 177), (329, 178), (329, 179), (329, 180), (329, 181), (329, 182), (329, 183), (329, 184),
(329, 185), (329, 186), (329, 188), (330, 80), (330, 82), (330, 83), (330, 84), (330, 85), (330, 86), (330, 87), (330, 88), (330, 89), (330, 90), (330, 91), (330, 92), (330, 93), (330, 94), (330, 95), (330, 96), (330, 97), (330, 98), (330, 99), (330, 100), (330, 101), (330, 102), (330, 103), (330, 104), (330, 105), (330, 106), (330, 107), (330, 108), (330, 109), (330, 110), (330, 111), (330, 112), (330, 113), (330, 114), (330, 115), (330, 116), (330, 117), (330, 118), (330, 119), (330, 120), (330, 121), (330, 122), (330, 123), (330, 124), (330, 125), (330, 126), (330, 127), (330, 128), (330, 129), (330, 130), (330, 131), (330, 132), (330, 133), (330, 134), (330, 135), (330, 136), (330, 137), (330, 138), (330, 139), (330, 140), (330, 141), (330, 142), (330, 143), (330, 144), (330, 145), (330, 146), (330, 147), (330, 148), (330, 149),
(330, 150), (330, 151), (330, 152), (330, 153), (330, 154), (330, 155), (330, 156), (330, 157), (330, 158), (330, 159), (330, 160), (330, 161), (330, 162), (330, 163), (330, 164), (330, 165), (330, 166), (330, 167), (330, 168), (330, 169), (330, 170), (330, 171), (330, 172), (330, 173), (330, 174), (330, 175), (330, 176), (330, 177), (330, 178), (330, 179), (330, 180), (330, 181), (330, 182), (330, 183), (330, 184), (330, 185), (330, 186), (330, 188), (331, 80), (331, 82), (331, 83), (331, 84), (331, 85), (331, 86), (331, 87), (331, 88), (331, 89), (331, 90), (331, 91), (331, 92), (331, 93), (331, 94), (331, 95), (331, 96), (331, 97), (331, 98), (331, 99), (331, 100), (331, 101), (331, 102), (331, 103), (331, 104), (331, 105), (331, 106), (331, 107), (331, 108), (331, 109), (331, 110), (331, 111), (331, 112), (331, 113), (331, 114),
(331, 115), (331, 116), (331, 117), (331, 118), (331, 119), (331, 120), (331, 121), (331, 122), (331, 123), (331, 124), (331, 125), (331, 126), (331, 127), (331, 128), (331, 129), (331, 130), (331, 131), (331, 132), (331, 133), (331, 134), (331, 135), (331, 136), (331, 137), (331, 138), (331, 139), (331, 140), (331, 141), (331, 142), (331, 143), (331, 144), (331, 145), (331, 146), (331, 147), (331, 148), (331, 149), (331, 150), (331, 151), (331, 152), (331, 153), (331, 154), (331, 155), (331, 156), (331, 157), (331, 158), (331, 159), (331, 160), (331, 161), (331, 162), (331, 163), (331, 164), (331, 165), (331, 166), (331, 167), (331, 168), (331, 169), (331, 170), (331, 171), (331, 172), (331, 173), (331, 174), (331, 175), (331, 176), (331, 177), (331, 178), (331, 179), (331, 180), (331, 181), (331, 182), (331, 183), (331, 184), (331, 185), (331, 186),
(331, 188), (332, 80), (332, 82), (332, 83), (332, 84), (332, 85), (332, 86), (332, 87), (332, 88), (332, 89), (332, 90), (332, 91), (332, 92), (332, 93), (332, 94), (332, 95), (332, 96), (332, 97), (332, 98), (332, 99), (332, 100), (332, 101), (332, 102), (332, 103), (332, 104), (332, 105), (332, 106), (332, 107), (332, 108), (332, 109), (332, 110), (332, 111), (332, 112), (332, 113), (332, 114), (332, 115), (332, 116), (332, 117), (332, 118), (332, 119), (332, 120), (332, 121), (332, 122), (332, 123), (332, 124), (332, 125), (332, 126), (332, 127), (332, 128), (332, 129), (332, 130), (332, 131), (332, 132), (332, 133), (332, 134), (332, 135), (332, 136), (332, 137), (332, 138), (332, 139), (332, 140), (332, 141), (332, 142), (332, 143), (332, 144), (332, 145), (332, 146), (332, 147), (332, 148), (332, 149), (332, 150), (332, 151),
(332, 152), (332, 153), (332, 154), (332, 155), (332, 156), (332, 157), (332, 158), (332, 159), (332, 160), (332, 161), (332, 162), (332, 163), (332, 164), (332, 165), (332, 166), (332, 167), (332, 168), (332, 169), (332, 170), (332, 171), (332, 172), (332, 173), (332, 174), (332, 175), (332, 176), (332, 177), (332, 178), (332, 179), (332, 180), (332, 181), (332, 182), (332, 183), (332, 184), (332, 185), (332, 186), (332, 187), (332, 189), (333, 80), (333, 82), (333, 83), (333, 84), (333, 85), (333, 86), (333, 87), (333, 88), (333, 89), (333, 90), (333, 91), (333, 92), (333, 93), (333, 94), (333, 95), (333, 96), (333, 97), (333, 98), (333, 99), (333, 100), (333, 101), (333, 102), (333, 103), (333, 104), (333, 105), (333, 106), (333, 107), (333, 108), (333, 109), (333, 110), (333, 111), (333, 112), (333, 113), (333, 114), (333, 115),
(333, 116), (333, 117), (333, 118), (333, 119), (333, 120), (333, 121), (333, 122), (333, 123), (333, 124), (333, 125), (333, 126), (333, 127), (333, 128), (333, 129), (333, 130), (333, 131), (333, 132), (333, 133), (333, 134), (333, 135), (333, 136), (333, 137), (333, 138), (333, 139), (333, 140), (333, 141), (333, 142), (333, 143), (333, 144), (333, 145), (333, 146), (333, 147), (333, 148), (333, 149), (333, 150), (333, 151), (333, 152), (333, 153), (333, 154), (333, 155), (333, 156), (333, 157), (333, 158), (333, 159), (333, 160), (333, 161), (333, 162), (333, 163), (333, 164), (333, 165), (333, 166), (333, 167), (333, 168), (333, 169), (333, 170), (333, 171), (333, 172), (333, 173), (333, 174), (333, 175), (333, 176), (333, 177), (333, 178), (333, 179), (333, 180), (333, 181), (333, 182), (333, 183), (333, 184), (333, 185), (333, 186), (333, 187),
(333, 189), (334, 80), (334, 82), (334, 83), (334, 84), (334, 85), (334, 86), (334, 87), (334, 88), (334, 89), (334, 90), (334, 91), (334, 92), (334, 93), (334, 94), (334, 95), (334, 96), (334, 97), (334, 98), (334, 99), (334, 100), (334, 101), (334, 102), (334, 103), (334, 104), (334, 105), (334, 106), (334, 107), (334, 108), (334, 109), (334, 110), (334, 111), (334, 112), (334, 113), (334, 114), (334, 115), (334, 116), (334, 117), (334, 118), (334, 119), (334, 120), (334, 121), (334, 122), (334, 123), (334, 124), (334, 125), (334, 126), (334, 127), (334, 128), (334, 129), (334, 130), (334, 131), (334, 132), (334, 133), (334, 134), (334, 135), (334, 136), (334, 137), (334, 138), (334, 139), (334, 140), (334, 141), (334, 142), (334, 143), (334, 144), (334, 145), (334, 146), (334, 147), (334, 148), (334, 149), (334, 150), (334, 151),
(334, 152), (334, 153), (334, 154), (334, 155), (334, 156), (334, 157), (334, 158), (334, 159), (334, 160), (334, 161), (334, 162), (334, 163), (334, 164), (334, 165), (334, 166), (334, 167), (334, 168), (334, 169), (334, 170), (334, 171), (334, 172), (334, 173), (334, 174), (334, 175), (334, 176), (334, 177), (334, 178), (334, 179), (334, 180), (334, 181), (334, 182), (334, 183), (334, 184), (334, 185), (334, 186), (334, 187), (334, 188), (334, 189), (334, 190), (335, 80), (335, 82), (335, 83), (335, 84), (335, 85), (335, 86), (335, 87), (335, 88), (335, 89), (335, 90), (335, 91), (335, 92), (335, 93), (335, 94), (335, 95), (335, 96), (335, 97), (335, 98), (335, 99), (335, 100), (335, 101), (335, 102), (335, 103), (335, 104), (335, 105), (335, 106), (335, 107), (335, 108), (335, 109), (335, 110), (335, 111), (335, 112), (335, 113),
(335, 114), (335, 115), (335, 116), (335, 117), (335, 118), (335, 119), (335, 120), (335, 121), (335, 122), (335, 123), (335, 124), (335, 125), (335, 126), (335, 127), (335, 128), (335, 129), (335, 130), (335, 131), (335, 132), (335, 133), (335, 134), (335, 135), (335, 136), (335, 137), (335, 138), (335, 139), (335, 140), (335, 141), (335, 142), (335, 143), (335, 144), (335, 145), (335, 146), (335, 147), (335, 148), (335, 149), (335, 150), (335, 151), (335, 152), (335, 153), (335, 154), (335, 155), (335, 156), (335, 157), (335, 158), (335, 159), (335, 160), (335, 161), (335, 162), (335, 163), (335, 164), (335, 165), (335, 166), (335, 167), (335, 168), (335, 169), (335, 170), (335, 171), (335, 172), (335, 173), (335, 174), (335, 175), (335, 176), (335, 177), (335, 178), (335, 179), (335, 180), (335, 181), (335, 182), (335, 183), (335, 184), (335, 185),
(335, 186), (335, 187), (335, 188), (335, 190), (336, 80), (336, 82), (336, 83), (336, 84), (336, 85), (336, 86), (336, 87), (336, 88), (336, 89), (336, 90), (336, 91), (336, 92), (336, 93), (336, 94), (336, 95), (336, 96), (336, 97), (336, 98), (336, 99), (336, 100), (336, 101), (336, 102), (336, 103), (336, 104), (336, 105), (336, 106), (336, 107), (336, 108), (336, 109), (336, 110), (336, 111), (336, 112), (336, 113), (336, 114), (336, 115), (336, 116), (336, 117), (336, 118), (336, 119), (336, 120), (336, 121), (336, 122), (336, 123), (336, 124), (336, 125), (336, 126), (336, 127), (336, 128), (336, 129), (336, 130), (336, 131), (336, 132), (336, 133), (336, 134), (336, 135), (336, 136), (336, 137), (336, 138), (336, 139), (336, 140), (336, 141), (336, 142), (336, 143), (336, 144), (336, 145), (336, 146), (336, 147), (336, 148),
(336, 149), (336, 150), (336, 151), (336, 152), (336, 153), (336, 154), (336, 155), (336, 156), (336, 157), (336, 158), (336, 159), (336, 160), (336, 161), (336, 162), (336, 163), (336, 164), (336, 165), (336, 166), (336, 167), (336, 168), (336, 169), (336, 170), (336, 171), (336, 172), (336, 173), (336, 174), (336, 175), (336, 176), (336, 177), (336, 178), (336, 179), (336, 180), (336, 181), (336, 182), (336, 183), (336, 184), (336, 185), (336, 186), (336, 187), (336, 188), (336, 189), (336, 191), (337, 80), (337, 82), (337, 83), (337, 84), (337, 85), (337, 86), (337, 87), (337, 88), (337, 89), (337, 90), (337, 91), (337, 92), (337, 93), (337, 94), (337, 95), (337, 96), (337, 97), (337, 98), (337, 99), (337, 100), (337, 101), (337, 102), (337, 103), (337, 104), (337, 105), (337, 106), (337, 107), (337, 108), (337, 109), (337, 110),
(337, 111), (337, 112), (337, 113), (337, 114), (337, 115), (337, 116), (337, 117), (337, 118), (337, 119), (337, 120), (337, 121), (337, 122), (337, 123), (337, 124), (337, 125), (337, 126), (337, 127), (337, 128), (337, 129), (337, 130), (337, 131), (337, 132), (337, 133), (337, 134), (337, 135), (337, 136), (337, 137), (337, 138), (337, 139), (337, 140), (337, 141), (337, 142), (337, 143), (337, 144), (337, 145), (337, 146), (337, 147), (337, 148), (337, 149), (337, 150), (337, 151), (337, 152), (337, 153), (337, 154), (337, 155), (337, 156), (337, 157), (337, 158), (337, 159), (337, 160), (337, 161), (337, 162), (337, 163), (337, 164), (337, 165), (337, 166), (337, 167), (337, 168), (337, 169), (337, 170), (337, 171), (337, 172), (337, 173), (337, 174), (337, 175), (337, 176), (337, 177), (337, 178), (337, 179), (337, 180), (337, 181), (337, 182),
(337, 183), (337, 184), (337, 185), (337, 186), (337, 187), (337, 188), (337, 189), (337, 191), (338, 81), (338, 83), (338, 84), (338, 85), (338, 86), (338, 87), (338, 88), (338, 89), (338, 90), (338, 91), (338, 92), (338, 93), (338, 94), (338, 95), (338, 96), (338, 97), (338, 98), (338, 99), (338, 100), (338, 101), (338, 102), (338, 103), (338, 104), (338, 105), (338, 106), (338, 107), (338, 108), (338, 109), (338, 110), (338, 111), (338, 112), (338, 113), (338, 114), (338, 115), (338, 116), (338, 117), (338, 118), (338, 119), (338, 120), (338, 121), (338, 122), (338, 123), (338, 124), (338, 125), (338, 126), (338, 127), (338, 128), (338, 129), (338, 130), (338, 131), (338, 132), (338, 133), (338, 134), (338, 135), (338, 136), (338, 137), (338, 138), (338, 139), (338, 140), (338, 141), (338, 142), (338, 143), (338, 144), (338, 145),
(338, 146), (338, 147), (338, 148), (338, 149), (338, 150), (338, 151), (338, 152), (338, 153), (338, 154), (338, 155), (338, 156), (338, 157), (338, 158), (338, 159), (338, 160), (338, 161), (338, 162), (338, 163), (338, 164), (338, 165), (338, 166), (338, 167), (338, 168), (338, 169), (338, 170), (338, 171), (338, 172), (338, 173), (338, 174), (338, 175), (338, 176), (338, 177), (338, 178), (338, 179), (338, 180), (338, 181), (338, 182), (338, 183), (338, 184), (338, 185), (338, 186), (338, 187), (338, 188), (338, 189), (338, 190), (338, 192), (339, 81), (339, 83), (339, 84), (339, 85), (339, 86), (339, 87), (339, 88), (339, 89), (339, 90), (339, 91), (339, 92), (339, 93), (339, 94), (339, 95), (339, 96), (339, 97), (339, 98), (339, 99), (339, 100), (339, 101), (339, 102), (339, 103), (339, 104), (339, 105), (339, 106), (339, 107),
(339, 108), (339, 109), (339, 110), (339, 111), (339, 112), (339, 113), (339, 114), (339, 115), (339, 116), (339, 117), (339, 118), (339, 119), (339, 120), (339, 121), (339, 122), (339, 123), (339, 124), (339, 125), (339, 126), (339, 127), (339, 128), (339, 129), (339, 130), (339, 131), (339, 132), (339, 133), (339, 134), (339, 135), (339, 136), (339, 137), (339, 138), (339, 139), (339, 140), (339, 141), (339, 142), (339, 143), (339, 144), (339, 145), (339, 146), (339, 147), (339, 148), (339, 149), (339, 150), (339, 151), (339, 152), (339, 153), (339, 154), (339, 155), (339, 156), (339, 157), (339, 158), (339, 159), (339, 160), (339, 161), (339, 162), (339, 163), (339, 164), (339, 165), (339, 166), (339, 167), (339, 168), (339, 169), (339, 170), (339, 171), (339, 172), (339, 173), (339, 174), (339, 175), (339, 176), (339, 177), (339, 178), (339, 179),
(339, 180), (339, 181), (339, 182), (339, 183), (339, 184), (339, 185), (339, 186), (339, 187), (339, 188), (339, 189), (339, 190), (339, 191), (339, 193), (340, 82), (340, 84), (340, 85), (340, 86), (340, 87), (340, 88), (340, 89), (340, 90), (340, 91), (340, 92), (340, 93), (340, 94), (340, 95), (340, 96), (340, 97), (340, 98), (340, 99), (340, 100), (340, 101), (340, 102), (340, 103), (340, 104), (340, 105), (340, 106), (340, 107), (340, 108), (340, 109), (340, 110), (340, 111), (340, 112), (340, 113), (340, 114), (340, 115), (340, 116), (340, 117), (340, 118), (340, 119), (340, 120), (340, 121), (340, 122), (340, 123), (340, 124), (340, 125), (340, 126), (340, 127), (340, 128), (340, 129), (340, 130), (340, 131), (340, 132), (340, 133), (340, 134), (340, 135), (340, 136), (340, 137), (340, 138), (340, 139), (340, 140), (340, 141),
(340, 142), (340, 143), (340, 144), (340, 145), (340, 146), (340, 147), (340, 148), (340, 149), (340, 150), (340, 151), (340, 152), (340, 153), (340, 154), (340, 155), (340, 156), (340, 157), (340, 158), (340, 159), (340, 160), (340, 161), (340, 162), (340, 163), (340, 164), (340, 165), (340, 166), (340, 167), (340, 168), (340, 169), (340, 170), (340, 171), (340, 172), (340, 173), (340, 174), (340, 175), (340, 176), (340, 177), (340, 178), (340, 179), (340, 180), (340, 181), (340, 182), (340, 183), (340, 184), (340, 185), (340, 186), (340, 187), (340, 188), (340, 189), (340, 190), (340, 191), (340, 192), (340, 194), (341, 82), (341, 84), (341, 85), (341, 86), (341, 87), (341, 88), (341, 89), (341, 90), (341, 91), (341, 92), (341, 93), (341, 94), (341, 95), (341, 96), (341, 97), (341, 98), (341, 99), (341, 100), (341, 101), (341, 102),
(341, 103), (341, 104), (341, 105), (341, 106), (341, 107), (341, 108), (341, 109), (341, 110), (341, 111), (341, 112), (341, 113), (341, 114), (341, 115), (341, 116), (341, 117), (341, 118), (341, 119), (341, 120), (341, 121), (341, 122), (341, 123), (341, 124), (341, 125), (341, 126), (341, 127), (341, 128), (341, 129), (341, 130), (341, 131), (341, 132), (341, 133), (341, 134), (341, 135), (341, 136), (341, 137), (341, 138), (341, 139), (341, 140), (341, 141), (341, 142), (341, 143), (341, 144), (341, 145), (341, 146), (341, 147), (341, 148), (341, 149), (341, 150), (341, 151), (341, 152), (341, 153), (341, 154), (341, 155), (341, 156), (341, 157), (341, 158), (341, 159), (341, 160), (341, 161), (341, 162), (341, 163), (341, 164), (341, 165), (341, 166), (341, 167), (341, 168), (341, 169), (341, 170), (341, 171), (341, 172), (341, 173), (341, 174),
(341, 175), (341, 176), (341, 177), (341, 178), (341, 179), (341, 180), (341, 181), (341, 182), (341, 183), (341, 184), (341, 185), (341, 186), (341, 187), (341, 188), (341, 189), (341, 190), (341, 191), (341, 192), (341, 193), (341, 195), (342, 82), (342, 84), (342, 85), (342, 86), (342, 87), (342, 88), (342, 89), (342, 90), (342, 91), (342, 92), (342, 93), (342, 94), (342, 95), (342, 96), (342, 97), (342, 98), (342, 99), (342, 100), (342, 101), (342, 102), (342, 103), (342, 104), (342, 105), (342, 106), (342, 107), (342, 108), (342, 109), (342, 110), (342, 111), (342, 112), (342, 113), (342, 114), (342, 115), (342, 116), (342, 117), (342, 118), (342, 119), (342, 120), (342, 121), (342, 122), (342, 123), (342, 124), (342, 125), (342, 126), (342, 127), (342, 128), (342, 129), (342, 130), (342, 131), (342, 132), (342, 133), (342, 134),
(342, 135), (342, 136), (342, 137), (342, 138), (342, 139), (342, 140), (342, 141), (342, 142), (342, 143), (342, 144), (342, 145), (342, 146), (342, 147), (342, 148), (342, 149), (342, 150), (342, 151), (342, 152), (342, 153), (342, 154), (342, 155), (342, 156), (342, 157), (342, 158), (342, 159), (342, 160), (342, 161), (342, 162), (342, 163), (342, 164), (342, 165), (342, 166), (342, 167), (342, 168), (342, 169), (342, 170), (342, 171), (342, 172), (342, 173), (342, 174), (342, 175), (342, 176), (342, 177), (342, 178), (342, 179), (342, 180), (342, 181), (342, 182), (342, 183), (342, 184), (342, 185), (342, 186), (342, 187), (342, 188), (342, 189), (342, 190), (342, 191), (342, 192), (342, 193), (343, 82), (343, 84), (343, 85), (343, 86), (343, 87), (343, 88), (343, 89), (343, 90), (343, 91), (343, 92), (343, 93), (343, 94), (343, 95),
(343, 96), (343, 97), (343, 98), (343, 99), (343, 100), (343, 101), (343, 102), (343, 103), (343, 104), (343, 105), (343, 106), (343, 107), (343, 108), (343, 109), (343, 110), (343, 111), (343, 112), (343, 113), (343, 114), (343, 115), (343, 116), (343, 117), (343, 118), (343, 119), (343, 120), (343, 121), (343, 122), (343, 123), (343, 124), (343, 125), (343, 126), (343, 127), (343, 128), (343, 129), (343, 130), (343, 131), (343, 132), (343, 133), (343, 134), (343, 135), (343, 136), (343, 137), (343, 138), (343, 139), (343, 140), (343, 141), (343, 142), (343, 143), (343, 144), (343, 145), (343, 146), (343, 147), (343, 148), (343, 149), (343, 150), (343, 151), (343, 152), (343, 153), (343, 154), (343, 155), (343, 156), (343, 157), (343, 158), (343, 159), (343, 160), (343, 161), (343, 162), (343, 163), (343, 164), (343, 165), (343, 166), (343, 167),
(343, 168), (343, 169), (343, 170), (343, 171), (343, 172), (343, 173), (343, 174), (343, 175), (343, 176), (343, 177), (343, 178), (343, 179), (343, 180), (343, 181), (343, 182), (343, 183), (343, 184), (343, 185), (343, 186), (343, 187), (343, 188), (343, 189), (343, 190), (343, 191), (343, 192), (343, 193), (343, 194), (343, 196), (344, 83), (344, 85), (344, 86), (344, 87), (344, 88), (344, 89), (344, 90), (344, 91), (344, 92), (344, 93), (344, 94), (344, 95), (344, 96), (344, 97), (344, 98), (344, 99), (344, 100), (344, 101), (344, 102), (344, 103), (344, 104), (344, 105), (344, 106), (344, 107), (344, 108), (344, 109), (344, 110), (344, 111), (344, 112), (344, 113), (344, 114), (344, 115), (344, 116), (344, 117), (344, 118), (344, 119), (344, 120), (344, 121), (344, 122), (344, 123), (344, 124), (344, 125), (344, 126), (344, 127),
(344, 128), (344, 129), (344, 130), (344, 131), (344, 132), (344, 133), (344, 134), (344, 135), (344, 136), (344, 137), (344, 138), (344, 139), (344, 140), (344, 141), (344, 142), (344, 143), (344, 144), (344, 145), (344, 146), (344, 147), (344, 148), (344, 149), (344, 150), (344, 151), (344, 152), (344, 153), (344, 154), (344, 155), (344, 156), (344, 157), (344, 158), (344, 159), (344, 160), (344, 161), (344, 162), (344, 163), (344, 164), (344, 165), (344, 166), (344, 167), (344, 168), (344, 169), (344, 170), (344, 171), (344, 172), (344, 173), (344, 174), (344, 175), (344, 176), (344, 177), (344, 178), (344, 179), (344, 180), (344, 181), (344, 182), (344, 183), (344, 184), (344, 185), (344, 186), (344, 187), (344, 188), (344, 189), (344, 190), (344, 191), (344, 192), (344, 193), (344, 194), (344, 195), (344, 197), (345, 83), (345, 85), (345, 86),
(345, 87), (345, 88), (345, 89), (345, 90), (345, 91), (345, 92), (345, 93), (345, 94), (345, 95), (345, 96), (345, 97), (345, 98), (345, 99), (345, 100), (345, 101), (345, 102), (345, 103), (345, 104), (345, 105), (345, 106), (345, 107), (345, 108), (345, 109), (345, 110), (345, 111), (345, 112), (345, 113), (345, 114), (345, 115), (345, 116), (345, 117), (345, 118), (345, 119), (345, 120), (345, 121), (345, 122), (345, 123), (345, 124), (345, 125), (345, 126), (345, 127), (345, 128), (345, 129), (345, 130), (345, 131), (345, 132), (345, 133), (345, 134), (345, 135), (345, 136), (345, 137), (345, 138), (345, 139), (345, 140), (345, 141), (345, 142), (345, 143), (345, 144), (345, 145), (345, 146), (345, 147), (345, 148), (345, 149), (345, 150), (345, 151), (345, 152), (345, 153), (345, 154), (345, 155), (345, 156), (345, 157), (345, 158),
(345, 159), (345, 160), (345, 161), (345, 162), (345, 163), (345, 164), (345, 165), (345, 166), (345, 167), (345, 168), (345, 169), (345, 170), (345, 171), (345, 172), (345, 173), (345, 174), (345, 175), (345, 176), (345, 177), (345, 178), (345, 179), (345, 180), (345, 181), (345, 182), (345, 183), (345, 184), (345, 185), (345, 186), (345, 187), (345, 188), (345, 189), (345, 190), (345, 191), (345, 192), (345, 193), (345, 194), (345, 195), (345, 196), (345, 198), (346, 83), (346, 85), (346, 86), (346, 87), (346, 88), (346, 89), (346, 90), (346, 91), (346, 92), (346, 93), (346, 94), (346, 95), (346, 96), (346, 97), (346, 98), (346, 99), (346, 100), (346, 101), (346, 102), (346, 103), (346, 104), (346, 105), (346, 106), (346, 107), (346, 108), (346, 109), (346, 110), (346, 111), (346, 112), (346, 113), (346, 114), (346, 115), (346, 116),
(346, 117), (346, 118), (346, 119), (346, 120), (346, 121), (346, 122), (346, 123), (346, 124), (346, 125), (346, 126), (346, 127), (346, 128), (346, 129), (346, 130), (346, 131), (346, 132), (346, 133), (346, 134), (346, 135), (346, 136), (346, 137), (346, 138), (346, 139), (346, 140), (346, 141), (346, 142), (346, 143), (346, 144), (346, 145), (346, 146), (346, 147), (346, 148), (346, 149), (346, 150), (346, 151), (346, 152), (346, 153), (346, 154), (346, 155), (346, 156), (346, 157), (346, 158), (346, 159), (346, 160), (346, 161), (346, 162), (346, 163), (346, 164), (346, 165), (346, 166), (346, 167), (346, 168), (346, 169), (346, 170), (346, 171), (346, 172), (346, 173), (346, 174), (346, 175), (346, 176), (346, 177), (346, 178), (346, 179), (346, 180), (346, 181), (346, 182), (346, 183), (346, 184), (346, 185), (346, 186), (346, 187), (346, 188),
(346, 189), (346, 190), (346, 191), (346, 192), (346, 193), (346, 194), (346, 195), (346, 196), (346, 197), (346, 199), (347, 83), (347, 85), (347, 86), (347, 87), (347, 88), (347, 89), (347, 90), (347, 91), (347, 92), (347, 93), (347, 94), (347, 95), (347, 96), (347, 97), (347, 98), (347, 99), (347, 100), (347, 101), (347, 102), (347, 103), (347, 104), (347, 105), (347, 106), (347, 107), (347, 108), (347, 109), (347, 110), (347, 111), (347, 112), (347, 113), (347, 114), (347, 115), (347, 116), (347, 117), (347, 118), (347, 119), (347, 120), (347, 121), (347, 122), (347, 123), (347, 124), (347, 125), (347, 126), (347, 127), (347, 128), (347, 129), (347, 130), (347, 131), (347, 132), (347, 133), (347, 134), (347, 135), (347, 136), (347, 137), (347, 138), (347, 139), (347, 140), (347, 141), (347, 142), (347, 143), (347, 144), (347, 145),
(347, 146), (347, 147), (347, 148), (347, 149), (347, 150), (347, 151), (347, 152), (347, 153), (347, 154), (347, 155), (347, 156), (347, 157), (347, 158), (347, 159), (347, 160), (347, 161), (347, 162), (347, 163), (347, 164), (347, 165), (347, 166), (347, 167), (347, 168), (347, 169), (347, 170), (347, 171), (347, 172), (347, 173), (347, 174), (347, 175), (347, 176), (347, 177), (347, 178), (347, 179), (347, 180), (347, 181), (347, 182), (347, 183), (347, 184), (347, 185), (347, 186), (347, 187), (347, 188), (347, 189), (347, 190), (347, 191), (347, 192), (347, 193), (347, 194), (347, 195), (347, 196), (347, 197), (347, 199), (348, 83), (348, 85), (348, 86), (348, 87), (348, 88), (348, 89), (348, 90), (348, 91), (348, 92), (348, 93), (348, 94), (348, 95), (348, 96), (348, 97), (348, 98), (348, 99), (348, 100), (348, 101), (348, 102),
(348, 103), (348, 104), (348, 105), (348, 106), (348, 107), (348, 108), (348, 109), (348, 110), (348, 111), (348, 112), (348, 113), (348, 114), (348, 115), (348, 116), (348, 117), (348, 118), (348, 119), (348, 120), (348, 121), (348, 122), (348, 123), (348, 124), (348, 125), (348, 126), (348, 127), (348, 128), (348, 129), (348, 130), (348, 131), (348, 132), (348, 133), (348, 134), (348, 135), (348, 136), (348, 137), (348, 138), (348, 139), (348, 140), (348, 141), (348, 142), (348, 143), (348, 144), (348, 145), (348, 146), (348, 147), (348, 148), (348, 149), (348, 150), (348, 151), (348, 152), (348, 153), (348, 154), (348, 155), (348, 156), (348, 157), (348, 158), (348, 159), (348, 160), (348, 161), (348, 162), (348, 163), (348, 164), (348, 165), (348, 166), (348, 167), (348, 168), (348, 169), (348, 170), (348, 171), (348, 172), (348, 173), (348, 174),
(348, 175), (348, 176), (348, 177), (348, 178), (348, 179), (348, 180), (348, 181), (348, 182), (348, 183), (348, 184), (348, 185), (348, 186), (348, 187), (348, 188), (348, 189), (348, 190), (348, 191), (348, 192), (348, 193), (348, 194), (348, 195), (348, 196), (348, 197), (348, 198), (348, 200), (349, 83), (349, 85), (349, 86), (349, 87), (349, 88), (349, 89), (349, 90), (349, 91), (349, 92), (349, 93), (349, 94), (349, 95), (349, 96), (349, 97), (349, 98), (349, 99), (349, 100), (349, 101), (349, 102), (349, 103), (349, 104), (349, 105), (349, 106), (349, 107), (349, 108), (349, 109), (349, 110), (349, 111), (349, 112), (349, 113), (349, 114), (349, 115), (349, 116), (349, 117), (349, 118), (349, 119), (349, 120), (349, 121), (349, 122), (349, 123), (349, 124), (349, 125), (349, 126), (349, 127), (349, 128), (349, 129), (349, 130),
(349, 131), (349, 132), (349, 133), (349, 134), (349, 135), (349, 136), (349, 137), (349, 138), (349, 139), (349, 140), (349, 141), (349, 142), (349, 143), (349, 144), (349, 145), (349, 146), (349, 147), (349, 148), (349, 149), (349, 150), (349, 151), (349, 152), (349, 153), (349, 154), (349, 155), (349, 156), (349, 157), (349, 158), (349, 159), (349, 160), (349, 161), (349, 162), (349, 163), (349, 164), (349, 165), (349, 166), (349, 167), (349, 168), (349, 169), (349, 170), (349, 171), (349, 172), (349, 173), (349, 174), (349, 175), (349, 176), (349, 177), (349, 178), (349, 179), (349, 180), (349, 181), (349, 182), (349, 183), (349, 184), (349, 185), (349, 186), (349, 187), (349, 188), (349, 189), (349, 190), (349, 191), (349, 192), (349, 193), (349, 194), (349, 195), (349, 196), (349, 197), (349, 198), (349, 199), (349, 201), (350, 83), (350, 85),
(350, 86), (350, 87), (350, 88), (350, 89), (350, 90), (350, 91), (350, 92), (350, 93), (350, 94), (350, 95), (350, 96), (350, 97), (350, 98), (350, 99), (350, 100), (350, 101), (350, 102), (350, 103), (350, 104), (350, 105), (350, 106), (350, 107), (350, 108), (350, 109), (350, 110), (350, 111), (350, 112), (350, 113), (350, 114), (350, 115), (350, 116), (350, 117), (350, 118), (350, 119), (350, 120), (350, 121), (350, 122), (350, 123), (350, 124), (350, 125), (350, 126), (350, 127), (350, 128), (350, 129), (350, 130), (350, 131), (350, 132), (350, 133), (350, 134), (350, 135), (350, 136), (350, 137), (350, 138), (350, 139), (350, 140), (350, 141), (350, 142), (350, 143), (350, 144), (350, 145), (350, 146), (350, 147), (350, 148), (350, 149), (350, 150), (350, 151), (350, 152), (350, 153), (350, 154), (350, 155), (350, 156), (350, 157),
(350, 158), (350, 159), (350, 160), (350, 161), (350, 162), (350, 163), (350, 164), (350, 165), (350, 166), (350, 167), (350, 168), (350, 169), (350, 170), (350, 171), (350, 172), (350, 173), (350, 174), (350, 175), (350, 176), (350, 177), (350, 178), (350, 179), (350, 180), (350, 181), (350, 182), (350, 183), (350, 184), (350, 185), (350, 186), (350, 187), (350, 188), (350, 189), (350, 190), (350, 191), (350, 192), (350, 193), (350, 194), (350, 195), (350, 196), (350, 197), (350, 198), (350, 199), (350, 201), (351, 84), (351, 86), (351, 87), (351, 88), (351, 89), (351, 90), (351, 91), (351, 92), (351, 93), (351, 94), (351, 95), (351, 96), (351, 97), (351, 98), (351, 99), (351, 100), (351, 101), (351, 102), (351, 103), (351, 104), (351, 105), (351, 106), (351, 107), (351, 108), (351, 109), (351, 110), (351, 111), (351, 112), (351, 113),
(351, 114), (351, 115), (351, 116), (351, 117), (351, 118), (351, 119), (351, 120), (351, 121), (351, 122), (351, 123), (351, 124), (351, 125), (351, 126), (351, 127), (351, 128), (351, 129), (351, 130), (351, 131), (351, 132), (351, 133), (351, 134), (351, 135), (351, 136), (351, 137), (351, 138), (351, 139), (351, 140), (351, 141), (351, 142), (351, 143), (351, 144), (351, 145), (351, 146), (351, 147), (351, 148), (351, 149), (351, 150), (351, 151), (351, 152), (351, 153), (351, 154), (351, 155), (351, 156), (351, 157), (351, 158), (351, 159), (351, 160), (351, 161), (351, 162), (351, 163), (351, 164), (351, 165), (351, 166), (351, 167), (351, 168), (351, 169), (351, 170), (351, 171), (351, 172), (351, 173), (351, 174), (351, 175), (351, 176), (351, 177), (351, 178), (351, 179), (351, 180), (351, 181), (351, 182), (351, 183), (351, 184), (351, 185),
(351, 186), (351, 187), (351, 188), (351, 189), (351, 190), (351, 191), (351, 192), (351, 193), (351, 194), (351, 195), (351, 196), (351, 197), (351, 198), (351, 199), (351, 200), (351, 202), (352, 84), (352, 86), (352, 87), (352, 88), (352, 89), (352, 90), (352, 91), (352, 92), (352, 93), (352, 94), (352, 95), (352, 96), (352, 97), (352, 98), (352, 99), (352, 100), (352, 101), (352, 102), (352, 103), (352, 104), (352, 105), (352, 106), (352, 107), (352, 108), (352, 109), (352, 110), (352, 111), (352, 112), (352, 113), (352, 114), (352, 115), (352, 116), (352, 117), (352, 118), (352, 119), (352, 120), (352, 121), (352, 122), (352, 123), (352, 124), (352, 125), (352, 126), (352, 127), (352, 128), (352, 129), (352, 130), (352, 131), (352, 132), (352, 133), (352, 134), (352, 135), (352, 136), (352, 137), (352, 138), (352, 139), (352, 140),
(352, 141), (352, 142), (352, 143), (352, 144), (352, 145), (352, 146), (352, 147), (352, 148), (352, 149), (352, 150), (352, 151), (352, 152), (352, 153), (352, 154), (352, 155), (352, 156), (352, 157), (352, 158), (352, 159), (352, 160), (352, 161), (352, 162), (352, 163), (352, 164), (352, 165), (352, 166), (352, 167), (352, 168), (352, 169), (352, 170), (352, 171), (352, 172), (352, 173), (352, 174), (352, 175), (352, 176), (352, 177), (352, 178), (352, 179), (352, 180), (352, 181), (352, 182), (352, 183), (352, 184), (352, 185), (352, 186), (352, 187), (352, 188), (352, 189), (352, 190), (352, 191), (352, 192), (352, 193), (352, 194), (352, 195), (352, 196), (352, 197), (352, 198), (352, 199), (352, 200), (352, 202), (353, 84), (353, 86), (353, 87), (353, 88), (353, 89), (353, 90), (353, 91), (353, 92), (353, 93), (353, 94), (353, 95),
(353, 96), (353, 97), (353, 98), (353, 99), (353, 100), (353, 101), (353, 102), (353, 103), (353, 104), (353, 105), (353, 106), (353, 107), (353, 108), (353, 109), (353, 110), (353, 111), (353, 112), (353, 113), (353, 114), (353, 115), (353, 116), (353, 117), (353, 118), (353, 119), (353, 120), (353, 121), (353, 122), (353, 123), (353, 124), (353, 125), (353, 126), (353, 127), (353, 128), (353, 129), (353, 130), (353, 131), (353, 132), (353, 133), (353, 134), (353, 135), (353, 136), (353, 137), (353, 138), (353, 139), (353, 140), (353, 141), (353, 142), (353, 143), (353, 144), (353, 145), (353, 146), (353, 147), (353, 148), (353, 149), (353, 150), (353, 151), (353, 152), (353, 153), (353, 154), (353, 155), (353, 156), (353, 157), (353, 158), (353, 159), (353, 160), (353, 161), (353, 162), (353, 163), (353, 164), (353, 165), (353, 166), (353, 167),
(353, 168), (353, 169), (353, 170), (353, 171), (353, 172), (353, 173), (353, 174), (353, 175), (353, 176), (353, 177), (353, 178), (353, 179), (353, 180), (353, 181), (353, 182), (353, 183), (353, 184), (353, 185), (353, 186), (353, 187), (353, 188), (353, 189), (353, 190), (353, 191), (353, 192), (353, 193), (353, 194), (353, 195), (353, 196), (353, 197), (353, 198), (353, 199), (353, 200), (353, 201), (353, 203), (354, 84), (354, 86), (354, 87), (354, 88), (354, 89), (354, 90), (354, 91), (354, 92), (354, 93), (354, 94), (354, 95), (354, 96), (354, 97), (354, 98), (354, 99), (354, 100), (354, 101), (354, 102), (354, 103), (354, 104), (354, 105), (354, 106), (354, 107), (354, 108), (354, 109), (354, 110), (354, 111), (354, 112), (354, 113), (354, 114), (354, 115), (354, 116), (354, 117), (354, 118), (354, 119), (354, 120), (354, 121),
(354, 122), (354, 123), (354, 124), (354, 125), (354, 126), (354, 127), (354, 128), (354, 129), (354, 130), (354, 131), (354, 132), (354, 133), (354, 134), (354, 135), (354, 136), (354, 137), (354, 138), (354, 139), (354, 140), (354, 141), (354, 142), (354, 143), (354, 144), (354, 145), (354, 146), (354, 147), (354, 148), (354, 149), (354, 150), (354, 151), (354, 152), (354, 153), (354, 154), (354, 155), (354, 156), (354, 157), (354, 158), (354, 159), (354, 160), (354, 161), (354, 162), (354, 163), (354, 164), (354, 165), (354, 166), (354, 167), (354, 168), (354, 169), (354, 170), (354, 171), (354, 172), (354, 173), (354, 174), (354, 175), (354, 176), (354, 177), (354, 178), (354, 179), (354, 180), (354, 181), (354, 182), (354, 183), (354, 184), (354, 185), (354, 186), (354, 187), (354, 188), (354, 189), (354, 190), (354, 191), (354, 192), (354, 193),
(354, 194), (354, 195), (354, 196), (354, 197), (354, 198), (354, 199), (354, 200), (354, 201), (354, 203), (355, 85), (355, 87), (355, 88), (355, 89), (355, 90), (355, 91), (355, 92), (355, 93), (355, 94), (355, 95), (355, 96), (355, 97), (355, 98), (355, 99), (355, 100), (355, 101), (355, 102), (355, 103), (355, 104), (355, 105), (355, 106), (355, 107), (355, 108), (355, 109), (355, 110), (355, 111), (355, 112), (355, 113), (355, 114), (355, 115), (355, 116), (355, 117), (355, 118), (355, 119), (355, 120), (355, 121), (355, 122), (355, 123), (355, 124), (355, 125), (355, 126), (355, 127), (355, 128), (355, 129), (355, 130), (355, 131), (355, 132), (355, 133), (355, 134), (355, 135), (355, 136), (355, 137), (355, 138), (355, 139), (355, 140), (355, 141), (355, 142), (355, 143), (355, 144), (355, 145), (355, 146), (355, 147), (355, 148),
(355, 149), (355, 150), (355, 151), (355, 152), (355, 153), (355, 154), (355, 155), (355, 156), (355, 157), (355, 158), (355, 159), (355, 160), (355, 161), (355, 162), (355, 163), (355, 164), (355, 165), (355, 166), (355, 167), (355, 168), (355, 169), (355, 170), (355, 171), (355, 172), (355, 173), (355, 174), (355, 175), (355, 176), (355, 177), (355, 178), (355, 179), (355, 180), (355, 181), (355, 182), (355, 183), (355, 184), (355, 185), (355, 186), (355, 187), (355, 188), (355, 189), (355, 190), (355, 191), (355, 192), (355, 193), (355, 194), (355, 195), (355, 196), (355, 197), (355, 198), (355, 199), (355, 200), (355, 201), (355, 202), (355, 203), (355, 204), (356, 85), (356, 87), (356, 88), (356, 89), (356, 90), (356, 91), (356, 92), (356, 93), (356, 94), (356, 95), (356, 96), (356, 97), (356, 98), (356, 99), (356, 100), (356, 101),
(356, 102), (356, 103), (356, 104), (356, 105), (356, 106), (356, 107), (356, 108), (356, 109), (356, 110), (356, 111), (356, 112), (356, 113), (356, 114), (356, 115), (356, 116), (356, 117), (356, 118), (356, 119), (356, 120), (356, 121), (356, 122), (356, 123), (356, 124), (356, 125), (356, 126), (356, 127), (356, 128), (356, 129), (356, 130), (356, 131), (356, 132), (356, 133), (356, 134), (356, 135), (356, 136), (356, 137), (356, 138), (356, 139), (356, 140), (356, 141), (356, 142), (356, 143), (356, 144), (356, 145), (356, 146), (356, 147), (356, 148), (356, 149), (356, 150), (356, 151), (356, 152), (356, 153), (356, 154), (356, 155), (356, 156), (356, 157), (356, 158), (356, 159), (356, 160), (356, 161), (356, 162), (356, 163), (356, 164), (356, 165), (356, 166), (356, 167), (356, 168), (356, 169), (356, 170), (356, 171), (356, 172), (356, 173),
(356, 174), (356, 175), (356, 176), (356, 177), (356, 178), (356, 179), (356, 180), (356, 181), (356, 182), (356, 183), (356, 184), (356, 185), (356, 186), (356, 187), (356, 188), (356, 189), (356, 190), (356, 191), (356, 192), (356, 193), (356, 194), (356, 195), (356, 196), (356, 197), (356, 198), (356, 199), (356, 200), (356, 201), (356, 202), (356, 204), (357, 86), (357, 88), (357, 89), (357, 90), (357, 91), (357, 92), (357, 93), (357, 94), (357, 95), (357, 96), (357, 97), (357, 98), (357, 99), (357, 100), (357, 101), (357, 102), (357, 103), (357, 104), (357, 105), (357, 106), (357, 107), (357, 108), (357, 109), (357, 110), (357, 111), (357, 112), (357, 113), (357, 114), (357, 115), (357, 116), (357, 117), (357, 118), (357, 119), (357, 120), (357, 121), (357, 122), (357, 123), (357, 124), (357, 125), (357, 126), (357, 127), (357, 128),
(357, 129), (357, 130), (357, 131), (357, 132), (357, 133), (357, 134), (357, 135), (357, 136), (357, 137), (357, 138), (357, 139), (357, 140), (357, 141), (357, 142), (357, 143), (357, 144), (357, 145), (357, 146), (357, 147), (357, 148), (357, 149), (357, 150), (357, 151), (357, 152), (357, 153), (357, 154), (357, 155), (357, 156), (357, 157), (357, 158), (357, 159), (357, 160), (357, 161), (357, 162), (357, 163), (357, 164), (357, 165), (357, 166), (357, 167), (357, 168), (357, 169), (357, 170), (357, 171), (357, 172), (357, 173), (357, 174), (357, 175), (357, 176), (357, 177), (357, 178), (357, 179), (357, 180), (357, 181), (357, 182), (357, 183), (357, 184), (357, 185), (357, 186), (357, 187), (357, 188), (357, 189), (357, 190), (357, 191), (357, 192), (357, 193), (357, 194), (357, 195), (357, 196), (357, 197), (357, 198), (357, 199), (357, 200),
(357, 201), (357, 202), (357, 204), (358, 86), (358, 88), (358, 89), (358, 90), (358, 91), (358, 92), (358, 93), (358, 94), (358, 95), (358, 96), (358, 97), (358, 98), (358, 99), (358, 100), (358, 101), (358, 102), (358, 103), (358, 104), (358, 105), (358, 106), (358, 107), (358, 108), (358, 109), (358, 110), (358, 111), (358, 112), (358, 113), (358, 114), (358, 115), (358, 116), (358, 117), (358, 118), (358, 119), (358, 120), (358, 121), (358, 122), (358, 123), (358, 124), (358, 125), (358, 126), (358, 127), (358, 128), (358, 129), (358, 130), (358, 131), (358, 132), (358, 133), (358, 134), (358, 135), (358, 136), (358, 137), (358, 138), (358, 139), (358, 140), (358, 141), (358, 142), (358, 143), (358, 144), (358, 145), (358, 146), (358, 147), (358, 148), (358, 149), (358, 150), (358, 151), (358, 152), (358, 153), (358, 154), (358, 155),
(358, 156), (358, 157), (358, 158), (358, 159), (358, 160), (358, 161), (358, 162), (358, 163), (358, 164), (358, 165), (358, 166), (358, 167), (358, 168), (358, 169), (358, 170), (358, 171), (358, 172), (358, 173), (358, 174), (358, 175), (358, 176), (358, 177), (358, 178), (358, 179), (358, 180), (358, 181), (358, 182), (358, 183), (358, 184), (358, 185), (358, 186), (358, 187), (358, 188), (358, 189), (358, 190), (358, 191), (358, 192), (358, 193), (358, 194), (358, 195), (358, 196), (358, 197), (358, 198), (358, 199), (358, 200), (358, 201), (358, 205), (359, 87), (359, 89), (359, 90), (359, 91), (359, 92), (359, 93), (359, 94), (359, 95), (359, 96), (359, 97), (359, 98), (359, 99), (359, 100), (359, 101), (359, 102), (359, 103), (359, 104), (359, 105), (359, 106), (359, 107), (359, 108), (359, 109), (359, 110), (359, 111), (359, 112),
(359, 113), (359, 114), (359, 115), (359, 116), (359, 117), (359, 118), (359, 119), (359, 120), (359, 121), (359, 122), (359, 123), (359, 124), (359, 125), (359, 126), (359, 127), (359, 128), (359, 129), (359, 130), (359, 131), (359, 132), (359, 133), (359, 134), (359, 135), (359, 136), (359, 137), (359, 138), (359, 139), (359, 140), (359, 141), (359, 142), (359, 143), (359, 144), (359, 145), (359, 146), (359, 147), (359, 148), (359, 149), (359, 150), (359, 151), (359, 152), (359, 153), (359, 154), (359, 155), (359, 156), (359, 157), (359, 158), (359, 159), (359, 160), (359, 161), (359, 162), (359, 163), (359, 164), (359, 165), (359, 166), (359, 167), (359, 168), (359, 169), (359, 170), (359, 171), (359, 172), (359, 173), (359, 174), (359, 175), (359, 176), (359, 177), (359, 178), (359, 179), (359, 180), (359, 181), (359, 182), (359, 183), (359, 184),
(359, 185), (359, 186), (359, 187), (359, 188), (359, 189), (359, 190), (359, 191), (359, 192), (359, 193), (359, 194), (359, 195), (359, 196), (359, 197), (359, 198), (359, 199), (359, 200), (359, 201), (359, 203), (360, 88), (360, 90), (360, 91), (360, 92), (360, 93), (360, 94), (360, 95), (360, 96), (360, 97), (360, 98), (360, 99), (360, 100), (360, 101), (360, 102), (360, 103), (360, 104), (360, 105), (360, 106), (360, 107), (360, 108), (360, 109), (360, 110), (360, 111), (360, 112), (360, 113), (360, 114), (360, 115), (360, 116), (360, 117), (360, 118), (360, 119), (360, 120), (360, 121), (360, 122), (360, 123), (360, 124), (360, 125), (360, 126), (360, 127), (360, 128), (360, 129), (360, 130), (360, 131), (360, 132), (360, 133), (360, 134), (360, 135), (360, 136), (360, 137), (360, 138), (360, 139), (360, 140), (360, 141), (360, 142),
(360, 143), (360, 144), (360, 145), (360, 146), (360, 147), (360, 148), (360, 149), (360, 150), (360, 151), (360, 152), (360, 153), (360, 154), (360, 155), (360, 156), (360, 157), (360, 158), (360, 159), (360, 160), (360, 161), (360, 162), (360, 163), (360, 164), (360, 165), (360, 166), (360, 167), (360, 168), (360, 169), (360, 170), (360, 171), (360, 172), (360, 173), (360, 174), (360, 175), (360, 176), (360, 177), (360, 178), (360, 179), (360, 180), (360, 181), (360, 182), (360, 183), (360, 184), (360, 185), (360, 186), (360, 187), (360, 188), (360, 189), (360, 190), (360, 191), (360, 192), (360, 193), (360, 194), (360, 195), (360, 196), (360, 197), (360, 198), (360, 199), (360, 201), (360, 205), (360, 206), (361, 88), (361, 90), (361, 91), (361, 92), (361, 93), (361, 94), (361, 95), (361, 96), (361, 97), (361, 98), (361, 99), (361, 100),
(361, 101), (361, 102), (361, 103), (361, 104), (361, 105), (361, 106), (361, 107), (361, 108), (361, 109), (361, 110), (361, 111), (361, 112), (361, 113), (361, 114), (361, 115), (361, 116), (361, 117), (361, 118), (361, 119), (361, 120), (361, 121), (361, 122), (361, 123), (361, 124), (361, 125), (361, 126), (361, 127), (361, 128), (361, 129), (361, 130), (361, 131), (361, 132), (361, 133), (361, 134), (361, 135), (361, 136), (361, 137), (361, 138), (361, 139), (361, 140), (361, 141), (361, 142), (361, 143), (361, 144), (361, 145), (361, 146), (361, 147), (361, 148), (361, 149), (361, 150), (361, 151), (361, 152), (361, 153), (361, 154), (361, 155), (361, 156), (361, 157), (361, 158), (361, 159), (361, 160), (361, 161), (361, 162), (361, 163), (361, 164), (361, 165), (361, 166), (361, 167), (361, 168), (361, 169), (361, 170), (361, 171), (361, 172),
(361, 173), (361, 174), (361, 175), (361, 176), (361, 177), (361, 178), (361, 179), (361, 180), (361, 181), (361, 182), (361, 183), (361, 184), (361, 185), (361, 186), (361, 187), (361, 188), (361, 189), (361, 190), (361, 191), (361, 192), (361, 193), (361, 194), (361, 195), (361, 196), (361, 197), (361, 198), (361, 199), (361, 201), (361, 205), (361, 207), (362, 89), (362, 91), (362, 92), (362, 93), (362, 94), (362, 95), (362, 96), (362, 97), (362, 98), (362, 99), (362, 100), (362, 101), (362, 102), (362, 103), (362, 104), (362, 105), (362, 106), (362, 107), (362, 108), (362, 109), (362, 110), (362, 111), (362, 112), (362, 113), (362, 114), (362, 115), (362, 116), (362, 117), (362, 118), (362, 119), (362, 120), (362, 121), (362, 122), (362, 123), (362, 124), (362, 125), (362, 126), (362, 127), (362, 128), (362, 129), (362, 130), (362, 131),
(362, 132), (362, 133), (362, 134), (362, 135), (362, 136), (362, 137), (362, 138), (362, 139), (362, 140), (362, 141), (362, 142), (362, 143), (362, 144), (362, 145), (362, 146), (362, 147), (362, 148), (362, 149), (362, 150), (362, 151), (362, 152), (362, 153), (362, 154), (362, 155), (362, 156), (362, 157), (362, 158), (362, 159), (362, 160), (362, 161), (362, 162), (362, 163), (362, 164), (362, 165), (362, 166), (362, 167), (362, 168), (362, 169), (362, 170), (362, 171), (362, 172), (362, 173), (362, 174), (362, 175), (362, 176), (362, 177), (362, 178), (362, 179), (362, 180), (362, 181), (362, 182), (362, 183), (362, 184), (362, 185), (362, 186), (362, 187), (362, 188), (362, 189), (362, 190), (362, 191), (362, 192), (362, 193), (362, 194), (362, 195), (362, 196), (362, 197), (362, 198), (362, 200), (362, 206), (362, 207), (362, 212), (363, 90),
(363, 92), (363, 93), (363, 94), (363, 95), (363, 96), (363, 97), (363, 98), (363, 99), (363, 100), (363, 101), (363, 102), (363, 103), (363, 104), (363, 105), (363, 106), (363, 107), (363, 108), (363, 109), (363, 110), (363, 111), (363, 112), (363, 113), (363, 114), (363, 115), (363, 116), (363, 117), (363, 118), (363, 119), (363, 120), (363, 121), (363, 122), (363, 123), (363, 124), (363, 125), (363, 126), (363, 127), (363, 128), (363, 129), (363, 130), (363, 131), (363, 132), (363, 133), (363, 134), (363, 135), (363, 136), (363, 137), (363, 138), (363, 139), (363, 140), (363, 141), (363, 142), (363, 143), (363, 144), (363, 145), (363, 146), (363, 147), (363, 148), (363, 149), (363, 150), (363, 151), (363, 152), (363, 153), (363, 154), (363, 155), (363, 156), (363, 157), (363, 158), (363, 159), (363, 160), (363, 161), (363, 162), (363, 163),
(363, 164), (363, 165), (363, 166), (363, 167), (363, 168), (363, 169), (363, 170), (363, 171), (363, 172), (363, 173), (363, 174), (363, 175), (363, 176), (363, 177), (363, 178), (363, 179), (363, 180), (363, 181), (363, 182), (363, 183), (363, 184), (363, 185), (363, 186), (363, 187), (363, 188), (363, 189), (363, 190), (363, 191), (363, 192), (363, 193), (363, 194), (363, 195), (363, 196), (363, 197), (363, 198), (363, 200), (363, 206), (363, 208), (363, 211), (363, 213), (364, 90), (364, 92), (364, 93), (364, 94), (364, 95), (364, 96), (364, 97), (364, 98), (364, 99), (364, 100), (364, 101), (364, 102), (364, 103), (364, 104), (364, 105), (364, 106), (364, 107), (364, 108), (364, 109), (364, 110), (364, 111), (364, 112), (364, 113), (364, 114), (364, 115), (364, 116), (364, 117), (364, 118), (364, 119), (364, 120), (364, 121), (364, 122),
(364, 123), (364, 124), (364, 125), (364, 126), (364, 127), (364, 128), (364, 129), (364, 130), (364, 131), (364, 132), (364, 133), (364, 134), (364, 135), (364, 136), (364, 137), (364, 138), (364, 139), (364, 140), (364, 141), (364, 142), (364, 143), (364, 144), (364, 145), (364, 146), (364, 147), (364, 148), (364, 149), (364, 150), (364, 151), (364, 152), (364, 153), (364, 154), (364, 155), (364, 156), (364, 157), (364, 158), (364, 159), (364, 160), (364, 161), (364, 162), (364, 163), (364, 164), (364, 165), (364, 166), (364, 167), (364, 168), (364, 169), (364, 170), (364, 171), (364, 172), (364, 173), (364, 174), (364, 175), (364, 176), (364, 177), (364, 178), (364, 179), (364, 180), (364, 181), (364, 182), (364, 183), (364, 184), (364, 185), (364, 186), (364, 187), (364, 188), (364, 189), (364, 190), (364, 191), (364, 192), (364, 193), (364, 194),
(364, 195), (364, 196), (364, 197), (364, 198), (364, 200), (364, 207), (364, 210), (364, 211), (364, 212), (364, 214), (365, 91), (365, 93), (365, 94), (365, 95), (365, 96), (365, 97), (365, 98), (365, 99), (365, 100), (365, 101), (365, 102), (365, 103), (365, 104), (365, 105), (365, 106), (365, 107), (365, 108), (365, 109), (365, 110), (365, 111), (365, 112), (365, 113), (365, 114), (365, 115), (365, 116), (365, 117), (365, 118), (365, 119), (365, 120), (365, 121), (365, 122), (365, 123), (365, 124), (365, 125), (365, 126), (365, 127), (365, 128), (365, 129), (365, 130), (365, 131), (365, 132), (365, 133), (365, 134), (365, 135), (365, 136), (365, 137), (365, 138), (365, 139), (365, 140), (365, 141), (365, 142), (365, 143), (365, 144), (365, 145), (365, 146), (365, 147), (365, 148), (365, 149), (365, 150), (365, 151), (365, 152), (365, 153),
(365, 154), (365, 155), (365, 156), (365, 157), (365, 158), (365, 159), (365, 160), (365, 161), (365, 162), (365, 163), (365, 164), (365, 165), (365, 166), (365, 167), (365, 168), (365, 169), (365, 170), (365, 171), (365, 172), (365, 173), (365, 174), (365, 175), (365, 176), (365, 177), (365, 178), (365, 179), (365, 180), (365, 181), (365, 182), (365, 183), (365, 184), (365, 185), (365, 186), (365, 187), (365, 188), (365, 189), (365, 190), (365, 191), (365, 192), (365, 193), (365, 194), (365, 195), (365, 196), (365, 197), (365, 198), (365, 199), (365, 201), (365, 207), (365, 211), (365, 212), (365, 214), (366, 92), (366, 94), (366, 95), (366, 96), (366, 97), (366, 98), (366, 99), (366, 100), (366, 101), (366, 102), (366, 103), (366, 104), (366, 105), (366, 106), (366, 107), (366, 108), (366, 109), (366, 110), (366, 111), (366, 112), (366, 113),
(366, 114), (366, 115), (366, 116), (366, 117), (366, 118), (366, 119), (366, 120), (366, 121), (366, 122), (366, 123), (366, 124), (366, 125), (366, 126), (366, 127), (366, 128), (366, 129), (366, 130), (366, 131), (366, 132), (366, 133), (366, 134), (366, 135), (366, 136), (366, 137), (366, 138), (366, 139), (366, 140), (366, 141), (366, 142), (366, 143), (366, 144), (366, 145), (366, 146), (366, 147), (366, 148), (366, 149), (366, 150), (366, 151), (366, 152), (366, 153), (366, 154), (366, 155), (366, 156), (366, 157), (366, 158), (366, 159), (366, 160), (366, 161), (366, 162), (366, 163), (366, 164), (366, 165), (366, 166), (366, 167), (366, 168), (366, 169), (366, 170), (366, 171), (366, 172), (366, 173), (366, 174), (366, 175), (366, 176), (366, 177), (366, 178), (366, 179), (366, 180), (366, 181), (366, 182), (366, 183), (366, 184), (366, 185),
(366, 186), (366, 187), (366, 188), (366, 189), (366, 190), (366, 191), (366, 192), (366, 193), (366, 194), (366, 195), (366, 196), (366, 197), (366, 198), (366, 199), (366, 201), (366, 207), (366, 209), (366, 210), (366, 211), (366, 212), (366, 213), (366, 215), (367, 92), (367, 94), (367, 95), (367, 96), (367, 97), (367, 98), (367, 99), (367, 100), (367, 101), (367, 102), (367, 103), (367, 104), (367, 105), (367, 106), (367, 107), (367, 108), (367, 109), (367, 110), (367, 111), (367, 112), (367, 113), (367, 114), (367, 115), (367, 116), (367, 117), (367, 118), (367, 119), (367, 120), (367, 121), (367, 122), (367, 123), (367, 124), (367, 125), (367, 126), (367, 127), (367, 128), (367, 129), (367, 130), (367, 131), (367, 132), (367, 133), (367, 134), (367, 135), (367, 136), (367, 137), (367, 138), (367, 139), (367, 140), (367, 141), (367, 142),
(367, 143), (367, 144), (367, 145), (367, 146), (367, 147), (367, 148), (367, 149), (367, 150), (367, 151), (367, 152), (367, 153), (367, 154), (367, 155), (367, 156), (367, 157), (367, 158), (367, 159), (367, 160), (367, 161), (367, 162), (367, 163), (367, 164), (367, 165), (367, 166), (367, 167), (367, 168), (367, 169), (367, 170), (367, 171), (367, 172), (367, 173), (367, 174), (367, 175), (367, 176), (367, 177), (367, 178), (367, 179), (367, 180), (367, 181), (367, 182), (367, 183), (367, 184), (367, 185), (367, 186), (367, 187), (367, 188), (367, 189), (367, 190), (367, 191), (367, 192), (367, 193), (367, 194), (367, 195), (367, 196), (367, 197), (367, 198), (367, 199), (367, 201), (367, 209), (367, 210), (367, 211), (367, 212), (367, 213), (367, 215), (368, 93), (368, 95), (368, 96), (368, 97), (368, 98), (368, 99), (368, 100), (368, 101),
(368, 102), (368, 103), (368, 104), (368, 105), (368, 106), (368, 107), (368, 108), (368, 109), (368, 110), (368, 111), (368, 112), (368, 113), (368, 114), (368, 115), (368, 116), (368, 117), (368, 118), (368, 119), (368, 120), (368, 121), (368, 122), (368, 123), (368, 124), (368, 125), (368, 126), (368, 127), (368, 128), (368, 129), (368, 130), (368, 131), (368, 132), (368, 133), (368, 134), (368, 135), (368, 136), (368, 137), (368, 138), (368, 139), (368, 140), (368, 141), (368, 142), (368, 143), (368, 144), (368, 145), (368, 146), (368, 147), (368, 148), (368, 149), (368, 150), (368, 151), (368, 152), (368, 153), (368, 154), (368, 155), (368, 156), (368, 157), (368, 158), (368, 159), (368, 160), (368, 161), (368, 162), (368, 163), (368, 164), (368, 165), (368, 166), (368, 167), (368, 168), (368, 169), (368, 170), (368, 171), (368, 172), (368, 173),
(368, 174), (368, 175), (368, 176), (368, 177), (368, 178), (368, 179), (368, 180), (368, 181), (368, 182), (368, 183), (368, 184), (368, 185), (368, 186), (368, 187), (368, 188), (368, 189), (368, 190), (368, 191), (368, 192), (368, 193), (368, 194), (368, 195), (368, 196), (368, 197), (368, 198), (368, 199), (368, 200), (368, 202), (368, 208), (368, 210), (368, 211), (368, 212), (368, 213), (368, 215), (369, 94), (369, 96), (369, 97), (369, 98), (369, 99), (369, 100), (369, 101), (369, 102), (369, 103), (369, 104), (369, 105), (369, 106), (369, 107), (369, 108), (369, 109), (369, 110), (369, 111), (369, 112), (369, 113), (369, 114), (369, 115), (369, 116), (369, 117), (369, 118), (369, 119), (369, 120), (369, 121), (369, 122), (369, 123), (369, 124), (369, 125), (369, 126), (369, 127), (369, 128), (369, 129), (369, 130), (369, 131), (369, 132),
(369, 133), (369, 134), (369, 135), (369, 136), (369, 137), (369, 138), (369, 139), (369, 140), (369, 141), (369, 142), (369, 143), (369, 144), (369, 145), (369, 146), (369, 147), (369, 148), (369, 149), (369, 150), (369, 151), (369, 152), (369, 153), (369, 154), (369, 155), (369, 156), (369, 157), (369, 158), (369, 159), (369, 160), (369, 161), (369, 162), (369, 163), (369, 164), (369, 165), (369, 166), (369, 167), (369, 168), (369, 169), (369, 170), (369, 171), (369, 172), (369, 173), (369, 174), (369, 175), (369, 176), (369, 177), (369, 178), (369, 179), (369, 180), (369, 181), (369, 182), (369, 183), (369, 184), (369, 185), (369, 186), (369, 187), (369, 188), (369, 189), (369, 190), (369, 191), (369, 192), (369, 193), (369, 194), (369, 195), (369, 196), (369, 197), (369, 198), (369, 199), (369, 200), (369, 202), (369, 209), (369, 211), (369, 212),
(369, 213), (369, 215), (370, 96), (370, 97), (370, 98), (370, 99), (370, 100), (370, 101), (370, 102), (370, 103), (370, 104), (370, 105), (370, 106), (370, 107), (370, 108), (370, 109), (370, 110), (370, 111), (370, 112), (370, 113), (370, 114), (370, 115), (370, 116), (370, 117), (370, 118), (370, 119), (370, 120), (370, 121), (370, 122), (370, 123), (370, 124), (370, 125), (370, 126), (370, 127), (370, 128), (370, 129), (370, 130), (370, 131), (370, 132), (370, 133), (370, 134), (370, 135), (370, 136), (370, 137), (370, 138), (370, 139), (370, 140), (370, 141), (370, 142), (370, 143), (370, 144), (370, 145), (370, 146), (370, 147), (370, 148), (370, 149), (370, 150), (370, 151), (370, 152), (370, 153), (370, 154), (370, 155), (370, 156), (370, 157), (370, 158), (370, 159), (370, 160), (370, 161), (370, 162), (370, 163), (370, 164), (370, 165),
(370, 166), (370, 167), (370, 168), (370, 169), (370, 170), (370, 171), (370, 172), (370, 173), (370, 174), (370, 175), (370, 176), (370, 177), (370, 178), (370, 179), (370, 180), (370, 181), (370, 182), (370, 183), (370, 184), (370, 185), (370, 186), (370, 187), (370, 188), (370, 189), (370, 190), (370, 191), (370, 192), (370, 193), (370, 194), (370, 195), (370, 196), (370, 197), (370, 198), (370, 199), (370, 200), (370, 201), (370, 203), (370, 210), (371, 95), (371, 97), (371, 98), (371, 99), (371, 100), (371, 101), (371, 102), (371, 103), (371, 104), (371, 105), (371, 106), (371, 107), (371, 108), (371, 109), (371, 110), (371, 111), (371, 112), (371, 113), (371, 114), (371, 115), (371, 116), (371, 117), (371, 118), (371, 119), (371, 120), (371, 121), (371, 122), (371, 123), (371, 124), (371, 125), (371, 126), (371, 127), (371, 128), (371, 129),
(371, 130), (371, 131), (371, 132), (371, 133), (371, 134), (371, 135), (371, 136), (371, 137), (371, 138), (371, 139), (371, 140), (371, 141), (371, 142), (371, 143), (371, 144), (371, 145), (371, 146), (371, 147), (371, 148), (371, 149), (371, 150), (371, 151), (371, 152), (371, 153), (371, 154), (371, 155), (371, 156), (371, 157), (371, 158), (371, 159), (371, 160), (371, 161), (371, 162), (371, 163), (371, 164), (371, 165), (371, 166), (371, 167), (371, 168), (371, 169), (371, 170), (371, 171), (371, 172), (371, 173), (371, 174), (371, 175), (371, 176), (371, 177), (371, 178), (371, 179), (371, 180), (371, 181), (371, 182), (371, 183), (371, 184), (371, 185), (371, 186), (371, 187), (371, 188), (371, 189), (371, 190), (371, 191), (371, 192), (371, 193), (371, 194), (371, 195), (371, 196), (371, 197), (371, 198), (371, 199), (371, 200), (371, 201),
(371, 203), (371, 211), (371, 213), (371, 215), (372, 96), (372, 98), (372, 99), (372, 100), (372, 101), (372, 102), (372, 103), (372, 104), (372, 105), (372, 106), (372, 107), (372, 108), (372, 109), (372, 110), (372, 111), (372, 112), (372, 113), (372, 114), (372, 115), (372, 116), (372, 117), (372, 118), (372, 119), (372, 120), (372, 121), (372, 122), (372, 123), (372, 124), (372, 125), (372, 126), (372, 127), (372, 128), (372, 129), (372, 130), (372, 131), (372, 132), (372, 133), (372, 134), (372, 135), (372, 136), (372, 137), (372, 138), (372, 139), (372, 140), (372, 141), (372, 142), (372, 143), (372, 144), (372, 145), (372, 146), (372, 147), (372, 148), (372, 149), (372, 150), (372, 151), (372, 152), (372, 153), (372, 154), (372, 155), (372, 156), (372, 157), (372, 158), (372, 159), (372, 160), (372, 161), (372, 162), (372, 163), (372, 164),
(372, 165), (372, 166), (372, 167), (372, 168), (372, 169), (372, 170), (372, 171), (372, 172), (372, 173), (372, 174), (372, 175), (372, 176), (372, 177), (372, 178), (372, 179), (372, 180), (372, 181), (372, 182), (372, 183), (372, 184), (372, 185), (372, 186), (372, 187), (372, 188), (372, 189), (372, 190), (372, 191), (372, 192), (372, 193), (372, 194), (372, 195), (372, 196), (372, 197), (372, 198), (372, 199), (372, 200), (372, 201), (372, 202), (372, 204), (373, 96), (373, 98), (373, 99), (373, 100), (373, 101), (373, 102), (373, 103), (373, 104), (373, 105), (373, 106), (373, 107), (373, 108), (373, 109), (373, 110), (373, 111), (373, 112), (373, 113), (373, 114), (373, 115), (373, 116), (373, 117), (373, 118), (373, 119), (373, 120), (373, 121), (373, 122), (373, 123), (373, 124), (373, 125), (373, 126), (373, 127), (373, 128), (373, 129),
(373, 130), (373, 131), (373, 132), (373, 133), (373, 134), (373, 135), (373, 136), (373, 137), (373, 138), (373, 139), (373, 140), (373, 141), (373, 142), (373, 143), (373, 144), (373, 145), (373, 146), (373, 147), (373, 148), (373, 149), (373, 150), (373, 151), (373, 152), (373, 153), (373, 154), (373, 155), (373, 156), (373, 157), (373, 158), (373, 159), (373, 160), (373, 161), (373, 162), (373, 163), (373, 164), (373, 165), (373, 166), (373, 167), (373, 168), (373, 169), (373, 170), (373, 171), (373, 172), (373, 173), (373, 174), (373, 175), (373, 176), (373, 177), (373, 178), (373, 179), (373, 180), (373, 181), (373, 182), (373, 183), (373, 184), (373, 185), (373, 186), (373, 187), (373, 188), (373, 189), (373, 190), (373, 191), (373, 192), (373, 193), (373, 194), (373, 195), (373, 196), (373, 197), (373, 198), (373, 199), (373, 200), (373, 201),
(373, 202), (373, 204), (374, 97), (374, 99), (374, 100), (374, 101), (374, 102), (374, 103), (374, 104), (374, 105), (374, 106), (374, 107), (374, 108), (374, 109), (374, 110), (374, 111), (374, 112), (374, 113), (374, 114), (374, 115), (374, 116), (374, 117), (374, 118), (374, 119), (374, 120), (374, 121), (374, 122), (374, 123), (374, 124), (374, 125), (374, 126), (374, 127), (374, 128), (374, 129), (374, 130), (374, 131), (374, 132), (374, 133), (374, 134), (374, 135), (374, 136), (374, 137), (374, 138), (374, 139), (374, 140), (374, 141), (374, 142), (374, 143), (374, 144), (374, 145), (374, 146), (374, 147), (374, 148), (374, 149), (374, 150), (374, 151), (374, 152), (374, 153), (374, 154), (374, 155), (374, 156), (374, 157), (374, 158), (374, 159), (374, 160), (374, 161), (374, 162), (374, 163), (374, 164), (374, 165), (374, 166), (374, 167),
(374, 168), (374, 169), (374, 170), (374, 171), (374, 172), (374, 173), (374, 174), (374, 175), (374, 176), (374, 177), (374, 178), (374, 179), (374, 180), (374, 181), (374, 182), (374, 183), (374, 184), (374, 185), (374, 186), (374, 187), (374, 188), (374, 189), (374, 190), (374, 191), (374, 192), (374, 193), (374, 194), (374, 195), (374, 196), (374, 197), (374, 198), (374, 199), (374, 200), (374, 201), (374, 202), (374, 203), (374, 205), (375, 98), (375, 100), (375, 101), (375, 102), (375, 103), (375, 104), (375, 105), (375, 106), (375, 107), (375, 108), (375, 109), (375, 110), (375, 111), (375, 112), (375, 113), (375, 114), (375, 115), (375, 116), (375, 117), (375, 118), (375, 119), (375, 120), (375, 121), (375, 122), (375, 123), (375, 124), (375, 125), (375, 126), (375, 127), (375, 128), (375, 129), (375, 130), (375, 131), (375, 132), (375, 133),
(375, 134), (375, 135), (375, 136), (375, 137), (375, 138), (375, 139), (375, 140), (375, 141), (375, 142), (375, 143), (375, 144), (375, 145), (375, 146), (375, 147), (375, 148), (375, 149), (375, 150), (375, 151), (375, 152), (375, 153), (375, 154), (375, 155), (375, 156), (375, 157), (375, 158), (375, 159), (375, 160), (375, 161), (375, 162), (375, 163), (375, 164), (375, 165), (375, 166), (375, 167), (375, 168), (375, 169), (375, 170), (375, 171), (375, 172), (375, 173), (375, 174), (375, 175), (375, 176), (375, 177), (375, 178), (375, 179), (375, 180), (375, 181), (375, 182), (375, 183), (375, 184), (375, 185), (375, 186), (375, 187), (375, 188), (375, 189), (375, 190), (375, 191), (375, 192), (375, 193), (375, 194), (375, 195), (375, 196), (375, 197), (375, 198), (375, 199), (375, 200), (375, 201), (375, 202), (375, 203), (375, 204), (375, 206),
(376, 98), (376, 100), (376, 101), (376, 102), (376, 103), (376, 104), (376, 105), (376, 106), (376, 107), (376, 108), (376, 109), (376, 110), (376, 111), (376, 112), (376, 113), (376, 114), (376, 115), (376, 116), (376, 117), (376, 118), (376, 119), (376, 120), (376, 121), (376, 122), (376, 123), (376, 124), (376, 125), (376, 126), (376, 127), (376, 128), (376, 129), (376, 130), (376, 131), (376, 132), (376, 133), (376, 134), (376, 135), (376, 136), (376, 137), (376, 138), (376, 139), (376, 140), (376, 141), (376, 142), (376, 143), (376, 144), (376, 145), (376, 146), (376, 147), (376, 148), (376, 149), (376, 150), (376, 151), (376, 152), (376, 153), (376, 154), (376, 155), (376, 156), (376, 157), (376, 158), (376, 159), (376, 160), (376, 161), (376, 162), (376, 163), (376, 164), (376, 165), (376, 166), (376, 167), (376, 168), (376, 169), (376, 170),
(376, 171), (376, 172), (376, 173), (376, 174), (376, 175), (376, 176), (376, 177), (376, 178), (376, 179), (376, 180), (376, 181), (376, 182), (376, 183), (376, 184), (376, 185), (376, 186), (376, 187), (376, 188), (376, 189), (376, 190), (376, 191), (376, 192), (376, 193), (376, 194), (376, 195), (376, 196), (376, 197), (376, 198), (376, 199), (376, 200), (376, 201), (376, 202), (376, 203), (376, 204), (376, 206), (377, 99), (377, 101), (377, 102), (377, 103), (377, 104), (377, 105), (377, 106), (377, 107), (377, 108), (377, 109), (377, 110), (377, 111), (377, 112), (377, 113), (377, 114), (377, 115), (377, 116), (377, 117), (377, 118), (377, 119), (377, 120), (377, 121), (377, 122), (377, 123), (377, 124), (377, 125), (377, 126), (377, 127), (377, 128), (377, 129), (377, 130), (377, 131), (377, 132), (377, 133), (377, 134), (377, 135), (377, 136),
(377, 137), (377, 138), (377, 139), (377, 140), (377, 141), (377, 142), (377, 143), (377, 144), (377, 145), (377, 146), (377, 147), (377, 148), (377, 149), (377, 150), (377, 151), (377, 152), (377, 153), (377, 154), (377, 155), (377, 156), (377, 157), (377, 158), (377, 159), (377, 160), (377, 161), (377, 162), (377, 163), (377, 164), (377, 165), (377, 166), (377, 167), (377, 168), (377, 169), (377, 170), (377, 171), (377, 172), (377, 173), (377, 174), (377, 175), (377, 176), (377, 177), (377, 178), (377, 179), (377, 180), (377, 181), (377, 182), (377, 183), (377, 184), (377, 185), (377, 186), (377, 187), (377, 188), (377, 189), (377, 190), (377, 191), (377, 192), (377, 193), (377, 194), (377, 195), (377, 196), (377, 197), (377, 198), (377, 199), (377, 200), (377, 201), (377, 202), (377, 203), (377, 204), (377, 205), (377, 207), (378, 99), (378, 101),
(378, 102), (378, 103), (378, 104), (378, 105), (378, 106), (378, 107), (378, 108), (378, 109), (378, 110), (378, 111), (378, 112), (378, 113), (378, 114), (378, 115), (378, 116), (378, 117), (378, 118), (378, 119), (378, 120), (378, 121), (378, 122), (378, 123), (378, 124), (378, 125), (378, 126), (378, 127), (378, 128), (378, 129), (378, 130), (378, 131), (378, 132), (378, 133), (378, 134), (378, 135), (378, 136), (378, 137), (378, 138), (378, 139), (378, 140), (378, 141), (378, 142), (378, 143), (378, 144), (378, 145), (378, 146), (378, 147), (378, 148), (378, 149), (378, 150), (378, 151), (378, 152), (378, 153), (378, 154), (378, 155), (378, 156), (378, 157), (378, 158), (378, 159), (378, 160), (378, 161), (378, 162), (378, 163), (378, 164), (378, 165), (378, 166), (378, 167), (378, 168), (378, 169), (378, 170), (378, 171), (378, 172), (378, 173),
(378, 174), (378, 175), (378, 176), (378, 177), (378, 178), (378, 179), (378, 180), (378, 181), (378, 182), (378, 183), (378, 184), (378, 185), (378, 186), (378, 187), (378, 188), (378, 189), (378, 190), (378, 191), (378, 192), (378, 193), (378, 194), (378, 195), (378, 196), (378, 197), (378, 198), (378, 199), (378, 200), (378, 201), (378, 202), (378, 203), (378, 204), (378, 205), (378, 206), (379, 100), (379, 102), (379, 103), (379, 104), (379, 105), (379, 106), (379, 107), (379, 108), (379, 109), (379, 110), (379, 111), (379, 112), (379, 113), (379, 114), (379, 115), (379, 116), (379, 117), (379, 118), (379, 119), (379, 120), (379, 121), (379, 122), (379, 123), (379, 124), (379, 125), (379, 126), (379, 127), (379, 128), (379, 129), (379, 130), (379, 131), (379, 132), (379, 133), (379, 134), (379, 135), (379, 136), (379, 137), (379, 138), (379, 139),
(379, 140), (379, 141), (379, 142), (379, 143), (379, 144), (379, 145), (379, 146), (379, 147), (379, 148), (379, 149), (379, 150), (379, 151), (379, 152), (379, 153), (379, 154), (379, 155), (379, 156), (379, 157), (379, 158), (379, 159), (379, 160), (379, 161), (379, 162), (379, 163), (379, 164), (379, 165), (379, 166), (379, 167), (379, 168), (379, 169), (379, 170), (379, 171), (379, 172), (379, 173), (379, 174), (379, 175), (379, 176), (379, 177), (379, 178), (379, 179), (379, 180), (379, 181), (379, 182), (379, 183), (379, 184), (379, 185), (379, 186), (379, 187), (379, 188), (379, 189), (379, 190), (379, 191), (379, 192), (379, 193), (379, 194), (379, 195), (379, 196), (379, 197), (379, 198), (379, 199), (379, 200), (379, 201), (379, 202), (379, 203), (379, 204), (379, 205), (379, 206), (379, 208), (380, 101), (380, 103), (380, 104), (380, 105),
(380, 106), (380, 107), (380, 108), (380, 109), (380, 110), (380, 111), (380, 112), (380, 113), (380, 114), (380, 115), (380, 116), (380, 117), (380, 118), (380, 119), (380, 120), (380, 121), (380, 122), (380, 123), (380, 124), (380, 125), (380, 126), (380, 127), (380, 128), (380, 129), (380, 130), (380, 131), (380, 132), (380, 133), (380, 134), (380, 135), (380, 136), (380, 137), (380, 138), (380, 139), (380, 140), (380, 141), (380, 142), (380, 143), (380, 144), (380, 145), (380, 146), (380, 147), (380, 148), (380, 149), (380, 150), (380, 151), (380, 152), (380, 153), (380, 154), (380, 155), (380, 156), (380, 157), (380, 158), (380, 159), (380, 160), (380, 161), (380, 162), (380, 163), (380, 164), (380, 165), (380, 166), (380, 167), (380, 168), (380, 169), (380, 170), (380, 171), (380, 172), (380, 173), (380, 174), (380, 175), (380, 176), (380, 177),
(380, 178), (380, 179), (380, 180), (380, 181), (380, 182), (380, 183), (380, 184), (380, 185), (380, 186), (380, 187), (380, 188), (380, 189), (380, 190), (380, 191), (380, 192), (380, 193), (380, 194), (380, 195), (380, 196), (380, 197), (380, 198), (380, 199), (380, 200), (380, 201), (380, 202), (380, 203), (380, 204), (380, 205), (380, 206), (380, 207), (380, 209), (381, 102), (381, 104), (381, 105), (381, 106), (381, 107), (381, 108), (381, 109), (381, 110), (381, 111), (381, 112), (381, 113), (381, 114), (381, 115), (381, 116), (381, 117), (381, 118), (381, 119), (381, 120), (381, 121), (381, 122), (381, 123), (381, 124), (381, 125), (381, 126), (381, 127), (381, 128), (381, 129), (381, 130), (381, 131), (381, 132), (381, 133), (381, 134), (381, 135), (381, 136), (381, 137), (381, 138), (381, 139), (381, 140), (381, 141), (381, 142), (381, 143),
(381, 144), (381, 145), (381, 146), (381, 147), (381, 148), (381, 149), (381, 150), (381, 151), (381, 152), (381, 153), (381, 154), (381, 155), (381, 156), (381, 157), (381, 158), (381, 159), (381, 160), (381, 161), (381, 162), (381, 163), (381, 164), (381, 165), (381, 166), (381, 167), (381, 168), (381, 169), (381, 170), (381, 171), (381, 172), (381, 173), (381, 174), (381, 175), (381, 176), (381, 177), (381, 178), (381, 179), (381, 180), (381, 181), (381, 182), (381, 183), (381, 184), (381, 185), (381, 186), (381, 187), (381, 188), (381, 189), (381, 190), (381, 191), (381, 192), (381, 193), (381, 194), (381, 195), (381, 196), (381, 197), (381, 198), (381, 199), (381, 200), (381, 201), (381, 202), (381, 203), (381, 204), (381, 205), (381, 206), (381, 209), (382, 103), (382, 105), (382, 106), (382, 107), (382, 108), (382, 109), (382, 110), (382, 111),
(382, 112), (382, 113), (382, 114), (382, 115), (382, 116), (382, 117), (382, 118), (382, 119), (382, 120), (382, 121), (382, 122), (382, 123), (382, 124), (382, 125), (382, 126), (382, 127), (382, 128), (382, 129), (382, 130), (382, 131), (382, 132), (382, 133), (382, 134), (382, 135), (382, 136), (382, 137), (382, 138), (382, 139), (382, 140), (382, 141), (382, 142), (382, 143), (382, 144), (382, 145), (382, 146), (382, 147), (382, 148), (382, 149), (382, 150), (382, 151), (382, 152), (382, 153), (382, 154), (382, 155), (382, 156), (382, 157), (382, 158), (382, 159), (382, 160), (382, 161), (382, 162), (382, 163), (382, 164), (382, 165), (382, 166), (382, 167), (382, 168), (382, 169), (382, 170), (382, 171), (382, 172), (382, 173), (382, 174), (382, 175), (382, 176), (382, 177), (382, 178), (382, 179), (382, 180), (382, 181), (382, 182), (382, 183),
(382, 184), (382, 185), (382, 186), (382, 187), (382, 188), (382, 189), (382, 190), (382, 191), (382, 192), (382, 193), (382, 194), (382, 195), (382, 196), (382, 197), (382, 198), (382, 199), (382, 200), (382, 201), (382, 202), (382, 203), (382, 204), (382, 208), (383, 104), (383, 106), (383, 107), (383, 108), (383, 109), (383, 110), (383, 111), (383, 112), (383, 113), (383, 114), (383, 115), (383, 116), (383, 117), (383, 118), (383, 119), (383, 120), (383, 121), (383, 122), (383, 123), (383, 124), (383, 125), (383, 126), (383, 127), (383, 128), (383, 129), (383, 130), (383, 131), (383, 132), (383, 133), (383, 134), (383, 135), (383, 136), (383, 137), (383, 138), (383, 139), (383, 140), (383, 141), (383, 142), (383, 143), (383, 144), (383, 145), (383, 146), (383, 147), (383, 148), (383, 149), (383, 150), (383, 151), (383, 152), (383, 153), (383, 154),
(383, 155), (383, 156), (383, 157), (383, 158), (383, 159), (383, 160), (383, 161), (383, 162), (383, 163), (383, 164), (383, 165), (383, 166), (383, 167), (383, 168), (383, 169), (383, 170), (383, 171), (383, 172), (383, 173), (383, 174), (383, 175), (383, 176), (383, 177), (383, 178), (383, 179), (383, 180), (383, 181), (383, 182), (383, 183), (383, 184), (383, 185), (383, 186), (383, 187), (383, 188), (383, 189), (383, 190), (383, 191), (383, 192), (383, 193), (383, 194), (383, 195), (383, 196), (383, 197), (383, 198), (383, 199), (383, 200), (383, 201), (383, 202), (383, 206), (384, 105), (384, 107), (384, 108), (384, 109), (384, 110), (384, 111), (384, 112), (384, 113), (384, 114), (384, 115), (384, 116), (384, 117), (384, 118), (384, 119), (384, 120), (384, 121), (384, 122), (384, 123), (384, 124), (384, 125), (384, 126), (384, 127), (384, 128),
(384, 129), (384, 130), (384, 131), (384, 132), (384, 133), (384, 134), (384, 135), (384, 136), (384, 137), (384, 138), (384, 139), (384, 140), (384, 141), (384, 142), (384, 143), (384, 144), (384, 145), (384, 146), (384, 147), (384, 148), (384, 149), (384, 150), (384, 151), (384, 152), (384, 153), (384, 154), (384, 155), (384, 156), (384, 157), (384, 158), (384, 159), (384, 160), (384, 161), (384, 162), (384, 163), (384, 164), (384, 165), (384, 166), (384, 167), (384, 168), (384, 169), (384, 170), (384, 171), (384, 172), (384, 173), (384, 174), (384, 175), (384, 176), (384, 177), (384, 178), (384, 179), (384, 180), (384, 181), (384, 182), (384, 183), (384, 184), (384, 185), (384, 186), (384, 187), (384, 188), (384, 189), (384, 190), (384, 191), (384, 192), (384, 193), (384, 194), (384, 195), (384, 196), (384, 197), (384, 198), (384, 199), (384, 200),
(384, 201), (384, 204), (385, 106), (385, 108), (385, 109), (385, 110), (385, 111), (385, 112), (385, 113), (385, 114), (385, 115), (385, 116), (385, 117), (385, 118), (385, 119), (385, 120), (385, 121), (385, 122), (385, 123), (385, 124), (385, 125), (385, 126), (385, 127), (385, 128), (385, 129), (385, 130), (385, 131), (385, 132), (385, 133), (385, 134), (385, 135), (385, 136), (385, 137), (385, 138), (385, 139), (385, 140), (385, 141), (385, 142), (385, 143), (385, 144), (385, 145), (385, 146), (385, 147), (385, 148), (385, 149), (385, 150), (385, 151), (385, 152), (385, 153), (385, 154), (385, 155), (385, 156), (385, 157), (385, 158), (385, 159), (385, 160), (385, 161), (385, 162), (385, 163), (385, 164), (385, 165), (385, 166), (385, 167), (385, 168), (385, 169), (385, 170), (385, 171), (385, 172), (385, 173), (385, 174), (385, 175), (385, 176),
(385, 177), (385, 178), (385, 179), (385, 180), (385, 181), (385, 182), (385, 183), (385, 184), (385, 185), (385, 186), (385, 187), (385, 188), (385, 189), (385, 190), (385, 191), (385, 192), (385, 193), (385, 194), (385, 195), (385, 196), (385, 197), (385, 198), (385, 199), (385, 200), (385, 202), (386, 109), (386, 110), (386, 111), (386, 112), (386, 113), (386, 114), (386, 115), (386, 116), (386, 117), (386, 118), (386, 119), (386, 120), (386, 121), (386, 122), (386, 123), (386, 124), (386, 125), (386, 126), (386, 127), (386, 128), (386, 129), (386, 130), (386, 131), (386, 132), (386, 133), (386, 134), (386, 135), (386, 136), (386, 137), (386, 138), (386, 139), (386, 140), (386, 141), (386, 142), (386, 143), (386, 144), (386, 145), (386, 146), (386, 147), (386, 148), (386, 149), (386, 150), (386, 151), (386, 152), (386, 153), (386, 154), (386, 155),
(386, 156), (386, 157), (386, 158), (386, 159), (386, 160), (386, 161), (386, 162), (386, 163), (386, 164), (386, 165), (386, 166), (386, 167), (386, 168), (386, 169), (386, 170), (386, 171), (386, 172), (386, 173), (386, 174), (386, 175), (386, 176), (386, 177), (386, 178), (386, 179), (386, 180), (386, 181), (386, 182), (386, 183), (386, 184), (386, 185), (386, 186), (386, 187), (386, 188), (386, 189), (386, 190), (386, 191), (386, 192), (386, 193), (386, 194), (386, 195), (386, 196), (386, 197), (386, 198), (386, 199), (386, 201), (387, 110), (387, 111), (387, 112), (387, 113), (387, 114), (387, 115), (387, 116), (387, 117), (387, 118), (387, 119), (387, 120), (387, 121), (387, 122), (387, 123), (387, 124), (387, 125), (387, 126), (387, 127), (387, 128), (387, 129), (387, 130), (387, 131), (387, 132), (387, 133), (387, 134), (387, 135), (387, 136),
(387, 137), (387, 138), (387, 139), (387, 140), (387, 141), (387, 142), (387, 143), (387, 144), (387, 145), (387, 146), (387, 147), (387, 148), (387, 149), (387, 150), (387, 151), (387, 152), (387, 153), (387, 154), (387, 155), (387, 156), (387, 157), (387, 158), (387, 159), (387, 160), (387, 161), (387, 162), (387, 163), (387, 164), (387, 165), (387, 166), (387, 167), (387, 168), (387, 169), (387, 170), (387, 171), (387, 172), (387, 173), (387, 174), (387, 175), (387, 176), (387, 177), (387, 178), (387, 179), (387, 180), (387, 181), (387, 182), (387, 183), (387, 184), (387, 185), (387, 186), (387, 187), (387, 188), (387, 189), (387, 190), (387, 191), (387, 192), (387, 193), (387, 194), (387, 195), (387, 196), (387, 197), (387, 198), (387, 200), (388, 111), (388, 112), (388, 113), (388, 114), (388, 115), (388, 116), (388, 117), (388, 118), (388, 119),
(388, 120), (388, 121), (388, 122), (388, 123), (388, 124), (388, 125), (388, 126), (388, 127), (388, 128), (388, 129), (388, 130), (388, 131), (388, 132), (388, 133), (388, 134), (388, 135), (388, 136), (388, 137), (388, 138), (388, 139), (388, 140), (388, 141), (388, 142), (388, 143), (388, 144), (388, 145), (388, 146), (388, 147), (388, 148), (388, 149), (388, 150), (388, 151), (388, 152), (388, 153), (388, 154), (388, 155), (388, 156), (388, 157), (388, 158), (388, 159), (388, 160), (388, 161), (388, 162), (388, 163), (388, 164), (388, 165), (388, 166), (388, 167), (388, 168), (388, 169), (388, 170), (388, 171), (388, 172), (388, 173), (388, 174), (388, 175), (388, 176), (388, 177), (388, 178), (388, 179), (388, 180), (388, 181), (388, 182), (388, 183), (388, 184), (388, 185), (388, 186), (388, 187), (388, 188), (388, 189), (388, 190), (388, 191),
(388, 192), (388, 193), (388, 194), (388, 195), (388, 196), (388, 197), (388, 199), (389, 112), (389, 113), (389, 114), (389, 115), (389, 116), (389, 117), (389, 118), (389, 119), (389, 120), (389, 121), (389, 122), (389, 123), (389, 124), (389, 125), (389, 126), (389, 127), (389, 128), (389, 129), (389, 130), (389, 131), (389, 132), (389, 133), (389, 134), (389, 135), (389, 136), (389, 137), (389, 138), (389, 139), (389, 140), (389, 141), (389, 142), (389, 143), (389, 144), (389, 145), (389, 146), (389, 147), (389, 148), (389, 149), (389, 150), (389, 151), (389, 152), (389, 153), (389, 154), (389, 155), (389, 156), (389, 157), (389, 158), (389, 159), (389, 160), (389, 161), (389, 162), (389, 163), (389, 164), (389, 165), (389, 166), (389, 167), (389, 168), (389, 169), (389, 170), (389, 171), (389, 172), (389, 173), (389, 174), (389, 175), (389, 176),
(389, 177), (389, 178), (389, 179), (389, 180), (389, 181), (389, 182), (389, 183), (389, 184), (389, 185), (389, 186), (389, 187), (389, 188), (389, 189), (389, 190), (389, 191), (389, 192), (389, 193), (389, 194), (389, 195), (389, 196), (389, 197), (389, 199), (390, 113), (390, 114), (390, 115), (390, 116), (390, 117), (390, 118), (390, 119), (390, 120), (390, 121), (390, 122), (390, 123), (390, 124), (390, 125), (390, 126), (390, 127), (390, 128), (390, 129), (390, 130), (390, 131), (390, 132), (390, 133), (390, 134), (390, 135), (390, 136), (390, 137), (390, 138), (390, 139), (390, 140), (390, 141), (390, 142), (390, 143), (390, 144), (390, 145), (390, 146), (390, 147), (390, 148), (390, 149), (390, 150), (390, 151), (390, 152), (390, 153), (390, 154), (390, 155), (390, 156), (390, 157), (390, 158), (390, 159), (390, 160), (390, 161), (390, 162),
(390, 163), (390, 164), (390, 165), (390, 166), (390, 167), (390, 168), (390, 169), (390, 170), (390, 171), (390, 172), (390, 173), (390, 174), (390, 175), (390, 176), (390, 177), (390, 178), (390, 179), (390, 180), (390, 181), (390, 182), (390, 183), (390, 184), (390, 185), (390, 186), (390, 187), (390, 188), (390, 189), (390, 190), (390, 191), (390, 192), (390, 193), (390, 194), (390, 195), (390, 196), (390, 198), (391, 114), (391, 115), (391, 116), (391, 117), (391, 118), (391, 119), (391, 120), (391, 121), (391, 122), (391, 123), (391, 124), (391, 125), (391, 126), (391, 127), (391, 128), (391, 129), (391, 130), (391, 131), (391, 132), (391, 133), (391, 134), (391, 135), (391, 136), (391, 137), (391, 138), (391, 139), (391, 140), (391, 141), (391, 142), (391, 143), (391, 144), (391, 145), (391, 146), (391, 147), (391, 148), (391, 149), (391, 150),
(391, 151), (391, 152), (391, 153), (391, 154), (391, 155), (391, 156), (391, 157), (391, 158), (391, 159), (391, 160), (391, 161), (391, 162), (391, 163), (391, 164), (391, 165), (391, 166), (391, 167), (391, 168), (391, 169), (391, 170), (391, 171), (391, 172), (391, 173), (391, 174), (391, 175), (391, 176), (391, 177), (391, 178), (391, 179), (391, 180), (391, 181), (391, 182), (391, 183), (391, 184), (391, 185), (391, 186), (391, 187), (391, 188), (391, 189), (391, 190), (391, 191), (391, 192), (391, 193), (391, 194), (391, 195), (391, 197), (392, 113), (392, 115), (392, 116), (392, 117), (392, 118), (392, 119), (392, 120), (392, 121), (392, 122), (392, 123), (392, 124), (392, 125), (392, 126), (392, 127), (392, 128), (392, 129), (392, 130), (392, 131), (392, 132), (392, 133), (392, 134), (392, 135), (392, 136), (392, 137), (392, 138), (392, 139),
(392, 140), (392, 141), (392, 142), (392, 143), (392, 144), (392, 145), (392, 146), (392, 147), (392, 148), (392, 149), (392, 150), (392, 151), (392, 152), (392, 153), (392, 154), (392, 155), (392, 156), (392, 157), (392, 158), (392, 159), (392, 160), (392, 161), (392, 162), (392, 163), (392, 164), (392, 165), (392, 166), (392, 167), (392, 168), (392, 169), (392, 170), (392, 171), (392, 172), (392, 173), (392, 174), (392, 175), (392, 176), (392, 177), (392, 178), (392, 179), (392, 180), (392, 181), (392, 182), (392, 183), (392, 184), (392, 185), (392, 186), (392, 187), (392, 188), (392, 189), (392, 190), (392, 191), (392, 192), (392, 193), (392, 194), (392, 195), (392, 197), (393, 114), (393, 116), (393, 117), (393, 118), (393, 119), (393, 120), (393, 121), (393, 122), (393, 123), (393, 124), (393, 125), (393, 126), (393, 127), (393, 128), (393, 129),
(393, 130), (393, 131), (393, 132), (393, 133), (393, 134), (393, 135), (393, 136), (393, 137), (393, 138), (393, 139), (393, 140), (393, 141), (393, 142), (393, 143), (393, 144), (393, 145), (393, 146), (393, 147), (393, 148), (393, 149), (393, 150), (393, 151), (393, 152), (393, 153), (393, 154), (393, 155), (393, 156), (393, 157), (393, 158), (393, 159), (393, 160), (393, 161), (393, 162), (393, 163), (393, 164), (393, 165), (393, 166), (393, 167), (393, 168), (393, 169), (393, 170), (393, 171), (393, 172), (393, 173), (393, 174), (393, 175), (393, 176), (393, 177), (393, 178), (393, 179), (393, 180), (393, 181), (393, 182), (393, 183), (393, 184), (393, 185), (393, 186), (393, 187), (393, 188), (393, 189), (393, 190), (393, 191), (393, 192), (393, 193), (393, 194), (393, 195), (393, 197), (394, 115), (394, 117), (394, 118), (394, 119), (394, 120),
(394, 121), (394, 122), (394, 123), (394, 124), (394, 125), (394, 126), (394, 127), (394, 128), (394, 129), (394, 130), (394, 131), (394, 132), (394, 133), (394, 134), (394, 135), (394, 136), (394, 137), (394, 138), (394, 139), (394, 140), (394, 141), (394, 142), (394, 143), (394, 144), (394, 145), (394, 146), (394, 147), (394, 148), (394, 149), (394, 150), (394, 151), (394, 152), (394, 153), (394, 154), (394, 155), (394, 156), (394, 157), (394, 158), (394, 159), (394, 160), (394, 161), (394, 162), (394, 163), (394, 164), (394, 165), (394, 166), (394, 167), (394, 168), (394, 169), (394, 170), (394, 171), (394, 172), (394, 173), (394, 174), (394, 175), (394, 176), (394, 177), (394, 178), (394, 179), (394, 180), (394, 181), (394, 182), (394, 183), (394, 184), (394, 185), (394, 186), (394, 187), (394, 188), (394, 189), (394, 190), (394, 191), (394, 192),
(394, 193), (394, 194), (394, 195), (394, 197), (395, 116), (395, 118), (395, 119), (395, 120), (395, 121), (395, 122), (395, 123), (395, 124), (395, 125), (395, 126), (395, 127), (395, 128), (395, 129), (395, 130), (395, 131), (395, 132), (395, 133), (395, 134), (395, 135), (395, 136), (395, 137), (395, 138), (395, 139), (395, 140), (395, 141), (395, 142), (395, 143), (395, 144), (395, 145), (395, 146), (395, 147), (395, 148), (395, 149), (395, 150), (395, 151), (395, 152), (395, 153), (395, 154), (395, 155), (395, 156), (395, 157), (395, 158), (395, 159), (395, 160), (395, 161), (395, 162), (395, 163), (395, 164), (395, 165), (395, 166), (395, 167), (395, 168), (395, 169), (395, 170), (395, 171), (395, 172), (395, 173), (395, 174), (395, 175), (395, 176), (395, 177), (395, 178), (395, 179), (395, 180), (395, 181), (395, 182), (395, 183), (395, 184),
(395, 185), (395, 186), (395, 187), (395, 188), (395, 189), (395, 190), (395, 191), (395, 192), (395, 193), (395, 194), (395, 195), (395, 197), (396, 117), (396, 119), (396, 120), (396, 121), (396, 122), (396, 123), (396, 124), (396, 125), (396, 126), (396, 127), (396, 128), (396, 129), (396, 130), (396, 131), (396, 132), (396, 133), (396, 134), (396, 135), (396, 136), (396, 137), (396, 138), (396, 139), (396, 140), (396, 141), (396, 142), (396, 143), (396, 144), (396, 145), (396, 146), (396, 147), (396, 148), (396, 149), (396, 150), (396, 151), (396, 152), (396, 153), (396, 154), (396, 155), (396, 156), (396, 157), (396, 158), (396, 159), (396, 160), (396, 161), (396, 162), (396, 163), (396, 164), (396, 165), (396, 166), (396, 167), (396, 168), (396, 169), (396, 170), (396, 171), (396, 172), (396, 173), (396, 174), (396, 175), (396, 176), (396, 177),
(396, 178), (396, 179), (396, 180), (396, 181), (396, 182), (396, 183), (396, 184), (396, 185), (396, 186), (396, 187), (396, 188), (396, 189), (396, 190), (396, 191), (396, 192), (396, 193), (396, 194), (396, 195), (396, 197), (397, 118), (397, 120), (397, 121), (397, 122), (397, 123), (397, 124), (397, 125), (397, 126), (397, 127), (397, 128), (397, 129), (397, 130), (397, 131), (397, 132), (397, 133), (397, 134), (397, 135), (397, 136), (397, 137), (397, 138), (397, 139), (397, 140), (397, 141), (397, 142), (397, 143), (397, 144), (397, 145), (397, 146), (397, 147), (397, 148), (397, 149), (397, 150), (397, 151), (397, 152), (397, 153), (397, 154), (397, 155), (397, 156), (397, 157), (397, 158), (397, 159), (397, 160), (397, 161), (397, 162), (397, 163), (397, 164), (397, 165), (397, 166), (397, 167), (397, 168), (397, 169), (397, 170), (397, 171),
(397, 172), (397, 173), (397, 174), (397, 175), (397, 176), (397, 177), (397, 178), (397, 179), (397, 180), (397, 181), (397, 182), (397, 183), (397, 184), (397, 185), (397, 186), (397, 187), (397, 188), (397, 189), (397, 190), (397, 191), (397, 192), (397, 193), (397, 194), (397, 197), (398, 119), (398, 121), (398, 122), (398, 123), (398, 124), (398, 125), (398, 126), (398, 127), (398, 128), (398, 129), (398, 130), (398, 131), (398, 132), (398, 133), (398, 134), (398, 135), (398, 136), (398, 137), (398, 138), (398, 139), (398, 140), (398, 141), (398, 142), (398, 143), (398, 144), (398, 145), (398, 146), (398, 147), (398, 148), (398, 149), (398, 150), (398, 151), (398, 152), (398, 153), (398, 154), (398, 155), (398, 156), (398, 157), (398, 158), (398, 159), (398, 160), (398, 161), (398, 162), (398, 163), (398, 164), (398, 165), (398, 166), (398, 167),
(398, 168), (398, 169), (398, 170), (398, 171), (398, 172), (398, 173), (398, 174), (398, 175), (398, 176), (398, 177), (398, 178), (398, 179), (398, 180), (398, 181), (398, 182), (398, 183), (398, 184), (398, 185), (398, 186), (398, 187), (398, 188), (398, 189), (398, 190), (398, 191), (398, 192), (398, 196), (399, 120), (399, 122), (399, 123), (399, 124), (399, 125), (399, 126), (399, 127), (399, 128), (399, 129), (399, 130), (399, 131), (399, 132), (399, 133), (399, 134), (399, 135), (399, 136), (399, 137), (399, 138), (399, 139), (399, 140), (399, 141), (399, 142), (399, 143), (399, 144), (399, 145), (399, 146), (399, 147), (399, 148), (399, 149), (399, 150), (399, 151), (399, 152), (399, 153), (399, 154), (399, 155), (399, 156), (399, 157), (399, 158), (399, 159), (399, 160), (399, 161), (399, 162), (399, 163), (399, 164), (399, 165), (399, 166),
(399, 167), (399, 168), (399, 169), (399, 170), (399, 171), (399, 172), (399, 173), (399, 174), (399, 175), (399, 176), (399, 177), (399, 178), (399, 179), (399, 180), (399, 181), (399, 182), (399, 183), (399, 184), (399, 185), (399, 186), (399, 187), (399, 188), (399, 189), (399, 190), (399, 194), (400, 121), (400, 123), (400, 124), (400, 125), (400, 126), (400, 127), (400, 128), (400, 129), (400, 130), (400, 131), (400, 132), (400, 133), (400, 134), (400, 135), (400, 136), (400, 137), (400, 138), (400, 139), (400, 140), (400, 141), (400, 142), (400, 143), (400, 144), (400, 145), (400, 146), (400, 147), (400, 148), (400, 149), (400, 150), (400, 151), (400, 152), (400, 153), (400, 154), (400, 155), (400, 156), (400, 157), (400, 158), (400, 159), (400, 160), (400, 161), (400, 162), (400, 163), (400, 164), (400, 165), (400, 166), (400, 167), (400, 168),
(400, 169), (400, 170), (400, 171), (400, 172), (400, 173), (400, 174), (400, 175), (400, 176), (400, 177), (400, 178), (400, 179), (400, 180), (400, 181), (400, 182), (400, 183), (400, 184), (400, 185), (400, 186), (400, 187), (400, 188), (400, 192), (401, 122), (401, 124), (401, 125), (401, 126), (401, 127), (401, 128), (401, 129), (401, 130), (401, 131), (401, 132), (401, 133), (401, 134), (401, 135), (401, 136), (401, 137), (401, 138), (401, 139), (401, 140), (401, 141), (401, 142), (401, 143), (401, 144), (401, 145), (401, 146), (401, 147), (401, 148), (401, 149), (401, 150), (401, 151), (401, 152), (401, 153), (401, 154), (401, 155), (401, 156), (401, 157), (401, 158), (401, 159), (401, 160), (401, 161), (401, 162), (401, 163), (401, 164), (401, 165), (401, 166), (401, 167), (401, 168), (401, 169), (401, 170), (401, 171), (401, 172), (401, 173),
(401, 174), (401, 175), (401, 176), (401, 177), (401, 178), (401, 179), (401, 180), (401, 181), (401, 182), (401, 183), (401, 184), (401, 185), (401, 186), (401, 190), (402, 123), (402, 126), (402, 127), (402, 128), (402, 129), (402, 130), (402, 131), (402, 132), (402, 133), (402, 134), (402, 135), (402, 136), (402, 137), (402, 138), (402, 139), (402, 140), (402, 141), (402, 142), (402, 143), (402, 144), (402, 145), (402, 146), (402, 147), (402, 148), (402, 149), (402, 150), (402, 151), (402, 152), (402, 153), (402, 154), (402, 155), (402, 156), (402, 157), (402, 158), (402, 159), (402, 160), (402, 161), (402, 162), (402, 163), (402, 164), (402, 165), (402, 166), (402, 167), (402, 168), (402, 169), (402, 170), (402, 171), (402, 172), (402, 173), (402, 174), (402, 175), (402, 176), (402, 177), (402, 178), (402, 179), (402, 180), (402, 181), (402, 182),
(402, 183), (402, 184), (402, 188), (403, 124), (403, 127), (403, 128), (403, 129), (403, 130), (403, 131), (403, 132), (403, 133), (403, 134), (403, 135), (403, 136), (403, 137), (403, 138), (403, 139), (403, 140), (403, 141), (403, 142), (403, 143), (403, 144), (403, 145), (403, 146), (403, 147), (403, 148), (403, 149), (403, 150), (403, 151), (403, 152), (403, 153), (403, 154), (403, 155), (403, 156), (403, 157), (403, 158), (403, 159), (403, 160), (403, 161), (403, 162), (403, 163), (403, 164), (403, 165), (403, 166), (403, 167), (403, 168), (403, 169), (403, 170), (403, 171), (403, 172), (403, 173), (403, 174), (403, 175), (403, 176), (403, 177), (403, 178), (403, 179), (403, 180), (403, 181), (403, 182), (403, 186), (404, 125), (404, 128), (404, 129), (404, 130), (404, 131), (404, 132), (404, 133), (404, 134), (404, 135), (404, 136), (404, 137),
(404, 138), (404, 139), (404, 140), (404, 141), (404, 142), (404, 143), (404, 144), (404, 145), (404, 146), (404, 147), (404, 148), (404, 149), (404, 150), (404, 151), (404, 152), (404, 153), (404, 154), (404, 155), (404, 156), (404, 157), (404, 158), (404, 159), (404, 160), (404, 161), (404, 162), (404, 163), (404, 164), (404, 165), (404, 166), (404, 167), (404, 168), (404, 169), (404, 170), (404, 171), (404, 172), (404, 173), (404, 174), (404, 175), (404, 176), (404, 177), (404, 178), (404, 179), (404, 180), (404, 184), (405, 127), (405, 129), (405, 130), (405, 131), (405, 132), (405, 133), (405, 134), (405, 135), (405, 136), (405, 137), (405, 138), (405, 139), (405, 140), (405, 141), (405, 142), (405, 143), (405, 144), (405, 145), (405, 146), (405, 147), (405, 148), (405, 149), (405, 150), (405, 151), (405, 152), (405, 153), (405, 154), (405, 155),
(405, 156), (405, 157), (405, 158), (405, 159), (405, 160), (405, 161), (405, 162), (405, 163), (405, 164), (405, 165), (405, 166), (405, 167), (405, 168), (405, 169), (405, 170), (405, 171), (405, 172), (405, 182), (406, 128), (406, 130), (406, 131), (406, 132), (406, 133), (406, 134), (406, 135), (406, 136), (406, 137), (406, 138), (406, 139), (406, 140), (406, 141), (406, 142), (406, 143), (406, 144), (406, 145), (406, 146), (406, 147), (406, 148), (406, 149), (406, 150), (406, 151), (406, 152), (406, 153), (406, 154), (406, 155), (406, 156), (406, 157), (406, 158), (406, 159), (406, 160), (406, 161), (406, 162), (406, 163), (406, 164), (406, 165), (406, 166), (406, 167), (406, 168), (406, 169), (406, 173), (406, 174), (406, 175), (406, 176), (406, 177), (406, 178), (406, 180), (407, 129), (407, 132), (407, 133), (407, 134), (407, 135), (407, 136),
(407, 137), (407, 138), (407, 139), (407, 140), (407, 141), (407, 142), (407, 143), (407, 144), (407, 145), (407, 146), (407, 147), (407, 148), (407, 149), (407, 150), (407, 151), (407, 152), (407, 153), (407, 154), (407, 155), (407, 156), (407, 157), (407, 158), (407, 159), (407, 160), (407, 161), (407, 162), (407, 163), (407, 170), (407, 172), (408, 130), (408, 137), (408, 138), (408, 139), (408, 140), (408, 141), (408, 142), (408, 143), (408, 144), (408, 145), (408, 146), (408, 147), (408, 148), (408, 149), (408, 150), (408, 151), (408, 152), (408, 153), (408, 154), (408, 155), (408, 164), (408, 165), (408, 166), (408, 167), (408, 168), (408, 169), (409, 132), (409, 134), (409, 135), (409, 136), (409, 155), (409, 156), (409, 157), (409, 158), (409, 159), (409, 160), (409, 161), (409, 162), (409, 163), (410, 137), (410, 138), (410, 139), (410, 140),
(410, 141), (410, 142), (410, 143), (410, 144), (410, 145), (410, 146), (410, 147), (410, 148), (410, 149), (410, 150), (410, 151), (410, 152), (410, 153), (410, 154), )
coordinates_FFBF00 = ((119, 266),
(119, 269), (120, 247), (120, 248), (120, 249), (120, 250), (120, 251), (120, 252), (120, 253), (120, 254), (120, 255), (120, 264), (120, 265), (120, 271), (121, 244), (121, 246), (121, 256), (121, 257), (121, 258), (121, 261), (121, 262), (121, 266), (121, 267), (121, 268), (121, 269), (121, 273), (122, 242), (122, 243), (122, 247), (122, 248), (122, 249), (122, 250), (122, 251), (122, 252), (122, 253), (122, 254), (122, 255), (122, 259), (122, 260), (122, 263), (122, 264), (122, 265), (122, 266), (122, 267), (122, 268), (122, 269), (122, 270), (122, 271), (122, 275), (123, 238), (123, 239), (123, 240), (123, 241), (123, 244), (123, 245), (123, 246), (123, 247), (123, 248), (123, 249), (123, 250), (123, 251), (123, 252), (123, 253), (123, 254), (123, 255), (123, 256), (123, 257), (123, 258), (123, 261), (123, 262), (123, 263), (123, 264), (123, 265),
(123, 266), (123, 267), (123, 268), (123, 269), (123, 270), (123, 271), (123, 272), (123, 273), (123, 277), (124, 235), (124, 236), (124, 237), (124, 242), (124, 243), (124, 244), (124, 245), (124, 246), (124, 247), (124, 248), (124, 249), (124, 250), (124, 251), (124, 252), (124, 253), (124, 254), (124, 255), (124, 256), (124, 257), (124, 258), (124, 259), (124, 260), (124, 261), (124, 262), (124, 263), (124, 264), (124, 265), (124, 266), (124, 267), (124, 268), (124, 269), (124, 270), (124, 271), (124, 272), (124, 273), (124, 274), (124, 275), (124, 279), (125, 232), (125, 234), (125, 238), (125, 239), (125, 240), (125, 241), (125, 242), (125, 243), (125, 244), (125, 245), (125, 246), (125, 247), (125, 248), (125, 249), (125, 250), (125, 251), (125, 252), (125, 253), (125, 254), (125, 255), (125, 256), (125, 257), (125, 258), (125, 259), (125, 260),
(125, 261), (125, 262), (125, 263), (125, 264), (125, 265), (125, 266), (125, 267), (125, 268), (125, 269), (125, 270), (125, 271), (125, 272), (125, 273), (125, 274), (125, 275), (125, 276), (125, 277), (125, 281), (126, 230), (126, 235), (126, 236), (126, 237), (126, 238), (126, 239), (126, 240), (126, 241), (126, 242), (126, 243), (126, 244), (126, 245), (126, 246), (126, 247), (126, 248), (126, 249), (126, 250), (126, 251), (126, 252), (126, 253), (126, 254), (126, 255), (126, 256), (126, 257), (126, 258), (126, 259), (126, 260), (126, 261), (126, 262), (126, 263), (126, 264), (126, 265), (126, 266), (126, 267), (126, 268), (126, 269), (126, 270), (126, 271), (126, 272), (126, 273), (126, 274), (126, 275), (126, 276), (126, 277), (126, 278), (126, 279), (126, 283), (127, 229), (127, 232), (127, 233), (127, 234), (127, 235), (127, 236), (127, 237),
(127, 238), (127, 239), (127, 240), (127, 241), (127, 242), (127, 243), (127, 244), (127, 245), (127, 246), (127, 247), (127, 248), (127, 249), (127, 250), (127, 251), (127, 252), (127, 253), (127, 254), (127, 255), (127, 256), (127, 257), (127, 258), (127, 259), (127, 260), (127, 261), (127, 262), (127, 263), (127, 264), (127, 265), (127, 266), (127, 267), (127, 268), (127, 269), (127, 270), (127, 271), (127, 272), (127, 273), (127, 274), (127, 275), (127, 276), (127, 277), (127, 278), (127, 279), (127, 280), (127, 281), (127, 285), (128, 228), (128, 230), (128, 231), (128, 232), (128, 233), (128, 234), (128, 235), (128, 236), (128, 237), (128, 238), (128, 239), (128, 240), (128, 241), (128, 242), (128, 243), (128, 244), (128, 245), (128, 246), (128, 247), (128, 248), (128, 249), (128, 250), (128, 251), (128, 252), (128, 253), (128, 254), (128, 255),
(128, 256), (128, 257), (128, 258), (128, 259), (128, 260), (128, 261), (128, 262), (128, 263), (128, 264), (128, 265), (128, 266), (128, 267), (128, 268), (128, 269), (128, 270), (128, 271), (128, 272), (128, 273), (128, 274), (128, 275), (128, 276), (128, 277), (128, 278), (128, 279), (128, 280), (128, 281), (128, 282), (128, 283), (128, 286), (129, 228), (129, 230), (129, 231), (129, 232), (129, 233), (129, 234), (129, 235), (129, 236), (129, 237), (129, 238), (129, 239), (129, 240), (129, 241), (129, 242), (129, 243), (129, 244), (129, 245), (129, 246), (129, 247), (129, 248), (129, 249), (129, 250), (129, 251), (129, 252), (129, 253), (129, 254), (129, 255), (129, 256), (129, 257), (129, 258), (129, 259), (129, 260), (129, 261), (129, 262), (129, 263), (129, 264), (129, 265), (129, 266), (129, 267), (129, 268), (129, 269), (129, 270), (129, 271),
(129, 272), (129, 273), (129, 274), (129, 275), (129, 276), (129, 277), (129, 278), (129, 279), (129, 280), (129, 281), (129, 282), (129, 283), (129, 284), (129, 285), (129, 288), (130, 228), (130, 230), (130, 231), (130, 232), (130, 233), (130, 234), (130, 235), (130, 236), (130, 237), (130, 238), (130, 239), (130, 240), (130, 241), (130, 242), (130, 243), (130, 244), (130, 245), (130, 246), (130, 247), (130, 248), (130, 249), (130, 250), (130, 251), (130, 252), (130, 253), (130, 254), (130, 255), (130, 256), (130, 257), (130, 258), (130, 259), (130, 260), (130, 261), (130, 262), (130, 263), (130, 264), (130, 265), (130, 266), (130, 267), (130, 268), (130, 269), (130, 270), (130, 271), (130, 272), (130, 273), (130, 274), (130, 275), (130, 276), (130, 277), (130, 278), (130, 279), (130, 280), (130, 281), (130, 282), (130, 283), (130, 284), (130, 285),
(130, 286), (130, 289), (131, 228), (131, 230), (131, 231), (131, 232), (131, 233), (131, 234), (131, 235), (131, 236), (131, 237), (131, 238), (131, 239), (131, 240), (131, 241), (131, 242), (131, 243), (131, 244), (131, 245), (131, 246), (131, 247), (131, 248), (131, 249), (131, 250), (131, 251), (131, 252), (131, 253), (131, 254), (131, 255), (131, 256), (131, 257), (131, 258), (131, 259), (131, 260), (131, 261), (131, 262), (131, 263), (131, 264), (131, 265), (131, 266), (131, 267), (131, 268), (131, 269), (131, 270), (131, 271), (131, 272), (131, 273), (131, 274), (131, 275), (131, 276), (131, 277), (131, 278), (131, 279), (131, 280), (131, 281), (131, 282), (131, 283), (131, 284), (131, 285), (131, 286), (131, 287), (131, 288), (131, 290), (132, 228), (132, 230), (132, 231), (132, 232), (132, 233), (132, 234), (132, 235), (132, 236), (132, 237),
(132, 238), (132, 239), (132, 240), (132, 241), (132, 242), (132, 243), (132, 244), (132, 245), (132, 246), (132, 247), (132, 248), (132, 249), (132, 250), (132, 251), (132, 252), (132, 253), (132, 254), (132, 255), (132, 256), (132, 257), (132, 258), (132, 259), (132, 260), (132, 261), (132, 262), (132, 263), (132, 264), (132, 265), (132, 266), (132, 267), (132, 268), (132, 269), (132, 270), (132, 271), (132, 272), (132, 273), (132, 274), (132, 275), (132, 276), (132, 277), (132, 278), (132, 279), (132, 280), (132, 281), (132, 282), (132, 283), (132, 284), (132, 285), (132, 286), (132, 287), (132, 288), (132, 289), (132, 291), (133, 227), (133, 229), (133, 230), (133, 231), (133, 232), (133, 233), (133, 234), (133, 235), (133, 236), (133, 237), (133, 238), (133, 239), (133, 240), (133, 241), (133, 242), (133, 243), (133, 244), (133, 245), (133, 246),
(133, 247), (133, 248), (133, 249), (133, 250), (133, 251), (133, 252), (133, 253), (133, 254), (133, 255), (133, 256), (133, 257), (133, 258), (133, 259), (133, 260), (133, 261), (133, 262), (133, 263), (133, 264), (133, 265), (133, 266), (133, 267), (133, 268), (133, 269), (133, 270), (133, 271), (133, 272), (133, 273), (133, 274), (133, 275), (133, 276), (133, 277), (133, 278), (133, 279), (133, 280), (133, 281), (133, 282), (133, 283), (133, 284), (133, 285), (133, 286), (133, 287), (133, 288), (133, 289), (133, 290), (133, 292), (134, 227), (134, 229), (134, 230), (134, 231), (134, 232), (134, 233), (134, 234), (134, 235), (134, 236), (134, 237), (134, 238), (134, 239), (134, 240), (134, 241), (134, 242), (134, 243), (134, 244), (134, 245), (134, 246), (134, 247), (134, 248), (134, 249), (134, 250), (134, 251), (134, 252), (134, 253), (134, 254),
(134, 255), (134, 256), (134, 257), (134, 258), (134, 259), (134, 260), (134, 261), (134, 262), (134, 263), (134, 264), (134, 265), (134, 266), (134, 267), (134, 268), (134, 269), (134, 270), (134, 271), (134, 272), (134, 273), (134, 274), (134, 275), (134, 276), (134, 277), (134, 278), (134, 279), (134, 280), (134, 281), (134, 282), (134, 283), (134, 284), (134, 285), (134, 286), (134, 287), (134, 288), (134, 289), (134, 290), (134, 291), (134, 293), (135, 226), (135, 228), (135, 229), (135, 230), (135, 231), (135, 232), (135, 233), (135, 234), (135, 235), (135, 236), (135, 237), (135, 238), (135, 239), (135, 240), (135, 241), (135, 242), (135, 243), (135, 244), (135, 245), (135, 246), (135, 247), (135, 248), (135, 249), (135, 250), (135, 251), (135, 252), (135, 253), (135, 254), (135, 255), (135, 256), (135, 257), (135, 258), (135, 259), (135, 260),
(135, 261), (135, 262), (135, 263), (135, 264), (135, 265), (135, 266), (135, 267), (135, 268), (135, 269), (135, 270), (135, 271), (135, 272), (135, 273), (135, 274), (135, 275), (135, 276), (135, 277), (135, 278), (135, 279), (135, 280), (135, 281), (135, 282), (135, 283), (135, 284), (135, 285), (135, 286), (135, 287), (135, 288), (135, 289), (135, 290), (135, 291), (135, 292), (135, 294), (136, 225), (136, 227), (136, 228), (136, 229), (136, 230), (136, 231), (136, 232), (136, 233), (136, 234), (136, 235), (136, 236), (136, 237), (136, 238), (136, 239), (136, 240), (136, 241), (136, 242), (136, 243), (136, 244), (136, 245), (136, 246), (136, 247), (136, 248), (136, 249), (136, 250), (136, 251), (136, 252), (136, 253), (136, 254), (136, 255), (136, 256), (136, 257), (136, 258), (136, 259), (136, 260), (136, 261), (136, 262), (136, 263), (136, 264),
(136, 265), (136, 266), (136, 267), (136, 268), (136, 269), (136, 270), (136, 271), (136, 272), (136, 273), (136, 274), (136, 275), (136, 276), (136, 277), (136, 278), (136, 279), (136, 280), (136, 281), (136, 282), (136, 283), (136, 284), (136, 285), (136, 286), (136, 287), (136, 288), (136, 289), (136, 290), (136, 291), (136, 292), (136, 295), (137, 224), (137, 227), (137, 228), (137, 229), (137, 230), (137, 231), (137, 232), (137, 233), (137, 234), (137, 235), (137, 236), (137, 237), (137, 238), (137, 239), (137, 240), (137, 241), (137, 242), (137, 243), (137, 244), (137, 245), (137, 246), (137, 247), (137, 248), (137, 249), (137, 250), (137, 251), (137, 252), (137, 253), (137, 254), (137, 255), (137, 256), (137, 257), (137, 258), (137, 259), (137, 260), (137, 261), (137, 262), (137, 263), (137, 264), (137, 265), (137, 266), (137, 267), (137, 268),
(137, 269), (137, 270), (137, 271), (137, 272), (137, 273), (137, 274), (137, 275), (137, 276), (137, 277), (137, 278), (137, 279), (137, 280), (137, 281), (137, 282), (137, 283), (137, 284), (137, 285), (137, 286), (137, 287), (137, 288), (137, 289), (137, 290), (137, 291), (137, 292), (137, 293), (138, 222), (138, 225), (138, 226), (138, 227), (138, 228), (138, 229), (138, 230), (138, 231), (138, 232), (138, 233), (138, 234), (138, 235), (138, 236), (138, 237), (138, 238), (138, 239), (138, 240), (138, 241), (138, 242), (138, 243), (138, 244), (138, 245), (138, 246), (138, 247), (138, 248), (138, 249), (138, 250), (138, 251), (138, 252), (138, 253), (138, 254), (138, 255), (138, 256), (138, 257), (138, 258), (138, 259), (138, 260), (138, 261), (138, 262), (138, 263), (138, 264), (138, 265), (138, 266), (138, 267), (138, 268), (138, 269), (138, 270),
(138, 271), (138, 272), (138, 273), (138, 274), (138, 275), (138, 276), (138, 277), (138, 278), (138, 279), (138, 280), (138, 281), (138, 282), (138, 283), (138, 284), (138, 285), (138, 286), (138, 287), (138, 288), (138, 289), (138, 290), (138, 291), (138, 292), (138, 293), (138, 294), (138, 296), (139, 221), (139, 223), (139, 224), (139, 225), (139, 226), (139, 227), (139, 228), (139, 229), (139, 230), (139, 231), (139, 232), (139, 233), (139, 234), (139, 235), (139, 236), (139, 237), (139, 238), (139, 239), (139, 240), (139, 241), (139, 242), (139, 243), (139, 244), (139, 245), (139, 246), (139, 247), (139, 248), (139, 249), (139, 250), (139, 251), (139, 252), (139, 253), (139, 254), (139, 255), (139, 256), (139, 257), (139, 258), (139, 259), (139, 260), (139, 261), (139, 262), (139, 263), (139, 264), (139, 265), (139, 266), (139, 267), (139, 268),
(139, 269), (139, 270), (139, 271), (139, 272), (139, 273), (139, 274), (139, 275), (139, 276), (139, 277), (139, 278), (139, 279), (139, 280), (139, 281), (139, 282), (139, 283), (139, 284), (139, 285), (139, 286), (139, 287), (139, 288), (139, 289), (139, 290), (139, 291), (139, 292), (139, 293), (139, 294), (139, 295), (139, 298), (140, 220), (140, 222), (140, 223), (140, 224), (140, 225), (140, 226), (140, 227), (140, 228), (140, 229), (140, 230), (140, 231), (140, 232), (140, 233), (140, 234), (140, 235), (140, 236), (140, 237), (140, 238), (140, 239), (140, 240), (140, 241), (140, 242), (140, 243), (140, 244), (140, 245), (140, 246), (140, 247), (140, 248), (140, 249), (140, 250), (140, 251), (140, 252), (140, 253), (140, 254), (140, 255), (140, 256), (140, 257), (140, 258), (140, 259), (140, 260), (140, 261), (140, 262), (140, 263), (140, 264),
(140, 265), (140, 266), (140, 267), (140, 268), (140, 269), (140, 270), (140, 271), (140, 272), (140, 273), (140, 274), (140, 275), (140, 276), (140, 277), (140, 278), (140, 279), (140, 280), (140, 281), (140, 282), (140, 283), (140, 284), (140, 285), (140, 286), (140, 287), (140, 288), (140, 289), (140, 290), (140, 291), (140, 292), (140, 293), (140, 294), (140, 295), (140, 296), (140, 299), (141, 220), (141, 222), (141, 223), (141, 224), (141, 225), (141, 226), (141, 227), (141, 228), (141, 229), (141, 230), (141, 231), (141, 232), (141, 233), (141, 234), (141, 235), (141, 236), (141, 237), (141, 238), (141, 239), (141, 240), (141, 241), (141, 242), (141, 243), (141, 244), (141, 245), (141, 246), (141, 247), (141, 248), (141, 249), (141, 250), (141, 251), (141, 252), (141, 253), (141, 254), (141, 255), (141, 256), (141, 257), (141, 258), (141, 259),
(141, 260), (141, 261), (141, 262), (141, 263), (141, 264), (141, 265), (141, 266), (141, 267), (141, 268), (141, 269), (141, 270), (141, 271), (141, 272), (141, 273), (141, 274), (141, 275), (141, 276), (141, 277), (141, 278), (141, 279), (141, 280), (141, 281), (141, 282), (141, 283), (141, 284), (141, 285), (141, 286), (141, 287), (141, 288), (141, 289), (141, 290), (141, 291), (141, 292), (141, 293), (141, 294), (141, 295), (141, 296), (141, 297), (141, 298), (141, 300), (142, 219), (142, 221), (142, 222), (142, 223), (142, 224), (142, 225), (142, 226), (142, 227), (142, 228), (142, 229), (142, 230), (142, 231), (142, 232), (142, 233), (142, 234), (142, 235), (142, 236), (142, 237), (142, 238), (142, 239), (142, 240), (142, 241), (142, 242), (142, 243), (142, 244), (142, 245), (142, 246), (142, 247), (142, 248), (142, 249), (142, 250), (142, 251),
(142, 252), (142, 253), (142, 254), (142, 255), (142, 256), (142, 257), (142, 258), (142, 259), (142, 260), (142, 261), (142, 262), (142, 263), (142, 264), (142, 265), (142, 266), (142, 267), (142, 268), (142, 269), (142, 270), (142, 271), (142, 272), (142, 273), (142, 274), (142, 275), (142, 276), (142, 277), (142, 278), (142, 279), (142, 280), (142, 281), (142, 282), (142, 283), (142, 284), (142, 285), (142, 286), (142, 287), (142, 288), (142, 289), (142, 290), (142, 291), (142, 292), (142, 293), (142, 294), (142, 295), (142, 296), (142, 297), (142, 298), (142, 299), (142, 302), (143, 219), (143, 221), (143, 222), (143, 223), (143, 224), (143, 225), (143, 226), (143, 227), (143, 228), (143, 229), (143, 230), (143, 231), (143, 232), (143, 233), (143, 234), (143, 235), (143, 236), (143, 237), (143, 238), (143, 239), (143, 240), (143, 241), (143, 242),
(143, 243), (143, 244), (143, 245), (143, 246), (143, 247), (143, 248), (143, 249), (143, 250), (143, 251), (143, 252), (143, 253), (143, 254), (143, 255), (143, 256), (143, 257), (143, 258), (143, 259), (143, 260), (143, 261), (143, 262), (143, 263), (143, 264), (143, 265), (143, 266), (143, 267), (143, 268), (143, 269), (143, 270), (143, 271), (143, 272), (143, 273), (143, 274), (143, 275), (143, 276), (143, 277), (143, 278), (143, 279), (143, 280), (143, 281), (143, 282), (143, 283), (143, 284), (143, 285), (143, 286), (143, 287), (143, 288), (143, 289), (143, 290), (143, 291), (143, 292), (143, 293), (143, 294), (143, 295), (143, 296), (143, 297), (143, 298), (143, 299), (143, 300), (143, 303), (144, 219), (144, 221), (144, 222), (144, 223), (144, 224), (144, 225), (144, 226), (144, 227), (144, 228), (144, 229), (144, 230), (144, 231), (144, 232),
(144, 233), (144, 234), (144, 235), (144, 236), (144, 237), (144, 238), (144, 239), (144, 240), (144, 241), (144, 242), (144, 243), (144, 244), (144, 245), (144, 246), (144, 247), (144, 248), (144, 249), (144, 250), (144, 251), (144, 252), (144, 253), (144, 254), (144, 255), (144, 256), (144, 257), (144, 258), (144, 259), (144, 260), (144, 261), (144, 262), (144, 263), (144, 264), (144, 265), (144, 266), (144, 267), (144, 268), (144, 269), (144, 270), (144, 271), (144, 272), (144, 273), (144, 274), (144, 275), (144, 276), (144, 277), (144, 278), (144, 279), (144, 280), (144, 281), (144, 282), (144, 283), (144, 284), (144, 285), (144, 286), (144, 287), (144, 288), (144, 289), (144, 290), (144, 291), (144, 292), (144, 293), (144, 294), (144, 295), (144, 296), (144, 297), (144, 298), (144, 299), (144, 300), (144, 301), (144, 302), (144, 304), (145, 218),
(145, 220), (145, 221), (145, 222), (145, 223), (145, 224), (145, 225), (145, 226), (145, 227), (145, 228), (145, 229), (145, 230), (145, 231), (145, 232), (145, 233), (145, 234), (145, 235), (145, 236), (145, 237), (145, 238), (145, 239), (145, 240), (145, 241), (145, 242), (145, 243), (145, 244), (145, 245), (145, 246), (145, 247), (145, 248), (145, 249), (145, 250), (145, 251), (145, 252), (145, 253), (145, 254), (145, 255), (145, 256), (145, 257), (145, 258), (145, 259), (145, 260), (145, 261), (145, 262), (145, 263), (145, 264), (145, 265), (145, 266), (145, 267), (145, 268), (145, 269), (145, 270), (145, 271), (145, 272), (145, 273), (145, 274), (145, 275), (145, 276), (145, 277), (145, 278), (145, 279), (145, 280), (145, 281), (145, 282), (145, 283), (145, 284), (145, 285), (145, 286), (145, 287), (145, 288), (145, 289), (145, 290), (145, 291),
(145, 292), (145, 293), (145, 294), (145, 295), (145, 296), (145, 297), (145, 298), (145, 299), (145, 300), (145, 301), (145, 302), (145, 303), (145, 305), (146, 218), (146, 220), (146, 221), (146, 222), (146, 223), (146, 224), (146, 225), (146, 226), (146, 227), (146, 228), (146, 229), (146, 230), (146, 231), (146, 232), (146, 233), (146, 234), (146, 235), (146, 236), (146, 237), (146, 238), (146, 239), (146, 240), (146, 241), (146, 242), (146, 243), (146, 244), (146, 245), (146, 246), (146, 247), (146, 248), (146, 249), (146, 250), (146, 251), (146, 252), (146, 253), (146, 254), (146, 255), (146, 256), (146, 257), (146, 258), (146, 259), (146, 260), (146, 261), (146, 262), (146, 263), (146, 264), (146, 265), (146, 266), (146, 267), (146, 268), (146, 269), (146, 270), (146, 271), (146, 272), (146, 273), (146, 274), (146, 275), (146, 276), (146, 277),
(146, 278), (146, 279), (146, 280), (146, 281), (146, 282), (146, 283), (146, 284), (146, 285), (146, 286), (146, 287), (146, 288), (146, 289), (146, 290), (146, 291), (146, 292), (146, 293), (146, 294), (146, 295), (146, 296), (146, 297), (146, 298), (146, 299), (146, 300), (146, 301), (146, 302), (146, 303), (146, 305), (147, 218), (147, 220), (147, 221), (147, 222), (147, 223), (147, 224), (147, 225), (147, 226), (147, 227), (147, 228), (147, 229), (147, 230), (147, 231), (147, 232), (147, 233), (147, 234), (147, 235), (147, 236), (147, 237), (147, 238), (147, 239), (147, 240), (147, 241), (147, 242), (147, 243), (147, 244), (147, 245), (147, 246), (147, 247), (147, 248), (147, 249), (147, 250), (147, 251), (147, 252), (147, 253), (147, 254), (147, 255), (147, 256), (147, 257), (147, 258), (147, 259), (147, 260), (147, 261), (147, 262), (147, 263),
(147, 264), (147, 265), (147, 266), (147, 267), (147, 268), (147, 269), (147, 270), (147, 271), (147, 272), (147, 273), (147, 274), (147, 275), (147, 276), (147, 277), (147, 278), (147, 279), (147, 280), (147, 281), (147, 282), (147, 283), (147, 284), (147, 285), (147, 286), (147, 287), (147, 288), (147, 289), (147, 290), (147, 291), (147, 292), (147, 293), (147, 294), (147, 295), (147, 296), (147, 297), (147, 298), (147, 299), (147, 300), (147, 301), (147, 302), (147, 303), (147, 304), (147, 306), (148, 217), (148, 219), (148, 220), (148, 221), (148, 222), (148, 223), (148, 224), (148, 225), (148, 226), (148, 227), (148, 228), (148, 229), (148, 230), (148, 231), (148, 232), (148, 233), (148, 234), (148, 235), (148, 236), (148, 237), (148, 238), (148, 239), (148, 240), (148, 241), (148, 242), (148, 243), (148, 244), (148, 245), (148, 246), (148, 247),
(148, 248), (148, 249), (148, 250), (148, 251), (148, 252), (148, 253), (148, 254), (148, 255), (148, 256), (148, 257), (148, 258), (148, 259), (148, 260), (148, 261), (148, 262), (148, 263), (148, 264), (148, 265), (148, 266), (148, 267), (148, 268), (148, 269), (148, 270), (148, 271), (148, 272), (148, 273), (148, 274), (148, 275), (148, 276), (148, 277), (148, 278), (148, 279), (148, 280), (148, 281), (148, 282), (148, 283), (148, 284), (148, 285), (148, 286), (148, 287), (148, 288), (148, 289), (148, 290), (148, 291), (148, 292), (148, 293), (148, 294), (148, 295), (148, 296), (148, 297), (148, 298), (148, 299), (148, 300), (148, 301), (148, 302), (148, 303), (148, 304), (148, 306), (149, 216), (149, 218), (149, 219), (149, 220), (149, 221), (149, 222), (149, 223), (149, 224), (149, 225), (149, 226), (149, 227), (149, 228), (149, 229), (149, 230),
(149, 231), (149, 232), (149, 233), (149, 234), (149, 235), (149, 236), (149, 237), (149, 238), (149, 239), (149, 240), (149, 241), (149, 242), (149, 243), (149, 244), (149, 245), (149, 246), (149, 247), (149, 248), (149, 249), (149, 250), (149, 251), (149, 252), (149, 253), (149, 254), (149, 255), (149, 256), (149, 257), (149, 258), (149, 259), (149, 260), (149, 261), (149, 262), (149, 263), (149, 264), (149, 265), (149, 266), (149, 267), (149, 268), (149, 269), (149, 270), (149, 271), (149, 272), (149, 273), (149, 274), (149, 275), (149, 276), (149, 277), (149, 278), (149, 279), (149, 280), (149, 281), (149, 282), (149, 283), (149, 284), (149, 285), (149, 286), (149, 287), (149, 288), (149, 289), (149, 290), (149, 291), (149, 292), (149, 293), (149, 294), (149, 295), (149, 296), (149, 297), (149, 298), (149, 299), (149, 300), (149, 301), (149, 302),
(149, 303), (149, 304), (149, 305), (149, 307), (150, 215), (150, 217), (150, 218), (150, 219), (150, 220), (150, 221), (150, 222), (150, 223), (150, 224), (150, 225), (150, 226), (150, 227), (150, 228), (150, 229), (150, 230), (150, 231), (150, 232), (150, 233), (150, 234), (150, 235), (150, 236), (150, 237), (150, 238), (150, 239), (150, 240), (150, 241), (150, 242), (150, 243), (150, 244), (150, 245), (150, 246), (150, 247), (150, 248), (150, 249), (150, 250), (150, 251), (150, 252), (150, 253), (150, 254), (150, 255), (150, 256), (150, 257), (150, 258), (150, 259), (150, 260), (150, 261), (150, 262), (150, 263), (150, 264), (150, 265), (150, 266), (150, 267), (150, 268), (150, 269), (150, 270), (150, 271), (150, 272), (150, 273), (150, 274), (150, 275), (150, 276), (150, 277), (150, 278), (150, 279), (150, 280), (150, 281), (150, 282), (150, 283),
(150, 284), (150, 285), (150, 286), (150, 287), (150, 288), (150, 289), (150, 290), (150, 291), (150, 292), (150, 293), (150, 294), (150, 295), (150, 296), (150, 297), (150, 298), (150, 299), (150, 300), (150, 301), (150, 302), (150, 303), (150, 304), (150, 305), (150, 306), (150, 307), (151, 214), (151, 216), (151, 217), (151, 218), (151, 219), (151, 220), (151, 221), (151, 222), (151, 223), (151, 224), (151, 225), (151, 226), (151, 227), (151, 228), (151, 229), (151, 230), (151, 231), (151, 232), (151, 233), (151, 234), (151, 235), (151, 236), (151, 237), (151, 238), (151, 239), (151, 240), (151, 241), (151, 242), (151, 243), (151, 244), (151, 245), (151, 246), (151, 247), (151, 248), (151, 249), (151, 250), (151, 251), (151, 252), (151, 253), (151, 254), (151, 255), (151, 256), (151, 257), (151, 258), (151, 259), (151, 260), (151, 261), (151, 262),
(151, 263), (151, 264), (151, 265), (151, 266), (151, 267), (151, 268), (151, 269), (151, 270), (151, 271), (151, 272), (151, 273), (151, 274), (151, 275), (151, 276), (151, 277), (151, 278), (151, 279), (151, 280), (151, 281), (151, 282), (151, 283), (151, 284), (151, 285), (151, 286), (151, 287), (151, 288), (151, 289), (151, 290), (151, 291), (151, 292), (151, 293), (151, 294), (151, 295), (151, 296), (151, 297), (151, 298), (151, 299), (151, 300), (151, 301), (151, 302), (151, 303), (151, 304), (151, 305), (151, 306), (151, 308), (152, 213), (152, 215), (152, 216), (152, 217), (152, 218), (152, 219), (152, 220), (152, 221), (152, 222), (152, 223), (152, 224), (152, 225), (152, 226), (152, 227), (152, 228), (152, 229), (152, 230), (152, 231), (152, 232), (152, 233), (152, 234), (152, 235), (152, 236), (152, 237), (152, 238), (152, 239), (152, 240),
(152, 241), (152, 242), (152, 243), (152, 244), (152, 245), (152, 246), (152, 247), (152, 248), (152, 249), (152, 250), (152, 251), (152, 252), (152, 253), (152, 254), (152, 255), (152, 256), (152, 257), (152, 258), (152, 259), (152, 260), (152, 261), (152, 262), (152, 263), (152, 264), (152, 265), (152, 266), (152, 267), (152, 268), (152, 269), (152, 270), (152, 271), (152, 272), (152, 273), (152, 274), (152, 275), (152, 276), (152, 277), (152, 278), (152, 279), (152, 280), (152, 281), (152, 282), (152, 283), (152, 284), (152, 285), (152, 286), (152, 287), (152, 288), (152, 289), (152, 290), (152, 291), (152, 292), (152, 293), (152, 294), (152, 295), (152, 296), (152, 297), (152, 298), (152, 299), (152, 300), (152, 301), (152, 302), (152, 303), (152, 304), (152, 305), (152, 306), (152, 307), (152, 309), (153, 212), (153, 214), (153, 215), (153, 216),
(153, 217), (153, 218), (153, 219), (153, 220), (153, 221), (153, 222), (153, 223), (153, 224), (153, 225), (153, 226), (153, 227), (153, 228), (153, 229), (153, 230), (153, 231), (153, 232), (153, 233), (153, 234), (153, 235), (153, 236), (153, 237), (153, 238), (153, 239), (153, 240), (153, 241), (153, 242), (153, 243), (153, 244), (153, 245), (153, 246), (153, 247), (153, 248), (153, 249), (153, 250), (153, 251), (153, 252), (153, 253), (153, 254), (153, 255), (153, 256), (153, 257), (153, 258), (153, 259), (153, 260), (153, 261), (153, 262), (153, 263), (153, 264), (153, 265), (153, 266), (153, 267), (153, 268), (153, 269), (153, 270), (153, 271), (153, 272), (153, 273), (153, 274), (153, 275), (153, 276), (153, 277), (153, 278), (153, 279), (153, 280), (153, 281), (153, 282), (153, 283), (153, 284), (153, 285), (153, 286), (153, 287), (153, 288),
(153, 289), (153, 290), (153, 291), (153, 292), (153, 293), (153, 294), (153, 295), (153, 296), (153, 297), (153, 298), (153, 299), (153, 300), (153, 301), (153, 302), (153, 303), (153, 304), (153, 305), (153, 306), (153, 307), (153, 309), (154, 213), (154, 214), (154, 215), (154, 216), (154, 217), (154, 218), (154, 219), (154, 220), (154, 221), (154, 222), (154, 223), (154, 224), (154, 225), (154, 226), (154, 227), (154, 228), (154, 229), (154, 230), (154, 231), (154, 232), (154, 233), (154, 234), (154, 235), (154, 236), (154, 237), (154, 238), (154, 239), (154, 240), (154, 241), (154, 242), (154, 243), (154, 244), (154, 245), (154, 246), (154, 247), (154, 248), (154, 249), (154, 250), (154, 251), (154, 252), (154, 253), (154, 254), (154, 255), (154, 256), (154, 257), (154, 258), (154, 259), (154, 260), (154, 261), (154, 262), (154, 263), (154, 264),
(154, 265), (154, 266), (154, 267), (154, 268), (154, 269), (154, 270), (154, 271), (154, 272), (154, 273), (154, 274), (154, 275), (154, 276), (154, 277), (154, 278), (154, 279), (154, 280), (154, 281), (154, 282), (154, 283), (154, 284), (154, 285), (154, 286), (154, 287), (154, 288), (154, 289), (154, 290), (154, 291), (154, 292), (154, 293), (154, 294), (154, 295), (154, 296), (154, 297), (154, 298), (154, 299), (154, 300), (154, 301), (154, 302), (154, 303), (154, 304), (154, 305), (154, 306), (154, 307), (154, 308), (154, 310), (155, 212), (155, 213), (155, 214), (155, 215), (155, 216), (155, 217), (155, 218), (155, 219), (155, 220), (155, 221), (155, 222), (155, 223), (155, 224), (155, 225), (155, 226), (155, 227), (155, 228), (155, 229), (155, 230), (155, 231), (155, 232), (155, 233), (155, 234), (155, 235), (155, 236), (155, 237), (155, 238),
(155, 239), (155, 240), (155, 241), (155, 242), (155, 243), (155, 244), (155, 245), (155, 246), (155, 247), (155, 248), (155, 249), (155, 250), (155, 251), (155, 252), (155, 253), (155, 254), (155, 255), (155, 256), (155, 257), (155, 258), (155, 259), (155, 260), (155, 261), (155, 262), (155, 263), (155, 264), (155, 265), (155, 266), (155, 267), (155, 268), (155, 269), (155, 270), (155, 271), (155, 272), (155, 273), (155, 274), (155, 275), (155, 276), (155, 277), (155, 278), (155, 279), (155, 280), (155, 281), (155, 282), (155, 283), (155, 284), (155, 285), (155, 286), (155, 287), (155, 288), (155, 289), (155, 290), (155, 291), (155, 292), (155, 293), (155, 294), (155, 295), (155, 296), (155, 297), (155, 298), (155, 299), (155, 300), (155, 301), (155, 302), (155, 303), (155, 304), (155, 305), (155, 306), (155, 307), (155, 308), (155, 310), (156, 209),
(156, 211), (156, 212), (156, 213), (156, 214), (156, 215), (156, 216), (156, 217), (156, 218), (156, 219), (156, 220), (156, 221), (156, 222), (156, 223), (156, 224), (156, 225), (156, 226), (156, 227), (156, 228), (156, 229), (156, 230), (156, 231), (156, 232), (156, 233), (156, 234), (156, 235), (156, 236), (156, 237), (156, 238), (156, 239), (156, 240), (156, 241), (156, 242), (156, 243), (156, 244), (156, 245), (156, 246), (156, 247), (156, 248), (156, 249), (156, 250), (156, 251), (156, 252), (156, 253), (156, 254), (156, 255), (156, 256), (156, 257), (156, 258), (156, 259), (156, 260), (156, 261), (156, 262), (156, 263), (156, 264), (156, 265), (156, 266), (156, 267), (156, 268), (156, 269), (156, 270), (156, 271), (156, 272), (156, 273), (156, 274), (156, 275), (156, 276), (156, 277), (156, 278), (156, 279), (156, 280), (156, 281), (156, 282),
(156, 283), (156, 284), (156, 285), (156, 286), (156, 287), (156, 288), (156, 289), (156, 290), (156, 291), (156, 292), (156, 293), (156, 294), (156, 295), (156, 296), (156, 297), (156, 298), (156, 299), (156, 300), (156, 301), (156, 302), (156, 303), (156, 304), (156, 305), (156, 306), (156, 307), (156, 308), (156, 309), (156, 311), (157, 208), (157, 210), (157, 211), (157, 212), (157, 213), (157, 214), (157, 215), (157, 216), (157, 217), (157, 218), (157, 219), (157, 220), (157, 221), (157, 222), (157, 223), (157, 224), (157, 225), (157, 226), (157, 227), (157, 228), (157, 229), (157, 230), (157, 231), (157, 232), (157, 233), (157, 234), (157, 235), (157, 236), (157, 237), (157, 238), (157, 239), (157, 240), (157, 241), (157, 242), (157, 243), (157, 244), (157, 245), (157, 246), (157, 247), (157, 248), (157, 249), (157, 250), (157, 251), (157, 252),
(157, 253), (157, 254), (157, 255), (157, 256), (157, 257), (157, 258), (157, 259), (157, 260), (157, 261), (157, 262), (157, 263), (157, 264), (157, 265), (157, 266), (157, 267), (157, 268), (157, 269), (157, 270), (157, 271), (157, 272), (157, 273), (157, 274), (157, 275), (157, 276), (157, 277), (157, 278), (157, 279), (157, 280), (157, 281), (157, 282), (157, 283), (157, 284), (157, 285), (157, 286), (157, 287), (157, 288), (157, 289), (157, 290), (157, 291), (157, 292), (157, 293), (157, 294), (157, 295), (157, 296), (157, 297), (157, 298), (157, 299), (157, 300), (157, 301), (157, 302), (157, 303), (157, 304), (157, 305), (157, 306), (157, 307), (157, 308), (157, 309), (157, 311), (158, 208), (158, 210), (158, 211), (158, 212), (158, 213), (158, 214), (158, 215), (158, 216), (158, 217), (158, 218), (158, 219), (158, 220), (158, 221), (158, 222),
(158, 223), (158, 224), (158, 225), (158, 226), (158, 227), (158, 228), (158, 229), (158, 230), (158, 231), (158, 232), (158, 233), (158, 234), (158, 235), (158, 236), (158, 237), (158, 238), (158, 239), (158, 240), (158, 241), (158, 242), (158, 243), (158, 244), (158, 245), (158, 246), (158, 247), (158, 248), (158, 249), (158, 250), (158, 251), (158, 252), (158, 253), (158, 254), (158, 255), (158, 256), (158, 257), (158, 258), (158, 259), (158, 260), (158, 261), (158, 262), (158, 263), (158, 264), (158, 265), (158, 266), (158, 267), (158, 268), (158, 269), (158, 270), (158, 271), (158, 272), (158, 273), (158, 274), (158, 275), (158, 276), (158, 277), (158, 278), (158, 279), (158, 280), (158, 281), (158, 282), (158, 283), (158, 284), (158, 285), (158, 286), (158, 287), (158, 288), (158, 289), (158, 290), (158, 291), (158, 292), (158, 293), (158, 294),
(158, 295), (158, 296), (158, 297), (158, 298), (158, 299), (158, 300), (158, 301), (158, 302), (158, 303), (158, 304), (158, 305), (158, 306), (158, 307), (158, 308), (158, 309), (158, 310), (158, 312), (159, 207), (159, 209), (159, 210), (159, 211), (159, 212), (159, 213), (159, 214), (159, 215), (159, 216), (159, 217), (159, 218), (159, 219), (159, 220), (159, 221), (159, 222), (159, 223), (159, 224), (159, 225), (159, 226), (159, 227), (159, 228), (159, 229), (159, 230), (159, 231), (159, 232), (159, 233), (159, 234), (159, 235), (159, 236), (159, 237), (159, 238), (159, 239), (159, 240), (159, 241), (159, 242), (159, 243), (159, 244), (159, 245), (159, 246), (159, 247), (159, 248), (159, 249), (159, 250), (159, 251), (159, 252), (159, 253), (159, 254), (159, 255), (159, 256), (159, 257), (159, 258), (159, 259), (159, 260), (159, 261), (159, 262),
(159, 263), (159, 264), (159, 265), (159, 266), (159, 267), (159, 268), (159, 269), (159, 270), (159, 271), (159, 272), (159, 273), (159, 274), (159, 275), (159, 276), (159, 277), (159, 278), (159, 279), (159, 280), (159, 281), (159, 282), (159, 283), (159, 284), (159, 285), (159, 286), (159, 287), (159, 288), (159, 289), (159, 290), (159, 291), (159, 292), (159, 293), (159, 294), (159, 295), (159, 296), (159, 297), (159, 298), (159, 299), (159, 300), (159, 301), (159, 302), (159, 303), (159, 304), (159, 305), (159, 306), (159, 307), (159, 308), (159, 309), (159, 310), (159, 311), (159, 313), (160, 207), (160, 209), (160, 210), (160, 211), (160, 212), (160, 213), (160, 214), (160, 215), (160, 216), (160, 217), (160, 218), (160, 219), (160, 220), (160, 221), (160, 222), (160, 223), (160, 224), (160, 225), (160, 226), (160, 227), (160, 228), (160, 229),
(160, 230), (160, 231), (160, 232), (160, 233), (160, 234), (160, 235), (160, 236), (160, 237), (160, 238), (160, 239), (160, 240), (160, 241), (160, 242), (160, 243), (160, 244), (160, 245), (160, 246), (160, 247), (160, 248), (160, 249), (160, 250), (160, 251), (160, 252), (160, 253), (160, 254), (160, 255), (160, 256), (160, 257), (160, 258), (160, 259), (160, 260), (160, 261), (160, 262), (160, 263), (160, 264), (160, 265), (160, 266), (160, 267), (160, 268), (160, 269), (160, 270), (160, 271), (160, 272), (160, 273), (160, 274), (160, 275), (160, 276), (160, 277), (160, 278), (160, 279), (160, 280), (160, 281), (160, 282), (160, 283), (160, 284), (160, 285), (160, 286), (160, 287), (160, 288), (160, 289), (160, 290), (160, 291), (160, 292), (160, 293), (160, 294), (160, 295), (160, 296), (160, 297), (160, 298), (160, 299), (160, 300), (160, 301),
(160, 302), (160, 303), (160, 304), (160, 305), (160, 306), (160, 307), (160, 308), (160, 309), (160, 310), (160, 311), (160, 313), (161, 207), (161, 209), (161, 210), (161, 211), (161, 212), (161, 213), (161, 214), (161, 215), (161, 216), (161, 217), (161, 218), (161, 219), (161, 220), (161, 221), (161, 222), (161, 223), (161, 224), (161, 225), (161, 226), (161, 227), (161, 228), (161, 229), (161, 230), (161, 231), (161, 232), (161, 233), (161, 234), (161, 235), (161, 236), (161, 237), (161, 238), (161, 239), (161, 240), (161, 241), (161, 242), (161, 243), (161, 244), (161, 245), (161, 246), (161, 247), (161, 248), (161, 249), (161, 250), (161, 251), (161, 252), (161, 253), (161, 254), (161, 255), (161, 256), (161, 257), (161, 258), (161, 259), (161, 260), (161, 261), (161, 262), (161, 263), (161, 264), (161, 265), (161, 266), (161, 267), (161, 268),
(161, 269), (161, 270), (161, 271), (161, 272), (161, 273), (161, 274), (161, 275), (161, 276), (161, 277), (161, 278), (161, 279), (161, 280), (161, 281), (161, 282), (161, 283), (161, 284), (161, 285), (161, 286), (161, 287), (161, 288), (161, 289), (161, 290), (161, 291), (161, 292), (161, 293), (161, 294), (161, 295), (161, 296), (161, 297), (161, 298), (161, 299), (161, 300), (161, 301), (161, 302), (161, 303), (161, 304), (161, 305), (161, 306), (161, 307), (161, 308), (161, 309), (161, 310), (161, 311), (161, 312), (161, 314), (162, 207), (162, 209), (162, 210), (162, 211), (162, 212), (162, 213), (162, 214), (162, 215), (162, 216), (162, 217), (162, 218), (162, 219), (162, 220), (162, 221), (162, 222), (162, 223), (162, 224), (162, 225), (162, 226), (162, 227), (162, 228), (162, 229), (162, 230), (162, 231), (162, 232), (162, 233), (162, 234),
(162, 235), (162, 236), (162, 237), (162, 238), (162, 239), (162, 240), (162, 241), (162, 242), (162, 243), (162, 244), (162, 245), (162, 246), (162, 247), (162, 248), (162, 249), (162, 250), (162, 251), (162, 252), (162, 253), (162, 254), (162, 255), (162, 256), (162, 257), (162, 258), (162, 259), (162, 260), (162, 261), (162, 262), (162, 263), (162, 264), (162, 265), (162, 266), (162, 267), (162, 268), (162, 269), (162, 270), (162, 271), (162, 272), (162, 273), (162, 274), (162, 275), (162, 276), (162, 277), (162, 278), (162, 279), (162, 280), (162, 281), (162, 282), (162, 283), (162, 284), (162, 285), (162, 286), (162, 287), (162, 288), (162, 289), (162, 290), (162, 291), (162, 292), (162, 293), (162, 294), (162, 295), (162, 296), (162, 297), (162, 298), (162, 299), (162, 300), (162, 301), (162, 302), (162, 303), (162, 304), (162, 305), (162, 306),
(162, 307), (162, 308), (162, 309), (162, 310), (162, 311), (162, 312), (162, 314), (163, 206), (163, 208), (163, 209), (163, 210), (163, 211), (163, 212), (163, 213), (163, 214), (163, 215), (163, 216), (163, 217), (163, 218), (163, 219), (163, 220), (163, 221), (163, 222), (163, 223), (163, 224), (163, 225), (163, 226), (163, 227), (163, 228), (163, 229), (163, 230), (163, 231), (163, 232), (163, 233), (163, 234), (163, 235), (163, 236), (163, 237), (163, 238), (163, 239), (163, 240), (163, 241), (163, 242), (163, 243), (163, 244), (163, 245), (163, 246), (163, 247), (163, 248), (163, 249), (163, 250), (163, 251), (163, 252), (163, 253), (163, 254), (163, 255), (163, 256), (163, 257), (163, 258), (163, 259), (163, 260), (163, 261), (163, 262), (163, 263), (163, 264), (163, 265), (163, 266), (163, 267), (163, 268), (163, 269), (163, 270), (163, 271),
(163, 272), (163, 273), (163, 274), (163, 275), (163, 276), (163, 277), (163, 278), (163, 279), (163, 280), (163, 281), (163, 282), (163, 283), (163, 284), (163, 285), (163, 286), (163, 287), (163, 288), (163, 289), (163, 290), (163, 291), (163, 292), (163, 293), (163, 294), (163, 295), (163, 296), (163, 297), (163, 298), (163, 299), (163, 300), (163, 301), (163, 302), (163, 303), (163, 304), (163, 305), (163, 306), (163, 307), (163, 308), (163, 309), (163, 310), (163, 311), (163, 312), (163, 313), (163, 315), (164, 206), (164, 208), (164, 209), (164, 210), (164, 211), (164, 212), (164, 213), (164, 214), (164, 215), (164, 216), (164, 217), (164, 218), (164, 219), (164, 220), (164, 221), (164, 222), (164, 223), (164, 224), (164, 225), (164, 226), (164, 227), (164, 228), (164, 229), (164, 230), (164, 231), (164, 232), (164, 233), (164, 234), (164, 235),
(164, 236), (164, 237), (164, 238), (164, 239), (164, 240), (164, 241), (164, 242), (164, 243), (164, 244), (164, 245), (164, 246), (164, 247), (164, 248), (164, 249), (164, 250), (164, 251), (164, 252), (164, 253), (164, 254), (164, 255), (164, 256), (164, 257), (164, 258), (164, 259), (164, 260), (164, 261), (164, 262), (164, 263), (164, 264), (164, 265), (164, 266), (164, 267), (164, 268), (164, 269), (164, 270), (164, 271), (164, 272), (164, 273), (164, 274), (164, 275), (164, 276), (164, 277), (164, 278), (164, 279), (164, 280), (164, 281), (164, 282), (164, 283), (164, 284), (164, 285), (164, 286), (164, 287), (164, 288), (164, 289), (164, 290), (164, 291), (164, 292), (164, 293), (164, 294), (164, 295), (164, 296), (164, 297), (164, 298), (164, 299), (164, 300), (164, 301), (164, 302), (164, 303), (164, 304), (164, 305), (164, 306), (164, 307),
(164, 308), (164, 309), (164, 310), (164, 311), (164, 312), (164, 313), (164, 315), (165, 206), (165, 208), (165, 209), (165, 210), (165, 211), (165, 212), (165, 213), (165, 214), (165, 215), (165, 216), (165, 217), (165, 218), (165, 219), (165, 220), (165, 221), (165, 222), (165, 223), (165, 224), (165, 225), (165, 226), (165, 227), (165, 228), (165, 229), (165, 230), (165, 231), (165, 232), (165, 233), (165, 234), (165, 235), (165, 236), (165, 237), (165, 238), (165, 239), (165, 240), (165, 241), (165, 242), (165, 243), (165, 244), (165, 245), (165, 246), (165, 247), (165, 248), (165, 249), (165, 250), (165, 251), (165, 252), (165, 253), (165, 254), (165, 255), (165, 256), (165, 257), (165, 258), (165, 259), (165, 260), (165, 261), (165, 262), (165, 263), (165, 264), (165, 265), (165, 266), (165, 267), (165, 268), (165, 269), (165, 270), (165, 271),
(165, 272), (165, 273), (165, 274), (165, 275), (165, 276), (165, 277), (165, 278), (165, 279), (165, 280), (165, 281), (165, 282), (165, 283), (165, 284), (165, 285), (165, 286), (165, 287), (165, 288), (165, 289), (165, 290), (165, 291), (165, 292), (165, 293), (165, 294), (165, 295), (165, 296), (165, 297), (165, 298), (165, 299), (165, 300), (165, 301), (165, 302), (165, 303), (165, 304), (165, 305), (165, 306), (165, 307), (165, 308), (165, 309), (165, 310), (165, 311), (165, 312), (165, 313), (165, 314), (165, 316), (166, 205), (166, 207), (166, 208), (166, 209), (166, 210), (166, 211), (166, 212), (166, 213), (166, 214), (166, 215), (166, 216), (166, 217), (166, 218), (166, 219), (166, 220), (166, 221), (166, 222), (166, 223), (166, 224), (166, 225), (166, 226), (166, 227), (166, 228), (166, 229), (166, 230), (166, 231), (166, 232), (166, 233),
(166, 234), (166, 235), (166, 236), (166, 237), (166, 238), (166, 239), (166, 240), (166, 241), (166, 242), (166, 243), (166, 244), (166, 245), (166, 246), (166, 247), (166, 248), (166, 249), (166, 250), (166, 251), (166, 252), (166, 253), (166, 254), (166, 255), (166, 256), (166, 257), (166, 258), (166, 259), (166, 260), (166, 261), (166, 262), (166, 263), (166, 264), (166, 265), (166, 266), (166, 267), (166, 268), (166, 269), (166, 270), (166, 271), (166, 272), (166, 273), (166, 274), (166, 275), (166, 276), (166, 277), (166, 278), (166, 279), (166, 280), (166, 281), (166, 282), (166, 283), (166, 284), (166, 285), (166, 286), (166, 287), (166, 288), (166, 289), (166, 290), (166, 291), (166, 292), (166, 293), (166, 294), (166, 295), (166, 296), (166, 297), (166, 298), (166, 299), (166, 300), (166, 301), (166, 302), (166, 303), (166, 304), (166, 305),
(166, 306), (166, 307), (166, 308), (166, 309), (166, 310), (166, 311), (166, 312), (166, 313), (166, 314), (166, 316), (167, 204), (167, 206), (167, 207), (167, 208), (167, 209), (167, 210), (167, 211), (167, 212), (167, 213), (167, 214), (167, 215), (167, 216), (167, 217), (167, 218), (167, 219), (167, 220), (167, 221), (167, 222), (167, 223), (167, 224), (167, 225), (167, 226), (167, 227), (167, 228), (167, 229), (167, 230), (167, 231), (167, 232), (167, 233), (167, 234), (167, 235), (167, 236), (167, 237), (167, 238), (167, 239), (167, 240), (167, 241), (167, 242), (167, 243), (167, 244), (167, 245), (167, 246), (167, 247), (167, 248), (167, 249), (167, 250), (167, 251), (167, 252), (167, 253), (167, 254), (167, 255), (167, 256), (167, 257), (167, 258), (167, 259), (167, 260), (167, 261), (167, 262), (167, 263), (167, 264), (167, 265), (167, 266),
(167, 267), (167, 268), (167, 269), (167, 270), (167, 271), (167, 272), (167, 273), (167, 274), (167, 275), (167, 276), (167, 277), (167, 278), (167, 279), (167, 280), (167, 281), (167, 282), (167, 283), (167, 284), (167, 285), (167, 286), (167, 287), (167, 288), (167, 289), (167, 290), (167, 291), (167, 292), (167, 293), (167, 294), (167, 295), (167, 296), (167, 297), (167, 298), (167, 299), (167, 300), (167, 301), (167, 302), (167, 303), (167, 304), (167, 305), (167, 306), (167, 307), (167, 308), (167, 309), (167, 310), (167, 311), (167, 312), (167, 313), (167, 314), (167, 316), (168, 203), (168, 205), (168, 206), (168, 207), (168, 208), (168, 209), (168, 210), (168, 211), (168, 212), (168, 213), (168, 214), (168, 215), (168, 216), (168, 217), (168, 218), (168, 219), (168, 220), (168, 221), (168, 222), (168, 223), (168, 224), (168, 225), (168, 226),
(168, 227), (168, 228), (168, 229), (168, 230), (168, 231), (168, 232), (168, 233), (168, 234), (168, 235), (168, 236), (168, 237), (168, 238), (168, 239), (168, 240), (168, 241), (168, 242), (168, 243), (168, 244), (168, 245), (168, 246), (168, 247), (168, 248), (168, 249), (168, 250), (168, 251), (168, 252), (168, 253), (168, 254), (168, 255), (168, 256), (168, 257), (168, 258), (168, 259), (168, 260), (168, 261), (168, 262), (168, 263), (168, 264), (168, 265), (168, 266), (168, 267), (168, 268), (168, 269), (168, 270), (168, 271), (168, 272), (168, 273), (168, 274), (168, 275), (168, 276), (168, 277), (168, 278), (168, 279), (168, 280), (168, 281), (168, 282), (168, 283), (168, 284), (168, 285), (168, 286), (168, 287), (168, 288), (168, 289), (168, 290), (168, 291), (168, 292), (168, 293), (168, 294), (168, 295), (168, 296), (168, 297), (168, 298),
(168, 299), (168, 300), (168, 301), (168, 302), (168, 303), (168, 304), (168, 305), (168, 306), (168, 307), (168, 308), (168, 309), (168, 310), (168, 311), (168, 312), (168, 313), (168, 314), (168, 316), (169, 202), (169, 204), (169, 205), (169, 206), (169, 207), (169, 208), (169, 209), (169, 210), (169, 211), (169, 212), (169, 213), (169, 214), (169, 215), (169, 216), (169, 217), (169, 218), (169, 219), (169, 220), (169, 221), (169, 222), (169, 223), (169, 224), (169, 225), (169, 226), (169, 227), (169, 228), (169, 229), (169, 230), (169, 231), (169, 232), (169, 233), (169, 234), (169, 235), (169, 236), (169, 237), (169, 238), (169, 239), (169, 240), (169, 241), (169, 242), (169, 243), (169, 244), (169, 245), (169, 246), (169, 247), (169, 248), (169, 249), (169, 250), (169, 251), (169, 252), (169, 253), (169, 254), (169, 255), (169, 256), (169, 257),
(169, 258), (169, 259), (169, 260), (169, 261), (169, 262), (169, 263), (169, 264), (169, 265), (169, 266), (169, 267), (169, 268), (169, 269), (169, 270), (169, 271), (169, 272), (169, 273), (169, 274), (169, 275), (169, 276), (169, 277), (169, 278), (169, 279), (169, 280), (169, 281), (169, 282), (169, 283), (169, 284), (169, 285), (169, 286), (169, 287), (169, 288), (169, 289), (169, 290), (169, 291), (169, 292), (169, 293), (169, 294), (169, 295), (169, 296), (169, 297), (169, 298), (169, 299), (169, 300), (169, 301), (169, 302), (169, 303), (169, 304), (169, 305), (169, 306), (169, 307), (169, 308), (169, 309), (169, 310), (169, 311), (169, 312), (169, 313), (169, 314), (169, 316), (170, 202), (170, 204), (170, 205), (170, 206), (170, 207), (170, 208), (170, 209), (170, 210), (170, 211), (170, 212), (170, 213), (170, 214), (170, 215), (170, 216),
(170, 217), (170, 218), (170, 219), (170, 220), (170, 221), (170, 222), (170, 223), (170, 224), (170, 225), (170, 226), (170, 227), (170, 228), (170, 229), (170, 230), (170, 231), (170, 232), (170, 233), (170, 234), (170, 235), (170, 236), (170, 237), (170, 238), (170, 239), (170, 240), (170, 241), (170, 242), (170, 243), (170, 244), (170, 245), (170, 246), (170, 247), (170, 248), (170, 249), (170, 250), (170, 251), (170, 252), (170, 253), (170, 254), (170, 255), (170, 256), (170, 257), (170, 258), (170, 259), (170, 260), (170, 261), (170, 262), (170, 263), (170, 264), (170, 265), (170, 266), (170, 267), (170, 268), (170, 269), (170, 270), (170, 271), (170, 272), (170, 273), (170, 274), (170, 275), (170, 276), (170, 277), (170, 278), (170, 279), (170, 280), (170, 281), (170, 282), (170, 283), (170, 284), (170, 285), (170, 286), (170, 287), (170, 288),
(170, 289), (170, 290), (170, 291), (170, 292), (170, 293), (170, 294), (170, 295), (170, 296), (170, 297), (170, 298), (170, 299), (170, 300), (170, 301), (170, 302), (170, 303), (170, 304), (170, 305), (170, 306), (170, 307), (170, 308), (170, 309), (170, 310), (170, 311), (170, 312), (170, 313), (170, 314), (170, 316), (171, 202), (171, 204), (171, 205), (171, 206), (171, 207), (171, 208), (171, 209), (171, 210), (171, 211), (171, 212), (171, 213), (171, 214), (171, 215), (171, 216), (171, 217), (171, 218), (171, 219), (171, 220), (171, 221), (171, 222), (171, 223), (171, 224), (171, 225), (171, 226), (171, 227), (171, 228), (171, 229), (171, 230), (171, 231), (171, 232), (171, 233), (171, 234), (171, 235), (171, 236), (171, 237), (171, 238), (171, 239), (171, 240), (171, 241), (171, 242), (171, 243), (171, 244), (171, 245), (171, 246), (171, 247),
(171, 248), (171, 249), (171, 250), (171, 251), (171, 252), (171, 253), (171, 254), (171, 255), (171, 256), (171, 257), (171, 258), (171, 259), (171, 260), (171, 261), (171, 262), (171, 263), (171, 264), (171, 265), (171, 266), (171, 267), (171, 268), (171, 269), (171, 270), (171, 271), (171, 272), (171, 273), (171, 274), (171, 275), (171, 276), (171, 277), (171, 278), (171, 279), (171, 280), (171, 281), (171, 282), (171, 283), (171, 284), (171, 285), (171, 286), (171, 287), (171, 288), (171, 289), (171, 290), (171, 291), (171, 292), (171, 293), (171, 294), (171, 295), (171, 296), (171, 297), (171, 298), (171, 299), (171, 300), (171, 301), (171, 302), (171, 303), (171, 304), (171, 305), (171, 306), (171, 307), (171, 308), (171, 309), (171, 310), (171, 311), (171, 312), (171, 313), (171, 314), (171, 316), (172, 202), (172, 204), (172, 205), (172, 206),
(172, 207), (172, 208), (172, 209), (172, 210), (172, 211), (172, 212), (172, 213), (172, 214), (172, 215), (172, 216), (172, 217), (172, 218), (172, 219), (172, 220), (172, 221), (172, 222), (172, 223), (172, 224), (172, 225), (172, 226), (172, 227), (172, 228), (172, 229), (172, 230), (172, 231), (172, 232), (172, 233), (172, 234), (172, 235), (172, 236), (172, 237), (172, 238), (172, 239), (172, 240), (172, 241), (172, 242), (172, 243), (172, 244), (172, 245), (172, 246), (172, 247), (172, 248), (172, 249), (172, 250), (172, 251), (172, 252), (172, 253), (172, 254), (172, 255), (172, 256), (172, 257), (172, 258), (172, 259), (172, 260), (172, 261), (172, 262), (172, 263), (172, 264), (172, 265), (172, 266), (172, 267), (172, 268), (172, 269), (172, 270), (172, 271), (172, 272), (172, 273), (172, 274), (172, 275), (172, 276), (172, 277), (172, 278),
(172, 279), (172, 280), (172, 281), (172, 282), (172, 283), (172, 284), (172, 285), (172, 286), (172, 287), (172, 288), (172, 289), (172, 290), (172, 291), (172, 292), (172, 293), (172, 294), (172, 295), (172, 296), (172, 297), (172, 298), (172, 299), (172, 300), (172, 301), (172, 302), (172, 303), (172, 304), (172, 305), (172, 306), (172, 307), (172, 308), (172, 309), (172, 310), (172, 311), (172, 312), (172, 313), (172, 314), (172, 316), (173, 202), (173, 204), (173, 205), (173, 206), (173, 207), (173, 208), (173, 209), (173, 210), (173, 211), (173, 212), (173, 213), (173, 214), (173, 215), (173, 216), (173, 217), (173, 218), (173, 219), (173, 220), (173, 221), (173, 222), (173, 223), (173, 224), (173, 225), (173, 226), (173, 227), (173, 228), (173, 229), (173, 230), (173, 231), (173, 232), (173, 233), (173, 234), (173, 235), (173, 236), (173, 237),
(173, 238), (173, 239), (173, 240), (173, 241), (173, 242), (173, 243), (173, 244), (173, 245), (173, 246), (173, 247), (173, 248), (173, 249), (173, 250), (173, 251), (173, 252), (173, 253), (173, 254), (173, 255), (173, 256), (173, 257), (173, 258), (173, 259), (173, 260), (173, 261), (173, 262), (173, 263), (173, 264), (173, 265), (173, 266), (173, 267), (173, 268), (173, 269), (173, 270), (173, 271), (173, 272), (173, 273), (173, 274), (173, 275), (173, 276), (173, 277), (173, 278), (173, 279), (173, 280), (173, 281), (173, 282), (173, 283), (173, 284), (173, 285), (173, 286), (173, 287), (173, 288), (173, 289), (173, 290), (173, 291), (173, 292), (173, 293), (173, 294), (173, 295), (173, 296), (173, 297), (173, 298), (173, 299), (173, 300), (173, 301), (173, 302), (173, 303), (173, 304), (173, 305), (173, 306), (173, 307), (173, 308), (173, 309),
(173, 310), (173, 311), (173, 312), (173, 313), (173, 314), (173, 316), (174, 202), (174, 204), (174, 205), (174, 206), (174, 207), (174, 208), (174, 209), (174, 210), (174, 211), (174, 212), (174, 213), (174, 214), (174, 215), (174, 216), (174, 217), (174, 218), (174, 219), (174, 220), (174, 221), (174, 222), (174, 223), (174, 224), (174, 225), (174, 226), (174, 227), (174, 228), (174, 229), (174, 230), (174, 231), (174, 232), (174, 233), (174, 234), (174, 235), (174, 236), (174, 237), (174, 238), (174, 239), (174, 240), (174, 241), (174, 242), (174, 243), (174, 244), (174, 245), (174, 246), (174, 247), (174, 248), (174, 249), (174, 250), (174, 251), (174, 252), (174, 253), (174, 254), (174, 255), (174, 256), (174, 257), (174, 258), (174, 259), (174, 260), (174, 261), (174, 262), (174, 263), (174, 264), (174, 265), (174, 266), (174, 267), (174, 268),
(174, 269), (174, 270), (174, 271), (174, 272), (174, 273), (174, 274), (174, 275), (174, 276), (174, 277), (174, 278), (174, 279), (174, 280), (174, 281), (174, 282), (174, 283), (174, 284), (174, 285), (174, 286), (174, 287), (174, 288), (174, 289), (174, 290), (174, 291), (174, 292), (174, 293), (174, 294), (174, 295), (174, 296), (174, 297), (174, 298), (174, 299), (174, 300), (174, 301), (174, 302), (174, 303), (174, 304), (174, 305), (174, 306), (174, 307), (174, 308), (174, 309), (174, 310), (174, 311), (174, 312), (174, 313), (174, 314), (174, 316), (175, 202), (175, 204), (175, 205), (175, 206), (175, 207), (175, 208), (175, 209), (175, 210), (175, 211), (175, 212), (175, 213), (175, 214), (175, 215), (175, 216), (175, 217), (175, 218), (175, 219), (175, 220), (175, 221), (175, 222), (175, 223), (175, 224), (175, 225), (175, 226), (175, 227),
(175, 228), (175, 229), (175, 230), (175, 231), (175, 232), (175, 233), (175, 234), (175, 235), (175, 236), (175, 237), (175, 238), (175, 239), (175, 240), (175, 241), (175, 242), (175, 243), (175, 244), (175, 245), (175, 246), (175, 247), (175, 248), (175, 249), (175, 250), (175, 251), (175, 252), (175, 253), (175, 254), (175, 255), (175, 256), (175, 257), (175, 258), (175, 259), (175, 260), (175, 261), (175, 262), (175, 263), (175, 264), (175, 265), (175, 266), (175, 267), (175, 268), (175, 269), (175, 270), (175, 271), (175, 272), (175, 273), (175, 274), (175, 275), (175, 276), (175, 277), (175, 278), (175, 279), (175, 280), (175, 281), (175, 282), (175, 283), (175, 284), (175, 285), (175, 286), (175, 287), (175, 288), (175, 289), (175, 290), (175, 291), (175, 292), (175, 293), (175, 294), (175, 295), (175, 296), (175, 297), (175, 298), (175, 299),
(175, 300), (175, 301), (175, 302), (175, 303), (175, 304), (175, 305), (175, 306), (175, 307), (175, 308), (175, 309), (175, 310), (175, 311), (175, 312), (175, 313), (175, 314), (175, 316), (176, 202), (176, 204), (176, 205), (176, 206), (176, 207), (176, 208), (176, 209), (176, 210), (176, 211), (176, 212), (176, 213), (176, 214), (176, 215), (176, 216), (176, 217), (176, 218), (176, 219), (176, 220), (176, 221), (176, 222), (176, 223), (176, 224), (176, 225), (176, 226), (176, 227), (176, 228), (176, 229), (176, 230), (176, 231), (176, 232), (176, 233), (176, 234), (176, 235), (176, 236), (176, 237), (176, 238), (176, 239), (176, 240), (176, 241), (176, 242), (176, 243), (176, 244), (176, 245), (176, 246), (176, 247), (176, 248), (176, 249), (176, 250), (176, 251), (176, 252), (176, 253), (176, 254), (176, 255), (176, 256), (176, 257), (176, 258),
(176, 259), (176, 260), (176, 261), (176, 262), (176, 263), (176, 264), (176, 265), (176, 266), (176, 267), (176, 268), (176, 269), (176, 270), (176, 271), (176, 272), (176, 273), (176, 274), (176, 275), (176, 276), (176, 277), (176, 278), (176, 279), (176, 280), (176, 281), (176, 282), (176, 283), (176, 284), (176, 285), (176, 286), (176, 287), (176, 288), (176, 289), (176, 290), (176, 291), (176, 292), (176, 293), (176, 294), (176, 295), (176, 296), (176, 297), (176, 298), (176, 299), (176, 300), (176, 301), (176, 302), (176, 303), (176, 304), (176, 305), (176, 306), (176, 307), (176, 308), (176, 309), (176, 310), (176, 311), (176, 312), (176, 313), (176, 314), (176, 316), (177, 201), (177, 202), (177, 203), (177, 204), (177, 205), (177, 206), (177, 207), (177, 208), (177, 209), (177, 210), (177, 211), (177, 212), (177, 213), (177, 214), (177, 215),
(177, 216), (177, 217), (177, 218), (177, 219), (177, 220), (177, 221), (177, 222), (177, 223), (177, 224), (177, 225), (177, 226), (177, 227), (177, 228), (177, 229), (177, 230), (177, 231), (177, 232), (177, 233), (177, 234), (177, 235), (177, 236), (177, 237), (177, 238), (177, 239), (177, 240), (177, 241), (177, 242), (177, 243), (177, 244), (177, 245), (177, 246), (177, 247), (177, 248), (177, 249), (177, 250), (177, 251), (177, 252), (177, 253), (177, 254), (177, 255), (177, 256), (177, 257), (177, 258), (177, 259), (177, 260), (177, 261), (177, 262), (177, 263), (177, 264), (177, 265), (177, 266), (177, 267), (177, 268), (177, 269), (177, 270), (177, 271), (177, 272), (177, 273), (177, 274), (177, 275), (177, 276), (177, 277), (177, 278), (177, 279), (177, 280), (177, 281), (177, 282), (177, 283), (177, 284), (177, 285), (177, 286), (177, 287),
(177, 288), (177, 289), (177, 290), (177, 291), (177, 292), (177, 293), (177, 294), (177, 295), (177, 296), (177, 297), (177, 298), (177, 299), (177, 300), (177, 301), (177, 302), (177, 303), (177, 304), (177, 305), (177, 306), (177, 307), (177, 308), (177, 309), (177, 310), (177, 311), (177, 312), (177, 313), (177, 314), (177, 316), (178, 201), (178, 203), (178, 204), (178, 205), (178, 206), (178, 207), (178, 208), (178, 209), (178, 210), (178, 211), (178, 212), (178, 213), (178, 214), (178, 215), (178, 216), (178, 217), (178, 218), (178, 219), (178, 220), (178, 221), (178, 222), (178, 223), (178, 224), (178, 225), (178, 226), (178, 227), (178, 228), (178, 229), (178, 230), (178, 231), (178, 232), (178, 233), (178, 234), (178, 235), (178, 236), (178, 237), (178, 238), (178, 239), (178, 240), (178, 241), (178, 242), (178, 243), (178, 244), (178, 245),
(178, 246), (178, 247), (178, 248), (178, 249), (178, 250), (178, 251), (178, 252), (178, 253), (178, 254), (178, 255), (178, 256), (178, 257), (178, 258), (178, 259), (178, 260), (178, 261), (178, 262), (178, 263), (178, 264), (178, 265), (178, 266), (178, 267), (178, 268), (178, 269), (178, 270), (178, 271), (178, 272), (178, 273), (178, 274), (178, 275), (178, 276), (178, 277), (178, 278), (178, 279), (178, 280), (178, 281), (178, 282), (178, 283), (178, 284), (178, 285), (178, 286), (178, 287), (178, 288), (178, 289), (178, 290), (178, 291), (178, 292), (178, 293), (178, 294), (178, 295), (178, 296), (178, 297), (178, 298), (178, 299), (178, 300), (178, 301), (178, 302), (178, 303), (178, 304), (178, 305), (178, 306), (178, 307), (178, 308), (178, 309), (178, 310), (178, 311), (178, 312), (178, 313), (178, 314), (178, 316), (179, 201), (179, 203),
(179, 204), (179, 205), (179, 206), (179, 207), (179, 208), (179, 209), (179, 210), (179, 211), (179, 212), (179, 213), (179, 214), (179, 215), (179, 216), (179, 217), (179, 218), (179, 219), (179, 220), (179, 221), (179, 222), (179, 223), (179, 224), (179, 225), (179, 226), (179, 227), (179, 228), (179, 229), (179, 230), (179, 231), (179, 232), (179, 233), (179, 234), (179, 235), (179, 236), (179, 237), (179, 238), (179, 239), (179, 240), (179, 241), (179, 242), (179, 243), (179, 244), (179, 245), (179, 246), (179, 247), (179, 248), (179, 249), (179, 250), (179, 251), (179, 252), (179, 253), (179, 254), (179, 255), (179, 256), (179, 257), (179, 258), (179, 259), (179, 260), (179, 261), (179, 262), (179, 263), (179, 264), (179, 265), (179, 266), (179, 267), (179, 268), (179, 269), (179, 270), (179, 271), (179, 272), (179, 273), (179, 274), (179, 275),
(179, 276), (179, 277), (179, 278), (179, 279), (179, 280), (179, 281), (179, 282), (179, 283), (179, 284), (179, 285), (179, 286), (179, 287), (179, 288), (179, 289), (179, 290), (179, 291), (179, 292), (179, 293), (179, 294), (179, 295), (179, 296), (179, 297), (179, 298), (179, 299), (179, 300), (179, 301), (179, 302), (179, 303), (179, 304), (179, 305), (179, 306), (179, 307), (179, 308), (179, 309), (179, 310), (179, 311), (179, 312), (179, 313), (179, 314), (179, 316), (180, 201), (180, 203), (180, 204), (180, 205), (180, 206), (180, 207), (180, 208), (180, 209), (180, 210), (180, 211), (180, 212), (180, 213), (180, 214), (180, 215), (180, 216), (180, 217), (180, 218), (180, 219), (180, 220), (180, 221), (180, 222), (180, 223), (180, 224), (180, 225), (180, 226), (180, 227), (180, 228), (180, 229), (180, 230), (180, 231), (180, 232), (180, 233),
(180, 234), (180, 235), (180, 236), (180, 237), (180, 238), (180, 239), (180, 240), (180, 241), (180, 242), (180, 243), (180, 244), (180, 245), (180, 246), (180, 247), (180, 248), (180, 249), (180, 250), (180, 251), (180, 252), (180, 253), (180, 254), (180, 255), (180, 256), (180, 257), (180, 258), (180, 259), (180, 260), (180, 261), (180, 262), (180, 263), (180, 264), (180, 265), (180, 266), (180, 267), (180, 268), (180, 269), (180, 270), (180, 271), (180, 272), (180, 273), (180, 274), (180, 275), (180, 276), (180, 277), (180, 278), (180, 279), (180, 280), (180, 281), (180, 282), (180, 283), (180, 284), (180, 285), (180, 286), (180, 287), (180, 288), (180, 289), (180, 290), (180, 291), (180, 292), (180, 293), (180, 294), (180, 295), (180, 296), (180, 297), (180, 298), (180, 299), (180, 300), (180, 301), (180, 302), (180, 303), (180, 304), (180, 305),
(180, 306), (180, 307), (180, 308), (180, 309), (180, 310), (180, 311), (180, 312), (180, 313), (180, 314), (180, 316), (181, 201), (181, 203), (181, 204), (181, 205), (181, 206), (181, 207), (181, 208), (181, 209), (181, 210), (181, 211), (181, 212), (181, 213), (181, 214), (181, 215), (181, 216), (181, 217), (181, 218), (181, 219), (181, 220), (181, 221), (181, 222), (181, 223), (181, 224), (181, 225), (181, 226), (181, 227), (181, 228), (181, 229), (181, 230), (181, 231), (181, 232), (181, 233), (181, 234), (181, 235), (181, 236), (181, 237), (181, 238), (181, 239), (181, 240), (181, 241), (181, 242), (181, 243), (181, 244), (181, 245), (181, 246), (181, 247), (181, 248), (181, 249), (181, 250), (181, 251), (181, 252), (181, 253), (181, 254), (181, 255), (181, 256), (181, 257), (181, 258), (181, 259), (181, 260), (181, 261), (181, 262), (181, 263),
(181, 264), (181, 265), (181, 266), (181, 267), (181, 268), (181, 269), (181, 270), (181, 271), (181, 272), (181, 273), (181, 274), (181, 275), (181, 276), (181, 277), (181, 278), (181, 279), (181, 280), (181, 281), (181, 282), (181, 283), (181, 284), (181, 285), (181, 286), (181, 287), (181, 288), (181, 289), (181, 290), (181, 291), (181, 292), (181, 293), (181, 294), (181, 295), (181, 296), (181, 297), (181, 298), (181, 299), (181, 300), (181, 301), (181, 302), (181, 303), (181, 304), (181, 305), (181, 306), (181, 307), (181, 308), (181, 309), (181, 310), (181, 311), (181, 312), (181, 313), (181, 314), (181, 315), (181, 317), (182, 201), (182, 203), (182, 204), (182, 205), (182, 206), (182, 207), (182, 208), (182, 209), (182, 210), (182, 211), (182, 212), (182, 213), (182, 214), (182, 215), (182, 216), (182, 217), (182, 218), (182, 219), (182, 220),
(182, 221), (182, 222), (182, 223), (182, 224), (182, 225), (182, 226), (182, 227), (182, 228), (182, 229), (182, 230), (182, 231), (182, 232), (182, 233), (182, 234), (182, 235), (182, 236), (182, 237), (182, 238), (182, 239), (182, 240), (182, 241), (182, 242), (182, 243), (182, 244), (182, 245), (182, 246), (182, 247), (182, 248), (182, 249), (182, 250), (182, 251), (182, 252), (182, 253), (182, 254), (182, 255), (182, 256), (182, 257), (182, 258), (182, 259), (182, 260), (182, 261), (182, 262), (182, 263), (182, 264), (182, 265), (182, 266), (182, 267), (182, 268), (182, 269), (182, 270), (182, 271), (182, 272), (182, 273), (182, 274), (182, 275), (182, 276), (182, 277), (182, 278), (182, 279), (182, 280), (182, 281), (182, 282), (182, 283), (182, 284), (182, 285), (182, 286), (182, 287), (182, 288), (182, 289), (182, 290), (182, 291), (182, 292),
(182, 293), (182, 294), (182, 295), (182, 296), (182, 297), (182, 298), (182, 299), (182, 300), (182, 301), (182, 302), (182, 303), (182, 304), (182, 305), (182, 306), (182, 307), (182, 308), (182, 309), (182, 310), (182, 311), (182, 312), (182, 313), (182, 314), (182, 315), (182, 317), (183, 201), (183, 203), (183, 204), (183, 205), (183, 206), (183, 207), (183, 208), (183, 209), (183, 210), (183, 211), (183, 212), (183, 213), (183, 214), (183, 215), (183, 216), (183, 217), (183, 218), (183, 219), (183, 220), (183, 221), (183, 222), (183, 223), (183, 224), (183, 225), (183, 226), (183, 227), (183, 228), (183, 229), (183, 230), (183, 231), (183, 232), (183, 233), (183, 234), (183, 235), (183, 236), (183, 237), (183, 238), (183, 239), (183, 240), (183, 241), (183, 242), (183, 243), (183, 244), (183, 245), (183, 246), (183, 247), (183, 248), (183, 249),
(183, 250), (183, 251), (183, 252), (183, 253), (183, 254), (183, 255), (183, 256), (183, 257), (183, 258), (183, 259), (183, 260), (183, 261), (183, 262), (183, 263), (183, 264), (183, 265), (183, 266), (183, 267), (183, 268), (183, 269), (183, 270), (183, 271), (183, 272), (183, 273), (183, 274), (183, 275), (183, 276), (183, 277), (183, 278), (183, 279), (183, 280), (183, 281), (183, 282), (183, 283), (183, 284), (183, 285), (183, 286), (183, 287), (183, 288), (183, 289), (183, 290), (183, 291), (183, 292), (183, 293), (183, 294), (183, 295), (183, 296), (183, 297), (183, 298), (183, 299), (183, 300), (183, 301), (183, 302), (183, 303), (183, 304), (183, 305), (183, 306), (183, 307), (183, 308), (183, 309), (183, 310), (183, 311), (183, 312), (183, 313), (183, 314), (183, 315), (183, 316), (183, 318), (184, 201), (184, 203), (184, 204), (184, 205),
(184, 206), (184, 207), (184, 208), (184, 209), (184, 210), (184, 211), (184, 212), (184, 213), (184, 214), (184, 215), (184, 216), (184, 217), (184, 218), (184, 219), (184, 220), (184, 221), (184, 222), (184, 223), (184, 224), (184, 225), (184, 226), (184, 227), (184, 228), (184, 229), (184, 230), (184, 231), (184, 232), (184, 233), (184, 234), (184, 235), (184, 236), (184, 237), (184, 238), (184, 239), (184, 240), (184, 241), (184, 242), (184, 243), (184, 244), (184, 245), (184, 246), (184, 247), (184, 248), (184, 249), (184, 250), (184, 251), (184, 252), (184, 253), (184, 254), (184, 255), (184, 256), (184, 257), (184, 258), (184, 259), (184, 260), (184, 261), (184, 262), (184, 263), (184, 264), (184, 265), (184, 266), (184, 267), (184, 268), (184, 269), (184, 270), (184, 271), (184, 272), (184, 273), (184, 274), (184, 275), (184, 276), (184, 277),
(184, 278), (184, 279), (184, 280), (184, 281), (184, 282), (184, 283), (184, 284), (184, 285), (184, 286), (184, 287), (184, 288), (184, 289), (184, 290), (184, 291), (184, 292), (184, 293), (184, 294), (184, 295), (184, 296), (184, 297), (184, 298), (184, 299), (184, 300), (184, 301), (184, 302), (184, 303), (184, 304), (184, 305), (184, 306), (184, 307), (184, 308), (184, 309), (184, 310), (184, 311), (184, 312), (184, 313), (184, 314), (184, 315), (184, 316), (184, 318), (185, 201), (185, 203), (185, 204), (185, 205), (185, 206), (185, 207), (185, 208), (185, 209), (185, 210), (185, 211), (185, 212), (185, 213), (185, 214), (185, 215), (185, 216), (185, 217), (185, 218), (185, 219), (185, 220), (185, 221), (185, 222), (185, 223), (185, 224), (185, 225), (185, 226), (185, 227), (185, 228), (185, 229), (185, 230), (185, 231), (185, 232), (185, 233),
(185, 234), (185, 235), (185, 236), (185, 237), (185, 238), (185, 239), (185, 240), (185, 241), (185, 242), (185, 243), (185, 244), (185, 245), (185, 246), (185, 247), (185, 248), (185, 249), (185, 250), (185, 251), (185, 252), (185, 253), (185, 254), (185, 255), (185, 256), (185, 257), (185, 258), (185, 259), (185, 260), (185, 261), (185, 262), (185, 263), (185, 264), (185, 265), (185, 266), (185, 267), (185, 268), (185, 269), (185, 270), (185, 271), (185, 272), (185, 273), (185, 274), (185, 275), (185, 276), (185, 277), (185, 278), (185, 279), (185, 280), (185, 281), (185, 282), (185, 283), (185, 284), (185, 285), (185, 286), (185, 287), (185, 288), (185, 289), (185, 290), (185, 291), (185, 292), (185, 293), (185, 294), (185, 295), (185, 296), (185, 297), (185, 298), (185, 299), (185, 300), (185, 301), (185, 302), (185, 303), (185, 304), (185, 305),
(185, 306), (185, 307), (185, 308), (185, 309), (185, 310), (185, 311), (185, 312), (185, 313), (185, 314), (185, 315), (185, 316), (185, 318), (186, 201), (186, 203), (186, 204), (186, 205), (186, 206), (186, 207), (186, 208), (186, 209), (186, 210), (186, 211), (186, 212), (186, 213), (186, 214), (186, 215), (186, 216), (186, 217), (186, 218), (186, 219), (186, 220), (186, 221), (186, 222), (186, 223), (186, 224), (186, 225), (186, 226), (186, 227), (186, 228), (186, 229), (186, 230), (186, 231), (186, 232), (186, 233), (186, 234), (186, 235), (186, 236), (186, 237), (186, 238), (186, 239), (186, 240), (186, 241), (186, 242), (186, 243), (186, 244), (186, 245), (186, 246), (186, 247), (186, 248), (186, 249), (186, 250), (186, 251), (186, 252), (186, 253), (186, 254), (186, 255), (186, 256), (186, 257), (186, 258), (186, 259), (186, 260), (186, 261),
(186, 262), (186, 263), (186, 264), (186, 265), (186, 266), (186, 267), (186, 268), (186, 269), (186, 270), (186, 271), (186, 272), (186, 273), (186, 274), (186, 275), (186, 276), (186, 277), (186, 278), (186, 279), (186, 280), (186, 281), (186, 282), (186, 283), (186, 284), (186, 285), (186, 286), (186, 287), (186, 288), (186, 289), (186, 290), (186, 291), (186, 292), (186, 293), (186, 294), (186, 295), (186, 296), (186, 297), (186, 298), (186, 299), (186, 300), (186, 301), (186, 302), (186, 303), (186, 304), (186, 305), (186, 306), (186, 307), (186, 308), (186, 309), (186, 310), (186, 311), (186, 312), (186, 313), (186, 314), (186, 315), (186, 316), (186, 317), (186, 319), (187, 201), (187, 203), (187, 204), (187, 205), (187, 206), (187, 207), (187, 208), (187, 209), (187, 210), (187, 211), (187, 212), (187, 213), (187, 214), (187, 215), (187, 216),
(187, 217), (187, 218), (187, 219), (187, 220), (187, 221), (187, 222), (187, 223), (187, 224), (187, 225), (187, 226), (187, 227), (187, 228), (187, 229), (187, 230), (187, 231), (187, 232), (187, 233), (187, 234), (187, 235), (187, 236), (187, 237), (187, 238), (187, 239), (187, 240), (187, 241), (187, 242), (187, 243), (187, 244), (187, 245), (187, 246), (187, 247), (187, 248), (187, 249), (187, 250), (187, 251), (187, 252), (187, 253), (187, 254), (187, 255), (187, 256), (187, 257), (187, 258), (187, 259), (187, 260), (187, 261), (187, 262), (187, 263), (187, 264), (187, 265), (187, 266), (187, 267), (187, 268), (187, 269), (187, 270), (187, 271), (187, 272), (187, 273), (187, 274), (187, 275), (187, 276), (187, 277), (187, 278), (187, 279), (187, 280), (187, 281), (187, 282), (187, 283), (187, 284), (187, 285), (187, 286), (187, 287), (187, 288),
(187, 289), (187, 290), (187, 291), (187, 292), (187, 293), (187, 294), (187, 295), (187, 296), (187, 297), (187, 298), (187, 299), (187, 300), (187, 301), (187, 302), (187, 303), (187, 304), (187, 305), (187, 306), (187, 307), (187, 308), (187, 309), (187, 310), (187, 311), (187, 312), (187, 313), (187, 314), (187, 315), (187, 316), (187, 317), (187, 319), (188, 201), (188, 203), (188, 204), (188, 205), (188, 206), (188, 207), (188, 208), (188, 209), (188, 210), (188, 211), (188, 212), (188, 213), (188, 214), (188, 215), (188, 216), (188, 217), (188, 218), (188, 219), (188, 220), (188, 221), (188, 222), (188, 223), (188, 224), (188, 225), (188, 226), (188, 227), (188, 228), (188, 229), (188, 230), (188, 231), (188, 232), (188, 233), (188, 234), (188, 235), (188, 236), (188, 237), (188, 238), (188, 239), (188, 240), (188, 241), (188, 242), (188, 243),
(188, 244), (188, 245), (188, 246), (188, 247), (188, 248), (188, 249), (188, 250), (188, 251), (188, 252), (188, 253), (188, 254), (188, 255), (188, 256), (188, 257), (188, 258), (188, 259), (188, 260), (188, 261), (188, 262), (188, 263), (188, 264), (188, 265), (188, 266), (188, 267), (188, 268), (188, 269), (188, 270), (188, 271), (188, 272), (188, 273), (188, 274), (188, 275), (188, 276), (188, 277), (188, 278), (188, 279), (188, 280), (188, 281), (188, 282), (188, 283), (188, 284), (188, 285), (188, 286), (188, 287), (188, 288), (188, 289), (188, 290), (188, 291), (188, 292), (188, 293), (188, 294), (188, 295), (188, 296), (188, 297), (188, 298), (188, 299), (188, 300), (188, 301), (188, 302), (188, 303), (188, 304), (188, 305), (188, 306), (188, 307), (188, 308), (188, 309), (188, 310), (188, 311), (188, 312), (188, 313), (188, 314), (188, 315),
(188, 316), (188, 317), (188, 319), (189, 201), (189, 203), (189, 204), (189, 205), (189, 206), (189, 207), (189, 208), (189, 209), (189, 210), (189, 211), (189, 212), (189, 213), (189, 214), (189, 215), (189, 216), (189, 217), (189, 218), (189, 219), (189, 220), (189, 221), (189, 222), (189, 223), (189, 224), (189, 225), (189, 226), (189, 227), (189, 228), (189, 229), (189, 230), (189, 231), (189, 232), (189, 233), (189, 234), (189, 235), (189, 236), (189, 237), (189, 238), (189, 239), (189, 240), (189, 241), (189, 242), (189, 243), (189, 244), (189, 245), (189, 246), (189, 247), (189, 248), (189, 249), (189, 250), (189, 251), (189, 252), (189, 253), (189, 254), (189, 255), (189, 256), (189, 257), (189, 258), (189, 259), (189, 260), (189, 261), (189, 262), (189, 263), (189, 264), (189, 265), (189, 266), (189, 267), (189, 268), (189, 269), (189, 270),
(189, 271), (189, 272), (189, 273), (189, 274), (189, 275), (189, 276), (189, 277), (189, 278), (189, 279), (189, 280), (189, 281), (189, 282), (189, 283), (189, 284), (189, 285), (189, 286), (189, 287), (189, 288), (189, 289), (189, 290), (189, 291), (189, 292), (189, 293), (189, 294), (189, 295), (189, 296), (189, 297), (189, 298), (189, 299), (189, 300), (189, 301), (189, 302), (189, 303), (189, 304), (189, 305), (189, 306), (189, 307), (189, 308), (189, 309), (189, 310), (189, 311), (189, 312), (189, 313), (189, 314), (189, 315), (189, 316), (189, 317), (189, 318), (189, 320), (190, 201), (190, 203), (190, 204), (190, 205), (190, 206), (190, 207), (190, 208), (190, 209), (190, 210), (190, 211), (190, 212), (190, 213), (190, 214), (190, 215), (190, 216), (190, 217), (190, 218), (190, 219), (190, 220), (190, 221), (190, 222), (190, 223), (190, 224),
(190, 225), (190, 226), (190, 227), (190, 228), (190, 229), (190, 230), (190, 231), (190, 232), (190, 233), (190, 234), (190, 235), (190, 236), (190, 237), (190, 238), (190, 239), (190, 240), (190, 241), (190, 242), (190, 243), (190, 244), (190, 245), (190, 246), (190, 247), (190, 248), (190, 249), (190, 250), (190, 251), (190, 252), (190, 253), (190, 254), (190, 255), (190, 256), (190, 257), (190, 258), (190, 259), (190, 260), (190, 261), (190, 262), (190, 263), (190, 264), (190, 265), (190, 266), (190, 267), (190, 268), (190, 269), (190, 270), (190, 271), (190, 272), (190, 273), (190, 274), (190, 275), (190, 276), (190, 277), (190, 278), (190, 279), (190, 280), (190, 281), (190, 282), (190, 283), (190, 284), (190, 285), (190, 286), (190, 287), (190, 288), (190, 289), (190, 290), (190, 291), (190, 292), (190, 293), (190, 294), (190, 295), (190, 296),
(190, 297), (190, 298), (190, 299), (190, 300), (190, 301), (190, 302), (190, 303), (190, 304), (190, 305), (190, 306), (190, 307), (190, 308), (190, 309), (190, 310), (190, 311), (190, 312), (190, 313), (190, 314), (190, 315), (190, 316), (190, 317), (190, 318), (190, 320), (191, 201), (191, 203), (191, 204), (191, 205), (191, 206), (191, 207), (191, 208), (191, 209), (191, 210), (191, 211), (191, 212), (191, 213), (191, 214), (191, 215), (191, 216), (191, 217), (191, 218), (191, 219), (191, 220), (191, 221), (191, 222), (191, 223), (191, 224), (191, 225), (191, 226), (191, 227), (191, 228), (191, 229), (191, 230), (191, 231), (191, 232), (191, 233), (191, 234), (191, 235), (191, 236), (191, 237), (191, 238), (191, 239), (191, 240), (191, 241), (191, 242), (191, 243), (191, 244), (191, 245), (191, 246), (191, 247), (191, 248), (191, 249), (191, 250),
(191, 251), (191, 252), (191, 253), (191, 254), (191, 255), (191, 256), (191, 257), (191, 258), (191, 259), (191, 260), (191, 261), (191, 262), (191, 263), (191, 264), (191, 265), (191, 266), (191, 267), (191, 268), (191, 269), (191, 270), (191, 271), (191, 272), (191, 273), (191, 274), (191, 275), (191, 276), (191, 277), (191, 278), (191, 279), (191, 280), (191, 281), (191, 282), (191, 283), (191, 284), (191, 285), (191, 286), (191, 287), (191, 288), (191, 289), (191, 290), (191, 291), (191, 292), (191, 293), (191, 294), (191, 295), (191, 296), (191, 297), (191, 298), (191, 299), (191, 300), (191, 301), (191, 302), (191, 303), (191, 304), (191, 305), (191, 306), (191, 307), (191, 308), (191, 309), (191, 310), (191, 311), (191, 312), (191, 313), (191, 314), (191, 315), (191, 316), (191, 317), (191, 318), (191, 320), (192, 201), (192, 203), (192, 204),
(192, 205), (192, 206), (192, 207), (192, 208), (192, 209), (192, 210), (192, 211), (192, 212), (192, 213), (192, 214), (192, 215), (192, 216), (192, 217), (192, 218), (192, 219), (192, 220), (192, 221), (192, 222), (192, 223), (192, 224), (192, 225), (192, 226), (192, 227), (192, 228), (192, 229), (192, 230), (192, 231), (192, 232), (192, 233), (192, 234), (192, 235), (192, 236), (192, 237), (192, 238), (192, 239), (192, 240), (192, 241), (192, 242), (192, 243), (192, 244), (192, 245), (192, 246), (192, 247), (192, 248), (192, 249), (192, 250), (192, 251), (192, 252), (192, 253), (192, 254), (192, 255), (192, 256), (192, 257), (192, 258), (192, 259), (192, 260), (192, 261), (192, 262), (192, 263), (192, 264), (192, 265), (192, 266), (192, 267), (192, 268), (192, 269), (192, 270), (192, 271), (192, 272), (192, 273), (192, 274), (192, 275), (192, 276),
(192, 277), (192, 278), (192, 279), (192, 280), (192, 281), (192, 282), (192, 283), (192, 284), (192, 285), (192, 286), (192, 287), (192, 288), (192, 289), (192, 290), (192, 291), (192, 292), (192, 293), (192, 294), (192, 295), (192, 296), (192, 297), (192, 298), (192, 299), (192, 300), (192, 301), (192, 302), (192, 303), (192, 304), (192, 305), (192, 306), (192, 307), (192, 308), (192, 309), (192, 310), (192, 311), (192, 312), (192, 313), (192, 314), (192, 315), (192, 316), (192, 317), (192, 318), (192, 320), (193, 201), (193, 203), (193, 204), (193, 205), (193, 206), (193, 207), (193, 208), (193, 209), (193, 210), (193, 211), (193, 212), (193, 213), (193, 214), (193, 215), (193, 216), (193, 217), (193, 218), (193, 219), (193, 220), (193, 221), (193, 222), (193, 223), (193, 224), (193, 225), (193, 226), (193, 227), (193, 228), (193, 229), (193, 230),
(193, 231), (193, 232), (193, 233), (193, 234), (193, 235), (193, 236), (193, 237), (193, 238), (193, 239), (193, 240), (193, 241), (193, 242), (193, 243), (193, 244), (193, 245), (193, 246), (193, 247), (193, 248), (193, 249), (193, 250), (193, 251), (193, 252), (193, 253), (193, 254), (193, 255), (193, 256), (193, 257), (193, 258), (193, 259), (193, 260), (193, 261), (193, 262), (193, 263), (193, 264), (193, 265), (193, 266), (193, 267), (193, 268), (193, 269), (193, 270), (193, 271), (193, 272), (193, 273), (193, 274), (193, 275), (193, 276), (193, 277), (193, 278), (193, 279), (193, 280), (193, 281), (193, 282), (193, 283), (193, 284), (193, 285), (193, 286), (193, 287), (193, 288), (193, 289), (193, 290), (193, 291), (193, 292), (193, 293), (193, 294), (193, 295), (193, 296), (193, 297), (193, 298), (193, 299), (193, 300), (193, 301), (193, 302),
(193, 303), (193, 304), (193, 305), (193, 306), (193, 307), (193, 308), (193, 309), (193, 310), (193, 311), (193, 312), (193, 313), (193, 314), (193, 315), (193, 316), (193, 317), (193, 318), (193, 319), (193, 321), (194, 201), (194, 203), (194, 204), (194, 205), (194, 206), (194, 207), (194, 208), (194, 209), (194, 210), (194, 211), (194, 212), (194, 213), (194, 214), (194, 215), (194, 216), (194, 217), (194, 218), (194, 219), (194, 220), (194, 221), (194, 222), (194, 223), (194, 224), (194, 225), (194, 226), (194, 227), (194, 228), (194, 229), (194, 230), (194, 231), (194, 232), (194, 233), (194, 234), (194, 235), (194, 236), (194, 237), (194, 238), (194, 239), (194, 240), (194, 241), (194, 242), (194, 243), (194, 244), (194, 245), (194, 246), (194, 247), (194, 248), (194, 249), (194, 250), (194, 251), (194, 252), (194, 253), (194, 254), (194, 255),
(194, 256), (194, 257), (194, 258), (194, 259), (194, 260), (194, 261), (194, 262), (194, 263), (194, 264), (194, 265), (194, 266), (194, 267), (194, 268), (194, 269), (194, 270), (194, 271), (194, 272), (194, 273), (194, 274), (194, 275), (194, 276), (194, 277), (194, 278), (194, 279), (194, 280), (194, 281), (194, 282), (194, 283), (194, 284), (194, 285), (194, 286), (194, 287), (194, 288), (194, 289), (194, 290), (194, 291), (194, 292), (194, 293), (194, 294), (194, 295), (194, 296), (194, 297), (194, 298), (194, 299), (194, 300), (194, 301), (194, 302), (194, 303), (194, 304), (194, 305), (194, 306), (194, 307), (194, 308), (194, 309), (194, 310), (194, 311), (194, 312), (194, 313), (194, 314), (194, 315), (194, 316), (194, 317), (194, 318), (194, 319), (194, 321), (195, 201), (195, 203), (195, 204), (195, 205), (195, 206), (195, 207), (195, 208),
(195, 209), (195, 210), (195, 211), (195, 212), (195, 213), (195, 214), (195, 215), (195, 216), (195, 217), (195, 218), (195, 219), (195, 220), (195, 221), (195, 222), (195, 223), (195, 224), (195, 225), (195, 226), (195, 227), (195, 228), (195, 229), (195, 230), (195, 231), (195, 232), (195, 233), (195, 234), (195, 235), (195, 236), (195, 237), (195, 238), (195, 239), (195, 240), (195, 241), (195, 242), (195, 243), (195, 244), (195, 245), (195, 246), (195, 247), (195, 248), (195, 249), (195, 250), (195, 251), (195, 252), (195, 253), (195, 254), (195, 255), (195, 256), (195, 257), (195, 258), (195, 259), (195, 260), (195, 261), (195, 262), (195, 263), (195, 264), (195, 265), (195, 266), (195, 267), (195, 268), (195, 269), (195, 270), (195, 271), (195, 272), (195, 273), (195, 274), (195, 275), (195, 276), (195, 277), (195, 278), (195, 279), (195, 280),
(195, 281), (195, 282), (195, 283), (195, 284), (195, 285), (195, 286), (195, 287), (195, 288), (195, 289), (195, 290), (195, 291), (195, 292), (195, 293), (195, 294), (195, 295), (195, 296), (195, 297), (195, 298), (195, 299), (195, 300), (195, 301), (195, 302), (195, 303), (195, 304), (195, 305), (195, 306), (195, 307), (195, 308), (195, 309), (195, 310), (195, 311), (195, 312), (195, 313), (195, 314), (195, 315), (195, 316), (195, 317), (195, 318), (195, 319), (195, 321), (196, 201), (196, 203), (196, 204), (196, 205), (196, 206), (196, 207), (196, 208), (196, 209), (196, 210), (196, 211), (196, 212), (196, 213), (196, 214), (196, 215), (196, 216), (196, 217), (196, 218), (196, 219), (196, 220), (196, 221), (196, 222), (196, 223), (196, 224), (196, 225), (196, 226), (196, 227), (196, 228), (196, 229), (196, 230), (196, 231), (196, 232), (196, 233),
(196, 234), (196, 235), (196, 236), (196, 237), (196, 238), (196, 239), (196, 240), (196, 241), (196, 242), (196, 243), (196, 244), (196, 245), (196, 246), (196, 247), (196, 248), (196, 249), (196, 250), (196, 251), (196, 252), (196, 253), (196, 254), (196, 255), (196, 256), (196, 257), (196, 258), (196, 259), (196, 260), (196, 261), (196, 262), (196, 263), (196, 264), (196, 265), (196, 266), (196, 267), (196, 268), (196, 269), (196, 270), (196, 271), (196, 272), (196, 273), (196, 274), (196, 275), (196, 276), (196, 277), (196, 278), (196, 279), (196, 280), (196, 281), (196, 282), (196, 283), (196, 284), (196, 285), (196, 286), (196, 287), (196, 288), (196, 289), (196, 290), (196, 291), (196, 292), (196, 293), (196, 294), (196, 295), (196, 296), (196, 297), (196, 298), (196, 299), (196, 300), (196, 301), (196, 302), (196, 303), (196, 304), (196, 305),
(196, 306), (196, 307), (196, 308), (196, 309), (196, 310), (196, 311), (196, 312), (196, 313), (196, 314), (196, 315), (196, 316), (196, 317), (196, 318), (196, 319), (196, 321), (197, 201), (197, 203), (197, 204), (197, 205), (197, 206), (197, 207), (197, 208), (197, 209), (197, 210), (197, 211), (197, 212), (197, 213), (197, 214), (197, 215), (197, 216), (197, 217), (197, 218), (197, 219), (197, 220), (197, 221), (197, 222), (197, 223), (197, 224), (197, 225), (197, 226), (197, 227), (197, 228), (197, 229), (197, 230), (197, 231), (197, 232), (197, 233), (197, 234), (197, 235), (197, 236), (197, 237), (197, 238), (197, 239), (197, 240), (197, 241), (197, 242), (197, 243), (197, 244), (197, 245), (197, 246), (197, 247), (197, 248), (197, 249), (197, 250), (197, 251), (197, 252), (197, 253), (197, 254), (197, 255), (197, 256), (197, 257), (197, 258),
(197, 259), (197, 260), (197, 261), (197, 262), (197, 263), (197, 264), (197, 265), (197, 266), (197, 267), (197, 268), (197, 269), (197, 270), (197, 271), (197, 272), (197, 273), (197, 274), (197, 275), (197, 276), (197, 277), (197, 278), (197, 279), (197, 280), (197, 281), (197, 282), (197, 283), (197, 284), (197, 285), (197, 286), (197, 287), (197, 288), (197, 289), (197, 290), (197, 291), (197, 292), (197, 293), (197, 294), (197, 295), (197, 296), (197, 297), (197, 298), (197, 299), (197, 300), (197, 301), (197, 302), (197, 303), (197, 304), (197, 305), (197, 306), (197, 307), (197, 308), (197, 309), (197, 310), (197, 311), (197, 312), (197, 313), (197, 314), (197, 315), (197, 316), (197, 317), (197, 318), (197, 319), (197, 320), (197, 322), (198, 201), (198, 203), (198, 204), (198, 205), (198, 206), (198, 207), (198, 208), (198, 209), (198, 210),
(198, 211), (198, 212), (198, 213), (198, 214), (198, 215), (198, 216), (198, 217), (198, 218), (198, 219), (198, 220), (198, 221), (198, 222), (198, 223), (198, 224), (198, 225), (198, 226), (198, 227), (198, 228), (198, 229), (198, 230), (198, 231), (198, 232), (198, 233), (198, 234), (198, 235), (198, 236), (198, 237), (198, 238), (198, 239), (198, 240), (198, 241), (198, 242), (198, 243), (198, 244), (198, 245), (198, 246), (198, 247), (198, 248), (198, 249), (198, 250), (198, 251), (198, 252), (198, 253), (198, 254), (198, 255), (198, 256), (198, 257), (198, 258), (198, 259), (198, 260), (198, 261), (198, 262), (198, 263), (198, 264), (198, 265), (198, 266), (198, 267), (198, 268), (198, 269), (198, 270), (198, 271), (198, 272), (198, 273), (198, 274), (198, 275), (198, 276), (198, 277), (198, 278), (198, 279), (198, 280), (198, 281), (198, 282),
(198, 283), (198, 284), (198, 285), (198, 286), (198, 287), (198, 288), (198, 289), (198, 290), (198, 291), (198, 292), (198, 293), (198, 294), (198, 295), (198, 296), (198, 297), (198, 298), (198, 299), (198, 300), (198, 301), (198, 302), (198, 303), (198, 304), (198, 305), (198, 306), (198, 307), (198, 308), (198, 309), (198, 310), (198, 311), (198, 312), (198, 313), (198, 314), (198, 315), (198, 316), (198, 317), (198, 318), (198, 319), (198, 320), (198, 322), (199, 201), (199, 203), (199, 204), (199, 205), (199, 206), (199, 207), (199, 208), (199, 209), (199, 210), (199, 211), (199, 212), (199, 213), (199, 214), (199, 215), (199, 216), (199, 217), (199, 218), (199, 219), (199, 220), (199, 221), (199, 222), (199, 223), (199, 224), (199, 225), (199, 226), (199, 227), (199, 228), (199, 229), (199, 230), (199, 231), (199, 232), (199, 233), (199, 234),
(199, 235), (199, 236), (199, 237), (199, 238), (199, 239), (199, 240), (199, 241), (199, 242), (199, 243), (199, 244), (199, 245), (199, 246), (199, 247), (199, 248), (199, 249), (199, 250), (199, 251), (199, 252), (199, 253), (199, 254), (199, 255), (199, 256), (199, 257), (199, 258), (199, 259), (199, 260), (199, 261), (199, 262), (199, 263), (199, 264), (199, 265), (199, 266), (199, 267), (199, 268), (199, 269), (199, 270), (199, 271), (199, 272), (199, 273), (199, 274), (199, 275), (199, 276), (199, 277), (199, 278), (199, 279), (199, 280), (199, 281), (199, 282), (199, 283), (199, 284), (199, 285), (199, 286), (199, 287), (199, 288), (199, 289), (199, 290), (199, 291), (199, 292), (199, 293), (199, 294), (199, 295), (199, 296), (199, 297), (199, 298), (199, 299), (199, 300), (199, 301), (199, 302), (199, 303), (199, 304), (199, 305), (199, 306),
(199, 307), (199, 308), (199, 309), (199, 310), (199, 311), (199, 312), (199, 313), (199, 314), (199, 315), (199, 316), (199, 317), (199, 318), (199, 319), (199, 320), (199, 322), (200, 200), (200, 201), (200, 202), (200, 203), (200, 204), (200, 205), (200, 206), (200, 207), (200, 208), (200, 209), (200, 210), (200, 211), (200, 212), (200, 213), (200, 214), (200, 215), (200, 216), (200, 217), (200, 218), (200, 219), (200, 220), (200, 221), (200, 222), (200, 223), (200, 224), (200, 225), (200, 226), (200, 227), (200, 228), (200, 229), (200, 230), (200, 231), (200, 232), (200, 233), (200, 234), (200, 235), (200, 236), (200, 237), (200, 238), (200, 239), (200, 240), (200, 241), (200, 242), (200, 243), (200, 244), (200, 245), (200, 246), (200, 247), (200, 248), (200, 249), (200, 250), (200, 251), (200, 252), (200, 253), (200, 254), (200, 255), (200, 256),
(200, 257), (200, 258), (200, 259), (200, 260), (200, 261), (200, 262), (200, 263), (200, 264), (200, 265), (200, 266), (200, 267), (200, 268), (200, 269), (200, 270), (200, 271), (200, 272), (200, 273), (200, 274), (200, 275), (200, 276), (200, 277), (200, 278), (200, 279), (200, 280), (200, 281), (200, 282), (200, 283), (200, 284), (200, 285), (200, 286), (200, 287), (200, 288), (200, 289), (200, 290), (200, 291), (200, 292), (200, 293), (200, 294), (200, 295), (200, 296), (200, 297), (200, 298), (200, 299), (200, 300), (200, 301), (200, 302), (200, 303), (200, 304), (200, 305), (200, 306), (200, 307), (200, 308), (200, 309), (200, 310), (200, 311), (200, 312), (200, 313), (200, 314), (200, 315), (200, 316), (200, 317), (200, 318), (200, 319), (200, 320), (200, 322), (201, 200), (201, 201), (201, 202), (201, 203), (201, 204), (201, 205), (201, 206),
(201, 207), (201, 208), (201, 209), (201, 210), (201, 211), (201, 212), (201, 213), (201, 214), (201, 215), (201, 216), (201, 217), (201, 218), (201, 219), (201, 220), (201, 221), (201, 222), (201, 223), (201, 224), (201, 225), (201, 226), (201, 227), (201, 228), (201, 229), (201, 230), (201, 231), (201, 232), (201, 233), (201, 234), (201, 235), (201, 236), (201, 237), (201, 238), (201, 239), (201, 240), (201, 241), (201, 242), (201, 243), (201, 244), (201, 245), (201, 246), (201, 247), (201, 248), (201, 249), (201, 250), (201, 251), (201, 252), (201, 253), (201, 254), (201, 255), (201, 256), (201, 257), (201, 258), (201, 259), (201, 260), (201, 261), (201, 262), (201, 263), (201, 264), (201, 265), (201, 266), (201, 267), (201, 268), (201, 269), (201, 270), (201, 271), (201, 272), (201, 273), (201, 274), (201, 275), (201, 276), (201, 277), (201, 278),
(201, 279), (201, 280), (201, 281), (201, 282), (201, 283), (201, 284), (201, 285), (201, 286), (201, 287), (201, 288), (201, 289), (201, 290), (201, 291), (201, 292), (201, 293), (201, 294), (201, 295), (201, 296), (201, 297), (201, 298), (201, 299), (201, 300), (201, 301), (201, 302), (201, 303), (201, 304), (201, 305), (201, 306), (201, 307), (201, 308), (201, 309), (201, 310), (201, 311), (201, 312), (201, 313), (201, 314), (201, 315), (201, 316), (201, 317), (201, 318), (201, 319), (201, 320), (201, 322), (202, 200), (202, 202), (202, 203), (202, 204), (202, 205), (202, 206), (202, 207), (202, 208), (202, 209), (202, 210), (202, 211), (202, 212), (202, 213), (202, 214), (202, 215), (202, 216), (202, 217), (202, 218), (202, 219), (202, 220), (202, 221), (202, 222), (202, 223), (202, 224), (202, 225), (202, 226), (202, 227), (202, 228), (202, 229),
(202, 230), (202, 231), (202, 232), (202, 233), (202, 234), (202, 235), (202, 236), (202, 237), (202, 238), (202, 239), (202, 240), (202, 241), (202, 242), (202, 243), (202, 244), (202, 245), (202, 246), (202, 247), (202, 248), (202, 249), (202, 250), (202, 251), (202, 252), (202, 253), (202, 254), (202, 255), (202, 256), (202, 257), (202, 258), (202, 259), (202, 260), (202, 261), (202, 262), (202, 263), (202, 264), (202, 265), (202, 266), (202, 267), (202, 268), (202, 269), (202, 270), (202, 271), (202, 272), (202, 273), (202, 274), (202, 275), (202, 276), (202, 277), (202, 278), (202, 279), (202, 280), (202, 281), (202, 282), (202, 283), (202, 284), (202, 285), (202, 286), (202, 287), (202, 288), (202, 289), (202, 290), (202, 291), (202, 292), (202, 293), (202, 294), (202, 295), (202, 296), (202, 297), (202, 298), (202, 299), (202, 300), (202, 301),
(202, 302), (202, 303), (202, 304), (202, 305), (202, 306), (202, 307), (202, 308), (202, 309), (202, 310), (202, 311), (202, 312), (202, 313), (202, 314), (202, 315), (202, 316), (202, 317), (202, 318), (202, 319), (202, 320), (202, 321), (202, 323), (203, 200), (203, 202), (203, 203), (203, 204), (203, 205), (203, 206), (203, 207), (203, 208), (203, 209), (203, 210), (203, 211), (203, 212), (203, 213), (203, 214), (203, 215), (203, 216), (203, 217), (203, 218), (203, 219), (203, 220), (203, 221), (203, 222), (203, 223), (203, 224), (203, 225), (203, 226), (203, 227), (203, 228), (203, 229), (203, 230), (203, 231), (203, 232), (203, 233), (203, 234), (203, 235), (203, 236), (203, 237), (203, 238), (203, 239), (203, 240), (203, 241), (203, 242), (203, 243), (203, 244), (203, 245), (203, 246), (203, 247), (203, 248), (203, 249), (203, 250), (203, 251),
(203, 252), (203, 253), (203, 254), (203, 255), (203, 256), (203, 257), (203, 258), (203, 259), (203, 260), (203, 261), (203, 262), (203, 263), (203, 264), (203, 265), (203, 266), (203, 267), (203, 268), (203, 269), (203, 270), (203, 271), (203, 272), (203, 273), (203, 274), (203, 275), (203, 276), (203, 277), (203, 278), (203, 279), (203, 280), (203, 281), (203, 282), (203, 283), (203, 284), (203, 285), (203, 286), (203, 287), (203, 288), (203, 289), (203, 290), (203, 291), (203, 292), (203, 293), (203, 294), (203, 295), (203, 296), (203, 297), (203, 298), (203, 299), (203, 300), (203, 301), (203, 302), (203, 303), (203, 304), (203, 305), (203, 306), (203, 307), (203, 308), (203, 309), (203, 310), (203, 311), (203, 312), (203, 313), (203, 314), (203, 315), (203, 316), (203, 317), (203, 318), (203, 319), (203, 320), (203, 321), (203, 323), (204, 200),
(204, 202), (204, 203), (204, 204), (204, 205), (204, 206), (204, 207), (204, 208), (204, 209), (204, 210), (204, 211), (204, 212), (204, 213), (204, 214), (204, 215), (204, 216), (204, 217), (204, 218), (204, 219), (204, 220), (204, 221), (204, 222), (204, 223), (204, 224), (204, 225), (204, 226), (204, 227), (204, 228), (204, 229), (204, 230), (204, 231), (204, 232), (204, 233), (204, 234), (204, 235), (204, 236), (204, 237), (204, 238), (204, 239), (204, 240), (204, 241), (204, 242), (204, 243), (204, 244), (204, 245), (204, 246), (204, 247), (204, 248), (204, 249), (204, 250), (204, 251), (204, 252), (204, 253), (204, 254), (204, 255), (204, 256), (204, 257), (204, 258), (204, 259), (204, 260), (204, 261), (204, 262), (204, 263), (204, 264), (204, 265), (204, 266), (204, 267), (204, 268), (204, 269), (204, 270), (204, 271), (204, 272), (204, 273),
(204, 274), (204, 275), (204, 276), (204, 277), (204, 278), (204, 279), (204, 280), (204, 281), (204, 282), (204, 283), (204, 284), (204, 285), (204, 286), (204, 287), (204, 288), (204, 289), (204, 290), (204, 291), (204, 292), (204, 293), (204, 294), (204, 295), (204, 296), (204, 297), (204, 298), (204, 299), (204, 300), (204, 301), (204, 302), (204, 303), (204, 304), (204, 305), (204, 306), (204, 307), (204, 308), (204, 309), (204, 310), (204, 311), (204, 312), (204, 313), (204, 314), (204, 315), (204, 316), (204, 317), (204, 318), (204, 319), (204, 320), (204, 321), (204, 323), (205, 200), (205, 202), (205, 203), (205, 204), (205, 205), (205, 206), (205, 207), (205, 208), (205, 209), (205, 210), (205, 211), (205, 212), (205, 213), (205, 214), (205, 215), (205, 216), (205, 217), (205, 218), (205, 219), (205, 220), (205, 221), (205, 222), (205, 223),
(205, 224), (205, 225), (205, 226), (205, 227), (205, 228), (205, 229), (205, 230), (205, 231), (205, 232), (205, 233), (205, 234), (205, 235), (205, 236), (205, 237), (205, 238), (205, 239), (205, 240), (205, 241), (205, 242), (205, 243), (205, 244), (205, 245), (205, 246), (205, 247), (205, 248), (205, 249), (205, 250), (205, 251), (205, 252), (205, 253), (205, 254), (205, 255), (205, 256), (205, 257), (205, 258), (205, 259), (205, 260), (205, 261), (205, 262), (205, 263), (205, 264), (205, 265), (205, 266), (205, 267), (205, 268), (205, 269), (205, 270), (205, 271), (205, 272), (205, 273), (205, 274), (205, 275), (205, 276), (205, 277), (205, 278), (205, 279), (205, 280), (205, 281), (205, 282), (205, 283), (205, 284), (205, 285), (205, 286), (205, 287), (205, 288), (205, 289), (205, 290), (205, 291), (205, 292), (205, 293), (205, 294), (205, 295),
(205, 296), (205, 297), (205, 298), (205, 299), (205, 300), (205, 301), (205, 302), (205, 303), (205, 304), (205, 305), (205, 306), (205, 307), (205, 308), (205, 309), (205, 310), (205, 311), (205, 312), (205, 313), (205, 314), (205, 315), (205, 316), (205, 317), (205, 318), (205, 319), (205, 320), (205, 321), (205, 323), (206, 200), (206, 202), (206, 203), (206, 204), (206, 205), (206, 206), (206, 207), (206, 208), (206, 209), (206, 210), (206, 211), (206, 212), (206, 213), (206, 214), (206, 215), (206, 216), (206, 217), (206, 218), (206, 219), (206, 220), (206, 221), (206, 222), (206, 223), (206, 224), (206, 225), (206, 226), (206, 227), (206, 228), (206, 229), (206, 230), (206, 231), (206, 232), (206, 233), (206, 234), (206, 235), (206, 236), (206, 237), (206, 238), (206, 239), (206, 240), (206, 241), (206, 242), (206, 243), (206, 244), (206, 245),
(206, 246), (206, 247), (206, 248), (206, 249), (206, 250), (206, 251), (206, 252), (206, 253), (206, 254), (206, 255), (206, 256), (206, 257), (206, 258), (206, 259), (206, 260), (206, 261), (206, 262), (206, 263), (206, 264), (206, 265), (206, 266), (206, 267), (206, 268), (206, 269), (206, 270), (206, 271), (206, 272), (206, 273), (206, 274), (206, 275), (206, 276), (206, 277), (206, 278), (206, 279), (206, 280), (206, 281), (206, 282), (206, 283), (206, 284), (206, 285), (206, 286), (206, 287), (206, 288), (206, 289), (206, 290), (206, 291), (206, 292), (206, 293), (206, 294), (206, 295), (206, 296), (206, 297), (206, 298), (206, 299), (206, 300), (206, 301), (206, 302), (206, 303), (206, 304), (206, 305), (206, 306), (206, 307), (206, 308), (206, 309), (206, 310), (206, 311), (206, 312), (206, 313), (206, 314), (206, 315), (206, 316), (206, 317),
(206, 318), (206, 319), (206, 320), (206, 321), (206, 323), (207, 200), (207, 202), (207, 203), (207, 204), (207, 205), (207, 206), (207, 207), (207, 208), (207, 209), (207, 210), (207, 211), (207, 212), (207, 213), (207, 214), (207, 215), (207, 216), (207, 217), (207, 218), (207, 219), (207, 220), (207, 221), (207, 222), (207, 223), (207, 224), (207, 225), (207, 226), (207, 227), (207, 228), (207, 229), (207, 230), (207, 231), (207, 232), (207, 233), (207, 234), (207, 235), (207, 236), (207, 237), (207, 238), (207, 239), (207, 240), (207, 241), (207, 242), (207, 243), (207, 244), (207, 245), (207, 246), (207, 247), (207, 248), (207, 249), (207, 250), (207, 251), (207, 252), (207, 253), (207, 254), (207, 255), (207, 256), (207, 257), (207, 258), (207, 259), (207, 260), (207, 261), (207, 262), (207, 263), (207, 264), (207, 265), (207, 266), (207, 267),
(207, 268), (207, 269), (207, 270), (207, 271), (207, 272), (207, 273), (207, 274), (207, 275), (207, 276), (207, 277), (207, 278), (207, 279), (207, 280), (207, 281), (207, 282), (207, 283), (207, 284), (207, 285), (207, 286), (207, 287), (207, 288), (207, 289), (207, 290), (207, 291), (207, 292), (207, 293), (207, 294), (207, 295), (207, 296), (207, 297), (207, 298), (207, 299), (207, 300), (207, 301), (207, 302), (207, 303), (207, 304), (207, 305), (207, 306), (207, 307), (207, 308), (207, 309), (207, 310), (207, 311), (207, 312), (207, 313), (207, 314), (207, 315), (207, 316), (207, 317), (207, 318), (207, 319), (207, 320), (207, 321), (207, 322), (207, 324), (208, 200), (208, 202), (208, 203), (208, 204), (208, 205), (208, 206), (208, 207), (208, 208), (208, 209), (208, 210), (208, 211), (208, 212), (208, 213), (208, 214), (208, 215), (208, 216),
(208, 217), (208, 218), (208, 219), (208, 220), (208, 221), (208, 222), (208, 223), (208, 224), (208, 225), (208, 226), (208, 227), (208, 228), (208, 229), (208, 230), (208, 231), (208, 232), (208, 233), (208, 234), (208, 235), (208, 236), (208, 237), (208, 238), (208, 239), (208, 240), (208, 241), (208, 242), (208, 243), (208, 244), (208, 245), (208, 246), (208, 247), (208, 248), (208, 249), (208, 250), (208, 251), (208, 252), (208, 253), (208, 254), (208, 255), (208, 256), (208, 257), (208, 258), (208, 259), (208, 260), (208, 261), (208, 262), (208, 263), (208, 264), (208, 265), (208, 266), (208, 267), (208, 268), (208, 269), (208, 270), (208, 271), (208, 272), (208, 273), (208, 274), (208, 275), (208, 276), (208, 277), (208, 278), (208, 279), (208, 280), (208, 281), (208, 282), (208, 283), (208, 284), (208, 285), (208, 286), (208, 287), (208, 288),
(208, 289), (208, 290), (208, 291), (208, 292), (208, 293), (208, 294), (208, 295), (208, 296), (208, 297), (208, 298), (208, 299), (208, 300), (208, 301), (208, 302), (208, 303), (208, 304), (208, 305), (208, 306), (208, 307), (208, 308), (208, 309), (208, 310), (208, 311), (208, 312), (208, 313), (208, 314), (208, 315), (208, 316), (208, 317), (208, 318), (208, 319), (208, 320), (208, 321), (208, 322), (208, 324), (209, 200), (209, 201), (209, 202), (209, 203), (209, 204), (209, 205), (209, 206), (209, 207), (209, 208), (209, 209), (209, 210), (209, 211), (209, 212), (209, 213), (209, 214), (209, 215), (209, 216), (209, 217), (209, 218), (209, 219), (209, 220), (209, 221), (209, 222), (209, 223), (209, 224), (209, 225), (209, 226), (209, 227), (209, 228), (209, 229), (209, 230), (209, 231), (209, 232), (209, 233), (209, 234), (209, 235), (209, 236),
(209, 237), (209, 238), (209, 239), (209, 240), (209, 241), (209, 242), (209, 243), (209, 244), (209, 245), (209, 246), (209, 247), (209, 248), (209, 249), (209, 250), (209, 251), (209, 252), (209, 253), (209, 254), (209, 255), (209, 256), (209, 257), (209, 258), (209, 259), (209, 260), (209, 261), (209, 262), (209, 263), (209, 264), (209, 265), (209, 266), (209, 267), (209, 268), (209, 269), (209, 270), (209, 271), (209, 272), (209, 273), (209, 274), (209, 275), (209, 276), (209, 277), (209, 278), (209, 279), (209, 280), (209, 281), (209, 282), (209, 283), (209, 284), (209, 285), (209, 286), (209, 287), (209, 288), (209, 289), (209, 290), (209, 291), (209, 292), (209, 293), (209, 294), (209, 295), (209, 296), (209, 297), (209, 298), (209, 299), (209, 300), (209, 301), (209, 302), (209, 303), (209, 304), (209, 305), (209, 306), (209, 307), (209, 308),
(209, 309), (209, 310), (209, 311), (209, 312), (209, 313), (209, 314), (209, 315), (209, 316), (209, 317), (209, 318), (209, 319), (209, 320), (209, 321), (209, 322), (209, 324), (210, 200), (210, 201), (210, 202), (210, 203), (210, 204), (210, 205), (210, 206), (210, 207), (210, 208), (210, 209), (210, 210), (210, 211), (210, 212), (210, 213), (210, 214), (210, 215), (210, 216), (210, 217), (210, 218), (210, 219), (210, 220), (210, 221), (210, 222), (210, 223), (210, 224), (210, 225), (210, 226), (210, 227), (210, 228), (210, 229), (210, 230), (210, 231), (210, 232), (210, 233), (210, 234), (210, 235), (210, 236), (210, 237), (210, 238), (210, 239), (210, 240), (210, 241), (210, 242), (210, 243), (210, 244), (210, 245), (210, 246), (210, 247), (210, 248), (210, 249), (210, 250), (210, 251), (210, 252), (210, 253), (210, 254), (210, 255), (210, 256),
(210, 257), (210, 258), (210, 259), (210, 260), (210, 261), (210, 262), (210, 263), (210, 264), (210, 265), (210, 266), (210, 267), (210, 268), (210, 269), (210, 270), (210, 271), (210, 272), (210, 273), (210, 274), (210, 275), (210, 276), (210, 277), (210, 278), (210, 279), (210, 280), (210, 281), (210, 282), (210, 283), (210, 284), (210, 285), (210, 286), (210, 287), (210, 288), (210, 289), (210, 290), (210, 291), (210, 292), (210, 293), (210, 294), (210, 295), (210, 296), (210, 297), (210, 298), (210, 299), (210, 300), (210, 301), (210, 302), (210, 303), (210, 304), (210, 305), (210, 306), (210, 307), (210, 308), (210, 309), (210, 310), (210, 311), (210, 312), (210, 313), (210, 314), (210, 315), (210, 316), (210, 317), (210, 318), (210, 319), (210, 320), (210, 321), (210, 322), (210, 324), (211, 201), (211, 203), (211, 204), (211, 205), (211, 206),
(211, 207), (211, 208), (211, 209), (211, 210), (211, 211), (211, 212), (211, 213), (211, 214), (211, 215), (211, 216), (211, 217), (211, 218), (211, 219), (211, 220), (211, 221), (211, 222), (211, 223), (211, 224), (211, 225), (211, 226), (211, 227), (211, 228), (211, 229), (211, 230), (211, 231), (211, 232), (211, 233), (211, 234), (211, 235), (211, 236), (211, 237), (211, 238), (211, 239), (211, 240), (211, 241), (211, 242), (211, 243), (211, 244), (211, 245), (211, 246), (211, 247), (211, 248), (211, 249), (211, 250), (211, 251), (211, 252), (211, 253), (211, 254), (211, 255), (211, 256), (211, 257), (211, 258), (211, 259), (211, 260), (211, 261), (211, 262), (211, 263), (211, 264), (211, 265), (211, 266), (211, 267), (211, 268), (211, 269), (211, 270), (211, 271), (211, 272), (211, 273), (211, 274), (211, 275), (211, 276), (211, 277), (211, 278),
(211, 279), (211, 280), (211, 281), (211, 282), (211, 283), (211, 284), (211, 285), (211, 286), (211, 287), (211, 288), (211, 289), (211, 290), (211, 291), (211, 292), (211, 293), (211, 294), (211, 295), (211, 296), (211, 297), (211, 298), (211, 299), (211, 300), (211, 301), (211, 302), (211, 303), (211, 304), (211, 305), (211, 306), (211, 307), (211, 308), (211, 309), (211, 310), (211, 311), (211, 312), (211, 313), (211, 314), (211, 315), (211, 316), (211, 317), (211, 318), (211, 319), (211, 320), (211, 321), (211, 322), (211, 323), (211, 325), (212, 201), (212, 203), (212, 204), (212, 205), (212, 206), (212, 207), (212, 208), (212, 209), (212, 210), (212, 211), (212, 212), (212, 213), (212, 214), (212, 215), (212, 216), (212, 217), (212, 218), (212, 219), (212, 220), (212, 221), (212, 222), (212, 223), (212, 224), (212, 225), (212, 226), (212, 227),
(212, 228), (212, 229), (212, 230), (212, 231), (212, 232), (212, 233), (212, 234), (212, 235), (212, 236), (212, 237), (212, 238), (212, 239), (212, 240), (212, 241), (212, 242), (212, 243), (212, 244), (212, 245), (212, 246), (212, 247), (212, 248), (212, 249), (212, 250), (212, 251), (212, 252), (212, 253), (212, 254), (212, 255), (212, 256), (212, 257), (212, 258), (212, 259), (212, 260), (212, 261), (212, 262), (212, 263), (212, 264), (212, 265), (212, 266), (212, 267), (212, 268), (212, 269), (212, 270), (212, 271), (212, 272), (212, 273), (212, 274), (212, 275), (212, 276), (212, 277), (212, 278), (212, 279), (212, 280), (212, 281), (212, 282), (212, 283), (212, 284), (212, 285), (212, 286), (212, 287), (212, 288), (212, 289), (212, 290), (212, 291), (212, 292), (212, 293), (212, 294), (212, 295), (212, 296), (212, 297), (212, 298), (212, 299),
(212, 300), (212, 301), (212, 302), (212, 303), (212, 304), (212, 305), (212, 306), (212, 307), (212, 308), (212, 309), (212, 310), (212, 311), (212, 312), (212, 313), (212, 314), (212, 315), (212, 316), (212, 317), (212, 318), (212, 319), (212, 320), (212, 321), (212, 322), (212, 323), (212, 325), (213, 201), (213, 203), (213, 204), (213, 205), (213, 206), (213, 207), (213, 208), (213, 209), (213, 210), (213, 211), (213, 212), (213, 213), (213, 214), (213, 215), (213, 216), (213, 217), (213, 218), (213, 219), (213, 220), (213, 221), (213, 222), (213, 223), (213, 224), (213, 225), (213, 226), (213, 227), (213, 228), (213, 229), (213, 230), (213, 231), (213, 232), (213, 233), (213, 234), (213, 235), (213, 236), (213, 237), (213, 238), (213, 239), (213, 240), (213, 241), (213, 242), (213, 243), (213, 244), (213, 245), (213, 246), (213, 247), (213, 248),
(213, 249), (213, 250), (213, 251), (213, 252), (213, 253), (213, 254), (213, 255), (213, 256), (213, 257), (213, 258), (213, 259), (213, 260), (213, 261), (213, 262), (213, 263), (213, 264), (213, 265), (213, 266), (213, 267), (213, 268), (213, 269), (213, 270), (213, 271), (213, 272), (213, 273), (213, 274), (213, 275), (213, 276), (213, 277), (213, 278), (213, 279), (213, 280), (213, 281), (213, 282), (213, 283), (213, 284), (213, 285), (213, 286), (213, 287), (213, 288), (213, 289), (213, 290), (213, 291), (213, 292), (213, 293), (213, 294), (213, 295), (213, 296), (213, 297), (213, 298), (213, 299), (213, 300), (213, 301), (213, 302), (213, 303), (213, 304), (213, 305), (213, 306), (213, 307), (213, 308), (213, 309), (213, 310), (213, 311), (213, 312), (213, 313), (213, 314), (213, 315), (213, 316), (213, 317), (213, 318), (213, 319), (213, 320),
(213, 321), (213, 322), (213, 323), (213, 325), (214, 201), (214, 203), (214, 204), (214, 205), (214, 206), (214, 207), (214, 208), (214, 209), (214, 210), (214, 211), (214, 212), (214, 213), (214, 214), (214, 215), (214, 216), (214, 217), (214, 218), (214, 219), (214, 220), (214, 221), (214, 222), (214, 223), (214, 224), (214, 225), (214, 226), (214, 227), (214, 228), (214, 229), (214, 230), (214, 231), (214, 232), (214, 233), (214, 234), (214, 235), (214, 236), (214, 237), (214, 238), (214, 239), (214, 240), (214, 241), (214, 242), (214, 243), (214, 244), (214, 245), (214, 246), (214, 247), (214, 248), (214, 249), (214, 250), (214, 251), (214, 252), (214, 253), (214, 254), (214, 255), (214, 256), (214, 257), (214, 258), (214, 259), (214, 260), (214, 261), (214, 262), (214, 263), (214, 264), (214, 265), (214, 266), (214, 267), (214, 268), (214, 269),
(214, 270), (214, 271), (214, 272), (214, 273), (214, 274), (214, 275), (214, 276), (214, 277), (214, 278), (214, 279), (214, 280), (214, 281), (214, 282), (214, 283), (214, 284), (214, 285), (214, 286), (214, 287), (214, 288), (214, 289), (214, 290), (214, 291), (214, 292), (214, 293), (214, 294), (214, 295), (214, 296), (214, 297), (214, 298), (214, 299), (214, 300), (214, 301), (214, 302), (214, 303), (214, 304), (214, 305), (214, 306), (214, 307), (214, 308), (214, 309), (214, 310), (214, 311), (214, 312), (214, 313), (214, 314), (214, 315), (214, 316), (214, 317), (214, 318), (214, 319), (214, 320), (214, 321), (214, 322), (214, 323), (214, 325), (215, 201), (215, 203), (215, 204), (215, 205), (215, 206), (215, 207), (215, 208), (215, 209), (215, 210), (215, 211), (215, 212), (215, 213), (215, 214), (215, 215), (215, 216), (215, 217), (215, 218),
(215, 219), (215, 220), (215, 221), (215, 222), (215, 223), (215, 224), (215, 225), (215, 226), (215, 227), (215, 228), (215, 229), (215, 230), (215, 231), (215, 232), (215, 233), (215, 234), (215, 235), (215, 236), (215, 237), (215, 238), (215, 239), (215, 240), (215, 241), (215, 242), (215, 243), (215, 244), (215, 245), (215, 246), (215, 247), (215, 248), (215, 249), (215, 250), (215, 251), (215, 252), (215, 253), (215, 254), (215, 255), (215, 256), (215, 257), (215, 258), (215, 259), (215, 260), (215, 261), (215, 262), (215, 263), (215, 264), (215, 265), (215, 266), (215, 267), (215, 268), (215, 269), (215, 270), (215, 271), (215, 272), (215, 273), (215, 274), (215, 275), (215, 276), (215, 277), (215, 278), (215, 279), (215, 280), (215, 281), (215, 282), (215, 283), (215, 284), (215, 285), (215, 286), (215, 287), (215, 288), (215, 289), (215, 290),
(215, 291), (215, 292), (215, 293), (215, 294), (215, 295), (215, 296), (215, 297), (215, 298), (215, 299), (215, 300), (215, 301), (215, 302), (215, 303), (215, 304), (215, 305), (215, 306), (215, 307), (215, 308), (215, 309), (215, 310), (215, 311), (215, 312), (215, 313), (215, 314), (215, 315), (215, 316), (215, 317), (215, 318), (215, 319), (215, 320), (215, 321), (215, 322), (215, 323), (215, 324), (215, 326), (216, 201), (216, 203), (216, 204), (216, 205), (216, 206), (216, 207), (216, 208), (216, 209), (216, 210), (216, 211), (216, 212), (216, 213), (216, 214), (216, 215), (216, 216), (216, 217), (216, 218), (216, 219), (216, 220), (216, 221), (216, 222), (216, 223), (216, 224), (216, 225), (216, 226), (216, 227), (216, 228), (216, 229), (216, 230), (216, 231), (216, 232), (216, 233), (216, 234), (216, 235), (216, 236), (216, 237), (216, 238),
(216, 239), (216, 240), (216, 241), (216, 242), (216, 243), (216, 244), (216, 245), (216, 246), (216, 247), (216, 248), (216, 249), (216, 250), (216, 251), (216, 252), (216, 253), (216, 254), (216, 255), (216, 256), (216, 257), (216, 258), (216, 259), (216, 260), (216, 261), (216, 262), (216, 263), (216, 264), (216, 265), (216, 266), (216, 267), (216, 268), (216, 269), (216, 270), (216, 271), (216, 272), (216, 273), (216, 274), (216, 275), (216, 276), (216, 277), (216, 278), (216, 279), (216, 280), (216, 281), (216, 282), (216, 283), (216, 284), (216, 285), (216, 286), (216, 287), (216, 288), (216, 289), (216, 290), (216, 291), (216, 292), (216, 293), (216, 294), (216, 295), (216, 296), (216, 297), (216, 298), (216, 299), (216, 300), (216, 301), (216, 302), (216, 303), (216, 304), (216, 305), (216, 306), (216, 307), (216, 308), (216, 309), (216, 310),
(216, 311), (216, 312), (216, 313), (216, 314), (216, 315), (216, 316), (216, 317), (216, 318), (216, 319), (216, 320), (216, 321), (216, 322), (216, 323), (216, 324), (216, 326), (217, 201), (217, 203), (217, 204), (217, 205), (217, 206), (217, 207), (217, 208), (217, 209), (217, 210), (217, 211), (217, 212), (217, 213), (217, 214), (217, 215), (217, 216), (217, 217), (217, 218), (217, 219), (217, 220), (217, 221), (217, 222), (217, 223), (217, 224), (217, 225), (217, 226), (217, 227), (217, 228), (217, 229), (217, 230), (217, 231), (217, 232), (217, 233), (217, 234), (217, 235), (217, 236), (217, 237), (217, 238), (217, 239), (217, 240), (217, 241), (217, 242), (217, 243), (217, 244), (217, 245), (217, 246), (217, 247), (217, 248), (217, 249), (217, 250), (217, 251), (217, 252), (217, 253), (217, 254), (217, 255), (217, 256), (217, 257), (217, 258),
(217, 259), (217, 260), (217, 261), (217, 262), (217, 263), (217, 264), (217, 265), (217, 266), (217, 267), (217, 268), (217, 269), (217, 270), (217, 271), (217, 272), (217, 273), (217, 274), (217, 275), (217, 276), (217, 277), (217, 278), (217, 279), (217, 280), (217, 281), (217, 282), (217, 283), (217, 284), (217, 285), (217, 286), (217, 287), (217, 288), (217, 289), (217, 290), (217, 291), (217, 292), (217, 293), (217, 294), (217, 295), (217, 296), (217, 297), (217, 298), (217, 299), (217, 300), (217, 301), (217, 302), (217, 303), (217, 304), (217, 305), (217, 306), (217, 307), (217, 308), (217, 309), (217, 310), (217, 311), (217, 312), (217, 313), (217, 314), (217, 315), (217, 316), (217, 317), (217, 318), (217, 319), (217, 320), (217, 321), (217, 322), (217, 323), (217, 324), (217, 325), (217, 327), (218, 201), (218, 203), (218, 204), (218, 205),
(218, 206), (218, 207), (218, 208), (218, 209), (218, 210), (218, 211), (218, 212), (218, 213), (218, 214), (218, 215), (218, 216), (218, 217), (218, 218), (218, 219), (218, 220), (218, 221), (218, 222), (218, 223), (218, 224), (218, 225), (218, 226), (218, 227), (218, 228), (218, 229), (218, 230), (218, 231), (218, 232), (218, 233), (218, 234), (218, 235), (218, 236), (218, 237), (218, 238), (218, 239), (218, 240), (218, 241), (218, 242), (218, 243), (218, 244), (218, 245), (218, 246), (218, 247), (218, 248), (218, 249), (218, 250), (218, 251), (218, 252), (218, 253), (218, 254), (218, 255), (218, 256), (218, 257), (218, 258), (218, 259), (218, 260), (218, 261), (218, 262), (218, 263), (218, 264), (218, 265), (218, 266), (218, 267), (218, 268), (218, 269), (218, 270), (218, 271), (218, 272), (218, 273), (218, 274), (218, 275), (218, 276), (218, 277),
(218, 278), (218, 279), (218, 280), (218, 281), (218, 282), (218, 283), (218, 284), (218, 285), (218, 286), (218, 287), (218, 288), (218, 289), (218, 290), (218, 291), (218, 292), (218, 293), (218, 294), (218, 295), (218, 296), (218, 297), (218, 298), (218, 299), (218, 300), (218, 301), (218, 302), (218, 303), (218, 304), (218, 305), (218, 306), (218, 307), (218, 308), (218, 309), (218, 310), (218, 311), (218, 312), (218, 313), (218, 314), (218, 315), (218, 316), (218, 317), (218, 318), (218, 319), (218, 320), (218, 321), (218, 322), (218, 323), (218, 324), (218, 325), (218, 327), (219, 201), (219, 203), (219, 204), (219, 205), (219, 206), (219, 207), (219, 208), (219, 209), (219, 210), (219, 211), (219, 212), (219, 213), (219, 214), (219, 215), (219, 216), (219, 217), (219, 218), (219, 219), (219, 220), (219, 221), (219, 222), (219, 223), (219, 224),
(219, 225), (219, 226), (219, 227), (219, 228), (219, 229), (219, 230), (219, 231), (219, 232), (219, 233), (219, 234), (219, 235), (219, 236), (219, 237), (219, 238), (219, 239), (219, 240), (219, 241), (219, 242), (219, 243), (219, 244), (219, 245), (219, 246), (219, 247), (219, 248), (219, 249), (219, 250), (219, 251), (219, 252), (219, 253), (219, 254), (219, 255), (219, 256), (219, 257), (219, 258), (219, 259), (219, 260), (219, 261), (219, 262), (219, 263), (219, 264), (219, 265), (219, 266), (219, 267), (219, 268), (219, 269), (219, 270), (219, 271), (219, 272), (219, 273), (219, 274), (219, 275), (219, 276), (219, 277), (219, 278), (219, 279), (219, 280), (219, 281), (219, 282), (219, 283), (219, 284), (219, 285), (219, 286), (219, 287), (219, 288), (219, 289), (219, 290), (219, 291), (219, 292), (219, 293), (219, 294), (219, 295), (219, 296),
(219, 297), (219, 298), (219, 299), (219, 300), (219, 301), (219, 302), (219, 303), (219, 304), (219, 305), (219, 306), (219, 307), (219, 308), (219, 309), (219, 310), (219, 311), (219, 312), (219, 313), (219, 314), (219, 315), (219, 316), (219, 317), (219, 318), (219, 319), (219, 320), (219, 321), (219, 322), (219, 323), (219, 324), (219, 325), (219, 327), (220, 201), (220, 203), (220, 204), (220, 205), (220, 206), (220, 207), (220, 208), (220, 209), (220, 210), (220, 211), (220, 212), (220, 213), (220, 214), (220, 215), (220, 216), (220, 217), (220, 218), (220, 219), (220, 220), (220, 221), (220, 222), (220, 223), (220, 224), (220, 225), (220, 226), (220, 227), (220, 228), (220, 229), (220, 230), (220, 231), (220, 232), (220, 233), (220, 234), (220, 235), (220, 236), (220, 237), (220, 238), (220, 239), (220, 240), (220, 241), (220, 242), (220, 243),
(220, 244), (220, 245), (220, 246), (220, 247), (220, 248), (220, 249), (220, 250), (220, 251), (220, 252), (220, 253), (220, 254), (220, 255), (220, 256), (220, 257), (220, 258), (220, 259), (220, 260), (220, 261), (220, 262), (220, 263), (220, 264), (220, 265), (220, 266), (220, 267), (220, 268), (220, 269), (220, 270), (220, 271), (220, 272), (220, 273), (220, 274), (220, 275), (220, 276), (220, 277), (220, 278), (220, 279), (220, 280), (220, 281), (220, 282), (220, 283), (220, 284), (220, 285), (220, 286), (220, 287), (220, 288), (220, 289), (220, 290), (220, 291), (220, 292), (220, 293), (220, 294), (220, 295), (220, 296), (220, 297), (220, 298), (220, 299), (220, 300), (220, 301), (220, 302), (220, 303), (220, 304), (220, 305), (220, 306), (220, 307), (220, 308), (220, 309), (220, 310), (220, 311), (220, 312), (220, 313), (220, 314), (220, 315),
(220, 316), (220, 317), (220, 318), (220, 319), (220, 320), (220, 321), (220, 322), (220, 323), (220, 324), (220, 325), (220, 326), (220, 328), (221, 201), (221, 203), (221, 204), (221, 205), (221, 206), (221, 207), (221, 208), (221, 209), (221, 210), (221, 211), (221, 212), (221, 213), (221, 214), (221, 215), (221, 216), (221, 217), (221, 218), (221, 219), (221, 220), (221, 221), (221, 222), (221, 223), (221, 224), (221, 225), (221, 226), (221, 227), (221, 228), (221, 229), (221, 230), (221, 231), (221, 232), (221, 233), (221, 234), (221, 235), (221, 236), (221, 237), (221, 238), (221, 239), (221, 240), (221, 241), (221, 242), (221, 243), (221, 244), (221, 245), (221, 246), (221, 247), (221, 248), (221, 249), (221, 250), (221, 251), (221, 252), (221, 253), (221, 254), (221, 255), (221, 256), (221, 257), (221, 258), (221, 259), (221, 260), (221, 261),
(221, 262), (221, 263), (221, 264), (221, 265), (221, 266), (221, 267), (221, 268), (221, 269), (221, 270), (221, 271), (221, 272), (221, 273), (221, 274), (221, 275), (221, 276), (221, 277), (221, 278), (221, 279), (221, 280), (221, 281), (221, 282), (221, 283), (221, 284), (221, 285), (221, 286), (221, 287), (221, 288), (221, 289), (221, 290), (221, 291), (221, 292), (221, 293), (221, 294), (221, 295), (221, 296), (221, 297), (221, 298), (221, 299), (221, 300), (221, 301), (221, 302), (221, 303), (221, 304), (221, 305), (221, 306), (221, 307), (221, 308), (221, 309), (221, 310), (221, 311), (221, 312), (221, 313), (221, 314), (221, 315), (221, 316), (221, 317), (221, 318), (221, 319), (221, 320), (221, 321), (221, 322), (221, 323), (221, 324), (221, 325), (221, 326), (221, 328), (222, 201), (222, 203), (222, 204), (222, 205), (222, 206), (222, 207),
(222, 208), (222, 209), (222, 210), (222, 211), (222, 212), (222, 213), (222, 214), (222, 215), (222, 216), (222, 217), (222, 218), (222, 219), (222, 220), (222, 221), (222, 222), (222, 223), (222, 224), (222, 225), (222, 226), (222, 227), (222, 228), (222, 229), (222, 230), (222, 231), (222, 232), (222, 233), (222, 234), (222, 235), (222, 236), (222, 237), (222, 238), (222, 239), (222, 240), (222, 241), (222, 242), (222, 243), (222, 244), (222, 245), (222, 246), (222, 247), (222, 248), (222, 249), (222, 250), (222, 251), (222, 252), (222, 253), (222, 254), (222, 255), (222, 256), (222, 257), (222, 258), (222, 259), (222, 260), (222, 261), (222, 262), (222, 263), (222, 264), (222, 265), (222, 266), (222, 267), (222, 268), (222, 269), (222, 270), (222, 271), (222, 272), (222, 273), (222, 274), (222, 275), (222, 276), (222, 277), (222, 278), (222, 279),
(222, 280), (222, 281), (222, 282), (222, 283), (222, 284), (222, 285), (222, 286), (222, 287), (222, 288), (222, 289), (222, 290), (222, 291), (222, 292), (222, 293), (222, 294), (222, 295), (222, 296), (222, 297), (222, 298), (222, 299), (222, 300), (222, 301), (222, 302), (222, 303), (222, 304), (222, 305), (222, 306), (222, 307), (222, 308), (222, 309), (222, 310), (222, 311), (222, 312), (222, 313), (222, 314), (222, 315), (222, 316), (222, 317), (222, 318), (222, 319), (222, 320), (222, 321), (222, 322), (222, 323), (222, 324), (222, 325), (222, 326), (222, 327), (222, 329), (223, 202), (223, 204), (223, 205), (223, 206), (223, 207), (223, 208), (223, 209), (223, 210), (223, 211), (223, 212), (223, 213), (223, 214), (223, 215), (223, 216), (223, 217), (223, 218), (223, 219), (223, 220), (223, 221), (223, 222), (223, 223), (223, 224), (223, 225),
(223, 226), (223, 227), (223, 228), (223, 229), (223, 230), (223, 231), (223, 232), (223, 233), (223, 234), (223, 235), (223, 236), (223, 237), (223, 238), (223, 239), (223, 240), (223, 241), (223, 242), (223, 243), (223, 244), (223, 245), (223, 246), (223, 247), (223, 248), (223, 249), (223, 250), (223, 251), (223, 252), (223, 253), (223, 254), (223, 255), (223, 256), (223, 257), (223, 258), (223, 259), (223, 260), (223, 261), (223, 262), (223, 263), (223, 264), (223, 265), (223, 266), (223, 267), (223, 268), (223, 269), (223, 270), (223, 271), (223, 272), (223, 273), (223, 274), (223, 275), (223, 276), (223, 277), (223, 278), (223, 279), (223, 280), (223, 281), (223, 282), (223, 283), (223, 284), (223, 285), (223, 286), (223, 287), (223, 288), (223, 289), (223, 290), (223, 291), (223, 292), (223, 293), (223, 294), (223, 295), (223, 296), (223, 297),
(223, 298), (223, 299), (223, 300), (223, 301), (223, 302), (223, 303), (223, 304), (223, 305), (223, 306), (223, 307), (223, 308), (223, 309), (223, 310), (223, 311), (223, 312), (223, 313), (223, 314), (223, 315), (223, 316), (223, 317), (223, 318), (223, 319), (223, 320), (223, 321), (223, 322), (223, 323), (223, 324), (223, 325), (223, 326), (223, 327), (223, 329), (224, 202), (224, 204), (224, 205), (224, 206), (224, 207), (224, 208), (224, 209), (224, 210), (224, 211), (224, 212), (224, 213), (224, 214), (224, 215), (224, 216), (224, 217), (224, 218), (224, 219), (224, 220), (224, 221), (224, 222), (224, 223), (224, 224), (224, 225), (224, 226), (224, 227), (224, 228), (224, 229), (224, 230), (224, 231), (224, 232), (224, 233), (224, 234), (224, 235), (224, 236), (224, 237), (224, 238), (224, 239), (224, 240), (224, 241), (224, 242), (224, 243),
(224, 244), (224, 245), (224, 246), (224, 247), (224, 248), (224, 249), (224, 250), (224, 251), (224, 252), (224, 253), (224, 254), (224, 255), (224, 256), (224, 257), (224, 258), (224, 259), (224, 260), (224, 261), (224, 262), (224, 263), (224, 264), (224, 265), (224, 266), (224, 267), (224, 268), (224, 269), (224, 270), (224, 271), (224, 272), (224, 273), (224, 274), (224, 275), (224, 276), (224, 277), (224, 278), (224, 279), (224, 280), (224, 281), (224, 282), (224, 283), (224, 284), (224, 285), (224, 286), (224, 287), (224, 288), (224, 289), (224, 290), (224, 291), (224, 292), (224, 293), (224, 294), (224, 295), (224, 296), (224, 297), (224, 298), (224, 299), (224, 300), (224, 301), (224, 302), (224, 303), (224, 304), (224, 305), (224, 306), (224, 307), (224, 308), (224, 309), (224, 310), (224, 311), (224, 312), (224, 313), (224, 314), (224, 315),
(224, 316), (224, 317), (224, 318), (224, 319), (224, 320), (224, 321), (224, 322), (224, 323), (224, 324), (224, 325), (224, 326), (224, 327), (224, 329), (225, 202), (225, 204), (225, 205), (225, 206), (225, 207), (225, 208), (225, 209), (225, 210), (225, 211), (225, 212), (225, 213), (225, 214), (225, 215), (225, 216), (225, 217), (225, 218), (225, 219), (225, 220), (225, 221), (225, 222), (225, 223), (225, 224), (225, 225), (225, 226), (225, 227), (225, 228), (225, 229), (225, 230), (225, 231), (225, 232), (225, 233), (225, 234), (225, 235), (225, 236), (225, 237), (225, 238), (225, 239), (225, 240), (225, 241), (225, 242), (225, 243), (225, 244), (225, 245), (225, 246), (225, 247), (225, 248), (225, 249), (225, 250), (225, 251), (225, 252), (225, 253), (225, 254), (225, 255), (225, 256), (225, 257), (225, 258), (225, 259), (225, 260), (225, 261),
(225, 262), (225, 263), (225, 264), (225, 265), (225, 266), (225, 267), (225, 268), (225, 269), (225, 270), (225, 271), (225, 272), (225, 273), (225, 274), (225, 275), (225, 276), (225, 277), (225, 278), (225, 279), (225, 280), (225, 281), (225, 282), (225, 283), (225, 284), (225, 285), (225, 286), (225, 287), (225, 288), (225, 289), (225, 290), (225, 291), (225, 292), (225, 293), (225, 294), (225, 295), (225, 296), (225, 297), (225, 298), (225, 299), (225, 300), (225, 301), (225, 302), (225, 303), (225, 304), (225, 305), (225, 306), (225, 307), (225, 308), (225, 309), (225, 310), (225, 311), (225, 312), (225, 313), (225, 314), (225, 315), (225, 316), (225, 317), (225, 318), (225, 319), (225, 320), (225, 321), (225, 322), (225, 323), (225, 324), (225, 325), (225, 326), (225, 327), (225, 329), (226, 202), (226, 204), (226, 205), (226, 206), (226, 207),
(226, 208), (226, 209), (226, 210), (226, 211), (226, 212), (226, 213), (226, 214), (226, 215), (226, 216), (226, 217), (226, 218), (226, 219), (226, 220), (226, 221), (226, 222), (226, 223), (226, 224), (226, 225), (226, 226), (226, 227), (226, 228), (226, 229), (226, 230), (226, 231), (226, 232), (226, 233), (226, 234), (226, 235), (226, 236), (226, 237), (226, 238), (226, 239), (226, 240), (226, 241), (226, 242), (226, 243), (226, 244), (226, 245), (226, 246), (226, 247), (226, 248), (226, 249), (226, 250), (226, 251), (226, 252), (226, 253), (226, 254), (226, 255), (226, 256), (226, 257), (226, 258), (226, 259), (226, 260), (226, 261), (226, 262), (226, 263), (226, 264), (226, 265), (226, 266), (226, 267), (226, 268), (226, 269), (226, 270), (226, 271), (226, 272), (226, 273), (226, 274), (226, 275), (226, 276), (226, 277), (226, 278), (226, 279),
(226, 280), (226, 281), (226, 282), (226, 283), (226, 284), (226, 285), (226, 286), (226, 287), (226, 288), (226, 289), (226, 290), (226, 291), (226, 292), (226, 293), (226, 294), (226, 295), (226, 296), (226, 297), (226, 298), (226, 299), (226, 300), (226, 301), (226, 302), (226, 303), (226, 304), (226, 305), (226, 306), (226, 307), (226, 308), (226, 309), (226, 310), (226, 311), (226, 312), (226, 313), (226, 314), (226, 315), (226, 316), (226, 317), (226, 318), (226, 319), (226, 320), (226, 321), (226, 322), (226, 323), (226, 324), (226, 325), (226, 326), (226, 327), (226, 329), (227, 203), (227, 205), (227, 206), (227, 207), (227, 208), (227, 209), (227, 210), (227, 211), (227, 212), (227, 213), (227, 214), (227, 215), (227, 216), (227, 217), (227, 218), (227, 219), (227, 220), (227, 221), (227, 222), (227, 223), (227, 224), (227, 225), (227, 226),
(227, 227), (227, 228), (227, 229), (227, 230), (227, 231), (227, 232), (227, 233), (227, 234), (227, 235), (227, 236), (227, 237), (227, 238), (227, 239), (227, 240), (227, 241), (227, 242), (227, 243), (227, 244), (227, 245), (227, 246), (227, 247), (227, 248), (227, 249), (227, 250), (227, 251), (227, 252), (227, 253), (227, 254), (227, 255), (227, 256), (227, 257), (227, 258), (227, 259), (227, 260), (227, 261), (227, 262), (227, 263), (227, 264), (227, 265), (227, 266), (227, 267), (227, 268), (227, 269), (227, 270), (227, 271), (227, 272), (227, 273), (227, 274), (227, 275), (227, 276), (227, 277), (227, 278), (227, 279), (227, 280), (227, 281), (227, 282), (227, 283), (227, 284), (227, 285), (227, 286), (227, 287), (227, 288), (227, 289), (227, 290), (227, 291), (227, 292), (227, 293), (227, 294), (227, 295), (227, 296), (227, 297), (227, 298),
(227, 299), (227, 300), (227, 301), (227, 302), (227, 303), (227, 304), (227, 305), (227, 306), (227, 307), (227, 308), (227, 309), (227, 310), (227, 311), (227, 312), (227, 313), (227, 314), (227, 315), (227, 316), (227, 317), (227, 318), (227, 319), (227, 320), (227, 321), (227, 322), (227, 323), (227, 324), (227, 325), (227, 326), (227, 327), (227, 329), (228, 203), (228, 205), (228, 206), (228, 207), (228, 208), (228, 209), (228, 210), (228, 211), (228, 212), (228, 213), (228, 214), (228, 215), (228, 216), (228, 217), (228, 218), (228, 219), (228, 220), (228, 221), (228, 222), (228, 223), (228, 224), (228, 225), (228, 226), (228, 227), (228, 228), (228, 229), (228, 230), (228, 231), (228, 232), (228, 233), (228, 234), (228, 235), (228, 236), (228, 237), (228, 238), (228, 239), (228, 240), (228, 241), (228, 242), (228, 243), (228, 244), (228, 245),
(228, 246), (228, 247), (228, 248), (228, 249), (228, 250), (228, 251), (228, 252), (228, 253), (228, 254), (228, 255), (228, 256), (228, 257), (228, 258), (228, 259), (228, 260), (228, 261), (228, 262), (228, 263), (228, 264), (228, 265), (228, 266), (228, 267), (228, 268), (228, 269), (228, 270), (228, 271), (228, 272), (228, 273), (228, 274), (228, 275), (228, 276), (228, 277), (228, 278), (228, 279), (228, 280), (228, 281), (228, 282), (228, 283), (228, 284), (228, 285), (228, 286), (228, 287), (228, 288), (228, 289), (228, 290), (228, 291), (228, 292), (228, 293), (228, 294), (228, 295), (228, 296), (228, 297), (228, 298), (228, 299), (228, 300), (228, 301), (228, 302), (228, 303), (228, 304), (228, 305), (228, 306), (228, 307), (228, 308), (228, 309), (228, 310), (228, 311), (228, 312), (228, 313), (228, 314), (228, 315), (228, 316), (228, 317),
(228, 318), (228, 319), (228, 320), (228, 321), (228, 322), (228, 323), (228, 324), (228, 325), (228, 326), (228, 327), (228, 329), (229, 203), (229, 205), (229, 206), (229, 207), (229, 208), (229, 209), (229, 210), (229, 211), (229, 212), (229, 213), (229, 214), (229, 215), (229, 216), (229, 217), (229, 218), (229, 219), (229, 220), (229, 221), (229, 222), (229, 223), (229, 224), (229, 225), (229, 226), (229, 227), (229, 228), (229, 229), (229, 230), (229, 231), (229, 232), (229, 233), (229, 234), (229, 235), (229, 236), (229, 237), (229, 238), (229, 239), (229, 240), (229, 241), (229, 242), (229, 243), (229, 244), (229, 245), (229, 246), (229, 247), (229, 248), (229, 249), (229, 250), (229, 251), (229, 252), (229, 253), (229, 254), (229, 255), (229, 256), (229, 257), (229, 258), (229, 259), (229, 260), (229, 261), (229, 262), (229, 263), (229, 264),
(229, 265), (229, 266), (229, 267), (229, 268), (229, 269), (229, 270), (229, 271), (229, 272), (229, 273), (229, 274), (229, 275), (229, 276), (229, 277), (229, 278), (229, 279), (229, 280), (229, 281), (229, 282), (229, 283), (229, 284), (229, 285), (229, 286), (229, 287), (229, 288), (229, 289), (229, 290), (229, 291), (229, 292), (229, 293), (229, 294), (229, 295), (229, 296), (229, 297), (229, 298), (229, 299), (229, 300), (229, 301), (229, 302), (229, 303), (229, 304), (229, 305), (229, 306), (229, 307), (229, 308), (229, 309), (229, 310), (229, 311), (229, 312), (229, 313), (229, 314), (229, 315), (229, 316), (229, 317), (229, 318), (229, 319), (229, 320), (229, 321), (229, 322), (229, 323), (229, 324), (229, 325), (229, 326), (229, 327), (229, 329), (230, 204), (230, 206), (230, 207), (230, 208), (230, 209), (230, 210), (230, 211), (230, 212),
(230, 213), (230, 214), (230, 215), (230, 216), (230, 217), (230, 218), (230, 219), (230, 220), (230, 221), (230, 222), (230, 223), (230, 224), (230, 225), (230, 226), (230, 227), (230, 228), (230, 229), (230, 230), (230, 231), (230, 232), (230, 233), (230, 234), (230, 235), (230, 236), (230, 237), (230, 238), (230, 239), (230, 240), (230, 241), (230, 242), (230, 243), (230, 244), (230, 245), (230, 246), (230, 247), (230, 248), (230, 249), (230, 250), (230, 251), (230, 252), (230, 253), (230, 254), (230, 255), (230, 256), (230, 257), (230, 258), (230, 259), (230, 260), (230, 261), (230, 262), (230, 263), (230, 264), (230, 265), (230, 266), (230, 267), (230, 268), (230, 269), (230, 270), (230, 271), (230, 272), (230, 273), (230, 274), (230, 275), (230, 276), (230, 277), (230, 278), (230, 279), (230, 280), (230, 281), (230, 282), (230, 283), (230, 284),
(230, 285), (230, 286), (230, 287), (230, 288), (230, 289), (230, 290), (230, 291), (230, 292), (230, 293), (230, 294), (230, 295), (230, 296), (230, 297), (230, 298), (230, 299), (230, 300), (230, 301), (230, 302), (230, 303), (230, 304), (230, 305), (230, 306), (230, 307), (230, 308), (230, 309), (230, 310), (230, 311), (230, 312), (230, 313), (230, 314), (230, 315), (230, 316), (230, 317), (230, 318), (230, 319), (230, 320), (230, 321), (230, 322), (230, 323), (230, 324), (230, 325), (230, 326), (230, 327), (230, 329), (231, 204), (231, 206), (231, 207), (231, 208), (231, 209), (231, 210), (231, 211), (231, 212), (231, 213), (231, 214), (231, 215), (231, 216), (231, 217), (231, 218), (231, 219), (231, 220), (231, 221), (231, 222), (231, 223), (231, 224), (231, 225), (231, 226), (231, 227), (231, 228), (231, 229), (231, 230), (231, 231), (231, 232),
(231, 233), (231, 234), (231, 235), (231, 236), (231, 237), (231, 238), (231, 239), (231, 240), (231, 241), (231, 242), (231, 243), (231, 244), (231, 245), (231, 246), (231, 247), (231, 248), (231, 249), (231, 250), (231, 251), (231, 252), (231, 253), (231, 254), (231, 255), (231, 256), (231, 257), (231, 258), (231, 259), (231, 260), (231, 261), (231, 262), (231, 263), (231, 264), (231, 265), (231, 266), (231, 267), (231, 268), (231, 269), (231, 270), (231, 271), (231, 272), (231, 273), (231, 274), (231, 275), (231, 276), (231, 277), (231, 278), (231, 279), (231, 280), (231, 281), (231, 282), (231, 283), (231, 284), (231, 285), (231, 286), (231, 287), (231, 288), (231, 289), (231, 290), (231, 291), (231, 292), (231, 293), (231, 294), (231, 295), (231, 296), (231, 297), (231, 298), (231, 299), (231, 300), (231, 301), (231, 302), (231, 303), (231, 304),
(231, 305), (231, 306), (231, 307), (231, 308), (231, 309), (231, 310), (231, 311), (231, 312), (231, 313), (231, 314), (231, 315), (231, 316), (231, 317), (231, 318), (231, 319), (231, 320), (231, 321), (231, 322), (231, 323), (231, 324), (231, 325), (231, 326), (231, 327), (231, 329), (232, 204), (232, 206), (232, 207), (232, 208), (232, 209), (232, 210), (232, 211), (232, 212), (232, 213), (232, 214), (232, 215), (232, 216), (232, 217), (232, 218), (232, 219), (232, 220), (232, 221), (232, 222), (232, 223), (232, 224), (232, 225), (232, 226), (232, 227), (232, 228), (232, 229), (232, 230), (232, 231), (232, 232), (232, 233), (232, 234), (232, 235), (232, 236), (232, 237), (232, 238), (232, 239), (232, 240), (232, 241), (232, 242), (232, 243), (232, 244), (232, 245), (232, 246), (232, 247), (232, 248), (232, 249), (232, 250), (232, 251), (232, 252),
(232, 253), (232, 254), (232, 255), (232, 256), (232, 257), (232, 258), (232, 259), (232, 260), (232, 261), (232, 262), (232, 263), (232, 264), (232, 265), (232, 266), (232, 267), (232, 268), (232, 269), (232, 270), (232, 271), (232, 272), (232, 273), (232, 274), (232, 275), (232, 276), (232, 277), (232, 278), (232, 279), (232, 280), (232, 281), (232, 282), (232, 283), (232, 284), (232, 285), (232, 286), (232, 287), (232, 288), (232, 289), (232, 290), (232, 291), (232, 292), (232, 293), (232, 294), (232, 295), (232, 296), (232, 297), (232, 298), (232, 299), (232, 300), (232, 301), (232, 302), (232, 303), (232, 304), (232, 305), (232, 306), (232, 307), (232, 308), (232, 309), (232, 310), (232, 311), (232, 312), (232, 313), (232, 314), (232, 315), (232, 316), (232, 317), (232, 318), (232, 319), (232, 320), (232, 321), (232, 322), (232, 323), (232, 324),
(232, 325), (232, 326), (232, 328), (233, 204), (233, 206), (233, 207), (233, 208), (233, 209), (233, 210), (233, 211), (233, 212), (233, 213), (233, 214), (233, 215), (233, 216), (233, 217), (233, 218), (233, 219), (233, 220), (233, 221), (233, 222), (233, 223), (233, 224), (233, 225), (233, 226), (233, 227), (233, 228), (233, 229), (233, 230), (233, 231), (233, 232), (233, 233), (233, 234), (233, 235), (233, 236), (233, 237), (233, 238), (233, 239), (233, 240), (233, 241), (233, 242), (233, 243), (233, 244), (233, 245), (233, 246), (233, 247), (233, 248), (233, 249), (233, 250), (233, 251), (233, 252), (233, 253), (233, 254), (233, 255), (233, 256), (233, 257), (233, 258), (233, 259), (233, 260), (233, 261), (233, 262), (233, 263), (233, 264), (233, 265), (233, 266), (233, 267), (233, 268), (233, 269), (233, 270), (233, 271), (233, 272), (233, 273),
(233, 274), (233, 275), (233, 276), (233, 277), (233, 278), (233, 279), (233, 280), (233, 281), (233, 282), (233, 283), (233, 284), (233, 285), (233, 286), (233, 287), (233, 288), (233, 289), (233, 290), (233, 291), (233, 292), (233, 293), (233, 294), (233, 295), (233, 296), (233, 297), (233, 298), (233, 299), (233, 300), (233, 301), (233, 302), (233, 303), (233, 304), (233, 305), (233, 306), (233, 307), (233, 308), (233, 309), (233, 310), (233, 311), (233, 312), (233, 313), (233, 314), (233, 315), (233, 316), (233, 317), (233, 318), (233, 319), (233, 320), (233, 321), (233, 322), (233, 323), (233, 324), (233, 325), (233, 326), (233, 328), (234, 204), (234, 206), (234, 207), (234, 208), (234, 209), (234, 210), (234, 211), (234, 212), (234, 213), (234, 214), (234, 215), (234, 216), (234, 217), (234, 218), (234, 219), (234, 220), (234, 221), (234, 222),
(234, 223), (234, 224), (234, 225), (234, 226), (234, 227), (234, 228), (234, 229), (234, 230), (234, 231), (234, 232), (234, 233), (234, 234), (234, 235), (234, 236), (234, 237), (234, 238), (234, 239), (234, 240), (234, 241), (234, 242), (234, 243), (234, 244), (234, 245), (234, 246), (234, 247), (234, 248), (234, 249), (234, 250), (234, 251), (234, 252), (234, 253), (234, 254), (234, 255), (234, 256), (234, 257), (234, 258), (234, 259), (234, 260), (234, 261), (234, 262), (234, 263), (234, 264), (234, 265), (234, 266), (234, 267), (234, 268), (234, 269), (234, 270), (234, 271), (234, 272), (234, 273), (234, 274), (234, 275), (234, 276), (234, 277), (234, 278), (234, 279), (234, 280), (234, 281), (234, 282), (234, 283), (234, 284), (234, 285), (234, 286), (234, 287), (234, 288), (234, 289), (234, 290), (234, 291), (234, 292), (234, 293), (234, 294),
(234, 295), (234, 296), (234, 297), (234, 298), (234, 299), (234, 300), (234, 301), (234, 302), (234, 303), (234, 304), (234, 305), (234, 306), (234, 307), (234, 308), (234, 309), (234, 310), (234, 311), (234, 312), (234, 313), (234, 314), (234, 315), (234, 316), (234, 317), (234, 318), (234, 319), (234, 320), (234, 321), (234, 322), (234, 323), (234, 324), (234, 325), (234, 326), (234, 328), (235, 204), (235, 206), (235, 207), (235, 208), (235, 209), (235, 210), (235, 211), (235, 212), (235, 213), (235, 214), (235, 215), (235, 216), (235, 217), (235, 218), (235, 219), (235, 220), (235, 221), (235, 222), (235, 223), (235, 224), (235, 225), (235, 226), (235, 227), (235, 228), (235, 229), (235, 230), (235, 231), (235, 232), (235, 233), (235, 234), (235, 235), (235, 236), (235, 237), (235, 238), (235, 239), (235, 240), (235, 241), (235, 242), (235, 243),
(235, 244), (235, 245), (235, 246), (235, 247), (235, 248), (235, 249), (235, 250), (235, 251), (235, 252), (235, 253), (235, 254), (235, 255), (235, 256), (235, 257), (235, 258), (235, 259), (235, 260), (235, 261), (235, 262), (235, 263), (235, 264), (235, 265), (235, 266), (235, 267), (235, 268), (235, 269), (235, 270), (235, 271), (235, 272), (235, 273), (235, 274), (235, 275), (235, 276), (235, 277), (235, 278), (235, 279), (235, 280), (235, 281), (235, 282), (235, 283), (235, 284), (235, 285), (235, 286), (235, 287), (235, 288), (235, 289), (235, 290), (235, 291), (235, 292), (235, 293), (235, 294), (235, 295), (235, 296), (235, 297), (235, 298), (235, 299), (235, 300), (235, 301), (235, 302), (235, 303), (235, 304), (235, 305), (235, 306), (235, 307), (235, 308), (235, 309), (235, 310), (235, 311), (235, 312), (235, 313), (235, 314), (235, 315),
(235, 316), (235, 317), (235, 318), (235, 319), (235, 320), (235, 321), (235, 322), (235, 323), (235, 324), (235, 325), (235, 327), (236, 204), (236, 206), (236, 207), (236, 208), (236, 209), (236, 210), (236, 211), (236, 212), (236, 213), (236, 214), (236, 215), (236, 216), (236, 217), (236, 218), (236, 219), (236, 220), (236, 221), (236, 222), (236, 223), (236, 224), (236, 225), (236, 226), (236, 227), (236, 228), (236, 229), (236, 230), (236, 231), (236, 232), (236, 233), (236, 234), (236, 235), (236, 236), (236, 237), (236, 238), (236, 239), (236, 240), (236, 241), (236, 242), (236, 243), (236, 244), (236, 245), (236, 246), (236, 247), (236, 248), (236, 249), (236, 250), (236, 251), (236, 252), (236, 253), (236, 254), (236, 255), (236, 256), (236, 257), (236, 258), (236, 259), (236, 260), (236, 261), (236, 262), (236, 263), (236, 264), (236, 265),
(236, 266), (236, 267), (236, 268), (236, 269), (236, 270), (236, 271), (236, 272), (236, 273), (236, 274), (236, 275), (236, 276), (236, 277), (236, 278), (236, 279), (236, 280), (236, 281), (236, 282), (236, 283), (236, 284), (236, 285), (236, 286), (236, 287), (236, 288), (236, 289), (236, 290), (236, 291), (236, 292), (236, 293), (236, 294), (236, 295), (236, 296), (236, 297), (236, 298), (236, 299), (236, 300), (236, 301), (236, 302), (236, 303), (236, 304), (236, 305), (236, 306), (236, 307), (236, 308), (236, 309), (236, 310), (236, 311), (236, 312), (236, 313), (236, 314), (236, 315), (236, 316), (236, 317), (236, 318), (236, 319), (236, 320), (236, 321), (236, 322), (236, 323), (236, 324), (236, 325), (236, 327), (237, 204), (237, 206), (237, 207), (237, 208), (237, 209), (237, 210), (237, 211), (237, 212), (237, 213), (237, 214), (237, 215),
(237, 216), (237, 217), (237, 218), (237, 219), (237, 220), (237, 221), (237, 222), (237, 223), (237, 224), (237, 225), (237, 226), (237, 227), (237, 228), (237, 229), (237, 230), (237, 231), (237, 232), (237, 233), (237, 234), (237, 235), (237, 236), (237, 237), (237, 238), (237, 239), (237, 240), (237, 241), (237, 242), (237, 243), (237, 244), (237, 245), (237, 246), (237, 247), (237, 248), (237, 249), (237, 250), (237, 251), (237, 252), (237, 253), (237, 254), (237, 255), (237, 256), (237, 257), (237, 258), (237, 259), (237, 260), (237, 261), (237, 262), (237, 263), (237, 264), (237, 265), (237, 266), (237, 267), (237, 268), (237, 269), (237, 270), (237, 271), (237, 272), (237, 273), (237, 274), (237, 275), (237, 276), (237, 277), (237, 278), (237, 279), (237, 280), (237, 281), (237, 282), (237, 283), (237, 284), (237, 285), (237, 286), (237, 287),
(237, 288), (237, 289), (237, 290), (237, 291), (237, 292), (237, 293), (237, 294), (237, 295), (237, 296), (237, 297), (237, 298), (237, 299), (237, 300), (237, 301), (237, 302), (237, 303), (237, 304), (237, 305), (237, 306), (237, 307), (237, 308), (237, 309), (237, 310), (237, 311), (237, 312), (237, 313), (237, 314), (237, 315), (237, 316), (237, 317), (237, 318), (237, 319), (237, 320), (237, 321), (237, 322), (237, 323), (237, 324), (237, 325), (237, 327), (238, 204), (238, 211), (238, 212), (238, 213), (238, 214), (238, 215), (238, 216), (238, 217), (238, 218), (238, 219), (238, 220), (238, 221), (238, 222), (238, 223), (238, 224), (238, 225), (238, 226), (238, 227), (238, 228), (238, 229), (238, 230), (238, 231), (238, 232), (238, 233), (238, 234), (238, 235), (238, 236), (238, 237), (238, 238), (238, 239), (238, 240), (238, 241), (238, 242),
(238, 243), (238, 244), (238, 245), (238, 246), (238, 247), (238, 248), (238, 249), (238, 250), (238, 251), (238, 252), (238, 253), (238, 254), (238, 255), (238, 256), (238, 257), (238, 258), (238, 259), (238, 260), (238, 261), (238, 262), (238, 263), (238, 264), (238, 265), (238, 266), (238, 267), (238, 268), (238, 269), (238, 270), (238, 271), (238, 272), (238, 273), (238, 274), (238, 275), (238, 276), (238, 277), (238, 278), (238, 279), (238, 280), (238, 281), (238, 282), (238, 283), (238, 284), (238, 285), (238, 286), (238, 287), (238, 288), (238, 289), (238, 290), (238, 291), (238, 292), (238, 293), (238, 294), (238, 295), (238, 296), (238, 297), (238, 298), (238, 299), (238, 300), (238, 301), (238, 302), (238, 303), (238, 304), (238, 305), (238, 306), (238, 307), (238, 308), (238, 309), (238, 310), (238, 311), (238, 312), (238, 313), (238, 314),
(238, 315), (238, 316), (238, 317), (238, 318), (238, 319), (238, 320), (238, 321), (238, 322), (238, 323), (238, 324), (238, 326), (239, 204), (239, 207), (239, 208), (239, 209), (239, 212), (239, 213), (239, 214), (239, 215), (239, 216), (239, 217), (239, 218), (239, 219), (239, 220), (239, 221), (239, 222), (239, 223), (239, 224), (239, 225), (239, 226), (239, 227), (239, 228), (239, 229), (239, 230), (239, 231), (239, 232), (239, 233), (239, 234), (239, 235), (239, 236), (239, 237), (239, 238), (239, 239), (239, 240), (239, 241), (239, 242), (239, 243), (239, 244), (239, 245), (239, 246), (239, 247), (239, 248), (239, 249), (239, 250), (239, 251), (239, 252), (239, 253), (239, 254), (239, 255), (239, 256), (239, 257), (239, 258), (239, 259), (239, 260), (239, 261), (239, 262), (239, 263), (239, 264), (239, 265), (239, 266), (239, 267), (239, 268),
(239, 269), (239, 270), (239, 271), (239, 272), (239, 273), (239, 274), (239, 275), (239, 276), (239, 277), (239, 278), (239, 279), (239, 280), (239, 281), (239, 282), (239, 283), (239, 284), (239, 285), (239, 286), (239, 287), (239, 288), (239, 289), (239, 290), (239, 291), (239, 292), (239, 293), (239, 294), (239, 295), (239, 296), (239, 297), (239, 298), (239, 299), (239, 300), (239, 301), (239, 302), (239, 303), (239, 304), (239, 305), (239, 306), (239, 307), (239, 308), (239, 309), (239, 310), (239, 311), (239, 312), (239, 313), (239, 314), (239, 315), (239, 316), (239, 317), (239, 318), (239, 319), (239, 320), (239, 321), (239, 322), (239, 323), (239, 324), (239, 326), (240, 204), (240, 205), (240, 211), (240, 213), (240, 214), (240, 215), (240, 217), (240, 218), (240, 219), (240, 220), (240, 221), (240, 222), (240, 223), (240, 224), (240, 225),
(240, 226), (240, 227), (240, 228), (240, 229), (240, 230), (240, 231), (240, 232), (240, 233), (240, 234), (240, 235), (240, 236), (240, 237), (240, 238), (240, 239), (240, 240), (240, 241), (240, 242), (240, 243), (240, 244), (240, 245), (240, 246), (240, 247), (240, 248), (240, 249), (240, 250), (240, 251), (240, 252), (240, 253), (240, 254), (240, 255), (240, 256), (240, 257), (240, 258), (240, 259), (240, 260), (240, 261), (240, 262), (240, 263), (240, 264), (240, 265), (240, 266), (240, 267), (240, 268), (240, 269), (240, 270), (240, 271), (240, 272), (240, 273), (240, 274), (240, 275), (240, 276), (240, 277), (240, 278), (240, 279), (240, 280), (240, 281), (240, 282), (240, 283), (240, 284), (240, 285), (240, 286), (240, 287), (240, 288), (240, 289), (240, 290), (240, 291), (240, 292), (240, 293), (240, 294), (240, 295), (240, 296), (240, 297),
(240, 298), (240, 299), (240, 300), (240, 301), (240, 302), (240, 303), (240, 304), (240, 305), (240, 306), (240, 307), (240, 308), (240, 309), (240, 310), (240, 311), (240, 312), (240, 313), (240, 314), (240, 315), (240, 316), (240, 317), (240, 318), (240, 319), (240, 320), (240, 321), (240, 322), (240, 323), (240, 325), (241, 204), (241, 212), (241, 216), (241, 219), (241, 220), (241, 221), (241, 222), (241, 223), (241, 224), (241, 225), (241, 226), (241, 227), (241, 228), (241, 229), (241, 230), (241, 231), (241, 232), (241, 233), (241, 234), (241, 235), (241, 236), (241, 237), (241, 238), (241, 239), (241, 240), (241, 241), (241, 242), (241, 243), (241, 244), (241, 245), (241, 246), (241, 247), (241, 248), (241, 249), (241, 250), (241, 251), (241, 252), (241, 253), (241, 254), (241, 255), (241, 256), (241, 257), (241, 258), (241, 259), (241, 260),
(241, 261), (241, 262), (241, 263), (241, 264), (241, 265), (241, 266), (241, 267), (241, 268), (241, 269), (241, 270), (241, 271), (241, 272), (241, 273), (241, 274), (241, 275), (241, 276), (241, 277), (241, 278), (241, 279), (241, 280), (241, 281), (241, 282), (241, 283), (241, 284), (241, 285), (241, 286), (241, 287), (241, 288), (241, 289), (241, 290), (241, 291), (241, 292), (241, 293), (241, 294), (241, 295), (241, 296), (241, 297), (241, 298), (241, 299), (241, 300), (241, 301), (241, 302), (241, 303), (241, 304), (241, 305), (241, 306), (241, 307), (241, 308), (241, 309), (241, 310), (241, 311), (241, 312), (241, 313), (241, 314), (241, 315), (241, 316), (241, 317), (241, 318), (241, 319), (241, 320), (241, 321), (241, 322), (241, 323), (241, 325), (242, 204), (242, 213), (242, 218), (242, 220), (242, 221), (242, 222), (242, 223), (242, 224),
(242, 225), (242, 226), (242, 227), (242, 228), (242, 229), (242, 230), (242, 231), (242, 232), (242, 233), (242, 234), (242, 235), (242, 236), (242, 237), (242, 238), (242, 239), (242, 240), (242, 241), (242, 242), (242, 243), (242, 244), (242, 245), (242, 246), (242, 247), (242, 248), (242, 249), (242, 250), (242, 251), (242, 252), (242, 253), (242, 254), (242, 255), (242, 256), (242, 257), (242, 258), (242, 259), (242, 260), (242, 261), (242, 262), (242, 263), (242, 264), (242, 265), (242, 266), (242, 267), (242, 268), (242, 269), (242, 270), (242, 271), (242, 272), (242, 273), (242, 274), (242, 275), (242, 276), (242, 277), (242, 278), (242, 279), (242, 280), (242, 281), (242, 282), (242, 283), (242, 284), (242, 285), (242, 286), (242, 287), (242, 288), (242, 289), (242, 290), (242, 291), (242, 292), (242, 293), (242, 294), (242, 295), (242, 296),
(242, 297), (242, 298), (242, 299), (242, 300), (242, 301), (242, 302), (242, 303), (242, 304), (242, 305), (242, 306), (242, 307), (242, 308), (242, 309), (242, 310), (242, 311), (242, 312), (242, 313), (242, 314), (242, 315), (242, 316), (242, 317), (242, 318), (242, 319), (242, 320), (242, 321), (242, 322), (242, 323), (242, 325), (243, 204), (243, 219), (243, 221), (243, 222), (243, 223), (243, 224), (243, 225), (243, 226), (243, 227), (243, 228), (243, 229), (243, 230), (243, 231), (243, 232), (243, 233), (243, 234), (243, 235), (243, 236), (243, 237), (243, 238), (243, 239), (243, 240), (243, 241), (243, 242), (243, 243), (243, 244), (243, 245), (243, 246), (243, 247), (243, 248), (243, 249), (243, 250), (243, 251), (243, 252), (243, 253), (243, 254), (243, 255), (243, 256), (243, 257), (243, 258), (243, 259), (243, 260), (243, 261), (243, 262),
(243, 263), (243, 264), (243, 265), (243, 266), (243, 267), (243, 268), (243, 269), (243, 270), (243, 271), (243, 272), (243, 273), (243, 274), (243, 275), (243, 276), (243, 277), (243, 278), (243, 279), (243, 280), (243, 281), (243, 282), (243, 283), (243, 284), (243, 285), (243, 286), (243, 287), (243, 288), (243, 289), (243, 290), (243, 291), (243, 292), (243, 293), (243, 294), (243, 295), (243, 296), (243, 297), (243, 298), (243, 299), (243, 300), (243, 301), (243, 302), (243, 303), (243, 304), (243, 305), (243, 306), (243, 307), (243, 308), (243, 309), (243, 310), (243, 311), (243, 312), (243, 313), (243, 314), (243, 315), (243, 316), (243, 317), (243, 318), (243, 319), (243, 320), (243, 321), (243, 322), (243, 324), (244, 204), (244, 220), (244, 222), (244, 223), (244, 224), (244, 225), (244, 226), (244, 227), (244, 228), (244, 229), (244, 230),
(244, 231), (244, 232), (244, 233), (244, 234), (244, 235), (244, 236), (244, 237), (244, 238), (244, 239), (244, 240), (244, 241), (244, 242), (244, 243), (244, 244), (244, 245), (244, 246), (244, 247), (244, 248), (244, 249), (244, 250), (244, 251), (244, 252), (244, 253), (244, 254), (244, 255), (244, 256), (244, 257), (244, 258), (244, 259), (244, 260), (244, 261), (244, 262), (244, 263), (244, 264), (244, 265), (244, 266), (244, 267), (244, 268), (244, 269), (244, 270), (244, 271), (244, 272), (244, 273), (244, 274), (244, 275), (244, 276), (244, 277), (244, 278), (244, 279), (244, 280), (244, 281), (244, 282), (244, 283), (244, 284), (244, 285), (244, 286), (244, 287), (244, 288), (244, 289), (244, 290), (244, 291), (244, 292), (244, 293), (244, 294), (244, 295), (244, 296), (244, 297), (244, 298), (244, 299), (244, 300), (244, 301), (244, 302),
(244, 303), (244, 304), (244, 305), (244, 306), (244, 307), (244, 308), (244, 309), (244, 310), (244, 311), (244, 312), (244, 313), (244, 314), (244, 315), (244, 316), (244, 317), (244, 318), (244, 319), (244, 320), (244, 321), (244, 322), (244, 324), (245, 220), (245, 222), (245, 223), (245, 224), (245, 225), (245, 226), (245, 227), (245, 228), (245, 229), (245, 230), (245, 231), (245, 232), (245, 233), (245, 234), (245, 235), (245, 236), (245, 237), (245, 238), (245, 239), (245, 240), (245, 241), (245, 242), (245, 243), (245, 244), (245, 245), (245, 246), (245, 247), (245, 248), (245, 249), (245, 250), (245, 251), (245, 252), (245, 253), (245, 254), (245, 255), (245, 256), (245, 257), (245, 258), (245, 259), (245, 260), (245, 261), (245, 262), (245, 263), (245, 264), (245, 265), (245, 266), (245, 267), (245, 268), (245, 269), (245, 270), (245, 271),
(245, 272), (245, 273), (245, 274), (245, 275), (245, 276), (245, 277), (245, 278), (245, 279), (245, 280), (245, 281), (245, 282), (245, 283), (245, 284), (245, 285), (245, 286), (245, 287), (245, 288), (245, 289), (245, 290), (245, 291), (245, 292), (245, 293), (245, 294), (245, 295), (245, 296), (245, 297), (245, 298), (245, 299), (245, 300), (245, 301), (245, 302), (245, 303), (245, 304), (245, 305), (245, 306), (245, 307), (245, 308), (245, 309), (245, 310), (245, 311), (245, 312), (245, 313), (245, 314), (245, 315), (245, 316), (245, 317), (245, 318), (245, 319), (245, 320), (245, 321), (245, 323), (246, 220), (246, 222), (246, 223), (246, 224), (246, 225), (246, 226), (246, 227), (246, 228), (246, 229), (246, 230), (246, 231), (246, 232), (246, 233), (246, 234), (246, 235), (246, 236), (246, 237), (246, 238), (246, 239), (246, 240), (246, 241),
(246, 242), (246, 243), (246, 244), (246, 245), (246, 246), (246, 247), (246, 248), (246, 249), (246, 250), (246, 251), (246, 252), (246, 253), (246, 254), (246, 255), (246, 256), (246, 257), (246, 258), (246, 259), (246, 260), (246, 261), (246, 262), (246, 263), (246, 264), (246, 265), (246, 266), (246, 267), (246, 268), (246, 269), (246, 270), (246, 271), (246, 272), (246, 273), (246, 274), (246, 275), (246, 276), (246, 277), (246, 278), (246, 279), (246, 280), (246, 281), (246, 282), (246, 283), (246, 284), (246, 285), (246, 286), (246, 287), (246, 288), (246, 289), (246, 290), (246, 291), (246, 292), (246, 293), (246, 294), (246, 295), (246, 296), (246, 297), (246, 298), (246, 299), (246, 300), (246, 301), (246, 302), (246, 303), (246, 304), (246, 305), (246, 306), (246, 307), (246, 308), (246, 309), (246, 310), (246, 311), (246, 312), (246, 313),
(246, 314), (246, 315), (246, 316), (246, 317), (246, 318), (246, 319), (246, 320), (246, 321), (246, 323), (247, 220), (247, 222), (247, 223), (247, 224), (247, 225), (247, 226), (247, 227), (247, 228), (247, 229), (247, 230), (247, 231), (247, 232), (247, 233), (247, 234), (247, 235), (247, 236), (247, 237), (247, 238), (247, 239), (247, 240), (247, 241), (247, 242), (247, 243), (247, 244), (247, 245), (247, 246), (247, 247), (247, 248), (247, 249), (247, 250), (247, 251), (247, 252), (247, 253), (247, 254), (247, 255), (247, 256), (247, 257), (247, 258), (247, 259), (247, 260), (247, 261), (247, 262), (247, 263), (247, 264), (247, 265), (247, 266), (247, 267), (247, 268), (247, 269), (247, 270), (247, 271), (247, 272), (247, 273), (247, 274), (247, 275), (247, 276), (247, 277), (247, 278), (247, 279), (247, 280), (247, 281), (247, 282), (247, 283),
(247, 284), (247, 285), (247, 286), (247, 287), (247, 288), (247, 289), (247, 290), (247, 291), (247, 292), (247, 293), (247, 294), (247, 295), (247, 296), (247, 297), (247, 298), (247, 299), (247, 300), (247, 301), (247, 302), (247, 303), (247, 304), (247, 305), (247, 306), (247, 307), (247, 308), (247, 309), (247, 310), (247, 311), (247, 312), (247, 313), (247, 314), (247, 315), (247, 316), (247, 317), (247, 318), (247, 319), (247, 320), (247, 321), (247, 323), (248, 219), (248, 221), (248, 222), (248, 223), (248, 224), (248, 225), (248, 226), (248, 227), (248, 228), (248, 229), (248, 230), (248, 231), (248, 232), (248, 233), (248, 234), (248, 235), (248, 236), (248, 237), (248, 238), (248, 239), (248, 240), (248, 241), (248, 242), (248, 243), (248, 244), (248, 245), (248, 246), (248, 247), (248, 248), (248, 249), (248, 250), (248, 251), (248, 252),
(248, 253), (248, 254), (248, 255), (248, 256), (248, 257), (248, 258), (248, 259), (248, 260), (248, 261), (248, 262), (248, 263), (248, 264), (248, 265), (248, 266), (248, 267), (248, 268), (248, 269), (248, 270), (248, 271), (248, 272), (248, 273), (248, 274), (248, 275), (248, 276), (248, 277), (248, 278), (248, 279), (248, 280), (248, 281), (248, 282), (248, 283), (248, 284), (248, 285), (248, 286), (248, 287), (248, 288), (248, 289), (248, 290), (248, 291), (248, 292), (248, 293), (248, 294), (248, 295), (248, 296), (248, 297), (248, 298), (248, 299), (248, 300), (248, 301), (248, 302), (248, 303), (248, 304), (248, 305), (248, 306), (248, 307), (248, 308), (248, 309), (248, 310), (248, 311), (248, 312), (248, 313), (248, 314), (248, 315), (248, 316), (248, 317), (248, 318), (248, 319), (248, 320), (248, 322), (249, 219), (249, 221), (249, 222),
(249, 223), (249, 224), (249, 225), (249, 226), (249, 227), (249, 228), (249, 229), (249, 230), (249, 231), (249, 232), (249, 233), (249, 234), (249, 235), (249, 236), (249, 237), (249, 238), (249, 239), (249, 240), (249, 241), (249, 242), (249, 243), (249, 244), (249, 245), (249, 246), (249, 247), (249, 248), (249, 249), (249, 250), (249, 251), (249, 252), (249, 253), (249, 254), (249, 255), (249, 256), (249, 257), (249, 258), (249, 259), (249, 260), (249, 261), (249, 262), (249, 263), (249, 264), (249, 265), (249, 266), (249, 267), (249, 268), (249, 269), (249, 270), (249, 271), (249, 272), (249, 273), (249, 274), (249, 275), (249, 276), (249, 277), (249, 278), (249, 279), (249, 280), (249, 281), (249, 282), (249, 283), (249, 284), (249, 285), (249, 286), (249, 287), (249, 288), (249, 289), (249, 290), (249, 291), (249, 292), (249, 293), (249, 294),
(249, 295), (249, 296), (249, 297), (249, 298), (249, 299), (249, 300), (249, 301), (249, 302), (249, 303), (249, 304), (249, 305), (249, 306), (249, 307), (249, 308), (249, 309), (249, 310), (249, 311), (249, 312), (249, 313), (249, 314), (249, 315), (249, 316), (249, 317), (249, 318), (249, 319), (249, 320), (249, 322), (250, 219), (250, 221), (250, 222), (250, 223), (250, 224), (250, 225), (250, 226), (250, 227), (250, 228), (250, 229), (250, 230), (250, 231), (250, 232), (250, 233), (250, 234), (250, 235), (250, 236), (250, 237), (250, 238), (250, 239), (250, 240), (250, 241), (250, 242), (250, 243), (250, 244), (250, 245), (250, 246), (250, 247), (250, 248), (250, 249), (250, 250), (250, 251), (250, 252), (250, 253), (250, 254), (250, 255), (250, 256), (250, 257), (250, 258), (250, 259), (250, 260), (250, 261), (250, 262), (250, 263), (250, 264),
(250, 265), (250, 266), (250, 267), (250, 268), (250, 269), (250, 270), (250, 271), (250, 272), (250, 273), (250, 274), (250, 275), (250, 276), (250, 277), (250, 278), (250, 279), (250, 280), (250, 281), (250, 282), (250, 283), (250, 284), (250, 285), (250, 286), (250, 287), (250, 288), (250, 289), (250, 290), (250, 291), (250, 292), (250, 293), (250, 294), (250, 295), (250, 296), (250, 297), (250, 298), (250, 299), (250, 300), (250, 301), (250, 302), (250, 303), (250, 304), (250, 305), (250, 306), (250, 307), (250, 308), (250, 309), (250, 310), (250, 311), (250, 312), (250, 313), (250, 314), (250, 315), (250, 316), (250, 317), (250, 318), (250, 319), (250, 320), (250, 322), (251, 218), (251, 220), (251, 221), (251, 222), (251, 223), (251, 224), (251, 225), (251, 226), (251, 227), (251, 228), (251, 229), (251, 230), (251, 231), (251, 232), (251, 233),
(251, 234), (251, 235), (251, 236), (251, 237), (251, 238), (251, 239), (251, 240), (251, 241), (251, 242), (251, 243), (251, 244), (251, 245), (251, 246), (251, 247), (251, 248), (251, 249), (251, 250), (251, 251), (251, 252), (251, 253), (251, 254), (251, 255), (251, 256), (251, 257), (251, 258), (251, 259), (251, 260), (251, 261), (251, 262), (251, 263), (251, 264), (251, 265), (251, 266), (251, 267), (251, 268), (251, 269), (251, 270), (251, 271), (251, 272), (251, 273), (251, 274), (251, 275), (251, 276), (251, 277), (251, 278), (251, 279), (251, 280), (251, 281), (251, 282), (251, 283), (251, 284), (251, 285), (251, 286), (251, 287), (251, 288), (251, 289), (251, 290), (251, 291), (251, 292), (251, 293), (251, 294), (251, 295), (251, 296), (251, 297), (251, 298), (251, 299), (251, 300), (251, 301), (251, 302), (251, 303), (251, 304), (251, 305),
(251, 306), (251, 307), (251, 308), (251, 309), (251, 310), (251, 311), (251, 312), (251, 313), (251, 314), (251, 315), (251, 316), (251, 317), (251, 318), (251, 319), (251, 320), (251, 322), (252, 218), (252, 220), (252, 221), (252, 222), (252, 223), (252, 224), (252, 225), (252, 226), (252, 227), (252, 228), (252, 229), (252, 230), (252, 231), (252, 232), (252, 233), (252, 234), (252, 235), (252, 236), (252, 237), (252, 238), (252, 239), (252, 240), (252, 241), (252, 242), (252, 243), (252, 244), (252, 245), (252, 246), (252, 247), (252, 248), (252, 249), (252, 250), (252, 251), (252, 252), (252, 253), (252, 254), (252, 255), (252, 256), (252, 257), (252, 258), (252, 259), (252, 260), (252, 261), (252, 262), (252, 263), (252, 264), (252, 265), (252, 266), (252, 267), (252, 268), (252, 269), (252, 270), (252, 271), (252, 272), (252, 273), (252, 274),
(252, 275), (252, 276), (252, 277), (252, 278), (252, 279), (252, 280), (252, 281), (252, 282), (252, 283), (252, 284), (252, 285), (252, 286), (252, 287), (252, 288), (252, 289), (252, 290), (252, 291), (252, 292), (252, 293), (252, 294), (252, 295), (252, 296), (252, 297), (252, 298), (252, 299), (252, 300), (252, 301), (252, 302), (252, 303), (252, 304), (252, 305), (252, 306), (252, 307), (252, 308), (252, 309), (252, 310), (252, 311), (252, 312), (252, 313), (252, 314), (252, 315), (252, 316), (252, 317), (252, 318), (252, 319), (252, 320), (252, 322), (253, 217), (253, 219), (253, 220), (253, 221), (253, 222), (253, 223), (253, 224), (253, 225), (253, 226), (253, 227), (253, 228), (253, 229), (253, 230), (253, 231), (253, 232), (253, 233), (253, 234), (253, 235), (253, 236), (253, 237), (253, 238), (253, 239), (253, 240), (253, 241), (253, 242),
(253, 243), (253, 244), (253, 245), (253, 246), (253, 247), (253, 248), (253, 249), (253, 250), (253, 251), (253, 252), (253, 253), (253, 254), (253, 255), (253, 256), (253, 257), (253, 258), (253, 259), (253, 260), (253, 261), (253, 262), (253, 263), (253, 264), (253, 265), (253, 266), (253, 267), (253, 268), (253, 269), (253, 270), (253, 271), (253, 272), (253, 273), (253, 274), (253, 275), (253, 276), (253, 277), (253, 278), (253, 279), (253, 280), (253, 281), (253, 282), (253, 283), (253, 284), (253, 285), (253, 286), (253, 287), (253, 288), (253, 289), (253, 290), (253, 291), (253, 292), (253, 293), (253, 294), (253, 295), (253, 296), (253, 297), (253, 298), (253, 299), (253, 300), (253, 301), (253, 302), (253, 303), (253, 304), (253, 305), (253, 306), (253, 307), (253, 308), (253, 309), (253, 310), (253, 311), (253, 312), (253, 313), (253, 314),
(253, 315), (253, 316), (253, 317), (253, 318), (253, 319), (253, 320), (253, 322), (254, 216), (254, 218), (254, 219), (254, 220), (254, 221), (254, 222), (254, 223), (254, 224), (254, 225), (254, 226), (254, 227), (254, 228), (254, 229), (254, 230), (254, 231), (254, 232), (254, 233), (254, 234), (254, 235), (254, 236), (254, 237), (254, 238), (254, 239), (254, 240), (254, 241), (254, 242), (254, 243), (254, 244), (254, 245), (254, 246), (254, 247), (254, 248), (254, 249), (254, 250), (254, 251), (254, 252), (254, 253), (254, 254), (254, 255), (254, 256), (254, 257), (254, 258), (254, 259), (254, 260), (254, 261), (254, 262), (254, 263), (254, 264), (254, 265), (254, 266), (254, 267), (254, 268), (254, 269), (254, 270), (254, 271), (254, 272), (254, 273), (254, 274), (254, 275), (254, 276), (254, 277), (254, 278), (254, 279), (254, 280), (254, 281),
(254, 282), (254, 283), (254, 284), (254, 285), (254, 286), (254, 287), (254, 288), (254, 289), (254, 290), (254, 291), (254, 292), (254, 293), (254, 294), (254, 295), (254, 296), (254, 297), (254, 298), (254, 299), (254, 300), (254, 301), (254, 302), (254, 303), (254, 304), (254, 305), (254, 306), (254, 307), (254, 308), (254, 309), (254, 310), (254, 311), (254, 312), (254, 313), (254, 314), (254, 315), (254, 316), (254, 317), (254, 318), (254, 319), (254, 320), (254, 322), (255, 216), (255, 218), (255, 219), (255, 220), (255, 221), (255, 222), (255, 223), (255, 224), (255, 225), (255, 226), (255, 227), (255, 228), (255, 229), (255, 230), (255, 231), (255, 232), (255, 233), (255, 234), (255, 235), (255, 236), (255, 237), (255, 238), (255, 239), (255, 240), (255, 241), (255, 242), (255, 243), (255, 244), (255, 245), (255, 246), (255, 247), (255, 248),
(255, 249), (255, 250), (255, 251), (255, 252), (255, 253), (255, 254), (255, 255), (255, 256), (255, 257), (255, 258), (255, 259), (255, 260), (255, 261), (255, 262), (255, 263), (255, 264), (255, 265), (255, 266), (255, 267), (255, 268), (255, 269), (255, 270), (255, 271), (255, 272), (255, 273), (255, 274), (255, 275), (255, 276), (255, 277), (255, 278), (255, 279), (255, 280), (255, 281), (255, 282), (255, 283), (255, 284), (255, 285), (255, 286), (255, 287), (255, 288), (255, 289), (255, 290), (255, 291), (255, 292), (255, 293), (255, 294), (255, 295), (255, 296), (255, 297), (255, 298), (255, 299), (255, 300), (255, 301), (255, 302), (255, 303), (255, 304), (255, 305), (255, 306), (255, 307), (255, 308), (255, 309), (255, 310), (255, 311), (255, 312), (255, 313), (255, 314), (255, 315), (255, 316), (255, 317), (255, 318), (255, 319), (255, 320),
(255, 322), (256, 204), (256, 206), (256, 207), (256, 208), (256, 209), (256, 210), (256, 211), (256, 215), (256, 217), (256, 218), (256, 219), (256, 220), (256, 221), (256, 222), (256, 223), (256, 224), (256, 225), (256, 226), (256, 227), (256, 228), (256, 229), (256, 230), (256, 231), (256, 232), (256, 233), (256, 234), (256, 235), (256, 236), (256, 237), (256, 238), (256, 239), (256, 240), (256, 241), (256, 242), (256, 243), (256, 244), (256, 245), (256, 246), (256, 247), (256, 248), (256, 249), (256, 250), (256, 251), (256, 252), (256, 253), (256, 254), (256, 255), (256, 256), (256, 257), (256, 258), (256, 259), (256, 260), (256, 261), (256, 262), (256, 263), (256, 264), (256, 265), (256, 266), (256, 267), (256, 268), (256, 269), (256, 270), (256, 271), (256, 272), (256, 273), (256, 274), (256, 275), (256, 276), (256, 277), (256, 278), (256, 279),
(256, 280), (256, 281), (256, 282), (256, 283), (256, 284), (256, 285), (256, 286), (256, 287), (256, 288), (256, 289), (256, 290), (256, 291), (256, 292), (256, 293), (256, 294), (256, 295), (256, 296), (256, 297), (256, 298), (256, 299), (256, 300), (256, 301), (256, 302), (256, 303), (256, 304), (256, 305), (256, 306), (256, 307), (256, 308), (256, 309), (256, 310), (256, 311), (256, 312), (256, 313), (256, 314), (256, 315), (256, 316), (256, 317), (256, 318), (256, 319), (256, 320), (256, 321), (256, 323), (257, 204), (257, 212), (257, 213), (257, 216), (257, 217), (257, 218), (257, 219), (257, 220), (257, 221), (257, 222), (257, 223), (257, 224), (257, 225), (257, 226), (257, 227), (257, 228), (257, 229), (257, 230), (257, 231), (257, 232), (257, 233), (257, 234), (257, 235), (257, 236), (257, 237), (257, 238), (257, 239), (257, 240), (257, 241),
(257, 242), (257, 243), (257, 244), (257, 245), (257, 246), (257, 247), (257, 248), (257, 249), (257, 250), (257, 251), (257, 252), (257, 253), (257, 254), (257, 255), (257, 256), (257, 257), (257, 258), (257, 259), (257, 260), (257, 261), (257, 262), (257, 263), (257, 264), (257, 265), (257, 266), (257, 267), (257, 268), (257, 269), (257, 270), (257, 271), (257, 272), (257, 273), (257, 274), (257, 275), (257, 276), (257, 277), (257, 278), (257, 279), (257, 280), (257, 281), (257, 282), (257, 283), (257, 284), (257, 285), (257, 286), (257, 287), (257, 288), (257, 289), (257, 290), (257, 291), (257, 292), (257, 293), (257, 294), (257, 295), (257, 296), (257, 297), (257, 298), (257, 299), (257, 300), (257, 301), (257, 302), (257, 303), (257, 304), (257, 305), (257, 306), (257, 307), (257, 308), (257, 309), (257, 310), (257, 311), (257, 312), (257, 313),
(257, 314), (257, 315), (257, 316), (257, 317), (257, 318), (257, 319), (257, 320), (257, 321), (257, 323), (258, 204), (258, 206), (258, 207), (258, 208), (258, 209), (258, 210), (258, 211), (258, 215), (258, 216), (258, 217), (258, 218), (258, 219), (258, 220), (258, 221), (258, 222), (258, 223), (258, 224), (258, 225), (258, 226), (258, 227), (258, 228), (258, 229), (258, 230), (258, 231), (258, 232), (258, 233), (258, 234), (258, 235), (258, 236), (258, 237), (258, 238), (258, 239), (258, 240), (258, 241), (258, 242), (258, 243), (258, 244), (258, 245), (258, 246), (258, 247), (258, 248), (258, 249), (258, 250), (258, 251), (258, 252), (258, 253), (258, 254), (258, 255), (258, 256), (258, 257), (258, 258), (258, 259), (258, 260), (258, 261), (258, 262), (258, 263), (258, 264), (258, 265), (258, 266), (258, 267), (258, 268), (258, 269), (258, 270),
(258, 271), (258, 272), (258, 273), (258, 274), (258, 275), (258, 276), (258, 277), (258, 278), (258, 279), (258, 280), (258, 281), (258, 282), (258, 283), (258, 284), (258, 285), (258, 286), (258, 287), (258, 288), (258, 289), (258, 290), (258, 291), (258, 292), (258, 293), (258, 294), (258, 295), (258, 296), (258, 297), (258, 298), (258, 299), (258, 300), (258, 301), (258, 302), (258, 303), (258, 304), (258, 305), (258, 306), (258, 307), (258, 308), (258, 309), (258, 310), (258, 311), (258, 312), (258, 313), (258, 314), (258, 315), (258, 316), (258, 317), (258, 318), (258, 319), (258, 320), (258, 321), (258, 322), (258, 324), (259, 204), (259, 206), (259, 207), (259, 208), (259, 209), (259, 210), (259, 211), (259, 212), (259, 213), (259, 214), (259, 215), (259, 216), (259, 217), (259, 218), (259, 219), (259, 220), (259, 221), (259, 222), (259, 223),
(259, 224), (259, 225), (259, 226), (259, 227), (259, 228), (259, 229), (259, 230), (259, 231), (259, 232), (259, 233), (259, 234), (259, 235), (259, 236), (259, 237), (259, 238), (259, 239), (259, 240), (259, 241), (259, 242), (259, 243), (259, 244), (259, 245), (259, 246), (259, 247), (259, 248), (259, 249), (259, 250), (259, 251), (259, 252), (259, 253), (259, 254), (259, 255), (259, 256), (259, 257), (259, 258), (259, 259), (259, 260), (259, 261), (259, 262), (259, 263), (259, 264), (259, 265), (259, 266), (259, 267), (259, 268), (259, 269), (259, 270), (259, 271), (259, 272), (259, 273), (259, 274), (259, 275), (259, 276), (259, 277), (259, 278), (259, 279), (259, 280), (259, 281), (259, 282), (259, 283), (259, 284), (259, 285), (259, 286), (259, 287), (259, 288), (259, 289), (259, 290), (259, 291), (259, 292), (259, 293), (259, 294), (259, 295),
(259, 296), (259, 297), (259, 298), (259, 299), (259, 300), (259, 301), (259, 302), (259, 303), (259, 304), (259, 305), (259, 306), (259, 307), (259, 308), (259, 309), (259, 310), (259, 311), (259, 312), (259, 313), (259, 314), (259, 315), (259, 316), (259, 317), (259, 318), (259, 319), (259, 320), (259, 321), (259, 322), (259, 324), (260, 204), (260, 206), (260, 207), (260, 208), (260, 209), (260, 210), (260, 211), (260, 212), (260, 213), (260, 214), (260, 215), (260, 216), (260, 217), (260, 218), (260, 219), (260, 220), (260, 221), (260, 222), (260, 223), (260, 224), (260, 225), (260, 226), (260, 227), (260, 228), (260, 229), (260, 230), (260, 231), (260, 232), (260, 233), (260, 234), (260, 235), (260, 236), (260, 237), (260, 238), (260, 239), (260, 240), (260, 241), (260, 242), (260, 243), (260, 244), (260, 245), (260, 246), (260, 247), (260, 248),
(260, 249), (260, 250), (260, 251), (260, 252), (260, 253), (260, 254), (260, 255), (260, 256), (260, 257), (260, 258), (260, 259), (260, 260), (260, 261), (260, 262), (260, 263), (260, 264), (260, 265), (260, 266), (260, 267), (260, 268), (260, 269), (260, 270), (260, 271), (260, 272), (260, 273), (260, 274), (260, 275), (260, 276), (260, 277), (260, 278), (260, 279), (260, 280), (260, 281), (260, 282), (260, 283), (260, 284), (260, 285), (260, 286), (260, 287), (260, 288), (260, 289), (260, 290), (260, 291), (260, 292), (260, 293), (260, 294), (260, 295), (260, 296), (260, 297), (260, 298), (260, 299), (260, 300), (260, 301), (260, 302), (260, 303), (260, 304), (260, 305), (260, 306), (260, 307), (260, 308), (260, 309), (260, 310), (260, 311), (260, 312), (260, 313), (260, 314), (260, 315), (260, 316), (260, 317), (260, 318), (260, 319), (260, 320),
(260, 321), (260, 322), (260, 324), (261, 204), (261, 206), (261, 207), (261, 208), (261, 209), (261, 210), (261, 211), (261, 212), (261, 213), (261, 214), (261, 215), (261, 216), (261, 217), (261, 218), (261, 219), (261, 220), (261, 221), (261, 222), (261, 223), (261, 224), (261, 225), (261, 226), (261, 227), (261, 228), (261, 229), (261, 230), (261, 231), (261, 232), (261, 233), (261, 234), (261, 235), (261, 236), (261, 237), (261, 238), (261, 239), (261, 240), (261, 241), (261, 242), (261, 243), (261, 244), (261, 245), (261, 246), (261, 247), (261, 248), (261, 249), (261, 250), (261, 251), (261, 252), (261, 253), (261, 254), (261, 255), (261, 256), (261, 257), (261, 258), (261, 259), (261, 260), (261, 261), (261, 262), (261, 263), (261, 264), (261, 265), (261, 266), (261, 267), (261, 268), (261, 269), (261, 270), (261, 271), (261, 272), (261, 273),
(261, 274), (261, 275), (261, 276), (261, 277), (261, 278), (261, 279), (261, 280), (261, 281), (261, 282), (261, 283), (261, 284), (261, 285), (261, 286), (261, 287), (261, 288), (261, 289), (261, 290), (261, 291), (261, 292), (261, 293), (261, 294), (261, 295), (261, 296), (261, 297), (261, 298), (261, 299), (261, 300), (261, 301), (261, 302), (261, 303), (261, 304), (261, 305), (261, 306), (261, 307), (261, 308), (261, 309), (261, 310), (261, 311), (261, 312), (261, 313), (261, 314), (261, 315), (261, 316), (261, 317), (261, 318), (261, 319), (261, 320), (261, 321), (261, 322), (261, 323), (261, 325), (262, 204), (262, 206), (262, 207), (262, 208), (262, 209), (262, 210), (262, 211), (262, 212), (262, 213), (262, 214), (262, 215), (262, 216), (262, 217), (262, 218), (262, 219), (262, 220), (262, 221), (262, 222), (262, 223), (262, 224), (262, 225),
(262, 226), (262, 227), (262, 228), (262, 229), (262, 230), (262, 231), (262, 232), (262, 233), (262, 234), (262, 235), (262, 236), (262, 237), (262, 238), (262, 239), (262, 240), (262, 241), (262, 242), (262, 243), (262, 244), (262, 245), (262, 246), (262, 247), (262, 248), (262, 249), (262, 250), (262, 251), (262, 252), (262, 253), (262, 254), (262, 255), (262, 256), (262, 257), (262, 258), (262, 259), (262, 260), (262, 261), (262, 262), (262, 263), (262, 264), (262, 265), (262, 266), (262, 267), (262, 268), (262, 269), (262, 270), (262, 271), (262, 272), (262, 273), (262, 274), (262, 275), (262, 276), (262, 277), (262, 278), (262, 279), (262, 280), (262, 281), (262, 282), (262, 283), (262, 284), (262, 285), (262, 286), (262, 287), (262, 288), (262, 289), (262, 290), (262, 291), (262, 292), (262, 293), (262, 294), (262, 295), (262, 296), (262, 297),
(262, 298), (262, 299), (262, 300), (262, 301), (262, 302), (262, 303), (262, 304), (262, 305), (262, 306), (262, 307), (262, 308), (262, 309), (262, 310), (262, 311), (262, 312), (262, 313), (262, 314), (262, 315), (262, 316), (262, 317), (262, 318), (262, 319), (262, 320), (262, 321), (262, 322), (262, 323), (262, 325), (263, 203), (263, 205), (263, 206), (263, 207), (263, 208), (263, 209), (263, 210), (263, 211), (263, 212), (263, 213), (263, 214), (263, 215), (263, 216), (263, 217), (263, 218), (263, 219), (263, 220), (263, 221), (263, 222), (263, 223), (263, 224), (263, 225), (263, 226), (263, 227), (263, 228), (263, 229), (263, 230), (263, 231), (263, 232), (263, 233), (263, 234), (263, 235), (263, 236), (263, 237), (263, 238), (263, 239), (263, 240), (263, 241), (263, 242), (263, 243), (263, 244), (263, 245), (263, 246), (263, 247), (263, 248),
(263, 249), (263, 250), (263, 251), (263, 252), (263, 253), (263, 254), (263, 255), (263, 256), (263, 257), (263, 258), (263, 259), (263, 260), (263, 261), (263, 262), (263, 263), (263, 264), (263, 265), (263, 266), (263, 267), (263, 268), (263, 269), (263, 270), (263, 271), (263, 272), (263, 273), (263, 274), (263, 275), (263, 276), (263, 277), (263, 278), (263, 279), (263, 280), (263, 281), (263, 282), (263, 283), (263, 284), (263, 285), (263, 286), (263, 287), (263, 288), (263, 289), (263, 290), (263, 291), (263, 292), (263, 293), (263, 294), (263, 295), (263, 296), (263, 297), (263, 298), (263, 299), (263, 300), (263, 301), (263, 302), (263, 303), (263, 304), (263, 305), (263, 306), (263, 307), (263, 308), (263, 309), (263, 310), (263, 311), (263, 312), (263, 313), (263, 314), (263, 315), (263, 316), (263, 317), (263, 318), (263, 319), (263, 320),
(263, 321), (263, 322), (263, 323), (263, 325), (264, 203), (264, 205), (264, 206), (264, 207), (264, 208), (264, 209), (264, 210), (264, 211), (264, 212), (264, 213), (264, 214), (264, 215), (264, 216), (264, 217), (264, 218), (264, 219), (264, 220), (264, 221), (264, 222), (264, 223), (264, 224), (264, 225), (264, 226), (264, 227), (264, 228), (264, 229), (264, 230), (264, 231), (264, 232), (264, 233), (264, 234), (264, 235), (264, 236), (264, 237), (264, 238), (264, 239), (264, 240), (264, 241), (264, 242), (264, 243), (264, 244), (264, 245), (264, 246), (264, 247), (264, 248), (264, 249), (264, 250), (264, 251), (264, 252), (264, 253), (264, 254), (264, 255), (264, 256), (264, 257), (264, 258), (264, 259), (264, 260), (264, 261), (264, 262), (264, 263), (264, 264), (264, 265), (264, 266), (264, 267), (264, 268), (264, 269), (264, 270), (264, 271),
(264, 272), (264, 273), (264, 274), (264, 275), (264, 276), (264, 277), (264, 278), (264, 279), (264, 280), (264, 281), (264, 282), (264, 283), (264, 284), (264, 285), (264, 286), (264, 287), (264, 288), (264, 289), (264, 290), (264, 291), (264, 292), (264, 293), (264, 294), (264, 295), (264, 296), (264, 297), (264, 298), (264, 299), (264, 300), (264, 301), (264, 302), (264, 303), (264, 304), (264, 305), (264, 306), (264, 307), (264, 308), (264, 309), (264, 310), (264, 311), (264, 312), (264, 313), (264, 314), (264, 315), (264, 316), (264, 317), (264, 318), (264, 319), (264, 320), (264, 321), (264, 322), (264, 323), (264, 324), (264, 326), (265, 203), (265, 205), (265, 206), (265, 207), (265, 208), (265, 209), (265, 210), (265, 211), (265, 212), (265, 213), (265, 214), (265, 215), (265, 216), (265, 217), (265, 218), (265, 219), (265, 220), (265, 221),
(265, 222), (265, 223), (265, 224), (265, 225), (265, 226), (265, 227), (265, 228), (265, 229), (265, 230), (265, 231), (265, 232), (265, 233), (265, 234), (265, 235), (265, 236), (265, 237), (265, 238), (265, 239), (265, 240), (265, 241), (265, 242), (265, 243), (265, 244), (265, 245), (265, 246), (265, 247), (265, 248), (265, 249), (265, 250), (265, 251), (265, 252), (265, 253), (265, 254), (265, 255), (265, 256), (265, 257), (265, 258), (265, 259), (265, 260), (265, 261), (265, 262), (265, 263), (265, 264), (265, 265), (265, 266), (265, 267), (265, 268), (265, 269), (265, 270), (265, 271), (265, 272), (265, 273), (265, 274), (265, 275), (265, 276), (265, 277), (265, 278), (265, 279), (265, 280), (265, 281), (265, 282), (265, 283), (265, 284), (265, 285), (265, 286), (265, 287), (265, 288), (265, 289), (265, 290), (265, 291), (265, 292), (265, 293),
(265, 294), (265, 295), (265, 296), (265, 297), (265, 298), (265, 299), (265, 300), (265, 301), (265, 302), (265, 303), (265, 304), (265, 305), (265, 306), (265, 307), (265, 308), (265, 309), (265, 310), (265, 311), (265, 312), (265, 313), (265, 314), (265, 315), (265, 316), (265, 317), (265, 318), (265, 319), (265, 320), (265, 321), (265, 322), (265, 323), (265, 324), (265, 326), (266, 203), (266, 205), (266, 206), (266, 207), (266, 208), (266, 209), (266, 210), (266, 211), (266, 212), (266, 213), (266, 214), (266, 215), (266, 216), (266, 217), (266, 218), (266, 219), (266, 220), (266, 221), (266, 222), (266, 223), (266, 224), (266, 225), (266, 226), (266, 227), (266, 228), (266, 229), (266, 230), (266, 231), (266, 232), (266, 233), (266, 234), (266, 235), (266, 236), (266, 237), (266, 238), (266, 239), (266, 240), (266, 241), (266, 242), (266, 243),
(266, 244), (266, 245), (266, 246), (266, 247), (266, 248), (266, 249), (266, 250), (266, 251), (266, 252), (266, 253), (266, 254), (266, 255), (266, 256), (266, 257), (266, 258), (266, 259), (266, 260), (266, 261), (266, 262), (266, 263), (266, 264), (266, 265), (266, 266), (266, 267), (266, 268), (266, 269), (266, 270), (266, 271), (266, 272), (266, 273), (266, 274), (266, 275), (266, 276), (266, 277), (266, 278), (266, 279), (266, 280), (266, 281), (266, 282), (266, 283), (266, 284), (266, 285), (266, 286), (266, 287), (266, 288), (266, 289), (266, 290), (266, 291), (266, 292), (266, 293), (266, 294), (266, 295), (266, 296), (266, 297), (266, 298), (266, 299), (266, 300), (266, 301), (266, 302), (266, 303), (266, 304), (266, 305), (266, 306), (266, 307), (266, 308), (266, 309), (266, 310), (266, 311), (266, 312), (266, 313), (266, 314), (266, 315),
(266, 316), (266, 317), (266, 318), (266, 319), (266, 320), (266, 321), (266, 322), (266, 323), (266, 324), (266, 326), (267, 203), (267, 205), (267, 206), (267, 207), (267, 208), (267, 209), (267, 210), (267, 211), (267, 212), (267, 213), (267, 214), (267, 215), (267, 216), (267, 217), (267, 218), (267, 219), (267, 220), (267, 221), (267, 222), (267, 223), (267, 224), (267, 225), (267, 226), (267, 227), (267, 228), (267, 229), (267, 230), (267, 231), (267, 232), (267, 233), (267, 234), (267, 235), (267, 236), (267, 237), (267, 238), (267, 239), (267, 240), (267, 241), (267, 242), (267, 243), (267, 244), (267, 245), (267, 246), (267, 247), (267, 248), (267, 249), (267, 250), (267, 251), (267, 252), (267, 253), (267, 254), (267, 255), (267, 256), (267, 257), (267, 258), (267, 259), (267, 260), (267, 261), (267, 262), (267, 263), (267, 264), (267, 265),
(267, 266), (267, 267), (267, 268), (267, 269), (267, 270), (267, 271), (267, 272), (267, 273), (267, 274), (267, 275), (267, 276), (267, 277), (267, 278), (267, 279), (267, 280), (267, 281), (267, 282), (267, 283), (267, 284), (267, 285), (267, 286), (267, 287), (267, 288), (267, 289), (267, 290), (267, 291), (267, 292), (267, 293), (267, 294), (267, 295), (267, 296), (267, 297), (267, 298), (267, 299), (267, 300), (267, 301), (267, 302), (267, 303), (267, 304), (267, 305), (267, 306), (267, 307), (267, 308), (267, 309), (267, 310), (267, 311), (267, 312), (267, 313), (267, 314), (267, 315), (267, 316), (267, 317), (267, 318), (267, 319), (267, 320), (267, 321), (267, 322), (267, 323), (267, 324), (267, 326), (268, 202), (268, 204), (268, 205), (268, 206), (268, 207), (268, 208), (268, 209), (268, 210), (268, 211), (268, 212), (268, 213), (268, 214),
(268, 215), (268, 216), (268, 217), (268, 218), (268, 219), (268, 220), (268, 221), (268, 222), (268, 223), (268, 224), (268, 225), (268, 226), (268, 227), (268, 228), (268, 229), (268, 230), (268, 231), (268, 232), (268, 233), (268, 234), (268, 235), (268, 236), (268, 237), (268, 238), (268, 239), (268, 240), (268, 241), (268, 242), (268, 243), (268, 244), (268, 245), (268, 246), (268, 247), (268, 248), (268, 249), (268, 250), (268, 251), (268, 252), (268, 253), (268, 254), (268, 255), (268, 256), (268, 257), (268, 258), (268, 259), (268, 260), (268, 261), (268, 262), (268, 263), (268, 264), (268, 265), (268, 266), (268, 267), (268, 268), (268, 269), (268, 270), (268, 271), (268, 272), (268, 273), (268, 274), (268, 275), (268, 276), (268, 277), (268, 278), (268, 279), (268, 280), (268, 281), (268, 282), (268, 283), (268, 284), (268, 285), (268, 286),
(268, 287), (268, 288), (268, 289), (268, 290), (268, 291), (268, 292), (268, 293), (268, 294), (268, 295), (268, 296), (268, 297), (268, 298), (268, 299), (268, 300), (268, 301), (268, 302), (268, 303), (268, 304), (268, 305), (268, 306), (268, 307), (268, 308), (268, 309), (268, 310), (268, 311), (268, 312), (268, 313), (268, 314), (268, 315), (268, 316), (268, 317), (268, 318), (268, 319), (268, 320), (268, 321), (268, 322), (268, 323), (268, 324), (268, 326), (269, 202), (269, 204), (269, 205), (269, 206), (269, 207), (269, 208), (269, 209), (269, 210), (269, 211), (269, 212), (269, 213), (269, 214), (269, 215), (269, 216), (269, 217), (269, 218), (269, 219), (269, 220), (269, 221), (269, 222), (269, 223), (269, 224), (269, 225), (269, 226), (269, 227), (269, 228), (269, 229), (269, 230), (269, 231), (269, 232), (269, 233), (269, 234), (269, 235),
(269, 236), (269, 237), (269, 238), (269, 239), (269, 240), (269, 241), (269, 242), (269, 243), (269, 244), (269, 245), (269, 246), (269, 247), (269, 248), (269, 249), (269, 250), (269, 251), (269, 252), (269, 253), (269, 254), (269, 255), (269, 256), (269, 257), (269, 258), (269, 259), (269, 260), (269, 261), (269, 262), (269, 263), (269, 264), (269, 265), (269, 266), (269, 267), (269, 268), (269, 269), (269, 270), (269, 271), (269, 272), (269, 273), (269, 274), (269, 275), (269, 276), (269, 277), (269, 278), (269, 279), (269, 280), (269, 281), (269, 282), (269, 283), (269, 284), (269, 285), (269, 286), (269, 287), (269, 288), (269, 289), (269, 290), (269, 291), (269, 292), (269, 293), (269, 294), (269, 295), (269, 296), (269, 297), (269, 298), (269, 299), (269, 300), (269, 301), (269, 302), (269, 303), (269, 304), (269, 305), (269, 306), (269, 307),
(269, 308), (269, 309), (269, 310), (269, 311), (269, 312), (269, 313), (269, 314), (269, 315), (269, 316), (269, 317), (269, 318), (269, 319), (269, 320), (269, 321), (269, 322), (269, 323), (269, 324), (269, 325), (269, 327), (270, 202), (270, 204), (270, 205), (270, 206), (270, 207), (270, 208), (270, 209), (270, 210), (270, 211), (270, 212), (270, 213), (270, 214), (270, 215), (270, 216), (270, 217), (270, 218), (270, 219), (270, 220), (270, 221), (270, 222), (270, 223), (270, 224), (270, 225), (270, 226), (270, 227), (270, 228), (270, 229), (270, 230), (270, 231), (270, 232), (270, 233), (270, 234), (270, 235), (270, 236), (270, 237), (270, 238), (270, 239), (270, 240), (270, 241), (270, 242), (270, 243), (270, 244), (270, 245), (270, 246), (270, 247), (270, 248), (270, 249), (270, 250), (270, 251), (270, 252), (270, 253), (270, 254), (270, 255),
(270, 256), (270, 257), (270, 258), (270, 259), (270, 260), (270, 261), (270, 262), (270, 263), (270, 264), (270, 265), (270, 266), (270, 267), (270, 268), (270, 269), (270, 270), (270, 271), (270, 272), (270, 273), (270, 274), (270, 275), (270, 276), (270, 277), (270, 278), (270, 279), (270, 280), (270, 281), (270, 282), (270, 283), (270, 284), (270, 285), (270, 286), (270, 287), (270, 288), (270, 289), (270, 290), (270, 291), (270, 292), (270, 293), (270, 294), (270, 295), (270, 296), (270, 297), (270, 298), (270, 299), (270, 300), (270, 301), (270, 302), (270, 303), (270, 304), (270, 305), (270, 306), (270, 307), (270, 308), (270, 309), (270, 310), (270, 311), (270, 312), (270, 313), (270, 314), (270, 315), (270, 316), (270, 317), (270, 318), (270, 319), (270, 320), (270, 321), (270, 322), (270, 323), (270, 324), (270, 325), (270, 327), (271, 202),
(271, 204), (271, 205), (271, 206), (271, 207), (271, 208), (271, 209), (271, 210), (271, 211), (271, 212), (271, 213), (271, 214), (271, 215), (271, 216), (271, 217), (271, 218), (271, 219), (271, 220), (271, 221), (271, 222), (271, 223), (271, 224), (271, 225), (271, 226), (271, 227), (271, 228), (271, 229), (271, 230), (271, 231), (271, 232), (271, 233), (271, 234), (271, 235), (271, 236), (271, 237), (271, 238), (271, 239), (271, 240), (271, 241), (271, 242), (271, 243), (271, 244), (271, 245), (271, 246), (271, 247), (271, 248), (271, 249), (271, 250), (271, 251), (271, 252), (271, 253), (271, 254), (271, 255), (271, 256), (271, 257), (271, 258), (271, 259), (271, 260), (271, 261), (271, 262), (271, 263), (271, 264), (271, 265), (271, 266), (271, 267), (271, 268), (271, 269), (271, 270), (271, 271), (271, 272), (271, 273), (271, 274), (271, 275),
(271, 276), (271, 277), (271, 278), (271, 279), (271, 280), (271, 281), (271, 282), (271, 283), (271, 284), (271, 285), (271, 286), (271, 287), (271, 288), (271, 289), (271, 290), (271, 291), (271, 292), (271, 293), (271, 294), (271, 295), (271, 296), (271, 297), (271, 298), (271, 299), (271, 300), (271, 301), (271, 302), (271, 303), (271, 304), (271, 305), (271, 306), (271, 307), (271, 308), (271, 309), (271, 310), (271, 311), (271, 312), (271, 313), (271, 314), (271, 315), (271, 316), (271, 317), (271, 318), (271, 319), (271, 320), (271, 321), (271, 322), (271, 323), (271, 324), (271, 325), (271, 327), (272, 202), (272, 204), (272, 205), (272, 206), (272, 207), (272, 208), (272, 209), (272, 210), (272, 211), (272, 212), (272, 213), (272, 214), (272, 215), (272, 216), (272, 217), (272, 218), (272, 219), (272, 220), (272, 221), (272, 222), (272, 223),
(272, 224), (272, 225), (272, 226), (272, 227), (272, 228), (272, 229), (272, 230), (272, 231), (272, 232), (272, 233), (272, 234), (272, 235), (272, 236), (272, 237), (272, 238), (272, 239), (272, 240), (272, 241), (272, 242), (272, 243), (272, 244), (272, 245), (272, 246), (272, 247), (272, 248), (272, 249), (272, 250), (272, 251), (272, 252), (272, 253), (272, 254), (272, 255), (272, 256), (272, 257), (272, 258), (272, 259), (272, 260), (272, 261), (272, 262), (272, 263), (272, 264), (272, 265), (272, 266), (272, 267), (272, 268), (272, 269), (272, 270), (272, 271), (272, 272), (272, 273), (272, 274), (272, 275), (272, 276), (272, 277), (272, 278), (272, 279), (272, 280), (272, 281), (272, 282), (272, 283), (272, 284), (272, 285), (272, 286), (272, 287), (272, 288), (272, 289), (272, 290), (272, 291), (272, 292), (272, 293), (272, 294), (272, 295),
(272, 296), (272, 297), (272, 298), (272, 299), (272, 300), (272, 301), (272, 302), (272, 303), (272, 304), (272, 305), (272, 306), (272, 307), (272, 308), (272, 309), (272, 310), (272, 311), (272, 312), (272, 313), (272, 314), (272, 315), (272, 316), (272, 317), (272, 318), (272, 319), (272, 320), (272, 321), (272, 322), (272, 323), (272, 324), (272, 325), (272, 327), (273, 202), (273, 204), (273, 205), (273, 206), (273, 207), (273, 208), (273, 209), (273, 210), (273, 211), (273, 212), (273, 213), (273, 214), (273, 215), (273, 216), (273, 217), (273, 218), (273, 219), (273, 220), (273, 221), (273, 222), (273, 223), (273, 224), (273, 225), (273, 226), (273, 227), (273, 228), (273, 229), (273, 230), (273, 231), (273, 232), (273, 233), (273, 234), (273, 235), (273, 236), (273, 237), (273, 238), (273, 239), (273, 240), (273, 241), (273, 242), (273, 243),
(273, 244), (273, 245), (273, 246), (273, 247), (273, 248), (273, 249), (273, 250), (273, 251), (273, 252), (273, 253), (273, 254), (273, 255), (273, 256), (273, 257), (273, 258), (273, 259), (273, 260), (273, 261), (273, 262), (273, 263), (273, 264), (273, 265), (273, 266), (273, 267), (273, 268), (273, 269), (273, 270), (273, 271), (273, 272), (273, 273), (273, 274), (273, 275), (273, 276), (273, 277), (273, 278), (273, 279), (273, 280), (273, 281), (273, 282), (273, 283), (273, 284), (273, 285), (273, 286), (273, 287), (273, 288), (273, 289), (273, 290), (273, 291), (273, 292), (273, 293), (273, 294), (273, 295), (273, 296), (273, 297), (273, 298), (273, 299), (273, 300), (273, 301), (273, 302), (273, 303), (273, 304), (273, 305), (273, 306), (273, 307), (273, 308), (273, 309), (273, 310), (273, 311), (273, 312), (273, 313), (273, 314), (273, 315),
(273, 316), (273, 317), (273, 318), (273, 319), (273, 320), (273, 321), (273, 322), (273, 323), (273, 324), (273, 325), (273, 327), (274, 202), (274, 204), (274, 205), (274, 206), (274, 207), (274, 208), (274, 209), (274, 210), (274, 211), (274, 212), (274, 213), (274, 214), (274, 215), (274, 216), (274, 217), (274, 218), (274, 219), (274, 220), (274, 221), (274, 222), (274, 223), (274, 224), (274, 225), (274, 226), (274, 227), (274, 228), (274, 229), (274, 230), (274, 231), (274, 232), (274, 233), (274, 234), (274, 235), (274, 236), (274, 237), (274, 238), (274, 239), (274, 240), (274, 241), (274, 242), (274, 243), (274, 244), (274, 245), (274, 246), (274, 247), (274, 248), (274, 249), (274, 250), (274, 251), (274, 252), (274, 253), (274, 254), (274, 255), (274, 256), (274, 257), (274, 258), (274, 259), (274, 260), (274, 261), (274, 262), (274, 263),
(274, 264), (274, 265), (274, 266), (274, 267), (274, 268), (274, 269), (274, 270), (274, 271), (274, 272), (274, 273), (274, 274), (274, 275), (274, 276), (274, 277), (274, 278), (274, 279), (274, 280), (274, 281), (274, 282), (274, 283), (274, 284), (274, 285), (274, 286), (274, 287), (274, 288), (274, 289), (274, 290), (274, 291), (274, 292), (274, 293), (274, 294), (274, 295), (274, 296), (274, 297), (274, 298), (274, 299), (274, 300), (274, 301), (274, 302), (274, 303), (274, 304), (274, 305), (274, 306), (274, 307), (274, 308), (274, 309), (274, 310), (274, 311), (274, 312), (274, 313), (274, 314), (274, 315), (274, 316), (274, 317), (274, 318), (274, 319), (274, 320), (274, 321), (274, 322), (274, 323), (274, 324), (274, 325), (274, 327), (275, 202), (275, 204), (275, 205), (275, 206), (275, 207), (275, 208), (275, 209), (275, 210), (275, 211),
(275, 212), (275, 213), (275, 214), (275, 215), (275, 216), (275, 217), (275, 218), (275, 219), (275, 220), (275, 221), (275, 222), (275, 223), (275, 224), (275, 225), (275, 226), (275, 227), (275, 228), (275, 229), (275, 230), (275, 231), (275, 232), (275, 233), (275, 234), (275, 235), (275, 236), (275, 237), (275, 238), (275, 239), (275, 240), (275, 241), (275, 242), (275, 243), (275, 244), (275, 245), (275, 246), (275, 247), (275, 248), (275, 249), (275, 250), (275, 251), (275, 252), (275, 253), (275, 254), (275, 255), (275, 256), (275, 257), (275, 258), (275, 259), (275, 260), (275, 261), (275, 262), (275, 263), (275, 264), (275, 265), (275, 266), (275, 267), (275, 268), (275, 269), (275, 270), (275, 271), (275, 272), (275, 273), (275, 274), (275, 275), (275, 276), (275, 277), (275, 278), (275, 279), (275, 280), (275, 281), (275, 282), (275, 283),
(275, 284), (275, 285), (275, 286), (275, 287), (275, 288), (275, 289), (275, 290), (275, 291), (275, 292), (275, 293), (275, 294), (275, 295), (275, 296), (275, 297), (275, 298), (275, 299), (275, 300), (275, 301), (275, 302), (275, 303), (275, 304), (275, 305), (275, 306), (275, 307), (275, 308), (275, 309), (275, 310), (275, 311), (275, 312), (275, 313), (275, 314), (275, 315), (275, 316), (275, 317), (275, 318), (275, 319), (275, 320), (275, 321), (275, 322), (275, 323), (275, 324), (275, 325), (275, 327), (276, 201), (276, 203), (276, 204), (276, 205), (276, 206), (276, 207), (276, 208), (276, 209), (276, 210), (276, 211), (276, 212), (276, 213), (276, 214), (276, 215), (276, 216), (276, 217), (276, 218), (276, 219), (276, 220), (276, 221), (276, 222), (276, 223), (276, 224), (276, 225), (276, 226), (276, 227), (276, 228), (276, 229), (276, 230),
(276, 231), (276, 232), (276, 233), (276, 234), (276, 235), (276, 236), (276, 237), (276, 238), (276, 239), (276, 240), (276, 241), (276, 242), (276, 243), (276, 244), (276, 245), (276, 246), (276, 247), (276, 248), (276, 249), (276, 250), (276, 251), (276, 252), (276, 253), (276, 254), (276, 255), (276, 256), (276, 257), (276, 258), (276, 259), (276, 260), (276, 261), (276, 262), (276, 263), (276, 264), (276, 265), (276, 266), (276, 267), (276, 268), (276, 269), (276, 270), (276, 271), (276, 272), (276, 273), (276, 274), (276, 275), (276, 276), (276, 277), (276, 278), (276, 279), (276, 280), (276, 281), (276, 282), (276, 283), (276, 284), (276, 285), (276, 286), (276, 287), (276, 288), (276, 289), (276, 290), (276, 291), (276, 292), (276, 293), (276, 294), (276, 295), (276, 296), (276, 297), (276, 298), (276, 299), (276, 300), (276, 301), (276, 302),
(276, 303), (276, 304), (276, 305), (276, 306), (276, 307), (276, 308), (276, 309), (276, 310), (276, 311), (276, 312), (276, 313), (276, 314), (276, 315), (276, 316), (276, 317), (276, 318), (276, 319), (276, 320), (276, 321), (276, 322), (276, 323), (276, 324), (276, 325), (276, 327), (277, 201), (277, 203), (277, 204), (277, 205), (277, 206), (277, 207), (277, 208), (277, 209), (277, 210), (277, 211), (277, 212), (277, 213), (277, 214), (277, 215), (277, 216), (277, 217), (277, 218), (277, 219), (277, 220), (277, 221), (277, 222), (277, 223), (277, 224), (277, 225), (277, 226), (277, 227), (277, 228), (277, 229), (277, 230), (277, 231), (277, 232), (277, 233), (277, 234), (277, 235), (277, 236), (277, 237), (277, 238), (277, 239), (277, 240), (277, 241), (277, 242), (277, 243), (277, 244), (277, 245), (277, 246), (277, 247), (277, 248), (277, 249),
(277, 250), (277, 251), (277, 252), (277, 253), (277, 254), (277, 255), (277, 256), (277, 257), (277, 258), (277, 259), (277, 260), (277, 261), (277, 262), (277, 263), (277, 264), (277, 265), (277, 266), (277, 267), (277, 268), (277, 269), (277, 270), (277, 271), (277, 272), (277, 273), (277, 274), (277, 275), (277, 276), (277, 277), (277, 278), (277, 279), (277, 280), (277, 281), (277, 282), (277, 283), (277, 284), (277, 285), (277, 286), (277, 287), (277, 288), (277, 289), (277, 290), (277, 291), (277, 292), (277, 293), (277, 294), (277, 295), (277, 296), (277, 297), (277, 298), (277, 299), (277, 300), (277, 301), (277, 302), (277, 303), (277, 304), (277, 305), (277, 306), (277, 307), (277, 308), (277, 309), (277, 310), (277, 311), (277, 312), (277, 313), (277, 314), (277, 315), (277, 316), (277, 317), (277, 318), (277, 319), (277, 320), (277, 321),
(277, 322), (277, 323), (277, 324), (277, 325), (277, 327), (278, 201), (278, 203), (278, 204), (278, 205), (278, 206), (278, 207), (278, 208), (278, 209), (278, 210), (278, 211), (278, 212), (278, 213), (278, 214), (278, 215), (278, 216), (278, 217), (278, 218), (278, 219), (278, 220), (278, 221), (278, 222), (278, 223), (278, 224), (278, 225), (278, 226), (278, 227), (278, 228), (278, 229), (278, 230), (278, 231), (278, 232), (278, 233), (278, 234), (278, 235), (278, 236), (278, 237), (278, 238), (278, 239), (278, 240), (278, 241), (278, 242), (278, 243), (278, 244), (278, 245), (278, 246), (278, 247), (278, 248), (278, 249), (278, 250), (278, 251), (278, 252), (278, 253), (278, 254), (278, 255), (278, 256), (278, 257), (278, 258), (278, 259), (278, 260), (278, 261), (278, 262), (278, 263), (278, 264), (278, 265), (278, 266), (278, 267), (278, 268),
(278, 269), (278, 270), (278, 271), (278, 272), (278, 273), (278, 274), (278, 275), (278, 276), (278, 277), (278, 278), (278, 279), (278, 280), (278, 281), (278, 282), (278, 283), (278, 284), (278, 285), (278, 286), (278, 287), (278, 288), (278, 289), (278, 290), (278, 291), (278, 292), (278, 293), (278, 294), (278, 295), (278, 296), (278, 297), (278, 298), (278, 299), (278, 300), (278, 301), (278, 302), (278, 303), (278, 304), (278, 305), (278, 306), (278, 307), (278, 308), (278, 309), (278, 310), (278, 311), (278, 312), (278, 313), (278, 314), (278, 315), (278, 316), (278, 317), (278, 318), (278, 319), (278, 320), (278, 321), (278, 322), (278, 323), (278, 324), (278, 325), (278, 327), (279, 200), (279, 201), (279, 202), (279, 203), (279, 204), (279, 205), (279, 206), (279, 207), (279, 208), (279, 209), (279, 210), (279, 211), (279, 212), (279, 213),
(279, 214), (279, 215), (279, 216), (279, 217), (279, 218), (279, 219), (279, 220), (279, 221), (279, 222), (279, 223), (279, 224), (279, 225), (279, 226), (279, 227), (279, 228), (279, 229), (279, 230), (279, 231), (279, 232), (279, 233), (279, 234), (279, 235), (279, 236), (279, 237), (279, 238), (279, 239), (279, 240), (279, 241), (279, 242), (279, 243), (279, 244), (279, 245), (279, 246), (279, 247), (279, 248), (279, 249), (279, 250), (279, 251), (279, 252), (279, 253), (279, 254), (279, 255), (279, 256), (279, 257), (279, 258), (279, 259), (279, 260), (279, 261), (279, 262), (279, 263), (279, 264), (279, 265), (279, 266), (279, 267), (279, 268), (279, 269), (279, 270), (279, 271), (279, 272), (279, 273), (279, 274), (279, 275), (279, 276), (279, 277), (279, 278), (279, 279), (279, 280), (279, 281), (279, 282), (279, 283), (279, 284), (279, 285),
(279, 286), (279, 287), (279, 288), (279, 289), (279, 290), (279, 291), (279, 292), (279, 293), (279, 294), (279, 295), (279, 296), (279, 297), (279, 298), (279, 299), (279, 300), (279, 301), (279, 302), (279, 303), (279, 304), (279, 305), (279, 306), (279, 307), (279, 308), (279, 309), (279, 310), (279, 311), (279, 312), (279, 313), (279, 314), (279, 315), (279, 316), (279, 317), (279, 318), (279, 319), (279, 320), (279, 321), (279, 322), (279, 323), (279, 324), (279, 325), (279, 327), (280, 200), (280, 202), (280, 203), (280, 204), (280, 205), (280, 206), (280, 207), (280, 208), (280, 209), (280, 210), (280, 211), (280, 212), (280, 213), (280, 214), (280, 215), (280, 216), (280, 217), (280, 218), (280, 219), (280, 220), (280, 221), (280, 222), (280, 223), (280, 224), (280, 225), (280, 226), (280, 227), (280, 228), (280, 229), (280, 230), (280, 231),
(280, 232), (280, 233), (280, 234), (280, 235), (280, 236), (280, 237), (280, 238), (280, 239), (280, 240), (280, 241), (280, 242), (280, 243), (280, 244), (280, 245), (280, 246), (280, 247), (280, 248), (280, 249), (280, 250), (280, 251), (280, 252), (280, 253), (280, 254), (280, 255), (280, 256), (280, 257), (280, 258), (280, 259), (280, 260), (280, 261), (280, 262), (280, 263), (280, 264), (280, 265), (280, 266), (280, 267), (280, 268), (280, 269), (280, 270), (280, 271), (280, 272), (280, 273), (280, 274), (280, 275), (280, 276), (280, 277), (280, 278), (280, 279), (280, 280), (280, 281), (280, 282), (280, 283), (280, 284), (280, 285), (280, 286), (280, 287), (280, 288), (280, 289), (280, 290), (280, 291), (280, 292), (280, 293), (280, 294), (280, 295), (280, 296), (280, 297), (280, 298), (280, 299), (280, 300), (280, 301), (280, 302), (280, 303),
(280, 304), (280, 305), (280, 306), (280, 307), (280, 308), (280, 309), (280, 310), (280, 311), (280, 312), (280, 313), (280, 314), (280, 315), (280, 316), (280, 317), (280, 318), (280, 319), (280, 320), (280, 321), (280, 322), (280, 323), (280, 324), (280, 325), (280, 327), (281, 200), (281, 202), (281, 203), (281, 204), (281, 205), (281, 206), (281, 207), (281, 208), (281, 209), (281, 210), (281, 211), (281, 212), (281, 213), (281, 214), (281, 215), (281, 216), (281, 217), (281, 218), (281, 219), (281, 220), (281, 221), (281, 222), (281, 223), (281, 224), (281, 225), (281, 226), (281, 227), (281, 228), (281, 229), (281, 230), (281, 231), (281, 232), (281, 233), (281, 234), (281, 235), (281, 236), (281, 237), (281, 238), (281, 239), (281, 240), (281, 241), (281, 242), (281, 243), (281, 244), (281, 245), (281, 246), (281, 247), (281, 248), (281, 249),
(281, 250), (281, 251), (281, 252), (281, 253), (281, 254), (281, 255), (281, 256), (281, 257), (281, 258), (281, 259), (281, 260), (281, 261), (281, 262), (281, 263), (281, 264), (281, 265), (281, 266), (281, 267), (281, 268), (281, 269), (281, 270), (281, 271), (281, 272), (281, 273), (281, 274), (281, 275), (281, 276), (281, 277), (281, 278), (281, 279), (281, 280), (281, 281), (281, 282), (281, 283), (281, 284), (281, 285), (281, 286), (281, 287), (281, 288), (281, 289), (281, 290), (281, 291), (281, 292), (281, 293), (281, 294), (281, 295), (281, 296), (281, 297), (281, 298), (281, 299), (281, 300), (281, 301), (281, 302), (281, 303), (281, 304), (281, 305), (281, 306), (281, 307), (281, 308), (281, 309), (281, 310), (281, 311), (281, 312), (281, 313), (281, 314), (281, 315), (281, 316), (281, 317), (281, 318), (281, 319), (281, 320), (281, 321),
(281, 322), (281, 323), (281, 324), (281, 325), (281, 327), (282, 199), (282, 201), (282, 202), (282, 203), (282, 204), (282, 205), (282, 206), (282, 207), (282, 208), (282, 209), (282, 210), (282, 211), (282, 212), (282, 213), (282, 214), (282, 215), (282, 216), (282, 217), (282, 218), (282, 219), (282, 220), (282, 221), (282, 222), (282, 223), (282, 224), (282, 225), (282, 226), (282, 227), (282, 228), (282, 229), (282, 230), (282, 231), (282, 232), (282, 233), (282, 234), (282, 235), (282, 236), (282, 237), (282, 238), (282, 239), (282, 240), (282, 241), (282, 242), (282, 243), (282, 244), (282, 245), (282, 246), (282, 247), (282, 248), (282, 249), (282, 250), (282, 251), (282, 252), (282, 253), (282, 254), (282, 255), (282, 256), (282, 257), (282, 258), (282, 259), (282, 260), (282, 261), (282, 262), (282, 263), (282, 264), (282, 265), (282, 266),
(282, 267), (282, 268), (282, 269), (282, 270), (282, 271), (282, 272), (282, 273), (282, 274), (282, 275), (282, 276), (282, 277), (282, 278), (282, 279), (282, 280), (282, 281), (282, 282), (282, 283), (282, 284), (282, 285), (282, 286), (282, 287), (282, 288), (282, 289), (282, 290), (282, 291), (282, 292), (282, 293), (282, 294), (282, 295), (282, 296), (282, 297), (282, 298), (282, 299), (282, 300), (282, 301), (282, 302), (282, 303), (282, 304), (282, 305), (282, 306), (282, 307), (282, 308), (282, 309), (282, 310), (282, 311), (282, 312), (282, 313), (282, 314), (282, 315), (282, 316), (282, 317), (282, 318), (282, 319), (282, 320), (282, 321), (282, 322), (282, 323), (282, 324), (282, 325), (282, 327), (283, 199), (283, 201), (283, 202), (283, 203), (283, 204), (283, 205), (283, 206), (283, 207), (283, 208), (283, 209), (283, 210), (283, 211),
(283, 212), (283, 213), (283, 214), (283, 215), (283, 216), (283, 217), (283, 218), (283, 219), (283, 220), (283, 221), (283, 222), (283, 223), (283, 224), (283, 225), (283, 226), (283, 227), (283, 228), (283, 229), (283, 230), (283, 231), (283, 232), (283, 233), (283, 234), (283, 235), (283, 236), (283, 237), (283, 238), (283, 239), (283, 240), (283, 241), (283, 242), (283, 243), (283, 244), (283, 245), (283, 246), (283, 247), (283, 248), (283, 249), (283, 250), (283, 251), (283, 252), (283, 253), (283, 254), (283, 255), (283, 256), (283, 257), (283, 258), (283, 259), (283, 260), (283, 261), (283, 262), (283, 263), (283, 264), (283, 265), (283, 266), (283, 267), (283, 268), (283, 269), (283, 270), (283, 271), (283, 272), (283, 273), (283, 274), (283, 275), (283, 276), (283, 277), (283, 278), (283, 279), (283, 280), (283, 281), (283, 282), (283, 283),
(283, 284), (283, 285), (283, 286), (283, 287), (283, 288), (283, 289), (283, 290), (283, 291), (283, 292), (283, 293), (283, 294), (283, 295), (283, 296), (283, 297), (283, 298), (283, 299), (283, 300), (283, 301), (283, 302), (283, 303), (283, 304), (283, 305), (283, 306), (283, 307), (283, 308), (283, 309), (283, 310), (283, 311), (283, 312), (283, 313), (283, 314), (283, 315), (283, 316), (283, 317), (283, 318), (283, 319), (283, 320), (283, 321), (283, 322), (283, 323), (283, 324), (283, 325), (283, 327), (284, 199), (284, 201), (284, 202), (284, 203), (284, 204), (284, 205), (284, 206), (284, 207), (284, 208), (284, 209), (284, 210), (284, 211), (284, 212), (284, 213), (284, 214), (284, 215), (284, 216), (284, 217), (284, 218), (284, 219), (284, 220), (284, 221), (284, 222), (284, 223), (284, 224), (284, 225), (284, 226), (284, 227), (284, 228),
(284, 229), (284, 230), (284, 231), (284, 232), (284, 233), (284, 234), (284, 235), (284, 236), (284, 237), (284, 238), (284, 239), (284, 240), (284, 241), (284, 242), (284, 243), (284, 244), (284, 245), (284, 246), (284, 247), (284, 248), (284, 249), (284, 250), (284, 251), (284, 252), (284, 253), (284, 254), (284, 255), (284, 256), (284, 257), (284, 258), (284, 259), (284, 260), (284, 261), (284, 262), (284, 263), (284, 264), (284, 265), (284, 266), (284, 267), (284, 268), (284, 269), (284, 270), (284, 271), (284, 272), (284, 273), (284, 274), (284, 275), (284, 276), (284, 277), (284, 278), (284, 279), (284, 280), (284, 281), (284, 282), (284, 283), (284, 284), (284, 285), (284, 286), (284, 287), (284, 288), (284, 289), (284, 290), (284, 291), (284, 292), (284, 293), (284, 294), (284, 295), (284, 296), (284, 297), (284, 298), (284, 299), (284, 300),
(284, 301), (284, 302), (284, 303), (284, 304), (284, 305), (284, 306), (284, 307), (284, 308), (284, 309), (284, 310), (284, 311), (284, 312), (284, 313), (284, 314), (284, 315), (284, 316), (284, 317), (284, 318), (284, 319), (284, 320), (284, 321), (284, 322), (284, 323), (284, 324), (284, 325), (284, 327), (285, 198), (285, 200), (285, 201), (285, 202), (285, 203), (285, 204), (285, 205), (285, 206), (285, 207), (285, 208), (285, 209), (285, 210), (285, 211), (285, 212), (285, 213), (285, 214), (285, 215), (285, 216), (285, 217), (285, 218), (285, 219), (285, 220), (285, 221), (285, 222), (285, 223), (285, 224), (285, 225), (285, 226), (285, 227), (285, 228), (285, 229), (285, 230), (285, 231), (285, 232), (285, 233), (285, 234), (285, 235), (285, 236), (285, 237), (285, 238), (285, 239), (285, 240), (285, 241), (285, 242), (285, 243), (285, 244),
(285, 245), (285, 246), (285, 247), (285, 248), (285, 249), (285, 250), (285, 251), (285, 252), (285, 253), (285, 254), (285, 255), (285, 256), (285, 257), (285, 258), (285, 259), (285, 260), (285, 261), (285, 262), (285, 263), (285, 264), (285, 265), (285, 266), (285, 267), (285, 268), (285, 269), (285, 270), (285, 271), (285, 272), (285, 273), (285, 274), (285, 275), (285, 276), (285, 277), (285, 278), (285, 279), (285, 280), (285, 281), (285, 282), (285, 283), (285, 284), (285, 285), (285, 286), (285, 287), (285, 288), (285, 289), (285, 290), (285, 291), (285, 292), (285, 293), (285, 294), (285, 295), (285, 296), (285, 297), (285, 298), (285, 299), (285, 300), (285, 301), (285, 302), (285, 303), (285, 304), (285, 305), (285, 306), (285, 307), (285, 308), (285, 309), (285, 310), (285, 311), (285, 312), (285, 313), (285, 314), (285, 315), (285, 316),
(285, 317), (285, 318), (285, 319), (285, 320), (285, 321), (285, 322), (285, 323), (285, 324), (285, 325), (285, 327), (286, 198), (286, 200), (286, 201), (286, 202), (286, 203), (286, 204), (286, 205), (286, 206), (286, 207), (286, 208), (286, 209), (286, 210), (286, 211), (286, 212), (286, 213), (286, 214), (286, 215), (286, 216), (286, 217), (286, 218), (286, 219), (286, 220), (286, 221), (286, 222), (286, 223), (286, 224), (286, 225), (286, 226), (286, 227), (286, 228), (286, 229), (286, 230), (286, 231), (286, 232), (286, 233), (286, 234), (286, 235), (286, 236), (286, 237), (286, 238), (286, 239), (286, 240), (286, 241), (286, 242), (286, 243), (286, 244), (286, 245), (286, 246), (286, 247), (286, 248), (286, 249), (286, 250), (286, 251), (286, 252), (286, 253), (286, 254), (286, 255), (286, 256), (286, 257), (286, 258), (286, 259), (286, 260),
(286, 261), (286, 262), (286, 263), (286, 264), (286, 265), (286, 266), (286, 267), (286, 268), (286, 269), (286, 270), (286, 271), (286, 272), (286, 273), (286, 274), (286, 275), (286, 276), (286, 277), (286, 278), (286, 279), (286, 280), (286, 281), (286, 282), (286, 283), (286, 284), (286, 285), (286, 286), (286, 287), (286, 288), (286, 289), (286, 290), (286, 291), (286, 292), (286, 293), (286, 294), (286, 295), (286, 296), (286, 297), (286, 298), (286, 299), (286, 300), (286, 301), (286, 302), (286, 303), (286, 304), (286, 305), (286, 306), (286, 307), (286, 308), (286, 309), (286, 310), (286, 311), (286, 312), (286, 313), (286, 314), (286, 315), (286, 316), (286, 317), (286, 318), (286, 319), (286, 320), (286, 321), (286, 322), (286, 323), (286, 324), (286, 325), (286, 327), (287, 197), (287, 199), (287, 200), (287, 201), (287, 202), (287, 203),
(287, 204), (287, 205), (287, 206), (287, 207), (287, 208), (287, 209), (287, 210), (287, 211), (287, 212), (287, 213), (287, 214), (287, 215), (287, 216), (287, 217), (287, 218), (287, 219), (287, 220), (287, 221), (287, 222), (287, 223), (287, 224), (287, 225), (287, 226), (287, 227), (287, 228), (287, 229), (287, 230), (287, 231), (287, 232), (287, 233), (287, 234), (287, 235), (287, 236), (287, 237), (287, 238), (287, 239), (287, 240), (287, 241), (287, 242), (287, 243), (287, 244), (287, 245), (287, 246), (287, 247), (287, 248), (287, 249), (287, 250), (287, 251), (287, 252), (287, 253), (287, 254), (287, 255), (287, 256), (287, 257), (287, 258), (287, 259), (287, 260), (287, 261), (287, 262), (287, 263), (287, 264), (287, 265), (287, 266), (287, 267), (287, 268), (287, 269), (287, 270), (287, 271), (287, 272), (287, 273), (287, 274), (287, 275),
(287, 276), (287, 277), (287, 278), (287, 279), (287, 280), (287, 281), (287, 282), (287, 283), (287, 284), (287, 285), (287, 286), (287, 287), (287, 288), (287, 289), (287, 290), (287, 291), (287, 292), (287, 293), (287, 294), (287, 295), (287, 296), (287, 297), (287, 298), (287, 299), (287, 300), (287, 301), (287, 302), (287, 303), (287, 304), (287, 305), (287, 306), (287, 307), (287, 308), (287, 309), (287, 310), (287, 311), (287, 312), (287, 313), (287, 314), (287, 315), (287, 316), (287, 317), (287, 318), (287, 319), (287, 320), (287, 321), (287, 322), (287, 323), (287, 324), (287, 325), (287, 327), (288, 197), (288, 199), (288, 200), (288, 201), (288, 202), (288, 203), (288, 204), (288, 205), (288, 206), (288, 207), (288, 208), (288, 209), (288, 210), (288, 211), (288, 212), (288, 213), (288, 214), (288, 215), (288, 216), (288, 217), (288, 218),
(288, 219), (288, 220), (288, 221), (288, 222), (288, 223), (288, 224), (288, 225), (288, 226), (288, 227), (288, 228), (288, 229), (288, 230), (288, 231), (288, 232), (288, 233), (288, 234), (288, 235), (288, 236), (288, 237), (288, 238), (288, 239), (288, 240), (288, 241), (288, 242), (288, 243), (288, 244), (288, 245), (288, 246), (288, 247), (288, 248), (288, 249), (288, 250), (288, 251), (288, 252), (288, 253), (288, 254), (288, 255), (288, 256), (288, 257), (288, 258), (288, 259), (288, 260), (288, 261), (288, 262), (288, 263), (288, 264), (288, 265), (288, 266), (288, 267), (288, 268), (288, 269), (288, 270), (288, 271), (288, 272), (288, 273), (288, 274), (288, 275), (288, 276), (288, 277), (288, 278), (288, 279), (288, 280), (288, 281), (288, 282), (288, 283), (288, 284), (288, 285), (288, 286), (288, 287), (288, 288), (288, 289), (288, 290),
(288, 291), (288, 292), (288, 293), (288, 294), (288, 295), (288, 296), (288, 297), (288, 298), (288, 299), (288, 300), (288, 301), (288, 302), (288, 303), (288, 304), (288, 305), (288, 306), (288, 307), (288, 308), (288, 309), (288, 310), (288, 311), (288, 312), (288, 313), (288, 314), (288, 315), (288, 316), (288, 317), (288, 318), (288, 319), (288, 320), (288, 321), (288, 322), (288, 323), (288, 324), (288, 326), (289, 197), (289, 199), (289, 200), (289, 201), (289, 202), (289, 203), (289, 204), (289, 205), (289, 206), (289, 207), (289, 208), (289, 209), (289, 210), (289, 211), (289, 212), (289, 213), (289, 214), (289, 215), (289, 216), (289, 217), (289, 218), (289, 219), (289, 220), (289, 221), (289, 222), (289, 223), (289, 224), (289, 225), (289, 226), (289, 227), (289, 228), (289, 229), (289, 230), (289, 231), (289, 232), (289, 233), (289, 234),
(289, 235), (289, 236), (289, 237), (289, 238), (289, 239), (289, 240), (289, 241), (289, 242), (289, 243), (289, 244), (289, 245), (289, 246), (289, 247), (289, 248), (289, 249), (289, 250), (289, 251), (289, 252), (289, 253), (289, 254), (289, 255), (289, 256), (289, 257), (289, 258), (289, 259), (289, 260), (289, 261), (289, 262), (289, 263), (289, 264), (289, 265), (289, 266), (289, 267), (289, 268), (289, 269), (289, 270), (289, 271), (289, 272), (289, 273), (289, 274), (289, 275), (289, 276), (289, 277), (289, 278), (289, 279), (289, 280), (289, 281), (289, 282), (289, 283), (289, 284), (289, 285), (289, 286), (289, 287), (289, 288), (289, 289), (289, 290), (289, 291), (289, 292), (289, 293), (289, 294), (289, 295), (289, 296), (289, 297), (289, 298), (289, 299), (289, 300), (289, 301), (289, 302), (289, 303), (289, 304), (289, 305), (289, 306),
(289, 307), (289, 308), (289, 309), (289, 310), (289, 311), (289, 312), (289, 313), (289, 314), (289, 315), (289, 316), (289, 317), (289, 318), (289, 319), (289, 320), (289, 321), (289, 322), (289, 323), (289, 324), (289, 326), (290, 196), (290, 198), (290, 199), (290, 200), (290, 201), (290, 202), (290, 203), (290, 204), (290, 205), (290, 206), (290, 207), (290, 208), (290, 209), (290, 210), (290, 211), (290, 212), (290, 213), (290, 214), (290, 215), (290, 216), (290, 217), (290, 218), (290, 219), (290, 220), (290, 221), (290, 222), (290, 223), (290, 224), (290, 225), (290, 226), (290, 227), (290, 228), (290, 229), (290, 230), (290, 231), (290, 232), (290, 233), (290, 234), (290, 235), (290, 236), (290, 237), (290, 238), (290, 239), (290, 240), (290, 241), (290, 242), (290, 243), (290, 244), (290, 245), (290, 246), (290, 247), (290, 248), (290, 249),
(290, 250), (290, 251), (290, 252), (290, 253), (290, 254), (290, 255), (290, 256), (290, 257), (290, 258), (290, 259), (290, 260), (290, 261), (290, 262), (290, 263), (290, 264), (290, 265), (290, 266), (290, 267), (290, 268), (290, 269), (290, 270), (290, 271), (290, 272), (290, 273), (290, 274), (290, 275), (290, 276), (290, 277), (290, 278), (290, 279), (290, 280), (290, 281), (290, 282), (290, 283), (290, 284), (290, 285), (290, 286), (290, 287), (290, 288), (290, 289), (290, 290), (290, 291), (290, 292), (290, 293), (290, 294), (290, 295), (290, 296), (290, 297), (290, 298), (290, 299), (290, 300), (290, 301), (290, 302), (290, 303), (290, 304), (290, 305), (290, 306), (290, 307), (290, 308), (290, 309), (290, 310), (290, 311), (290, 312), (290, 313), (290, 314), (290, 315), (290, 316), (290, 317), (290, 318), (290, 319), (290, 320), (290, 321),
(290, 322), (290, 323), (290, 324), (290, 326), (291, 196), (291, 198), (291, 199), (291, 200), (291, 201), (291, 202), (291, 203), (291, 204), (291, 205), (291, 206), (291, 207), (291, 208), (291, 209), (291, 210), (291, 211), (291, 212), (291, 213), (291, 214), (291, 215), (291, 216), (291, 217), (291, 218), (291, 219), (291, 220), (291, 221), (291, 222), (291, 223), (291, 224), (291, 225), (291, 226), (291, 227), (291, 228), (291, 229), (291, 230), (291, 231), (291, 232), (291, 233), (291, 234), (291, 235), (291, 236), (291, 237), (291, 238), (291, 239), (291, 240), (291, 241), (291, 242), (291, 243), (291, 244), (291, 245), (291, 246), (291, 247), (291, 248), (291, 249), (291, 250), (291, 251), (291, 252), (291, 253), (291, 254), (291, 255), (291, 256), (291, 257), (291, 258), (291, 259), (291, 260), (291, 261), (291, 262), (291, 263), (291, 264),
(291, 265), (291, 266), (291, 267), (291, 268), (291, 269), (291, 270), (291, 271), (291, 272), (291, 273), (291, 274), (291, 275), (291, 276), (291, 277), (291, 278), (291, 279), (291, 280), (291, 281), (291, 282), (291, 283), (291, 284), (291, 285), (291, 286), (291, 287), (291, 288), (291, 289), (291, 290), (291, 291), (291, 292), (291, 293), (291, 294), (291, 295), (291, 296), (291, 297), (291, 298), (291, 299), (291, 300), (291, 301), (291, 302), (291, 303), (291, 304), (291, 305), (291, 306), (291, 307), (291, 308), (291, 309), (291, 310), (291, 311), (291, 312), (291, 313), (291, 314), (291, 315), (291, 316), (291, 317), (291, 318), (291, 319), (291, 320), (291, 321), (291, 322), (291, 323), (291, 324), (291, 326), (292, 195), (292, 197), (292, 198), (292, 199), (292, 200), (292, 201), (292, 202), (292, 203), (292, 204), (292, 205), (292, 206),
(292, 207), (292, 208), (292, 209), (292, 210), (292, 211), (292, 212), (292, 213), (292, 214), (292, 215), (292, 216), (292, 217), (292, 218), (292, 219), (292, 220), (292, 221), (292, 222), (292, 223), (292, 224), (292, 225), (292, 226), (292, 227), (292, 228), (292, 229), (292, 230), (292, 231), (292, 232), (292, 233), (292, 234), (292, 235), (292, 236), (292, 237), (292, 238), (292, 239), (292, 240), (292, 241), (292, 242), (292, 243), (292, 244), (292, 245), (292, 246), (292, 247), (292, 248), (292, 249), (292, 250), (292, 251), (292, 252), (292, 253), (292, 254), (292, 255), (292, 256), (292, 257), (292, 258), (292, 259), (292, 260), (292, 261), (292, 262), (292, 263), (292, 264), (292, 265), (292, 266), (292, 267), (292, 268), (292, 269), (292, 270), (292, 271), (292, 272), (292, 273), (292, 274), (292, 275), (292, 276), (292, 277), (292, 278),
(292, 279), (292, 280), (292, 281), (292, 282), (292, 283), (292, 284), (292, 285), (292, 286), (292, 287), (292, 288), (292, 289), (292, 290), (292, 291), (292, 292), (292, 293), (292, 294), (292, 295), (292, 296), (292, 297), (292, 298), (292, 299), (292, 300), (292, 301), (292, 302), (292, 303), (292, 304), (292, 305), (292, 306), (292, 307), (292, 308), (292, 309), (292, 310), (292, 311), (292, 312), (292, 313), (292, 314), (292, 315), (292, 316), (292, 317), (292, 318), (292, 319), (292, 320), (292, 321), (292, 322), (292, 323), (292, 324), (292, 326), (293, 195), (293, 197), (293, 198), (293, 199), (293, 200), (293, 201), (293, 202), (293, 203), (293, 204), (293, 205), (293, 206), (293, 207), (293, 208), (293, 209), (293, 210), (293, 211), (293, 212), (293, 213), (293, 214), (293, 215), (293, 216), (293, 217), (293, 218), (293, 219), (293, 220),
(293, 221), (293, 222), (293, 223), (293, 224), (293, 225), (293, 226), (293, 227), (293, 228), (293, 229), (293, 230), (293, 231), (293, 232), (293, 233), (293, 234), (293, 235), (293, 236), (293, 237), (293, 238), (293, 239), (293, 240), (293, 241), (293, 242), (293, 243), (293, 244), (293, 245), (293, 246), (293, 247), (293, 248), (293, 249), (293, 250), (293, 251), (293, 252), (293, 253), (293, 254), (293, 255), (293, 256), (293, 257), (293, 258), (293, 259), (293, 260), (293, 261), (293, 262), (293, 263), (293, 264), (293, 265), (293, 266), (293, 267), (293, 268), (293, 269), (293, 270), (293, 271), (293, 272), (293, 273), (293, 274), (293, 275), (293, 276), (293, 277), (293, 278), (293, 279), (293, 280), (293, 281), (293, 282), (293, 283), (293, 284), (293, 285), (293, 286), (293, 287), (293, 288), (293, 289), (293, 290), (293, 291), (293, 292),
(293, 293), (293, 294), (293, 295), (293, 296), (293, 297), (293, 298), (293, 299), (293, 300), (293, 301), (293, 302), (293, 303), (293, 304), (293, 305), (293, 306), (293, 307), (293, 308), (293, 309), (293, 310), (293, 311), (293, 312), (293, 313), (293, 314), (293, 315), (293, 316), (293, 317), (293, 318), (293, 319), (293, 320), (293, 321), (293, 322), (293, 323), (293, 325), (294, 194), (294, 196), (294, 197), (294, 198), (294, 199), (294, 200), (294, 201), (294, 202), (294, 203), (294, 204), (294, 205), (294, 206), (294, 207), (294, 208), (294, 209), (294, 210), (294, 211), (294, 212), (294, 213), (294, 214), (294, 215), (294, 216), (294, 217), (294, 218), (294, 219), (294, 220), (294, 221), (294, 222), (294, 223), (294, 224), (294, 225), (294, 226), (294, 227), (294, 228), (294, 229), (294, 230), (294, 231), (294, 232), (294, 233), (294, 234),
(294, 235), (294, 236), (294, 237), (294, 238), (294, 239), (294, 240), (294, 241), (294, 242), (294, 243), (294, 244), (294, 245), (294, 246), (294, 247), (294, 248), (294, 249), (294, 250), (294, 251), (294, 252), (294, 253), (294, 254), (294, 255), (294, 256), (294, 257), (294, 258), (294, 259), (294, 260), (294, 261), (294, 262), (294, 263), (294, 264), (294, 265), (294, 266), (294, 267), (294, 268), (294, 269), (294, 270), (294, 271), (294, 272), (294, 273), (294, 274), (294, 275), (294, 276), (294, 277), (294, 278), (294, 279), (294, 280), (294, 281), (294, 282), (294, 283), (294, 284), (294, 285), (294, 286), (294, 287), (294, 288), (294, 289), (294, 290), (294, 291), (294, 292), (294, 293), (294, 294), (294, 295), (294, 296), (294, 297), (294, 298), (294, 299), (294, 300), (294, 301), (294, 302), (294, 303), (294, 304), (294, 305), (294, 306),
(294, 307), (294, 308), (294, 309), (294, 310), (294, 311), (294, 312), (294, 313), (294, 314), (294, 315), (294, 316), (294, 317), (294, 318), (294, 319), (294, 320), (294, 321), (294, 322), (294, 323), (294, 325), (295, 194), (295, 196), (295, 197), (295, 198), (295, 199), (295, 200), (295, 201), (295, 202), (295, 203), (295, 204), (295, 205), (295, 206), (295, 207), (295, 208), (295, 209), (295, 210), (295, 211), (295, 212), (295, 213), (295, 214), (295, 215), (295, 216), (295, 217), (295, 218), (295, 219), (295, 220), (295, 221), (295, 222), (295, 223), (295, 224), (295, 225), (295, 226), (295, 227), (295, 228), (295, 229), (295, 230), (295, 231), (295, 232), (295, 233), (295, 234), (295, 235), (295, 236), (295, 237), (295, 238), (295, 239), (295, 240), (295, 241), (295, 242), (295, 243), (295, 244), (295, 245), (295, 246), (295, 247), (295, 248),
(295, 249), (295, 250), (295, 251), (295, 252), (295, 253), (295, 254), (295, 255), (295, 256), (295, 257), (295, 258), (295, 259), (295, 260), (295, 261), (295, 262), (295, 263), (295, 264), (295, 265), (295, 266), (295, 267), (295, 268), (295, 269), (295, 270), (295, 271), (295, 272), (295, 273), (295, 274), (295, 275), (295, 276), (295, 277), (295, 278), (295, 279), (295, 280), (295, 281), (295, 282), (295, 283), (295, 284), (295, 285), (295, 286), (295, 287), (295, 288), (295, 289), (295, 290), (295, 291), (295, 292), (295, 293), (295, 294), (295, 295), (295, 296), (295, 297), (295, 298), (295, 299), (295, 300), (295, 301), (295, 302), (295, 303), (295, 304), (295, 305), (295, 306), (295, 307), (295, 308), (295, 309), (295, 310), (295, 311), (295, 312), (295, 313), (295, 314), (295, 315), (295, 316), (295, 317), (295, 318), (295, 319), (295, 320),
(295, 321), (295, 322), (295, 323), (295, 325), (296, 193), (296, 194), (296, 195), (296, 196), (296, 197), (296, 198), (296, 199), (296, 200), (296, 201), (296, 202), (296, 203), (296, 204), (296, 205), (296, 206), (296, 207), (296, 208), (296, 209), (296, 210), (296, 211), (296, 212), (296, 213), (296, 214), (296, 215), (296, 216), (296, 217), (296, 218), (296, 219), (296, 220), (296, 221), (296, 222), (296, 223), (296, 224), (296, 225), (296, 226), (296, 227), (296, 228), (296, 229), (296, 230), (296, 231), (296, 232), (296, 233), (296, 234), (296, 235), (296, 236), (296, 237), (296, 238), (296, 239), (296, 240), (296, 241), (296, 242), (296, 243), (296, 244), (296, 245), (296, 246), (296, 247), (296, 248), (296, 249), (296, 250), (296, 251), (296, 252), (296, 253), (296, 254), (296, 255), (296, 256), (296, 257), (296, 258), (296, 259), (296, 260),
(296, 261), (296, 262), (296, 263), (296, 264), (296, 265), (296, 266), (296, 267), (296, 268), (296, 269), (296, 270), (296, 271), (296, 272), (296, 273), (296, 274), (296, 275), (296, 276), (296, 277), (296, 278), (296, 279), (296, 280), (296, 281), (296, 282), (296, 283), (296, 284), (296, 285), (296, 286), (296, 287), (296, 288), (296, 289), (296, 290), (296, 291), (296, 292), (296, 293), (296, 294), (296, 295), (296, 296), (296, 297), (296, 298), (296, 299), (296, 300), (296, 301), (296, 302), (296, 303), (296, 304), (296, 305), (296, 306), (296, 307), (296, 308), (296, 309), (296, 310), (296, 311), (296, 312), (296, 313), (296, 314), (296, 315), (296, 316), (296, 317), (296, 318), (296, 319), (296, 320), (296, 321), (296, 322), (296, 323), (296, 325), (297, 193), (297, 195), (297, 196), (297, 197), (297, 198), (297, 199), (297, 200), (297, 201),
(297, 202), (297, 203), (297, 204), (297, 205), (297, 206), (297, 207), (297, 208), (297, 209), (297, 210), (297, 211), (297, 212), (297, 213), (297, 214), (297, 215), (297, 216), (297, 217), (297, 218), (297, 219), (297, 220), (297, 221), (297, 222), (297, 223), (297, 224), (297, 225), (297, 226), (297, 227), (297, 228), (297, 229), (297, 230), (297, 231), (297, 232), (297, 233), (297, 234), (297, 235), (297, 236), (297, 237), (297, 238), (297, 239), (297, 240), (297, 241), (297, 242), (297, 243), (297, 244), (297, 245), (297, 246), (297, 247), (297, 248), (297, 249), (297, 250), (297, 251), (297, 252), (297, 253), (297, 254), (297, 255), (297, 256), (297, 257), (297, 258), (297, 259), (297, 260), (297, 261), (297, 262), (297, 263), (297, 264), (297, 265), (297, 266), (297, 267), (297, 268), (297, 269), (297, 270), (297, 271), (297, 272), (297, 273),
(297, 274), (297, 275), (297, 276), (297, 277), (297, 278), (297, 279), (297, 280), (297, 281), (297, 282), (297, 283), (297, 284), (297, 285), (297, 286), (297, 287), (297, 288), (297, 289), (297, 290), (297, 291), (297, 292), (297, 293), (297, 294), (297, 295), (297, 296), (297, 297), (297, 298), (297, 299), (297, 300), (297, 301), (297, 302), (297, 303), (297, 304), (297, 305), (297, 306), (297, 307), (297, 308), (297, 309), (297, 310), (297, 311), (297, 312), (297, 313), (297, 314), (297, 315), (297, 316), (297, 317), (297, 318), (297, 319), (297, 320), (297, 321), (297, 322), (297, 324), (298, 193), (298, 195), (298, 196), (298, 197), (298, 198), (298, 199), (298, 200), (298, 201), (298, 202), (298, 203), (298, 204), (298, 205), (298, 206), (298, 207), (298, 208), (298, 209), (298, 210), (298, 211), (298, 212), (298, 213), (298, 214), (298, 215),
(298, 216), (298, 217), (298, 218), (298, 219), (298, 220), (298, 221), (298, 222), (298, 223), (298, 224), (298, 225), (298, 226), (298, 227), (298, 228), (298, 229), (298, 230), (298, 231), (298, 232), (298, 233), (298, 234), (298, 235), (298, 236), (298, 237), (298, 238), (298, 239), (298, 240), (298, 241), (298, 242), (298, 243), (298, 244), (298, 245), (298, 246), (298, 247), (298, 248), (298, 249), (298, 250), (298, 251), (298, 252), (298, 253), (298, 254), (298, 255), (298, 256), (298, 257), (298, 258), (298, 259), (298, 260), (298, 261), (298, 262), (298, 263), (298, 264), (298, 265), (298, 266), (298, 267), (298, 268), (298, 269), (298, 270), (298, 271), (298, 272), (298, 273), (298, 274), (298, 275), (298, 276), (298, 277), (298, 278), (298, 279), (298, 280), (298, 281), (298, 282), (298, 283), (298, 284), (298, 285), (298, 286), (298, 287),
(298, 288), (298, 289), (298, 290), (298, 291), (298, 292), (298, 293), (298, 294), (298, 295), (298, 296), (298, 297), (298, 298), (298, 299), (298, 300), (298, 301), (298, 302), (298, 303), (298, 304), (298, 305), (298, 306), (298, 307), (298, 308), (298, 309), (298, 310), (298, 311), (298, 312), (298, 313), (298, 314), (298, 315), (298, 316), (298, 317), (298, 318), (298, 319), (298, 320), (298, 321), (298, 322), (298, 324), (299, 193), (299, 195), (299, 196), (299, 197), (299, 198), (299, 199), (299, 200), (299, 201), (299, 202), (299, 203), (299, 204), (299, 205), (299, 206), (299, 207), (299, 208), (299, 209), (299, 210), (299, 211), (299, 212), (299, 213), (299, 214), (299, 215), (299, 216), (299, 217), (299, 218), (299, 219), (299, 220), (299, 221), (299, 222), (299, 223), (299, 224), (299, 225), (299, 226), (299, 227), (299, 228), (299, 229),
(299, 230), (299, 231), (299, 232), (299, 233), (299, 234), (299, 235), (299, 236), (299, 237), (299, 238), (299, 239), (299, 240), (299, 241), (299, 242), (299, 243), (299, 244), (299, 245), (299, 246), (299, 247), (299, 248), (299, 249), (299, 250), (299, 251), (299, 252), (299, 253), (299, 254), (299, 255), (299, 256), (299, 257), (299, 258), (299, 259), (299, 260), (299, 261), (299, 262), (299, 263), (299, 264), (299, 265), (299, 266), (299, 267), (299, 268), (299, 269), (299, 270), (299, 271), (299, 272), (299, 273), (299, 274), (299, 275), (299, 276), (299, 277), (299, 278), (299, 279), (299, 280), (299, 281), (299, 282), (299, 283), (299, 284), (299, 285), (299, 286), (299, 287), (299, 288), (299, 289), (299, 290), (299, 291), (299, 292), (299, 293), (299, 294), (299, 295), (299, 296), (299, 297), (299, 298), (299, 299), (299, 300), (299, 301),
(299, 302), (299, 303), (299, 304), (299, 305), (299, 306), (299, 307), (299, 308), (299, 309), (299, 310), (299, 311), (299, 312), (299, 313), (299, 314), (299, 315), (299, 316), (299, 317), (299, 318), (299, 319), (299, 320), (299, 321), (299, 322), (299, 324), (300, 193), (300, 195), (300, 196), (300, 197), (300, 198), (300, 199), (300, 200), (300, 201), (300, 202), (300, 203), (300, 204), (300, 205), (300, 206), (300, 207), (300, 208), (300, 209), (300, 210), (300, 211), (300, 212), (300, 213), (300, 214), (300, 215), (300, 216), (300, 217), (300, 218), (300, 219), (300, 220), (300, 221), (300, 222), (300, 223), (300, 224), (300, 225), (300, 226), (300, 227), (300, 228), (300, 229), (300, 230), (300, 231), (300, 232), (300, 233), (300, 234), (300, 235), (300, 236), (300, 237), (300, 238), (300, 239), (300, 240), (300, 241), (300, 242), (300, 243),
(300, 244), (300, 245), (300, 246), (300, 247), (300, 248), (300, 249), (300, 250), (300, 251), (300, 252), (300, 253), (300, 254), (300, 255), (300, 256), (300, 257), (300, 258), (300, 259), (300, 260), (300, 261), (300, 262), (300, 263), (300, 264), (300, 265), (300, 266), (300, 267), (300, 268), (300, 269), (300, 270), (300, 271), (300, 272), (300, 273), (300, 274), (300, 275), (300, 276), (300, 277), (300, 278), (300, 279), (300, 280), (300, 281), (300, 282), (300, 283), (300, 284), (300, 285), (300, 286), (300, 287), (300, 288), (300, 289), (300, 290), (300, 291), (300, 292), (300, 293), (300, 294), (300, 295), (300, 296), (300, 297), (300, 298), (300, 299), (300, 300), (300, 301), (300, 302), (300, 303), (300, 304), (300, 305), (300, 306), (300, 307), (300, 308), (300, 309), (300, 310), (300, 311), (300, 312), (300, 313), (300, 314), (300, 315),
(300, 316), (300, 317), (300, 318), (300, 319), (300, 320), (300, 321), (300, 322), (300, 323), (300, 324), (301, 193), (301, 195), (301, 196), (301, 197), (301, 198), (301, 199), (301, 200), (301, 201), (301, 202), (301, 203), (301, 204), (301, 205), (301, 206), (301, 207), (301, 208), (301, 209), (301, 210), (301, 211), (301, 212), (301, 213), (301, 214), (301, 215), (301, 216), (301, 217), (301, 218), (301, 219), (301, 220), (301, 221), (301, 222), (301, 223), (301, 224), (301, 225), (301, 226), (301, 227), (301, 228), (301, 229), (301, 230), (301, 231), (301, 232), (301, 233), (301, 234), (301, 235), (301, 236), (301, 237), (301, 238), (301, 239), (301, 240), (301, 241), (301, 242), (301, 243), (301, 244), (301, 245), (301, 246), (301, 247), (301, 248), (301, 249), (301, 250), (301, 251), (301, 252), (301, 253), (301, 254), (301, 255), (301, 256),
(301, 257), (301, 258), (301, 259), (301, 260), (301, 261), (301, 262), (301, 263), (301, 264), (301, 265), (301, 266), (301, 267), (301, 268), (301, 269), (301, 270), (301, 271), (301, 272), (301, 273), (301, 274), (301, 275), (301, 276), (301, 277), (301, 278), (301, 279), (301, 280), (301, 281), (301, 282), (301, 283), (301, 284), (301, 285), (301, 286), (301, 287), (301, 288), (301, 289), (301, 290), (301, 291), (301, 292), (301, 293), (301, 294), (301, 295), (301, 296), (301, 297), (301, 298), (301, 299), (301, 300), (301, 301), (301, 302), (301, 303), (301, 304), (301, 305), (301, 306), (301, 307), (301, 308), (301, 309), (301, 310), (301, 311), (301, 312), (301, 313), (301, 314), (301, 315), (301, 316), (301, 317), (301, 318), (301, 319), (301, 320), (301, 321), (301, 323), (302, 193), (302, 195), (302, 196), (302, 197), (302, 198), (302, 199),
(302, 200), (302, 201), (302, 202), (302, 203), (302, 204), (302, 205), (302, 206), (302, 207), (302, 208), (302, 209), (302, 210), (302, 211), (302, 212), (302, 213), (302, 214), (302, 215), (302, 216), (302, 217), (302, 218), (302, 219), (302, 220), (302, 221), (302, 222), (302, 223), (302, 224), (302, 225), (302, 226), (302, 227), (302, 228), (302, 229), (302, 230), (302, 231), (302, 232), (302, 233), (302, 234), (302, 235), (302, 236), (302, 237), (302, 238), (302, 239), (302, 240), (302, 241), (302, 242), (302, 243), (302, 244), (302, 245), (302, 246), (302, 247), (302, 248), (302, 249), (302, 250), (302, 251), (302, 252), (302, 253), (302, 254), (302, 255), (302, 256), (302, 257), (302, 258), (302, 259), (302, 260), (302, 261), (302, 262), (302, 263), (302, 264), (302, 265), (302, 266), (302, 267), (302, 268), (302, 269), (302, 270), (302, 271),
(302, 272), (302, 273), (302, 274), (302, 275), (302, 276), (302, 277), (302, 278), (302, 279), (302, 280), (302, 281), (302, 282), (302, 283), (302, 284), (302, 285), (302, 286), (302, 287), (302, 288), (302, 289), (302, 290), (302, 291), (302, 292), (302, 293), (302, 294), (302, 295), (302, 296), (302, 297), (302, 298), (302, 299), (302, 300), (302, 301), (302, 302), (302, 303), (302, 304), (302, 305), (302, 306), (302, 307), (302, 308), (302, 309), (302, 310), (302, 311), (302, 312), (302, 313), (302, 314), (302, 315), (302, 316), (302, 317), (302, 318), (302, 319), (302, 320), (302, 321), (302, 323), (303, 193), (303, 195), (303, 196), (303, 197), (303, 198), (303, 199), (303, 200), (303, 201), (303, 202), (303, 203), (303, 204), (303, 205), (303, 206), (303, 207), (303, 208), (303, 209), (303, 210), (303, 211), (303, 212), (303, 213), (303, 214),
(303, 215), (303, 216), (303, 217), (303, 218), (303, 219), (303, 220), (303, 221), (303, 222), (303, 223), (303, 224), (303, 225), (303, 226), (303, 227), (303, 228), (303, 229), (303, 230), (303, 231), (303, 232), (303, 233), (303, 234), (303, 235), (303, 236), (303, 237), (303, 238), (303, 239), (303, 240), (303, 241), (303, 242), (303, 243), (303, 244), (303, 245), (303, 246), (303, 247), (303, 248), (303, 249), (303, 250), (303, 251), (303, 252), (303, 253), (303, 254), (303, 255), (303, 256), (303, 257), (303, 258), (303, 259), (303, 260), (303, 261), (303, 262), (303, 263), (303, 264), (303, 265), (303, 266), (303, 267), (303, 268), (303, 269), (303, 270), (303, 271), (303, 272), (303, 273), (303, 274), (303, 275), (303, 276), (303, 277), (303, 278), (303, 279), (303, 280), (303, 281), (303, 282), (303, 283), (303, 284), (303, 285), (303, 286),
(303, 287), (303, 288), (303, 289), (303, 290), (303, 291), (303, 292), (303, 293), (303, 294), (303, 295), (303, 296), (303, 297), (303, 298), (303, 299), (303, 300), (303, 301), (303, 302), (303, 303), (303, 304), (303, 305), (303, 306), (303, 307), (303, 308), (303, 309), (303, 310), (303, 311), (303, 312), (303, 313), (303, 314), (303, 315), (303, 316), (303, 317), (303, 318), (303, 319), (303, 320), (303, 321), (303, 322), (303, 323), (304, 193), (304, 195), (304, 196), (304, 197), (304, 198), (304, 199), (304, 200), (304, 201), (304, 202), (304, 203), (304, 204), (304, 205), (304, 206), (304, 207), (304, 208), (304, 209), (304, 210), (304, 211), (304, 212), (304, 213), (304, 214), (304, 215), (304, 216), (304, 217), (304, 218), (304, 219), (304, 220), (304, 221), (304, 222), (304, 223), (304, 224), (304, 225), (304, 226), (304, 227), (304, 228),
(304, 229), (304, 230), (304, 231), (304, 232), (304, 233), (304, 234), (304, 235), (304, 236), (304, 237), (304, 238), (304, 239), (304, 240), (304, 241), (304, 242), (304, 243), (304, 244), (304, 245), (304, 246), (304, 247), (304, 248), (304, 249), (304, 250), (304, 251), (304, 252), (304, 253), (304, 254), (304, 255), (304, 256), (304, 257), (304, 258), (304, 259), (304, 260), (304, 261), (304, 262), (304, 263), (304, 264), (304, 265), (304, 266), (304, 267), (304, 268), (304, 269), (304, 270), (304, 271), (304, 272), (304, 273), (304, 274), (304, 275), (304, 276), (304, 277), (304, 278), (304, 279), (304, 280), (304, 281), (304, 282), (304, 283), (304, 284), (304, 285), (304, 286), (304, 287), (304, 288), (304, 289), (304, 290), (304, 291), (304, 292), (304, 293), (304, 294), (304, 295), (304, 296), (304, 297), (304, 298), (304, 299), (304, 300),
(304, 301), (304, 302), (304, 303), (304, 304), (304, 305), (304, 306), (304, 307), (304, 308), (304, 309), (304, 310), (304, 311), (304, 312), (304, 313), (304, 314), (304, 315), (304, 316), (304, 317), (304, 318), (304, 319), (304, 320), (304, 322), (305, 193), (305, 195), (305, 196), (305, 197), (305, 198), (305, 199), (305, 200), (305, 201), (305, 202), (305, 203), (305, 204), (305, 205), (305, 206), (305, 207), (305, 208), (305, 209), (305, 210), (305, 211), (305, 212), (305, 213), (305, 214), (305, 215), (305, 216), (305, 217), (305, 218), (305, 219), (305, 220), (305, 221), (305, 222), (305, 223), (305, 224), (305, 225), (305, 226), (305, 227), (305, 228), (305, 229), (305, 230), (305, 231), (305, 232), (305, 233), (305, 234), (305, 235), (305, 236), (305, 237), (305, 238), (305, 239), (305, 240), (305, 241), (305, 242), (305, 243), (305, 244),
(305, 245), (305, 246), (305, 247), (305, 248), (305, 249), (305, 250), (305, 251), (305, 252), (305, 253), (305, 254), (305, 255), (305, 256), (305, 257), (305, 258), (305, 259), (305, 260), (305, 261), (305, 262), (305, 263), (305, 264), (305, 265), (305, 266), (305, 267), (305, 268), (305, 269), (305, 270), (305, 271), (305, 272), (305, 273), (305, 274), (305, 275), (305, 276), (305, 277), (305, 278), (305, 279), (305, 280), (305, 281), (305, 282), (305, 283), (305, 284), (305, 285), (305, 286), (305, 287), (305, 288), (305, 289), (305, 290), (305, 291), (305, 292), (305, 293), (305, 294), (305, 295), (305, 296), (305, 297), (305, 298), (305, 299), (305, 300), (305, 301), (305, 302), (305, 303), (305, 304), (305, 305), (305, 306), (305, 307), (305, 308), (305, 309), (305, 310), (305, 311), (305, 312), (305, 313), (305, 314), (305, 315), (305, 316),
(305, 317), (305, 318), (305, 319), (305, 320), (305, 322), (306, 193), (306, 195), (306, 196), (306, 197), (306, 198), (306, 199), (306, 200), (306, 201), (306, 202), (306, 203), (306, 204), (306, 205), (306, 206), (306, 207), (306, 208), (306, 209), (306, 210), (306, 211), (306, 212), (306, 213), (306, 214), (306, 215), (306, 216), (306, 217), (306, 218), (306, 219), (306, 220), (306, 221), (306, 222), (306, 223), (306, 224), (306, 225), (306, 226), (306, 227), (306, 228), (306, 229), (306, 230), (306, 231), (306, 232), (306, 233), (306, 234), (306, 235), (306, 236), (306, 237), (306, 238), (306, 239), (306, 240), (306, 241), (306, 242), (306, 243), (306, 244), (306, 245), (306, 246), (306, 247), (306, 248), (306, 249), (306, 250), (306, 251), (306, 252), (306, 253), (306, 254), (306, 255), (306, 256), (306, 257), (306, 258), (306, 259), (306, 260),
(306, 261), (306, 262), (306, 263), (306, 264), (306, 265), (306, 266), (306, 267), (306, 268), (306, 269), (306, 270), (306, 271), (306, 272), (306, 273), (306, 274), (306, 275), (306, 276), (306, 277), (306, 278), (306, 279), (306, 280), (306, 281), (306, 282), (306, 283), (306, 284), (306, 285), (306, 286), (306, 287), (306, 288), (306, 289), (306, 290), (306, 291), (306, 292), (306, 293), (306, 294), (306, 295), (306, 296), (306, 297), (306, 298), (306, 299), (306, 300), (306, 301), (306, 302), (306, 303), (306, 304), (306, 305), (306, 306), (306, 307), (306, 308), (306, 309), (306, 310), (306, 311), (306, 312), (306, 313), (306, 314), (306, 315), (306, 316), (306, 317), (306, 318), (306, 319), (306, 321), (307, 193), (307, 195), (307, 196), (307, 197), (307, 198), (307, 199), (307, 200), (307, 201), (307, 202), (307, 203), (307, 204), (307, 205),
(307, 206), (307, 207), (307, 208), (307, 209), (307, 210), (307, 211), (307, 212), (307, 213), (307, 214), (307, 215), (307, 216), (307, 217), (307, 218), (307, 219), (307, 220), (307, 221), (307, 222), (307, 223), (307, 224), (307, 225), (307, 226), (307, 227), (307, 228), (307, 229), (307, 230), (307, 231), (307, 232), (307, 233), (307, 234), (307, 235), (307, 236), (307, 237), (307, 238), (307, 239), (307, 240), (307, 241), (307, 242), (307, 243), (307, 244), (307, 245), (307, 246), (307, 247), (307, 248), (307, 249), (307, 250), (307, 251), (307, 252), (307, 253), (307, 254), (307, 255), (307, 256), (307, 257), (307, 258), (307, 259), (307, 260), (307, 261), (307, 262), (307, 263), (307, 264), (307, 265), (307, 266), (307, 267), (307, 268), (307, 269), (307, 270), (307, 271), (307, 272), (307, 273), (307, 274), (307, 275), (307, 276), (307, 277),
(307, 278), (307, 279), (307, 280), (307, 281), (307, 282), (307, 283), (307, 284), (307, 285), (307, 286), (307, 287), (307, 288), (307, 289), (307, 290), (307, 291), (307, 292), (307, 293), (307, 294), (307, 295), (307, 296), (307, 297), (307, 298), (307, 299), (307, 300), (307, 301), (307, 302), (307, 303), (307, 304), (307, 305), (307, 306), (307, 307), (307, 308), (307, 309), (307, 310), (307, 311), (307, 312), (307, 313), (307, 314), (307, 315), (307, 316), (307, 317), (307, 318), (307, 319), (307, 321), (308, 193), (308, 195), (308, 196), (308, 197), (308, 198), (308, 199), (308, 200), (308, 201), (308, 202), (308, 203), (308, 204), (308, 205), (308, 206), (308, 207), (308, 208), (308, 209), (308, 210), (308, 211), (308, 212), (308, 213), (308, 214), (308, 215), (308, 216), (308, 217), (308, 218), (308, 219), (308, 220), (308, 221), (308, 222),
(308, 223), (308, 224), (308, 225), (308, 226), (308, 227), (308, 228), (308, 229), (308, 230), (308, 231), (308, 232), (308, 233), (308, 234), (308, 235), (308, 236), (308, 237), (308, 238), (308, 239), (308, 240), (308, 241), (308, 242), (308, 243), (308, 244), (308, 245), (308, 246), (308, 247), (308, 248), (308, 249), (308, 250), (308, 251), (308, 252), (308, 253), (308, 254), (308, 255), (308, 256), (308, 257), (308, 258), (308, 259), (308, 260), (308, 261), (308, 262), (308, 263), (308, 264), (308, 265), (308, 266), (308, 267), (308, 268), (308, 269), (308, 270), (308, 271), (308, 272), (308, 273), (308, 274), (308, 275), (308, 276), (308, 277), (308, 278), (308, 279), (308, 280), (308, 281), (308, 282), (308, 283), (308, 284), (308, 285), (308, 286), (308, 287), (308, 288), (308, 289), (308, 290), (308, 291), (308, 292), (308, 293), (308, 294),
(308, 295), (308, 296), (308, 297), (308, 298), (308, 299), (308, 300), (308, 301), (308, 302), (308, 303), (308, 304), (308, 305), (308, 306), (308, 307), (308, 308), (308, 309), (308, 310), (308, 311), (308, 312), (308, 313), (308, 314), (308, 315), (308, 316), (308, 317), (308, 318), (308, 319), (308, 321), (309, 193), (309, 195), (309, 196), (309, 197), (309, 198), (309, 199), (309, 200), (309, 201), (309, 202), (309, 203), (309, 204), (309, 205), (309, 206), (309, 207), (309, 208), (309, 209), (309, 210), (309, 211), (309, 212), (309, 213), (309, 214), (309, 215), (309, 216), (309, 217), (309, 218), (309, 219), (309, 220), (309, 221), (309, 222), (309, 223), (309, 224), (309, 225), (309, 226), (309, 227), (309, 228), (309, 229), (309, 230), (309, 231), (309, 232), (309, 233), (309, 234), (309, 235), (309, 236), (309, 237), (309, 238), (309, 239),
(309, 240), (309, 241), (309, 242), (309, 243), (309, 244), (309, 245), (309, 246), (309, 247), (309, 248), (309, 249), (309, 250), (309, 251), (309, 252), (309, 253), (309, 254), (309, 255), (309, 256), (309, 257), (309, 258), (309, 259), (309, 260), (309, 261), (309, 262), (309, 263), (309, 264), (309, 265), (309, 266), (309, 267), (309, 268), (309, 269), (309, 270), (309, 271), (309, 272), (309, 273), (309, 274), (309, 275), (309, 276), (309, 277), (309, 278), (309, 279), (309, 280), (309, 281), (309, 282), (309, 283), (309, 284), (309, 285), (309, 286), (309, 287), (309, 288), (309, 289), (309, 290), (309, 291), (309, 292), (309, 293), (309, 294), (309, 295), (309, 296), (309, 297), (309, 298), (309, 299), (309, 300), (309, 301), (309, 302), (309, 303), (309, 304), (309, 305), (309, 306), (309, 307), (309, 308), (309, 309), (309, 310), (309, 311),
(309, 312), (309, 313), (309, 314), (309, 315), (309, 316), (309, 317), (309, 318), (309, 320), (310, 193), (310, 195), (310, 196), (310, 197), (310, 198), (310, 199), (310, 200), (310, 201), (310, 202), (310, 203), (310, 204), (310, 205), (310, 206), (310, 207), (310, 208), (310, 209), (310, 210), (310, 211), (310, 212), (310, 213), (310, 214), (310, 215), (310, 216), (310, 217), (310, 218), (310, 219), (310, 220), (310, 221), (310, 222), (310, 223), (310, 224), (310, 225), (310, 226), (310, 227), (310, 228), (310, 229), (310, 230), (310, 231), (310, 232), (310, 233), (310, 234), (310, 235), (310, 236), (310, 237), (310, 238), (310, 239), (310, 240), (310, 241), (310, 242), (310, 243), (310, 244), (310, 245), (310, 246), (310, 247), (310, 248), (310, 249), (310, 250), (310, 251), (310, 252), (310, 253), (310, 254), (310, 255), (310, 256), (310, 257),
(310, 258), (310, 259), (310, 260), (310, 261), (310, 262), (310, 263), (310, 264), (310, 265), (310, 266), (310, 267), (310, 268), (310, 269), (310, 270), (310, 271), (310, 272), (310, 273), (310, 274), (310, 275), (310, 276), (310, 277), (310, 278), (310, 279), (310, 280), (310, 281), (310, 282), (310, 283), (310, 284), (310, 285), (310, 286), (310, 287), (310, 288), (310, 289), (310, 290), (310, 291), (310, 292), (310, 293), (310, 294), (310, 295), (310, 296), (310, 297), (310, 298), (310, 299), (310, 300), (310, 301), (310, 302), (310, 303), (310, 304), (310, 305), (310, 306), (310, 307), (310, 308), (310, 309), (310, 310), (310, 311), (310, 312), (310, 313), (310, 314), (310, 315), (310, 316), (310, 317), (310, 318), (310, 320), (311, 193), (311, 195), (311, 196), (311, 197), (311, 198), (311, 199), (311, 200), (311, 201), (311, 202), (311, 203),
(311, 204), (311, 205), (311, 206), (311, 207), (311, 208), (311, 209), (311, 210), (311, 211), (311, 212), (311, 213), (311, 214), (311, 215), (311, 216), (311, 217), (311, 218), (311, 219), (311, 220), (311, 221), (311, 222), (311, 223), (311, 224), (311, 225), (311, 226), (311, 227), (311, 228), (311, 229), (311, 230), (311, 231), (311, 232), (311, 233), (311, 234), (311, 235), (311, 236), (311, 237), (311, 238), (311, 239), (311, 240), (311, 241), (311, 242), (311, 243), (311, 244), (311, 245), (311, 246), (311, 247), (311, 248), (311, 249), (311, 250), (311, 251), (311, 252), (311, 253), (311, 254), (311, 255), (311, 256), (311, 257), (311, 258), (311, 259), (311, 260), (311, 261), (311, 262), (311, 263), (311, 264), (311, 265), (311, 266), (311, 267), (311, 268), (311, 269), (311, 270), (311, 271), (311, 272), (311, 273), (311, 274), (311, 275),
(311, 276), (311, 277), (311, 278), (311, 279), (311, 280), (311, 281), (311, 282), (311, 283), (311, 284), (311, 285), (311, 286), (311, 287), (311, 288), (311, 289), (311, 290), (311, 291), (311, 292), (311, 293), (311, 294), (311, 295), (311, 296), (311, 297), (311, 298), (311, 299), (311, 300), (311, 301), (311, 302), (311, 303), (311, 304), (311, 305), (311, 306), (311, 307), (311, 308), (311, 309), (311, 310), (311, 311), (311, 312), (311, 313), (311, 314), (311, 315), (311, 316), (311, 317), (311, 319), (312, 193), (312, 195), (312, 196), (312, 197), (312, 198), (312, 199), (312, 200), (312, 201), (312, 202), (312, 203), (312, 204), (312, 205), (312, 206), (312, 207), (312, 208), (312, 209), (312, 210), (312, 211), (312, 212), (312, 213), (312, 214), (312, 215), (312, 216), (312, 217), (312, 218), (312, 219), (312, 220), (312, 221), (312, 222),
(312, 223), (312, 224), (312, 225), (312, 226), (312, 227), (312, 228), (312, 229), (312, 230), (312, 231), (312, 232), (312, 233), (312, 234), (312, 235), (312, 236), (312, 237), (312, 238), (312, 239), (312, 240), (312, 241), (312, 242), (312, 243), (312, 244), (312, 245), (312, 246), (312, 247), (312, 248), (312, 249), (312, 250), (312, 251), (312, 252), (312, 253), (312, 254), (312, 255), (312, 256), (312, 257), (312, 258), (312, 259), (312, 260), (312, 261), (312, 262), (312, 263), (312, 264), (312, 265), (312, 266), (312, 267), (312, 268), (312, 269), (312, 270), (312, 271), (312, 272), (312, 273), (312, 274), (312, 275), (312, 276), (312, 277), (312, 278), (312, 279), (312, 280), (312, 281), (312, 282), (312, 283), (312, 284), (312, 285), (312, 286), (312, 287), (312, 288), (312, 289), (312, 290), (312, 291), (312, 292), (312, 293), (312, 294),
(312, 295), (312, 296), (312, 297), (312, 298), (312, 299), (312, 300), (312, 301), (312, 302), (312, 303), (312, 304), (312, 305), (312, 306), (312, 307), (312, 308), (312, 309), (312, 310), (312, 311), (312, 312), (312, 313), (312, 314), (312, 315), (312, 316), (312, 317), (312, 319), (313, 193), (313, 195), (313, 196), (313, 197), (313, 198), (313, 199), (313, 200), (313, 201), (313, 202), (313, 203), (313, 204), (313, 205), (313, 206), (313, 207), (313, 208), (313, 209), (313, 210), (313, 211), (313, 212), (313, 213), (313, 214), (313, 215), (313, 216), (313, 217), (313, 218), (313, 219), (313, 220), (313, 221), (313, 222), (313, 223), (313, 224), (313, 225), (313, 226), (313, 227), (313, 228), (313, 229), (313, 230), (313, 231), (313, 232), (313, 233), (313, 234), (313, 235), (313, 236), (313, 237), (313, 238), (313, 239), (313, 240), (313, 241),
(313, 242), (313, 243), (313, 244), (313, 245), (313, 246), (313, 247), (313, 248), (313, 249), (313, 250), (313, 251), (313, 252), (313, 253), (313, 254), (313, 255), (313, 256), (313, 257), (313, 258), (313, 259), (313, 260), (313, 261), (313, 262), (313, 263), (313, 264), (313, 265), (313, 266), (313, 267), (313, 268), (313, 269), (313, 270), (313, 271), (313, 272), (313, 273), (313, 274), (313, 275), (313, 276), (313, 277), (313, 278), (313, 279), (313, 280), (313, 281), (313, 282), (313, 283), (313, 284), (313, 285), (313, 286), (313, 287), (313, 288), (313, 289), (313, 290), (313, 291), (313, 292), (313, 293), (313, 294), (313, 295), (313, 296), (313, 297), (313, 298), (313, 299), (313, 300), (313, 301), (313, 302), (313, 303), (313, 304), (313, 305), (313, 306), (313, 307), (313, 308), (313, 309), (313, 310), (313, 311), (313, 312), (313, 313),
(313, 314), (313, 315), (313, 316), (313, 318), (314, 192), (314, 193), (314, 194), (314, 195), (314, 196), (314, 197), (314, 198), (314, 199), (314, 200), (314, 201), (314, 202), (314, 203), (314, 204), (314, 205), (314, 206), (314, 207), (314, 208), (314, 209), (314, 210), (314, 211), (314, 212), (314, 213), (314, 214), (314, 215), (314, 216), (314, 217), (314, 218), (314, 219), (314, 220), (314, 221), (314, 222), (314, 223), (314, 224), (314, 225), (314, 226), (314, 227), (314, 228), (314, 229), (314, 230), (314, 231), (314, 232), (314, 233), (314, 234), (314, 235), (314, 236), (314, 237), (314, 238), (314, 239), (314, 240), (314, 241), (314, 242), (314, 243), (314, 244), (314, 245), (314, 246), (314, 247), (314, 248), (314, 249), (314, 250), (314, 251), (314, 252), (314, 253), (314, 254), (314, 255), (314, 256), (314, 257), (314, 258), (314, 259),
(314, 260), (314, 261), (314, 262), (314, 263), (314, 264), (314, 265), (314, 266), (314, 267), (314, 268), (314, 269), (314, 270), (314, 271), (314, 272), (314, 273), (314, 274), (314, 275), (314, 276), (314, 277), (314, 278), (314, 279), (314, 280), (314, 281), (314, 282), (314, 283), (314, 284), (314, 285), (314, 286), (314, 287), (314, 288), (314, 289), (314, 290), (314, 291), (314, 292), (314, 293), (314, 294), (314, 295), (314, 296), (314, 297), (314, 298), (314, 299), (314, 300), (314, 301), (314, 302), (314, 303), (314, 304), (314, 305), (314, 306), (314, 307), (314, 308), (314, 309), (314, 310), (314, 311), (314, 312), (314, 313), (314, 314), (314, 315), (314, 316), (314, 318), (315, 192), (315, 194), (315, 195), (315, 196), (315, 197), (315, 198), (315, 199), (315, 200), (315, 201), (315, 202), (315, 203), (315, 204), (315, 205), (315, 206),
(315, 207), (315, 208), (315, 209), (315, 210), (315, 211), (315, 212), (315, 213), (315, 214), (315, 215), (315, 216), (315, 217), (315, 218), (315, 219), (315, 220), (315, 221), (315, 222), (315, 223), (315, 224), (315, 225), (315, 226), (315, 227), (315, 228), (315, 229), (315, 230), (315, 231), (315, 232), (315, 233), (315, 234), (315, 235), (315, 236), (315, 237), (315, 238), (315, 239), (315, 240), (315, 241), (315, 242), (315, 243), (315, 244), (315, 245), (315, 246), (315, 247), (315, 248), (315, 249), (315, 250), (315, 251), (315, 252), (315, 253), (315, 254), (315, 255), (315, 256), (315, 257), (315, 258), (315, 259), (315, 260), (315, 261), (315, 262), (315, 263), (315, 264), (315, 265), (315, 266), (315, 267), (315, 268), (315, 269), (315, 270), (315, 271), (315, 272), (315, 273), (315, 274), (315, 275), (315, 276), (315, 277), (315, 278),
(315, 279), (315, 280), (315, 281), (315, 282), (315, 283), (315, 284), (315, 285), (315, 286), (315, 287), (315, 288), (315, 289), (315, 290), (315, 291), (315, 292), (315, 293), (315, 294), (315, 295), (315, 296), (315, 297), (315, 298), (315, 299), (315, 300), (315, 301), (315, 302), (315, 303), (315, 304), (315, 305), (315, 306), (315, 307), (315, 308), (315, 309), (315, 310), (315, 311), (315, 312), (315, 313), (315, 314), (315, 315), (315, 316), (315, 318), (316, 192), (316, 194), (316, 195), (316, 196), (316, 197), (316, 198), (316, 199), (316, 200), (316, 201), (316, 202), (316, 203), (316, 204), (316, 205), (316, 206), (316, 207), (316, 208), (316, 209), (316, 210), (316, 211), (316, 212), (316, 213), (316, 214), (316, 215), (316, 216), (316, 217), (316, 218), (316, 219), (316, 220), (316, 221), (316, 222), (316, 223), (316, 224), (316, 225),
(316, 226), (316, 227), (316, 228), (316, 229), (316, 230), (316, 231), (316, 232), (316, 233), (316, 234), (316, 235), (316, 236), (316, 237), (316, 238), (316, 239), (316, 240), (316, 241), (316, 242), (316, 243), (316, 244), (316, 245), (316, 246), (316, 247), (316, 248), (316, 249), (316, 250), (316, 251), (316, 252), (316, 253), (316, 254), (316, 255), (316, 256), (316, 257), (316, 258), (316, 259), (316, 260), (316, 261), (316, 262), (316, 263), (316, 264), (316, 265), (316, 266), (316, 267), (316, 268), (316, 269), (316, 270), (316, 271), (316, 272), (316, 273), (316, 274), (316, 275), (316, 276), (316, 277), (316, 278), (316, 279), (316, 280), (316, 281), (316, 282), (316, 283), (316, 284), (316, 285), (316, 286), (316, 287), (316, 288), (316, 289), (316, 290), (316, 291), (316, 292), (316, 293), (316, 294), (316, 295), (316, 296), (316, 297),
(316, 298), (316, 299), (316, 300), (316, 301), (316, 302), (316, 303), (316, 304), (316, 305), (316, 306), (316, 307), (316, 308), (316, 309), (316, 310), (316, 311), (316, 312), (316, 313), (316, 314), (316, 315), (316, 317), (317, 192), (317, 194), (317, 195), (317, 196), (317, 197), (317, 198), (317, 199), (317, 200), (317, 201), (317, 202), (317, 203), (317, 204), (317, 205), (317, 206), (317, 207), (317, 208), (317, 209), (317, 210), (317, 211), (317, 212), (317, 213), (317, 214), (317, 215), (317, 216), (317, 217), (317, 218), (317, 219), (317, 220), (317, 221), (317, 222), (317, 223), (317, 224), (317, 225), (317, 226), (317, 227), (317, 228), (317, 229), (317, 230), (317, 231), (317, 232), (317, 233), (317, 234), (317, 235), (317, 236), (317, 237), (317, 238), (317, 239), (317, 240), (317, 241), (317, 242), (317, 243), (317, 244), (317, 245),
(317, 246), (317, 247), (317, 248), (317, 249), (317, 250), (317, 251), (317, 252), (317, 253), (317, 254), (317, 255), (317, 256), (317, 257), (317, 258), (317, 259), (317, 260), (317, 261), (317, 262), (317, 263), (317, 264), (317, 265), (317, 266), (317, 267), (317, 268), (317, 269), (317, 270), (317, 271), (317, 272), (317, 273), (317, 274), (317, 275), (317, 276), (317, 277), (317, 278), (317, 279), (317, 280), (317, 281), (317, 282), (317, 283), (317, 284), (317, 285), (317, 286), (317, 287), (317, 288), (317, 289), (317, 290), (317, 291), (317, 292), (317, 293), (317, 294), (317, 295), (317, 296), (317, 297), (317, 298), (317, 299), (317, 300), (317, 301), (317, 302), (317, 303), (317, 304), (317, 305), (317, 306), (317, 307), (317, 308), (317, 309), (317, 310), (317, 311), (317, 312), (317, 313), (317, 314), (317, 315), (317, 317), (318, 192),
(318, 194), (318, 195), (318, 196), (318, 197), (318, 198), (318, 199), (318, 200), (318, 201), (318, 202), (318, 203), (318, 204), (318, 205), (318, 206), (318, 207), (318, 208), (318, 209), (318, 210), (318, 211), (318, 212), (318, 213), (318, 214), (318, 215), (318, 216), (318, 217), (318, 218), (318, 219), (318, 220), (318, 221), (318, 222), (318, 223), (318, 224), (318, 225), (318, 226), (318, 227), (318, 228), (318, 229), (318, 230), (318, 231), (318, 232), (318, 233), (318, 234), (318, 235), (318, 236), (318, 237), (318, 238), (318, 239), (318, 240), (318, 241), (318, 242), (318, 243), (318, 244), (318, 245), (318, 246), (318, 247), (318, 248), (318, 249), (318, 250), (318, 251), (318, 252), (318, 253), (318, 254), (318, 255), (318, 256), (318, 257), (318, 258), (318, 259), (318, 260), (318, 261), (318, 262), (318, 263), (318, 264), (318, 265),
(318, 266), (318, 267), (318, 268), (318, 269), (318, 270), (318, 271), (318, 272), (318, 273), (318, 274), (318, 275), (318, 276), (318, 277), (318, 278), (318, 279), (318, 280), (318, 281), (318, 282), (318, 283), (318, 284), (318, 285), (318, 286), (318, 287), (318, 288), (318, 289), (318, 290), (318, 291), (318, 292), (318, 293), (318, 294), (318, 295), (318, 296), (318, 297), (318, 298), (318, 299), (318, 300), (318, 301), (318, 302), (318, 303), (318, 304), (318, 305), (318, 306), (318, 307), (318, 308), (318, 309), (318, 310), (318, 311), (318, 312), (318, 313), (318, 314), (318, 315), (318, 317), (319, 192), (319, 194), (319, 195), (319, 196), (319, 197), (319, 198), (319, 199), (319, 200), (319, 201), (319, 202), (319, 203), (319, 204), (319, 205), (319, 206), (319, 207), (319, 208), (319, 209), (319, 210), (319, 211), (319, 212), (319, 213),
(319, 214), (319, 215), (319, 216), (319, 217), (319, 218), (319, 219), (319, 220), (319, 221), (319, 222), (319, 223), (319, 224), (319, 225), (319, 226), (319, 227), (319, 228), (319, 229), (319, 230), (319, 231), (319, 232), (319, 233), (319, 234), (319, 235), (319, 236), (319, 237), (319, 238), (319, 239), (319, 240), (319, 241), (319, 242), (319, 243), (319, 244), (319, 245), (319, 246), (319, 247), (319, 248), (319, 249), (319, 250), (319, 251), (319, 252), (319, 253), (319, 254), (319, 255), (319, 256), (319, 257), (319, 258), (319, 259), (319, 260), (319, 261), (319, 262), (319, 263), (319, 264), (319, 265), (319, 266), (319, 267), (319, 268), (319, 269), (319, 270), (319, 271), (319, 272), (319, 273), (319, 274), (319, 275), (319, 276), (319, 277), (319, 278), (319, 279), (319, 280), (319, 281), (319, 282), (319, 283), (319, 284), (319, 285),
(319, 286), (319, 287), (319, 288), (319, 289), (319, 290), (319, 291), (319, 292), (319, 293), (319, 294), (319, 295), (319, 296), (319, 297), (319, 298), (319, 299), (319, 300), (319, 301), (319, 302), (319, 303), (319, 304), (319, 305), (319, 306), (319, 307), (319, 308), (319, 309), (319, 310), (319, 311), (319, 312), (319, 313), (319, 314), (319, 315), (319, 317), (320, 191), (320, 193), (320, 194), (320, 195), (320, 196), (320, 197), (320, 198), (320, 199), (320, 200), (320, 201), (320, 202), (320, 203), (320, 204), (320, 205), (320, 206), (320, 207), (320, 208), (320, 209), (320, 210), (320, 211), (320, 212), (320, 213), (320, 214), (320, 215), (320, 216), (320, 217), (320, 218), (320, 219), (320, 220), (320, 221), (320, 222), (320, 223), (320, 224), (320, 225), (320, 226), (320, 227), (320, 228), (320, 229), (320, 230), (320, 231), (320, 232),
(320, 233), (320, 234), (320, 235), (320, 236), (320, 237), (320, 238), (320, 239), (320, 240), (320, 241), (320, 242), (320, 243), (320, 244), (320, 245), (320, 246), (320, 247), (320, 248), (320, 249), (320, 250), (320, 251), (320, 252), (320, 253), (320, 254), (320, 255), (320, 256), (320, 257), (320, 258), (320, 259), (320, 260), (320, 261), (320, 262), (320, 263), (320, 264), (320, 265), (320, 266), (320, 267), (320, 268), (320, 269), (320, 270), (320, 271), (320, 272), (320, 273), (320, 274), (320, 275), (320, 276), (320, 277), (320, 278), (320, 279), (320, 280), (320, 281), (320, 282), (320, 283), (320, 284), (320, 285), (320, 286), (320, 287), (320, 288), (320, 289), (320, 290), (320, 291), (320, 292), (320, 293), (320, 294), (320, 295), (320, 296), (320, 297), (320, 298), (320, 299), (320, 300), (320, 301), (320, 302), (320, 303), (320, 304),
(320, 305), (320, 306), (320, 307), (320, 308), (320, 309), (320, 310), (320, 311), (320, 312), (320, 313), (320, 314), (320, 315), (320, 317), (321, 191), (321, 193), (321, 194), (321, 195), (321, 196), (321, 197), (321, 198), (321, 199), (321, 200), (321, 201), (321, 202), (321, 203), (321, 204), (321, 205), (321, 206), (321, 207), (321, 208), (321, 209), (321, 210), (321, 211), (321, 212), (321, 213), (321, 214), (321, 215), (321, 216), (321, 217), (321, 218), (321, 219), (321, 220), (321, 221), (321, 222), (321, 223), (321, 224), (321, 225), (321, 226), (321, 227), (321, 228), (321, 229), (321, 230), (321, 231), (321, 232), (321, 233), (321, 234), (321, 235), (321, 236), (321, 237), (321, 238), (321, 239), (321, 240), (321, 241), (321, 242), (321, 243), (321, 244), (321, 245), (321, 246), (321, 247), (321, 248), (321, 249), (321, 250), (321, 251),
(321, 252), (321, 253), (321, 254), (321, 255), (321, 256), (321, 257), (321, 258), (321, 259), (321, 260), (321, 261), (321, 262), (321, 263), (321, 264), (321, 265), (321, 266), (321, 267), (321, 268), (321, 269), (321, 270), (321, 271), (321, 272), (321, 273), (321, 274), (321, 275), (321, 276), (321, 277), (321, 278), (321, 279), (321, 280), (321, 281), (321, 282), (321, 283), (321, 284), (321, 285), (321, 286), (321, 287), (321, 288), (321, 289), (321, 290), (321, 291), (321, 292), (321, 293), (321, 294), (321, 295), (321, 296), (321, 297), (321, 298), (321, 299), (321, 300), (321, 301), (321, 302), (321, 303), (321, 304), (321, 305), (321, 306), (321, 307), (321, 308), (321, 309), (321, 310), (321, 311), (321, 312), (321, 313), (321, 314), (321, 316), (322, 190), (322, 192), (322, 193), (322, 194), (322, 195), (322, 196), (322, 197), (322, 198),
(322, 199), (322, 200), (322, 201), (322, 202), (322, 203), (322, 204), (322, 205), (322, 206), (322, 207), (322, 208), (322, 209), (322, 210), (322, 211), (322, 212), (322, 213), (322, 214), (322, 215), (322, 216), (322, 217), (322, 218), (322, 219), (322, 220), (322, 221), (322, 222), (322, 223), (322, 224), (322, 225), (322, 226), (322, 227), (322, 228), (322, 229), (322, 230), (322, 231), (322, 232), (322, 233), (322, 234), (322, 235), (322, 236), (322, 237), (322, 238), (322, 239), (322, 240), (322, 241), (322, 242), (322, 243), (322, 244), (322, 245), (322, 246), (322, 247), (322, 248), (322, 249), (322, 250), (322, 251), (322, 252), (322, 253), (322, 254), (322, 255), (322, 256), (322, 257), (322, 258), (322, 259), (322, 260), (322, 261), (322, 262), (322, 263), (322, 264), (322, 265), (322, 266), (322, 267), (322, 268), (322, 269), (322, 270),
(322, 271), (322, 272), (322, 273), (322, 274), (322, 275), (322, 276), (322, 277), (322, 278), (322, 279), (322, 280), (322, 281), (322, 282), (322, 283), (322, 284), (322, 285), (322, 286), (322, 287), (322, 288), (322, 289), (322, 290), (322, 291), (322, 292), (322, 293), (322, 294), (322, 295), (322, 296), (322, 297), (322, 298), (322, 299), (322, 300), (322, 301), (322, 302), (322, 303), (322, 304), (322, 305), (322, 306), (322, 307), (322, 308), (322, 309), (322, 310), (322, 311), (322, 312), (322, 313), (322, 314), (322, 316), (323, 190), (323, 192), (323, 193), (323, 194), (323, 195), (323, 196), (323, 197), (323, 198), (323, 199), (323, 200), (323, 201), (323, 202), (323, 203), (323, 204), (323, 205), (323, 206), (323, 207), (323, 208), (323, 209), (323, 210), (323, 211), (323, 212), (323, 213), (323, 214), (323, 215), (323, 216), (323, 217),
(323, 218), (323, 219), (323, 220), (323, 221), (323, 222), (323, 223), (323, 224), (323, 225), (323, 226), (323, 227), (323, 228), (323, 229), (323, 230), (323, 231), (323, 232), (323, 233), (323, 234), (323, 235), (323, 236), (323, 237), (323, 238), (323, 239), (323, 240), (323, 241), (323, 242), (323, 243), (323, 244), (323, 245), (323, 246), (323, 247), (323, 248), (323, 249), (323, 250), (323, 251), (323, 252), (323, 253), (323, 254), (323, 255), (323, 256), (323, 257), (323, 258), (323, 259), (323, 260), (323, 261), (323, 262), (323, 263), (323, 264), (323, 265), (323, 266), (323, 267), (323, 268), (323, 269), (323, 270), (323, 271), (323, 272), (323, 273), (323, 274), (323, 275), (323, 276), (323, 277), (323, 278), (323, 279), (323, 280), (323, 281), (323, 282), (323, 283), (323, 284), (323, 285), (323, 286), (323, 287), (323, 288), (323, 289),
(323, 290), (323, 291), (323, 292), (323, 293), (323, 294), (323, 295), (323, 296), (323, 297), (323, 298), (323, 299), (323, 300), (323, 301), (323, 302), (323, 303), (323, 304), (323, 305), (323, 306), (323, 307), (323, 308), (323, 309), (323, 310), (323, 311), (323, 312), (323, 313), (323, 315), (324, 191), (324, 193), (324, 194), (324, 195), (324, 196), (324, 197), (324, 198), (324, 199), (324, 200), (324, 201), (324, 202), (324, 203), (324, 204), (324, 205), (324, 206), (324, 207), (324, 208), (324, 209), (324, 210), (324, 211), (324, 212), (324, 213), (324, 214), (324, 215), (324, 216), (324, 217), (324, 218), (324, 219), (324, 220), (324, 221), (324, 222), (324, 223), (324, 224), (324, 225), (324, 226), (324, 227), (324, 228), (324, 229), (324, 230), (324, 231), (324, 232), (324, 233), (324, 234), (324, 235), (324, 236), (324, 237), (324, 238),
(324, 239), (324, 240), (324, 241), (324, 242), (324, 243), (324, 244), (324, 245), (324, 246), (324, 247), (324, 248), (324, 249), (324, 250), (324, 251), (324, 252), (324, 253), (324, 254), (324, 255), (324, 256), (324, 257), (324, 258), (324, 259), (324, 260), (324, 261), (324, 262), (324, 263), (324, 264), (324, 265), (324, 266), (324, 267), (324, 268), (324, 269), (324, 270), (324, 271), (324, 272), (324, 273), (324, 274), (324, 275), (324, 276), (324, 277), (324, 278), (324, 279), (324, 280), (324, 281), (324, 282), (324, 283), (324, 284), (324, 285), (324, 286), (324, 287), (324, 288), (324, 289), (324, 290), (324, 291), (324, 292), (324, 293), (324, 294), (324, 295), (324, 296), (324, 297), (324, 298), (324, 299), (324, 300), (324, 301), (324, 302), (324, 303), (324, 304), (324, 305), (324, 306), (324, 307), (324, 308), (324, 309), (324, 310),
(324, 311), (324, 312), (324, 314), (325, 192), (325, 194), (325, 195), (325, 196), (325, 197), (325, 198), (325, 199), (325, 200), (325, 201), (325, 202), (325, 203), (325, 204), (325, 205), (325, 206), (325, 207), (325, 208), (325, 209), (325, 210), (325, 211), (325, 212), (325, 213), (325, 214), (325, 215), (325, 216), (325, 217), (325, 218), (325, 219), (325, 220), (325, 221), (325, 222), (325, 223), (325, 224), (325, 225), (325, 226), (325, 227), (325, 228), (325, 229), (325, 230), (325, 231), (325, 232), (325, 233), (325, 234), (325, 235), (325, 236), (325, 237), (325, 238), (325, 239), (325, 240), (325, 241), (325, 242), (325, 243), (325, 244), (325, 245), (325, 246), (325, 247), (325, 248), (325, 249), (325, 250), (325, 251), (325, 252), (325, 253), (325, 254), (325, 255), (325, 256), (325, 257), (325, 258), (325, 259), (325, 260), (325, 261),
(325, 262), (325, 263), (325, 264), (325, 265), (325, 266), (325, 267), (325, 268), (325, 269), (325, 270), (325, 271), (325, 272), (325, 273), (325, 274), (325, 275), (325, 276), (325, 277), (325, 278), (325, 279), (325, 280), (325, 281), (325, 282), (325, 283), (325, 284), (325, 285), (325, 286), (325, 287), (325, 288), (325, 289), (325, 290), (325, 291), (325, 292), (325, 293), (325, 294), (325, 295), (325, 296), (325, 297), (325, 298), (325, 299), (325, 300), (325, 301), (325, 302), (325, 303), (325, 304), (325, 305), (325, 306), (325, 307), (325, 308), (325, 309), (325, 310), (325, 311), (325, 312), (325, 314), (326, 193), (326, 195), (326, 196), (326, 197), (326, 198), (326, 199), (326, 200), (326, 201), (326, 202), (326, 203), (326, 204), (326, 205), (326, 206), (326, 207), (326, 208), (326, 209), (326, 210), (326, 211), (326, 212), (326, 213),
(326, 214), (326, 215), (326, 216), (326, 217), (326, 218), (326, 219), (326, 220), (326, 221), (326, 222), (326, 223), (326, 224), (326, 225), (326, 226), (326, 227), (326, 228), (326, 229), (326, 230), (326, 231), (326, 232), (326, 233), (326, 234), (326, 235), (326, 236), (326, 237), (326, 238), (326, 239), (326, 240), (326, 241), (326, 242), (326, 243), (326, 244), (326, 245), (326, 246), (326, 247), (326, 248), (326, 249), (326, 250), (326, 251), (326, 252), (326, 253), (326, 254), (326, 255), (326, 256), (326, 257), (326, 258), (326, 259), (326, 260), (326, 261), (326, 262), (326, 263), (326, 264), (326, 265), (326, 266), (326, 267), (326, 268), (326, 269), (326, 270), (326, 271), (326, 272), (326, 273), (326, 274), (326, 275), (326, 276), (326, 277), (326, 278), (326, 279), (326, 280), (326, 281), (326, 282), (326, 283), (326, 284), (326, 285),
(326, 286), (326, 287), (326, 288), (326, 289), (326, 290), (326, 291), (326, 292), (326, 293), (326, 294), (326, 295), (326, 296), (326, 297), (326, 298), (326, 299), (326, 300), (326, 301), (326, 302), (326, 303), (326, 304), (326, 305), (326, 306), (326, 307), (326, 308), (326, 309), (326, 310), (326, 311), (326, 313), (327, 196), (327, 197), (327, 198), (327, 199), (327, 200), (327, 201), (327, 202), (327, 203), (327, 204), (327, 205), (327, 206), (327, 207), (327, 208), (327, 209), (327, 210), (327, 211), (327, 212), (327, 213), (327, 214), (327, 215), (327, 216), (327, 217), (327, 218), (327, 219), (327, 220), (327, 221), (327, 222), (327, 223), (327, 224), (327, 225), (327, 226), (327, 227), (327, 228), (327, 229), (327, 230), (327, 231), (327, 232), (327, 233), (327, 234), (327, 235), (327, 236), (327, 237), (327, 238), (327, 239), (327, 240),
(327, 241), (327, 242), (327, 243), (327, 244), (327, 245), (327, 246), (327, 247), (327, 248), (327, 249), (327, 250), (327, 251), (327, 252), (327, 253), (327, 254), (327, 255), (327, 256), (327, 257), (327, 258), (327, 259), (327, 260), (327, 261), (327, 262), (327, 263), (327, 264), (327, 265), (327, 266), (327, 267), (327, 268), (327, 269), (327, 270), (327, 271), (327, 272), (327, 273), (327, 274), (327, 275), (327, 276), (327, 277), (327, 278), (327, 279), (327, 280), (327, 281), (327, 282), (327, 283), (327, 284), (327, 285), (327, 286), (327, 287), (327, 288), (327, 289), (327, 290), (327, 291), (327, 292), (327, 293), (327, 294), (327, 295), (327, 296), (327, 297), (327, 298), (327, 299), (327, 300), (327, 301), (327, 302), (327, 303), (327, 304), (327, 305), (327, 306), (327, 307), (327, 308), (327, 309), (327, 310), (327, 312), (328, 194),
(328, 197), (328, 198), (328, 199), (328, 200), (328, 201), (328, 202), (328, 203), (328, 204), (328, 205), (328, 206), (328, 207), (328, 208), (328, 209), (328, 210), (328, 211), (328, 212), (328, 213), (328, 214), (328, 215), (328, 216), (328, 217), (328, 218), (328, 219), (328, 220), (328, 221), (328, 222), (328, 223), (328, 224), (328, 225), (328, 226), (328, 227), (328, 228), (328, 229), (328, 230), (328, 231), (328, 232), (328, 233), (328, 234), (328, 235), (328, 236), (328, 237), (328, 238), (328, 239), (328, 240), (328, 241), (328, 242), (328, 243), (328, 244), (328, 245), (328, 246), (328, 247), (328, 248), (328, 249), (328, 250), (328, 251), (328, 252), (328, 253), (328, 254), (328, 255), (328, 256), (328, 257), (328, 258), (328, 259), (328, 260), (328, 261), (328, 262), (328, 263), (328, 264), (328, 265), (328, 266), (328, 267), (328, 268),
(328, 269), (328, 270), (328, 271), (328, 272), (328, 273), (328, 274), (328, 275), (328, 276), (328, 277), (328, 278), (328, 279), (328, 280), (328, 281), (328, 282), (328, 283), (328, 284), (328, 285), (328, 286), (328, 287), (328, 288), (328, 289), (328, 290), (328, 291), (328, 292), (328, 293), (328, 294), (328, 295), (328, 296), (328, 297), (328, 298), (328, 299), (328, 300), (328, 301), (328, 302), (328, 303), (328, 304), (328, 305), (328, 306), (328, 307), (328, 308), (328, 309), (328, 310), (328, 312), (329, 198), (329, 199), (329, 200), (329, 201), (329, 202), (329, 203), (329, 204), (329, 205), (329, 206), (329, 207), (329, 208), (329, 209), (329, 210), (329, 211), (329, 212), (329, 213), (329, 214), (329, 215), (329, 216), (329, 217), (329, 218), (329, 219), (329, 220), (329, 221), (329, 222), (329, 223), (329, 224), (329, 225), (329, 226),
(329, 227), (329, 228), (329, 229), (329, 230), (329, 231), (329, 232), (329, 233), (329, 234), (329, 235), (329, 236), (329, 237), (329, 238), (329, 239), (329, 240), (329, 241), (329, 242), (329, 243), (329, 244), (329, 245), (329, 246), (329, 247), (329, 248), (329, 249), (329, 250), (329, 251), (329, 252), (329, 253), (329, 254), (329, 255), (329, 256), (329, 257), (329, 258), (329, 259), (329, 260), (329, 261), (329, 262), (329, 263), (329, 264), (329, 265), (329, 266), (329, 267), (329, 268), (329, 269), (329, 270), (329, 271), (329, 272), (329, 273), (329, 274), (329, 275), (329, 276), (329, 277), (329, 278), (329, 279), (329, 280), (329, 281), (329, 282), (329, 283), (329, 284), (329, 285), (329, 286), (329, 287), (329, 288), (329, 289), (329, 290), (329, 291), (329, 292), (329, 293), (329, 294), (329, 295), (329, 296), (329, 297), (329, 298),
(329, 299), (329, 300), (329, 301), (329, 302), (329, 303), (329, 304), (329, 305), (329, 306), (329, 307), (329, 308), (329, 309), (329, 311), (330, 199), (330, 200), (330, 201), (330, 202), (330, 203), (330, 204), (330, 205), (330, 206), (330, 207), (330, 208), (330, 209), (330, 210), (330, 211), (330, 212), (330, 213), (330, 214), (330, 215), (330, 216), (330, 217), (330, 218), (330, 219), (330, 220), (330, 221), (330, 222), (330, 223), (330, 224), (330, 225), (330, 226), (330, 227), (330, 228), (330, 229), (330, 230), (330, 231), (330, 232), (330, 233), (330, 234), (330, 235), (330, 236), (330, 237), (330, 238), (330, 239), (330, 240), (330, 241), (330, 242), (330, 243), (330, 244), (330, 245), (330, 246), (330, 247), (330, 248), (330, 249), (330, 250), (330, 251), (330, 252), (330, 253), (330, 254), (330, 255), (330, 256), (330, 257), (330, 258),
(330, 259), (330, 260), (330, 261), (330, 262), (330, 263), (330, 264), (330, 265), (330, 266), (330, 267), (330, 268), (330, 269), (330, 270), (330, 271), (330, 272), (330, 273), (330, 274), (330, 275), (330, 276), (330, 277), (330, 278), (330, 279), (330, 280), (330, 281), (330, 282), (330, 283), (330, 284), (330, 285), (330, 286), (330, 287), (330, 288), (330, 289), (330, 290), (330, 291), (330, 292), (330, 293), (330, 294), (330, 295), (330, 296), (330, 297), (330, 298), (330, 299), (330, 300), (330, 301), (330, 302), (330, 303), (330, 304), (330, 305), (330, 306), (330, 307), (330, 308), (330, 310), (331, 200), (331, 201), (331, 202), (331, 203), (331, 204), (331, 205), (331, 206), (331, 207), (331, 208), (331, 209), (331, 210), (331, 211), (331, 212), (331, 213), (331, 214), (331, 215), (331, 216), (331, 217), (331, 218), (331, 219), (331, 220),
(331, 221), (331, 222), (331, 223), (331, 224), (331, 225), (331, 226), (331, 227), (331, 228), (331, 229), (331, 230), (331, 231), (331, 232), (331, 233), (331, 234), (331, 235), (331, 236), (331, 237), (331, 238), (331, 239), (331, 240), (331, 241), (331, 242), (331, 243), (331, 244), (331, 245), (331, 246), (331, 247), (331, 248), (331, 249), (331, 250), (331, 251), (331, 252), (331, 253), (331, 254), (331, 255), (331, 256), (331, 257), (331, 258), (331, 259), (331, 260), (331, 261), (331, 262), (331, 263), (331, 264), (331, 265), (331, 266), (331, 267), (331, 268), (331, 269), (331, 270), (331, 271), (331, 272), (331, 273), (331, 274), (331, 275), (331, 276), (331, 277), (331, 278), (331, 279), (331, 280), (331, 281), (331, 282), (331, 283), (331, 284), (331, 285), (331, 286), (331, 287), (331, 288), (331, 289), (331, 290), (331, 291), (331, 292),
(331, 293), (331, 294), (331, 295), (331, 296), (331, 297), (331, 298), (331, 299), (331, 300), (331, 301), (331, 302), (331, 303), (331, 304), (331, 305), (331, 306), (331, 307), (331, 308), (331, 310), (332, 201), (332, 202), (332, 203), (332, 204), (332, 205), (332, 206), (332, 207), (332, 208), (332, 209), (332, 210), (332, 211), (332, 212), (332, 213), (332, 214), (332, 215), (332, 216), (332, 217), (332, 218), (332, 219), (332, 220), (332, 221), (332, 222), (332, 223), (332, 224), (332, 225), (332, 226), (332, 227), (332, 228), (332, 229), (332, 230), (332, 231), (332, 232), (332, 233), (332, 234), (332, 235), (332, 236), (332, 237), (332, 238), (332, 239), (332, 240), (332, 241), (332, 242), (332, 243), (332, 244), (332, 245), (332, 246), (332, 247), (332, 248), (332, 249), (332, 250), (332, 251), (332, 252), (332, 253), (332, 254), (332, 255),
(332, 256), (332, 257), (332, 258), (332, 259), (332, 260), (332, 261), (332, 262), (332, 263), (332, 264), (332, 265), (332, 266), (332, 267), (332, 268), (332, 269), (332, 270), (332, 271), (332, 272), (332, 273), (332, 274), (332, 275), (332, 276), (332, 277), (332, 278), (332, 279), (332, 280), (332, 281), (332, 282), (332, 283), (332, 284), (332, 285), (332, 286), (332, 287), (332, 288), (332, 289), (332, 290), (332, 291), (332, 292), (332, 293), (332, 294), (332, 295), (332, 296), (332, 297), (332, 298), (332, 299), (332, 300), (332, 301), (332, 302), (332, 303), (332, 304), (332, 305), (332, 306), (332, 307), (332, 309), (333, 199), (333, 200), (333, 201), (333, 202), (333, 203), (333, 204), (333, 205), (333, 206), (333, 207), (333, 208), (333, 209), (333, 210), (333, 211), (333, 212), (333, 213), (333, 214), (333, 215), (333, 216), (333, 217),
(333, 218), (333, 219), (333, 220), (333, 221), (333, 222), (333, 223), (333, 224), (333, 225), (333, 226), (333, 227), (333, 228), (333, 229), (333, 230), (333, 231), (333, 232), (333, 233), (333, 234), (333, 235), (333, 236), (333, 237), (333, 238), (333, 239), (333, 240), (333, 241), (333, 242), (333, 243), (333, 244), (333, 245), (333, 246), (333, 247), (333, 248), (333, 249), (333, 250), (333, 251), (333, 252), (333, 253), (333, 254), (333, 255), (333, 256), (333, 257), (333, 258), (333, 259), (333, 260), (333, 261), (333, 262), (333, 263), (333, 264), (333, 265), (333, 266), (333, 267), (333, 268), (333, 269), (333, 270), (333, 271), (333, 272), (333, 273), (333, 274), (333, 275), (333, 276), (333, 277), (333, 278), (333, 279), (333, 280), (333, 281), (333, 282), (333, 283), (333, 284), (333, 285), (333, 286), (333, 287), (333, 288), (333, 289),
(333, 290), (333, 291), (333, 292), (333, 293), (333, 294), (333, 295), (333, 296), (333, 297), (333, 298), (333, 299), (333, 300), (333, 301), (333, 302), (333, 303), (333, 304), (333, 305), (333, 306), (333, 308), (334, 200), (334, 202), (334, 203), (334, 204), (334, 205), (334, 206), (334, 207), (334, 208), (334, 209), (334, 210), (334, 211), (334, 212), (334, 213), (334, 214), (334, 215), (334, 216), (334, 217), (334, 218), (334, 219), (334, 220), (334, 221), (334, 222), (334, 223), (334, 224), (334, 225), (334, 226), (334, 227), (334, 228), (334, 229), (334, 230), (334, 231), (334, 232), (334, 233), (334, 234), (334, 235), (334, 236), (334, 237), (334, 238), (334, 239), (334, 240), (334, 241), (334, 242), (334, 243), (334, 244), (334, 245), (334, 246), (334, 247), (334, 248), (334, 249), (334, 250), (334, 251), (334, 252), (334, 253), (334, 254),
(334, 255), (334, 256), (334, 257), (334, 258), (334, 259), (334, 260), (334, 261), (334, 262), (334, 263), (334, 264), (334, 265), (334, 266), (334, 267), (334, 268), (334, 269), (334, 270), (334, 271), (334, 272), (334, 273), (334, 274), (334, 275), (334, 276), (334, 277), (334, 278), (334, 279), (334, 280), (334, 281), (334, 282), (334, 283), (334, 284), (334, 285), (334, 286), (334, 287), (334, 288), (334, 289), (334, 290), (334, 291), (334, 292), (334, 293), (334, 294), (334, 295), (334, 296), (334, 297), (334, 298), (334, 299), (334, 300), (334, 301), (334, 302), (334, 303), (334, 304), (334, 305), (334, 306), (334, 308), (335, 200), (335, 202), (335, 203), (335, 204), (335, 205), (335, 206), (335, 207), (335, 208), (335, 209), (335, 210), (335, 211), (335, 212), (335, 213), (335, 214), (335, 215), (335, 216), (335, 217), (335, 218), (335, 219),
(335, 220), (335, 221), (335, 222), (335, 223), (335, 224), (335, 225), (335, 226), (335, 227), (335, 228), (335, 229), (335, 230), (335, 231), (335, 232), (335, 233), (335, 234), (335, 235), (335, 236), (335, 237), (335, 238), (335, 239), (335, 240), (335, 241), (335, 242), (335, 243), (335, 244), (335, 245), (335, 246), (335, 247), (335, 248), (335, 249), (335, 250), (335, 251), (335, 252), (335, 253), (335, 254), (335, 255), (335, 256), (335, 257), (335, 258), (335, 259), (335, 260), (335, 261), (335, 262), (335, 263), (335, 264), (335, 265), (335, 266), (335, 267), (335, 268), (335, 269), (335, 270), (335, 271), (335, 272), (335, 273), (335, 274), (335, 275), (335, 276), (335, 277), (335, 278), (335, 279), (335, 280), (335, 281), (335, 282), (335, 283), (335, 284), (335, 285), (335, 286), (335, 287), (335, 288), (335, 289), (335, 290), (335, 291),
(335, 292), (335, 293), (335, 294), (335, 295), (335, 296), (335, 297), (335, 298), (335, 299), (335, 300), (335, 301), (335, 302), (335, 303), (335, 304), (335, 305), (335, 307), (336, 201), (336, 203), (336, 204), (336, 205), (336, 206), (336, 207), (336, 208), (336, 209), (336, 210), (336, 211), (336, 212), (336, 213), (336, 214), (336, 215), (336, 216), (336, 217), (336, 218), (336, 219), (336, 220), (336, 221), (336, 222), (336, 223), (336, 224), (336, 225), (336, 226), (336, 227), (336, 228), (336, 229), (336, 230), (336, 231), (336, 232), (336, 233), (336, 234), (336, 235), (336, 236), (336, 237), (336, 238), (336, 239), (336, 240), (336, 241), (336, 242), (336, 243), (336, 244), (336, 245), (336, 246), (336, 247), (336, 248), (336, 249), (336, 250), (336, 251), (336, 252), (336, 253), (336, 254), (336, 255), (336, 256), (336, 257), (336, 258),
(336, 259), (336, 260), (336, 261), (336, 262), (336, 263), (336, 264), (336, 265), (336, 266), (336, 267), (336, 268), (336, 269), (336, 270), (336, 271), (336, 272), (336, 273), (336, 274), (336, 275), (336, 276), (336, 277), (336, 278), (336, 279), (336, 280), (336, 281), (336, 282), (336, 283), (336, 284), (336, 285), (336, 286), (336, 287), (336, 288), (336, 289), (336, 290), (336, 291), (336, 292), (336, 293), (336, 294), (336, 295), (336, 296), (336, 297), (336, 298), (336, 299), (336, 300), (336, 301), (336, 302), (336, 303), (336, 304), (336, 305), (336, 307), (337, 201), (337, 203), (337, 204), (337, 205), (337, 206), (337, 207), (337, 208), (337, 209), (337, 210), (337, 211), (337, 212), (337, 213), (337, 214), (337, 215), (337, 216), (337, 217), (337, 218), (337, 219), (337, 220), (337, 221), (337, 222), (337, 223), (337, 224), (337, 225),
(337, 226), (337, 227), (337, 228), (337, 229), (337, 230), (337, 231), (337, 232), (337, 233), (337, 234), (337, 235), (337, 236), (337, 237), (337, 238), (337, 239), (337, 240), (337, 241), (337, 242), (337, 243), (337, 244), (337, 245), (337, 246), (337, 247), (337, 248), (337, 249), (337, 250), (337, 251), (337, 252), (337, 253), (337, 254), (337, 255), (337, 256), (337, 257), (337, 258), (337, 259), (337, 260), (337, 261), (337, 262), (337, 263), (337, 264), (337, 265), (337, 266), (337, 267), (337, 268), (337, 269), (337, 270), (337, 271), (337, 272), (337, 273), (337, 274), (337, 275), (337, 276), (337, 277), (337, 278), (337, 279), (337, 280), (337, 281), (337, 282), (337, 283), (337, 284), (337, 285), (337, 286), (337, 287), (337, 288), (337, 289), (337, 290), (337, 291), (337, 292), (337, 293), (337, 294), (337, 295), (337, 296), (337, 297),
(337, 298), (337, 299), (337, 300), (337, 301), (337, 302), (337, 303), (337, 304), (337, 306), (338, 201), (338, 203), (338, 204), (338, 205), (338, 206), (338, 207), (338, 208), (338, 209), (338, 210), (338, 211), (338, 212), (338, 213), (338, 214), (338, 215), (338, 216), (338, 217), (338, 218), (338, 219), (338, 220), (338, 221), (338, 222), (338, 223), (338, 224), (338, 225), (338, 226), (338, 227), (338, 228), (338, 229), (338, 230), (338, 231), (338, 232), (338, 233), (338, 234), (338, 235), (338, 236), (338, 237), (338, 238), (338, 239), (338, 240), (338, 241), (338, 242), (338, 243), (338, 244), (338, 245), (338, 246), (338, 247), (338, 248), (338, 249), (338, 250), (338, 251), (338, 252), (338, 253), (338, 254), (338, 255), (338, 256), (338, 257), (338, 258), (338, 259), (338, 260), (338, 261), (338, 262), (338, 263), (338, 264), (338, 265),
(338, 266), (338, 267), (338, 268), (338, 269), (338, 270), (338, 271), (338, 272), (338, 273), (338, 274), (338, 275), (338, 276), (338, 277), (338, 278), (338, 279), (338, 280), (338, 281), (338, 282), (338, 283), (338, 284), (338, 285), (338, 286), (338, 287), (338, 288), (338, 289), (338, 290), (338, 291), (338, 292), (338, 293), (338, 294), (338, 295), (338, 296), (338, 297), (338, 298), (338, 299), (338, 300), (338, 301), (338, 302), (338, 303), (338, 304), (338, 306), (339, 201), (339, 203), (339, 204), (339, 205), (339, 206), (339, 207), (339, 208), (339, 209), (339, 210), (339, 211), (339, 212), (339, 213), (339, 214), (339, 215), (339, 216), (339, 217), (339, 218), (339, 219), (339, 220), (339, 221), (339, 222), (339, 223), (339, 224), (339, 225), (339, 226), (339, 227), (339, 228), (339, 229), (339, 230), (339, 231), (339, 232), (339, 233),
(339, 234), (339, 235), (339, 236), (339, 237), (339, 238), (339, 239), (339, 240), (339, 241), (339, 242), (339, 243), (339, 244), (339, 245), (339, 246), (339, 247), (339, 248), (339, 249), (339, 250), (339, 251), (339, 252), (339, 253), (339, 254), (339, 255), (339, 256), (339, 257), (339, 258), (339, 259), (339, 260), (339, 261), (339, 262), (339, 263), (339, 264), (339, 265), (339, 266), (339, 267), (339, 268), (339, 269), (339, 270), (339, 271), (339, 272), (339, 273), (339, 274), (339, 275), (339, 276), (339, 277), (339, 278), (339, 279), (339, 280), (339, 281), (339, 282), (339, 283), (339, 284), (339, 285), (339, 286), (339, 287), (339, 288), (339, 289), (339, 290), (339, 291), (339, 292), (339, 293), (339, 294), (339, 295), (339, 296), (339, 297), (339, 298), (339, 299), (339, 300), (339, 301), (339, 302), (339, 303), (339, 305), (340, 202),
(340, 204), (340, 205), (340, 206), (340, 207), (340, 208), (340, 209), (340, 210), (340, 211), (340, 212), (340, 213), (340, 214), (340, 215), (340, 216), (340, 217), (340, 218), (340, 219), (340, 220), (340, 221), (340, 222), (340, 223), (340, 224), (340, 225), (340, 226), (340, 227), (340, 228), (340, 229), (340, 230), (340, 231), (340, 232), (340, 233), (340, 234), (340, 235), (340, 236), (340, 237), (340, 238), (340, 239), (340, 240), (340, 241), (340, 242), (340, 243), (340, 244), (340, 245), (340, 246), (340, 247), (340, 248), (340, 249), (340, 250), (340, 251), (340, 252), (340, 253), (340, 254), (340, 255), (340, 256), (340, 257), (340, 258), (340, 259), (340, 260), (340, 261), (340, 262), (340, 263), (340, 264), (340, 265), (340, 266), (340, 267), (340, 268), (340, 269), (340, 270), (340, 271), (340, 272), (340, 273), (340, 274), (340, 275),
(340, 276), (340, 277), (340, 278), (340, 279), (340, 280), (340, 281), (340, 282), (340, 283), (340, 284), (340, 285), (340, 286), (340, 287), (340, 288), (340, 289), (340, 290), (340, 291), (340, 292), (340, 293), (340, 294), (340, 295), (340, 296), (340, 297), (340, 298), (340, 299), (340, 300), (340, 301), (340, 302), (340, 303), (340, 305), (341, 202), (341, 204), (341, 205), (341, 206), (341, 207), (341, 208), (341, 209), (341, 210), (341, 211), (341, 212), (341, 213), (341, 214), (341, 215), (341, 216), (341, 217), (341, 218), (341, 219), (341, 220), (341, 221), (341, 222), (341, 223), (341, 224), (341, 225), (341, 226), (341, 227), (341, 228), (341, 229), (341, 230), (341, 231), (341, 232), (341, 233), (341, 234), (341, 235), (341, 236), (341, 237), (341, 238), (341, 239), (341, 240), (341, 241), (341, 242), (341, 243), (341, 244), (341, 245),
(341, 246), (341, 247), (341, 248), (341, 249), (341, 250), (341, 251), (341, 252), (341, 253), (341, 254), (341, 255), (341, 256), (341, 257), (341, 258), (341, 259), (341, 260), (341, 261), (341, 262), (341, 263), (341, 264), (341, 265), (341, 266), (341, 267), (341, 268), (341, 269), (341, 270), (341, 271), (341, 272), (341, 273), (341, 274), (341, 275), (341, 276), (341, 277), (341, 278), (341, 279), (341, 280), (341, 281), (341, 282), (341, 283), (341, 284), (341, 285), (341, 286), (341, 287), (341, 288), (341, 289), (341, 290), (341, 291), (341, 292), (341, 293), (341, 294), (341, 295), (341, 296), (341, 297), (341, 298), (341, 299), (341, 300), (341, 301), (341, 302), (341, 304), (342, 202), (342, 204), (342, 205), (342, 206), (342, 207), (342, 208), (342, 209), (342, 210), (342, 211), (342, 212), (342, 213), (342, 214), (342, 215), (342, 216),
(342, 217), (342, 218), (342, 219), (342, 220), (342, 221), (342, 222), (342, 223), (342, 224), (342, 225), (342, 226), (342, 227), (342, 228), (342, 229), (342, 230), (342, 231), (342, 232), (342, 233), (342, 234), (342, 235), (342, 236), (342, 237), (342, 238), (342, 239), (342, 240), (342, 241), (342, 242), (342, 243), (342, 244), (342, 245), (342, 246), (342, 247), (342, 248), (342, 249), (342, 250), (342, 251), (342, 252), (342, 253), (342, 254), (342, 255), (342, 256), (342, 257), (342, 258), (342, 259), (342, 260), (342, 261), (342, 262), (342, 263), (342, 264), (342, 265), (342, 266), (342, 267), (342, 268), (342, 269), (342, 270), (342, 271), (342, 272), (342, 273), (342, 274), (342, 275), (342, 276), (342, 277), (342, 278), (342, 279), (342, 280), (342, 281), (342, 282), (342, 283), (342, 284), (342, 285), (342, 286), (342, 287), (342, 288),
(342, 289), (342, 290), (342, 291), (342, 292), (342, 293), (342, 294), (342, 295), (342, 296), (342, 297), (342, 298), (342, 299), (342, 300), (342, 301), (342, 302), (342, 304), (343, 202), (343, 204), (343, 205), (343, 206), (343, 207), (343, 208), (343, 209), (343, 210), (343, 211), (343, 212), (343, 213), (343, 214), (343, 215), (343, 216), (343, 217), (343, 218), (343, 219), (343, 220), (343, 221), (343, 222), (343, 223), (343, 224), (343, 225), (343, 226), (343, 227), (343, 228), (343, 229), (343, 230), (343, 231), (343, 232), (343, 233), (343, 234), (343, 235), (343, 236), (343, 237), (343, 238), (343, 239), (343, 240), (343, 241), (343, 242), (343, 243), (343, 244), (343, 245), (343, 246), (343, 247), (343, 248), (343, 249), (343, 250), (343, 251), (343, 252), (343, 253), (343, 254), (343, 255), (343, 256), (343, 257), (343, 258), (343, 259),
(343, 260), (343, 261), (343, 262), (343, 263), (343, 264), (343, 265), (343, 266), (343, 267), (343, 268), (343, 269), (343, 270), (343, 271), (343, 272), (343, 273), (343, 274), (343, 275), (343, 276), (343, 277), (343, 278), (343, 279), (343, 280), (343, 281), (343, 282), (343, 283), (343, 284), (343, 285), (343, 286), (343, 287), (343, 288), (343, 289), (343, 290), (343, 291), (343, 292), (343, 293), (343, 294), (343, 295), (343, 296), (343, 297), (343, 298), (343, 299), (343, 300), (343, 301), (343, 302), (343, 304), (344, 202), (344, 204), (344, 205), (344, 206), (344, 207), (344, 208), (344, 209), (344, 210), (344, 211), (344, 212), (344, 213), (344, 214), (344, 215), (344, 216), (344, 217), (344, 218), (344, 219), (344, 220), (344, 221), (344, 222), (344, 223), (344, 224), (344, 225), (344, 226), (344, 227), (344, 228), (344, 229), (344, 230),
(344, 231), (344, 232), (344, 233), (344, 234), (344, 235), (344, 236), (344, 237), (344, 238), (344, 239), (344, 240), (344, 241), (344, 242), (344, 243), (344, 244), (344, 245), (344, 246), (344, 247), (344, 248), (344, 249), (344, 250), (344, 251), (344, 252), (344, 253), (344, 254), (344, 255), (344, 256), (344, 257), (344, 258), (344, 259), (344, 260), (344, 261), (344, 262), (344, 263), (344, 264), (344, 265), (344, 266), (344, 267), (344, 268), (344, 269), (344, 270), (344, 271), (344, 272), (344, 273), (344, 274), (344, 275), (344, 276), (344, 277), (344, 278), (344, 279), (344, 280), (344, 281), (344, 282), (344, 283), (344, 284), (344, 285), (344, 286), (344, 287), (344, 288), (344, 289), (344, 290), (344, 291), (344, 292), (344, 293), (344, 294), (344, 295), (344, 296), (344, 297), (344, 298), (344, 299), (344, 300), (344, 301), (344, 303),
(345, 202), (345, 203), (345, 204), (345, 205), (345, 206), (345, 207), (345, 208), (345, 209), (345, 210), (345, 211), (345, 212), (345, 213), (345, 214), (345, 215), (345, 216), (345, 217), (345, 218), (345, 219), (345, 220), (345, 221), (345, 222), (345, 223), (345, 224), (345, 225), (345, 226), (345, 227), (345, 228), (345, 229), (345, 230), (345, 231), (345, 232), (345, 233), (345, 234), (345, 235), (345, 236), (345, 237), (345, 238), (345, 239), (345, 240), (345, 241), (345, 242), (345, 243), (345, 244), (345, 245), (345, 246), (345, 247), (345, 248), (345, 249), (345, 250), (345, 251), (345, 252), (345, 253), (345, 254), (345, 255), (345, 256), (345, 257), (345, 258), (345, 259), (345, 260), (345, 261), (345, 262), (345, 263), (345, 264), (345, 265), (345, 266), (345, 267), (345, 268), (345, 269), (345, 270), (345, 271), (345, 272), (345, 273),
(345, 274), (345, 275), (345, 276), (345, 277), (345, 278), (345, 279), (345, 280), (345, 281), (345, 282), (345, 283), (345, 284), (345, 285), (345, 286), (345, 287), (345, 288), (345, 289), (345, 290), (345, 291), (345, 292), (345, 293), (345, 294), (345, 295), (345, 296), (345, 297), (345, 298), (345, 299), (345, 300), (345, 301), (345, 303), (346, 203), (346, 205), (346, 206), (346, 207), (346, 208), (346, 209), (346, 210), (346, 211), (346, 212), (346, 213), (346, 214), (346, 215), (346, 216), (346, 217), (346, 218), (346, 219), (346, 220), (346, 221), (346, 222), (346, 223), (346, 224), (346, 225), (346, 226), (346, 227), (346, 228), (346, 229), (346, 230), (346, 231), (346, 232), (346, 233), (346, 234), (346, 235), (346, 236), (346, 237), (346, 238), (346, 239), (346, 240), (346, 241), (346, 242), (346, 243), (346, 244), (346, 245), (346, 246),
(346, 247), (346, 248), (346, 249), (346, 250), (346, 251), (346, 252), (346, 253), (346, 254), (346, 255), (346, 256), (346, 257), (346, 258), (346, 259), (346, 260), (346, 261), (346, 262), (346, 263), (346, 264), (346, 265), (346, 266), (346, 267), (346, 268), (346, 269), (346, 270), (346, 271), (346, 272), (346, 273), (346, 274), (346, 275), (346, 276), (346, 277), (346, 278), (346, 279), (346, 280), (346, 281), (346, 282), (346, 283), (346, 284), (346, 285), (346, 286), (346, 287), (346, 288), (346, 289), (346, 290), (346, 291), (346, 292), (346, 293), (346, 294), (346, 295), (346, 296), (346, 297), (346, 298), (346, 299), (346, 300), (346, 302), (347, 203), (347, 205), (347, 206), (347, 207), (347, 208), (347, 209), (347, 210), (347, 211), (347, 212), (347, 213), (347, 214), (347, 215), (347, 216), (347, 217), (347, 218), (347, 219), (347, 220),
(347, 221), (347, 222), (347, 223), (347, 224), (347, 225), (347, 226), (347, 227), (347, 228), (347, 229), (347, 230), (347, 231), (347, 232), (347, 233), (347, 234), (347, 235), (347, 236), (347, 237), (347, 238), (347, 239), (347, 240), (347, 241), (347, 242), (347, 243), (347, 244), (347, 245), (347, 246), (347, 247), (347, 248), (347, 249), (347, 250), (347, 251), (347, 252), (347, 253), (347, 254), (347, 255), (347, 256), (347, 257), (347, 258), (347, 259), (347, 260), (347, 261), (347, 262), (347, 263), (347, 264), (347, 265), (347, 266), (347, 267), (347, 268), (347, 269), (347, 270), (347, 271), (347, 272), (347, 273), (347, 274), (347, 275), (347, 276), (347, 277), (347, 278), (347, 279), (347, 280), (347, 281), (347, 282), (347, 283), (347, 284), (347, 285), (347, 286), (347, 287), (347, 288), (347, 289), (347, 290), (347, 291), (347, 292),
(347, 293), (347, 294), (347, 295), (347, 296), (347, 297), (347, 298), (347, 299), (347, 300), (347, 302), (348, 205), (348, 206), (348, 207), (348, 208), (348, 209), (348, 210), (348, 211), (348, 212), (348, 213), (348, 214), (348, 215), (348, 216), (348, 217), (348, 218), (348, 219), (348, 220), (348, 221), (348, 222), (348, 223), (348, 224), (348, 225), (348, 226), (348, 227), (348, 228), (348, 229), (348, 230), (348, 231), (348, 232), (348, 233), (348, 234), (348, 235), (348, 236), (348, 237), (348, 238), (348, 239), (348, 240), (348, 241), (348, 242), (348, 243), (348, 244), (348, 245), (348, 246), (348, 247), (348, 248), (348, 249), (348, 250), (348, 251), (348, 252), (348, 253), (348, 254), (348, 255), (348, 256), (348, 257), (348, 258), (348, 259), (348, 260), (348, 261), (348, 262), (348, 263), (348, 264), (348, 265), (348, 266), (348, 267),
(348, 268), (348, 269), (348, 270), (348, 271), (348, 272), (348, 273), (348, 274), (348, 275), (348, 276), (348, 277), (348, 278), (348, 279), (348, 280), (348, 281), (348, 282), (348, 283), (348, 284), (348, 285), (348, 286), (348, 287), (348, 288), (348, 289), (348, 290), (348, 291), (348, 292), (348, 293), (348, 294), (348, 295), (348, 296), (348, 297), (348, 298), (348, 299), (348, 301), (349, 204), (349, 206), (349, 207), (349, 208), (349, 209), (349, 210), (349, 211), (349, 212), (349, 213), (349, 214), (349, 215), (349, 216), (349, 217), (349, 218), (349, 219), (349, 220), (349, 221), (349, 222), (349, 223), (349, 224), (349, 225), (349, 226), (349, 227), (349, 228), (349, 229), (349, 230), (349, 231), (349, 232), (349, 233), (349, 234), (349, 235), (349, 236), (349, 237), (349, 238), (349, 239), (349, 240), (349, 241), (349, 242), (349, 243),
(349, 244), (349, 245), (349, 246), (349, 247), (349, 248), (349, 249), (349, 250), (349, 251), (349, 252), (349, 253), (349, 254), (349, 255), (349, 256), (349, 257), (349, 258), (349, 259), (349, 260), (349, 261), (349, 262), (349, 263), (349, 264), (349, 265), (349, 266), (349, 267), (349, 268), (349, 269), (349, 270), (349, 271), (349, 272), (349, 273), (349, 274), (349, 275), (349, 276), (349, 277), (349, 278), (349, 279), (349, 280), (349, 281), (349, 282), (349, 283), (349, 284), (349, 285), (349, 286), (349, 287), (349, 288), (349, 289), (349, 290), (349, 291), (349, 292), (349, 293), (349, 294), (349, 295), (349, 296), (349, 297), (349, 298), (349, 299), (349, 301), (350, 205), (350, 207), (350, 208), (350, 209), (350, 210), (350, 211), (350, 212), (350, 213), (350, 214), (350, 215), (350, 216), (350, 217), (350, 218), (350, 219), (350, 220),
(350, 221), (350, 222), (350, 223), (350, 224), (350, 225), (350, 226), (350, 227), (350, 228), (350, 229), (350, 230), (350, 231), (350, 232), (350, 233), (350, 234), (350, 235), (350, 236), (350, 237), (350, 238), (350, 239), (350, 240), (350, 241), (350, 242), (350, 243), (350, 244), (350, 245), (350, 246), (350, 247), (350, 248), (350, 249), (350, 250), (350, 251), (350, 252), (350, 253), (350, 254), (350, 255), (350, 256), (350, 257), (350, 258), (350, 259), (350, 260), (350, 261), (350, 262), (350, 263), (350, 264), (350, 265), (350, 266), (350, 267), (350, 268), (350, 269), (350, 270), (350, 271), (350, 272), (350, 273), (350, 274), (350, 275), (350, 276), (350, 277), (350, 278), (350, 279), (350, 280), (350, 281), (350, 282), (350, 283), (350, 284), (350, 285), (350, 286), (350, 287), (350, 288), (350, 289), (350, 290), (350, 291), (350, 292),
(350, 293), (350, 294), (350, 295), (350, 296), (350, 297), (350, 298), (350, 300), (351, 206), (351, 208), (351, 209), (351, 210), (351, 211), (351, 212), (351, 213), (351, 214), (351, 215), (351, 216), (351, 217), (351, 218), (351, 219), (351, 220), (351, 221), (351, 222), (351, 223), (351, 224), (351, 225), (351, 226), (351, 227), (351, 228), (351, 229), (351, 230), (351, 231), (351, 232), (351, 233), (351, 234), (351, 235), (351, 236), (351, 237), (351, 238), (351, 239), (351, 240), (351, 241), (351, 242), (351, 243), (351, 244), (351, 245), (351, 246), (351, 247), (351, 248), (351, 249), (351, 250), (351, 251), (351, 252), (351, 253), (351, 254), (351, 255), (351, 256), (351, 257), (351, 258), (351, 259), (351, 260), (351, 261), (351, 262), (351, 263), (351, 264), (351, 265), (351, 266), (351, 267), (351, 268), (351, 269), (351, 270), (351, 271),
(351, 272), (351, 273), (351, 274), (351, 275), (351, 276), (351, 277), (351, 278), (351, 279), (351, 280), (351, 281), (351, 282), (351, 283), (351, 284), (351, 285), (351, 286), (351, 287), (351, 288), (351, 289), (351, 290), (351, 291), (351, 292), (351, 293), (351, 294), (351, 295), (351, 296), (351, 297), (351, 298), (351, 300), (352, 206), (352, 209), (352, 210), (352, 211), (352, 212), (352, 213), (352, 214), (352, 215), (352, 216), (352, 217), (352, 218), (352, 219), (352, 220), (352, 221), (352, 222), (352, 223), (352, 224), (352, 225), (352, 226), (352, 227), (352, 228), (352, 229), (352, 230), (352, 231), (352, 232), (352, 233), (352, 234), (352, 235), (352, 236), (352, 237), (352, 238), (352, 239), (352, 240), (352, 241), (352, 242), (352, 243), (352, 244), (352, 245), (352, 246), (352, 247), (352, 248), (352, 249), (352, 250), (352, 251),
(352, 252), (352, 253), (352, 254), (352, 255), (352, 256), (352, 257), (352, 258), (352, 259), (352, 260), (352, 261), (352, 262), (352, 263), (352, 264), (352, 265), (352, 266), (352, 267), (352, 268), (352, 269), (352, 270), (352, 271), (352, 272), (352, 273), (352, 274), (352, 275), (352, 276), (352, 277), (352, 278), (352, 279), (352, 280), (352, 281), (352, 282), (352, 283), (352, 284), (352, 285), (352, 286), (352, 287), (352, 288), (352, 289), (352, 290), (352, 291), (352, 292), (352, 293), (352, 294), (352, 295), (352, 296), (352, 297), (352, 299), (353, 207), (353, 209), (353, 210), (353, 211), (353, 212), (353, 213), (353, 214), (353, 215), (353, 216), (353, 217), (353, 218), (353, 219), (353, 220), (353, 221), (353, 222), (353, 223), (353, 224), (353, 225), (353, 226), (353, 227), (353, 228), (353, 229), (353, 230), (353, 231), (353, 232),
(353, 233), (353, 234), (353, 235), (353, 236), (353, 237), (353, 238), (353, 239), (353, 240), (353, 241), (353, 242), (353, 243), (353, 244), (353, 245), (353, 246), (353, 247), (353, 248), (353, 249), (353, 250), (353, 251), (353, 252), (353, 253), (353, 254), (353, 255), (353, 256), (353, 257), (353, 258), (353, 259), (353, 260), (353, 261), (353, 262), (353, 263), (353, 264), (353, 265), (353, 266), (353, 267), (353, 268), (353, 269), (353, 270), (353, 271), (353, 272), (353, 273), (353, 274), (353, 275), (353, 276), (353, 277), (353, 278), (353, 279), (353, 280), (353, 281), (353, 282), (353, 283), (353, 284), (353, 285), (353, 286), (353, 287), (353, 288), (353, 289), (353, 290), (353, 291), (353, 292), (353, 293), (353, 294), (353, 295), (353, 296), (353, 297), (353, 299), (354, 208), (354, 210), (354, 211), (354, 212), (354, 213), (354, 214),
(354, 215), (354, 216), (354, 217), (354, 218), (354, 219), (354, 220), (354, 221), (354, 222), (354, 223), (354, 224), (354, 225), (354, 226), (354, 227), (354, 228), (354, 229), (354, 230), (354, 231), (354, 232), (354, 233), (354, 234), (354, 235), (354, 236), (354, 237), (354, 238), (354, 239), (354, 240), (354, 241), (354, 242), (354, 243), (354, 244), (354, 245), (354, 246), (354, 247), (354, 248), (354, 249), (354, 250), (354, 251), (354, 252), (354, 253), (354, 254), (354, 255), (354, 256), (354, 257), (354, 258), (354, 259), (354, 260), (354, 261), (354, 262), (354, 263), (354, 264), (354, 265), (354, 266), (354, 267), (354, 268), (354, 269), (354, 270), (354, 271), (354, 272), (354, 273), (354, 274), (354, 275), (354, 276), (354, 277), (354, 278), (354, 279), (354, 280), (354, 281), (354, 282), (354, 283), (354, 284), (354, 285), (354, 286),
(354, 287), (354, 288), (354, 289), (354, 290), (354, 291), (354, 292), (354, 293), (354, 294), (354, 295), (354, 296), (354, 298), (355, 209), (355, 211), (355, 212), (355, 213), (355, 214), (355, 215), (355, 216), (355, 217), (355, 218), (355, 219), (355, 220), (355, 221), (355, 222), (355, 223), (355, 224), (355, 225), (355, 226), (355, 227), (355, 228), (355, 229), (355, 230), (355, 231), (355, 232), (355, 233), (355, 234), (355, 235), (355, 236), (355, 237), (355, 238), (355, 239), (355, 240), (355, 241), (355, 242), (355, 243), (355, 244), (355, 245), (355, 246), (355, 247), (355, 248), (355, 249), (355, 250), (355, 251), (355, 252), (355, 253), (355, 254), (355, 255), (355, 256), (355, 257), (355, 258), (355, 259), (355, 260), (355, 261), (355, 262), (355, 263), (355, 264), (355, 265), (355, 266), (355, 267), (355, 268), (355, 269), (355, 270),
(355, 271), (355, 272), (355, 273), (355, 274), (355, 275), (355, 276), (355, 277), (355, 278), (355, 279), (355, 280), (355, 281), (355, 282), (355, 283), (355, 284), (355, 285), (355, 286), (355, 287), (355, 288), (355, 289), (355, 290), (355, 291), (355, 292), (355, 293), (355, 294), (355, 295), (355, 297), (356, 210), (356, 212), (356, 213), (356, 214), (356, 215), (356, 216), (356, 217), (356, 218), (356, 219), (356, 220), (356, 221), (356, 222), (356, 223), (356, 224), (356, 225), (356, 226), (356, 227), (356, 228), (356, 229), (356, 230), (356, 231), (356, 232), (356, 233), (356, 234), (356, 235), (356, 236), (356, 237), (356, 238), (356, 239), (356, 240), (356, 241), (356, 242), (356, 243), (356, 244), (356, 245), (356, 246), (356, 247), (356, 248), (356, 249), (356, 250), (356, 251), (356, 252), (356, 253), (356, 254), (356, 255), (356, 256),
(356, 257), (356, 258), (356, 259), (356, 260), (356, 261), (356, 262), (356, 263), (356, 264), (356, 265), (356, 266), (356, 267), (356, 268), (356, 269), (356, 270), (356, 271), (356, 272), (356, 273), (356, 274), (356, 275), (356, 276), (356, 277), (356, 278), (356, 279), (356, 280), (356, 281), (356, 282), (356, 283), (356, 284), (356, 285), (356, 286), (356, 287), (356, 288), (356, 289), (356, 290), (356, 291), (356, 292), (356, 293), (356, 294), (356, 295), (356, 297), (357, 211), (357, 213), (357, 214), (357, 215), (357, 216), (357, 217), (357, 218), (357, 219), (357, 220), (357, 221), (357, 222), (357, 223), (357, 224), (357, 225), (357, 226), (357, 227), (357, 228), (357, 229), (357, 230), (357, 231), (357, 232), (357, 233), (357, 234), (357, 235), (357, 236), (357, 237), (357, 238), (357, 239), (357, 240), (357, 241), (357, 242), (357, 243),
(357, 244), (357, 245), (357, 246), (357, 247), (357, 248), (357, 249), (357, 250), (357, 251), (357, 252), (357, 253), (357, 254), (357, 255), (357, 256), (357, 257), (357, 258), (357, 259), (357, 260), (357, 261), (357, 262), (357, 263), (357, 264), (357, 265), (357, 266), (357, 267), (357, 268), (357, 269), (357, 270), (357, 271), (357, 272), (357, 273), (357, 274), (357, 275), (357, 276), (357, 277), (357, 278), (357, 279), (357, 280), (357, 281), (357, 282), (357, 283), (357, 284), (357, 285), (357, 286), (357, 287), (357, 288), (357, 289), (357, 290), (357, 291), (357, 292), (357, 293), (357, 294), (357, 296), (358, 211), (358, 213), (358, 214), (358, 215), (358, 216), (358, 217), (358, 218), (358, 219), (358, 220), (358, 221), (358, 222), (358, 223), (358, 224), (358, 225), (358, 226), (358, 227), (358, 228), (358, 229), (358, 230), (358, 231),
(358, 232), (358, 233), (358, 234), (358, 235), (358, 236), (358, 237), (358, 238), (358, 239), (358, 240), (358, 241), (358, 242), (358, 243), (358, 244), (358, 245), (358, 246), (358, 247), (358, 248), (358, 249), (358, 250), (358, 251), (358, 252), (358, 253), (358, 254), (358, 255), (358, 256), (358, 257), (358, 258), (358, 259), (358, 260), (358, 261), (358, 262), (358, 263), (358, 264), (358, 265), (358, 266), (358, 267), (358, 268), (358, 269), (358, 270), (358, 271), (358, 272), (358, 273), (358, 274), (358, 275), (358, 276), (358, 277), (358, 278), (358, 279), (358, 280), (358, 281), (358, 282), (358, 283), (358, 284), (358, 285), (358, 286), (358, 287), (358, 288), (358, 289), (358, 290), (358, 291), (358, 292), (358, 293), (358, 295), (359, 211), (359, 214), (359, 215), (359, 216), (359, 217), (359, 218), (359, 219), (359, 220), (359, 221),
(359, 222), (359, 223), (359, 224), (359, 225), (359, 226), (359, 227), (359, 228), (359, 229), (359, 230), (359, 231), (359, 232), (359, 233), (359, 234), (359, 235), (359, 236), (359, 237), (359, 238), (359, 239), (359, 240), (359, 241), (359, 242), (359, 243), (359, 244), (359, 245), (359, 246), (359, 247), (359, 248), (359, 249), (359, 250), (359, 251), (359, 252), (359, 253), (359, 254), (359, 255), (359, 256), (359, 257), (359, 258), (359, 259), (359, 260), (359, 261), (359, 262), (359, 263), (359, 264), (359, 265), (359, 266), (359, 267), (359, 268), (359, 269), (359, 270), (359, 271), (359, 272), (359, 273), (359, 274), (359, 275), (359, 276), (359, 277), (359, 278), (359, 279), (359, 280), (359, 281), (359, 282), (359, 283), (359, 284), (359, 285), (359, 286), (359, 287), (359, 288), (359, 289), (359, 290), (359, 291), (359, 294), (360, 212),
(360, 215), (360, 216), (360, 217), (360, 218), (360, 219), (360, 220), (360, 221), (360, 222), (360, 223), (360, 224), (360, 225), (360, 226), (360, 227), (360, 228), (360, 229), (360, 230), (360, 231), (360, 232), (360, 233), (360, 234), (360, 235), (360, 236), (360, 237), (360, 238), (360, 239), (360, 240), (360, 241), (360, 242), (360, 243), (360, 244), (360, 245), (360, 246), (360, 247), (360, 248), (360, 249), (360, 250), (360, 251), (360, 252), (360, 253), (360, 254), (360, 255), (360, 256), (360, 257), (360, 258), (360, 259), (360, 260), (360, 261), (360, 262), (360, 263), (360, 264), (360, 265), (360, 266), (360, 267), (360, 268), (360, 269), (360, 270), (360, 271), (360, 272), (360, 273), (360, 274), (360, 275), (360, 276), (360, 277), (360, 278), (360, 279), (360, 280), (360, 281), (360, 282), (360, 283), (360, 284), (360, 285), (360, 286),
(360, 287), (360, 288), (360, 289), (360, 290), (360, 293), (361, 216), (361, 217), (361, 218), (361, 219), (361, 220), (361, 221), (361, 222), (361, 223), (361, 224), (361, 225), (361, 226), (361, 227), (361, 228), (361, 229), (361, 230), (361, 231), (361, 232), (361, 233), (361, 234), (361, 235), (361, 236), (361, 237), (361, 238), (361, 239), (361, 240), (361, 241), (361, 242), (361, 243), (361, 244), (361, 245), (361, 246), (361, 247), (361, 248), (361, 249), (361, 250), (361, 251), (361, 252), (361, 253), (361, 254), (361, 255), (361, 256), (361, 257), (361, 258), (361, 259), (361, 260), (361, 261), (361, 262), (361, 263), (361, 264), (361, 265), (361, 266), (361, 267), (361, 268), (361, 269), (361, 270), (361, 271), (361, 272), (361, 273), (361, 274), (361, 275), (361, 276), (361, 277), (361, 278), (361, 279), (361, 280), (361, 281), (361, 282),
(361, 283), (361, 284), (361, 285), (361, 286), (361, 287), (361, 288), (361, 289), (361, 292), (362, 215), (362, 217), (362, 218), (362, 219), (362, 220), (362, 221), (362, 222), (362, 223), (362, 224), (362, 225), (362, 226), (362, 227), (362, 228), (362, 229), (362, 230), (362, 231), (362, 232), (362, 233), (362, 234), (362, 235), (362, 236), (362, 237), (362, 238), (362, 239), (362, 240), (362, 241), (362, 242), (362, 243), (362, 244), (362, 245), (362, 246), (362, 247), (362, 248), (362, 249), (362, 250), (362, 251), (362, 252), (362, 253), (362, 254), (362, 255), (362, 256), (362, 257), (362, 258), (362, 259), (362, 260), (362, 261), (362, 262), (362, 263), (362, 264), (362, 265), (362, 266), (362, 267), (362, 268), (362, 269), (362, 270), (362, 271), (362, 272), (362, 273), (362, 274), (362, 275), (362, 276), (362, 277), (362, 278), (362, 279),
(362, 280), (362, 281), (362, 282), (362, 283), (362, 284), (362, 285), (362, 286), (362, 287), (362, 290), (363, 215), (363, 216), (363, 217), (363, 218), (363, 219), (363, 220), (363, 221), (363, 222), (363, 223), (363, 224), (363, 228), (363, 229), (363, 230), (363, 231), (363, 232), (363, 233), (363, 234), (363, 235), (363, 236), (363, 237), (363, 238), (363, 239), (363, 240), (363, 241), (363, 242), (363, 243), (363, 244), (363, 245), (363, 246), (363, 247), (363, 248), (363, 249), (363, 250), (363, 251), (363, 252), (363, 253), (363, 254), (363, 255), (363, 256), (363, 257), (363, 258), (363, 259), (363, 260), (363, 261), (363, 262), (363, 263), (363, 264), (363, 265), (363, 266), (363, 267), (363, 268), (363, 269), (363, 270), (363, 271), (363, 272), (363, 273), (363, 274), (363, 275), (363, 276), (363, 277), (363, 278), (363, 279), (363, 280),
(363, 281), (363, 282), (363, 283), (363, 284), (363, 285), (363, 289), (364, 216), (364, 218), (364, 219), (364, 220), (364, 221), (364, 222), (364, 223), (364, 225), (364, 226), (364, 229), (364, 230), (364, 231), (364, 232), (364, 233), (364, 234), (364, 235), (364, 236), (364, 237), (364, 238), (364, 239), (364, 240), (364, 241), (364, 242), (364, 243), (364, 244), (364, 245), (364, 246), (364, 247), (364, 248), (364, 249), (364, 250), (364, 251), (364, 252), (364, 253), (364, 254), (364, 255), (364, 256), (364, 257), (364, 258), (364, 259), (364, 260), (364, 261), (364, 262), (364, 263), (364, 264), (364, 265), (364, 266), (364, 267), (364, 268), (364, 269), (364, 270), (364, 271), (364, 272), (364, 273), (364, 274), (364, 275), (364, 276), (364, 277), (364, 278), (364, 279), (364, 280), (364, 281), (364, 282), (364, 283), (364, 284), (364, 287),
(365, 217), (365, 219), (365, 220), (365, 221), (365, 222), (365, 224), (365, 228), (365, 230), (365, 231), (365, 232), (365, 233), (365, 234), (365, 235), (365, 236), (365, 237), (365, 238), (365, 239), (365, 240), (365, 241), (365, 242), (365, 243), (365, 244), (365, 245), (365, 246), (365, 247), (365, 248), (365, 249), (365, 250), (365, 251), (365, 252), (365, 253), (365, 254), (365, 255), (365, 256), (365, 257), (365, 258), (365, 259), (365, 260), (365, 261), (365, 262), (365, 263), (365, 264), (365, 265), (365, 266), (365, 267), (365, 268), (365, 269), (365, 270), (365, 271), (365, 272), (365, 273), (365, 274), (365, 275), (365, 276), (365, 277), (365, 278), (365, 279), (365, 280), (365, 281), (365, 282), (365, 285), (366, 217), (366, 219), (366, 220), (366, 221), (366, 223), (366, 229), (366, 231), (366, 232), (366, 233), (366, 234), (366, 235),
(366, 236), (366, 237), (366, 238), (366, 239), (366, 240), (366, 241), (366, 242), (366, 243), (366, 244), (366, 245), (366, 246), (366, 247), (366, 248), (366, 249), (366, 250), (366, 251), (366, 252), (366, 253), (366, 254), (366, 255), (366, 256), (366, 257), (366, 258), (366, 259), (366, 260), (366, 261), (366, 262), (366, 263), (366, 264), (366, 265), (366, 266), (366, 267), (366, 268), (366, 269), (366, 270), (366, 271), (366, 272), (366, 273), (366, 274), (366, 275), (366, 276), (366, 277), (366, 278), (366, 279), (366, 280), (366, 281), (366, 282), (367, 217), (367, 219), (367, 220), (367, 222), (367, 229), (367, 231), (367, 232), (367, 233), (367, 234), (367, 235), (367, 236), (367, 237), (367, 238), (367, 239), (367, 240), (367, 241), (367, 242), (367, 243), (367, 244), (367, 245), (367, 246), (367, 247), (367, 248), (367, 249), (367, 250),
(367, 251), (367, 252), (367, 253), (367, 254), (367, 255), (367, 256), (367, 257), (367, 258), (367, 259), (367, 260), (367, 261), (367, 262), (367, 263), (367, 264), (367, 265), (367, 266), (367, 267), (367, 268), (367, 269), (367, 270), (367, 271), (367, 272), (367, 273), (367, 274), (367, 275), (367, 276), (367, 277), (367, 278), (367, 279), (367, 280), (367, 282), (368, 217), (368, 219), (368, 220), (368, 222), (368, 230), (368, 232), (368, 233), (368, 234), (368, 235), (368, 236), (368, 237), (368, 238), (368, 239), (368, 240), (368, 241), (368, 242), (368, 243), (368, 244), (368, 245), (368, 246), (368, 247), (368, 248), (368, 249), (368, 250), (368, 251), (368, 252), (368, 253), (368, 254), (368, 255), (368, 256), (368, 257), (368, 258), (368, 259), (368, 260), (368, 261), (368, 262), (368, 263), (368, 264), (368, 265), (368, 266), (368, 267),
(368, 268), (368, 269), (368, 270), (368, 271), (368, 272), (368, 273), (368, 274), (368, 275), (368, 276), (368, 277), (368, 278), (368, 279), (368, 280), (368, 282), (369, 218), (369, 221), (369, 230), (369, 232), (369, 233), (369, 234), (369, 235), (369, 236), (369, 237), (369, 238), (369, 239), (369, 240), (369, 241), (369, 242), (369, 243), (369, 244), (369, 245), (369, 246), (369, 247), (369, 248), (369, 249), (369, 250), (369, 251), (369, 252), (369, 253), (369, 254), (369, 255), (369, 256), (369, 257), (369, 258), (369, 259), (369, 260), (369, 261), (369, 262), (369, 263), (369, 264), (369, 265), (369, 266), (369, 267), (369, 268), (369, 269), (369, 270), (369, 271), (369, 272), (369, 273), (369, 274), (369, 275), (369, 276), (369, 277), (369, 278), (369, 279), (369, 281), (370, 218), (370, 221), (370, 230), (370, 232), (370, 233), (370, 234),
(370, 235), (370, 236), (370, 237), (370, 238), (370, 239), (370, 240), (370, 241), (370, 242), (370, 243), (370, 244), (370, 245), (370, 246), (370, 247), (370, 248), (370, 249), (370, 250), (370, 251), (370, 252), (370, 253), (370, 254), (370, 255), (370, 256), (370, 257), (370, 258), (370, 259), (370, 260), (370, 261), (370, 262), (370, 263), (370, 264), (370, 265), (370, 266), (370, 267), (370, 268), (370, 269), (370, 270), (370, 271), (370, 272), (370, 273), (370, 274), (370, 275), (370, 276), (370, 277), (370, 278), (370, 279), (370, 281), (371, 218), (371, 220), (371, 230), (371, 232), (371, 233), (371, 234), (371, 235), (371, 236), (371, 237), (371, 238), (371, 239), (371, 240), (371, 241), (371, 242), (371, 243), (371, 244), (371, 245), (371, 246), (371, 247), (371, 248), (371, 249), (371, 250), (371, 251), (371, 252), (371, 253), (371, 254),
(371, 255), (371, 256), (371, 257), (371, 258), (371, 259), (371, 260), (371, 261), (371, 262), (371, 263), (371, 264), (371, 265), (371, 266), (371, 267), (371, 268), (371, 269), (371, 270), (371, 271), (371, 272), (371, 273), (371, 274), (371, 275), (371, 276), (371, 277), (371, 280), (372, 220), (372, 230), (372, 232), (372, 233), (372, 234), (372, 235), (372, 236), (372, 237), (372, 238), (372, 239), (372, 240), (372, 241), (372, 242), (372, 243), (372, 244), (372, 245), (372, 246), (372, 247), (372, 248), (372, 249), (372, 250), (372, 251), (372, 252), (372, 253), (372, 254), (372, 255), (372, 256), (372, 257), (372, 258), (372, 259), (372, 260), (372, 261), (372, 262), (372, 263), (372, 264), (372, 265), (372, 266), (372, 267), (372, 268), (372, 269), (372, 270), (372, 271), (372, 272), (372, 273), (372, 274), (372, 275), (372, 278), (372, 279),
(373, 230), (373, 232), (373, 233), (373, 234), (373, 235), (373, 236), (373, 237), (373, 238), (373, 239), (373, 240), (373, 241), (373, 242), (373, 243), (373, 244), (373, 245), (373, 246), (373, 247), (373, 248), (373, 249), (373, 250), (373, 251), (373, 252), (373, 253), (373, 254), (373, 255), (373, 256), (373, 257), (373, 258), (373, 259), (373, 260), (373, 261), (373, 262), (373, 263), (373, 264), (373, 265), (373, 266), (373, 267), (373, 268), (373, 269), (373, 270), (373, 271), (373, 272), (373, 273), (373, 277), (374, 231), (374, 233), (374, 234), (374, 235), (374, 236), (374, 237), (374, 238), (374, 239), (374, 240), (374, 241), (374, 242), (374, 243), (374, 244), (374, 245), (374, 246), (374, 247), (374, 248), (374, 249), (374, 250), (374, 251), (374, 252), (374, 253), (374, 254), (374, 255), (374, 256), (374, 257), (374, 258), (374, 259),
(374, 260), (374, 261), (374, 262), (374, 263), (374, 264), (374, 265), (374, 266), (374, 267), (374, 268), (374, 269), (374, 270), (374, 271), (374, 275), (375, 231), (375, 233), (375, 234), (375, 235), (375, 236), (375, 237), (375, 238), (375, 239), (375, 240), (375, 241), (375, 242), (375, 243), (375, 244), (375, 245), (375, 246), (375, 247), (375, 248), (375, 249), (375, 250), (375, 251), (375, 252), (375, 253), (375, 254), (375, 255), (375, 256), (375, 257), (375, 258), (375, 259), (375, 260), (375, 261), (375, 262), (375, 263), (375, 264), (375, 265), (375, 266), (375, 267), (375, 268), (375, 269), (375, 273), (376, 231), (376, 233), (376, 234), (376, 235), (376, 236), (376, 237), (376, 238), (376, 239), (376, 240), (376, 241), (376, 242), (376, 243), (376, 244), (376, 245), (376, 246), (376, 247), (376, 248), (376, 249), (376, 250), (376, 251),
(376, 252), (376, 253), (376, 254), (376, 255), (376, 256), (376, 257), (376, 258), (376, 259), (376, 260), (376, 261), (376, 262), (376, 263), (376, 264), (376, 265), (376, 266), (376, 267), (376, 271), (377, 232), (377, 234), (377, 235), (377, 236), (377, 237), (377, 238), (377, 239), (377, 240), (377, 241), (377, 242), (377, 243), (377, 244), (377, 245), (377, 246), (377, 247), (377, 248), (377, 249), (377, 250), (377, 251), (377, 252), (377, 253), (377, 254), (377, 255), (377, 256), (377, 257), (377, 258), (377, 259), (377, 260), (377, 261), (377, 262), (377, 263), (377, 264), (377, 265), (377, 266), (377, 269), (378, 233), (378, 244), (378, 245), (378, 246), (378, 247), (378, 248), (378, 249), (378, 250), (378, 251), (378, 252), (378, 253), (378, 254), (378, 255), (378, 256), (378, 257), (378, 258), (378, 259), (378, 267), (379, 234), (379, 236),
(379, 237), (379, 238), (379, 239), (379, 240), (379, 241), (379, 242), (379, 243), (379, 248), (379, 249), (379, 250), (379, 251), (379, 252), (379, 253), (379, 260), (379, 261), (379, 262), (379, 263), (379, 264), (379, 265), (380, 244), (380, 245), (380, 246), (380, 247), (380, 254), (380, 255), (380, 256), (380, 257), (380, 258), (380, 259), (381, 248), (381, 249), (381, 250), (381, 251), (381, 252), (381, 253), )
| 854.144691
| 865
| 0.496094
|
9f4d7f91aa95c8b9f2d98da668794b631b28bace
| 2,024
|
py
|
Python
|
examples/dfp/v201511/base_rate_service/create_product_template_base_rates.py
|
wbrp/googleads-python-lib
|
c0f8ce6c4acfe88ce8f913a4f0e0e92b548e1022
|
[
"Apache-2.0"
] | 1
|
2020-05-23T11:32:32.000Z
|
2020-05-23T11:32:32.000Z
|
examples/dfp/v201511/base_rate_service/create_product_template_base_rates.py
|
wbrp/googleads-python-lib
|
c0f8ce6c4acfe88ce8f913a4f0e0e92b548e1022
|
[
"Apache-2.0"
] | null | null | null |
examples/dfp/v201511/base_rate_service/create_product_template_base_rates.py
|
wbrp/googleads-python-lib
|
c0f8ce6c4acfe88ce8f913a4f0e0e92b548e1022
|
[
"Apache-2.0"
] | 2
|
2018-04-20T02:16:33.000Z
|
2020-11-12T20:58:54.000Z
|
#!/usr/bin/python
#
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""This example creates a product template base rate.
To determine which base rates exist, run get_all_base_rates.py.
"""
# Import appropriate modules from the client library.
from googleads import dfp
PRODUCT_TEMPLATE_ID = 'INSERT_PRODUCT_TEMPLATE_ID_HERE'
RATE_CARD_ID = 'INSERT_RATE_CARD_ID_HERE'
def main(client, product_template_id, rate_card_id):
# Initialize appropriate service.
base_rate_service = client.GetService(
'BaseRateService', version='v201511')
# Create a product template base rate.
product_template_base_rate = {
'xsi_type': 'ProductTemplateBaseRate',
'rateCardId': rate_card_id,
'productTemplateId': product_template_id,
# Set the rate to be $2.
'rate': {
'currencyCode': 'USD',
'microAmount': 2000000
}
}
# Create base rates on the server.
base_rates = base_rate_service.createBaseRates(
[product_template_base_rate])
if base_rates:
for base_rate in base_rates:
print ('A product template base rate with ID \'%s\' and rate \'%.2f\' %s'
' was created.' % (base_rate['id'],
base_rate['rate']['microAmount'],
base_rate['rate']['currencyCode']))
if __name__ == '__main__':
# Initialize client object.
dfp_client = dfp.DfpClient.LoadFromStorage()
main(dfp_client, PRODUCT_TEMPLATE_ID, RATE_CARD_ID)
| 31.625
| 79
| 0.698123
|
d24694ac380d147d06f6628311905a84a58f547e
| 548
|
py
|
Python
|
plotly/validators/sankey/stream/_maxpoints.py
|
gnestor/plotly.py
|
a8ae062795ddbf9867b8578fe6d9e244948c15ff
|
[
"MIT"
] | 12
|
2020-04-18T18:10:22.000Z
|
2021-12-06T10:11:15.000Z
|
plotly/validators/sankey/stream/_maxpoints.py
|
gnestor/plotly.py
|
a8ae062795ddbf9867b8578fe6d9e244948c15ff
|
[
"MIT"
] | 27
|
2020-04-28T21:23:12.000Z
|
2021-06-25T15:36:38.000Z
|
plotly/validators/sankey/stream/_maxpoints.py
|
gnestor/plotly.py
|
a8ae062795ddbf9867b8578fe6d9e244948c15ff
|
[
"MIT"
] | 6
|
2020-04-18T23:07:08.000Z
|
2021-11-18T07:53:06.000Z
|
import _plotly_utils.basevalidators
class MaxpointsValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name='maxpoints', parent_name='sankey.stream', **kwargs
):
super(MaxpointsValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop('edit_type', 'calc'),
max=kwargs.pop('max', 10000),
min=kwargs.pop('min', 0),
role=kwargs.pop('role', 'info'),
**kwargs
)
| 30.444444
| 76
| 0.611314
|
b654e636bfbf7fe9134a3251cd1c758d08272587
| 4,241
|
py
|
Python
|
irqtest.py
|
danicampora/Micropython-scheduler
|
1252b057a8fa6396e0b1ed9e5610c80a4dfa02dd
|
[
"MIT"
] | 1
|
2022-03-30T16:13:13.000Z
|
2022-03-30T16:13:13.000Z
|
irqtest.py
|
danicampora/Micropython-scheduler
|
1252b057a8fa6396e0b1ed9e5610c80a4dfa02dd
|
[
"MIT"
] | null | null | null |
irqtest.py
|
danicampora/Micropython-scheduler
|
1252b057a8fa6396e0b1ed9e5610c80a4dfa02dd
|
[
"MIT"
] | 2
|
2020-07-21T16:01:16.000Z
|
2020-08-14T10:18:04.000Z
|
# irqtest.py Demonstrates, with minimal hardware, the use of the scheduler in responding to pin interrupts
# Author: Peter Hinch
# V1.02 6th Sep 2014
# Also demonstrates the debounced switch library (which is threaded)
# A thread sets up initial conditions and blocks pending an interrupt. When it occurs the following things happen
# 1. The scheduler's default callback function runs recording the fact that the event has happened.
# 2. The user's callback runs. This is still in the interrupt handler's context: Micropython rules apply
# 3. (Later) the thread wakes up. It receives a count of the number of interrupts which have occurred while it
# was blocked.
# This demo runs one thread as an oscillator pulsing (via a link) an input pin. The callback function toggles
# an lED and pulses an output pin. The blocking thread toggles another LED and prints a message.
# The optional pushbuttons print a message when operated.
import pyb
from usched import Sched, Poller, Timeout, Pinblock, wait
from switch import Switch # Library supporting debounced switches
# HARDWARE
# MicroPython board with pin X7 linked to pin X8
# Optionally provide two pushbuttons wired to be capable of grounding X5 and X6 respectively
# The interrupt handler pulses pin Y10 to enable timings to be measured, notably minimum pulse duration
# and latency
# THREADS:
def stop(fTim, objSch): # Stop the scheduler after fTim seconds
yield from wait(fTim)
objSch.stop()
def oscillator(freq_hz = 1): # Toggles X7 forever.
outpin = pyb.Pin(pyb.Pin.board.X7, pyb.Pin.OUT_PP) # Push pull output pin on X7
wf = Timeout(1/(2*freq_hz))
while True:
outpin.low()
yield wf() # Duration will be imprecise owing to contention
outpin.high()
yield wf()
class Irq_handler(object): # Using an object to demonstrate communication between
def __init__(self, lstLed, testpin): # the interrupt handler and its thread
self.lstLed = lstLed
self.testpin = testpin
def callback(self, irqno): # BEWARE: runs in interrupt's context. MicroPython rules apply
self.testpin.high() # along with normal concurrency caveats
self.testpin.low() # Pulse of 6.8uS on Y10
self.lstLed[1].toggle()
def irqtest_thread(): # Thread blocks on an interrupt.
lstLeds = [pyb.LED(x) for x in range(1,5)] # Initialise all four on board LED's
testpin = pyb.Pin(pyb.Pin.board.Y10, pyb.Pin.OUT_PP) # Pin Y10 pulsed when handler runs
mypin = pyb.Pin.board.X8 # X8 used for interrupt request
han = Irq_handler(lstLeds, testpin)
wf = Pinblock(mypin, pyb.ExtInt.IRQ_FALLING, pyb.Pin.PULL_NONE, han.callback) # Blocking interrupt handler
count = 0
while True:
result = (yield wf()) # Wait for the interrupt
lstLeds[0].toggle() # Toggle LED
print("Interrupt recieved ", result)
def x5print(*args):
print("X5 released " +args[0]) # Demo of argument passing
def x6print(*args):
print("X6 pressed " + args[0])
# USER TEST PROGRAM
# Runs forever unless you pass a number of seconds
def test(duration = 0): # Runs oscillator, counts interrupts, responds to switches
if duration:
print("Test interrupt on pin X8 for {:3d} seconds".format(duration))
objSched = Sched() # Requires jumper between pins X7 and X8
objSched.add_thread(oscillator(1)) # 1Hz
objSched.add_thread(irqtest_thread())
Switch(objSched, 'X5', open_func = x5print, open_func_args = ("Red",)) # X5 triggers on open
Switch(objSched, 'X6', x6print, ("Yellow",)) # X6 triggers on close
if duration:
objSched.add_thread(stop(duration, objSched))
objSched.run()
test(30)
| 49.313953
| 122
| 0.621316
|
940a751dc4cdad41bab1f51e8fb550e200b3520d
| 2,858
|
py
|
Python
|
photoblog_root/settings.py
|
markableidinger/one-page-photoblog
|
5fa0b37a7e6b42fdf356f1d23b262be1fe3bc729
|
[
"MIT"
] | null | null | null |
photoblog_root/settings.py
|
markableidinger/one-page-photoblog
|
5fa0b37a7e6b42fdf356f1d23b262be1fe3bc729
|
[
"MIT"
] | null | null | null |
photoblog_root/settings.py
|
markableidinger/one-page-photoblog
|
5fa0b37a7e6b42fdf356f1d23b262be1fe3bc729
|
[
"MIT"
] | null | null | null |
"""Settings file for single page photoblog."""
import os
import json
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
CREDENTIALS = json.load(open(os.path.join(BASE_DIR, 'secrets.json'), 'r'))
SECRET_KEY = CREDENTIALS['secret_key']
# Necessary stuff for django storages with s3
AWS_ACCESS_KEY_ID = CREDENTIALS['aws_access_key']
AWS_SECRET_ACCESS_KEY = CREDENTIALS['aws_secret_key']
AWS_STORAGE_BUCKET_NAME = CREDENTIALS['s3_bucket_name']
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'
DEBUG = True
ALLOWED_HOSTS = []
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'storages',
'rest_framework',
'entries',
'corsheaders',
]
MIDDLEWARE_CLASSES = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'photoblog_root.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'photoblog_root.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': CREDENTIALS['db_name'],
'USER': CREDENTIALS['db_user'],
'PASSWORD': CREDENTIALS['db_password'],
'HOST': CREDENTIALS['db_host'],
'PORT': CREDENTIALS['db_port'],
}
}
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = 'staticfiles'
CORS_ORIGIN_ALLOW_ALL = True
| 26.462963
| 91
| 0.686494
|
4f95db10a5d228539842f58445a4f3fb08ac10d0
| 3,764
|
py
|
Python
|
qualitycc.py
|
rootstrap/NWPU-Crowd-Sample-Code
|
fe8e986d23e88f7b9defabbd0b3f6f655803152d
|
[
"MIT"
] | 132
|
2020-01-11T06:04:43.000Z
|
2022-03-31T02:51:28.000Z
|
qualitycc.py
|
rootstrap/NWPU-Crowd-Sample-Code
|
fe8e986d23e88f7b9defabbd0b3f6f655803152d
|
[
"MIT"
] | 25
|
2020-01-14T07:32:48.000Z
|
2021-11-16T07:18:48.000Z
|
qualitycc.py
|
rootstrap/NWPU-Crowd-Sample-Code
|
fe8e986d23e88f7b9defabbd0b3f6f655803152d
|
[
"MIT"
] | 34
|
2020-01-13T02:16:23.000Z
|
2022-03-25T15:08:27.000Z
|
# -*- coding: utf-8 -*-
# import torch
# import torch.nn.functional as F
# from torch.autograd import Variable
# import numpy as np
# from math import exp
# import math
# def gaussian(window_size, sigma):
# gauss = torch.Tensor([exp(-(x - window_size//2)**2/float(2*sigma**2)) for x in range(window_size)])
# return gauss/gauss.sum()
# def create_window(window_size, channel):
# _1D_window = gaussian(window_size, 1.5).unsqueeze(1)
# _2D_window = _1D_window.mm(_1D_window.t()).float().unsqueeze(0).unsqueeze(0)
# window = Variable(_2D_window.expand(channel, 1, window_size, window_size).contiguous())
# return window
# def _ssim(img1, img2, window, window_size, channel, L=1):
# mu1 = F.conv2d(img1, window, padding = window_size//2, groups = channel)
# mu2 = F.conv2d(img2, window, padding = window_size//2, groups = channel)
# mu1_sq = mu1.pow(2)
# mu2_sq = mu2.pow(2)
# mu1_mu2 = mu1*mu2
# sigma1_sq = F.conv2d(img1*img1, window, padding = window_size//2, groups = channel) - mu1_sq
# sigma2_sq = F.conv2d(img2*img2, window, padding = window_size//2, groups = channel) - mu2_sq
# sigma12 = F.conv2d(img1*img2, window, padding = window_size//2, groups = channel) - mu1_mu2
# C1 = 0.01 ** 2
# C2 = 0.03 ** 2
# ssim_map = ((2*mu1_mu2 + C1)*(2*sigma12 + C2))/((mu1_sq + mu2_sq + C1)*(sigma1_sq + sigma2_sq + C2))
# return ssim_map.mean()
# def calc_ssim(gtmap, pdmap):
# window = create_window(11, 1)
# if gtmap.is_cuda:
# window = window.cuda(gtmap.get_device())
# window = window.type_as(gtmap)
# return _ssim(gtmap, pdmap, window, 11, 1)
# def calc_psnr(gtmap, pdmap):
# #print(gtmap.sum(), pdmap.sum())
# gtmax = gtmap.max()
# mse = torch.sqrt(torch.mean((gtmap - pdmap) ** 2))
# if gtmax == 0 or mse == 0:
# return "NaN"
# psnr = 20 * torch.log10(gtmax / mse)
# print(mse.item(), gtmax.item(), psnr.item())
# return psnr
import numpy
from scipy.ndimage import gaussian_filter
from numpy.lib.stride_tricks import as_strided as ast
import numpy as np
import math
"""
Hat tip: http://stackoverflow.com/a/5078155/1828289
"""
def block_view(A, block=(3, 3)):
"""Provide a 2D block view to 2D array. No error checking made.
Therefore meaningful (as implemented) only for blocks strictly
compatible with the shape of A."""
# simple shape and strides computations may seem at first strange
# unless one is able to recognize the 'tuple additions' involved ;-)
shape = (A.shape[0] // block[0], A.shape[1] // block[1])+ block
strides = (block[0]* A.strides[0], block[1]* A.strides[1])+ A.strides
return ast(A, shape= shape, strides= strides)
def calc_ssim(img1, img2, C1=0.01**2, C2=0.03**2):
bimg1 = block_view(img1, (11,11))
bimg2 = block_view(img2, (11,11))
s1 = numpy.sum(bimg1, (-1, -2))
s2 = numpy.sum(bimg2, (-1, -2))
ss = numpy.sum(bimg1*bimg1, (-1, -2)) + numpy.sum(bimg2*bimg2, (-1, -2))
s12 = numpy.sum(bimg1*bimg2, (-1, -2))
vari = ss - s1*s1 - s2*s2
covar = s12 - s1*s2
ssim_map = (2*s1*s2 + C1) * (2*covar + C2) / ((s1*s1 + s2*s2 + C1) * (vari + C2))
return numpy.mean(ssim_map)
# def psnr(img1, img2):
# mse = numpy.mean( (img1 - img2) ** 2 )
# if mse == 0:
# return 100
# PIXEL_MAX = 255.0
# return 20 * math.log10(PIXEL_MAX / math.sqrt(mse))
def calc_psnr(img1, img2):
'''
if np.max(img1) != 0:
img1 = img1/np.max(img1)*255
if np.max(img2) != 0:
img2 = img2/np.max(img2)*255
'''
mse = np.mean( (img1 - img2) ** 2 )
img1max = np.max(img1)
if mse == 0 or img1max == 0:
return "NaN"
return 20 * math.log10(np.max(img1) / math.sqrt(mse))
| 33.017544
| 106
| 0.615569
|
fcd1003e70dd30ec908c5366c16bd9f20d4b2aea
| 189
|
py
|
Python
|
src/accounts/admin.py
|
RobetSlovev39/AutoGraph
|
c8bdb358b95143ab0d8c6f7c475a6c21f7a76b95
|
[
"MIT"
] | null | null | null |
src/accounts/admin.py
|
RobetSlovev39/AutoGraph
|
c8bdb358b95143ab0d8c6f7c475a6c21f7a76b95
|
[
"MIT"
] | null | null | null |
src/accounts/admin.py
|
RobetSlovev39/AutoGraph
|
c8bdb358b95143ab0d8c6f7c475a6c21f7a76b95
|
[
"MIT"
] | null | null | null |
from .models import User
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
@admin.register(User)
class UserAdmin(BaseUserAdmin):
pass
| 18.9
| 64
| 0.804233
|
b1720a84d6267182a63fbe5bfb9729da808d4c25
| 867
|
py
|
Python
|
src/pretalx/submission/migrations/0040_submission_created_data.py
|
xhub/pretalx
|
33bd07ec98ddeb5b7ff35fe7e30c4d38bef57d7e
|
[
"Apache-2.0"
] | null | null | null |
src/pretalx/submission/migrations/0040_submission_created_data.py
|
xhub/pretalx
|
33bd07ec98ddeb5b7ff35fe7e30c4d38bef57d7e
|
[
"Apache-2.0"
] | 1
|
2019-07-05T20:03:42.000Z
|
2019-07-05T20:03:42.000Z
|
src/pretalx/submission/migrations/0040_submission_created_data.py
|
xhub/pretalx
|
33bd07ec98ddeb5b7ff35fe7e30c4d38bef57d7e
|
[
"Apache-2.0"
] | null | null | null |
# Generated by Django 2.2.1 on 2019-05-01 20:36
from django.db import migrations
from django_scopes import scopes_disabled
def fill_created(apps, schema_editor):
with scopes_disabled():
Submission = apps.get_model('submission', 'Submission')
for submission_id in Submission.objects.all().values_list('pk', flat=True):
submission = Submission.objects.get(pk=submission_id)
submission.created = getattr(
submission.logged_actions().order_by('timestamp').first(), 'timestamp', None
)
if submission.created:
submission.save(update_fields=['created'])
class Migration(migrations.Migration):
dependencies = [
('submission', '0039_submission_created'),
]
operations = [
migrations.RunPython(fill_created, migrations.RunPython.noop),
]
| 30.964286
| 92
| 0.66436
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.