content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
"""
secstill plugin Senerio
This plugin will monitor camera view using motion tracking.
When motion tracking is triggered, the camera will take an HD still image
then stop and monitor for the next motion tracking event. There will
be a delay in taking the image due to camera change from streaming mode
therefore faster motions may be missed.
This configuration is suitable for a local security camera or a project
to capture high quality images of slower moving objects.
Edit the settings below to suit your project needs.
if config.py variable pluginEnable=True and pluginName=secstill
then these settings will override the config.py settings.
"""
# Customize Settings Below to Suit your Project Needs
# ---------------------------------------------------
imageNamePrefix = 'HD-' # default= 'HD-' for all image file names. Eg garage-
motionPrefix = "mo-" # default= "mo-" Prefix for all Motion Detect images
motionDir = "media/secstill" # default= "media/secstill" Folder Path for Motion Detect Image Storage
motionStartAt = "" # default= "" Off or Specify date/time to Start Sequence Eg "01-jan-20018 08:00:00" or "20:00:00"
imageWidth = 1920 # default= 1920 Full Size Image Width in px
imageHeight = 1080 # default= 1080 Full Size Image Height in px
imageVFlip = False # default= False True Flips image Vertically
imageHFlip = False # default= False True Flips image Horizontally
showDateOnImage = True # default= True False=Do Not display date/time text on images
motionNumOn = False # default= True True=filenames by sequenced Number False=filenames by date/time
# Use settings below if motionNumOn = True
motionNumRecycle = False # default= False (off) True= Restart at NumStart when motionNumMax reached
motionNumStart = 10000 # default= 10000 Start 0f motion number sequence
motionNumMax = 0 # default= 0 (0=Continuous) os specify Max number of motion images desired.
# Manage subfolders
# -----------------
motionSubDirMaxHours = 0 # 0=off or specify Max Hrs to create new sub-folder if HrsMax exceeded
motionSubDirMaxFiles = 1000 # 0=off or specify Max Files to create new sub-folder if FilesMax exceeded
motionRecentMax = 40 # 0=off Maintain specified number of most recent files in motionRecentDir
motionRecentDir = "media/recent/secstill" # default= "media/recent/secstill" Location of motionRecent files
# Manage Disk Space Settings
#---------------------------
spaceTimerHrs = 1 # default= 0 0=off or specify hours frequency to perform free disk space check
spaceFreeMB = 500 # default= 500 Target Free space in MB Required.
spaceMediaDir = motionDir # default= motion per variable above
spaceFileExt = 'jpg' # default= 'mp4' File extension to Delete Oldest Files
# Do Not Change these Settings
# ----------------------------
motionTrackOn = True # Turn on Motion Tracking
motionVideoOn = False # Take images
motionQuickTLOn = False # Turn on motion timelapse sequence mode
motionTrackQuickPic = False # Turn off quick picture from video stream
timelapseOn = False # Turn off normal time lapse mode so only motion mode used.
videoRepeatOn = False # Turn on Video Repeat Mode IMPORTANT Overrides timelapse and motion
motionForce = 0 # Do not force motion image if no motion for a period of time
| """
secstill plugin Senerio
This plugin will monitor camera view using motion tracking.
When motion tracking is triggered, the camera will take an HD still image
then stop and monitor for the next motion tracking event. There will
be a delay in taking the image due to camera change from streaming mode
therefore faster motions may be missed.
This configuration is suitable for a local security camera or a project
to capture high quality images of slower moving objects.
Edit the settings below to suit your project needs.
if config.py variable pluginEnable=True and pluginName=secstill
then these settings will override the config.py settings.
"""
image_name_prefix = 'HD-'
motion_prefix = 'mo-'
motion_dir = 'media/secstill'
motion_start_at = ''
image_width = 1920
image_height = 1080
image_v_flip = False
image_h_flip = False
show_date_on_image = True
motion_num_on = False
motion_num_recycle = False
motion_num_start = 10000
motion_num_max = 0
motion_sub_dir_max_hours = 0
motion_sub_dir_max_files = 1000
motion_recent_max = 40
motion_recent_dir = 'media/recent/secstill'
space_timer_hrs = 1
space_free_mb = 500
space_media_dir = motionDir
space_file_ext = 'jpg'
motion_track_on = True
motion_video_on = False
motion_quick_tl_on = False
motion_track_quick_pic = False
timelapse_on = False
video_repeat_on = False
motion_force = 0 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
def check(N,S):
if S=='.':
return N+1,False
else:
return N,True
def main():
H,W,X,Y = map(int,input().split())
S = [list(map(str,input())) for i in range(H)]
X -= 1
Y -= 1
ans = -3
for i in range(X,H,1):
ans,flag = check(ans,S[i][Y])
if flag: break
for i in range(X,-1,-1):
ans,flag = check(ans,S[i][Y])
if flag: break
for j in range(Y,W,1):
ans,flag = check(ans,S[X][j])
if flag: break
for j in range(Y,-1,-1):
ans,flag = check(ans,S[X][j])
if flag: break
print(ans)
if __name__ == '__main__':
main() | def check(N, S):
if S == '.':
return (N + 1, False)
else:
return (N, True)
def main():
(h, w, x, y) = map(int, input().split())
s = [list(map(str, input())) for i in range(H)]
x -= 1
y -= 1
ans = -3
for i in range(X, H, 1):
(ans, flag) = check(ans, S[i][Y])
if flag:
break
for i in range(X, -1, -1):
(ans, flag) = check(ans, S[i][Y])
if flag:
break
for j in range(Y, W, 1):
(ans, flag) = check(ans, S[X][j])
if flag:
break
for j in range(Y, -1, -1):
(ans, flag) = check(ans, S[X][j])
if flag:
break
print(ans)
if __name__ == '__main__':
main() |
class Pet:
def __init__(self, name, age):
self.name = name
self.age = age
def show(self):
print(f'Hello! I am {self.name} and I am {self.age} years old!')
def speak(self):
print('I dont know what I say!')
class Cat(Pet):
def __init__(self, name, age, color):
super().__init__(name, age)
self.color = color
def speak(self):
print('Meow')
def show(self):
print(f'Hello! I am {self.name} and I am {self.age} years old and I am {self.color}')
class Dog(Pet):
def speak(self):
print('Bark')
p = Pet('Tim', 19)
p.speak()
c = Cat('Bill', 34, 'Brown')
c.show()
d = Dog('Jill', 25)
d.speak()
| class Pet:
def __init__(self, name, age):
self.name = name
self.age = age
def show(self):
print(f'Hello! I am {self.name} and I am {self.age} years old!')
def speak(self):
print('I dont know what I say!')
class Cat(Pet):
def __init__(self, name, age, color):
super().__init__(name, age)
self.color = color
def speak(self):
print('Meow')
def show(self):
print(f'Hello! I am {self.name} and I am {self.age} years old and I am {self.color}')
class Dog(Pet):
def speak(self):
print('Bark')
p = pet('Tim', 19)
p.speak()
c = cat('Bill', 34, 'Brown')
c.show()
d = dog('Jill', 25)
d.speak() |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sat Oct 31 02:08:01 2020
@author: mlampert
"""
"""
USEFUL COMMANDS WHICH I NEED FROM TIME TO TIME
"""
| """
Created on Sat Oct 31 02:08:01 2020
@author: mlampert
"""
'\nUSEFUL COMMANDS WHICH I NEED FROM TIME TO TIME\n' |
# Python dictionary with keys having multiple inputs
# First Example
dict = {}
x, y, z = 10, 20, 30
dict[x, y, z] = x + y - z
x, y, z = 5, 2, 4
dict[x, y, z] = x + y - z
print(dict)
# Second Example
places = {("19.07'53.2", "72.54'51.0"):"Mumbai", ("28.33'34.1", "77.06'16.6"):"Delhi"}
print(places)
lat = []
long = []
plc = []
for i in places :
lat.append(i[0])
long.append(i[1])
plc.append(places[i[0], i[1]])
print(lat)
print(long)
print(plc)
| dict = {}
(x, y, z) = (10, 20, 30)
dict[x, y, z] = x + y - z
(x, y, z) = (5, 2, 4)
dict[x, y, z] = x + y - z
print(dict)
places = {("19.07'53.2", "72.54'51.0"): 'Mumbai', ("28.33'34.1", "77.06'16.6"): 'Delhi'}
print(places)
lat = []
long = []
plc = []
for i in places:
lat.append(i[0])
long.append(i[1])
plc.append(places[i[0], i[1]])
print(lat)
print(long)
print(plc) |
# Warning: This is an example of how you should *not*
# implement stimulus presentation in time-critical
# experiments.
#
# Prepare canvas 1 and show it
canvas1 = Canvas()
canvas1 += Text('This is the first canvas')
t1 = canvas1.show()
# Sleep for 95 ms to get a 100 ms delay
clock.sleep(95)
# Prepare canvas 2 and show it
canvas2 = Canvas()
canvas2 += Text('This is the second canvas')
t2 = canvas2.show()
# The actual delay will be more than 100 ms, because
# stimulus preparation time is included. This is bad!
print('Actual delay: %s' % (t2-t1))
| canvas1 = canvas()
canvas1 += text('This is the first canvas')
t1 = canvas1.show()
clock.sleep(95)
canvas2 = canvas()
canvas2 += text('This is the second canvas')
t2 = canvas2.show()
print('Actual delay: %s' % (t2 - t1)) |
#!/usr/bin/env python3
a = []
s = input()
while s != "end":
a.append(s)
s = input()
n = input()
i = 0
while i < len(a):
s = a[i]
if s[0] == n:
print(s)
i = i + 1
| a = []
s = input()
while s != 'end':
a.append(s)
s = input()
n = input()
i = 0
while i < len(a):
s = a[i]
if s[0] == n:
print(s)
i = i + 1 |
# Scrapy settings for booksbot project
#
# For simplicity, this file contains only settings considered important or
# commonly used. You can find more settings consulting the documentation:
#
# https://docs.scrapy.org/en/latest/topics/settings.html
# https://docs.scrapy.org/en/latest/topics/downloader-middleware.html
# https://docs.scrapy.org/en/latest/topics/spider-middleware.html
BOT_NAME = "booksbot"
SPIDER_MODULES = ["booksbot.spiders"]
NEWSPIDER_MODULE = "booksbot.spiders"
# Obey robots.txt rules
ROBOTSTXT_OBEY = True
SPIDER_MIDDLEWARES = {
"scrapy_autounit.AutounitMiddleware": 950,
}
# Enable this whenever updating tests for the spider
AUTOUNIT_ENABLED = False
| bot_name = 'booksbot'
spider_modules = ['booksbot.spiders']
newspider_module = 'booksbot.spiders'
robotstxt_obey = True
spider_middlewares = {'scrapy_autounit.AutounitMiddleware': 950}
autounit_enabled = False |
coordinates_7F0030 = ((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, 135), (152, 111), (152, 113), (152, 135), (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, 135), (154, 110), (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, 135), (155, 109), (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, 135), (156, 109), (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, 135), (157, 108), (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, 135), (158, 108), (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, 134), (159, 108), (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, 134), (160, 107), (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, 133), (161, 107), (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, 133), (162, 107), (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, 132), (163, 106), (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, 131), (164, 106), (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, 131), (165, 105), (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, 130), (166, 105), (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, 129), (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, 129), (168, 104), (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, 128), (169, 104), (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, 128), (170, 104), (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, 127), (171, 103), (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, 127), (172, 103), (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, 126), (173, 103), (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, 126), (174, 103), (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), (175, 103), (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, 125), (176, 103), (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, 125), (177, 103), (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, 125), (178, 103), (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, 125), (179, 103), (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, 125), (180, 103), (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, 125), (181, 103), (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, 125), (182, 103), (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, 124), (183, 103), (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, 123), (184, 104), (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, 122), (185, 104), (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, 121), (186, 104), (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, 120), (187, 105), (187, 107), (187, 108), (187, 109), (187, 110), (187, 111), (187, 112), (187, 113), (187, 114), (187, 115), (187, 116), (187, 117),
(187, 119), (188, 105), (188, 107), (188, 108), (188, 109), (188, 110), (188, 111), (188, 112), (188, 113), (188, 114), (188, 115), (188, 116), (188, 117), (188, 119), (189, 108), (189, 109), (189, 110), (189, 111), (189, 112), (189, 113), (189, 114), (189, 115), (189, 116), (189, 118), (190, 106), (190, 108), (190, 109), (190, 110), (190, 111), (190, 112), (190, 113), (190, 114), (190, 115), (190, 117), (191, 107), (191, 109), (191, 110), (191, 111), (191, 112), (191, 113), (191, 114), (191, 115), (192, 108), (192, 111), (192, 112), (192, 113), (192, 114), (192, 116), (193, 109), (193, 115), (194, 111), (194, 113), (194, 115), (205, 111), (205, 113), (205, 115), (206, 109), (206, 115), (207, 108), (207, 111), (207, 112), (207, 113), (207, 114), (207, 116), (208, 107), (208, 109), (208, 110), (208, 111), (208, 112), (208, 113), (208, 114), (208, 115),
(208, 117), (209, 106), (209, 108), (209, 109), (209, 110), (209, 111), (209, 112), (209, 113), (209, 114), (209, 115), (209, 117), (210, 105), (210, 107), (210, 108), (210, 109), (210, 110), (210, 111), (210, 112), (210, 113), (210, 114), (210, 115), (210, 116), (210, 118), (211, 105), (211, 107), (211, 108), (211, 109), (211, 110), (211, 111), (211, 112), (211, 113), (211, 114), (211, 115), (211, 116), (211, 117), (211, 119), (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, 119), (213, 104), (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, 120), (214, 104), (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, 121), (215, 104), (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, 122), (216, 103), (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, 123), (217, 103), (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, 124), (217, 125), (218, 103), (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, 125), (219, 103), (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, 125), (220, 103), (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, 125), (221, 103), (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, 125), (222, 103), (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, 125), (223, 103), (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, 125), (224, 103), (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, 125), (225, 103), (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, 126), (226, 103), (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, 126), (227, 103), (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, 126), (228, 103), (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, 127), (229, 104), (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, 127), (230, 104), (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, 128), (231, 104), (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, 128), (232, 105), (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, 129), (233, 105), (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, 129), (234, 105), (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, 130), (235, 106), (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, 131), (236, 106), (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, 131), (237, 107), (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, 132), (238, 107), (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, 133), (239, 107), (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, 133), (240, 108), (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, 134), (241, 108), (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, 134), (242, 108), (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, 135), (243, 109), (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, 135), (244, 109), (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, 135), (245, 110), (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, 135), (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, 135), (247, 111), (247, 113), (247, 135), (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, 135), )
coordinates_FF00E1 = ((181, 134),
(182, 133), (182, 135), (183, 129), (183, 130), (183, 131), (183, 132), (184, 125), (184, 127), (184, 128), (184, 133), (184, 134), (184, 137), (184, 138), (184, 139), (185, 129), (185, 130), (185, 131), (185, 132), (185, 133), (185, 134), (185, 135), (185, 136), (185, 140), (185, 141), (185, 142), (185, 143), (186, 123), (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, 144), (186, 145), (186, 147), (187, 122), (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, 147), (188, 121), (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, 146), (189, 120), (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, 146), (190, 120), (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, 146), (191, 119), (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, 145), (192, 118), (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), (193, 118), (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, 143), (194, 117), (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, 142), (195, 117), (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, 140), (196, 118), (196, 124), (196, 125), (196, 126), (196, 127), (196, 128), (196, 129), (196, 130), (196, 136), (196, 137), (196, 138), (197, 120), (197, 122), (197, 123), (197, 131), (197, 132), (197, 133), (197, 134), (197, 135), (198, 124), (198, 125), (198, 126), (198, 127), (198, 128), (198, 129), (198, 130), (201, 123), (201, 124), (201, 125), (201, 126), (201, 127), (201, 128), (201, 129),
(201, 130), (201, 131), (202, 120), (202, 122), (202, 123), (202, 132), (202, 133), (202, 134), (202, 135), (202, 136), (203, 118), (203, 123), (203, 124), (203, 125), (203, 126), (203, 127), (203, 128), (203, 129), (203, 130), (203, 131), (203, 137), (203, 138), (204, 117), (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, 140), (204, 141), (205, 117), (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, 142), (206, 118), (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, 144), (207, 118), (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, 145), (208, 119), (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, 145), (209, 120), (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, 146), (210, 120), (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, 146), (211, 121), (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, 146), (212, 122), (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, 147), (213, 123), (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, 144), (213, 145), (213, 147), (214, 124), (214, 130), (214, 131), (214, 132), (214, 133), (214, 134), (214, 135), (214, 140), (214, 141), (214, 142), (214, 143), (215, 125), (215, 127), (215, 128), (215, 129), (215, 133), (215, 134), (215, 137), (215, 138), (215, 139), (216, 130), (216, 131), (216, 132), (217, 133), (218, 134), )
coordinates_006B7F = ((122, 131),
(122, 132), (122, 133), (122, 134), (122, 135), (122, 137), (123, 128), (123, 138), (124, 127), (124, 130), (124, 131), (124, 132), (124, 133), (124, 134), (124, 135), (124, 136), (124, 137), (124, 139), (125, 126), (125, 128), (125, 129), (125, 130), (125, 131), (125, 132), (125, 133), (125, 134), (125, 135), (125, 136), (125, 137), (125, 138), (126, 125), (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, 142), (127, 124), (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), (128, 123), (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), (129, 123), (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, 144), (130, 122), (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, 145), (131, 121), (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, 146),
(132, 121), (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, 147), (133, 120), (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, 148), (134, 120), (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, 149), (135, 120), (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), (136, 120), (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, 150), (137, 120), (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, 151), (138, 120), (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, 152), (139, 119), (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, 152), (140, 119), (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, 140), (140, 141), (140, 142), (140, 143), (140, 144), (140, 145), (140, 146), (140, 147), (140, 148), (140, 149), (140, 150), (140, 151), (140, 153), (141, 118), (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, 138), (141, 139), (141, 142), (141, 143), (141, 144), (141, 145), (141, 146), (141, 147), (141, 148), (141, 149),
(141, 150), (141, 151), (141, 153), (142, 118), (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, 137), (142, 140), (142, 143), (142, 144), (142, 145), (142, 146), (142, 147), (142, 148), (142, 149), (142, 150), (142, 151), (142, 153), (143, 118), (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, 136), (143, 141), (143, 144), (143, 145), (143, 146), (143, 147), (143, 148), (143, 149), (143, 150), (143, 151), (143, 153), (144, 118), (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, 135), (144, 142), (144, 144), (144, 145), (144, 146), (144, 147), (144, 148), (144, 149), (144, 150), (144, 151), (144, 152), (144, 154), (145, 118), (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, 135), (145, 143), (145, 145), (145, 146), (145, 147), (145, 148), (145, 149), (145, 150), (145, 151), (145, 152), (145, 154), (146, 118), (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, 135), (146, 144), (146, 146), (146, 147), (146, 148), (146, 149), (146, 150), (146, 151), (146, 152), (146, 153), (146, 155), (147, 118), (147, 135), (147, 144), (147, 146), (147, 147), (147, 148),
(147, 149), (147, 150), (147, 151), (147, 152), (147, 153), (147, 154), (147, 156), (148, 119), (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, 135), (148, 145), (148, 147), (148, 148), (148, 149), (148, 150), (148, 151), (148, 152), (148, 153), (148, 154), (148, 156), (149, 145), (149, 147), (149, 148), (149, 149), (149, 150), (149, 151), (149, 152), (149, 153), (149, 154), (149, 156), (150, 146), (150, 148), (150, 149), (150, 150), (150, 151), (150, 152), (150, 153), (150, 154), (150, 156), (151, 146), (151, 148), (151, 149), (151, 150), (151, 151), (151, 152), (151, 153), (151, 154), (151, 156), (152, 146), (152, 148), (152, 149), (152, 150), (152, 151), (152, 152), (152, 153), (152, 154), (152, 155), (152, 157), (153, 147), (153, 149),
(153, 150), (153, 151), (153, 152), (153, 153), (153, 154), (153, 155), (153, 157), (154, 147), (154, 149), (154, 150), (154, 151), (154, 152), (154, 153), (154, 154), (154, 155), (154, 157), (155, 147), (155, 149), (155, 150), (155, 151), (155, 152), (155, 153), (155, 154), (155, 155), (155, 157), (156, 148), (156, 150), (156, 151), (156, 152), (156, 153), (156, 154), (156, 155), (156, 156), (156, 158), (157, 148), (157, 150), (157, 151), (157, 152), (157, 153), (157, 154), (157, 155), (157, 156), (157, 157), (157, 159), (158, 149), (158, 151), (158, 152), (158, 153), (158, 154), (158, 155), (158, 156), (158, 157), (158, 158), (158, 160), (159, 150), (159, 153), (159, 154), (159, 155), (159, 156), (159, 157), (159, 158), (159, 159), (159, 161), (160, 151), (160, 154), (160, 155), (160, 156), (160, 157), (160, 158), (160, 159), (160, 160), (160, 164),
(161, 153), (161, 156), (161, 157), (161, 158), (161, 159), (161, 160), (161, 161), (161, 164), (162, 154), (162, 158), (162, 159), (162, 160), (162, 161), (162, 162), (162, 164), (163, 156), (163, 161), (163, 162), (163, 163), (163, 165), (164, 159), (164, 160), (164, 161), (164, 165), (165, 162), (165, 163), (165, 165), (234, 161), (234, 162), (234, 163), (234, 165), (235, 158), (235, 160), (235, 165), (236, 156), (236, 161), (236, 162), (236, 163), (236, 165), (237, 154), (237, 158), (237, 159), (237, 160), (237, 161), (237, 162), (237, 164), (238, 152), (238, 153), (238, 156), (238, 157), (238, 158), (238, 159), (238, 160), (238, 161), (238, 164), (239, 151), (239, 154), (239, 155), (239, 156), (239, 157), (239, 158), (239, 159), (239, 160), (239, 162), (240, 150), (240, 153), (240, 154), (240, 155), (240, 156), (240, 157), (240, 158), (240, 159),
(240, 160), (241, 149), (241, 151), (241, 152), (241, 153), (241, 154), (241, 155), (241, 156), (241, 157), (241, 158), (241, 160), (242, 148), (242, 150), (242, 151), (242, 152), (242, 153), (242, 154), (242, 155), (242, 156), (242, 157), (242, 159), (243, 148), (243, 150), (243, 151), (243, 152), (243, 153), (243, 154), (243, 155), (243, 156), (243, 157), (243, 159), (244, 147), (244, 149), (244, 150), (244, 151), (244, 152), (244, 153), (244, 154), (244, 155), (244, 156), (244, 158), (245, 147), (245, 149), (245, 150), (245, 151), (245, 152), (245, 153), (245, 154), (245, 155), (245, 156), (245, 158), (246, 147), (246, 149), (246, 150), (246, 151), (246, 152), (246, 153), (246, 154), (246, 155), (246, 157), (247, 146), (247, 148), (247, 149), (247, 150), (247, 151), (247, 152), (247, 153), (247, 154), (247, 155), (247, 157), (248, 146), (248, 148),
(248, 149), (248, 150), (248, 151), (248, 152), (248, 153), (248, 154), (248, 155), (248, 157), (249, 146), (249, 148), (249, 149), (249, 150), (249, 151), (249, 152), (249, 153), (249, 154), (249, 156), (250, 145), (250, 147), (250, 148), (250, 149), (250, 150), (250, 151), (250, 152), (250, 153), (250, 154), (250, 156), (251, 119), (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, 135), (251, 145), (251, 147), (251, 148), (251, 149), (251, 150), (251, 151), (251, 152), (251, 153), (251, 154), (251, 156), (252, 118), (252, 135), (252, 144), (252, 146), (252, 147), (252, 148), (252, 149), (252, 150), (252, 151), (252, 152), (252, 153), (252, 154), (252, 156), (253, 118), (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, 135), (253, 144), (253, 146), (253, 147), (253, 148), (253, 149), (253, 150), (253, 151), (253, 152), (253, 153), (253, 155), (254, 118), (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, 135), (254, 143), (254, 145), (254, 146), (254, 147), (254, 148), (254, 149), (254, 150), (254, 151), (254, 152), (254, 153), (254, 155), (255, 118), (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, 142), (255, 144), (255, 145), (255, 146), (255, 147), (255, 148), (255, 149), (255, 150),
(255, 151), (255, 152), (255, 154), (256, 118), (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, 136), (256, 141), (256, 143), (256, 144), (256, 145), (256, 146), (256, 147), (256, 148), (256, 149), (256, 150), (256, 151), (256, 152), (256, 154), (257, 118), (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, 137), (257, 140), (257, 142), (257, 143), (257, 144), (257, 145), (257, 146), (257, 147), (257, 148), (257, 149), (257, 150), (257, 151), (257, 153), (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, 138), (258, 139), (258, 141), (258, 142), (258, 143), (258, 144), (258, 145), (258, 146), (258, 147), (258, 148), (258, 149), (258, 150), (258, 151), (258, 153), (259, 119), (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, 140), (259, 141), (259, 142), (259, 143), (259, 144), (259, 145), (259, 146), (259, 147), (259, 148), (259, 149), (259, 150), (259, 151), (259, 153), (260, 119), (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, 152), (261, 120), (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, 152), (262, 120), (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, 151), (263, 120), (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, 150), (264, 120), (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, 149), (265, 120), (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, 149), (266, 120), (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, 148), (267, 121), (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, 147), (268, 121), (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, 146), (269, 122), (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, 145), (270, 123), (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, 144), (271, 123), (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, 143), (272, 124), (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, 142), (273, 125), (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), (274, 126), (274, 129), (274, 130), (274, 131), (274, 132), (274, 133), (274, 134), (274, 135), (274, 136), (274, 137), (274, 138), (274, 140), (275, 127), (275, 131), (275, 132), (275, 133), (275, 134), (275, 135), (275, 136), (275, 137), (275, 139), (276, 129), (276, 138), (277, 131), (277, 133), (277, 134), (277, 135), (277, 137), )
coordinates_00EBFF = ((116, 153),
(117, 153), (117, 155), (118, 153), (118, 156), (119, 154), (119, 158), (120, 155), (120, 159), (121, 156), (121, 160), (122, 156), (122, 158), (122, 161), (123, 157), (123, 159), (123, 162), (124, 158), (124, 160), (124, 163), (125, 159), (125, 161), (125, 164), (126, 160), (126, 162), (126, 164), (127, 161), (127, 164), (128, 161), (128, 164), (129, 162), (129, 165), (130, 163), (130, 165), (131, 163), (131, 166), (132, 164), (132, 166), (133, 164), (133, 167), (134, 165), (134, 168), (135, 165), (135, 168), (136, 166), (136, 169), (137, 166), (137, 168), (137, 170), (138, 166), (138, 168), (138, 170), (139, 167), (139, 169), (139, 171), (140, 167), (140, 169), (140, 170), (140, 172), (141, 167), (141, 168), (141, 169), (141, 170), (141, 172), (142, 168), (142, 170), (142, 171), (142, 172), (143, 138), (143, 168), (143, 170), (143, 171), (143, 173),
(144, 138), (144, 140), (144, 169), (144, 171), (144, 173), (145, 137), (145, 141), (145, 169), (145, 171), (145, 172), (145, 174), (146, 137), (146, 139), (146, 169), (146, 171), (146, 172), (146, 174), (147, 137), (147, 139), (147, 140), (147, 142), (147, 170), (147, 172), (147, 174), (148, 137), (148, 139), (148, 140), (148, 141), (148, 143), (148, 170), (148, 172), (148, 174), (149, 137), (149, 139), (149, 140), (149, 141), (149, 143), (149, 171), (149, 172), (149, 173), (149, 174), (149, 175), (150, 137), (150, 139), (150, 140), (150, 141), (150, 143), (150, 171), (150, 173), (150, 175), (151, 137), (151, 139), (151, 140), (151, 141), (151, 142), (151, 144), (151, 171), (151, 173), (151, 175), (152, 137), (152, 139), (152, 140), (152, 141), (152, 142), (152, 144), (152, 172), (152, 175), (153, 137), (153, 139), (153, 140), (153, 141), (153, 142),
(153, 144), (153, 172), (153, 175), (154, 137), (154, 138), (154, 139), (154, 140), (154, 141), (154, 142), (154, 143), (154, 145), (154, 172), (154, 175), (155, 138), (155, 140), (155, 141), (155, 142), (155, 143), (155, 145), (155, 172), (155, 175), (156, 138), (156, 140), (156, 141), (156, 142), (156, 143), (156, 144), (156, 146), (156, 172), (156, 175), (157, 137), (157, 139), (157, 140), (157, 141), (157, 142), (157, 143), (157, 144), (157, 146), (157, 172), (157, 175), (158, 137), (158, 139), (158, 140), (158, 141), (158, 142), (158, 143), (158, 144), (158, 145), (158, 147), (158, 172), (158, 175), (159, 136), (159, 138), (159, 139), (159, 140), (159, 141), (159, 142), (159, 143), (159, 144), (159, 145), (159, 146), (159, 148), (159, 172), (159, 174), (159, 175), (159, 176), (160, 136), (160, 138), (160, 139), (160, 140), (160, 141), (160, 142),
(160, 143), (160, 144), (160, 145), (160, 146), (160, 149), (160, 172), (160, 174), (160, 176), (161, 135), (161, 137), (161, 138), (161, 139), (161, 140), (161, 141), (161, 142), (161, 143), (161, 144), (161, 145), (161, 146), (161, 147), (161, 150), (161, 172), (161, 174), (161, 176), (162, 134), (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, 151), (162, 171), (162, 173), (162, 174), (162, 176), (163, 134), (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, 153), (163, 171), (163, 173), (163, 174), (163, 176), (164, 133), (164, 135), (164, 136), (164, 137), (164, 138), (164, 139), (164, 140), (164, 141),
(164, 142), (164, 143), (164, 144), (164, 145), (164, 148), (164, 149), (164, 150), (164, 151), (164, 154), (164, 171), (164, 173), (164, 174), (164, 176), (165, 132), (165, 134), (165, 135), (165, 136), (165, 137), (165, 138), (165, 139), (165, 140), (165, 141), (165, 142), (165, 143), (165, 146), (165, 147), (165, 152), (165, 153), (165, 156), (165, 157), (165, 170), (165, 172), (165, 173), (165, 174), (165, 176), (166, 132), (166, 134), (166, 135), (166, 136), (166, 137), (166, 138), (166, 139), (166, 140), (166, 141), (166, 142), (166, 144), (166, 148), (166, 149), (166, 150), (166, 151), (166, 154), (166, 155), (166, 158), (166, 159), (166, 160), (166, 169), (166, 171), (166, 172), (166, 173), (166, 174), (166, 176), (167, 131), (167, 133), (167, 134), (167, 135), (167, 136), (167, 137), (167, 138), (167, 139), (167, 143), (167, 152), (167, 155),
(167, 156), (167, 157), (167, 161), (167, 162), (167, 163), (167, 164), (167, 165), (167, 168), (167, 170), (167, 171), (167, 172), (167, 173), (167, 174), (167, 176), (168, 130), (168, 132), (168, 133), (168, 134), (168, 135), (168, 136), (168, 137), (168, 140), (168, 141), (168, 154), (168, 156), (168, 157), (168, 158), (168, 159), (168, 160), (168, 165), (168, 166), (168, 167), (168, 169), (168, 170), (168, 171), (168, 172), (168, 173), (168, 174), (168, 176), (169, 130), (169, 132), (169, 133), (169, 134), (169, 135), (169, 136), (169, 138), (169, 155), (169, 157), (169, 158), (169, 159), (169, 160), (169, 161), (169, 162), (169, 163), (169, 164), (169, 165), (169, 168), (169, 169), (169, 170), (169, 171), (169, 172), (169, 173), (169, 174), (169, 176), (170, 129), (170, 131), (170, 132), (170, 133), (170, 134), (170, 135), (170, 137), (170, 156),
(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, 176), (171, 129), (171, 131), (171, 132), (171, 133), (171, 134), (171, 136), (171, 157), (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, 177), (172, 128), (172, 129), (172, 130), (172, 131), (172, 132), (172, 133), (172, 135), (172, 158), (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, 177), (173, 128), (173, 130), (173, 131), (173, 132), (173, 134), (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, 178), (174, 128), (174, 130), (174, 131), (174, 132), (174, 134), (174, 161), (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, 178), (175, 128), (175, 130), (175, 131), (175, 133), (175, 162), (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, 179), (176, 127), (176, 129), (176, 130), (176, 131), (176, 133), (176, 163), (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, 180), (177, 127), (177, 129), (177, 130), (177, 131), (177, 133), (177, 164), (177, 166), (177, 175), (177, 176), (177, 177), (177, 178), (177, 179), (177, 181), (178, 127), (178, 129), (178, 130), (178, 131), (178, 133), (178, 167), (178, 168), (178, 169), (178, 170), (178, 171), (178, 172), (178, 173), (178, 174), (178, 177), (178, 178), (178, 179), (178, 180), (178, 182), (179, 127), (179, 129), (179, 130), (179, 131), (179, 133), (179, 175), (179, 178), (179, 179), (179, 180), (179, 181), (179, 184), (179, 185), (179, 186), (179, 190), (179, 192), (180, 127), (180, 132), (180, 177), (180, 179), (180, 180), (180, 181), (180, 182), (180, 183), (180, 187), (180, 188), (180, 193), (180, 194), (181, 127), (181, 129), (181, 130), (181, 132), (181, 178), (181, 181), (181, 182), (181, 183), (181, 184), (181, 185), (181, 186),
(181, 189), (181, 190), (181, 191), (181, 192), (181, 197), (182, 179), (182, 188), (182, 189), (182, 190), (182, 191), (182, 192), (182, 193), (182, 194), (182, 195), (182, 199), (183, 181), (183, 183), (183, 184), (183, 185), (183, 186), (183, 187), (183, 201), (184, 188), (184, 189), (184, 190), (184, 191), (184, 192), (184, 193), (184, 194), (184, 195), (184, 196), (184, 197), (184, 203), (185, 198), (185, 199), (185, 200), (185, 201), (185, 202), (185, 203), (185, 205), (214, 198), (214, 199), (214, 200), (214, 201), (214, 202), (214, 203), (214, 205), (215, 187), (215, 188), (215, 189), (215, 190), (215, 191), (215, 192), (215, 193), (215, 194), (215, 195), (215, 196), (215, 197), (215, 203), (216, 181), (216, 183), (216, 184), (216, 185), (216, 186), (216, 201), (217, 179), (217, 187), (217, 188), (217, 189), (217, 190), (217, 191), (217, 192),
(217, 193), (217, 194), (217, 199), (218, 127), (218, 129), (218, 130), (218, 132), (218, 178), (218, 181), (218, 182), (218, 183), (218, 184), (218, 185), (218, 186), (218, 190), (218, 191), (218, 192), (218, 196), (218, 197), (219, 127), (219, 177), (219, 179), (219, 180), (219, 181), (219, 182), (219, 187), (219, 188), (219, 193), (219, 194), (220, 127), (220, 129), (220, 130), (220, 131), (220, 133), (220, 175), (220, 178), (220, 179), (220, 180), (220, 181), (220, 184), (220, 185), (220, 190), (220, 192), (221, 127), (221, 129), (221, 130), (221, 131), (221, 133), (221, 165), (221, 167), (221, 168), (221, 169), (221, 170), (221, 171), (221, 172), (221, 173), (221, 174), (221, 177), (221, 178), (221, 179), (221, 180), (221, 182), (222, 127), (222, 129), (222, 130), (222, 131), (222, 133), (222, 164), (222, 175), (222, 176), (222, 177), (222, 178),
(222, 179), (222, 181), (223, 127), (223, 129), (223, 130), (223, 131), (223, 133), (223, 163), (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, 180), (224, 128), (224, 130), (224, 131), (224, 133), (224, 162), (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, 179), (225, 128), (225, 130), (225, 131), (225, 132), (225, 134), (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, 178), (226, 128), (226, 130), (226, 131), (226, 132), (226, 134), (226, 159), (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, 178), (227, 129), (227, 131), (227, 132), (227, 133), (227, 135), (227, 158), (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, 177), (228, 129), (228, 131), (228, 132), (228, 133), (228, 134), (228, 136), (228, 157), (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, 177), (229, 129), (229, 131), (229, 132), (229, 133), (229, 134), (229, 135), (229, 137), (229, 156), (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, 176), (230, 130), (230, 132), (230, 133), (230, 134), (230, 135), (230, 136), (230, 139), (230, 155), (230, 157), (230, 158), (230, 159), (230, 160), (230, 161), (230, 162), (230, 163), (230, 164), (230, 168), (230, 169), (230, 170), (230, 171), (230, 172), (230, 173), (230, 174), (230, 176), (231, 132), (231, 133), (231, 134), (231, 135), (231, 136), (231, 137), (231, 140), (231, 141), (231, 143), (231, 154), (231, 156), (231, 157), (231, 158), (231, 159), (231, 160), (231, 165), (231, 166), (231, 167), (231, 169), (231, 170), (231, 171), (231, 172), (231, 173), (231, 174), (231, 176), (232, 131), (232, 133), (232, 134), (232, 135), (232, 136), (232, 137), (232, 138), (232, 139), (232, 143), (232, 152),
(232, 155), (232, 156), (232, 157), (232, 161), (232, 162), (232, 163), (232, 164), (232, 168), (232, 170), (232, 171), (232, 172), (232, 173), (232, 174), (232, 176), (233, 132), (233, 134), (233, 135), (233, 136), (233, 137), (233, 138), (233, 139), (233, 140), (233, 141), (233, 142), (233, 145), (233, 148), (233, 149), (233, 150), (233, 154), (233, 158), (233, 159), (233, 169), (233, 171), (233, 172), (233, 173), (233, 174), (233, 176), (234, 132), (234, 134), (234, 135), (234, 136), (234, 137), (234, 138), (234, 139), (234, 140), (234, 141), (234, 142), (234, 143), (234, 146), (234, 147), (234, 151), (234, 152), (234, 156), (234, 170), (234, 172), (234, 173), (234, 174), (234, 176), (235, 133), (235, 135), (235, 136), (235, 137), (235, 138), (235, 139), (235, 140), (235, 141), (235, 142), (235, 143), (235, 144), (235, 145), (235, 147), (235, 148),
(235, 149), (235, 150), (235, 151), (235, 154), (235, 171), (235, 173), (235, 174), (235, 176), (236, 134), (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, 152), (236, 171), (236, 173), (236, 174), (236, 176), (237, 134), (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, 151), (237, 171), (237, 173), (237, 174), (237, 176), (238, 135), (238, 137), (238, 138), (238, 139), (238, 140), (238, 141), (238, 142), (238, 143), (238, 144), (238, 145), (238, 146), (238, 147), (238, 150), (238, 172), (238, 174), (238, 176), (239, 136), (239, 138), (239, 139), (239, 140), (239, 141), (239, 142), (239, 143), (239, 144),
(239, 145), (239, 146), (239, 172), (239, 174), (239, 175), (239, 176), (240, 136), (240, 138), (240, 139), (240, 140), (240, 141), (240, 142), (240, 143), (240, 144), (240, 145), (240, 146), (240, 148), (240, 172), (240, 174), (240, 175), (240, 176), (241, 137), (241, 139), (241, 140), (241, 141), (241, 142), (241, 143), (241, 144), (241, 145), (241, 147), (241, 172), (241, 175), (242, 137), (242, 139), (242, 140), (242, 141), (242, 142), (242, 143), (242, 144), (242, 146), (242, 172), (242, 175), (243, 138), (243, 140), (243, 141), (243, 142), (243, 143), (243, 144), (243, 145), (243, 146), (243, 172), (243, 175), (244, 138), (244, 140), (244, 141), (244, 142), (244, 143), (244, 145), (244, 172), (244, 175), (245, 137), (245, 138), (245, 139), (245, 140), (245, 141), (245, 142), (245, 143), (245, 145), (245, 172), (245, 175), (246, 137), (246, 139),
(246, 140), (246, 141), (246, 142), (246, 144), (246, 172), (246, 175), (247, 137), (247, 139), (247, 140), (247, 141), (247, 142), (247, 144), (247, 172), (247, 175), (248, 137), (248, 139), (248, 140), (248, 141), (248, 142), (248, 144), (248, 171), (248, 173), (248, 175), (249, 137), (249, 139), (249, 140), (249, 141), (249, 143), (249, 171), (249, 173), (249, 175), (250, 137), (250, 139), (250, 140), (250, 141), (250, 143), (250, 170), (250, 172), (250, 174), (251, 137), (251, 139), (251, 140), (251, 141), (251, 142), (251, 170), (251, 172), (251, 174), (252, 137), (252, 139), (252, 140), (252, 142), (252, 170), (252, 172), (252, 174), (253, 137), (253, 139), (253, 169), (253, 171), (253, 172), (253, 174), (254, 137), (254, 141), (254, 169), (254, 171), (254, 172), (254, 173), (254, 174), (255, 138), (255, 140), (255, 169), (255, 171), (255, 173),
(256, 168), (256, 170), (256, 171), (256, 173), (257, 168), (257, 170), (257, 172), (258, 167), (258, 169), (258, 170), (258, 172), (259, 167), (259, 169), (259, 170), (259, 172), (260, 167), (260, 169), (260, 171), (261, 166), (261, 168), (261, 170), (262, 166), (262, 168), (262, 170), (263, 166), (263, 169), (264, 165), (264, 168), (265, 165), (265, 168), (266, 164), (266, 167), (267, 164), (267, 166), (268, 163), (268, 166), (269, 163), (269, 165), (270, 162), (270, 165), (271, 161), (271, 164), (272, 161), (272, 164), (273, 160), (273, 162), (273, 164), (274, 159), (274, 161), (274, 164), (275, 158), (275, 160), (275, 163), (276, 157), (276, 159), (276, 162), (277, 156), (277, 158), (277, 161), (278, 156), (278, 160), (279, 155), (279, 159), (280, 154), (281, 153), (281, 156), (282, 153), (282, 155), (283, 153), )
coordinates_00FF92 = ((118, 136),
(118, 138), (118, 139), (118, 140), (119, 136), (119, 141), (119, 142), (119, 143), (119, 144), (119, 145), (119, 146), (119, 147), (119, 148), (119, 149), (119, 150), (119, 152), (120, 137), (120, 140), (120, 149), (121, 139), (121, 141), (121, 142), (121, 143), (121, 144), (121, 145), (121, 146), (121, 147), (121, 148), (121, 149), (121, 150), (121, 151), (121, 153), (122, 140), (122, 142), (122, 143), (122, 144), (122, 145), (122, 146), (122, 147), (122, 148), (122, 149), (122, 150), (122, 151), (122, 152), (122, 154), (123, 141), (123, 143), (123, 144), (123, 145), (123, 146), (123, 147), (123, 148), (123, 149), (123, 150), (123, 151), (123, 152), (123, 153), (123, 155), (124, 142), (124, 144), (124, 145), (124, 146), (124, 147), (124, 148), (124, 149), (124, 150), (124, 151), (124, 152), (124, 153), (124, 154), (124, 156), (125, 143), (125, 145),
(125, 146), (125, 147), (125, 148), (125, 149), (125, 150), (125, 151), (125, 152), (125, 153), (125, 154), (125, 156), (126, 144), (126, 146), (126, 147), (126, 148), (126, 149), (126, 150), (126, 151), (126, 152), (126, 153), (126, 154), (126, 155), (126, 157), (127, 145), (127, 147), (127, 148), (127, 149), (127, 150), (127, 151), (127, 152), (127, 153), (127, 154), (127, 155), (127, 156), (127, 158), (128, 146), (128, 148), (128, 149), (128, 150), (128, 151), (128, 152), (128, 153), (128, 154), (128, 155), (128, 156), (128, 157), (128, 159), (129, 147), (129, 149), (129, 150), (129, 151), (129, 152), (129, 153), (129, 154), (129, 155), (129, 156), (129, 157), (129, 158), (129, 160), (130, 148), (130, 150), (130, 151), (130, 152), (130, 153), (130, 154), (130, 155), (130, 156), (130, 157), (130, 158), (130, 160), (131, 149), (131, 151), (131, 152),
(131, 153), (131, 154), (131, 155), (131, 156), (131, 157), (131, 158), (131, 159), (131, 161), (132, 149), (132, 152), (132, 153), (132, 154), (132, 155), (132, 156), (132, 157), (132, 158), (132, 159), (132, 161), (133, 150), (133, 152), (133, 153), (133, 154), (133, 155), (133, 156), (133, 157), (133, 158), (133, 159), (133, 160), (133, 162), (134, 151), (134, 153), (134, 154), (134, 155), (134, 156), (134, 157), (134, 158), (134, 159), (134, 160), (134, 162), (135, 152), (135, 154), (135, 155), (135, 156), (135, 157), (135, 158), (135, 159), (135, 160), (135, 161), (135, 163), (136, 153), (136, 155), (136, 156), (136, 157), (136, 158), (136, 159), (136, 160), (136, 161), (136, 163), (137, 153), (137, 155), (137, 156), (137, 157), (137, 158), (137, 159), (137, 160), (137, 161), (137, 162), (137, 164), (138, 154), (138, 156), (138, 157), (138, 158),
(138, 159), (138, 160), (138, 161), (138, 162), (138, 164), (139, 155), (139, 157), (139, 158), (139, 159), (139, 160), (139, 161), (139, 162), (139, 164), (140, 155), (140, 157), (140, 158), (140, 159), (140, 160), (140, 161), (140, 162), (140, 163), (140, 165), (141, 156), (141, 158), (141, 159), (141, 160), (141, 161), (141, 162), (141, 163), (141, 165), (142, 156), (142, 158), (142, 159), (142, 160), (142, 161), (142, 162), (142, 163), (142, 164), (142, 166), (143, 156), (143, 158), (143, 159), (143, 160), (143, 161), (143, 162), (143, 163), (143, 164), (143, 166), (144, 156), (144, 158), (144, 159), (144, 160), (144, 161), (144, 162), (144, 163), (144, 164), (144, 166), (145, 157), (145, 159), (145, 160), (145, 161), (145, 162), (145, 163), (145, 164), (145, 165), (145, 167), (146, 157), (146, 159), (146, 160), (146, 161), (146, 162), (146, 163),
(146, 164), (146, 165), (146, 167), (147, 158), (147, 160), (147, 161), (147, 162), (147, 163), (147, 164), (147, 165), (147, 167), (148, 159), (148, 161), (148, 162), (148, 163), (148, 164), (148, 165), (148, 166), (148, 168), (149, 159), (149, 161), (149, 162), (149, 163), (149, 164), (149, 165), (149, 166), (149, 168), (150, 160), (150, 162), (150, 163), (150, 164), (150, 165), (150, 166), (150, 167), (150, 169), (151, 161), (151, 163), (151, 164), (151, 165), (151, 166), (151, 167), (151, 169), (152, 161), (152, 163), (152, 164), (152, 165), (152, 166), (152, 167), (152, 168), (152, 170), (153, 162), (153, 164), (153, 165), (153, 166), (153, 167), (153, 168), (153, 170), (154, 162), (154, 164), (154, 165), (154, 166), (154, 167), (154, 168), (154, 170), (155, 163), (155, 165), (155, 166), (155, 167), (155, 168), (155, 170), (156, 163), (156, 165),
(156, 166), (156, 167), (156, 168), (156, 170), (157, 164), (157, 166), (157, 167), (157, 168), (157, 170), (158, 165), (158, 167), (158, 168), (158, 170), (159, 165), (159, 167), (159, 168), (159, 170), (160, 166), (160, 168), (160, 170), (161, 166), (161, 169), (162, 167), (162, 169), (163, 167), (163, 169), (164, 167), (164, 168), (165, 168), (234, 168), (235, 167), (236, 167), (236, 169), (237, 167), (237, 169), (238, 166), (238, 169), (239, 166), (239, 168), (239, 170), (240, 165), (240, 167), (240, 168), (240, 170), (241, 165), (241, 167), (241, 168), (241, 170), (242, 163), (242, 166), (242, 167), (242, 168), (242, 170), (243, 163), (243, 165), (243, 166), (243, 167), (243, 168), (243, 170), (244, 162), (244, 164), (244, 165), (244, 166), (244, 167), (244, 168), (244, 170), (245, 162), (245, 164), (245, 165), (245, 166), (245, 167), (245, 168),
(245, 170), (246, 161), (246, 163), (246, 164), (246, 165), (246, 166), (246, 167), (246, 168), (246, 170), (247, 161), (247, 163), (247, 164), (247, 165), (247, 166), (247, 167), (247, 168), (247, 170), (248, 160), (248, 162), (248, 163), (248, 164), (248, 165), (248, 166), (248, 167), (248, 169), (249, 160), (249, 162), (249, 163), (249, 164), (249, 165), (249, 166), (249, 167), (249, 169), (250, 159), (250, 161), (250, 162), (250, 163), (250, 164), (250, 165), (250, 166), (250, 168), (251, 159), (251, 161), (251, 162), (251, 163), (251, 164), (251, 165), (251, 166), (251, 168), (252, 158), (252, 160), (252, 161), (252, 162), (252, 163), (252, 164), (252, 165), (252, 167), (253, 158), (253, 160), (253, 161), (253, 162), (253, 163), (253, 164), (253, 165), (253, 167), (254, 157), (254, 159), (254, 160), (254, 161), (254, 162), (254, 163), (254, 164),
(254, 165), (254, 167), (255, 157), (255, 159), (255, 160), (255, 161), (255, 162), (255, 163), (255, 164), (255, 166), (256, 156), (256, 158), (256, 159), (256, 160), (256, 161), (256, 162), (256, 163), (256, 164), (256, 166), (257, 156), (257, 158), (257, 159), (257, 160), (257, 161), (257, 162), (257, 163), (257, 164), (257, 166), (258, 156), (258, 158), (258, 159), (258, 160), (258, 161), (258, 162), (258, 163), (258, 165), (259, 155), (259, 157), (259, 158), (259, 159), (259, 160), (259, 161), (259, 162), (259, 163), (259, 165), (260, 155), (260, 157), (260, 158), (260, 159), (260, 160), (260, 161), (260, 162), (260, 164), (261, 154), (261, 156), (261, 157), (261, 158), (261, 159), (261, 160), (261, 161), (261, 162), (261, 164), (262, 153), (262, 155), (262, 156), (262, 157), (262, 158), (262, 159), (262, 160), (262, 161), (262, 162), (262, 164),
(263, 153), (263, 155), (263, 156), (263, 157), (263, 158), (263, 159), (263, 160), (263, 161), (263, 163), (264, 152), (264, 154), (264, 155), (264, 156), (264, 157), (264, 158), (264, 159), (264, 160), (264, 161), (264, 163), (265, 151), (265, 153), (265, 154), (265, 155), (265, 156), (265, 157), (265, 158), (265, 159), (265, 160), (265, 162), (266, 150), (266, 152), (266, 153), (266, 154), (266, 155), (266, 156), (266, 157), (266, 158), (266, 159), (266, 160), (266, 162), (267, 149), (267, 151), (267, 152), (267, 153), (267, 154), (267, 155), (267, 156), (267, 157), (267, 158), (267, 159), (267, 161), (268, 149), (268, 151), (268, 152), (268, 153), (268, 154), (268, 155), (268, 156), (268, 157), (268, 158), (268, 159), (268, 161), (269, 148), (269, 150), (269, 151), (269, 152), (269, 153), (269, 154), (269, 155), (269, 156), (269, 157), (269, 158),
(269, 160), (270, 147), (270, 149), (270, 150), (270, 151), (270, 152), (270, 153), (270, 154), (270, 155), (270, 156), (270, 157), (270, 158), (270, 160), (271, 146), (271, 148), (271, 149), (271, 150), (271, 151), (271, 152), (271, 153), (271, 154), (271, 155), (271, 156), (271, 157), (271, 159), (272, 145), (272, 147), (272, 148), (272, 149), (272, 150), (272, 151), (272, 152), (272, 153), (272, 154), (272, 155), (272, 156), (272, 158), (273, 144), (273, 146), (273, 147), (273, 148), (273, 149), (273, 150), (273, 151), (273, 152), (273, 153), (273, 154), (273, 155), (273, 157), (274, 143), (274, 145), (274, 146), (274, 147), (274, 148), (274, 149), (274, 150), (274, 151), (274, 152), (274, 153), (274, 154), (274, 156), (275, 142), (275, 144), (275, 145), (275, 146), (275, 147), (275, 148), (275, 149), (275, 150), (275, 151), (275, 152), (275, 153),
(275, 154), (275, 156), (276, 141), (276, 143), (276, 144), (276, 145), (276, 146), (276, 147), (276, 148), (276, 149), (276, 150), (276, 151), (276, 152), (276, 153), (276, 155), (277, 140), (277, 142), (277, 143), (277, 144), (277, 145), (277, 146), (277, 147), (277, 148), (277, 149), (277, 150), (277, 151), (277, 152), (277, 154), (278, 138), (278, 141), (278, 142), (278, 143), (278, 144), (278, 145), (278, 146), (278, 147), (278, 151), (278, 153), (279, 137), (279, 140), (279, 148), (279, 149), (279, 150), (279, 152), (280, 136), (280, 141), (280, 142), (280, 143), (280, 144), (280, 145), (280, 146), (280, 147), (280, 152), (281, 136), (281, 138), (281, 139), (281, 140), )
coordinates_EBFF00 = ((125, 166),
(125, 168), (125, 169), (125, 170), (125, 171), (125, 172), (125, 173), (125, 174), (125, 175), (125, 176), (125, 177), (125, 179), (126, 166), (126, 179), (127, 166), (127, 168), (127, 169), (127, 170), (127, 171), (127, 172), (127, 173), (127, 174), (127, 175), (127, 176), (127, 177), (127, 179), (128, 167), (128, 169), (128, 170), (128, 171), (128, 172), (128, 173), (128, 174), (128, 175), (128, 176), (128, 177), (128, 178), (128, 180), (129, 167), (129, 169), (129, 170), (129, 171), (129, 172), (129, 173), (129, 174), (129, 175), (129, 176), (129, 177), (129, 178), (129, 180), (130, 168), (130, 170), (130, 171), (130, 172), (130, 173), (130, 174), (130, 175), (130, 176), (130, 177), (130, 178), (130, 180), (131, 168), (131, 170), (131, 171), (131, 172), (131, 173), (131, 174), (131, 175), (131, 176), (131, 177), (131, 178), (131, 180), (132, 169),
(132, 171), (132, 172), (132, 173), (132, 174), (132, 175), (132, 176), (132, 177), (132, 178), (132, 179), (132, 181), (133, 169), (133, 171), (133, 172), (133, 173), (133, 174), (133, 175), (133, 176), (133, 177), (133, 178), (133, 179), (133, 181), (134, 170), (134, 172), (134, 173), (134, 174), (134, 175), (134, 176), (134, 177), (134, 178), (134, 179), (134, 180), (134, 182), (135, 171), (135, 173), (135, 174), (135, 175), (135, 176), (135, 177), (135, 178), (135, 179), (135, 180), (135, 182), (136, 171), (136, 173), (136, 174), (136, 175), (136, 176), (136, 177), (136, 178), (136, 179), (136, 180), (136, 182), (137, 172), (137, 174), (137, 175), (137, 176), (137, 177), (137, 178), (137, 179), (137, 180), (137, 181), (137, 183), (138, 173), (138, 175), (138, 176), (138, 177), (138, 178), (138, 179), (138, 180), (138, 181), (138, 183), (139, 173),
(139, 175), (139, 176), (139, 177), (139, 178), (139, 179), (139, 180), (139, 181), (139, 182), (139, 184), (140, 174), (140, 176), (140, 177), (140, 178), (140, 179), (140, 180), (140, 181), (140, 182), (140, 184), (141, 174), (141, 176), (141, 177), (141, 178), (141, 179), (141, 180), (141, 181), (141, 182), (141, 184), (142, 175), (142, 177), (142, 178), (142, 179), (142, 180), (142, 181), (142, 182), (142, 183), (142, 185), (143, 175), (143, 177), (143, 178), (143, 179), (143, 180), (143, 181), (143, 182), (143, 183), (143, 185), (144, 176), (144, 178), (144, 179), (144, 180), (144, 181), (144, 182), (144, 183), (144, 184), (144, 186), (145, 176), (145, 178), (145, 179), (145, 180), (145, 181), (145, 182), (145, 183), (145, 184), (145, 186), (146, 176), (146, 178), (146, 179), (146, 180), (146, 181), (146, 182), (146, 183), (146, 184), (146, 186),
(147, 176), (147, 178), (147, 179), (147, 180), (147, 181), (147, 182), (147, 183), (147, 184), (147, 185), (147, 186), (147, 187), (148, 177), (148, 179), (148, 180), (148, 181), (148, 182), (148, 183), (148, 184), (148, 185), (148, 187), (149, 177), (149, 179), (149, 180), (149, 181), (149, 182), (149, 183), (149, 184), (149, 185), (149, 187), (150, 177), (150, 179), (150, 180), (150, 181), (150, 182), (150, 183), (150, 184), (150, 185), (150, 187), (151, 177), (151, 179), (151, 180), (151, 181), (151, 182), (151, 183), (151, 184), (151, 185), (151, 186), (151, 188), (152, 177), (152, 179), (152, 180), (152, 181), (152, 182), (152, 183), (152, 184), (152, 185), (152, 186), (152, 188), (153, 177), (153, 179), (153, 180), (153, 181), (153, 182), (153, 183), (153, 184), (153, 185), (153, 186), (153, 188), (154, 177), (154, 179), (154, 180), (154, 181),
(154, 182), (154, 183), (154, 184), (154, 185), (154, 186), (154, 188), (155, 178), (155, 180), (155, 181), (155, 182), (155, 183), (155, 184), (155, 185), (155, 186), (155, 187), (155, 188), (155, 189), (156, 178), (156, 180), (156, 181), (156, 182), (156, 183), (156, 184), (156, 185), (156, 186), (156, 187), (156, 189), (157, 178), (157, 180), (157, 181), (157, 182), (157, 183), (157, 184), (157, 185), (157, 186), (157, 187), (157, 189), (158, 178), (158, 180), (158, 181), (158, 182), (158, 183), (158, 184), (158, 185), (158, 186), (158, 187), (158, 189), (159, 178), (159, 180), (159, 181), (159, 182), (159, 183), (159, 184), (159, 185), (159, 186), (159, 187), (159, 189), (160, 178), (160, 180), (160, 181), (160, 182), (160, 183), (160, 184), (160, 185), (160, 186), (160, 187), (160, 189), (161, 178), (161, 180), (161, 181), (161, 182), (161, 183),
(161, 184), (161, 185), (161, 186), (161, 187), (161, 189), (162, 178), (162, 180), (162, 181), (162, 182), (162, 183), (162, 184), (162, 185), (162, 186), (162, 187), (162, 189), (163, 178), (163, 180), (163, 181), (163, 182), (163, 183), (163, 184), (163, 185), (163, 186), (163, 187), (163, 188), (163, 190), (164, 178), (164, 180), (164, 181), (164, 182), (164, 183), (164, 184), (164, 185), (164, 186), (164, 187), (164, 188), (164, 190), (165, 178), (165, 180), (165, 181), (165, 182), (165, 183), (165, 184), (165, 185), (165, 186), (165, 187), (165, 188), (165, 190), (166, 178), (166, 180), (166, 181), (166, 182), (166, 183), (166, 184), (166, 185), (166, 186), (166, 187), (166, 188), (166, 190), (167, 178), (167, 180), (167, 181), (167, 182), (167, 183), (167, 184), (167, 185), (167, 186), (167, 187), (167, 188), (167, 190), (168, 178), (168, 180),
(168, 181), (168, 182), (168, 183), (168, 184), (168, 185), (168, 186), (168, 187), (168, 189), (169, 178), (169, 180), (169, 181), (169, 182), (169, 183), (169, 184), (169, 185), (169, 186), (169, 187), (169, 189), (170, 179), (170, 181), (170, 182), (170, 183), (170, 184), (170, 185), (170, 186), (170, 187), (170, 189), (171, 179), (171, 181), (171, 182), (171, 183), (171, 184), (171, 185), (171, 186), (171, 187), (171, 189), (172, 179), (172, 181), (172, 182), (172, 183), (172, 184), (172, 185), (172, 186), (172, 187), (172, 189), (173, 180), (173, 182), (173, 183), (173, 184), (173, 185), (173, 186), (173, 187), (173, 189), (174, 181), (174, 183), (174, 184), (174, 185), (174, 186), (174, 187), (174, 189), (175, 181), (175, 184), (175, 185), (175, 186), (175, 187), (175, 189), (176, 182), (176, 183), (176, 189), (177, 184), (177, 186), (177, 187),
(177, 189), (222, 184), (222, 186), (222, 187), (222, 189), (223, 182), (223, 189), (224, 181), (224, 184), (224, 185), (224, 186), (224, 187), (224, 189), (225, 183), (225, 184), (225, 185), (225, 186), (225, 187), (225, 189), (226, 180), (226, 182), (226, 183), (226, 184), (226, 185), (226, 186), (226, 187), (226, 189), (227, 179), (227, 181), (227, 182), (227, 183), (227, 184), (227, 185), (227, 186), (227, 187), (227, 189), (228, 179), (228, 181), (228, 182), (228, 183), (228, 184), (228, 185), (228, 186), (228, 187), (228, 189), (229, 179), (229, 181), (229, 182), (229, 183), (229, 184), (229, 185), (229, 186), (229, 187), (229, 189), (230, 178), (230, 180), (230, 181), (230, 182), (230, 183), (230, 184), (230, 185), (230, 186), (230, 187), (230, 189), (231, 178), (231, 180), (231, 181), (231, 182), (231, 183), (231, 184), (231, 185), (231, 186),
(231, 187), (231, 189), (232, 178), (232, 180), (232, 181), (232, 182), (232, 183), (232, 184), (232, 185), (232, 186), (232, 187), (232, 188), (232, 190), (233, 178), (233, 180), (233, 181), (233, 182), (233, 183), (233, 184), (233, 185), (233, 186), (233, 187), (233, 188), (233, 190), (234, 178), (234, 180), (234, 181), (234, 182), (234, 183), (234, 184), (234, 185), (234, 186), (234, 187), (234, 188), (234, 190), (235, 178), (235, 180), (235, 181), (235, 182), (235, 183), (235, 184), (235, 185), (235, 186), (235, 187), (235, 188), (235, 190), (236, 178), (236, 180), (236, 181), (236, 182), (236, 183), (236, 184), (236, 185), (236, 186), (236, 187), (236, 188), (236, 190), (237, 178), (237, 180), (237, 181), (237, 182), (237, 183), (237, 184), (237, 185), (237, 186), (237, 187), (237, 189), (238, 178), (238, 180), (238, 181), (238, 182), (238, 183),
(238, 184), (238, 185), (238, 186), (238, 187), (238, 189), (239, 178), (239, 180), (239, 181), (239, 182), (239, 183), (239, 184), (239, 185), (239, 186), (239, 187), (239, 189), (240, 178), (240, 180), (240, 181), (240, 182), (240, 183), (240, 184), (240, 185), (240, 186), (240, 187), (240, 189), (241, 178), (241, 180), (241, 181), (241, 182), (241, 183), (241, 184), (241, 185), (241, 186), (241, 187), (241, 189), (242, 178), (242, 180), (242, 181), (242, 182), (242, 183), (242, 184), (242, 185), (242, 186), (242, 187), (242, 189), (243, 178), (243, 180), (243, 181), (243, 182), (243, 183), (243, 184), (243, 185), (243, 186), (243, 187), (243, 189), (244, 178), (244, 180), (244, 181), (244, 182), (244, 183), (244, 184), (244, 185), (244, 186), (244, 188), (245, 177), (245, 179), (245, 180), (245, 181), (245, 182), (245, 183), (245, 184), (245, 185),
(245, 186), (245, 188), (246, 177), (246, 179), (246, 180), (246, 181), (246, 182), (246, 183), (246, 184), (246, 185), (246, 186), (246, 188), (247, 177), (247, 179), (247, 180), (247, 181), (247, 182), (247, 183), (247, 184), (247, 185), (247, 186), (247, 188), (248, 177), (248, 179), (248, 180), (248, 181), (248, 182), (248, 183), (248, 184), (248, 185), (248, 186), (248, 188), (249, 177), (249, 179), (249, 180), (249, 181), (249, 182), (249, 183), (249, 184), (249, 185), (249, 187), (250, 177), (250, 179), (250, 180), (250, 181), (250, 182), (250, 183), (250, 184), (250, 185), (250, 187), (251, 177), (251, 179), (251, 180), (251, 181), (251, 182), (251, 183), (251, 184), (251, 185), (251, 187), (252, 176), (252, 178), (252, 179), (252, 180), (252, 181), (252, 182), (252, 183), (252, 184), (252, 186), (253, 176), (253, 178), (253, 179), (253, 180),
(253, 181), (253, 182), (253, 183), (253, 184), (253, 186), (254, 176), (254, 178), (254, 179), (254, 180), (254, 181), (254, 182), (254, 183), (254, 184), (254, 186), (255, 175), (255, 176), (255, 177), (255, 178), (255, 179), (255, 180), (255, 181), (255, 182), (255, 183), (255, 184), (255, 185), (255, 186), (256, 175), (256, 177), (256, 178), (256, 179), (256, 180), (256, 181), (256, 182), (256, 183), (256, 185), (257, 175), (257, 177), (257, 178), (257, 179), (257, 180), (257, 181), (257, 182), (257, 183), (257, 185), (258, 174), (258, 176), (258, 177), (258, 178), (258, 179), (258, 180), (258, 181), (258, 182), (258, 184), (259, 174), (259, 176), (259, 177), (259, 178), (259, 179), (259, 180), (259, 181), (259, 182), (259, 184), (260, 173), (260, 175), (260, 176), (260, 177), (260, 178), (260, 179), (260, 180), (260, 181), (260, 182), (260, 184),
(261, 173), (261, 175), (261, 176), (261, 177), (261, 178), (261, 179), (261, 180), (261, 181), (261, 183), (262, 172), (262, 174), (262, 175), (262, 176), (262, 177), (262, 178), (262, 179), (262, 180), (262, 181), (262, 183), (263, 171), (263, 173), (263, 174), (263, 175), (263, 176), (263, 177), (263, 178), (263, 179), (263, 180), (263, 182), (264, 171), (264, 173), (264, 174), (264, 175), (264, 176), (264, 177), (264, 178), (264, 179), (264, 180), (264, 182), (265, 170), (265, 172), (265, 173), (265, 174), (265, 175), (265, 176), (265, 177), (265, 178), (265, 179), (265, 180), (265, 181), (266, 169), (266, 171), (266, 172), (266, 173), (266, 174), (266, 175), (266, 176), (266, 177), (266, 178), (266, 179), (266, 181), (267, 169), (267, 171), (267, 172), (267, 173), (267, 174), (267, 175), (267, 176), (267, 177), (267, 178), (267, 179), (267, 181),
(268, 168), (268, 170), (268, 171), (268, 172), (268, 173), (268, 174), (268, 175), (268, 176), (268, 177), (268, 178), (268, 180), (269, 168), (269, 169), (269, 170), (269, 171), (269, 172), (269, 173), (269, 174), (269, 175), (269, 176), (269, 177), (269, 178), (269, 180), (270, 167), (270, 169), (270, 170), (270, 171), (270, 172), (270, 173), (270, 174), (270, 175), (270, 176), (270, 177), (270, 178), (270, 180), (271, 167), (271, 169), (271, 170), (271, 171), (271, 172), (271, 173), (271, 174), (271, 175), (271, 176), (271, 177), (271, 178), (271, 180), (272, 166), (272, 168), (272, 169), (272, 170), (272, 171), (272, 172), (272, 173), (272, 174), (272, 175), (272, 176), (272, 177), (272, 179), (273, 166), (273, 168), (273, 179), (274, 169), (274, 170), (274, 171), (274, 172), (274, 173), (274, 174), (274, 175), (274, 176), (274, 177), (274, 179),
)
coordinates_7F0035 = ((186, 184),
(186, 186), (186, 187), (186, 188), (186, 189), (186, 190), (186, 191), (186, 192), (186, 193), (186, 194), (186, 195), (187, 183), (187, 196), (187, 197), (187, 198), (187, 199), (187, 200), (187, 201), (187, 202), (187, 203), (187, 204), (187, 205), (187, 206), (187, 208), (188, 182), (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, 206), (188, 208), (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, 198), (189, 199), (189, 200), (189, 201), (189, 202), (189, 203), (189, 204), (189, 205), (189, 206), (189, 210), (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, 198), (190, 199), (190, 200), (190, 201), (190, 202), (190, 203), (190, 204), (190, 205), (190, 206), (190, 207), (190, 208), (190, 211), (190, 212), (191, 179), (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), (191, 200), (191, 201), (191, 202), (191, 203), (191, 204), (191, 205), (191, 206), (191, 207), (191, 208), (191, 209), (191, 210), (191, 213), (191, 214), (191, 215), (191, 216), (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, 197), (192, 198), (192, 199), (192, 200),
(192, 201), (192, 202), (192, 203), (192, 204), (192, 205), (192, 206), (192, 207), (192, 208), (192, 209), (192, 210), (192, 211), (192, 212), (192, 217), (192, 218), (192, 219), (192, 220), (192, 221), (192, 223), (193, 178), (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, 197), (193, 198), (193, 199), (193, 200), (193, 201), (193, 202), (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, 222), (194, 177), (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, 197), (194, 198), (194, 199), (194, 200), (194, 201), (194, 202), (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, 222), (195, 177), (195, 182), (195, 183), (195, 184), (195, 185), (195, 186), (195, 187), (195, 188), (195, 189), (195, 190), (195, 222), (196, 180), (196, 181), (196, 191), (196, 192), (196, 193), (196, 194), (196, 195), (196, 196), (196, 197), (196, 198), (196, 199), (196, 200), (196, 201), (196, 202), (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, 221), (197, 182),
(197, 184), (197, 185), (197, 186), (197, 187), (197, 188), (197, 189), (197, 190), (202, 182), (202, 184), (202, 185), (202, 186), (202, 187), (202, 188), (202, 189), (202, 190), (203, 180), (203, 191), (203, 192), (203, 193), (203, 194), (203, 195), (203, 196), (203, 197), (203, 198), (203, 199), (203, 200), (203, 201), (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, 221), (204, 177), (204, 182), (204, 183), (204, 184), (204, 185), (204, 186), (204, 187), (204, 188), (204, 189), (204, 190), (204, 222), (205, 177), (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, 197), (205, 198), (205, 199), (205, 200), (205, 201), (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, 222), (206, 178), (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, 197), (206, 198), (206, 199), (206, 200), (206, 201), (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, 222), (207, 179), (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, 197), (207, 198), (207, 199), (207, 200), (207, 201), (207, 202), (207, 203), (207, 204), (207, 205), (207, 206), (207, 207), (207, 208), (207, 209), (207, 210), (207, 211), (207, 212), (207, 216), (207, 217), (207, 218), (207, 219), (207, 220), (207, 221), (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, 197), (208, 198), (208, 199), (208, 200), (208, 201), (208, 202), (208, 203), (208, 204), (208, 205), (208, 206), (208, 207), (208, 208), (208, 209), (208, 210), (208, 213), (208, 214), (208, 215), (209, 181), (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, 197), (209, 198), (209, 199), (209, 200), (209, 201), (209, 202), (209, 203), (209, 204), (209, 205), (209, 206), (209, 207), (209, 208), (209, 211), (209, 212), (210, 182), (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, 197), (210, 198), (210, 199), (210, 200), (210, 201), (210, 202), (210, 203), (210, 204), (210, 210), (211, 182), (211, 184), (211, 185), (211, 186), (211, 187), (211, 188), (211, 189), (211, 190), (211, 191), (211, 192), (211, 193), (211, 194), (211, 205), (211, 206), (211, 208), (212, 183), (212, 195), (212, 196), (212, 197), (212, 198), (212, 199), (212, 200), (212, 201), (212, 202), (212, 203),
(212, 204), (213, 184), (213, 186), (213, 187), (213, 188), (213, 189), (213, 190), (213, 191), (213, 192), (213, 193), (213, 194), )
coordinates_FF00EB = ((167, 192),
(167, 194), (168, 192), (168, 196), (169, 192), (169, 194), (169, 198), (170, 191), (170, 192), (170, 193), (170, 194), (170, 195), (170, 196), (170, 200), (171, 191), (171, 193), (171, 194), (171, 195), (171, 196), (171, 197), (171, 198), (171, 202), (172, 191), (172, 193), (172, 194), (172, 195), (172, 196), (172, 197), (172, 198), (172, 199), (172, 200), (172, 204), (173, 191), (173, 193), (173, 194), (173, 195), (173, 196), (173, 197), (173, 198), (173, 199), (173, 200), (173, 201), (173, 202), (173, 206), (174, 191), (174, 193), (174, 194), (174, 195), (174, 196), (174, 197), (174, 198), (174, 199), (174, 200), (174, 201), (174, 202), (174, 203), (174, 204), (174, 208), (175, 191), (175, 193), (175, 194), (175, 195), (175, 196), (175, 197), (175, 198), (175, 199), (175, 200), (175, 201), (175, 202), (175, 203), (175, 204), (175, 205), (175, 206),
(175, 209), (176, 191), (176, 194), (176, 195), (176, 196), (176, 197), (176, 198), (176, 199), (176, 200), (176, 201), (176, 202), (176, 203), (176, 204), (176, 205), (176, 206), (176, 207), (176, 208), (176, 211), (177, 191), (177, 196), (177, 197), (177, 198), (177, 199), (177, 200), (177, 201), (177, 202), (177, 203), (177, 204), (177, 205), (177, 206), (177, 207), (177, 208), (177, 209), (177, 213), (178, 194), (178, 195), (178, 198), (178, 199), (178, 200), (178, 201), (178, 202), (178, 203), (178, 204), (178, 205), (178, 206), (178, 207), (178, 208), (178, 209), (178, 210), (178, 211), (178, 214), (179, 196), (179, 197), (179, 201), (179, 202), (179, 203), (179, 204), (179, 205), (179, 206), (179, 207), (179, 208), (179, 209), (179, 210), (179, 211), (179, 212), (179, 213), (179, 216), (180, 199), (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, 217), (181, 201), (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, 218), (182, 203), (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, 220), (183, 205), (183, 208), (183, 209), (183, 210), (183, 211), (183, 212), (183, 213), (183, 214), (183, 215), (183, 216), (183, 217), (183, 218), (183, 221), (184, 206), (184, 210), (184, 211), (184, 212), (184, 213), (184, 214), (184, 215), (184, 216), (184, 217), (184, 218), (184, 219), (184, 220), (184, 222), (185, 208), (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, 223), (186, 212), (186, 213), (186, 214), (186, 215), (186, 216), (186, 217), (186, 218), (186, 219), (186, 220), (186, 221), (186, 223), (187, 210), (187, 214), (187, 215), (187, 216), (187, 217), (187, 218), (187, 219), (187, 220), (187, 221), (187, 223), (188, 211), (188, 213), (188, 218), (188, 219), (188, 220), (188, 221), (188, 223), (189, 214), (189, 216), (189, 217), (189, 223), (190, 218), (190, 219), (190, 220), (190, 221), (190, 223), (209, 218), (209, 219), (209, 220), (209, 221), (209, 223), (210, 214), (210, 215), (210, 216), (210, 217), (210, 223), (211, 211), (211, 213), (211, 217), (211, 218), (211, 219), (211, 220), (211, 221), (211, 223), (212, 210), (212, 214), (212, 215), (212, 216), (212, 217), (212, 218), (212, 219), (212, 220), (212, 221), (212, 223), (213, 211), (213, 212),
(213, 213), (213, 214), (213, 215), (213, 216), (213, 217), (213, 218), (213, 219), (213, 220), (213, 221), (213, 223), (214, 208), (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, 223), (215, 206), (215, 209), (215, 210), (215, 211), (215, 212), (215, 213), (215, 214), (215, 215), (215, 216), (215, 217), (215, 218), (215, 219), (215, 222), (216, 205), (216, 208), (216, 209), (216, 210), (216, 211), (216, 212), (216, 213), (216, 214), (216, 215), (216, 216), (216, 217), (216, 218), (216, 221), (217, 203), (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, 220), (218, 201), (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, 218), (219, 198), (219, 199), (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, 217), (220, 196), (220, 197), (220, 200), (220, 201), (220, 202), (220, 203), (220, 204), (220, 205), (220, 206), (220, 207), (220, 208), (220, 209), (220, 210), (220, 211), (220, 212), (220, 216), (221, 194), (221, 195), (221, 198), (221, 199), (221, 200), (221, 201), (221, 202), (221, 203), (221, 204), (221, 205), (221, 206), (221, 207), (221, 208), (221, 209), (221, 210), (221, 211), (221, 214), (222, 191), (222, 196), (222, 197), (222, 198), (222, 199), (222, 200), (222, 201), (222, 202), (222, 203), (222, 204), (222, 205), (222, 206), (222, 207), (222, 208), (222, 209), (222, 212), (223, 191), (223, 193),
(223, 194), (223, 195), (223, 196), (223, 197), (223, 198), (223, 199), (223, 200), (223, 201), (223, 202), (223, 203), (223, 204), (223, 205), (223, 206), (223, 207), (223, 208), (223, 211), (224, 191), (224, 193), (224, 194), (224, 195), (224, 196), (224, 197), (224, 198), (224, 199), (224, 200), (224, 201), (224, 202), (224, 203), (224, 204), (224, 205), (224, 206), (224, 209), (225, 191), (225, 193), (225, 194), (225, 195), (225, 196), (225, 197), (225, 198), (225, 199), (225, 200), (225, 201), (225, 202), (225, 203), (225, 204), (225, 207), (226, 191), (226, 193), (226, 194), (226, 195), (226, 196), (226, 197), (226, 198), (226, 199), (226, 200), (226, 201), (226, 202), (226, 206), (227, 191), (227, 193), (227, 194), (227, 195), (227, 196), (227, 197), (227, 198), (227, 199), (227, 200), (227, 204), (228, 191), (228, 193), (228, 194), (228, 195),
(228, 196), (228, 197), (228, 198), (228, 202), (229, 192), (229, 194), (229, 195), (229, 196), (229, 200), (230, 192), (230, 194), (230, 198), (231, 192), (231, 196), (232, 192), )
coordinates_007F49 = ((98, 150),
(98, 151), (98, 152), (98, 153), (98, 154), (98, 155), (98, 156), (98, 157), (98, 158), (98, 159), (98, 161), (99, 148), (99, 149), (99, 162), (99, 163), (100, 146), (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, 165), (101, 144), (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, 167), (102, 143), (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, 168), (103, 142), (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, 169), (104, 141), (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, 170), (105, 140), (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, 171), (106, 139), (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, 171), (107, 138), (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, 172), (108, 138),
(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, 173), (109, 137), (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, 173), (110, 137), (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, 174), (111, 137), (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, 174), (112, 136), (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, 174), (113, 136), (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, 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, 175), (114, 136), (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, 153), (114, 154), (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, 175), (115, 136), (115, 143), (115, 144), (115, 145), (115, 146), (115, 147), (115, 148), (115, 149), (115, 151), (115, 155), (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, 175), (116, 136), (116, 138), (116, 139), (116, 140), (116, 141), (116, 142), (116, 151), (116, 157), (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, 176), (117, 143), (117, 144), (117, 145), (117, 146), (117, 147), (117, 148), (117, 149), (117, 151), (117, 158), (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, 176), (118, 159), (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, 176), (119, 160), (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, 176), (120, 161), (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, 176), (121, 162), (121, 165), (121, 166), (121, 167), (121, 168), (121, 169), (121, 170), (121, 171), (121, 172), (121, 173), (121, 174), (121, 176), (122, 163), (122, 175), (122, 177), (123, 164), (123, 166), (123, 167), (123, 168), (123, 169), (123, 170), (123, 171), (123, 172), (123, 173), (123, 174), (275, 165), (276, 164), (276, 166), (276, 167), (276, 168), (276, 169), (276, 170), (276, 171), (276, 172), (276, 173), (276, 174), (276, 175), (276, 177), (277, 163), (277, 177), (278, 162), (278, 164), (278, 165), (278, 166), (278, 167), (278, 168), (278, 169), (278, 170), (278, 171), (278, 172), (278, 173), (278, 174), (278, 176), (279, 161), (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, 176), (280, 160), (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, 176), (281, 159), (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, 176), (282, 142), (282, 143), (282, 144), (282, 145), (282, 146), (282, 147), (282, 148), (282, 149), (282, 151), (282, 158), (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, 176), (283, 136), (283, 138), (283, 139), (283, 140), (283, 141), (283, 151), (283, 157), (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, 176), (284, 136), (284, 142), (284, 143), (284, 144), (284, 145), (284, 146), (284, 147), (284, 148), (284, 149), (284, 150), (284, 151), (284, 155), (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, 175), (285, 136), (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, 153), (285, 154), (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, 175), (286, 136), (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, 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, 175), (287, 136), (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, 174), (288, 137), (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, 174), (289, 137), (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), (290, 137), (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, 173), (291, 138), (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, 172), (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, 172), (293, 139), (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, 171), (294, 140), (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), (295, 141), (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, 170), (296, 142), (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, 169), (297, 143), (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, 168), (298, 144), (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, 166), (299, 146), (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, 165), (300, 148), (300, 150), (300, 163), (301, 151), (301, 152), (301, 153), (301, 154), (301, 155), (301, 156), (301, 157), (301, 158), (301, 159), (301, 160), (301, 161), )
coordinates_FF9C00 = ((169, 143),
(170, 140), (170, 143), (171, 139), (171, 144), (172, 137), (172, 140), (172, 141), (172, 142), (172, 144), (173, 137), (173, 139), (173, 140), (173, 141), (173, 142), (173, 143), (173, 145), (174, 136), (174, 138), (174, 139), (174, 140), (174, 141), (174, 142), (174, 143), (174, 145), (175, 136), (175, 138), (175, 139), (175, 140), (175, 141), (175, 142), (175, 143), (175, 144), (175, 146), (176, 135), (176, 137), (176, 138), (176, 139), (176, 140), (176, 141), (176, 142), (176, 143), (176, 144), (176, 146), (177, 135), (177, 137), (177, 138), (177, 139), (177, 140), (177, 141), (177, 142), (177, 143), (177, 144), (177, 145), (177, 147), (178, 135), (178, 137), (178, 138), (178, 139), (178, 140), (178, 141), (178, 142), (178, 143), (178, 144), (178, 145), (178, 147), (179, 135), (179, 137), (179, 138), (179, 139), (179, 140), (179, 141), (179, 142),
(179, 143), (179, 144), (179, 145), (179, 147), (180, 135), (180, 137), (180, 138), (180, 139), (180, 140), (180, 141), (180, 142), (180, 143), (180, 144), (180, 145), (180, 147), (181, 136), (181, 141), (181, 142), (181, 143), (181, 144), (181, 145), (181, 147), (182, 137), (182, 139), (182, 140), (182, 145), (182, 147), (183, 141), (183, 142), (183, 143), (183, 144), (183, 147), (184, 145), (184, 147), (215, 145), (215, 147), (216, 141), (216, 142), (216, 143), (216, 144), (216, 147), (217, 137), (217, 139), (217, 140), (217, 145), (217, 147), (218, 136), (218, 141), (218, 142), (218, 143), (218, 144), (218, 145), (218, 147), (219, 135), (219, 137), (219, 138), (219, 139), (219, 140), (219, 141), (219, 142), (219, 143), (219, 144), (219, 145), (219, 147), (220, 135), (220, 137), (220, 138), (220, 139), (220, 140), (220, 141), (220, 142), (220, 143),
(220, 144), (220, 145), (220, 147), (221, 135), (221, 137), (221, 138), (221, 139), (221, 140), (221, 141), (221, 142), (221, 143), (221, 144), (221, 145), (221, 147), (222, 135), (222, 137), (222, 138), (222, 139), (222, 140), (222, 141), (222, 142), (222, 143), (222, 144), (222, 145), (222, 147), (223, 135), (223, 137), (223, 138), (223, 139), (223, 140), (223, 141), (223, 142), (223, 143), (223, 144), (223, 146), (224, 136), (224, 138), (224, 139), (224, 140), (224, 141), (224, 142), (224, 143), (224, 144), (224, 146), (225, 136), (225, 138), (225, 139), (225, 140), (225, 141), (225, 142), (225, 143), (225, 145), (226, 137), (226, 139), (226, 140), (226, 141), (226, 142), (226, 143), (226, 145), (227, 140), (227, 141), (227, 142), (227, 144), (228, 139), (228, 144), (229, 140), (229, 143), )
coordinates_00FF4E = ((168, 145),
(168, 147), (168, 148), (168, 150), (169, 145), (169, 152), (170, 146), (170, 148), (170, 149), (170, 150), (170, 154), (171, 146), (171, 148), (171, 149), (171, 150), (171, 151), (171, 152), (171, 155), (172, 147), (172, 149), (172, 150), (172, 151), (172, 152), (172, 153), (172, 156), (173, 147), (173, 149), (173, 150), (173, 151), (173, 152), (173, 153), (173, 154), (173, 155), (173, 157), (174, 148), (174, 150), (174, 151), (174, 152), (174, 153), (174, 154), (174, 155), (174, 156), (174, 158), (175, 148), (175, 150), (175, 151), (175, 152), (175, 153), (175, 154), (175, 155), (175, 156), (175, 157), (175, 159), (176, 149), (176, 151), (176, 152), (176, 153), (176, 154), (176, 155), (176, 156), (176, 157), (176, 158), (176, 160), (177, 149), (177, 151), (177, 152), (177, 153), (177, 154), (177, 155), (177, 156), (177, 157), (177, 158), (177, 159),
(177, 161), (178, 150), (178, 152), (178, 153), (178, 154), (178, 155), (178, 156), (178, 157), (178, 158), (178, 159), (178, 160), (178, 162), (179, 150), (179, 152), (179, 153), (179, 154), (179, 155), (179, 156), (179, 157), (179, 158), (179, 159), (179, 160), (179, 161), (180, 150), (180, 152), (180, 153), (180, 154), (180, 155), (180, 156), (180, 157), (180, 158), (180, 159), (180, 160), (180, 161), (180, 162), (180, 165), (180, 166), (180, 167), (180, 168), (180, 169), (180, 170), (180, 171), (180, 172), (180, 173), (181, 149), (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, 175), (182, 149), (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, 176), (183, 149), (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, 178), (184, 149), (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, 179), (185, 149), (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, 181), (185, 182), (186, 149), (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, 181), (187, 150), (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, 181), (188, 151), (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, 180), (189, 151), (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, 179), (190, 152),
(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, 178), (191, 152), (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, 177), (192, 152), (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, 176), (193, 153),
(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, 175), (194, 153), (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, 175), (195, 154), (195, 158), (195, 159), (195, 160), (195, 161), (195, 162), (195, 169), (195, 170), (195, 171), (195, 172), (195, 173), (196, 155), (196, 157), (196, 158), (196, 163), (196, 164), (196, 165), (196, 166), (196, 167), (196, 168), (197, 159), (197, 160), (197, 161), (197, 162), (202, 158), (202, 159), (202, 160), (202, 161), (202, 162), (202, 163), (203, 155), (203, 157), (203, 164), (203, 165), (203, 166), (203, 167),
(203, 168), (204, 154), (204, 158), (204, 159), (204, 160), (204, 161), (204, 162), (204, 163), (204, 169), (204, 170), (204, 171), (204, 172), (204, 173), (204, 175), (205, 153), (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, 175), (206, 153), (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, 175), (207, 152), (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, 176), (208, 152), (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, 177), (209, 152), (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, 178), (210, 151), (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, 179), (211, 151), (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, 180), (212, 150), (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, 181), (213, 149), (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, 181), (214, 149), (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, 181), (214, 182), (215, 149), (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, 179), (216, 149), (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, 178), (217, 149), (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, 176), (218, 149), (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, 173), (218, 175), (219, 150), (219, 152), (219, 153), (219, 154), (219, 155), (219, 156), (219, 157), (219, 158), (219, 159), (219, 160), (219, 161), (219, 162), (219, 165), (219, 166), (219, 167), (219, 168), (219, 169), (219, 170), (219, 171), (219, 172), (220, 150), (220, 152), (220, 153), (220, 154), (220, 155), (220, 156), (220, 157), (220, 158), (220, 159), (220, 160), (220, 161), (220, 163), (221, 150), (221, 152), (221, 153), (221, 154), (221, 155), (221, 156), (221, 157), (221, 158), (221, 159), (221, 160), (221, 162), (222, 149), (222, 151), (222, 152), (222, 153), (222, 154), (222, 155), (222, 156), (222, 157), (222, 158), (222, 159), (222, 161), (223, 149), (223, 151), (223, 152), (223, 153), (223, 154), (223, 155), (223, 156), (223, 157), (223, 158), (223, 160), (224, 148), (224, 150), (224, 151),
(224, 152), (224, 153), (224, 154), (224, 155), (224, 156), (224, 157), (224, 159), (225, 148), (225, 150), (225, 151), (225, 152), (225, 153), (225, 154), (225, 155), (225, 156), (225, 158), (226, 147), (226, 149), (226, 150), (226, 151), (226, 152), (226, 153), (226, 154), (226, 157), (227, 147), (227, 149), (227, 150), (227, 151), (227, 152), (227, 153), (227, 156), (228, 146), (228, 148), (228, 149), (228, 150), (228, 151), (228, 152), (228, 155), (229, 146), (229, 148), (229, 149), (229, 150), (229, 153), (230, 145), (230, 152), (231, 145), (231, 147), (231, 148), (231, 149), (231, 150), )
coordinates_E1FF00 = ((145, 116),
(146, 116), (147, 116), (148, 115), (148, 116), (149, 114), (149, 116), (250, 115), (250, 116), (251, 115), (251, 116), (252, 116), (253, 116), (254, 116), )
| coordinates_7_f0030 = ((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, 135), (152, 111), (152, 113), (152, 135), (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, 135), (154, 110), (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, 135), (155, 109), (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, 135), (156, 109), (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, 135), (157, 108), (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, 135), (158, 108), (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, 134), (159, 108), (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, 134), (160, 107), (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, 133), (161, 107), (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, 133), (162, 107), (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, 132), (163, 106), (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, 131), (164, 106), (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, 131), (165, 105), (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, 130), (166, 105), (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, 129), (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, 129), (168, 104), (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, 128), (169, 104), (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, 128), (170, 104), (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, 127), (171, 103), (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, 127), (172, 103), (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, 126), (173, 103), (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, 126), (174, 103), (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), (175, 103), (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, 125), (176, 103), (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, 125), (177, 103), (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, 125), (178, 103), (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, 125), (179, 103), (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, 125), (180, 103), (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, 125), (181, 103), (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, 125), (182, 103), (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, 124), (183, 103), (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, 123), (184, 104), (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, 122), (185, 104), (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, 121), (186, 104), (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, 120), (187, 105), (187, 107), (187, 108), (187, 109), (187, 110), (187, 111), (187, 112), (187, 113), (187, 114), (187, 115), (187, 116), (187, 117), (187, 119), (188, 105), (188, 107), (188, 108), (188, 109), (188, 110), (188, 111), (188, 112), (188, 113), (188, 114), (188, 115), (188, 116), (188, 117), (188, 119), (189, 108), (189, 109), (189, 110), (189, 111), (189, 112), (189, 113), (189, 114), (189, 115), (189, 116), (189, 118), (190, 106), (190, 108), (190, 109), (190, 110), (190, 111), (190, 112), (190, 113), (190, 114), (190, 115), (190, 117), (191, 107), (191, 109), (191, 110), (191, 111), (191, 112), (191, 113), (191, 114), (191, 115), (192, 108), (192, 111), (192, 112), (192, 113), (192, 114), (192, 116), (193, 109), (193, 115), (194, 111), (194, 113), (194, 115), (205, 111), (205, 113), (205, 115), (206, 109), (206, 115), (207, 108), (207, 111), (207, 112), (207, 113), (207, 114), (207, 116), (208, 107), (208, 109), (208, 110), (208, 111), (208, 112), (208, 113), (208, 114), (208, 115), (208, 117), (209, 106), (209, 108), (209, 109), (209, 110), (209, 111), (209, 112), (209, 113), (209, 114), (209, 115), (209, 117), (210, 105), (210, 107), (210, 108), (210, 109), (210, 110), (210, 111), (210, 112), (210, 113), (210, 114), (210, 115), (210, 116), (210, 118), (211, 105), (211, 107), (211, 108), (211, 109), (211, 110), (211, 111), (211, 112), (211, 113), (211, 114), (211, 115), (211, 116), (211, 117), (211, 119), (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, 119), (213, 104), (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, 120), (214, 104), (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, 121), (215, 104), (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, 122), (216, 103), (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, 123), (217, 103), (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, 124), (217, 125), (218, 103), (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, 125), (219, 103), (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, 125), (220, 103), (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, 125), (221, 103), (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, 125), (222, 103), (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, 125), (223, 103), (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, 125), (224, 103), (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, 125), (225, 103), (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, 126), (226, 103), (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, 126), (227, 103), (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, 126), (228, 103), (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, 127), (229, 104), (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, 127), (230, 104), (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, 128), (231, 104), (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, 128), (232, 105), (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, 129), (233, 105), (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, 129), (234, 105), (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, 130), (235, 106), (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, 131), (236, 106), (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, 131), (237, 107), (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, 132), (238, 107), (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, 133), (239, 107), (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, 133), (240, 108), (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, 134), (241, 108), (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, 134), (242, 108), (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, 135), (243, 109), (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, 135), (244, 109), (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, 135), (245, 110), (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, 135), (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, 135), (247, 111), (247, 113), (247, 135), (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, 135))
coordinates_ff00_e1 = ((181, 134), (182, 133), (182, 135), (183, 129), (183, 130), (183, 131), (183, 132), (184, 125), (184, 127), (184, 128), (184, 133), (184, 134), (184, 137), (184, 138), (184, 139), (185, 129), (185, 130), (185, 131), (185, 132), (185, 133), (185, 134), (185, 135), (185, 136), (185, 140), (185, 141), (185, 142), (185, 143), (186, 123), (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, 144), (186, 145), (186, 147), (187, 122), (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, 147), (188, 121), (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, 146), (189, 120), (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, 146), (190, 120), (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, 146), (191, 119), (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, 145), (192, 118), (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), (193, 118), (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, 143), (194, 117), (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, 142), (195, 117), (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, 140), (196, 118), (196, 124), (196, 125), (196, 126), (196, 127), (196, 128), (196, 129), (196, 130), (196, 136), (196, 137), (196, 138), (197, 120), (197, 122), (197, 123), (197, 131), (197, 132), (197, 133), (197, 134), (197, 135), (198, 124), (198, 125), (198, 126), (198, 127), (198, 128), (198, 129), (198, 130), (201, 123), (201, 124), (201, 125), (201, 126), (201, 127), (201, 128), (201, 129), (201, 130), (201, 131), (202, 120), (202, 122), (202, 123), (202, 132), (202, 133), (202, 134), (202, 135), (202, 136), (203, 118), (203, 123), (203, 124), (203, 125), (203, 126), (203, 127), (203, 128), (203, 129), (203, 130), (203, 131), (203, 137), (203, 138), (204, 117), (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, 140), (204, 141), (205, 117), (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, 142), (206, 118), (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, 144), (207, 118), (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, 145), (208, 119), (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, 145), (209, 120), (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, 146), (210, 120), (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, 146), (211, 121), (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, 146), (212, 122), (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, 147), (213, 123), (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, 144), (213, 145), (213, 147), (214, 124), (214, 130), (214, 131), (214, 132), (214, 133), (214, 134), (214, 135), (214, 140), (214, 141), (214, 142), (214, 143), (215, 125), (215, 127), (215, 128), (215, 129), (215, 133), (215, 134), (215, 137), (215, 138), (215, 139), (216, 130), (216, 131), (216, 132), (217, 133), (218, 134))
coordinates_006_b7_f = ((122, 131), (122, 132), (122, 133), (122, 134), (122, 135), (122, 137), (123, 128), (123, 138), (124, 127), (124, 130), (124, 131), (124, 132), (124, 133), (124, 134), (124, 135), (124, 136), (124, 137), (124, 139), (125, 126), (125, 128), (125, 129), (125, 130), (125, 131), (125, 132), (125, 133), (125, 134), (125, 135), (125, 136), (125, 137), (125, 138), (126, 125), (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, 142), (127, 124), (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), (128, 123), (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), (129, 123), (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, 144), (130, 122), (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, 145), (131, 121), (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, 146), (132, 121), (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, 147), (133, 120), (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, 148), (134, 120), (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, 149), (135, 120), (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), (136, 120), (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, 150), (137, 120), (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, 151), (138, 120), (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, 152), (139, 119), (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, 152), (140, 119), (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, 140), (140, 141), (140, 142), (140, 143), (140, 144), (140, 145), (140, 146), (140, 147), (140, 148), (140, 149), (140, 150), (140, 151), (140, 153), (141, 118), (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, 138), (141, 139), (141, 142), (141, 143), (141, 144), (141, 145), (141, 146), (141, 147), (141, 148), (141, 149), (141, 150), (141, 151), (141, 153), (142, 118), (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, 137), (142, 140), (142, 143), (142, 144), (142, 145), (142, 146), (142, 147), (142, 148), (142, 149), (142, 150), (142, 151), (142, 153), (143, 118), (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, 136), (143, 141), (143, 144), (143, 145), (143, 146), (143, 147), (143, 148), (143, 149), (143, 150), (143, 151), (143, 153), (144, 118), (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, 135), (144, 142), (144, 144), (144, 145), (144, 146), (144, 147), (144, 148), (144, 149), (144, 150), (144, 151), (144, 152), (144, 154), (145, 118), (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, 135), (145, 143), (145, 145), (145, 146), (145, 147), (145, 148), (145, 149), (145, 150), (145, 151), (145, 152), (145, 154), (146, 118), (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, 135), (146, 144), (146, 146), (146, 147), (146, 148), (146, 149), (146, 150), (146, 151), (146, 152), (146, 153), (146, 155), (147, 118), (147, 135), (147, 144), (147, 146), (147, 147), (147, 148), (147, 149), (147, 150), (147, 151), (147, 152), (147, 153), (147, 154), (147, 156), (148, 119), (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, 135), (148, 145), (148, 147), (148, 148), (148, 149), (148, 150), (148, 151), (148, 152), (148, 153), (148, 154), (148, 156), (149, 145), (149, 147), (149, 148), (149, 149), (149, 150), (149, 151), (149, 152), (149, 153), (149, 154), (149, 156), (150, 146), (150, 148), (150, 149), (150, 150), (150, 151), (150, 152), (150, 153), (150, 154), (150, 156), (151, 146), (151, 148), (151, 149), (151, 150), (151, 151), (151, 152), (151, 153), (151, 154), (151, 156), (152, 146), (152, 148), (152, 149), (152, 150), (152, 151), (152, 152), (152, 153), (152, 154), (152, 155), (152, 157), (153, 147), (153, 149), (153, 150), (153, 151), (153, 152), (153, 153), (153, 154), (153, 155), (153, 157), (154, 147), (154, 149), (154, 150), (154, 151), (154, 152), (154, 153), (154, 154), (154, 155), (154, 157), (155, 147), (155, 149), (155, 150), (155, 151), (155, 152), (155, 153), (155, 154), (155, 155), (155, 157), (156, 148), (156, 150), (156, 151), (156, 152), (156, 153), (156, 154), (156, 155), (156, 156), (156, 158), (157, 148), (157, 150), (157, 151), (157, 152), (157, 153), (157, 154), (157, 155), (157, 156), (157, 157), (157, 159), (158, 149), (158, 151), (158, 152), (158, 153), (158, 154), (158, 155), (158, 156), (158, 157), (158, 158), (158, 160), (159, 150), (159, 153), (159, 154), (159, 155), (159, 156), (159, 157), (159, 158), (159, 159), (159, 161), (160, 151), (160, 154), (160, 155), (160, 156), (160, 157), (160, 158), (160, 159), (160, 160), (160, 164), (161, 153), (161, 156), (161, 157), (161, 158), (161, 159), (161, 160), (161, 161), (161, 164), (162, 154), (162, 158), (162, 159), (162, 160), (162, 161), (162, 162), (162, 164), (163, 156), (163, 161), (163, 162), (163, 163), (163, 165), (164, 159), (164, 160), (164, 161), (164, 165), (165, 162), (165, 163), (165, 165), (234, 161), (234, 162), (234, 163), (234, 165), (235, 158), (235, 160), (235, 165), (236, 156), (236, 161), (236, 162), (236, 163), (236, 165), (237, 154), (237, 158), (237, 159), (237, 160), (237, 161), (237, 162), (237, 164), (238, 152), (238, 153), (238, 156), (238, 157), (238, 158), (238, 159), (238, 160), (238, 161), (238, 164), (239, 151), (239, 154), (239, 155), (239, 156), (239, 157), (239, 158), (239, 159), (239, 160), (239, 162), (240, 150), (240, 153), (240, 154), (240, 155), (240, 156), (240, 157), (240, 158), (240, 159), (240, 160), (241, 149), (241, 151), (241, 152), (241, 153), (241, 154), (241, 155), (241, 156), (241, 157), (241, 158), (241, 160), (242, 148), (242, 150), (242, 151), (242, 152), (242, 153), (242, 154), (242, 155), (242, 156), (242, 157), (242, 159), (243, 148), (243, 150), (243, 151), (243, 152), (243, 153), (243, 154), (243, 155), (243, 156), (243, 157), (243, 159), (244, 147), (244, 149), (244, 150), (244, 151), (244, 152), (244, 153), (244, 154), (244, 155), (244, 156), (244, 158), (245, 147), (245, 149), (245, 150), (245, 151), (245, 152), (245, 153), (245, 154), (245, 155), (245, 156), (245, 158), (246, 147), (246, 149), (246, 150), (246, 151), (246, 152), (246, 153), (246, 154), (246, 155), (246, 157), (247, 146), (247, 148), (247, 149), (247, 150), (247, 151), (247, 152), (247, 153), (247, 154), (247, 155), (247, 157), (248, 146), (248, 148), (248, 149), (248, 150), (248, 151), (248, 152), (248, 153), (248, 154), (248, 155), (248, 157), (249, 146), (249, 148), (249, 149), (249, 150), (249, 151), (249, 152), (249, 153), (249, 154), (249, 156), (250, 145), (250, 147), (250, 148), (250, 149), (250, 150), (250, 151), (250, 152), (250, 153), (250, 154), (250, 156), (251, 119), (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, 135), (251, 145), (251, 147), (251, 148), (251, 149), (251, 150), (251, 151), (251, 152), (251, 153), (251, 154), (251, 156), (252, 118), (252, 135), (252, 144), (252, 146), (252, 147), (252, 148), (252, 149), (252, 150), (252, 151), (252, 152), (252, 153), (252, 154), (252, 156), (253, 118), (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, 135), (253, 144), (253, 146), (253, 147), (253, 148), (253, 149), (253, 150), (253, 151), (253, 152), (253, 153), (253, 155), (254, 118), (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, 135), (254, 143), (254, 145), (254, 146), (254, 147), (254, 148), (254, 149), (254, 150), (254, 151), (254, 152), (254, 153), (254, 155), (255, 118), (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, 142), (255, 144), (255, 145), (255, 146), (255, 147), (255, 148), (255, 149), (255, 150), (255, 151), (255, 152), (255, 154), (256, 118), (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, 136), (256, 141), (256, 143), (256, 144), (256, 145), (256, 146), (256, 147), (256, 148), (256, 149), (256, 150), (256, 151), (256, 152), (256, 154), (257, 118), (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, 137), (257, 140), (257, 142), (257, 143), (257, 144), (257, 145), (257, 146), (257, 147), (257, 148), (257, 149), (257, 150), (257, 151), (257, 153), (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, 138), (258, 139), (258, 141), (258, 142), (258, 143), (258, 144), (258, 145), (258, 146), (258, 147), (258, 148), (258, 149), (258, 150), (258, 151), (258, 153), (259, 119), (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, 140), (259, 141), (259, 142), (259, 143), (259, 144), (259, 145), (259, 146), (259, 147), (259, 148), (259, 149), (259, 150), (259, 151), (259, 153), (260, 119), (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, 152), (261, 120), (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, 152), (262, 120), (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, 151), (263, 120), (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, 150), (264, 120), (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, 149), (265, 120), (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, 149), (266, 120), (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, 148), (267, 121), (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, 147), (268, 121), (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, 146), (269, 122), (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, 145), (270, 123), (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, 144), (271, 123), (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, 143), (272, 124), (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, 142), (273, 125), (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), (274, 126), (274, 129), (274, 130), (274, 131), (274, 132), (274, 133), (274, 134), (274, 135), (274, 136), (274, 137), (274, 138), (274, 140), (275, 127), (275, 131), (275, 132), (275, 133), (275, 134), (275, 135), (275, 136), (275, 137), (275, 139), (276, 129), (276, 138), (277, 131), (277, 133), (277, 134), (277, 135), (277, 137))
coordinates_00_ebff = ((116, 153), (117, 153), (117, 155), (118, 153), (118, 156), (119, 154), (119, 158), (120, 155), (120, 159), (121, 156), (121, 160), (122, 156), (122, 158), (122, 161), (123, 157), (123, 159), (123, 162), (124, 158), (124, 160), (124, 163), (125, 159), (125, 161), (125, 164), (126, 160), (126, 162), (126, 164), (127, 161), (127, 164), (128, 161), (128, 164), (129, 162), (129, 165), (130, 163), (130, 165), (131, 163), (131, 166), (132, 164), (132, 166), (133, 164), (133, 167), (134, 165), (134, 168), (135, 165), (135, 168), (136, 166), (136, 169), (137, 166), (137, 168), (137, 170), (138, 166), (138, 168), (138, 170), (139, 167), (139, 169), (139, 171), (140, 167), (140, 169), (140, 170), (140, 172), (141, 167), (141, 168), (141, 169), (141, 170), (141, 172), (142, 168), (142, 170), (142, 171), (142, 172), (143, 138), (143, 168), (143, 170), (143, 171), (143, 173), (144, 138), (144, 140), (144, 169), (144, 171), (144, 173), (145, 137), (145, 141), (145, 169), (145, 171), (145, 172), (145, 174), (146, 137), (146, 139), (146, 169), (146, 171), (146, 172), (146, 174), (147, 137), (147, 139), (147, 140), (147, 142), (147, 170), (147, 172), (147, 174), (148, 137), (148, 139), (148, 140), (148, 141), (148, 143), (148, 170), (148, 172), (148, 174), (149, 137), (149, 139), (149, 140), (149, 141), (149, 143), (149, 171), (149, 172), (149, 173), (149, 174), (149, 175), (150, 137), (150, 139), (150, 140), (150, 141), (150, 143), (150, 171), (150, 173), (150, 175), (151, 137), (151, 139), (151, 140), (151, 141), (151, 142), (151, 144), (151, 171), (151, 173), (151, 175), (152, 137), (152, 139), (152, 140), (152, 141), (152, 142), (152, 144), (152, 172), (152, 175), (153, 137), (153, 139), (153, 140), (153, 141), (153, 142), (153, 144), (153, 172), (153, 175), (154, 137), (154, 138), (154, 139), (154, 140), (154, 141), (154, 142), (154, 143), (154, 145), (154, 172), (154, 175), (155, 138), (155, 140), (155, 141), (155, 142), (155, 143), (155, 145), (155, 172), (155, 175), (156, 138), (156, 140), (156, 141), (156, 142), (156, 143), (156, 144), (156, 146), (156, 172), (156, 175), (157, 137), (157, 139), (157, 140), (157, 141), (157, 142), (157, 143), (157, 144), (157, 146), (157, 172), (157, 175), (158, 137), (158, 139), (158, 140), (158, 141), (158, 142), (158, 143), (158, 144), (158, 145), (158, 147), (158, 172), (158, 175), (159, 136), (159, 138), (159, 139), (159, 140), (159, 141), (159, 142), (159, 143), (159, 144), (159, 145), (159, 146), (159, 148), (159, 172), (159, 174), (159, 175), (159, 176), (160, 136), (160, 138), (160, 139), (160, 140), (160, 141), (160, 142), (160, 143), (160, 144), (160, 145), (160, 146), (160, 149), (160, 172), (160, 174), (160, 176), (161, 135), (161, 137), (161, 138), (161, 139), (161, 140), (161, 141), (161, 142), (161, 143), (161, 144), (161, 145), (161, 146), (161, 147), (161, 150), (161, 172), (161, 174), (161, 176), (162, 134), (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, 151), (162, 171), (162, 173), (162, 174), (162, 176), (163, 134), (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, 153), (163, 171), (163, 173), (163, 174), (163, 176), (164, 133), (164, 135), (164, 136), (164, 137), (164, 138), (164, 139), (164, 140), (164, 141), (164, 142), (164, 143), (164, 144), (164, 145), (164, 148), (164, 149), (164, 150), (164, 151), (164, 154), (164, 171), (164, 173), (164, 174), (164, 176), (165, 132), (165, 134), (165, 135), (165, 136), (165, 137), (165, 138), (165, 139), (165, 140), (165, 141), (165, 142), (165, 143), (165, 146), (165, 147), (165, 152), (165, 153), (165, 156), (165, 157), (165, 170), (165, 172), (165, 173), (165, 174), (165, 176), (166, 132), (166, 134), (166, 135), (166, 136), (166, 137), (166, 138), (166, 139), (166, 140), (166, 141), (166, 142), (166, 144), (166, 148), (166, 149), (166, 150), (166, 151), (166, 154), (166, 155), (166, 158), (166, 159), (166, 160), (166, 169), (166, 171), (166, 172), (166, 173), (166, 174), (166, 176), (167, 131), (167, 133), (167, 134), (167, 135), (167, 136), (167, 137), (167, 138), (167, 139), (167, 143), (167, 152), (167, 155), (167, 156), (167, 157), (167, 161), (167, 162), (167, 163), (167, 164), (167, 165), (167, 168), (167, 170), (167, 171), (167, 172), (167, 173), (167, 174), (167, 176), (168, 130), (168, 132), (168, 133), (168, 134), (168, 135), (168, 136), (168, 137), (168, 140), (168, 141), (168, 154), (168, 156), (168, 157), (168, 158), (168, 159), (168, 160), (168, 165), (168, 166), (168, 167), (168, 169), (168, 170), (168, 171), (168, 172), (168, 173), (168, 174), (168, 176), (169, 130), (169, 132), (169, 133), (169, 134), (169, 135), (169, 136), (169, 138), (169, 155), (169, 157), (169, 158), (169, 159), (169, 160), (169, 161), (169, 162), (169, 163), (169, 164), (169, 165), (169, 168), (169, 169), (169, 170), (169, 171), (169, 172), (169, 173), (169, 174), (169, 176), (170, 129), (170, 131), (170, 132), (170, 133), (170, 134), (170, 135), (170, 137), (170, 156), (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, 176), (171, 129), (171, 131), (171, 132), (171, 133), (171, 134), (171, 136), (171, 157), (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, 177), (172, 128), (172, 129), (172, 130), (172, 131), (172, 132), (172, 133), (172, 135), (172, 158), (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, 177), (173, 128), (173, 130), (173, 131), (173, 132), (173, 134), (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, 178), (174, 128), (174, 130), (174, 131), (174, 132), (174, 134), (174, 161), (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, 178), (175, 128), (175, 130), (175, 131), (175, 133), (175, 162), (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, 179), (176, 127), (176, 129), (176, 130), (176, 131), (176, 133), (176, 163), (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, 180), (177, 127), (177, 129), (177, 130), (177, 131), (177, 133), (177, 164), (177, 166), (177, 175), (177, 176), (177, 177), (177, 178), (177, 179), (177, 181), (178, 127), (178, 129), (178, 130), (178, 131), (178, 133), (178, 167), (178, 168), (178, 169), (178, 170), (178, 171), (178, 172), (178, 173), (178, 174), (178, 177), (178, 178), (178, 179), (178, 180), (178, 182), (179, 127), (179, 129), (179, 130), (179, 131), (179, 133), (179, 175), (179, 178), (179, 179), (179, 180), (179, 181), (179, 184), (179, 185), (179, 186), (179, 190), (179, 192), (180, 127), (180, 132), (180, 177), (180, 179), (180, 180), (180, 181), (180, 182), (180, 183), (180, 187), (180, 188), (180, 193), (180, 194), (181, 127), (181, 129), (181, 130), (181, 132), (181, 178), (181, 181), (181, 182), (181, 183), (181, 184), (181, 185), (181, 186), (181, 189), (181, 190), (181, 191), (181, 192), (181, 197), (182, 179), (182, 188), (182, 189), (182, 190), (182, 191), (182, 192), (182, 193), (182, 194), (182, 195), (182, 199), (183, 181), (183, 183), (183, 184), (183, 185), (183, 186), (183, 187), (183, 201), (184, 188), (184, 189), (184, 190), (184, 191), (184, 192), (184, 193), (184, 194), (184, 195), (184, 196), (184, 197), (184, 203), (185, 198), (185, 199), (185, 200), (185, 201), (185, 202), (185, 203), (185, 205), (214, 198), (214, 199), (214, 200), (214, 201), (214, 202), (214, 203), (214, 205), (215, 187), (215, 188), (215, 189), (215, 190), (215, 191), (215, 192), (215, 193), (215, 194), (215, 195), (215, 196), (215, 197), (215, 203), (216, 181), (216, 183), (216, 184), (216, 185), (216, 186), (216, 201), (217, 179), (217, 187), (217, 188), (217, 189), (217, 190), (217, 191), (217, 192), (217, 193), (217, 194), (217, 199), (218, 127), (218, 129), (218, 130), (218, 132), (218, 178), (218, 181), (218, 182), (218, 183), (218, 184), (218, 185), (218, 186), (218, 190), (218, 191), (218, 192), (218, 196), (218, 197), (219, 127), (219, 177), (219, 179), (219, 180), (219, 181), (219, 182), (219, 187), (219, 188), (219, 193), (219, 194), (220, 127), (220, 129), (220, 130), (220, 131), (220, 133), (220, 175), (220, 178), (220, 179), (220, 180), (220, 181), (220, 184), (220, 185), (220, 190), (220, 192), (221, 127), (221, 129), (221, 130), (221, 131), (221, 133), (221, 165), (221, 167), (221, 168), (221, 169), (221, 170), (221, 171), (221, 172), (221, 173), (221, 174), (221, 177), (221, 178), (221, 179), (221, 180), (221, 182), (222, 127), (222, 129), (222, 130), (222, 131), (222, 133), (222, 164), (222, 175), (222, 176), (222, 177), (222, 178), (222, 179), (222, 181), (223, 127), (223, 129), (223, 130), (223, 131), (223, 133), (223, 163), (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, 180), (224, 128), (224, 130), (224, 131), (224, 133), (224, 162), (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, 179), (225, 128), (225, 130), (225, 131), (225, 132), (225, 134), (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, 178), (226, 128), (226, 130), (226, 131), (226, 132), (226, 134), (226, 159), (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, 178), (227, 129), (227, 131), (227, 132), (227, 133), (227, 135), (227, 158), (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, 177), (228, 129), (228, 131), (228, 132), (228, 133), (228, 134), (228, 136), (228, 157), (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, 177), (229, 129), (229, 131), (229, 132), (229, 133), (229, 134), (229, 135), (229, 137), (229, 156), (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, 176), (230, 130), (230, 132), (230, 133), (230, 134), (230, 135), (230, 136), (230, 139), (230, 155), (230, 157), (230, 158), (230, 159), (230, 160), (230, 161), (230, 162), (230, 163), (230, 164), (230, 168), (230, 169), (230, 170), (230, 171), (230, 172), (230, 173), (230, 174), (230, 176), (231, 132), (231, 133), (231, 134), (231, 135), (231, 136), (231, 137), (231, 140), (231, 141), (231, 143), (231, 154), (231, 156), (231, 157), (231, 158), (231, 159), (231, 160), (231, 165), (231, 166), (231, 167), (231, 169), (231, 170), (231, 171), (231, 172), (231, 173), (231, 174), (231, 176), (232, 131), (232, 133), (232, 134), (232, 135), (232, 136), (232, 137), (232, 138), (232, 139), (232, 143), (232, 152), (232, 155), (232, 156), (232, 157), (232, 161), (232, 162), (232, 163), (232, 164), (232, 168), (232, 170), (232, 171), (232, 172), (232, 173), (232, 174), (232, 176), (233, 132), (233, 134), (233, 135), (233, 136), (233, 137), (233, 138), (233, 139), (233, 140), (233, 141), (233, 142), (233, 145), (233, 148), (233, 149), (233, 150), (233, 154), (233, 158), (233, 159), (233, 169), (233, 171), (233, 172), (233, 173), (233, 174), (233, 176), (234, 132), (234, 134), (234, 135), (234, 136), (234, 137), (234, 138), (234, 139), (234, 140), (234, 141), (234, 142), (234, 143), (234, 146), (234, 147), (234, 151), (234, 152), (234, 156), (234, 170), (234, 172), (234, 173), (234, 174), (234, 176), (235, 133), (235, 135), (235, 136), (235, 137), (235, 138), (235, 139), (235, 140), (235, 141), (235, 142), (235, 143), (235, 144), (235, 145), (235, 147), (235, 148), (235, 149), (235, 150), (235, 151), (235, 154), (235, 171), (235, 173), (235, 174), (235, 176), (236, 134), (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, 152), (236, 171), (236, 173), (236, 174), (236, 176), (237, 134), (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, 151), (237, 171), (237, 173), (237, 174), (237, 176), (238, 135), (238, 137), (238, 138), (238, 139), (238, 140), (238, 141), (238, 142), (238, 143), (238, 144), (238, 145), (238, 146), (238, 147), (238, 150), (238, 172), (238, 174), (238, 176), (239, 136), (239, 138), (239, 139), (239, 140), (239, 141), (239, 142), (239, 143), (239, 144), (239, 145), (239, 146), (239, 172), (239, 174), (239, 175), (239, 176), (240, 136), (240, 138), (240, 139), (240, 140), (240, 141), (240, 142), (240, 143), (240, 144), (240, 145), (240, 146), (240, 148), (240, 172), (240, 174), (240, 175), (240, 176), (241, 137), (241, 139), (241, 140), (241, 141), (241, 142), (241, 143), (241, 144), (241, 145), (241, 147), (241, 172), (241, 175), (242, 137), (242, 139), (242, 140), (242, 141), (242, 142), (242, 143), (242, 144), (242, 146), (242, 172), (242, 175), (243, 138), (243, 140), (243, 141), (243, 142), (243, 143), (243, 144), (243, 145), (243, 146), (243, 172), (243, 175), (244, 138), (244, 140), (244, 141), (244, 142), (244, 143), (244, 145), (244, 172), (244, 175), (245, 137), (245, 138), (245, 139), (245, 140), (245, 141), (245, 142), (245, 143), (245, 145), (245, 172), (245, 175), (246, 137), (246, 139), (246, 140), (246, 141), (246, 142), (246, 144), (246, 172), (246, 175), (247, 137), (247, 139), (247, 140), (247, 141), (247, 142), (247, 144), (247, 172), (247, 175), (248, 137), (248, 139), (248, 140), (248, 141), (248, 142), (248, 144), (248, 171), (248, 173), (248, 175), (249, 137), (249, 139), (249, 140), (249, 141), (249, 143), (249, 171), (249, 173), (249, 175), (250, 137), (250, 139), (250, 140), (250, 141), (250, 143), (250, 170), (250, 172), (250, 174), (251, 137), (251, 139), (251, 140), (251, 141), (251, 142), (251, 170), (251, 172), (251, 174), (252, 137), (252, 139), (252, 140), (252, 142), (252, 170), (252, 172), (252, 174), (253, 137), (253, 139), (253, 169), (253, 171), (253, 172), (253, 174), (254, 137), (254, 141), (254, 169), (254, 171), (254, 172), (254, 173), (254, 174), (255, 138), (255, 140), (255, 169), (255, 171), (255, 173), (256, 168), (256, 170), (256, 171), (256, 173), (257, 168), (257, 170), (257, 172), (258, 167), (258, 169), (258, 170), (258, 172), (259, 167), (259, 169), (259, 170), (259, 172), (260, 167), (260, 169), (260, 171), (261, 166), (261, 168), (261, 170), (262, 166), (262, 168), (262, 170), (263, 166), (263, 169), (264, 165), (264, 168), (265, 165), (265, 168), (266, 164), (266, 167), (267, 164), (267, 166), (268, 163), (268, 166), (269, 163), (269, 165), (270, 162), (270, 165), (271, 161), (271, 164), (272, 161), (272, 164), (273, 160), (273, 162), (273, 164), (274, 159), (274, 161), (274, 164), (275, 158), (275, 160), (275, 163), (276, 157), (276, 159), (276, 162), (277, 156), (277, 158), (277, 161), (278, 156), (278, 160), (279, 155), (279, 159), (280, 154), (281, 153), (281, 156), (282, 153), (282, 155), (283, 153))
coordinates_00_ff92 = ((118, 136), (118, 138), (118, 139), (118, 140), (119, 136), (119, 141), (119, 142), (119, 143), (119, 144), (119, 145), (119, 146), (119, 147), (119, 148), (119, 149), (119, 150), (119, 152), (120, 137), (120, 140), (120, 149), (121, 139), (121, 141), (121, 142), (121, 143), (121, 144), (121, 145), (121, 146), (121, 147), (121, 148), (121, 149), (121, 150), (121, 151), (121, 153), (122, 140), (122, 142), (122, 143), (122, 144), (122, 145), (122, 146), (122, 147), (122, 148), (122, 149), (122, 150), (122, 151), (122, 152), (122, 154), (123, 141), (123, 143), (123, 144), (123, 145), (123, 146), (123, 147), (123, 148), (123, 149), (123, 150), (123, 151), (123, 152), (123, 153), (123, 155), (124, 142), (124, 144), (124, 145), (124, 146), (124, 147), (124, 148), (124, 149), (124, 150), (124, 151), (124, 152), (124, 153), (124, 154), (124, 156), (125, 143), (125, 145), (125, 146), (125, 147), (125, 148), (125, 149), (125, 150), (125, 151), (125, 152), (125, 153), (125, 154), (125, 156), (126, 144), (126, 146), (126, 147), (126, 148), (126, 149), (126, 150), (126, 151), (126, 152), (126, 153), (126, 154), (126, 155), (126, 157), (127, 145), (127, 147), (127, 148), (127, 149), (127, 150), (127, 151), (127, 152), (127, 153), (127, 154), (127, 155), (127, 156), (127, 158), (128, 146), (128, 148), (128, 149), (128, 150), (128, 151), (128, 152), (128, 153), (128, 154), (128, 155), (128, 156), (128, 157), (128, 159), (129, 147), (129, 149), (129, 150), (129, 151), (129, 152), (129, 153), (129, 154), (129, 155), (129, 156), (129, 157), (129, 158), (129, 160), (130, 148), (130, 150), (130, 151), (130, 152), (130, 153), (130, 154), (130, 155), (130, 156), (130, 157), (130, 158), (130, 160), (131, 149), (131, 151), (131, 152), (131, 153), (131, 154), (131, 155), (131, 156), (131, 157), (131, 158), (131, 159), (131, 161), (132, 149), (132, 152), (132, 153), (132, 154), (132, 155), (132, 156), (132, 157), (132, 158), (132, 159), (132, 161), (133, 150), (133, 152), (133, 153), (133, 154), (133, 155), (133, 156), (133, 157), (133, 158), (133, 159), (133, 160), (133, 162), (134, 151), (134, 153), (134, 154), (134, 155), (134, 156), (134, 157), (134, 158), (134, 159), (134, 160), (134, 162), (135, 152), (135, 154), (135, 155), (135, 156), (135, 157), (135, 158), (135, 159), (135, 160), (135, 161), (135, 163), (136, 153), (136, 155), (136, 156), (136, 157), (136, 158), (136, 159), (136, 160), (136, 161), (136, 163), (137, 153), (137, 155), (137, 156), (137, 157), (137, 158), (137, 159), (137, 160), (137, 161), (137, 162), (137, 164), (138, 154), (138, 156), (138, 157), (138, 158), (138, 159), (138, 160), (138, 161), (138, 162), (138, 164), (139, 155), (139, 157), (139, 158), (139, 159), (139, 160), (139, 161), (139, 162), (139, 164), (140, 155), (140, 157), (140, 158), (140, 159), (140, 160), (140, 161), (140, 162), (140, 163), (140, 165), (141, 156), (141, 158), (141, 159), (141, 160), (141, 161), (141, 162), (141, 163), (141, 165), (142, 156), (142, 158), (142, 159), (142, 160), (142, 161), (142, 162), (142, 163), (142, 164), (142, 166), (143, 156), (143, 158), (143, 159), (143, 160), (143, 161), (143, 162), (143, 163), (143, 164), (143, 166), (144, 156), (144, 158), (144, 159), (144, 160), (144, 161), (144, 162), (144, 163), (144, 164), (144, 166), (145, 157), (145, 159), (145, 160), (145, 161), (145, 162), (145, 163), (145, 164), (145, 165), (145, 167), (146, 157), (146, 159), (146, 160), (146, 161), (146, 162), (146, 163), (146, 164), (146, 165), (146, 167), (147, 158), (147, 160), (147, 161), (147, 162), (147, 163), (147, 164), (147, 165), (147, 167), (148, 159), (148, 161), (148, 162), (148, 163), (148, 164), (148, 165), (148, 166), (148, 168), (149, 159), (149, 161), (149, 162), (149, 163), (149, 164), (149, 165), (149, 166), (149, 168), (150, 160), (150, 162), (150, 163), (150, 164), (150, 165), (150, 166), (150, 167), (150, 169), (151, 161), (151, 163), (151, 164), (151, 165), (151, 166), (151, 167), (151, 169), (152, 161), (152, 163), (152, 164), (152, 165), (152, 166), (152, 167), (152, 168), (152, 170), (153, 162), (153, 164), (153, 165), (153, 166), (153, 167), (153, 168), (153, 170), (154, 162), (154, 164), (154, 165), (154, 166), (154, 167), (154, 168), (154, 170), (155, 163), (155, 165), (155, 166), (155, 167), (155, 168), (155, 170), (156, 163), (156, 165), (156, 166), (156, 167), (156, 168), (156, 170), (157, 164), (157, 166), (157, 167), (157, 168), (157, 170), (158, 165), (158, 167), (158, 168), (158, 170), (159, 165), (159, 167), (159, 168), (159, 170), (160, 166), (160, 168), (160, 170), (161, 166), (161, 169), (162, 167), (162, 169), (163, 167), (163, 169), (164, 167), (164, 168), (165, 168), (234, 168), (235, 167), (236, 167), (236, 169), (237, 167), (237, 169), (238, 166), (238, 169), (239, 166), (239, 168), (239, 170), (240, 165), (240, 167), (240, 168), (240, 170), (241, 165), (241, 167), (241, 168), (241, 170), (242, 163), (242, 166), (242, 167), (242, 168), (242, 170), (243, 163), (243, 165), (243, 166), (243, 167), (243, 168), (243, 170), (244, 162), (244, 164), (244, 165), (244, 166), (244, 167), (244, 168), (244, 170), (245, 162), (245, 164), (245, 165), (245, 166), (245, 167), (245, 168), (245, 170), (246, 161), (246, 163), (246, 164), (246, 165), (246, 166), (246, 167), (246, 168), (246, 170), (247, 161), (247, 163), (247, 164), (247, 165), (247, 166), (247, 167), (247, 168), (247, 170), (248, 160), (248, 162), (248, 163), (248, 164), (248, 165), (248, 166), (248, 167), (248, 169), (249, 160), (249, 162), (249, 163), (249, 164), (249, 165), (249, 166), (249, 167), (249, 169), (250, 159), (250, 161), (250, 162), (250, 163), (250, 164), (250, 165), (250, 166), (250, 168), (251, 159), (251, 161), (251, 162), (251, 163), (251, 164), (251, 165), (251, 166), (251, 168), (252, 158), (252, 160), (252, 161), (252, 162), (252, 163), (252, 164), (252, 165), (252, 167), (253, 158), (253, 160), (253, 161), (253, 162), (253, 163), (253, 164), (253, 165), (253, 167), (254, 157), (254, 159), (254, 160), (254, 161), (254, 162), (254, 163), (254, 164), (254, 165), (254, 167), (255, 157), (255, 159), (255, 160), (255, 161), (255, 162), (255, 163), (255, 164), (255, 166), (256, 156), (256, 158), (256, 159), (256, 160), (256, 161), (256, 162), (256, 163), (256, 164), (256, 166), (257, 156), (257, 158), (257, 159), (257, 160), (257, 161), (257, 162), (257, 163), (257, 164), (257, 166), (258, 156), (258, 158), (258, 159), (258, 160), (258, 161), (258, 162), (258, 163), (258, 165), (259, 155), (259, 157), (259, 158), (259, 159), (259, 160), (259, 161), (259, 162), (259, 163), (259, 165), (260, 155), (260, 157), (260, 158), (260, 159), (260, 160), (260, 161), (260, 162), (260, 164), (261, 154), (261, 156), (261, 157), (261, 158), (261, 159), (261, 160), (261, 161), (261, 162), (261, 164), (262, 153), (262, 155), (262, 156), (262, 157), (262, 158), (262, 159), (262, 160), (262, 161), (262, 162), (262, 164), (263, 153), (263, 155), (263, 156), (263, 157), (263, 158), (263, 159), (263, 160), (263, 161), (263, 163), (264, 152), (264, 154), (264, 155), (264, 156), (264, 157), (264, 158), (264, 159), (264, 160), (264, 161), (264, 163), (265, 151), (265, 153), (265, 154), (265, 155), (265, 156), (265, 157), (265, 158), (265, 159), (265, 160), (265, 162), (266, 150), (266, 152), (266, 153), (266, 154), (266, 155), (266, 156), (266, 157), (266, 158), (266, 159), (266, 160), (266, 162), (267, 149), (267, 151), (267, 152), (267, 153), (267, 154), (267, 155), (267, 156), (267, 157), (267, 158), (267, 159), (267, 161), (268, 149), (268, 151), (268, 152), (268, 153), (268, 154), (268, 155), (268, 156), (268, 157), (268, 158), (268, 159), (268, 161), (269, 148), (269, 150), (269, 151), (269, 152), (269, 153), (269, 154), (269, 155), (269, 156), (269, 157), (269, 158), (269, 160), (270, 147), (270, 149), (270, 150), (270, 151), (270, 152), (270, 153), (270, 154), (270, 155), (270, 156), (270, 157), (270, 158), (270, 160), (271, 146), (271, 148), (271, 149), (271, 150), (271, 151), (271, 152), (271, 153), (271, 154), (271, 155), (271, 156), (271, 157), (271, 159), (272, 145), (272, 147), (272, 148), (272, 149), (272, 150), (272, 151), (272, 152), (272, 153), (272, 154), (272, 155), (272, 156), (272, 158), (273, 144), (273, 146), (273, 147), (273, 148), (273, 149), (273, 150), (273, 151), (273, 152), (273, 153), (273, 154), (273, 155), (273, 157), (274, 143), (274, 145), (274, 146), (274, 147), (274, 148), (274, 149), (274, 150), (274, 151), (274, 152), (274, 153), (274, 154), (274, 156), (275, 142), (275, 144), (275, 145), (275, 146), (275, 147), (275, 148), (275, 149), (275, 150), (275, 151), (275, 152), (275, 153), (275, 154), (275, 156), (276, 141), (276, 143), (276, 144), (276, 145), (276, 146), (276, 147), (276, 148), (276, 149), (276, 150), (276, 151), (276, 152), (276, 153), (276, 155), (277, 140), (277, 142), (277, 143), (277, 144), (277, 145), (277, 146), (277, 147), (277, 148), (277, 149), (277, 150), (277, 151), (277, 152), (277, 154), (278, 138), (278, 141), (278, 142), (278, 143), (278, 144), (278, 145), (278, 146), (278, 147), (278, 151), (278, 153), (279, 137), (279, 140), (279, 148), (279, 149), (279, 150), (279, 152), (280, 136), (280, 141), (280, 142), (280, 143), (280, 144), (280, 145), (280, 146), (280, 147), (280, 152), (281, 136), (281, 138), (281, 139), (281, 140))
coordinates_ebff00 = ((125, 166), (125, 168), (125, 169), (125, 170), (125, 171), (125, 172), (125, 173), (125, 174), (125, 175), (125, 176), (125, 177), (125, 179), (126, 166), (126, 179), (127, 166), (127, 168), (127, 169), (127, 170), (127, 171), (127, 172), (127, 173), (127, 174), (127, 175), (127, 176), (127, 177), (127, 179), (128, 167), (128, 169), (128, 170), (128, 171), (128, 172), (128, 173), (128, 174), (128, 175), (128, 176), (128, 177), (128, 178), (128, 180), (129, 167), (129, 169), (129, 170), (129, 171), (129, 172), (129, 173), (129, 174), (129, 175), (129, 176), (129, 177), (129, 178), (129, 180), (130, 168), (130, 170), (130, 171), (130, 172), (130, 173), (130, 174), (130, 175), (130, 176), (130, 177), (130, 178), (130, 180), (131, 168), (131, 170), (131, 171), (131, 172), (131, 173), (131, 174), (131, 175), (131, 176), (131, 177), (131, 178), (131, 180), (132, 169), (132, 171), (132, 172), (132, 173), (132, 174), (132, 175), (132, 176), (132, 177), (132, 178), (132, 179), (132, 181), (133, 169), (133, 171), (133, 172), (133, 173), (133, 174), (133, 175), (133, 176), (133, 177), (133, 178), (133, 179), (133, 181), (134, 170), (134, 172), (134, 173), (134, 174), (134, 175), (134, 176), (134, 177), (134, 178), (134, 179), (134, 180), (134, 182), (135, 171), (135, 173), (135, 174), (135, 175), (135, 176), (135, 177), (135, 178), (135, 179), (135, 180), (135, 182), (136, 171), (136, 173), (136, 174), (136, 175), (136, 176), (136, 177), (136, 178), (136, 179), (136, 180), (136, 182), (137, 172), (137, 174), (137, 175), (137, 176), (137, 177), (137, 178), (137, 179), (137, 180), (137, 181), (137, 183), (138, 173), (138, 175), (138, 176), (138, 177), (138, 178), (138, 179), (138, 180), (138, 181), (138, 183), (139, 173), (139, 175), (139, 176), (139, 177), (139, 178), (139, 179), (139, 180), (139, 181), (139, 182), (139, 184), (140, 174), (140, 176), (140, 177), (140, 178), (140, 179), (140, 180), (140, 181), (140, 182), (140, 184), (141, 174), (141, 176), (141, 177), (141, 178), (141, 179), (141, 180), (141, 181), (141, 182), (141, 184), (142, 175), (142, 177), (142, 178), (142, 179), (142, 180), (142, 181), (142, 182), (142, 183), (142, 185), (143, 175), (143, 177), (143, 178), (143, 179), (143, 180), (143, 181), (143, 182), (143, 183), (143, 185), (144, 176), (144, 178), (144, 179), (144, 180), (144, 181), (144, 182), (144, 183), (144, 184), (144, 186), (145, 176), (145, 178), (145, 179), (145, 180), (145, 181), (145, 182), (145, 183), (145, 184), (145, 186), (146, 176), (146, 178), (146, 179), (146, 180), (146, 181), (146, 182), (146, 183), (146, 184), (146, 186), (147, 176), (147, 178), (147, 179), (147, 180), (147, 181), (147, 182), (147, 183), (147, 184), (147, 185), (147, 186), (147, 187), (148, 177), (148, 179), (148, 180), (148, 181), (148, 182), (148, 183), (148, 184), (148, 185), (148, 187), (149, 177), (149, 179), (149, 180), (149, 181), (149, 182), (149, 183), (149, 184), (149, 185), (149, 187), (150, 177), (150, 179), (150, 180), (150, 181), (150, 182), (150, 183), (150, 184), (150, 185), (150, 187), (151, 177), (151, 179), (151, 180), (151, 181), (151, 182), (151, 183), (151, 184), (151, 185), (151, 186), (151, 188), (152, 177), (152, 179), (152, 180), (152, 181), (152, 182), (152, 183), (152, 184), (152, 185), (152, 186), (152, 188), (153, 177), (153, 179), (153, 180), (153, 181), (153, 182), (153, 183), (153, 184), (153, 185), (153, 186), (153, 188), (154, 177), (154, 179), (154, 180), (154, 181), (154, 182), (154, 183), (154, 184), (154, 185), (154, 186), (154, 188), (155, 178), (155, 180), (155, 181), (155, 182), (155, 183), (155, 184), (155, 185), (155, 186), (155, 187), (155, 188), (155, 189), (156, 178), (156, 180), (156, 181), (156, 182), (156, 183), (156, 184), (156, 185), (156, 186), (156, 187), (156, 189), (157, 178), (157, 180), (157, 181), (157, 182), (157, 183), (157, 184), (157, 185), (157, 186), (157, 187), (157, 189), (158, 178), (158, 180), (158, 181), (158, 182), (158, 183), (158, 184), (158, 185), (158, 186), (158, 187), (158, 189), (159, 178), (159, 180), (159, 181), (159, 182), (159, 183), (159, 184), (159, 185), (159, 186), (159, 187), (159, 189), (160, 178), (160, 180), (160, 181), (160, 182), (160, 183), (160, 184), (160, 185), (160, 186), (160, 187), (160, 189), (161, 178), (161, 180), (161, 181), (161, 182), (161, 183), (161, 184), (161, 185), (161, 186), (161, 187), (161, 189), (162, 178), (162, 180), (162, 181), (162, 182), (162, 183), (162, 184), (162, 185), (162, 186), (162, 187), (162, 189), (163, 178), (163, 180), (163, 181), (163, 182), (163, 183), (163, 184), (163, 185), (163, 186), (163, 187), (163, 188), (163, 190), (164, 178), (164, 180), (164, 181), (164, 182), (164, 183), (164, 184), (164, 185), (164, 186), (164, 187), (164, 188), (164, 190), (165, 178), (165, 180), (165, 181), (165, 182), (165, 183), (165, 184), (165, 185), (165, 186), (165, 187), (165, 188), (165, 190), (166, 178), (166, 180), (166, 181), (166, 182), (166, 183), (166, 184), (166, 185), (166, 186), (166, 187), (166, 188), (166, 190), (167, 178), (167, 180), (167, 181), (167, 182), (167, 183), (167, 184), (167, 185), (167, 186), (167, 187), (167, 188), (167, 190), (168, 178), (168, 180), (168, 181), (168, 182), (168, 183), (168, 184), (168, 185), (168, 186), (168, 187), (168, 189), (169, 178), (169, 180), (169, 181), (169, 182), (169, 183), (169, 184), (169, 185), (169, 186), (169, 187), (169, 189), (170, 179), (170, 181), (170, 182), (170, 183), (170, 184), (170, 185), (170, 186), (170, 187), (170, 189), (171, 179), (171, 181), (171, 182), (171, 183), (171, 184), (171, 185), (171, 186), (171, 187), (171, 189), (172, 179), (172, 181), (172, 182), (172, 183), (172, 184), (172, 185), (172, 186), (172, 187), (172, 189), (173, 180), (173, 182), (173, 183), (173, 184), (173, 185), (173, 186), (173, 187), (173, 189), (174, 181), (174, 183), (174, 184), (174, 185), (174, 186), (174, 187), (174, 189), (175, 181), (175, 184), (175, 185), (175, 186), (175, 187), (175, 189), (176, 182), (176, 183), (176, 189), (177, 184), (177, 186), (177, 187), (177, 189), (222, 184), (222, 186), (222, 187), (222, 189), (223, 182), (223, 189), (224, 181), (224, 184), (224, 185), (224, 186), (224, 187), (224, 189), (225, 183), (225, 184), (225, 185), (225, 186), (225, 187), (225, 189), (226, 180), (226, 182), (226, 183), (226, 184), (226, 185), (226, 186), (226, 187), (226, 189), (227, 179), (227, 181), (227, 182), (227, 183), (227, 184), (227, 185), (227, 186), (227, 187), (227, 189), (228, 179), (228, 181), (228, 182), (228, 183), (228, 184), (228, 185), (228, 186), (228, 187), (228, 189), (229, 179), (229, 181), (229, 182), (229, 183), (229, 184), (229, 185), (229, 186), (229, 187), (229, 189), (230, 178), (230, 180), (230, 181), (230, 182), (230, 183), (230, 184), (230, 185), (230, 186), (230, 187), (230, 189), (231, 178), (231, 180), (231, 181), (231, 182), (231, 183), (231, 184), (231, 185), (231, 186), (231, 187), (231, 189), (232, 178), (232, 180), (232, 181), (232, 182), (232, 183), (232, 184), (232, 185), (232, 186), (232, 187), (232, 188), (232, 190), (233, 178), (233, 180), (233, 181), (233, 182), (233, 183), (233, 184), (233, 185), (233, 186), (233, 187), (233, 188), (233, 190), (234, 178), (234, 180), (234, 181), (234, 182), (234, 183), (234, 184), (234, 185), (234, 186), (234, 187), (234, 188), (234, 190), (235, 178), (235, 180), (235, 181), (235, 182), (235, 183), (235, 184), (235, 185), (235, 186), (235, 187), (235, 188), (235, 190), (236, 178), (236, 180), (236, 181), (236, 182), (236, 183), (236, 184), (236, 185), (236, 186), (236, 187), (236, 188), (236, 190), (237, 178), (237, 180), (237, 181), (237, 182), (237, 183), (237, 184), (237, 185), (237, 186), (237, 187), (237, 189), (238, 178), (238, 180), (238, 181), (238, 182), (238, 183), (238, 184), (238, 185), (238, 186), (238, 187), (238, 189), (239, 178), (239, 180), (239, 181), (239, 182), (239, 183), (239, 184), (239, 185), (239, 186), (239, 187), (239, 189), (240, 178), (240, 180), (240, 181), (240, 182), (240, 183), (240, 184), (240, 185), (240, 186), (240, 187), (240, 189), (241, 178), (241, 180), (241, 181), (241, 182), (241, 183), (241, 184), (241, 185), (241, 186), (241, 187), (241, 189), (242, 178), (242, 180), (242, 181), (242, 182), (242, 183), (242, 184), (242, 185), (242, 186), (242, 187), (242, 189), (243, 178), (243, 180), (243, 181), (243, 182), (243, 183), (243, 184), (243, 185), (243, 186), (243, 187), (243, 189), (244, 178), (244, 180), (244, 181), (244, 182), (244, 183), (244, 184), (244, 185), (244, 186), (244, 188), (245, 177), (245, 179), (245, 180), (245, 181), (245, 182), (245, 183), (245, 184), (245, 185), (245, 186), (245, 188), (246, 177), (246, 179), (246, 180), (246, 181), (246, 182), (246, 183), (246, 184), (246, 185), (246, 186), (246, 188), (247, 177), (247, 179), (247, 180), (247, 181), (247, 182), (247, 183), (247, 184), (247, 185), (247, 186), (247, 188), (248, 177), (248, 179), (248, 180), (248, 181), (248, 182), (248, 183), (248, 184), (248, 185), (248, 186), (248, 188), (249, 177), (249, 179), (249, 180), (249, 181), (249, 182), (249, 183), (249, 184), (249, 185), (249, 187), (250, 177), (250, 179), (250, 180), (250, 181), (250, 182), (250, 183), (250, 184), (250, 185), (250, 187), (251, 177), (251, 179), (251, 180), (251, 181), (251, 182), (251, 183), (251, 184), (251, 185), (251, 187), (252, 176), (252, 178), (252, 179), (252, 180), (252, 181), (252, 182), (252, 183), (252, 184), (252, 186), (253, 176), (253, 178), (253, 179), (253, 180), (253, 181), (253, 182), (253, 183), (253, 184), (253, 186), (254, 176), (254, 178), (254, 179), (254, 180), (254, 181), (254, 182), (254, 183), (254, 184), (254, 186), (255, 175), (255, 176), (255, 177), (255, 178), (255, 179), (255, 180), (255, 181), (255, 182), (255, 183), (255, 184), (255, 185), (255, 186), (256, 175), (256, 177), (256, 178), (256, 179), (256, 180), (256, 181), (256, 182), (256, 183), (256, 185), (257, 175), (257, 177), (257, 178), (257, 179), (257, 180), (257, 181), (257, 182), (257, 183), (257, 185), (258, 174), (258, 176), (258, 177), (258, 178), (258, 179), (258, 180), (258, 181), (258, 182), (258, 184), (259, 174), (259, 176), (259, 177), (259, 178), (259, 179), (259, 180), (259, 181), (259, 182), (259, 184), (260, 173), (260, 175), (260, 176), (260, 177), (260, 178), (260, 179), (260, 180), (260, 181), (260, 182), (260, 184), (261, 173), (261, 175), (261, 176), (261, 177), (261, 178), (261, 179), (261, 180), (261, 181), (261, 183), (262, 172), (262, 174), (262, 175), (262, 176), (262, 177), (262, 178), (262, 179), (262, 180), (262, 181), (262, 183), (263, 171), (263, 173), (263, 174), (263, 175), (263, 176), (263, 177), (263, 178), (263, 179), (263, 180), (263, 182), (264, 171), (264, 173), (264, 174), (264, 175), (264, 176), (264, 177), (264, 178), (264, 179), (264, 180), (264, 182), (265, 170), (265, 172), (265, 173), (265, 174), (265, 175), (265, 176), (265, 177), (265, 178), (265, 179), (265, 180), (265, 181), (266, 169), (266, 171), (266, 172), (266, 173), (266, 174), (266, 175), (266, 176), (266, 177), (266, 178), (266, 179), (266, 181), (267, 169), (267, 171), (267, 172), (267, 173), (267, 174), (267, 175), (267, 176), (267, 177), (267, 178), (267, 179), (267, 181), (268, 168), (268, 170), (268, 171), (268, 172), (268, 173), (268, 174), (268, 175), (268, 176), (268, 177), (268, 178), (268, 180), (269, 168), (269, 169), (269, 170), (269, 171), (269, 172), (269, 173), (269, 174), (269, 175), (269, 176), (269, 177), (269, 178), (269, 180), (270, 167), (270, 169), (270, 170), (270, 171), (270, 172), (270, 173), (270, 174), (270, 175), (270, 176), (270, 177), (270, 178), (270, 180), (271, 167), (271, 169), (271, 170), (271, 171), (271, 172), (271, 173), (271, 174), (271, 175), (271, 176), (271, 177), (271, 178), (271, 180), (272, 166), (272, 168), (272, 169), (272, 170), (272, 171), (272, 172), (272, 173), (272, 174), (272, 175), (272, 176), (272, 177), (272, 179), (273, 166), (273, 168), (273, 179), (274, 169), (274, 170), (274, 171), (274, 172), (274, 173), (274, 174), (274, 175), (274, 176), (274, 177), (274, 179))
coordinates_7_f0035 = ((186, 184), (186, 186), (186, 187), (186, 188), (186, 189), (186, 190), (186, 191), (186, 192), (186, 193), (186, 194), (186, 195), (187, 183), (187, 196), (187, 197), (187, 198), (187, 199), (187, 200), (187, 201), (187, 202), (187, 203), (187, 204), (187, 205), (187, 206), (187, 208), (188, 182), (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, 206), (188, 208), (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, 198), (189, 199), (189, 200), (189, 201), (189, 202), (189, 203), (189, 204), (189, 205), (189, 206), (189, 210), (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, 198), (190, 199), (190, 200), (190, 201), (190, 202), (190, 203), (190, 204), (190, 205), (190, 206), (190, 207), (190, 208), (190, 211), (190, 212), (191, 179), (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), (191, 200), (191, 201), (191, 202), (191, 203), (191, 204), (191, 205), (191, 206), (191, 207), (191, 208), (191, 209), (191, 210), (191, 213), (191, 214), (191, 215), (191, 216), (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, 197), (192, 198), (192, 199), (192, 200), (192, 201), (192, 202), (192, 203), (192, 204), (192, 205), (192, 206), (192, 207), (192, 208), (192, 209), (192, 210), (192, 211), (192, 212), (192, 217), (192, 218), (192, 219), (192, 220), (192, 221), (192, 223), (193, 178), (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, 197), (193, 198), (193, 199), (193, 200), (193, 201), (193, 202), (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, 222), (194, 177), (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, 197), (194, 198), (194, 199), (194, 200), (194, 201), (194, 202), (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, 222), (195, 177), (195, 182), (195, 183), (195, 184), (195, 185), (195, 186), (195, 187), (195, 188), (195, 189), (195, 190), (195, 222), (196, 180), (196, 181), (196, 191), (196, 192), (196, 193), (196, 194), (196, 195), (196, 196), (196, 197), (196, 198), (196, 199), (196, 200), (196, 201), (196, 202), (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, 221), (197, 182), (197, 184), (197, 185), (197, 186), (197, 187), (197, 188), (197, 189), (197, 190), (202, 182), (202, 184), (202, 185), (202, 186), (202, 187), (202, 188), (202, 189), (202, 190), (203, 180), (203, 191), (203, 192), (203, 193), (203, 194), (203, 195), (203, 196), (203, 197), (203, 198), (203, 199), (203, 200), (203, 201), (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, 221), (204, 177), (204, 182), (204, 183), (204, 184), (204, 185), (204, 186), (204, 187), (204, 188), (204, 189), (204, 190), (204, 222), (205, 177), (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, 197), (205, 198), (205, 199), (205, 200), (205, 201), (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, 222), (206, 178), (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, 197), (206, 198), (206, 199), (206, 200), (206, 201), (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, 222), (207, 179), (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, 197), (207, 198), (207, 199), (207, 200), (207, 201), (207, 202), (207, 203), (207, 204), (207, 205), (207, 206), (207, 207), (207, 208), (207, 209), (207, 210), (207, 211), (207, 212), (207, 216), (207, 217), (207, 218), (207, 219), (207, 220), (207, 221), (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, 197), (208, 198), (208, 199), (208, 200), (208, 201), (208, 202), (208, 203), (208, 204), (208, 205), (208, 206), (208, 207), (208, 208), (208, 209), (208, 210), (208, 213), (208, 214), (208, 215), (209, 181), (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, 197), (209, 198), (209, 199), (209, 200), (209, 201), (209, 202), (209, 203), (209, 204), (209, 205), (209, 206), (209, 207), (209, 208), (209, 211), (209, 212), (210, 182), (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, 197), (210, 198), (210, 199), (210, 200), (210, 201), (210, 202), (210, 203), (210, 204), (210, 210), (211, 182), (211, 184), (211, 185), (211, 186), (211, 187), (211, 188), (211, 189), (211, 190), (211, 191), (211, 192), (211, 193), (211, 194), (211, 205), (211, 206), (211, 208), (212, 183), (212, 195), (212, 196), (212, 197), (212, 198), (212, 199), (212, 200), (212, 201), (212, 202), (212, 203), (212, 204), (213, 184), (213, 186), (213, 187), (213, 188), (213, 189), (213, 190), (213, 191), (213, 192), (213, 193), (213, 194))
coordinates_ff00_eb = ((167, 192), (167, 194), (168, 192), (168, 196), (169, 192), (169, 194), (169, 198), (170, 191), (170, 192), (170, 193), (170, 194), (170, 195), (170, 196), (170, 200), (171, 191), (171, 193), (171, 194), (171, 195), (171, 196), (171, 197), (171, 198), (171, 202), (172, 191), (172, 193), (172, 194), (172, 195), (172, 196), (172, 197), (172, 198), (172, 199), (172, 200), (172, 204), (173, 191), (173, 193), (173, 194), (173, 195), (173, 196), (173, 197), (173, 198), (173, 199), (173, 200), (173, 201), (173, 202), (173, 206), (174, 191), (174, 193), (174, 194), (174, 195), (174, 196), (174, 197), (174, 198), (174, 199), (174, 200), (174, 201), (174, 202), (174, 203), (174, 204), (174, 208), (175, 191), (175, 193), (175, 194), (175, 195), (175, 196), (175, 197), (175, 198), (175, 199), (175, 200), (175, 201), (175, 202), (175, 203), (175, 204), (175, 205), (175, 206), (175, 209), (176, 191), (176, 194), (176, 195), (176, 196), (176, 197), (176, 198), (176, 199), (176, 200), (176, 201), (176, 202), (176, 203), (176, 204), (176, 205), (176, 206), (176, 207), (176, 208), (176, 211), (177, 191), (177, 196), (177, 197), (177, 198), (177, 199), (177, 200), (177, 201), (177, 202), (177, 203), (177, 204), (177, 205), (177, 206), (177, 207), (177, 208), (177, 209), (177, 213), (178, 194), (178, 195), (178, 198), (178, 199), (178, 200), (178, 201), (178, 202), (178, 203), (178, 204), (178, 205), (178, 206), (178, 207), (178, 208), (178, 209), (178, 210), (178, 211), (178, 214), (179, 196), (179, 197), (179, 201), (179, 202), (179, 203), (179, 204), (179, 205), (179, 206), (179, 207), (179, 208), (179, 209), (179, 210), (179, 211), (179, 212), (179, 213), (179, 216), (180, 199), (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, 217), (181, 201), (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, 218), (182, 203), (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, 220), (183, 205), (183, 208), (183, 209), (183, 210), (183, 211), (183, 212), (183, 213), (183, 214), (183, 215), (183, 216), (183, 217), (183, 218), (183, 221), (184, 206), (184, 210), (184, 211), (184, 212), (184, 213), (184, 214), (184, 215), (184, 216), (184, 217), (184, 218), (184, 219), (184, 220), (184, 222), (185, 208), (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, 223), (186, 212), (186, 213), (186, 214), (186, 215), (186, 216), (186, 217), (186, 218), (186, 219), (186, 220), (186, 221), (186, 223), (187, 210), (187, 214), (187, 215), (187, 216), (187, 217), (187, 218), (187, 219), (187, 220), (187, 221), (187, 223), (188, 211), (188, 213), (188, 218), (188, 219), (188, 220), (188, 221), (188, 223), (189, 214), (189, 216), (189, 217), (189, 223), (190, 218), (190, 219), (190, 220), (190, 221), (190, 223), (209, 218), (209, 219), (209, 220), (209, 221), (209, 223), (210, 214), (210, 215), (210, 216), (210, 217), (210, 223), (211, 211), (211, 213), (211, 217), (211, 218), (211, 219), (211, 220), (211, 221), (211, 223), (212, 210), (212, 214), (212, 215), (212, 216), (212, 217), (212, 218), (212, 219), (212, 220), (212, 221), (212, 223), (213, 211), (213, 212), (213, 213), (213, 214), (213, 215), (213, 216), (213, 217), (213, 218), (213, 219), (213, 220), (213, 221), (213, 223), (214, 208), (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, 223), (215, 206), (215, 209), (215, 210), (215, 211), (215, 212), (215, 213), (215, 214), (215, 215), (215, 216), (215, 217), (215, 218), (215, 219), (215, 222), (216, 205), (216, 208), (216, 209), (216, 210), (216, 211), (216, 212), (216, 213), (216, 214), (216, 215), (216, 216), (216, 217), (216, 218), (216, 221), (217, 203), (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, 220), (218, 201), (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, 218), (219, 198), (219, 199), (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, 217), (220, 196), (220, 197), (220, 200), (220, 201), (220, 202), (220, 203), (220, 204), (220, 205), (220, 206), (220, 207), (220, 208), (220, 209), (220, 210), (220, 211), (220, 212), (220, 216), (221, 194), (221, 195), (221, 198), (221, 199), (221, 200), (221, 201), (221, 202), (221, 203), (221, 204), (221, 205), (221, 206), (221, 207), (221, 208), (221, 209), (221, 210), (221, 211), (221, 214), (222, 191), (222, 196), (222, 197), (222, 198), (222, 199), (222, 200), (222, 201), (222, 202), (222, 203), (222, 204), (222, 205), (222, 206), (222, 207), (222, 208), (222, 209), (222, 212), (223, 191), (223, 193), (223, 194), (223, 195), (223, 196), (223, 197), (223, 198), (223, 199), (223, 200), (223, 201), (223, 202), (223, 203), (223, 204), (223, 205), (223, 206), (223, 207), (223, 208), (223, 211), (224, 191), (224, 193), (224, 194), (224, 195), (224, 196), (224, 197), (224, 198), (224, 199), (224, 200), (224, 201), (224, 202), (224, 203), (224, 204), (224, 205), (224, 206), (224, 209), (225, 191), (225, 193), (225, 194), (225, 195), (225, 196), (225, 197), (225, 198), (225, 199), (225, 200), (225, 201), (225, 202), (225, 203), (225, 204), (225, 207), (226, 191), (226, 193), (226, 194), (226, 195), (226, 196), (226, 197), (226, 198), (226, 199), (226, 200), (226, 201), (226, 202), (226, 206), (227, 191), (227, 193), (227, 194), (227, 195), (227, 196), (227, 197), (227, 198), (227, 199), (227, 200), (227, 204), (228, 191), (228, 193), (228, 194), (228, 195), (228, 196), (228, 197), (228, 198), (228, 202), (229, 192), (229, 194), (229, 195), (229, 196), (229, 200), (230, 192), (230, 194), (230, 198), (231, 192), (231, 196), (232, 192))
coordinates_007_f49 = ((98, 150), (98, 151), (98, 152), (98, 153), (98, 154), (98, 155), (98, 156), (98, 157), (98, 158), (98, 159), (98, 161), (99, 148), (99, 149), (99, 162), (99, 163), (100, 146), (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, 165), (101, 144), (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, 167), (102, 143), (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, 168), (103, 142), (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, 169), (104, 141), (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, 170), (105, 140), (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, 171), (106, 139), (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, 171), (107, 138), (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, 172), (108, 138), (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, 173), (109, 137), (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, 173), (110, 137), (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, 174), (111, 137), (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, 174), (112, 136), (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, 174), (113, 136), (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, 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, 175), (114, 136), (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, 153), (114, 154), (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, 175), (115, 136), (115, 143), (115, 144), (115, 145), (115, 146), (115, 147), (115, 148), (115, 149), (115, 151), (115, 155), (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, 175), (116, 136), (116, 138), (116, 139), (116, 140), (116, 141), (116, 142), (116, 151), (116, 157), (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, 176), (117, 143), (117, 144), (117, 145), (117, 146), (117, 147), (117, 148), (117, 149), (117, 151), (117, 158), (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, 176), (118, 159), (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, 176), (119, 160), (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, 176), (120, 161), (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, 176), (121, 162), (121, 165), (121, 166), (121, 167), (121, 168), (121, 169), (121, 170), (121, 171), (121, 172), (121, 173), (121, 174), (121, 176), (122, 163), (122, 175), (122, 177), (123, 164), (123, 166), (123, 167), (123, 168), (123, 169), (123, 170), (123, 171), (123, 172), (123, 173), (123, 174), (275, 165), (276, 164), (276, 166), (276, 167), (276, 168), (276, 169), (276, 170), (276, 171), (276, 172), (276, 173), (276, 174), (276, 175), (276, 177), (277, 163), (277, 177), (278, 162), (278, 164), (278, 165), (278, 166), (278, 167), (278, 168), (278, 169), (278, 170), (278, 171), (278, 172), (278, 173), (278, 174), (278, 176), (279, 161), (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, 176), (280, 160), (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, 176), (281, 159), (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, 176), (282, 142), (282, 143), (282, 144), (282, 145), (282, 146), (282, 147), (282, 148), (282, 149), (282, 151), (282, 158), (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, 176), (283, 136), (283, 138), (283, 139), (283, 140), (283, 141), (283, 151), (283, 157), (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, 176), (284, 136), (284, 142), (284, 143), (284, 144), (284, 145), (284, 146), (284, 147), (284, 148), (284, 149), (284, 150), (284, 151), (284, 155), (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, 175), (285, 136), (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, 153), (285, 154), (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, 175), (286, 136), (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, 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, 175), (287, 136), (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, 174), (288, 137), (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, 174), (289, 137), (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), (290, 137), (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, 173), (291, 138), (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, 172), (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, 172), (293, 139), (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, 171), (294, 140), (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), (295, 141), (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, 170), (296, 142), (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, 169), (297, 143), (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, 168), (298, 144), (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, 166), (299, 146), (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, 165), (300, 148), (300, 150), (300, 163), (301, 151), (301, 152), (301, 153), (301, 154), (301, 155), (301, 156), (301, 157), (301, 158), (301, 159), (301, 160), (301, 161))
coordinates_ff9_c00 = ((169, 143), (170, 140), (170, 143), (171, 139), (171, 144), (172, 137), (172, 140), (172, 141), (172, 142), (172, 144), (173, 137), (173, 139), (173, 140), (173, 141), (173, 142), (173, 143), (173, 145), (174, 136), (174, 138), (174, 139), (174, 140), (174, 141), (174, 142), (174, 143), (174, 145), (175, 136), (175, 138), (175, 139), (175, 140), (175, 141), (175, 142), (175, 143), (175, 144), (175, 146), (176, 135), (176, 137), (176, 138), (176, 139), (176, 140), (176, 141), (176, 142), (176, 143), (176, 144), (176, 146), (177, 135), (177, 137), (177, 138), (177, 139), (177, 140), (177, 141), (177, 142), (177, 143), (177, 144), (177, 145), (177, 147), (178, 135), (178, 137), (178, 138), (178, 139), (178, 140), (178, 141), (178, 142), (178, 143), (178, 144), (178, 145), (178, 147), (179, 135), (179, 137), (179, 138), (179, 139), (179, 140), (179, 141), (179, 142), (179, 143), (179, 144), (179, 145), (179, 147), (180, 135), (180, 137), (180, 138), (180, 139), (180, 140), (180, 141), (180, 142), (180, 143), (180, 144), (180, 145), (180, 147), (181, 136), (181, 141), (181, 142), (181, 143), (181, 144), (181, 145), (181, 147), (182, 137), (182, 139), (182, 140), (182, 145), (182, 147), (183, 141), (183, 142), (183, 143), (183, 144), (183, 147), (184, 145), (184, 147), (215, 145), (215, 147), (216, 141), (216, 142), (216, 143), (216, 144), (216, 147), (217, 137), (217, 139), (217, 140), (217, 145), (217, 147), (218, 136), (218, 141), (218, 142), (218, 143), (218, 144), (218, 145), (218, 147), (219, 135), (219, 137), (219, 138), (219, 139), (219, 140), (219, 141), (219, 142), (219, 143), (219, 144), (219, 145), (219, 147), (220, 135), (220, 137), (220, 138), (220, 139), (220, 140), (220, 141), (220, 142), (220, 143), (220, 144), (220, 145), (220, 147), (221, 135), (221, 137), (221, 138), (221, 139), (221, 140), (221, 141), (221, 142), (221, 143), (221, 144), (221, 145), (221, 147), (222, 135), (222, 137), (222, 138), (222, 139), (222, 140), (222, 141), (222, 142), (222, 143), (222, 144), (222, 145), (222, 147), (223, 135), (223, 137), (223, 138), (223, 139), (223, 140), (223, 141), (223, 142), (223, 143), (223, 144), (223, 146), (224, 136), (224, 138), (224, 139), (224, 140), (224, 141), (224, 142), (224, 143), (224, 144), (224, 146), (225, 136), (225, 138), (225, 139), (225, 140), (225, 141), (225, 142), (225, 143), (225, 145), (226, 137), (226, 139), (226, 140), (226, 141), (226, 142), (226, 143), (226, 145), (227, 140), (227, 141), (227, 142), (227, 144), (228, 139), (228, 144), (229, 140), (229, 143))
coordinates_00_ff4_e = ((168, 145), (168, 147), (168, 148), (168, 150), (169, 145), (169, 152), (170, 146), (170, 148), (170, 149), (170, 150), (170, 154), (171, 146), (171, 148), (171, 149), (171, 150), (171, 151), (171, 152), (171, 155), (172, 147), (172, 149), (172, 150), (172, 151), (172, 152), (172, 153), (172, 156), (173, 147), (173, 149), (173, 150), (173, 151), (173, 152), (173, 153), (173, 154), (173, 155), (173, 157), (174, 148), (174, 150), (174, 151), (174, 152), (174, 153), (174, 154), (174, 155), (174, 156), (174, 158), (175, 148), (175, 150), (175, 151), (175, 152), (175, 153), (175, 154), (175, 155), (175, 156), (175, 157), (175, 159), (176, 149), (176, 151), (176, 152), (176, 153), (176, 154), (176, 155), (176, 156), (176, 157), (176, 158), (176, 160), (177, 149), (177, 151), (177, 152), (177, 153), (177, 154), (177, 155), (177, 156), (177, 157), (177, 158), (177, 159), (177, 161), (178, 150), (178, 152), (178, 153), (178, 154), (178, 155), (178, 156), (178, 157), (178, 158), (178, 159), (178, 160), (178, 162), (179, 150), (179, 152), (179, 153), (179, 154), (179, 155), (179, 156), (179, 157), (179, 158), (179, 159), (179, 160), (179, 161), (180, 150), (180, 152), (180, 153), (180, 154), (180, 155), (180, 156), (180, 157), (180, 158), (180, 159), (180, 160), (180, 161), (180, 162), (180, 165), (180, 166), (180, 167), (180, 168), (180, 169), (180, 170), (180, 171), (180, 172), (180, 173), (181, 149), (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, 175), (182, 149), (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, 176), (183, 149), (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, 178), (184, 149), (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, 179), (185, 149), (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, 181), (185, 182), (186, 149), (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, 181), (187, 150), (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, 181), (188, 151), (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, 180), (189, 151), (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, 179), (190, 152), (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, 178), (191, 152), (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, 177), (192, 152), (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, 176), (193, 153), (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, 175), (194, 153), (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, 175), (195, 154), (195, 158), (195, 159), (195, 160), (195, 161), (195, 162), (195, 169), (195, 170), (195, 171), (195, 172), (195, 173), (196, 155), (196, 157), (196, 158), (196, 163), (196, 164), (196, 165), (196, 166), (196, 167), (196, 168), (197, 159), (197, 160), (197, 161), (197, 162), (202, 158), (202, 159), (202, 160), (202, 161), (202, 162), (202, 163), (203, 155), (203, 157), (203, 164), (203, 165), (203, 166), (203, 167), (203, 168), (204, 154), (204, 158), (204, 159), (204, 160), (204, 161), (204, 162), (204, 163), (204, 169), (204, 170), (204, 171), (204, 172), (204, 173), (204, 175), (205, 153), (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, 175), (206, 153), (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, 175), (207, 152), (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, 176), (208, 152), (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, 177), (209, 152), (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, 178), (210, 151), (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, 179), (211, 151), (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, 180), (212, 150), (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, 181), (213, 149), (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, 181), (214, 149), (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, 181), (214, 182), (215, 149), (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, 179), (216, 149), (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, 178), (217, 149), (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, 176), (218, 149), (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, 173), (218, 175), (219, 150), (219, 152), (219, 153), (219, 154), (219, 155), (219, 156), (219, 157), (219, 158), (219, 159), (219, 160), (219, 161), (219, 162), (219, 165), (219, 166), (219, 167), (219, 168), (219, 169), (219, 170), (219, 171), (219, 172), (220, 150), (220, 152), (220, 153), (220, 154), (220, 155), (220, 156), (220, 157), (220, 158), (220, 159), (220, 160), (220, 161), (220, 163), (221, 150), (221, 152), (221, 153), (221, 154), (221, 155), (221, 156), (221, 157), (221, 158), (221, 159), (221, 160), (221, 162), (222, 149), (222, 151), (222, 152), (222, 153), (222, 154), (222, 155), (222, 156), (222, 157), (222, 158), (222, 159), (222, 161), (223, 149), (223, 151), (223, 152), (223, 153), (223, 154), (223, 155), (223, 156), (223, 157), (223, 158), (223, 160), (224, 148), (224, 150), (224, 151), (224, 152), (224, 153), (224, 154), (224, 155), (224, 156), (224, 157), (224, 159), (225, 148), (225, 150), (225, 151), (225, 152), (225, 153), (225, 154), (225, 155), (225, 156), (225, 158), (226, 147), (226, 149), (226, 150), (226, 151), (226, 152), (226, 153), (226, 154), (226, 157), (227, 147), (227, 149), (227, 150), (227, 151), (227, 152), (227, 153), (227, 156), (228, 146), (228, 148), (228, 149), (228, 150), (228, 151), (228, 152), (228, 155), (229, 146), (229, 148), (229, 149), (229, 150), (229, 153), (230, 145), (230, 152), (231, 145), (231, 147), (231, 148), (231, 149), (231, 150))
coordinates_e1_ff00 = ((145, 116), (146, 116), (147, 116), (148, 115), (148, 116), (149, 114), (149, 116), (250, 115), (250, 116), (251, 115), (251, 116), (252, 116), (253, 116), (254, 116)) |
x = getattr(None, '') # 0 <mixed>
l = [] # 0 [<mixed>]
l.extend(x) # 0 [<mixed>] # e 0
# TODO: test converting to top
s = [ # 0 [(str, int)]
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
('', 1),
]
| x = getattr(None, '')
l = []
l.extend(x)
s = [('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1), ('', 1)] |
# Algorithm:
# This pattern is an observational one. For eg, if n = 3
# 3 3 3 3 3
# 3 2 2 2 3
# 3 2 1 2 3
# 3 2 2 2 3
# 3 3 3 3 3
# The no. of columns and rows are equal to (2 * n - 1).
# The first (n - 1) and last (n - 1) rows can easily be printed using nested for loops
# The middle row can be implemented using a single for loop
# Input
n = int(input())
# To print the first (n - 1) rows
for i in range(1 , n):
temp = n
for j in range(1 , n):
if(j <= i and j != 1):
temp -= 1
print(temp , end = " ")
print(temp , end = " ")
for j in range(1 , n):
if(j >= n - i + 1):
temp += 1
print(temp , end = " ")
print("")
# To print the first half of the middle row
temp = n
for i in range(1 , n):
print(temp , end = " ")
temp -= 1
# To print the middle element of the middle row
print("1" , end = " ")
# To print the last half of the middle row
for i in range(1 , n):
temp += 1
print(temp , end = " ")
print("")
# To print the last (n - 1) rows
m = 1
for i in range(n - 1 , 0 , -1):
temp = n
for j in range(1 , n):
if(j <= i and j != 1):
temp -= 1
print(temp , end = " ")
print(temp , end = " ")
for j in range(1 , n):
if(j >= m + 1):
temp += 1
print(temp , end = " ")
print("")
m += 1
| n = int(input())
for i in range(1, n):
temp = n
for j in range(1, n):
if j <= i and j != 1:
temp -= 1
print(temp, end=' ')
print(temp, end=' ')
for j in range(1, n):
if j >= n - i + 1:
temp += 1
print(temp, end=' ')
print('')
temp = n
for i in range(1, n):
print(temp, end=' ')
temp -= 1
print('1', end=' ')
for i in range(1, n):
temp += 1
print(temp, end=' ')
print('')
m = 1
for i in range(n - 1, 0, -1):
temp = n
for j in range(1, n):
if j <= i and j != 1:
temp -= 1
print(temp, end=' ')
print(temp, end=' ')
for j in range(1, n):
if j >= m + 1:
temp += 1
print(temp, end=' ')
print('')
m += 1 |
###############################
# Overview
#
# Without using built a math
# library, calculate the square root
# of a number.
#
# Assume number is not negative.
# Comlex numbers out of scope.
# square root 4 -> 2
###############################
# Using newton's method
# y ^ (1/2) = x =>
# y = x^2 =>
# 0 = x^2 - y Can now apply newtons method!
#
# f(x) = x^2 -y (where y is a constant given by user. Not y = f(x))
# f'(x) = 2x
def calc_squre_root(y):
x_t = y
tol = 1000000
while(tol > .000001):
fx = x_t**2 - y
fprime = 2*x_t
x_t_1 = x_t - fx/fprime # Newtom's method
# print(x_t_1)
tol = x_t_1 - x_t
if tol < 0 :
tol = -1 * tol
x_t = x_t_1
return(x_t_1)
# Test perfect squares
calc_squre_root(4)
calc_squre_root(9)
calc_squre_root(16)
calc_squre_root(25)
calc_squre_root(36)
calc_squre_root(49)
calc_squre_root(64)
calc_squre_root(81)
calc_squre_root(100)
# Test when number is it's own square root
calc_squre_root(1)
# Test numbers that are not perfect squares
calc_squre_root(2)
calc_squre_root(8)
| def calc_squre_root(y):
x_t = y
tol = 1000000
while tol > 1e-06:
fx = x_t ** 2 - y
fprime = 2 * x_t
x_t_1 = x_t - fx / fprime
tol = x_t_1 - x_t
if tol < 0:
tol = -1 * tol
x_t = x_t_1
return x_t_1
calc_squre_root(4)
calc_squre_root(9)
calc_squre_root(16)
calc_squre_root(25)
calc_squre_root(36)
calc_squre_root(49)
calc_squre_root(64)
calc_squre_root(81)
calc_squre_root(100)
calc_squre_root(1)
calc_squre_root(2)
calc_squre_root(8) |
class A:
pass
def foo():
pass
class B:
""""""
pass
def bar():
""""""
pass
class C:
@property
def x(self):
return 42
@x.setter
def x(self, value):
pass
@x.deleter
def x(self):
pass | class A:
pass
def foo():
pass
class B:
""""""
pass
def bar():
""""""
pass
class C:
@property
def x(self):
return 42
@x.setter
def x(self, value):
pass
@x.deleter
def x(self):
pass |
def make_url_part(name, value, value_type):
if value == None:
return ''
if type(value) != value_type:
raise ValueError('{}={} must be {}'.format(
name, value, value_type))
result = "&${}={}".format(name, value)
return result
| def make_url_part(name, value, value_type):
if value == None:
return ''
if type(value) != value_type:
raise value_error('{}={} must be {}'.format(name, value, value_type))
result = '&${}={}'.format(name, value)
return result |
# Copyright 2021 The Bazel 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.
"""
Definition of proto_common module.
"""
load(":common/proto/proto_semantics.bzl", "semantics")
load(":common/paths.bzl", "paths")
ProtoInfo = _builtins.toplevel.ProtoInfo
native_proto_common = _builtins.toplevel.proto_common
def _join(*path):
return "/".join([p for p in path if p != ""])
def _create_proto_info(ctx):
srcs = ctx.files.srcs
deps = [dep[ProtoInfo] for dep in ctx.attr.deps]
exports = [dep[ProtoInfo] for dep in ctx.attr.exports]
import_prefix = ctx.attr.import_prefix if hasattr(ctx.attr, "import_prefix") else ""
if not paths.is_normalized(import_prefix):
fail("should be normalized (without uplevel references or '.' path segments)", attr = "import_prefix")
strip_import_prefix = ctx.attr.strip_import_prefix
if not paths.is_normalized(strip_import_prefix):
fail("should be normalized (without uplevel references or '.' path segments)", attr = "strip_import_prefix")
if strip_import_prefix.startswith("/"):
strip_import_prefix = strip_import_prefix[1:]
elif strip_import_prefix != "DO_NOT_STRIP": # Relative to current package
strip_import_prefix = _join(ctx.label.package, strip_import_prefix)
else:
strip_import_prefix = ""
has_generated_sources = False
if ctx.fragments.proto.generated_protos_in_virtual_imports():
has_generated_sources = any([not src.is_source for src in srcs])
direct_sources = []
if import_prefix != "" or strip_import_prefix != "" or has_generated_sources:
# Use virtual source roots
if paths.is_absolute(import_prefix):
fail("should be a relative path", attr = "import_prefix")
virtual_imports = _join("_virtual_imports", ctx.label.name)
if ctx.label.workspace_name == "" or ctx.label.workspace_root.startswith(".."): # siblingRepositoryLayout
proto_path = _join(ctx.genfiles_dir.path, ctx.label.package, virtual_imports)
else:
proto_path = _join(ctx.genfiles_dir.path, ctx.label.workspace_root, ctx.label.package, virtual_imports)
for src in srcs:
if ctx.label.workspace_name == "":
repository_relative_path = src.short_path
else:
repository_relative_path = paths.relativize(src.short_path, "../" + ctx.label.workspace_name)
if not repository_relative_path.startswith(strip_import_prefix):
fail(".proto file '%s' is not under the specified strip prefix '%s'" %
(src.short_path, strip_import_prefix))
import_path = repository_relative_path[len(strip_import_prefix):]
virtual_src = ctx.actions.declare_file(_join(virtual_imports, import_prefix, import_path))
ctx.actions.symlink(
output = virtual_src,
target_file = src,
progress_message = "Symlinking virtual .proto sources for %{label}",
)
direct_sources.append(native_proto_common.ProtoSource(virtual_src, src, proto_path))
else:
# No virtual source roots
proto_path = "."
for src in srcs:
direct_sources.append(native_proto_common.ProtoSource(src, src, ctx.label.workspace_root + src.root.path))
# Construct ProtoInfo
transitive_proto_sources = depset(
direct = direct_sources,
transitive = [dep.transitive_proto_sources() for dep in deps],
order = "preorder",
)
transitive_sources = depset(
direct = [src.source_file() for src in direct_sources],
transitive = [dep.transitive_sources for dep in deps],
order = "preorder",
)
transitive_proto_path = depset(
direct = [proto_path],
transitive = [dep.transitive_proto_path for dep in deps],
)
if direct_sources:
check_deps_sources = depset(direct = [src.source_file() for src in direct_sources])
else:
check_deps_sources = depset(transitive = [dep.check_deps_sources for dep in deps])
direct_descriptor_set = ctx.actions.declare_file(ctx.label.name + "-descriptor-set.proto.bin")
transitive_descriptor_sets = depset(
direct = [direct_descriptor_set],
transitive = [dep.transitive_descriptor_sets for dep in deps],
)
# Layering checks.
if direct_sources:
exported_sources = depset(direct = direct_sources)
strict_importable_sources = depset(
direct = direct_sources,
transitive = [dep.exported_sources() for dep in deps],
)
else:
exported_sources = depset(transitive = [dep.exported_sources() for dep in deps])
strict_importable_sources = depset()
public_import_protos = depset(transitive = [export.exported_sources() for export in exports])
return native_proto_common.ProtoInfo(
direct_sources,
proto_path,
transitive_sources,
transitive_proto_sources,
transitive_proto_path,
check_deps_sources,
direct_descriptor_set,
transitive_descriptor_sets,
exported_sources,
strict_importable_sources,
public_import_protos,
)
def _write_descriptor_set(ctx, proto_info):
output = proto_info.direct_descriptor_set
proto_deps = [dep[ProtoInfo] for dep in ctx.attr.deps]
dependencies_descriptor_sets = depset(transitive = [dep.transitive_descriptor_sets for dep in proto_deps])
if proto_info.direct_sources == []:
ctx.actions.write(output, "")
return
args = ctx.actions.args()
args.use_param_file(param_file_arg = "@%s")
args.set_param_file_format("multiline")
args.add_all(proto_info.transitive_proto_path, map_each = _EXPAND_TRANSITIVE_PROTO_PATH_FLAGS)
args.add(output, format = "--descriptor_set_out=%s")
if ctx.fragments.proto.experimental_proto_descriptorsets_include_source_info():
args.add("--include_source_info")
args.add_all(ctx.fragments.proto.protoc_opts())
strict_deps_mode = ctx.fragments.proto.strict_proto_deps()
are_deps_strict = strict_deps_mode != "OFF" and strict_deps_mode != "DEFAULT"
# Include maps
# For each import, include both the import as well as the import relativized against its
# protoSourceRoot. This ensures that protos can reference either the full path or the short
# path when including other protos.
args.add_all(proto_info.transitive_proto_sources(), map_each = _ExpandImportArgsFn)
if are_deps_strict:
strict_importable_sources = proto_info.strict_importable_sources()
if strict_importable_sources:
args.add_joined("--direct_dependencies", strict_importable_sources, map_each = _EXPAND_TO_IMPORT_PATHS, join_with = ":")
else:
# The proto compiler requires an empty list to turn on strict deps checking
args.add("--direct_dependencies=")
args.add(ctx.label, format = semantics.STRICT_DEPS_FLAG_TEMPLATE)
# use exports
args.add_all(proto_info.direct_sources)
ctx.actions.run(
mnemonic = "GenProtoDescriptorSet",
progress_message = "Generating Descriptor Set proto_library %{label}",
executable = ctx.executable._proto_compiler,
arguments = [args],
inputs = depset(transitive = [dependencies_descriptor_sets, proto_info.transitive_sources]),
outputs = [output],
)
def _EXPAND_TRANSITIVE_PROTO_PATH_FLAGS(flag):
if flag == ".":
return None
return "--proto_path=" + flag
def _EXPAND_TO_IMPORT_PATHS(proto_source):
return proto_source.import_path()
def _ExpandImportArgsFn(proto_source):
return "-I%s=%s" % (proto_source.import_path(), proto_source.source_file().path)
proto_common = struct(
create_proto_info = _create_proto_info,
write_descriptor_set = _write_descriptor_set,
)
| """
Definition of proto_common module.
"""
load(':common/proto/proto_semantics.bzl', 'semantics')
load(':common/paths.bzl', 'paths')
proto_info = _builtins.toplevel.ProtoInfo
native_proto_common = _builtins.toplevel.proto_common
def _join(*path):
return '/'.join([p for p in path if p != ''])
def _create_proto_info(ctx):
srcs = ctx.files.srcs
deps = [dep[ProtoInfo] for dep in ctx.attr.deps]
exports = [dep[ProtoInfo] for dep in ctx.attr.exports]
import_prefix = ctx.attr.import_prefix if hasattr(ctx.attr, 'import_prefix') else ''
if not paths.is_normalized(import_prefix):
fail("should be normalized (without uplevel references or '.' path segments)", attr='import_prefix')
strip_import_prefix = ctx.attr.strip_import_prefix
if not paths.is_normalized(strip_import_prefix):
fail("should be normalized (without uplevel references or '.' path segments)", attr='strip_import_prefix')
if strip_import_prefix.startswith('/'):
strip_import_prefix = strip_import_prefix[1:]
elif strip_import_prefix != 'DO_NOT_STRIP':
strip_import_prefix = _join(ctx.label.package, strip_import_prefix)
else:
strip_import_prefix = ''
has_generated_sources = False
if ctx.fragments.proto.generated_protos_in_virtual_imports():
has_generated_sources = any([not src.is_source for src in srcs])
direct_sources = []
if import_prefix != '' or strip_import_prefix != '' or has_generated_sources:
if paths.is_absolute(import_prefix):
fail('should be a relative path', attr='import_prefix')
virtual_imports = _join('_virtual_imports', ctx.label.name)
if ctx.label.workspace_name == '' or ctx.label.workspace_root.startswith('..'):
proto_path = _join(ctx.genfiles_dir.path, ctx.label.package, virtual_imports)
else:
proto_path = _join(ctx.genfiles_dir.path, ctx.label.workspace_root, ctx.label.package, virtual_imports)
for src in srcs:
if ctx.label.workspace_name == '':
repository_relative_path = src.short_path
else:
repository_relative_path = paths.relativize(src.short_path, '../' + ctx.label.workspace_name)
if not repository_relative_path.startswith(strip_import_prefix):
fail(".proto file '%s' is not under the specified strip prefix '%s'" % (src.short_path, strip_import_prefix))
import_path = repository_relative_path[len(strip_import_prefix):]
virtual_src = ctx.actions.declare_file(_join(virtual_imports, import_prefix, import_path))
ctx.actions.symlink(output=virtual_src, target_file=src, progress_message='Symlinking virtual .proto sources for %{label}')
direct_sources.append(native_proto_common.ProtoSource(virtual_src, src, proto_path))
else:
proto_path = '.'
for src in srcs:
direct_sources.append(native_proto_common.ProtoSource(src, src, ctx.label.workspace_root + src.root.path))
transitive_proto_sources = depset(direct=direct_sources, transitive=[dep.transitive_proto_sources() for dep in deps], order='preorder')
transitive_sources = depset(direct=[src.source_file() for src in direct_sources], transitive=[dep.transitive_sources for dep in deps], order='preorder')
transitive_proto_path = depset(direct=[proto_path], transitive=[dep.transitive_proto_path for dep in deps])
if direct_sources:
check_deps_sources = depset(direct=[src.source_file() for src in direct_sources])
else:
check_deps_sources = depset(transitive=[dep.check_deps_sources for dep in deps])
direct_descriptor_set = ctx.actions.declare_file(ctx.label.name + '-descriptor-set.proto.bin')
transitive_descriptor_sets = depset(direct=[direct_descriptor_set], transitive=[dep.transitive_descriptor_sets for dep in deps])
if direct_sources:
exported_sources = depset(direct=direct_sources)
strict_importable_sources = depset(direct=direct_sources, transitive=[dep.exported_sources() for dep in deps])
else:
exported_sources = depset(transitive=[dep.exported_sources() for dep in deps])
strict_importable_sources = depset()
public_import_protos = depset(transitive=[export.exported_sources() for export in exports])
return native_proto_common.ProtoInfo(direct_sources, proto_path, transitive_sources, transitive_proto_sources, transitive_proto_path, check_deps_sources, direct_descriptor_set, transitive_descriptor_sets, exported_sources, strict_importable_sources, public_import_protos)
def _write_descriptor_set(ctx, proto_info):
output = proto_info.direct_descriptor_set
proto_deps = [dep[ProtoInfo] for dep in ctx.attr.deps]
dependencies_descriptor_sets = depset(transitive=[dep.transitive_descriptor_sets for dep in proto_deps])
if proto_info.direct_sources == []:
ctx.actions.write(output, '')
return
args = ctx.actions.args()
args.use_param_file(param_file_arg='@%s')
args.set_param_file_format('multiline')
args.add_all(proto_info.transitive_proto_path, map_each=_EXPAND_TRANSITIVE_PROTO_PATH_FLAGS)
args.add(output, format='--descriptor_set_out=%s')
if ctx.fragments.proto.experimental_proto_descriptorsets_include_source_info():
args.add('--include_source_info')
args.add_all(ctx.fragments.proto.protoc_opts())
strict_deps_mode = ctx.fragments.proto.strict_proto_deps()
are_deps_strict = strict_deps_mode != 'OFF' and strict_deps_mode != 'DEFAULT'
args.add_all(proto_info.transitive_proto_sources(), map_each=_ExpandImportArgsFn)
if are_deps_strict:
strict_importable_sources = proto_info.strict_importable_sources()
if strict_importable_sources:
args.add_joined('--direct_dependencies', strict_importable_sources, map_each=_EXPAND_TO_IMPORT_PATHS, join_with=':')
else:
args.add('--direct_dependencies=')
args.add(ctx.label, format=semantics.STRICT_DEPS_FLAG_TEMPLATE)
args.add_all(proto_info.direct_sources)
ctx.actions.run(mnemonic='GenProtoDescriptorSet', progress_message='Generating Descriptor Set proto_library %{label}', executable=ctx.executable._proto_compiler, arguments=[args], inputs=depset(transitive=[dependencies_descriptor_sets, proto_info.transitive_sources]), outputs=[output])
def _expand_transitive_proto_path_flags(flag):
if flag == '.':
return None
return '--proto_path=' + flag
def _expand_to_import_paths(proto_source):
return proto_source.import_path()
def __expand_import_args_fn(proto_source):
return '-I%s=%s' % (proto_source.import_path(), proto_source.source_file().path)
proto_common = struct(create_proto_info=_create_proto_info, write_descriptor_set=_write_descriptor_set) |
__version__ = "1.4.0"
__title__ = "ADLES"
__summary__ = "Automated Deployment of Lab Environments System (ADLES)"
__license__ = "Apache 2.0"
__author__ = "Christopher Goes"
__email__ = "goesc@acm.org"
__url__ = "https://github.com/GhostofGoes/ADLES"
__urls__ = {
'GitHub': __url__,
'Homepage': 'https://ghostofgoes.github.io/ADLES/',
'Documentation': 'https://adles.readthedocs.io',
'Publication': 'https://doi.org/10.1016/j.cose.2017.12.007',
'Discord server': 'https://discord.gg/python',
'Issue tracker': 'https://github.com/GhostofGoes/ADLES/issues'
}
| __version__ = '1.4.0'
__title__ = 'ADLES'
__summary__ = 'Automated Deployment of Lab Environments System (ADLES)'
__license__ = 'Apache 2.0'
__author__ = 'Christopher Goes'
__email__ = 'goesc@acm.org'
__url__ = 'https://github.com/GhostofGoes/ADLES'
__urls__ = {'GitHub': __url__, 'Homepage': 'https://ghostofgoes.github.io/ADLES/', 'Documentation': 'https://adles.readthedocs.io', 'Publication': 'https://doi.org/10.1016/j.cose.2017.12.007', 'Discord server': 'https://discord.gg/python', 'Issue tracker': 'https://github.com/GhostofGoes/ADLES/issues'} |
bin1=input("what kind of fruit do you want?")
if bin1=="apples":
print("apples in bin 1")
elif bin1=="orenges":
print("orenges in bin 2")
elif bin1=="bananas":
print("bananas in bin 3")
else:
print("Error! I dont recognize this fruit!")
| bin1 = input('what kind of fruit do you want?')
if bin1 == 'apples':
print('apples in bin 1')
elif bin1 == 'orenges':
print('orenges in bin 2')
elif bin1 == 'bananas':
print('bananas in bin 3')
else:
print('Error! I dont recognize this fruit!') |
#
# PySNMP MIB module HP-ICF-IPCONFIG (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-IPCONFIG
# Produced by pysmi-0.3.4 at Mon Apr 29 19:21:43 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint")
hpicfCommon, = mibBuilder.importSymbols("HP-ICF-OID", "hpicfCommon")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
InetAddressPrefixLength, InetPortNumber, InetAddress, InetAddressIPv4, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressPrefixLength", "InetPortNumber", "InetAddress", "InetAddressIPv4", "InetAddressType")
ipv6InterfaceEntry, IpAddressOriginTC, IpAddressStatusTC, ipNetToPhysicalEntry, ipv4InterfaceEntry = mibBuilder.importSymbols("IP-MIB", "ipv6InterfaceEntry", "IpAddressOriginTC", "IpAddressStatusTC", "ipNetToPhysicalEntry", "ipv4InterfaceEntry")
ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup")
Bits, Integer32, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, Gauge32, ModuleIdentity, Counter32, MibIdentifier, NotificationType, TimeTicks, IpAddress, ObjectIdentity, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Integer32", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "Gauge32", "ModuleIdentity", "Counter32", "MibIdentifier", "NotificationType", "TimeTicks", "IpAddress", "ObjectIdentity", "Counter64")
TruthValue, RowStatus, TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "RowStatus", "TextualConvention", "DisplayString")
tunnelInetConfigEntry, = mibBuilder.importSymbols("TUNNEL-MIB", "tunnelInetConfigEntry")
hpicfIpConfig = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10))
hpicfIpConfig.setRevisions(('2017-06-07 21:40', '2016-08-04 21:40', '2010-06-10 21:40', '2009-10-02 00:00', '2009-09-10 00:00', '2009-09-04 00:00', '2009-07-21 00:00', '2008-12-09 00:00', '2008-10-01 00:00', '2007-06-06 00:00', '2007-05-30 00:00', '2007-02-02 00:00', '2006-12-03 00:00', '2006-07-07 00:00', '2005-08-08 16:00',))
if mibBuilder.loadTexts: hpicfIpConfig.setLastUpdated('201706072140Z')
if mibBuilder.loadTexts: hpicfIpConfig.setOrganization('HP Networking')
hpicfIpConfigObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1))
hpicfIpAddressObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1))
hpicfIpv4InterfaceObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2))
hpicfIpClientTrackerObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3))
hpicfIpv6ConfigObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3))
hpicfIpv6GlobalConfigObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1))
hpicfIpv6NDObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 1))
hpicfIpv6IcmpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 2))
hpicfIpv6InterfaceObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2))
hpicfIpAddressTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1), )
if mibBuilder.loadTexts: hpicfIpAddressTable.setStatus('current')
hpicfIpAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HP-ICF-IPCONFIG", "hpicfIpAddressAddrType"), (0, "HP-ICF-IPCONFIG", "hpicfIpAddressAddr"))
if mibBuilder.loadTexts: hpicfIpAddressEntry.setStatus('current')
hpicfIpAddressAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 1), InetAddressType())
if mibBuilder.loadTexts: hpicfIpAddressAddrType.setStatus('current')
hpicfIpAddressAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 2), InetAddress())
if mibBuilder.loadTexts: hpicfIpAddressAddr.setStatus('current')
hpicfIpAddressPrefixLength = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 3), InetAddressPrefixLength()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfIpAddressPrefixLength.setStatus('current')
hpicfIpAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unicast", 1), ("anycast", 2))).clone('unicast')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfIpAddressType.setStatus('current')
hpicfIpAddressRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfIpAddressRowStatus.setStatus('current')
hpicfIpAddressExtendedType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("eui64", 1), ("linkLocal", 2))).clone('none')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfIpAddressExtendedType.setStatus('current')
hpicfSwitchIpAddressTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2), )
if mibBuilder.loadTexts: hpicfSwitchIpAddressTable.setStatus('current')
hpicfSwitchIpAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "HP-ICF-IPCONFIG", "hpicfSwitchIpAddressAddrType"), (0, "HP-ICF-IPCONFIG", "hpicfSwitchIpAddressAddr"))
if mibBuilder.loadTexts: hpicfSwitchIpAddressEntry.setStatus('current')
hpicfSwitchIpAddressAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 1), InetAddressType())
if mibBuilder.loadTexts: hpicfSwitchIpAddressAddrType.setStatus('current')
hpicfSwitchIpAddressAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 2), InetAddress())
if mibBuilder.loadTexts: hpicfSwitchIpAddressAddr.setStatus('current')
hpicfSwitchIpAddressPrefixLength = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 3), InetAddressPrefixLength()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressPrefixLength.setStatus('current')
hpicfSwitchIpAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unicast", 1), ("anycast", 2)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressType.setStatus('current')
hpicfSwitchIpAddressOrigin = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 5), IpAddressOriginTC()).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressOrigin.setStatus('current')
hpicfSwitchIpAddressStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 6), IpAddressStatusTC().clone('preferred')).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressStatus.setStatus('current')
hpicfSwitchIpAddressPreferredLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 7), Unsigned32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressPreferredLifetime.setStatus('current')
hpicfSwitchIpAddressValidLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 8), Unsigned32()).setUnits('seconds').setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressValidLifetime.setStatus('current')
hpicfSwitchIpAddressExtendedType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("eui64", 1), ("linkLocal", 2))).clone('none')).setMaxAccess("readonly")
if mibBuilder.loadTexts: hpicfSwitchIpAddressExtendedType.setStatus('current')
hpicfIpNetToPhysicalTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 3), )
if mibBuilder.loadTexts: hpicfIpNetToPhysicalTable.setStatus('current')
hpicfIpNetToPhysicalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 3, 1), )
ipNetToPhysicalEntry.registerAugmentions(("HP-ICF-IPCONFIG", "hpicfIpNetToPhysicalEntry"))
hpicfIpNetToPhysicalEntry.setIndexNames(*ipNetToPhysicalEntry.getIndexNames())
if mibBuilder.loadTexts: hpicfIpNetToPhysicalEntry.setStatus('current')
hpicfIpNetToPhysicalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 3, 1, 1), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfIpNetToPhysicalPort.setStatus('current')
hpicfIpNetToPhysicalTableClear = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("ipv4", 2), ("ipv6", 3)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpNetToPhysicalTableClear.setStatus('current')
hpicfIpv4InterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1), )
if mibBuilder.loadTexts: hpicfIpv4InterfaceTable.setStatus('current')
hpicfIpv4InterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1), )
ipv4InterfaceEntry.registerAugmentions(("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceEntry"))
hpicfIpv4InterfaceEntry.setIndexNames(*ipv4InterfaceEntry.getIndexNames())
if mibBuilder.loadTexts: hpicfIpv4InterfaceEntry.setStatus('current')
hpicfIpv4InterfaceDhcpEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("full", 1), ("off", 2), ("inform", 3))).clone('full')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv4InterfaceDhcpEnable.setStatus('current')
hpicfIpv4InterfaceForwarding = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv4InterfaceForwarding.setStatus('current')
hpicfIpv4InterfaceProxyArp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv4InterfaceProxyArp.setStatus('current')
hpicfIpv4InterfaceLocalProxyArp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv4InterfaceLocalProxyArp.setStatus('current')
hpicfIpv4InterfaceBootpGateway = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 5), InetAddressIPv4()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv4InterfaceBootpGateway.setStatus('current')
hpicfIpv4InterfaceDirectedBcastFwd = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("default", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv4InterfaceDirectedBcastFwd.setStatus('current')
hpicfIpClientTrackerEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3, 1), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpClientTrackerEnable.setStatus('current')
hpicfIpClientTrackerTrusted = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3, 2), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpClientTrackerTrusted.setStatus('current')
hpicfIpClientTrackerUntrusted = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3, 3), TruthValue().clone('false')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpClientTrackerUntrusted.setStatus('current')
hpicfIpv6NDDadAttempts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 1, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6NDDadAttempts.setStatus('current')
hpicfIpv6IcmpErrorInterval = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 2, 1), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6IcmpErrorInterval.setStatus('current')
hpicfIpv6IcmpBucketsize = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 2, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6IcmpBucketsize.setStatus('current')
hpicfIpv6InterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1), )
if mibBuilder.loadTexts: hpicfIpv6InterfaceTable.setStatus('current')
hpicfIpv6InterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1), )
ipv6InterfaceEntry.registerAugmentions(("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceEntry"))
hpicfIpv6InterfaceEntry.setIndexNames(*ipv6InterfaceEntry.getIndexNames())
if mibBuilder.loadTexts: hpicfIpv6InterfaceEntry.setStatus('current')
hpicfIpv6InterfaceDhcpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("dhcpFull", 1), ("dhcpInform", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceDhcpMode.setStatus('current')
hpicfIpv6InterfaceManual = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceManual.setStatus('current')
hpicfIpv6InterfaceAutoConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceAutoConfig.setStatus('current')
hpicfIpv6InterfaceDhcpRapidCommit = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceDhcpRapidCommit.setStatus('current')
hpicfIpv6InterfaceDhcpRelay = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceDhcpRelay.setStatus('current')
hpicfIpv6InterfaceCfgEnableStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceCfgEnableStatus.setStatus('current')
hpicfIpv6InterfaceDadAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 7), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceDadAttempts.setStatus('current')
hpicfIpv6InterfaceDadAttemptsMode = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("global", 1), ("perInterface", 2))).clone('global')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceDadAttemptsMode.setStatus('current')
hpicfIpv6InterfaceReachableTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 9), Unsigned32()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceReachableTime.setStatus('current')
hpicfIpv6InterfaceRetransmitTime = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 10), Unsigned32()).setUnits('milliseconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfIpv6InterfaceRetransmitTime.setStatus('current')
hpicfUdpTunnelTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3), )
if mibBuilder.loadTexts: hpicfUdpTunnelTable.setStatus('current')
hpicfUdpTunnelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1), )
tunnelInetConfigEntry.registerAugmentions(("HP-ICF-IPCONFIG", "hpicfUdpTunnelEntry"))
hpicfUdpTunnelEntry.setIndexNames(*tunnelInetConfigEntry.getIndexNames())
if mibBuilder.loadTexts: hpicfUdpTunnelEntry.setStatus('current')
hpicfUdpTunnelSrcPort = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1, 1), InetPortNumber()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfUdpTunnelSrcPort.setStatus('current')
hpicfUdpTunnelMirrorSessionID = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 512))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: hpicfUdpTunnelMirrorSessionID.setStatus('current')
hpicfUdpTunnelMirrorTruncate = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: hpicfUdpTunnelMirrorTruncate.setStatus('current')
hpicfIpConfigConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2))
hpicfIpConfigCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1))
hpicfIpConfigGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2))
hpicfIpConfigCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 1)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceTableGroup"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressTableGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance = hpicfIpConfigCompliance.setStatus('deprecated')
hpicfIpConfigCompliance2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 2)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceTableGroup"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfUdpTunnelTableGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance2 = hpicfIpConfigCompliance2.setStatus('current')
hpicfIpConfigCompliance4 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 4)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceTableGroup2"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceTableGroup"), ("HP-ICF-IPCONFIG", "hpicfUdpTunnelTableGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance4 = hpicfIpConfigCompliance4.setStatus('current')
hpicfIpConfigCompliance5 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 5)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv6DadAttemptsGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv6NDGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance5 = hpicfIpConfigCompliance5.setStatus('current')
hpicfIpConfigCompliance6 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 6)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv6IcmpGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance6 = hpicfIpConfigCompliance6.setStatus('current')
hpicfIpConfigCompliance7 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 7)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpNetToPhysicalTableGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance7 = hpicfIpConfigCompliance7.setStatus('current')
hpicfIpConfigCompliance8 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 8)).setObjects(("HP-ICF-IPCONFIG", "hpicfUdpTunnelMirrorGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance8 = hpicfIpConfigCompliance8.setStatus('current')
hpicfIpConfigCompliance9 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 9)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceTableGroup3"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressTableGroup"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceTableGroup"), ("HP-ICF-IPCONFIG", "hpicfUdpTunnelTableGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance9 = hpicfIpConfigCompliance9.setStatus('current')
hpicfIpConfigCompliance10 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 10)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpClientTrackerGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance10 = hpicfIpConfigCompliance10.setStatus('deprecated')
hpicfIpConfigCompliance11 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 11)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpClientTrackerGroup2"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpConfigCompliance11 = hpicfIpConfigCompliance11.setStatus('current')
hpicfIpAddressTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 1)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpAddressPrefixLength"), ("HP-ICF-IPCONFIG", "hpicfIpAddressType"), ("HP-ICF-IPCONFIG", "hpicfIpAddressRowStatus"), ("HP-ICF-IPCONFIG", "hpicfIpAddressExtendedType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpAddressTableGroup = hpicfIpAddressTableGroup.setStatus('current')
hpicfSwitchIpAddressTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 2)).setObjects(("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressPrefixLength"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressType"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressOrigin"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressStatus"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressPreferredLifetime"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressValidLifetime"), ("HP-ICF-IPCONFIG", "hpicfSwitchIpAddressExtendedType"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfSwitchIpAddressTableGroup = hpicfSwitchIpAddressTableGroup.setStatus('current')
hpicfIpv4InterfaceTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 3)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceDhcpEnable"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceForwarding"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceProxyArp"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv4InterfaceTableGroup = hpicfIpv4InterfaceTableGroup.setStatus('deprecated')
hpicfUdpTunnelTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 4)).setObjects(("HP-ICF-IPCONFIG", "hpicfUdpTunnelSrcPort"), ("HP-ICF-IPCONFIG", "hpicfUdpTunnelMirrorSessionID"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfUdpTunnelTableGroup = hpicfUdpTunnelTableGroup.setStatus('current')
hpicfIpv6InterfaceTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 5)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceDhcpMode"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceManual"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceAutoConfig"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceDhcpRapidCommit"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceDhcpRelay"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceCfgEnableStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv6InterfaceTableGroup = hpicfIpv6InterfaceTableGroup.setStatus('current')
hpicfIpv4InterfaceTableGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 6)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceDhcpEnable"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceForwarding"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceProxyArp"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceLocalProxyArp"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceBootpGateway"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv4InterfaceTableGroup2 = hpicfIpv4InterfaceTableGroup2.setStatus('current')
hpicfIpv6DadAttemptsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 7)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv6NDDadAttempts"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceDadAttempts"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceDadAttemptsMode"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv6DadAttemptsGroup = hpicfIpv6DadAttemptsGroup.setStatus('current')
hpicfIpv6IcmpGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 8)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv6IcmpErrorInterval"), ("HP-ICF-IPCONFIG", "hpicfIpv6IcmpBucketsize"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv6IcmpGroup = hpicfIpv6IcmpGroup.setStatus('current')
hpicfIpNetToPhysicalTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 9)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpNetToPhysicalPort"), ("HP-ICF-IPCONFIG", "hpicfIpNetToPhysicalTableClear"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpNetToPhysicalTableGroup = hpicfIpNetToPhysicalTableGroup.setStatus('current')
hpicfUdpTunnelMirrorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 10)).setObjects(("HP-ICF-IPCONFIG", "hpicfUdpTunnelMirrorTruncate"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfUdpTunnelMirrorGroup = hpicfUdpTunnelMirrorGroup.setStatus('current')
hpicfIpv6NDGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 11)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceReachableTime"), ("HP-ICF-IPCONFIG", "hpicfIpv6InterfaceRetransmitTime"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv6NDGroup = hpicfIpv6NDGroup.setStatus('current')
hpicfIpv4InterfaceTableGroup3 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 12)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceDhcpEnable"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceForwarding"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceProxyArp"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceLocalProxyArp"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceBootpGateway"), ("HP-ICF-IPCONFIG", "hpicfIpv4InterfaceDirectedBcastFwd"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpv4InterfaceTableGroup3 = hpicfIpv4InterfaceTableGroup3.setStatus('current')
hpicfIpClientTrackerGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 13)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpClientTrackerEnable"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpClientTrackerGroup = hpicfIpClientTrackerGroup.setStatus('deprecated')
hpicfIpClientTrackerGroup2 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 14)).setObjects(("HP-ICF-IPCONFIG", "hpicfIpClientTrackerEnable"), ("HP-ICF-IPCONFIG", "hpicfIpClientTrackerTrusted"), ("HP-ICF-IPCONFIG", "hpicfIpClientTrackerUntrusted"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicfIpClientTrackerGroup2 = hpicfIpClientTrackerGroup2.setStatus('current')
mibBuilder.exportSymbols("HP-ICF-IPCONFIG", hpicfIpv4InterfaceEntry=hpicfIpv4InterfaceEntry, hpicfSwitchIpAddressPrefixLength=hpicfSwitchIpAddressPrefixLength, hpicfIpConfigCompliance5=hpicfIpConfigCompliance5, hpicfIpConfigCompliance2=hpicfIpConfigCompliance2, hpicfIpAddressAddr=hpicfIpAddressAddr, hpicfSwitchIpAddressType=hpicfSwitchIpAddressType, hpicfIpv4InterfaceLocalProxyArp=hpicfIpv4InterfaceLocalProxyArp, hpicfIpAddressTable=hpicfIpAddressTable, hpicfIpv6InterfaceTable=hpicfIpv6InterfaceTable, hpicfIpClientTrackerTrusted=hpicfIpClientTrackerTrusted, hpicfIpConfigConformance=hpicfIpConfigConformance, hpicfIpConfigCompliance8=hpicfIpConfigCompliance8, hpicfIpv6InterfaceEntry=hpicfIpv6InterfaceEntry, hpicfSwitchIpAddressTable=hpicfSwitchIpAddressTable, hpicfIpConfigCompliances=hpicfIpConfigCompliances, hpicfIpv6InterfaceRetransmitTime=hpicfIpv6InterfaceRetransmitTime, hpicfIpAddressObjects=hpicfIpAddressObjects, hpicfUdpTunnelSrcPort=hpicfUdpTunnelSrcPort, hpicfIpConfig=hpicfIpConfig, hpicfIpv6NDObjects=hpicfIpv6NDObjects, hpicfIpv4InterfaceTableGroup=hpicfIpv4InterfaceTableGroup, hpicfIpConfigCompliance10=hpicfIpConfigCompliance10, hpicfSwitchIpAddressValidLifetime=hpicfSwitchIpAddressValidLifetime, hpicfIpv4InterfaceTableGroup2=hpicfIpv4InterfaceTableGroup2, hpicfUdpTunnelMirrorGroup=hpicfUdpTunnelMirrorGroup, hpicfIpAddressType=hpicfIpAddressType, hpicfIpNetToPhysicalTable=hpicfIpNetToPhysicalTable, hpicfIpConfigCompliance11=hpicfIpConfigCompliance11, hpicfIpAddressExtendedType=hpicfIpAddressExtendedType, hpicfIpv6IcmpErrorInterval=hpicfIpv6IcmpErrorInterval, hpicfIpv6IcmpGroup=hpicfIpv6IcmpGroup, hpicfIpv4InterfaceBootpGateway=hpicfIpv4InterfaceBootpGateway, hpicfIpv6ConfigObjects=hpicfIpv6ConfigObjects, hpicfUdpTunnelTable=hpicfUdpTunnelTable, hpicfIpv4InterfaceProxyArp=hpicfIpv4InterfaceProxyArp, hpicfIpClientTrackerGroup2=hpicfIpClientTrackerGroup2, hpicfIpv6IcmpObjects=hpicfIpv6IcmpObjects, hpicfIpv6InterfaceTableGroup=hpicfIpv6InterfaceTableGroup, hpicfIpNetToPhysicalTableGroup=hpicfIpNetToPhysicalTableGroup, hpicfIpv4InterfaceObjects=hpicfIpv4InterfaceObjects, hpicfIpClientTrackerObjects=hpicfIpClientTrackerObjects, hpicfIpConfigCompliance7=hpicfIpConfigCompliance7, hpicfSwitchIpAddressPreferredLifetime=hpicfSwitchIpAddressPreferredLifetime, hpicfIpConfigCompliance=hpicfIpConfigCompliance, hpicfIpv6InterfaceDadAttemptsMode=hpicfIpv6InterfaceDadAttemptsMode, hpicfIpv6InterfaceReachableTime=hpicfIpv6InterfaceReachableTime, hpicfIpConfigGroups=hpicfIpConfigGroups, hpicfIpNetToPhysicalPort=hpicfIpNetToPhysicalPort, hpicfIpAddressTableGroup=hpicfIpAddressTableGroup, hpicfIpAddressRowStatus=hpicfIpAddressRowStatus, hpicfIpv6NDGroup=hpicfIpv6NDGroup, hpicfIpNetToPhysicalTableClear=hpicfIpNetToPhysicalTableClear, hpicfSwitchIpAddressEntry=hpicfSwitchIpAddressEntry, hpicfSwitchIpAddressExtendedType=hpicfSwitchIpAddressExtendedType, hpicfIpConfigCompliance9=hpicfIpConfigCompliance9, hpicfIpConfigCompliance6=hpicfIpConfigCompliance6, hpicfIpv6InterfaceManual=hpicfIpv6InterfaceManual, hpicfIpv6GlobalConfigObjects=hpicfIpv6GlobalConfigObjects, hpicfSwitchIpAddressOrigin=hpicfSwitchIpAddressOrigin, hpicfIpClientTrackerEnable=hpicfIpClientTrackerEnable, hpicfIpv6InterfaceDhcpRapidCommit=hpicfIpv6InterfaceDhcpRapidCommit, hpicfIpv4InterfaceForwarding=hpicfIpv4InterfaceForwarding, PYSNMP_MODULE_ID=hpicfIpConfig, hpicfIpConfigObjects=hpicfIpConfigObjects, hpicfIpv6InterfaceDhcpRelay=hpicfIpv6InterfaceDhcpRelay, hpicfIpv6DadAttemptsGroup=hpicfIpv6DadAttemptsGroup, hpicfIpNetToPhysicalEntry=hpicfIpNetToPhysicalEntry, hpicfUdpTunnelEntry=hpicfUdpTunnelEntry, hpicfUdpTunnelMirrorSessionID=hpicfUdpTunnelMirrorSessionID, hpicfIpv6IcmpBucketsize=hpicfIpv6IcmpBucketsize, hpicfIpv4InterfaceTableGroup3=hpicfIpv4InterfaceTableGroup3, hpicfIpv4InterfaceTable=hpicfIpv4InterfaceTable, hpicfIpClientTrackerGroup=hpicfIpClientTrackerGroup, hpicfIpAddressEntry=hpicfIpAddressEntry, hpicfIpv6InterfaceDadAttempts=hpicfIpv6InterfaceDadAttempts, hpicfUdpTunnelTableGroup=hpicfUdpTunnelTableGroup, hpicfIpv6InterfaceCfgEnableStatus=hpicfIpv6InterfaceCfgEnableStatus, hpicfSwitchIpAddressStatus=hpicfSwitchIpAddressStatus, hpicfIpv6InterfaceAutoConfig=hpicfIpv6InterfaceAutoConfig, hpicfIpAddressPrefixLength=hpicfIpAddressPrefixLength, hpicfIpv6InterfaceDhcpMode=hpicfIpv6InterfaceDhcpMode, hpicfSwitchIpAddressTableGroup=hpicfSwitchIpAddressTableGroup, hpicfIpAddressAddrType=hpicfIpAddressAddrType, hpicfIpv6InterfaceObjects=hpicfIpv6InterfaceObjects, hpicfIpv4InterfaceDhcpEnable=hpicfIpv4InterfaceDhcpEnable, hpicfIpClientTrackerUntrusted=hpicfIpClientTrackerUntrusted, hpicfIpv4InterfaceDirectedBcastFwd=hpicfIpv4InterfaceDirectedBcastFwd, hpicfUdpTunnelMirrorTruncate=hpicfUdpTunnelMirrorTruncate, hpicfIpConfigCompliance4=hpicfIpConfigCompliance4, hpicfSwitchIpAddressAddr=hpicfSwitchIpAddressAddr, hpicfIpv6NDDadAttempts=hpicfIpv6NDDadAttempts, hpicfSwitchIpAddressAddrType=hpicfSwitchIpAddressAddrType)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_union, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint')
(hpicf_common,) = mibBuilder.importSymbols('HP-ICF-OID', 'hpicfCommon')
(if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex')
(inet_address_prefix_length, inet_port_number, inet_address, inet_address_i_pv4, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressPrefixLength', 'InetPortNumber', 'InetAddress', 'InetAddressIPv4', 'InetAddressType')
(ipv6_interface_entry, ip_address_origin_tc, ip_address_status_tc, ip_net_to_physical_entry, ipv4_interface_entry) = mibBuilder.importSymbols('IP-MIB', 'ipv6InterfaceEntry', 'IpAddressOriginTC', 'IpAddressStatusTC', 'ipNetToPhysicalEntry', 'ipv4InterfaceEntry')
(object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup')
(bits, integer32, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, gauge32, module_identity, counter32, mib_identifier, notification_type, time_ticks, ip_address, object_identity, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'Integer32', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'Gauge32', 'ModuleIdentity', 'Counter32', 'MibIdentifier', 'NotificationType', 'TimeTicks', 'IpAddress', 'ObjectIdentity', 'Counter64')
(truth_value, row_status, textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'RowStatus', 'TextualConvention', 'DisplayString')
(tunnel_inet_config_entry,) = mibBuilder.importSymbols('TUNNEL-MIB', 'tunnelInetConfigEntry')
hpicf_ip_config = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10))
hpicfIpConfig.setRevisions(('2017-06-07 21:40', '2016-08-04 21:40', '2010-06-10 21:40', '2009-10-02 00:00', '2009-09-10 00:00', '2009-09-04 00:00', '2009-07-21 00:00', '2008-12-09 00:00', '2008-10-01 00:00', '2007-06-06 00:00', '2007-05-30 00:00', '2007-02-02 00:00', '2006-12-03 00:00', '2006-07-07 00:00', '2005-08-08 16:00'))
if mibBuilder.loadTexts:
hpicfIpConfig.setLastUpdated('201706072140Z')
if mibBuilder.loadTexts:
hpicfIpConfig.setOrganization('HP Networking')
hpicf_ip_config_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1))
hpicf_ip_address_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1))
hpicf_ipv4_interface_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2))
hpicf_ip_client_tracker_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3))
hpicf_ipv6_config_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3))
hpicf_ipv6_global_config_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1))
hpicf_ipv6_nd_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 1))
hpicf_ipv6_icmp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 2))
hpicf_ipv6_interface_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2))
hpicf_ip_address_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1))
if mibBuilder.loadTexts:
hpicfIpAddressTable.setStatus('current')
hpicf_ip_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'HP-ICF-IPCONFIG', 'hpicfIpAddressAddrType'), (0, 'HP-ICF-IPCONFIG', 'hpicfIpAddressAddr'))
if mibBuilder.loadTexts:
hpicfIpAddressEntry.setStatus('current')
hpicf_ip_address_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 1), inet_address_type())
if mibBuilder.loadTexts:
hpicfIpAddressAddrType.setStatus('current')
hpicf_ip_address_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 2), inet_address())
if mibBuilder.loadTexts:
hpicfIpAddressAddr.setStatus('current')
hpicf_ip_address_prefix_length = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 3), inet_address_prefix_length()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfIpAddressPrefixLength.setStatus('current')
hpicf_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unicast', 1), ('anycast', 2))).clone('unicast')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfIpAddressType.setStatus('current')
hpicf_ip_address_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfIpAddressRowStatus.setStatus('current')
hpicf_ip_address_extended_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('eui64', 1), ('linkLocal', 2))).clone('none')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfIpAddressExtendedType.setStatus('current')
hpicf_switch_ip_address_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2))
if mibBuilder.loadTexts:
hpicfSwitchIpAddressTable.setStatus('current')
hpicf_switch_ip_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressAddrType'), (0, 'HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressAddr'))
if mibBuilder.loadTexts:
hpicfSwitchIpAddressEntry.setStatus('current')
hpicf_switch_ip_address_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 1), inet_address_type())
if mibBuilder.loadTexts:
hpicfSwitchIpAddressAddrType.setStatus('current')
hpicf_switch_ip_address_addr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 2), inet_address())
if mibBuilder.loadTexts:
hpicfSwitchIpAddressAddr.setStatus('current')
hpicf_switch_ip_address_prefix_length = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 3), inet_address_prefix_length()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressPrefixLength.setStatus('current')
hpicf_switch_ip_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unicast', 1), ('anycast', 2)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressType.setStatus('current')
hpicf_switch_ip_address_origin = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 5), ip_address_origin_tc()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressOrigin.setStatus('current')
hpicf_switch_ip_address_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 6), ip_address_status_tc().clone('preferred')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressStatus.setStatus('current')
hpicf_switch_ip_address_preferred_lifetime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 7), unsigned32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressPreferredLifetime.setStatus('current')
hpicf_switch_ip_address_valid_lifetime = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 8), unsigned32()).setUnits('seconds').setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressValidLifetime.setStatus('current')
hpicf_switch_ip_address_extended_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('eui64', 1), ('linkLocal', 2))).clone('none')).setMaxAccess('readonly')
if mibBuilder.loadTexts:
hpicfSwitchIpAddressExtendedType.setStatus('current')
hpicf_ip_net_to_physical_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 3))
if mibBuilder.loadTexts:
hpicfIpNetToPhysicalTable.setStatus('current')
hpicf_ip_net_to_physical_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 3, 1))
ipNetToPhysicalEntry.registerAugmentions(('HP-ICF-IPCONFIG', 'hpicfIpNetToPhysicalEntry'))
hpicfIpNetToPhysicalEntry.setIndexNames(*ipNetToPhysicalEntry.getIndexNames())
if mibBuilder.loadTexts:
hpicfIpNetToPhysicalEntry.setStatus('current')
hpicf_ip_net_to_physical_port = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 3, 1, 1), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfIpNetToPhysicalPort.setStatus('current')
hpicf_ip_net_to_physical_table_clear = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('ipv4', 2), ('ipv6', 3)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpNetToPhysicalTableClear.setStatus('current')
hpicf_ipv4_interface_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1))
if mibBuilder.loadTexts:
hpicfIpv4InterfaceTable.setStatus('current')
hpicf_ipv4_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1))
ipv4InterfaceEntry.registerAugmentions(('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceEntry'))
hpicfIpv4InterfaceEntry.setIndexNames(*ipv4InterfaceEntry.getIndexNames())
if mibBuilder.loadTexts:
hpicfIpv4InterfaceEntry.setStatus('current')
hpicf_ipv4_interface_dhcp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('full', 1), ('off', 2), ('inform', 3))).clone('full')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv4InterfaceDhcpEnable.setStatus('current')
hpicf_ipv4_interface_forwarding = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv4InterfaceForwarding.setStatus('current')
hpicf_ipv4_interface_proxy_arp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv4InterfaceProxyArp.setStatus('current')
hpicf_ipv4_interface_local_proxy_arp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv4InterfaceLocalProxyArp.setStatus('current')
hpicf_ipv4_interface_bootp_gateway = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 5), inet_address_i_pv4()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv4InterfaceBootpGateway.setStatus('current')
hpicf_ipv4_interface_directed_bcast_fwd = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('default', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv4InterfaceDirectedBcastFwd.setStatus('current')
hpicf_ip_client_tracker_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3, 1), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpClientTrackerEnable.setStatus('current')
hpicf_ip_client_tracker_trusted = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3, 2), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpClientTrackerTrusted.setStatus('current')
hpicf_ip_client_tracker_untrusted = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 3, 3), truth_value().clone('false')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpClientTrackerUntrusted.setStatus('current')
hpicf_ipv6_nd_dad_attempts = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 1, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6NDDadAttempts.setStatus('current')
hpicf_ipv6_icmp_error_interval = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 2, 1), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6IcmpErrorInterval.setStatus('current')
hpicf_ipv6_icmp_bucketsize = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 1, 2, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6IcmpBucketsize.setStatus('current')
hpicf_ipv6_interface_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1))
if mibBuilder.loadTexts:
hpicfIpv6InterfaceTable.setStatus('current')
hpicf_ipv6_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1))
ipv6InterfaceEntry.registerAugmentions(('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceEntry'))
hpicfIpv6InterfaceEntry.setIndexNames(*ipv6InterfaceEntry.getIndexNames())
if mibBuilder.loadTexts:
hpicfIpv6InterfaceEntry.setStatus('current')
hpicf_ipv6_interface_dhcp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('dhcpFull', 1), ('dhcpInform', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceDhcpMode.setStatus('current')
hpicf_ipv6_interface_manual = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceManual.setStatus('current')
hpicf_ipv6_interface_auto_config = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceAutoConfig.setStatus('current')
hpicf_ipv6_interface_dhcp_rapid_commit = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceDhcpRapidCommit.setStatus('current')
hpicf_ipv6_interface_dhcp_relay = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceDhcpRelay.setStatus('current')
hpicf_ipv6_interface_cfg_enable_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceCfgEnableStatus.setStatus('current')
hpicf_ipv6_interface_dad_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 7), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceDadAttempts.setStatus('current')
hpicf_ipv6_interface_dad_attempts_mode = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('global', 1), ('perInterface', 2))).clone('global')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceDadAttemptsMode.setStatus('current')
hpicf_ipv6_interface_reachable_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 9), unsigned32()).setUnits('milliseconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceReachableTime.setStatus('current')
hpicf_ipv6_interface_retransmit_time = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 3, 2, 1, 1, 10), unsigned32()).setUnits('milliseconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfIpv6InterfaceRetransmitTime.setStatus('current')
hpicf_udp_tunnel_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3))
if mibBuilder.loadTexts:
hpicfUdpTunnelTable.setStatus('current')
hpicf_udp_tunnel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1))
tunnelInetConfigEntry.registerAugmentions(('HP-ICF-IPCONFIG', 'hpicfUdpTunnelEntry'))
hpicfUdpTunnelEntry.setIndexNames(*tunnelInetConfigEntry.getIndexNames())
if mibBuilder.loadTexts:
hpicfUdpTunnelEntry.setStatus('current')
hpicf_udp_tunnel_src_port = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1, 1), inet_port_number()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfUdpTunnelSrcPort.setStatus('current')
hpicf_udp_tunnel_mirror_session_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 512))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
hpicfUdpTunnelMirrorSessionID.setStatus('current')
hpicf_udp_tunnel_mirror_truncate = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 1, 2, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
hpicfUdpTunnelMirrorTruncate.setStatus('current')
hpicf_ip_config_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2))
hpicf_ip_config_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1))
hpicf_ip_config_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2))
hpicf_ip_config_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 1)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressTableGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance = hpicfIpConfigCompliance.setStatus('deprecated')
hpicf_ip_config_compliance2 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 2)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfUdpTunnelTableGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance2 = hpicfIpConfigCompliance2.setStatus('current')
hpicf_ip_config_compliance4 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 4)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceTableGroup2'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfUdpTunnelTableGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance4 = hpicfIpConfigCompliance4.setStatus('current')
hpicf_ip_config_compliance5 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 5)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv6DadAttemptsGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv6NDGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance5 = hpicfIpConfigCompliance5.setStatus('current')
hpicf_ip_config_compliance6 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 6)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv6IcmpGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance6 = hpicfIpConfigCompliance6.setStatus('current')
hpicf_ip_config_compliance7 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 7)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpNetToPhysicalTableGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance7 = hpicfIpConfigCompliance7.setStatus('current')
hpicf_ip_config_compliance8 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 8)).setObjects(('HP-ICF-IPCONFIG', 'hpicfUdpTunnelMirrorGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance8 = hpicfIpConfigCompliance8.setStatus('current')
hpicf_ip_config_compliance9 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 9)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceTableGroup3'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceTableGroup'), ('HP-ICF-IPCONFIG', 'hpicfUdpTunnelTableGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance9 = hpicfIpConfigCompliance9.setStatus('current')
hpicf_ip_config_compliance10 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 10)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpClientTrackerGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance10 = hpicfIpConfigCompliance10.setStatus('deprecated')
hpicf_ip_config_compliance11 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 1, 11)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpClientTrackerGroup2'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_config_compliance11 = hpicfIpConfigCompliance11.setStatus('current')
hpicf_ip_address_table_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 1)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpAddressPrefixLength'), ('HP-ICF-IPCONFIG', 'hpicfIpAddressType'), ('HP-ICF-IPCONFIG', 'hpicfIpAddressRowStatus'), ('HP-ICF-IPCONFIG', 'hpicfIpAddressExtendedType'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_address_table_group = hpicfIpAddressTableGroup.setStatus('current')
hpicf_switch_ip_address_table_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 2)).setObjects(('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressPrefixLength'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressType'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressOrigin'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressStatus'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressPreferredLifetime'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressValidLifetime'), ('HP-ICF-IPCONFIG', 'hpicfSwitchIpAddressExtendedType'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_switch_ip_address_table_group = hpicfSwitchIpAddressTableGroup.setStatus('current')
hpicf_ipv4_interface_table_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 3)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceDhcpEnable'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceForwarding'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceProxyArp'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv4_interface_table_group = hpicfIpv4InterfaceTableGroup.setStatus('deprecated')
hpicf_udp_tunnel_table_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 4)).setObjects(('HP-ICF-IPCONFIG', 'hpicfUdpTunnelSrcPort'), ('HP-ICF-IPCONFIG', 'hpicfUdpTunnelMirrorSessionID'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_udp_tunnel_table_group = hpicfUdpTunnelTableGroup.setStatus('current')
hpicf_ipv6_interface_table_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 5)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceDhcpMode'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceManual'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceAutoConfig'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceDhcpRapidCommit'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceDhcpRelay'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceCfgEnableStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv6_interface_table_group = hpicfIpv6InterfaceTableGroup.setStatus('current')
hpicf_ipv4_interface_table_group2 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 6)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceDhcpEnable'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceForwarding'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceProxyArp'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceLocalProxyArp'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceBootpGateway'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv4_interface_table_group2 = hpicfIpv4InterfaceTableGroup2.setStatus('current')
hpicf_ipv6_dad_attempts_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 7)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv6NDDadAttempts'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceDadAttempts'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceDadAttemptsMode'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv6_dad_attempts_group = hpicfIpv6DadAttemptsGroup.setStatus('current')
hpicf_ipv6_icmp_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 8)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv6IcmpErrorInterval'), ('HP-ICF-IPCONFIG', 'hpicfIpv6IcmpBucketsize'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv6_icmp_group = hpicfIpv6IcmpGroup.setStatus('current')
hpicf_ip_net_to_physical_table_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 9)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpNetToPhysicalPort'), ('HP-ICF-IPCONFIG', 'hpicfIpNetToPhysicalTableClear'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_net_to_physical_table_group = hpicfIpNetToPhysicalTableGroup.setStatus('current')
hpicf_udp_tunnel_mirror_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 10)).setObjects(('HP-ICF-IPCONFIG', 'hpicfUdpTunnelMirrorTruncate'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_udp_tunnel_mirror_group = hpicfUdpTunnelMirrorGroup.setStatus('current')
hpicf_ipv6_nd_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 11)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceReachableTime'), ('HP-ICF-IPCONFIG', 'hpicfIpv6InterfaceRetransmitTime'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv6_nd_group = hpicfIpv6NDGroup.setStatus('current')
hpicf_ipv4_interface_table_group3 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 12)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceDhcpEnable'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceForwarding'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceProxyArp'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceLocalProxyArp'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceBootpGateway'), ('HP-ICF-IPCONFIG', 'hpicfIpv4InterfaceDirectedBcastFwd'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ipv4_interface_table_group3 = hpicfIpv4InterfaceTableGroup3.setStatus('current')
hpicf_ip_client_tracker_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 13)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpClientTrackerEnable'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_client_tracker_group = hpicfIpClientTrackerGroup.setStatus('deprecated')
hpicf_ip_client_tracker_group2 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 10, 2, 2, 14)).setObjects(('HP-ICF-IPCONFIG', 'hpicfIpClientTrackerEnable'), ('HP-ICF-IPCONFIG', 'hpicfIpClientTrackerTrusted'), ('HP-ICF-IPCONFIG', 'hpicfIpClientTrackerUntrusted'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
hpicf_ip_client_tracker_group2 = hpicfIpClientTrackerGroup2.setStatus('current')
mibBuilder.exportSymbols('HP-ICF-IPCONFIG', hpicfIpv4InterfaceEntry=hpicfIpv4InterfaceEntry, hpicfSwitchIpAddressPrefixLength=hpicfSwitchIpAddressPrefixLength, hpicfIpConfigCompliance5=hpicfIpConfigCompliance5, hpicfIpConfigCompliance2=hpicfIpConfigCompliance2, hpicfIpAddressAddr=hpicfIpAddressAddr, hpicfSwitchIpAddressType=hpicfSwitchIpAddressType, hpicfIpv4InterfaceLocalProxyArp=hpicfIpv4InterfaceLocalProxyArp, hpicfIpAddressTable=hpicfIpAddressTable, hpicfIpv6InterfaceTable=hpicfIpv6InterfaceTable, hpicfIpClientTrackerTrusted=hpicfIpClientTrackerTrusted, hpicfIpConfigConformance=hpicfIpConfigConformance, hpicfIpConfigCompliance8=hpicfIpConfigCompliance8, hpicfIpv6InterfaceEntry=hpicfIpv6InterfaceEntry, hpicfSwitchIpAddressTable=hpicfSwitchIpAddressTable, hpicfIpConfigCompliances=hpicfIpConfigCompliances, hpicfIpv6InterfaceRetransmitTime=hpicfIpv6InterfaceRetransmitTime, hpicfIpAddressObjects=hpicfIpAddressObjects, hpicfUdpTunnelSrcPort=hpicfUdpTunnelSrcPort, hpicfIpConfig=hpicfIpConfig, hpicfIpv6NDObjects=hpicfIpv6NDObjects, hpicfIpv4InterfaceTableGroup=hpicfIpv4InterfaceTableGroup, hpicfIpConfigCompliance10=hpicfIpConfigCompliance10, hpicfSwitchIpAddressValidLifetime=hpicfSwitchIpAddressValidLifetime, hpicfIpv4InterfaceTableGroup2=hpicfIpv4InterfaceTableGroup2, hpicfUdpTunnelMirrorGroup=hpicfUdpTunnelMirrorGroup, hpicfIpAddressType=hpicfIpAddressType, hpicfIpNetToPhysicalTable=hpicfIpNetToPhysicalTable, hpicfIpConfigCompliance11=hpicfIpConfigCompliance11, hpicfIpAddressExtendedType=hpicfIpAddressExtendedType, hpicfIpv6IcmpErrorInterval=hpicfIpv6IcmpErrorInterval, hpicfIpv6IcmpGroup=hpicfIpv6IcmpGroup, hpicfIpv4InterfaceBootpGateway=hpicfIpv4InterfaceBootpGateway, hpicfIpv6ConfigObjects=hpicfIpv6ConfigObjects, hpicfUdpTunnelTable=hpicfUdpTunnelTable, hpicfIpv4InterfaceProxyArp=hpicfIpv4InterfaceProxyArp, hpicfIpClientTrackerGroup2=hpicfIpClientTrackerGroup2, hpicfIpv6IcmpObjects=hpicfIpv6IcmpObjects, hpicfIpv6InterfaceTableGroup=hpicfIpv6InterfaceTableGroup, hpicfIpNetToPhysicalTableGroup=hpicfIpNetToPhysicalTableGroup, hpicfIpv4InterfaceObjects=hpicfIpv4InterfaceObjects, hpicfIpClientTrackerObjects=hpicfIpClientTrackerObjects, hpicfIpConfigCompliance7=hpicfIpConfigCompliance7, hpicfSwitchIpAddressPreferredLifetime=hpicfSwitchIpAddressPreferredLifetime, hpicfIpConfigCompliance=hpicfIpConfigCompliance, hpicfIpv6InterfaceDadAttemptsMode=hpicfIpv6InterfaceDadAttemptsMode, hpicfIpv6InterfaceReachableTime=hpicfIpv6InterfaceReachableTime, hpicfIpConfigGroups=hpicfIpConfigGroups, hpicfIpNetToPhysicalPort=hpicfIpNetToPhysicalPort, hpicfIpAddressTableGroup=hpicfIpAddressTableGroup, hpicfIpAddressRowStatus=hpicfIpAddressRowStatus, hpicfIpv6NDGroup=hpicfIpv6NDGroup, hpicfIpNetToPhysicalTableClear=hpicfIpNetToPhysicalTableClear, hpicfSwitchIpAddressEntry=hpicfSwitchIpAddressEntry, hpicfSwitchIpAddressExtendedType=hpicfSwitchIpAddressExtendedType, hpicfIpConfigCompliance9=hpicfIpConfigCompliance9, hpicfIpConfigCompliance6=hpicfIpConfigCompliance6, hpicfIpv6InterfaceManual=hpicfIpv6InterfaceManual, hpicfIpv6GlobalConfigObjects=hpicfIpv6GlobalConfigObjects, hpicfSwitchIpAddressOrigin=hpicfSwitchIpAddressOrigin, hpicfIpClientTrackerEnable=hpicfIpClientTrackerEnable, hpicfIpv6InterfaceDhcpRapidCommit=hpicfIpv6InterfaceDhcpRapidCommit, hpicfIpv4InterfaceForwarding=hpicfIpv4InterfaceForwarding, PYSNMP_MODULE_ID=hpicfIpConfig, hpicfIpConfigObjects=hpicfIpConfigObjects, hpicfIpv6InterfaceDhcpRelay=hpicfIpv6InterfaceDhcpRelay, hpicfIpv6DadAttemptsGroup=hpicfIpv6DadAttemptsGroup, hpicfIpNetToPhysicalEntry=hpicfIpNetToPhysicalEntry, hpicfUdpTunnelEntry=hpicfUdpTunnelEntry, hpicfUdpTunnelMirrorSessionID=hpicfUdpTunnelMirrorSessionID, hpicfIpv6IcmpBucketsize=hpicfIpv6IcmpBucketsize, hpicfIpv4InterfaceTableGroup3=hpicfIpv4InterfaceTableGroup3, hpicfIpv4InterfaceTable=hpicfIpv4InterfaceTable, hpicfIpClientTrackerGroup=hpicfIpClientTrackerGroup, hpicfIpAddressEntry=hpicfIpAddressEntry, hpicfIpv6InterfaceDadAttempts=hpicfIpv6InterfaceDadAttempts, hpicfUdpTunnelTableGroup=hpicfUdpTunnelTableGroup, hpicfIpv6InterfaceCfgEnableStatus=hpicfIpv6InterfaceCfgEnableStatus, hpicfSwitchIpAddressStatus=hpicfSwitchIpAddressStatus, hpicfIpv6InterfaceAutoConfig=hpicfIpv6InterfaceAutoConfig, hpicfIpAddressPrefixLength=hpicfIpAddressPrefixLength, hpicfIpv6InterfaceDhcpMode=hpicfIpv6InterfaceDhcpMode, hpicfSwitchIpAddressTableGroup=hpicfSwitchIpAddressTableGroup, hpicfIpAddressAddrType=hpicfIpAddressAddrType, hpicfIpv6InterfaceObjects=hpicfIpv6InterfaceObjects, hpicfIpv4InterfaceDhcpEnable=hpicfIpv4InterfaceDhcpEnable, hpicfIpClientTrackerUntrusted=hpicfIpClientTrackerUntrusted, hpicfIpv4InterfaceDirectedBcastFwd=hpicfIpv4InterfaceDirectedBcastFwd, hpicfUdpTunnelMirrorTruncate=hpicfUdpTunnelMirrorTruncate, hpicfIpConfigCompliance4=hpicfIpConfigCompliance4, hpicfSwitchIpAddressAddr=hpicfSwitchIpAddressAddr, hpicfIpv6NDDadAttempts=hpicfIpv6NDDadAttempts, hpicfSwitchIpAddressAddrType=hpicfSwitchIpAddressAddrType) |
# coding: utf8
'''This file contains all the DAta archetype structures needed for the portal '''
class UnitView():
'''represent an article object in the main content part
<div class="unitview">
<div class="unitview-header">
<h1 class="unitview-title">Sample Post 1</h1>
<div class=class="unitview-counter">38</div>
</header>
<p>content text here</p>
<footer>
<em>Created by:</em> <strong>Author Name</strong>
<span class="unitview-tags"><em>Tags:</em> <a class=tags href=#>cool</a><a class=tags href=#>modern</a></span>
</footer>
</div>
'''
def __init__(self,
title = '',
counts = '',
content = '',
author = '',
tags = '',
button = '',
footer = '',
watermark = False,
script = '',
_class = '',
_id = '', ):
try:
self.title = title.xml()
except AttributeError:
self.title = title
try:
self.counts = counts.xml()
except AttributeError:
self.counts = str(counts)
try:
self.content = content.xml()
except AttributeError:
self.content = content
try:
self.author = author.xml()
except AttributeError:
self.author = author
try:
self.footer = footer.xml()
except AttributeError:
self.footer = footer
try:
self.tags = tags.xml()
except AttributeError:
if isinstance(tags, list): #sting list of tags
self.tags =''
for tag in tags:
self.tags+= '''<a class="unitview-tag" href=%s>%s</a> '''%(URL(c= 'news', f='tags', args= tag), tag)
else:
self.tags = tags
try:
self.button = button.xml()
except AttributeError:
self.button = button #example: <a class=button href=#>Continue Reading</a>
self.script = SCRIPT(script).xml() #an empty script must be initialized to make livequery work
self.watermark = watermark
self._id = _id
self._class = _class
def xml(self):
if self.author or self.tags or self.button or self.footer:
author_line = tags_line = ''
if self.author:
author_line = '''<em>Created by:</em> <strong>%s</strong> '''%self.author
if self.tags:
tags_line = '''<span class="unitview-tags"><em>Tags:</em> %s </span> '''%self.tags
footerdiv=''' <div class="unitview-footer">
%s
%s
%s
%s
</div>''' %(author_line,tags_line,self.button, self.footer)
else:
footerdiv='<div class="unitview-footer"></div>'
if self.watermark:
watermark='''<div class="unitview-watermark" style="margin-top:-50px;float:right; z-index:-10; opacity:0.3;"><img src="%s" alt="primm" style="height: 50px;"/></div>'''%URL(r=request, c='static', f='logo_primm.png')
else:
watermark=''
fullxml = ''' <div id="%s" class="unitview row %s" data-spy="scroll" data-target=".sidenav">
<div class="unitview-header" onclick = "void(0)">
<h2 class="unitview-title">%s</h2>
<div class="unitview-counter">%s</div>
</div>
<div class="unitview-content">%s</div>
%s
%s
</div> %s ''' %(self._id, self._class, self.title, self.counts, self.content,footerdiv,watermark, self.script)
return fullxml
def toxml(self):#compatibility
return self.xml()
| """This file contains all the DAta archetype structures needed for the portal """
class Unitview:
"""represent an article object in the main content part
<div class="unitview">
<div class="unitview-header">
<h1 class="unitview-title">Sample Post 1</h1>
<div class=class="unitview-counter">38</div>
</header>
<p>content text here</p>
<footer>
<em>Created by:</em> <strong>Author Name</strong>
<span class="unitview-tags"><em>Tags:</em> <a class=tags href=#>cool</a><a class=tags href=#>modern</a></span>
</footer>
</div>
"""
def __init__(self, title='', counts='', content='', author='', tags='', button='', footer='', watermark=False, script='', _class='', _id=''):
try:
self.title = title.xml()
except AttributeError:
self.title = title
try:
self.counts = counts.xml()
except AttributeError:
self.counts = str(counts)
try:
self.content = content.xml()
except AttributeError:
self.content = content
try:
self.author = author.xml()
except AttributeError:
self.author = author
try:
self.footer = footer.xml()
except AttributeError:
self.footer = footer
try:
self.tags = tags.xml()
except AttributeError:
if isinstance(tags, list):
self.tags = ''
for tag in tags:
self.tags += '<a class="unitview-tag" href=%s>%s</a> ' % (url(c='news', f='tags', args=tag), tag)
else:
self.tags = tags
try:
self.button = button.xml()
except AttributeError:
self.button = button
self.script = script(script).xml()
self.watermark = watermark
self._id = _id
self._class = _class
def xml(self):
if self.author or self.tags or self.button or self.footer:
author_line = tags_line = ''
if self.author:
author_line = '<em>Created by:</em> <strong>%s</strong> ' % self.author
if self.tags:
tags_line = '<span class="unitview-tags"><em>Tags:</em> %s </span> ' % self.tags
footerdiv = ' <div class="unitview-footer"> \n %s\n %s \n %s\n %s\n </div>' % (author_line, tags_line, self.button, self.footer)
else:
footerdiv = '<div class="unitview-footer"></div>'
if self.watermark:
watermark = '<div class="unitview-watermark" style="margin-top:-50px;float:right; z-index:-10; opacity:0.3;"><img src="%s" alt="primm" style="height: 50px;"/></div>' % url(r=request, c='static', f='logo_primm.png')
else:
watermark = ''
fullxml = ' <div id="%s" class="unitview row %s" data-spy="scroll" data-target=".sidenav">\n <div class="unitview-header" onclick = "void(0)"> \n <h2 class="unitview-title">%s</h2>\n <div class="unitview-counter">%s</div> \n </div> \n <div class="unitview-content">%s</div> \n %s\n %s\n </div> %s ' % (self._id, self._class, self.title, self.counts, self.content, footerdiv, watermark, self.script)
return fullxml
def toxml(self):
return self.xml() |
message = "This is a test at replacing text"
print(message)
message = "Change of text"
print(message) | message = 'This is a test at replacing text'
print(message)
message = 'Change of text'
print(message) |
class Node:
def __init__(self, key=None, parent=None):
self.key = key
self.parent = parent
self.left = None
self.right = None
class BinarySearchTree:
def __init__(self, key=None):
self.root = None
if key is not None:
self.root = Node(key)
def preorder(self, pointer):
if pointer is None:
return
print(pointer.key, end=' ')
self.preorder(pointer.left)
self.preorder(pointer.right)
def insert(self, value):
"""insert a value into the bst"""
if self.root is None:
self.root = self.createNode(key=value)
return
p = self.root
q = None
while p is not None:
q = p
if value > p.key:
p = p.right
else:
p = p.left
if value > q.key:
q.right = self.createNode(key=value, parent=q)
else:
q.left = self.createNode(key=value, parent=q)
def search(self, value):
x = self.root
while x is not None and x.key is not value:
if value > x.key:
x = x.right
else:
x = x.left
if x is not None and x.key is value:
return True
else:
return False
def minimum(self, pointer):
x = pointer
while x.left is not None:
x = x.left
return x.key, x
def maximum(self, pointer):
x = pointer
while x.right is not None:
x = x.right
return x.key, x
def createNode(self, key=None, parent=None):
return Node(key=key, parent=parent)
def predecessor(self, pointer):
if pointer.left is not None:
key, keypointer = self.maximum(pointer.left)
return key, keypointer
def successor(self, pointer):
if pointer.right is not None:
key, keypointer = self.minimum(pointer.right)
return key, keypointer
def delete(self, pointer):
parent = pointer.parent
# here no child case
if pointer.right is None and pointer.left is None:
if pointer.key > parent.key:
parent.right = None
else:
parent.left = None
return
# here one child case
if pointer.right is None and pointer.left is not None:
parent = pointer.parent
if pointer.key > parent.key:
parent.right = pointer.left
pointer.left.parent = parent
else:
parent.left = pointer.left
pointer.left.parent = parent
return
elif pointer.left is None and pointer.right is not None:
parent = pointer.parent
if pointer.key > parent.key:
parent.right = pointer.right
pointer.right.parent = parent
else:
parent.left = pointer.right
pointer.right.parent = parent
return
# here is the case with two children, we can use predecessor or successor, here predecessor is used
else:
predV, predP = self.predecessor(pointer)
pointer.key, predP.key = predP.key, pointer.key
self.delete(predP)
def main():
B = BinarySearchTree()
B.insert(10)
B.insert(2)
B.insert(17)
B.insert(1)
B.insert(8)
B.insert(12)
B.insert(20)
B.insert(11)
B.insert(15)
B.insert(18)
B.insert(19)
B.insert(22)
B.insert(14)
B.preorder(B.root)
print("\nInserting done")
B.delete(B.root.right)
B.preorder(B.root)
if __name__ == '__main__':
main()
| class Node:
def __init__(self, key=None, parent=None):
self.key = key
self.parent = parent
self.left = None
self.right = None
class Binarysearchtree:
def __init__(self, key=None):
self.root = None
if key is not None:
self.root = node(key)
def preorder(self, pointer):
if pointer is None:
return
print(pointer.key, end=' ')
self.preorder(pointer.left)
self.preorder(pointer.right)
def insert(self, value):
"""insert a value into the bst"""
if self.root is None:
self.root = self.createNode(key=value)
return
p = self.root
q = None
while p is not None:
q = p
if value > p.key:
p = p.right
else:
p = p.left
if value > q.key:
q.right = self.createNode(key=value, parent=q)
else:
q.left = self.createNode(key=value, parent=q)
def search(self, value):
x = self.root
while x is not None and x.key is not value:
if value > x.key:
x = x.right
else:
x = x.left
if x is not None and x.key is value:
return True
else:
return False
def minimum(self, pointer):
x = pointer
while x.left is not None:
x = x.left
return (x.key, x)
def maximum(self, pointer):
x = pointer
while x.right is not None:
x = x.right
return (x.key, x)
def create_node(self, key=None, parent=None):
return node(key=key, parent=parent)
def predecessor(self, pointer):
if pointer.left is not None:
(key, keypointer) = self.maximum(pointer.left)
return (key, keypointer)
def successor(self, pointer):
if pointer.right is not None:
(key, keypointer) = self.minimum(pointer.right)
return (key, keypointer)
def delete(self, pointer):
parent = pointer.parent
if pointer.right is None and pointer.left is None:
if pointer.key > parent.key:
parent.right = None
else:
parent.left = None
return
if pointer.right is None and pointer.left is not None:
parent = pointer.parent
if pointer.key > parent.key:
parent.right = pointer.left
pointer.left.parent = parent
else:
parent.left = pointer.left
pointer.left.parent = parent
return
elif pointer.left is None and pointer.right is not None:
parent = pointer.parent
if pointer.key > parent.key:
parent.right = pointer.right
pointer.right.parent = parent
else:
parent.left = pointer.right
pointer.right.parent = parent
return
else:
(pred_v, pred_p) = self.predecessor(pointer)
(pointer.key, predP.key) = (predP.key, pointer.key)
self.delete(predP)
def main():
b = binary_search_tree()
B.insert(10)
B.insert(2)
B.insert(17)
B.insert(1)
B.insert(8)
B.insert(12)
B.insert(20)
B.insert(11)
B.insert(15)
B.insert(18)
B.insert(19)
B.insert(22)
B.insert(14)
B.preorder(B.root)
print('\nInserting done')
B.delete(B.root.right)
B.preorder(B.root)
if __name__ == '__main__':
main() |
if __name__ == '__main__':
the_list = list()
for _ in range(int(input())):
command, *args = input().split()
try:
getattr(the_list, command)(*(int(arg) for arg in args))
except AttributeError:
print(the_list)
| if __name__ == '__main__':
the_list = list()
for _ in range(int(input())):
(command, *args) = input().split()
try:
getattr(the_list, command)(*(int(arg) for arg in args))
except AttributeError:
print(the_list) |
class TreeNode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution:
def invertTree(self, root: TreeNode) -> TreeNode:
if not root: return
root.right, root.left = root.left, root.right
self.invertTree(root.right)
self.invertTree(root.left)
# root.right, root.left = self.invertTree(root.left), self.invertTree(root.right)
return root
if __name__ == '__main__':
root = TreeNode(1)
root.left = TreeNode(2)
root.right = TreeNode(3)
root.left.left = TreeNode(4)
root.left.right = TreeNode(5)
root.right.left = TreeNode(6)
root.right.right = TreeNode(7)
Solution().invertTree(root)
print(root.val)
print(root.left.val)
print(root.right.val)
print(root.left.left.val)
print(root.left.right.val)
print(root.right.left.val)
print(root.right.right.val) | class Treenode:
def __init__(self, val=0, left=None, right=None):
self.val = val
self.left = left
self.right = right
class Solution:
def invert_tree(self, root: TreeNode) -> TreeNode:
if not root:
return
(root.right, root.left) = (root.left, root.right)
self.invertTree(root.right)
self.invertTree(root.left)
return root
if __name__ == '__main__':
root = tree_node(1)
root.left = tree_node(2)
root.right = tree_node(3)
root.left.left = tree_node(4)
root.left.right = tree_node(5)
root.right.left = tree_node(6)
root.right.right = tree_node(7)
solution().invertTree(root)
print(root.val)
print(root.left.val)
print(root.right.val)
print(root.left.left.val)
print(root.left.right.val)
print(root.right.left.val)
print(root.right.right.val) |
def config_list_to_dict(l):
d = {}
for kv in l:
if kv.count("=") != 1:
raise ValueError(f"invalid 'key=value' pair: {kv}")
k, v = kv.split("=")
if len(v) == 0:
raise ValueError(f"invalid 'key=value' pair: {kv}")
_dot_to_dict(d, k, v)
return d
def _dot_to_dict(d, k, v):
if k.startswith(".") or k.endswith("."):
raise ValueError(f"invalid path: {k}")
if "." in k:
path = k.split(".")
current_k = path[0]
remaining_path = ".".join(path[1:])
d.setdefault(current_k, {})
_dot_to_dict(d[current_k], remaining_path, v)
else:
d[k] = v
| def config_list_to_dict(l):
d = {}
for kv in l:
if kv.count('=') != 1:
raise value_error(f"invalid 'key=value' pair: {kv}")
(k, v) = kv.split('=')
if len(v) == 0:
raise value_error(f"invalid 'key=value' pair: {kv}")
_dot_to_dict(d, k, v)
return d
def _dot_to_dict(d, k, v):
if k.startswith('.') or k.endswith('.'):
raise value_error(f'invalid path: {k}')
if '.' in k:
path = k.split('.')
current_k = path[0]
remaining_path = '.'.join(path[1:])
d.setdefault(current_k, {})
_dot_to_dict(d[current_k], remaining_path, v)
else:
d[k] = v |
# Return the root of the modified BST after deleting the node with value X
def inorderSuccessor(root,ans,key,parent,node):
if root is None:
return False
currParent=parent[0]
parent[0]=root
if root.data == key :
node[0]=root
if root.right:
curr=root.right
while curr.left:
parent[0]=curr
curr=curr.left
ans[0]=curr.data
return True
lst=inorderSuccessor(root.left,ans,key,parent,node)
if lst is True:
if ans[0] is None:
parent[0]=currParent
ans[0]=root.data
return True
else:
parent[0]=root
return inorderSuccessor(root.right,ans,key,parent,node)
def deleteNode(root,key):
if root.data==key and root.right is None and root.left is None:
return None
ans=[None]
node=[None]
parent=[None]
inorderSuccessor(root,ans,key,parent,node)
if node[0] is not None:
node[0].data=ans[0]
if parent[0].left and parent[0].left.data==ans:
parent[0].left=None
else:
parent[0].right=None
return root | def inorder_successor(root, ans, key, parent, node):
if root is None:
return False
curr_parent = parent[0]
parent[0] = root
if root.data == key:
node[0] = root
if root.right:
curr = root.right
while curr.left:
parent[0] = curr
curr = curr.left
ans[0] = curr.data
return True
lst = inorder_successor(root.left, ans, key, parent, node)
if lst is True:
if ans[0] is None:
parent[0] = currParent
ans[0] = root.data
return True
else:
parent[0] = root
return inorder_successor(root.right, ans, key, parent, node)
def delete_node(root, key):
if root.data == key and root.right is None and (root.left is None):
return None
ans = [None]
node = [None]
parent = [None]
inorder_successor(root, ans, key, parent, node)
if node[0] is not None:
node[0].data = ans[0]
if parent[0].left and parent[0].left.data == ans:
parent[0].left = None
else:
parent[0].right = None
return root |
# 1021
valor = float(input())
notas = [100, 50, 20, 10, 5, 2]
moedas = [1, 0.50, 0.25, 0.10, 0.05, 0.01]
print("NOTAS:")
for nota in notas:
quantidade_nota = int(valor / nota)
print("{} notas(s) de R$ {:.2f}".format(quantidade_nota, nota))
valor -= quantidade_nota * nota
print("MOEDAS:")
for moeda in moedas:
quantidade_moeda = int(round(valor,2) / moeda)
print("{} moeda(s) de R$ {:.2f}".format(quantidade_moeda, moeda))
valor -= quantidade_moeda * moeda
| valor = float(input())
notas = [100, 50, 20, 10, 5, 2]
moedas = [1, 0.5, 0.25, 0.1, 0.05, 0.01]
print('NOTAS:')
for nota in notas:
quantidade_nota = int(valor / nota)
print('{} notas(s) de R$ {:.2f}'.format(quantidade_nota, nota))
valor -= quantidade_nota * nota
print('MOEDAS:')
for moeda in moedas:
quantidade_moeda = int(round(valor, 2) / moeda)
print('{} moeda(s) de R$ {:.2f}'.format(quantidade_moeda, moeda))
valor -= quantidade_moeda * moeda |
TIMER_READ = 1; # ms
SILAB_IMAGE_SIZE = 16384
SILAB_IMAGE_TOTAL_SUBPART = 144 # size/114+1
SILAB_BOOTLOADER_SIZE = 9216
SILAB_BOOTLOADER_TOTAL_SUBPART = 81 # size/114+1
BT_IMAGE_SIZE = 124928
BT_IMAGE_TOTAL_SUBPART = 1952 # size/64
BT_BOOTLOADER_SIZE = 4096
BT_BOOTLOADER_TOTAL_SUBPART = 64 # size/64
RFID_IMAGE_SIZE = 203776
RFID_IMAGE_TOTAL_SUBPART = 6368 # size/32
RFID_BOOTLOADER_SIZE = 24576
RFID_BOOTLOADER_TOTAL_SUBPART = 768 # size/32
PREFIX = 0xA7
CONNECTION_BT = 0xB3
CONNECTION_USB = 0xE6
TYPE_RFID = 0xC2
TYPE_BARCODE = 0x6A
TYPE_NOTIFY = 0xD9
TYPE_SILAB = 0xE8
TYPE_BT = 0x5F
LINK_DOWN = 0x37
LINK_UP = 0x9E
RESERVE = 0x82 | timer_read = 1
silab_image_size = 16384
silab_image_total_subpart = 144
silab_bootloader_size = 9216
silab_bootloader_total_subpart = 81
bt_image_size = 124928
bt_image_total_subpart = 1952
bt_bootloader_size = 4096
bt_bootloader_total_subpart = 64
rfid_image_size = 203776
rfid_image_total_subpart = 6368
rfid_bootloader_size = 24576
rfid_bootloader_total_subpart = 768
prefix = 167
connection_bt = 179
connection_usb = 230
type_rfid = 194
type_barcode = 106
type_notify = 217
type_silab = 232
type_bt = 95
link_down = 55
link_up = 158
reserve = 130 |
#Shape of capital A:
def for_A():
"""printing capital 'A' using for loop"""
for row in range(6):
for col in range(11):
if row+col == 5 or col-row==5 or row==3 and col not in(0,1,9,10):
print("*",end=" ")
else:
print(" ",end=" ")
print()
def while_A():
""" printing capital 'A' using while loop"""
row=0
while row<6:
col=0
while col<11:
if col+row==5 or col-row==5 or row==3 and col not in(0,1,9,10):
print("*",end=" ")
else:
print(" ",end=" ")
col+=1
print()
row+=1
| def for_a():
"""printing capital 'A' using for loop"""
for row in range(6):
for col in range(11):
if row + col == 5 or col - row == 5 or (row == 3 and col not in (0, 1, 9, 10)):
print('*', end=' ')
else:
print(' ', end=' ')
print()
def while_a():
""" printing capital 'A' using while loop"""
row = 0
while row < 6:
col = 0
while col < 11:
if col + row == 5 or col - row == 5 or (row == 3 and col not in (0, 1, 9, 10)):
print('*', end=' ')
else:
print(' ', end=' ')
col += 1
print()
row += 1 |
def get_string(addr):
out = ""
while True:
if Byte(addr) != 0:
out += chr(Byte(addr))
else:
break
addr += 1
return out
def get_string_at(addr):
return get_string(addr - 0x12040 + 0x001fb5a0)
def get_i32_at(addr):
addr = addr - 0x12040 + 0x001fb5a0
return Byte(addr) | (Byte(addr + 1) << 8) | (Byte(addr + 2) << 16) | (Byte(addr + 3) << 24)
def define_struct(name, sz):
sid = add_struc(-1, name, 0)
for offset in xrange(0, sz, 4):
add_struc_member(sid, "field_%X" % offset, -1, FF_DWORD, -1, 4)
| def get_string(addr):
out = ''
while True:
if byte(addr) != 0:
out += chr(byte(addr))
else:
break
addr += 1
return out
def get_string_at(addr):
return get_string(addr - 73792 + 2078112)
def get_i32_at(addr):
addr = addr - 73792 + 2078112
return byte(addr) | byte(addr + 1) << 8 | byte(addr + 2) << 16 | byte(addr + 3) << 24
def define_struct(name, sz):
sid = add_struc(-1, name, 0)
for offset in xrange(0, sz, 4):
add_struc_member(sid, 'field_%X' % offset, -1, FF_DWORD, -1, 4) |
class Solution:
def canFormArray(self, arr: List[int], pieces: List[List[int]]) -> bool:
n = len(arr)
# initialize hashmap
mapping = {p[0]: p for p in pieces}
i = 0
while i < n:
# find target piece
if arr[i] not in mapping:
return False
# check target piece
target_piece = mapping[arr[i]]
for x in target_piece:
if x != arr[i]:
return False
i += 1
return True
| class Solution:
def can_form_array(self, arr: List[int], pieces: List[List[int]]) -> bool:
n = len(arr)
mapping = {p[0]: p for p in pieces}
i = 0
while i < n:
if arr[i] not in mapping:
return False
target_piece = mapping[arr[i]]
for x in target_piece:
if x != arr[i]:
return False
i += 1
return True |
APP_ERROR_SEND_NOTIFICATION = True
APP_ERROR_RECIPIENT_EMAIL = ('dev@example.com',)
APP_ERROR_EMAIL_SENDER = "server@example.com"
APP_ERROR_SUBJECT_PREFIX = ""
APP_ERROR_MASK_WITH = "**************"
APP_ERROR_MASKED_KEY_HAS = ("password", "secret")
APP_ERROR_URL_PREFIX = "/dev/error"
| app_error_send_notification = True
app_error_recipient_email = ('dev@example.com',)
app_error_email_sender = 'server@example.com'
app_error_subject_prefix = ''
app_error_mask_with = '**************'
app_error_masked_key_has = ('password', 'secret')
app_error_url_prefix = '/dev/error' |
#!/usr/bin/env python
# Written against python 3.3.1
# Matasano Problem 21
# Implement the MT19937 Mersenne Twister RNG
# generated from code on the wikipedia
class MT19937:
def __init__(self, seed):
self.MT = [0] * 624;
self.index = 0;
self.seed = 0;
self.initialize_generator(seed);
# function initialize_generator(int seed) {
# i := 0
# MT[0] := seed
# for i from 1 to 623 { // loop over each other element
# MT[i] := last 32 bits of(1812433253 * (MT[i-1] xor (right shift by 30 bits(MT[i-1]))) + i)
# }
# }
def initialize_generator(self, seed):
i = 0;
self.MT[0] = seed;
for i in range(1, 624):
self.MT[i] = 0xffffffff & (0x6c078965 * (self.MT[i-1] ^ (self.MT[i-1] >> 30)) + i);
# // Extract a tempered pseudorandom number based on the index-th value,
# // calling generate_numbers() every 624 numbers
# function extract_number() {
# if index == 0 {
# generate_numbers()
# }
#
# int y := MT[index]
# y := y xor (right shift by 11 bits(y))
# y := y xor (left shift by 7 bits(y) and (2636928640)) // 0x9d2c5680
# y := y xor (left shift by 15 bits(y) and (4022730752)) // 0xefc60000
# y := y xor (right shift by 18 bits(y))
#
# index := (index + 1) mod 624
# return y
# }
def extract_number(self):
if (self.index == 0):
self.generate_numbers();
y = self.MT[self.index];
y = y ^ (y >> 11);
y = y ^ ((y << 7) & 0x9d2c5680);
y = y ^ ((y << 15) & 0xefc60000);
y = y ^ (y >> 18);
self.index = (self.index+1)%624
return y;
# // Generate an array of 624 untempered numbers
# function generate_numbers() {
# for i from 0 to 623 {
# int y := (MT[i] & 0x80000000) // bit 31 (32nd bit) of MT[i]
# + (MT[(i+1) mod 624] & 0x7fffffff) // bits 0-30 (first 31 bits) of MT[...]
# MT[i] := MT[(i + 397) mod 624] xor (right shift by 1 bit(y))
# if (y mod 2) != 0 { // y is odd
# MT[i] := MT[i] xor (2567483615) // 0x9908b0df
# }
# }
# }
def generate_numbers(self):
for i in range(624):
y = (self.MT[i] & 0x80000000) + (self.MT[(i+1)%624] & 0x7fffffff);
self.MT[i] = self.MT[(i+397)%624] ^ (y >> 1);
if ((y%2) != 0):
self.MT[i] = self.MT[i] ^ 0x9908b0df;
## The below is taken from http://my.opera.com/metrallik/blog/2013/04/19/python-class-for-random-generation-with-mersenne-twister
## It is used to test the above, which I wrote
class operaRandom:
"""A Mersenne twister random generator"""
length=624
bitMask_32=(2**32)-1
bitPow_31=2**31
def __init__(self,seed):
self.idx=0
self.mt= [z for z in range(self.length)]
self.mt[0]=seed
for i in range(1,self.length):
self.mt[i]=(1812433253*(self.mt[i-1]^(self.mt[i-1]>>30))+i)&self.bitMask_32
def get(self):
if self.idx==0:
self.gen()
y =self.mt[self.idx]
y^= y>>11
y^=(y<< 7)&2636928640
y^=(y<<15)&4022730752
y^= y>>18
self.idx=(self.idx+1)%self.length
return y
def gen(self):
for i in range(self.length):
y=(self.mt[i]&self.bitPow_31)+(self.mt[(i+1)%self.length]&(self.bitPow_31-1))
self.mt[i]=self.mt[(i+397)%self.length]^(y>>1)
if y%2:
self.mt[i]^=2567483615
if __name__ == "__main__":
operaMT = operaRandom(12345);
myMT = MT19937(12345);
fail = False;
for i in range(10000):
op = operaMT.get();
my = myMT.extract_number();
if (op != my):
print("fail: ", hex(op), hex(my));
fail = True;
if (not fail):
print("prob21 success");
| class Mt19937:
def __init__(self, seed):
self.MT = [0] * 624
self.index = 0
self.seed = 0
self.initialize_generator(seed)
def initialize_generator(self, seed):
i = 0
self.MT[0] = seed
for i in range(1, 624):
self.MT[i] = 4294967295 & 1812433253 * (self.MT[i - 1] ^ self.MT[i - 1] >> 30) + i
def extract_number(self):
if self.index == 0:
self.generate_numbers()
y = self.MT[self.index]
y = y ^ y >> 11
y = y ^ y << 7 & 2636928640
y = y ^ y << 15 & 4022730752
y = y ^ y >> 18
self.index = (self.index + 1) % 624
return y
def generate_numbers(self):
for i in range(624):
y = (self.MT[i] & 2147483648) + (self.MT[(i + 1) % 624] & 2147483647)
self.MT[i] = self.MT[(i + 397) % 624] ^ y >> 1
if y % 2 != 0:
self.MT[i] = self.MT[i] ^ 2567483615
class Operarandom:
"""A Mersenne twister random generator"""
length = 624
bit_mask_32 = 2 ** 32 - 1
bit_pow_31 = 2 ** 31
def __init__(self, seed):
self.idx = 0
self.mt = [z for z in range(self.length)]
self.mt[0] = seed
for i in range(1, self.length):
self.mt[i] = 1812433253 * (self.mt[i - 1] ^ self.mt[i - 1] >> 30) + i & self.bitMask_32
def get(self):
if self.idx == 0:
self.gen()
y = self.mt[self.idx]
y ^= y >> 11
y ^= y << 7 & 2636928640
y ^= y << 15 & 4022730752
y ^= y >> 18
self.idx = (self.idx + 1) % self.length
return y
def gen(self):
for i in range(self.length):
y = (self.mt[i] & self.bitPow_31) + (self.mt[(i + 1) % self.length] & self.bitPow_31 - 1)
self.mt[i] = self.mt[(i + 397) % self.length] ^ y >> 1
if y % 2:
self.mt[i] ^= 2567483615
if __name__ == '__main__':
opera_mt = opera_random(12345)
my_mt = mt19937(12345)
fail = False
for i in range(10000):
op = operaMT.get()
my = myMT.extract_number()
if op != my:
print('fail: ', hex(op), hex(my))
fail = True
if not fail:
print('prob21 success') |
# https://codeforces.com/problemset/problem/96/A
teams = input() + "-"
count = 0
isOnes = True if teams[0] == "1" else False
isDangerous = False
for player in teams:
if count == 7:
isDangerous = True
break
if player == "1":
if not(isOnes):
count = 0
isOnes = True
count += 1
elif player == "0":
if isOnes:
count = 0
isOnes = False
count += 1
message = "YES" if isDangerous else "NO"
print(message)
| teams = input() + '-'
count = 0
is_ones = True if teams[0] == '1' else False
is_dangerous = False
for player in teams:
if count == 7:
is_dangerous = True
break
if player == '1':
if not isOnes:
count = 0
is_ones = True
count += 1
elif player == '0':
if isOnes:
count = 0
is_ones = False
count += 1
message = 'YES' if isDangerous else 'NO'
print(message) |
#! /usr/bin/env python
""" pyweek 22 entry 'You can't let him in here."""
__author__ = "Rex Allison"
__copyright__ = "Copyright 2016, Rex Allison"
__license__ = "MIT"
nemesis = [
# nemesis 1
' '
,' '
,' '
,' X'
,' XXXX'
,' XXXXXX'
,' XXXX'
,' X'
,' '
,' '
,' '
,' '
,' '
,' '
,' '
,' X'
,' XXX '
,' XXXXXX'
,' XXX '
,' X'
,' '
,' '
,' '
,' '
# nemesis 2
,' '
,' '
,' '
,' X '
,' XXX '
,'XXXXXXXX'
,' XXXXXXX'
,' XXXXXX '
,' '
,' '
,' '
,' '
,' '
,' '
,' '
,' X '
,' XXX '
,'XXXXXXXX'
,' XXXXXXX'
,' XXXXXX '
,' '
,' '
,' '
,' '
# nemesis 3
,' '
,' '
,' '
,' X '
,' X X '
,' XXXXX '
,' XXXXX '
,' XX X '
,' '
,' '
,' '
,' '
,' '
,' '
,' '
,' X '
,' X '
,' XXXXXXX'
,' XXXXX '
,' XX X '
,' '
,' '
,' '
,' '
# nemesis 4
,' '
,' '
,' '
,' X'
,' XX'
,' XXXXX'
,'XXXXXXXX'
,' XXX '
,' '
,' '
,' '
,' '
,' '
,' '
,' '
,' X '
,' XXX'
,' XXXXX'
,'XXXXXXXX'
,' XXX '
,' '
,' '
,' '
,' '
# nemesis 5
,' '
,' '
,' '
,' XX '
,'XXXX '
,' X X '
,' XXXXXXX'
,' XXXXXX '
,' '
,' '
,' '
,' '
,' '
,' '
,' '
,' XX '
,'XXXX '
,' X X'
,' XXXXXXX'
,' XXXXXX '
,' '
,' '
,' '
,' '
# nemesis 6
,' '
,' '
,' '
,' XXX X'
,' X X'
,'XXXXXXXX'
,'XXXXXXXX'
,' X '
,' XXX '
,' '
,' '
,' '
,' '
,' '
,' '
,' XXX X'
,'X X X'
,'XXXXXXXX'
,'XXXXXXXX'
,'X X '
,' XXX '
,' '
,' '
,' '
# nemesis 7
,' '
,' '
,' '
,'XXXXX '
,' X X'
,'XXXX XX'
,'X XXXXX '
,'X XX '
,'XXXX '
,' '
,' '
,' '
,' '
,' '
,' '
,' XXX '
,' X X'
,'XXXX XX'
,'X XXXXX '
,'X XX '
,'XXXX '
,' '
,' '
,' '
# nemesis 8
,' '
,' '
,' XX'
,' XX '
,' XXXXXXX'
,'XXX XX '
,' XXXXXXX'
,' XX '
,' XX'
,' '
,' '
,' '
,' '
,' '
,' XX'
,' XX '
,' XXXXXX '
,'XXX XX '
,' XXXXXX '
,' XX '
,' XX'
,' '
,' '
,' '
# nemesis 9
,' '
,' '
,'XX XX'
,' X X '
,' XXXXXX '
,'XXXXXXX '
,' XXXXXX '
,' X X '
,'XX XX'
,' '
,' '
,' '
,' '
,' '
,' X X '
,' X X '
,' XXXXXX '
,'XXXXXXX '
,' XXXXXX '
,' X X '
,' X X '
,' '
,' '
,' '
# nemesis 10
,' '
,' '
,' XXX '
,' XX XX '
,'XXXXXXX '
,' XXX '
,'XXXXXXX '
,' XXXXX '
,' XXX '
,' '
,' '
,' '
,' '
,' '
,' XXX '
,' XX XX '
,'XXXXXXX '
,'XXXXXXX '
,'XXXXXXX '
,' XXXXX '
,' XXX '
,' '
,' '
,' '
# nemesis 11
,' '
,' '
,' XXXXXX'
,' XXXXXX'
,' XXX '
,'XXXXXX '
,' XXX '
,' XXXXXX'
,' XXXXXX'
,' '
,' '
,' '
,' '
,' '
,' XXXXXX'
,' XXXXXX'
,' XXX '
,'XXXX X '
,' XXX '
,' XXXXXX'
,' XXXXXX'
,' '
,' '
,' '
# nemesis 12
,' '
,' '
,' XX'
,' XX '
,' XXXXXX '
,'XX XX XX'
,' XXXXXX '
,' XX '
,' XX'
,' '
,' '
,' '
,' '
,' '
,' XX'
,' XX '
,' XXXXXX '
,'XX XX X '
,' XXXXXX '
,' XX '
,' XX'
,' '
,' '
,' '
# nemesis 13
,' '
,' '
,'X XX X'
,' X XX X '
,' XXXX '
,' XX '
,' XX '
,' XXXX '
,' X X '
,'X X'
,' '
,' '
,' '
,' '
,' XX '
,'XX XX XX'
,' XXXX '
,' XX '
,' XX '
,' XXXX '
,' X X '
,'X X'
,' '
,' '
# nemesis 14
,' '
,' '
,' XXX X'
,' XX X XX'
,'X XXXXX '
,' XXXXX '
,' XXXXX '
,' XXXX '
,' XXX '
,'XX '
,' '
,' '
,' '
,' '
,' XXX X'
,' XX X XX'
,'X XXXXX '
,' XXXXX '
,' XXXXX '
,' XXXX '
,'X XX '
,' X '
,' '
,' '
# nemesis 15
,' '
,' '
,' XXXX '
,' XX XXX '
,'XXXXXXXX'
,'X XXXX X'
,'X XXXX X'
,' X X '
,' X X '
,' XX XX '
,' '
,' '
,' '
,' '
,' XXXX '
,' XXX XX '
,'XXXXXXXX'
,'X XXXX X'
,'X XXXX X'
,' X X '
,' X X '
,' XX XX '
,' '
,' '
# nemesis 16
,' '
,' '
,' XXX XXX'
,' XXX XXX'
,' X X '
,'XXXXXXX '
,'XX XXXX '
,' X X '
,' XXX XXX'
,' XXX XXX'
,' '
,' '
,' '
,' '
,' XXX XXX'
,' XXX XXX'
,' X X '
,'XX XXXX '
,'XXXXXXX '
,' X X '
,' XXX XXX'
,' XXX XXX'
,' '
,' '
# nemesis 17
,' '
,' '
,' XXXX '
,' XXXXXX '
,'X XXX XX'
,'X XX X'
,'XXXXXXXX'
,'XXXXXXXX'
,'XXXXXXXX'
,' X X X X'
,' '
,' '
,' '
,' '
,' XXXX '
,' XXXXXX '
,'X XX X'
,'XX XXX X'
,'XXXXXXXX'
,'XXXXXXXX'
,'XXXXXXXX'
,' X X X X'
,' '
,' '
# nemesis 18
,' '
,' '
,' XXX '
,' X '
,'X XX X'
,' X XXXX'
,' X XXXX'
,'X XX X'
,' X '
,' XXX '
,' '
,' '
,' '
,' '
,' X '
,' XXX '
,'X XX X'
,' XX XXX'
,' XX XXX'
,'X XX X'
,' XXX '
,' X '
,' '
,' '
# nemesis 19
,' '
,' '
,' XXXX '
,' XXXXXX '
,'XX XX XX'
,'XXXXXXXX'
,'X XXXX X'
,'XX XX'
,' XXXXXX '
,' XXXX '
,' '
,' '
,' '
,' '
,' XXXX '
,' XXXXXX '
,'XXXXXXXX'
,'XXXXXXXX'
,'X XXXX X'
,'XX XX'
,' XXXXXX '
,' XXXX '
,' '
,' '
# nemesis 20
,' '
,' X'
,' X X '
,'X X X '
,' XX '
,' XXXX '
,' X XX XX'
,' XXXXXX '
,' XXXXXX '
,' X X '
,'XXX XXX'
,' '
,' '
,'X '
,' X X '
,' X X X'
,' XX '
,' XXXX '
,'XX XX X '
,' XXXXXX '
,' XXXXXX '
,' X X '
,'XXX XXX'
,' '
# nemesis 21
,' '
,' XXXX '
,' XXXXXX '
,' X XX X '
,'XXXXXXXX'
,'X XXXX X'
,'X X X X'
,'X XX X'
,'X XX X'
,'X X X X'
,'X X X X'
,' '
,' '
,' XXXX '
,' XXXXXX '
,' X XX X '
,'XXXXXXXX'
,'X XXXX X'
,'X X X X'
,' X XX X '
,' X XX X '
,' X XX X '
,' X X '
,' '
# nemesis 22
,' '
,'X X'
,'X X'
,'X X X X'
,'X XXXX X'
,' X XX X '
,' XX '
,' XX '
,' XX '
,' X X '
,'XX XX'
,' '
,' '
,' XX '
,' X XX X '
,'X XXXX X'
,'X XX X'
,'X XX X'
,'X XX X'
,' X X '
,' X X '
,' X X '
,' X X '
,' '
# nemesis 23
,' '
,' XXXX '
,' XXXXXX '
,'XXX X XX'
,' XXXXXX '
,' XXXX '
,' X X '
,' X X '
,' X X '
,' X X '
,'X X'
,' '
,' '
,' XXXX '
,' XXXXXX '
,'XX X XXX'
,' XXXXXX '
,' XXXX '
,' X X '
,' X X '
,' X X '
,' X XX X '
,' X X '
,' '
# nemesis 24
,' '
,' XXXX '
,' XXXXXX '
,'XXXX XX'
,'XXXX XX'
,'XXXXXXXX'
,' X XXX '
,' X X '
,' X X '
,' X X '
,' XXX XXX'
,' '
,' '
,' XXXX '
,' XXXXXX '
,'XX XXXX'
,'XX XXXX'
,'XXXXXXXX'
,' XXX X '
,' X X '
,' X X '
,' X X '
,'XXX XXX '
,' '
# nemesis 25
,' '
,' XX '
,' X XX X '
,'XXXXXXXX'
,'XXXXXXXX'
,' X X '
,' X X '
,' X X '
,'X X '
,'X X '
,'X X '
,' '
,' '
,' XX '
,' XXXXXX '
,'XX XX XX'
,'XXXXXXXX'
,' X X '
,' X X '
,' X X '
,' X X'
,' X X'
,' X X'
,' '
# nemesis 26
,' '
,' XX '
,' XX '
,' '
,' XXXX '
,' X XX X '
,' X XX X '
,' XX '
,' XX '
,' XX '
,' XXX '
,' '
,' '
,' XX '
,' XX '
,' '
,' XXXX '
,' X XX X '
,' X XX X '
,' XX '
,' XX '
,' XX '
,' XX X '
,' '
# nemesis 27
,' XX '
,'XXX XX '
,' X X '
,' X XX '
,'XXXXXX '
,' X XXX '
,' XXXXXXX'
,' XXXXXX'
,' XXXX '
,' XXX '
,' XX '
,' X '
,' XX '
,'XXX XX X'
,' X XXX'
,' X XXXX'
,'XXXXXXXX'
,' X XXX '
,' XXXXXXX'
,' XXXXXX'
,' XXXX '
,' X '
,' '
,' '
# nemesis 28
,' XX '
,' XXXXXX '
,' XXX '
,' XX '
,' XXXXXX '
,'X XX X'
,'X XX X'
,'X XX X'
,' X XX X '
,' XXXX '
,' XX XX '
,'XX XX'
,' '
,' XX '
,' XX '
,' XXXXX'
,' XXX '
,'XXX XX '
,' XXXXX '
,' XX '
,' XX '
,' XXXX '
,' X X '
,' XX XXX'
# the boss
,' XXX '
,' XXXX XX'
,' XXX '
,' X '
,' XXX '
,' XXXXX'
,' XX X'
,' XX XX'
,' XXXX '
,' X '
,' X X '
,' XXX '
,' XX XXX '
,' XX XX'
,' XX XXX '
,' X '
,' XXX '
,' XXXXX'
,' XX X'
,' XX XX'
,' XXXX '
,' X '
,' X X '
,' XXX '
# chalice
,' '
,'X X'
,'X X'
,'XX XX'
,' XXXXXX '
,' XXXXXX '
,' XXXX '
,' XX '
,' XX '
,' XXXXXX '
,' '
,' '
,' '
,'X X'
,'X X'
,'XX XX'
,' XXXXXX '
,' XXXXXX '
,' XXXX '
,' XX '
,' XX '
,' XXXXXX '
,' '
,' '
]
| """ pyweek 22 entry 'You can't let him in here."""
__author__ = 'Rex Allison'
__copyright__ = 'Copyright 2016, Rex Allison'
__license__ = 'MIT'
nemesis = [' ', ' ', ' ', ' X', ' XXXX', ' XXXXXX', ' XXXX', ' X', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X', ' XXX ', ' XXXXXX', ' XXX ', ' X', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X ', ' XXX ', 'XXXXXXXX', ' XXXXXXX', ' XXXXXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X ', ' XXX ', 'XXXXXXXX', ' XXXXXXX', ' XXXXXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X ', ' X X ', ' XXXXX ', ' XXXXX ', ' XX X ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X ', ' X ', ' XXXXXXX', ' XXXXX ', ' XX X ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X', ' XX', ' XXXXX', 'XXXXXXXX', ' XXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' X ', ' XXX', ' XXXXX', 'XXXXXXXX', ' XXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' XX ', 'XXXX ', ' X X ', ' XXXXXXX', ' XXXXXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' XX ', 'XXXX ', ' X X', ' XXXXXXX', ' XXXXXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' XXX X', ' X X', 'XXXXXXXX', 'XXXXXXXX', ' X ', ' XXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' XXX X', 'X X X', 'XXXXXXXX', 'XXXXXXXX', 'X X ', ' XXX ', ' ', ' ', ' ', ' ', ' ', ' ', 'XXXXX ', ' X X', 'XXXX XX', 'X XXXXX ', 'X XX ', 'XXXX ', ' ', ' ', ' ', ' ', ' ', ' ', ' XXX ', ' X X', 'XXXX XX', 'X XXXXX ', 'X XX ', 'XXXX ', ' ', ' ', ' ', ' ', ' ', ' XX', ' XX ', ' XXXXXXX', 'XXX XX ', ' XXXXXXX', ' XX ', ' XX', ' ', ' ', ' ', ' ', ' ', ' XX', ' XX ', ' XXXXXX ', 'XXX XX ', ' XXXXXX ', ' XX ', ' XX', ' ', ' ', ' ', ' ', ' ', 'XX XX', ' X X ', ' XXXXXX ', 'XXXXXXX ', ' XXXXXX ', ' X X ', 'XX XX', ' ', ' ', ' ', ' ', ' ', ' X X ', ' X X ', ' XXXXXX ', 'XXXXXXX ', ' XXXXXX ', ' X X ', ' X X ', ' ', ' ', ' ', ' ', ' ', ' XXX ', ' XX XX ', 'XXXXXXX ', ' XXX ', 'XXXXXXX ', ' XXXXX ', ' XXX ', ' ', ' ', ' ', ' ', ' ', ' XXX ', ' XX XX ', 'XXXXXXX ', 'XXXXXXX ', 'XXXXXXX ', ' XXXXX ', ' XXX ', ' ', ' ', ' ', ' ', ' ', ' XXXXXX', ' XXXXXX', ' XXX ', 'XXXXXX ', ' XXX ', ' XXXXXX', ' XXXXXX', ' ', ' ', ' ', ' ', ' ', ' XXXXXX', ' XXXXXX', ' XXX ', 'XXXX X ', ' XXX ', ' XXXXXX', ' XXXXXX', ' ', ' ', ' ', ' ', ' ', ' XX', ' XX ', ' XXXXXX ', 'XX XX XX', ' XXXXXX ', ' XX ', ' XX', ' ', ' ', ' ', ' ', ' ', ' XX', ' XX ', ' XXXXXX ', 'XX XX X ', ' XXXXXX ', ' XX ', ' XX', ' ', ' ', ' ', ' ', ' ', 'X XX X', ' X XX X ', ' XXXX ', ' XX ', ' XX ', ' XXXX ', ' X X ', 'X X', ' ', ' ', ' ', ' ', ' XX ', 'XX XX XX', ' XXXX ', ' XX ', ' XX ', ' XXXX ', ' X X ', 'X X', ' ', ' ', ' ', ' ', ' XXX X', ' XX X XX', 'X XXXXX ', ' XXXXX ', ' XXXXX ', ' XXXX ', ' XXX ', 'XX ', ' ', ' ', ' ', ' ', ' XXX X', ' XX X XX', 'X XXXXX ', ' XXXXX ', ' XXXXX ', ' XXXX ', 'X XX ', ' X ', ' ', ' ', ' ', ' ', ' XXXX ', ' XX XXX ', 'XXXXXXXX', 'X XXXX X', 'X XXXX X', ' X X ', ' X X ', ' XX XX ', ' ', ' ', ' ', ' ', ' XXXX ', ' XXX XX ', 'XXXXXXXX', 'X XXXX X', 'X XXXX X', ' X X ', ' X X ', ' XX XX ', ' ', ' ', ' ', ' ', ' XXX XXX', ' XXX XXX', ' X X ', 'XXXXXXX ', 'XX XXXX ', ' X X ', ' XXX XXX', ' XXX XXX', ' ', ' ', ' ', ' ', ' XXX XXX', ' XXX XXX', ' X X ', 'XX XXXX ', 'XXXXXXX ', ' X X ', ' XXX XXX', ' XXX XXX', ' ', ' ', ' ', ' ', ' XXXX ', ' XXXXXX ', 'X XXX XX', 'X XX X', 'XXXXXXXX', 'XXXXXXXX', 'XXXXXXXX', ' X X X X', ' ', ' ', ' ', ' ', ' XXXX ', ' XXXXXX ', 'X XX X', 'XX XXX X', 'XXXXXXXX', 'XXXXXXXX', 'XXXXXXXX', ' X X X X', ' ', ' ', ' ', ' ', ' XXX ', ' X ', 'X XX X', ' X XXXX', ' X XXXX', 'X XX X', ' X ', ' XXX ', ' ', ' ', ' ', ' ', ' X ', ' XXX ', 'X XX X', ' XX XXX', ' XX XXX', 'X XX X', ' XXX ', ' X ', ' ', ' ', ' ', ' ', ' XXXX ', ' XXXXXX ', 'XX XX XX', 'XXXXXXXX', 'X XXXX X', 'XX XX', ' XXXXXX ', ' XXXX ', ' ', ' ', ' ', ' ', ' XXXX ', ' XXXXXX ', 'XXXXXXXX', 'XXXXXXXX', 'X XXXX X', 'XX XX', ' XXXXXX ', ' XXXX ', ' ', ' ', ' ', ' X', ' X X ', 'X X X ', ' XX ', ' XXXX ', ' X XX XX', ' XXXXXX ', ' XXXXXX ', ' X X ', 'XXX XXX', ' ', ' ', 'X ', ' X X ', ' X X X', ' XX ', ' XXXX ', 'XX XX X ', ' XXXXXX ', ' XXXXXX ', ' X X ', 'XXX XXX', ' ', ' ', ' XXXX ', ' XXXXXX ', ' X XX X ', 'XXXXXXXX', 'X XXXX X', 'X X X X', 'X XX X', 'X XX X', 'X X X X', 'X X X X', ' ', ' ', ' XXXX ', ' XXXXXX ', ' X XX X ', 'XXXXXXXX', 'X XXXX X', 'X X X X', ' X XX X ', ' X XX X ', ' X XX X ', ' X X ', ' ', ' ', 'X X', 'X X', 'X X X X', 'X XXXX X', ' X XX X ', ' XX ', ' XX ', ' XX ', ' X X ', 'XX XX', ' ', ' ', ' XX ', ' X XX X ', 'X XXXX X', 'X XX X', 'X XX X', 'X XX X', ' X X ', ' X X ', ' X X ', ' X X ', ' ', ' ', ' XXXX ', ' XXXXXX ', 'XXX X XX', ' XXXXXX ', ' XXXX ', ' X X ', ' X X ', ' X X ', ' X X ', 'X X', ' ', ' ', ' XXXX ', ' XXXXXX ', 'XX X XXX', ' XXXXXX ', ' XXXX ', ' X X ', ' X X ', ' X X ', ' X XX X ', ' X X ', ' ', ' ', ' XXXX ', ' XXXXXX ', 'XXXX XX', 'XXXX XX', 'XXXXXXXX', ' X XXX ', ' X X ', ' X X ', ' X X ', ' XXX XXX', ' ', ' ', ' XXXX ', ' XXXXXX ', 'XX XXXX', 'XX XXXX', 'XXXXXXXX', ' XXX X ', ' X X ', ' X X ', ' X X ', 'XXX XXX ', ' ', ' ', ' XX ', ' X XX X ', 'XXXXXXXX', 'XXXXXXXX', ' X X ', ' X X ', ' X X ', 'X X ', 'X X ', 'X X ', ' ', ' ', ' XX ', ' XXXXXX ', 'XX XX XX', 'XXXXXXXX', ' X X ', ' X X ', ' X X ', ' X X', ' X X', ' X X', ' ', ' ', ' XX ', ' XX ', ' ', ' XXXX ', ' X XX X ', ' X XX X ', ' XX ', ' XX ', ' XX ', ' XXX ', ' ', ' ', ' XX ', ' XX ', ' ', ' XXXX ', ' X XX X ', ' X XX X ', ' XX ', ' XX ', ' XX ', ' XX X ', ' ', ' XX ', 'XXX XX ', ' X X ', ' X XX ', 'XXXXXX ', ' X XXX ', ' XXXXXXX', ' XXXXXX', ' XXXX ', ' XXX ', ' XX ', ' X ', ' XX ', 'XXX XX X', ' X XXX', ' X XXXX', 'XXXXXXXX', ' X XXX ', ' XXXXXXX', ' XXXXXX', ' XXXX ', ' X ', ' ', ' ', ' XX ', ' XXXXXX ', ' XXX ', ' XX ', ' XXXXXX ', 'X XX X', 'X XX X', 'X XX X', ' X XX X ', ' XXXX ', ' XX XX ', 'XX XX', ' ', ' XX ', ' XX ', ' XXXXX', ' XXX ', 'XXX XX ', ' XXXXX ', ' XX ', ' XX ', ' XXXX ', ' X X ', ' XX XXX', ' XXX ', ' XXXX XX', ' XXX ', ' X ', ' XXX ', ' XXXXX', ' XX X', ' XX XX', ' XXXX ', ' X ', ' X X ', ' XXX ', ' XX XXX ', ' XX XX', ' XX XXX ', ' X ', ' XXX ', ' XXXXX', ' XX X', ' XX XX', ' XXXX ', ' X ', ' X X ', ' XXX ', ' ', 'X X', 'X X', 'XX XX', ' XXXXXX ', ' XXXXXX ', ' XXXX ', ' XX ', ' XX ', ' XXXXXX ', ' ', ' ', ' ', 'X X', 'X X', 'XX XX', ' XXXXXX ', ' XXXXXX ', ' XXXX ', ' XX ', ' XX ', ' XXXXXX ', ' ', ' '] |
def try_or_default(default_value, func):
def wrap(*args, **kwargs):
try:
return func(*args, **kwargs)
except:
return default_value
return wrap
def try_or_false(func):
return try_or_default(False, func)
def try_or_true(func):
return try_or_default(True, func)
| def try_or_default(default_value, func):
def wrap(*args, **kwargs):
try:
return func(*args, **kwargs)
except:
return default_value
return wrap
def try_or_false(func):
return try_or_default(False, func)
def try_or_true(func):
return try_or_default(True, func) |
{
'variables': {
'target_arch': 'ia32',
'VERSION_FULL': '<!(python tools/version.py)',
'VERSION_MAJOR': '<!(python tools/version.py major)',
'VERSION_MINOR': '<!(python tools/version.py minor)',
'VERSION_PATCH': '<!(python tools/version.py patch)',
'VERSION_RELEASE': '<!(python tools/version.py release)',
},
'targets': [
{
'target_name': 'virgo',
'type': 'executable',
'dependencies': [
'lib/virgolib.gyp:virgolib',
],
'include_dirs': [
'include',
],
'sources': [
'lib/virgo.c',
# lib files to make for an even more pleasant IDE experience
'common.gypi',
],
'defines': [
'ARCH="<(target_arch)"',
'PLATFORM="<(OS)"',
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'VERSION_FULL="<(VERSION_FULL)"',
],
'actions': [
{
'action_name': 'generate_rc',
'inputs': [
'lib/virgo.rc.in'
],
'outputs': [
'lib/virgo.rc'
],
'action': [
'python',
'tools/lame_sed.py',
'<@(_inputs)',
'<@(_outputs)',
'{VERSION_FULL}:<(VERSION_FULL)',
'{VERSION_MAJOR}:<(VERSION_MAJOR)',
'{VERSION_MINOR}:<(VERSION_MINOR)',
'{VERSION_PATCH}:<(VERSION_PATCH)',
'{VERSION_RELEASE}:<(VERSION_RELEASE)',
],
},
],
'conditions': [
[ 'OS=="win"',
{
'defines': [
'FD_SETSIZE=1024'
],
'libraries': [ '-lpsapi.lib', '-lversion.lib', '-lnetapi32.lib', '-lShlwapi.lib'],
'sources': [
'lib/virgo.rc',
],
},
{ # POSIX
'defines': [ '__POSIX__' ]
}
],
[ 'OS=="mac"',
{
'libraries': [ 'Carbon.framework', 'IOKit.framework' ]
}
],
[ 'OS=="linux"',
{
'libraries': [
'-ldl',
'-lrt', # needed for clock_gettime
'-lutil', # needed for openpty
],
}
],
[ 'OS=="freebsd"',
{
'libraries': [
'-lutil',
'-lkvm',
],
}
],
[ 'OS=="solaris"',
{
'libraries': [
'-lkstat',
],
}
],
],
'msvs-settings': {
'VCLinkerTool': {
'SubSystem': 1, # /subsystem:console
},
},
}
],# end targets
'conditions': [
[ 'OS=="win"', {
'targets': [
{
'target_name': 'rackspace-monitoring-agent.msi',
'type': 'none',
'dependencies': [
'monitoring-agent#host',
],
'sources': [
'pkg/windows/RackspaceMonitoringAgent.wxs',
],
'actions': [ {
'action_name': 'candle',
'inputs': [
'pkg/windows/RackspaceMonitoringAgent.wxs',
'<(INTERMEDIATE_DIR)/version.wxi',
],
'outputs': [
'<(INTERMEDIATE_DIR)/RackspaceMonitoringAgent.wixobj',
],
'action': [
'<(CANDLE_EXE)',
'-out',
'<@(_outputs)',
'pkg/windows/RackspaceMonitoringAgent.wxs',
'-dVERSIONFULL=<(VERSION_FULL)',
'-dPRODUCTDIR=<(PRODUCT_DIR)',
'-dREPODIR=<(RULE_INPUT_DIRNAME)',
],
'process_outputs_as_sources': 1,
},
{
'action_name': 'light',
'extension': 'wxs',
'inputs': [
'<(INTERMEDIATE_DIR)/RackspaceMonitoringAgent.wixobj',
'<(PRODUCT_DIR)/monitoring-agent.exe',
],
'outputs': [
'<(PRODUCT_DIR)/rackspace-monitoring-agent.msi',
],
'action': [
'<(LIGHT_EXE)',
'<(INTERMEDIATE_DIR)/RackspaceMonitoringAgent.wixobj',
'-ext', 'WixUIExtension',
'-ext', 'WixUtilExtension',
'-out', '<@(_outputs)',
],
'process_outputs_as_sources': 1,
}]
}], #end targets
}], #end win32
],
}
| {'variables': {'target_arch': 'ia32', 'VERSION_FULL': '<!(python tools/version.py)', 'VERSION_MAJOR': '<!(python tools/version.py major)', 'VERSION_MINOR': '<!(python tools/version.py minor)', 'VERSION_PATCH': '<!(python tools/version.py patch)', 'VERSION_RELEASE': '<!(python tools/version.py release)'}, 'targets': [{'target_name': 'virgo', 'type': 'executable', 'dependencies': ['lib/virgolib.gyp:virgolib'], 'include_dirs': ['include'], 'sources': ['lib/virgo.c', 'common.gypi'], 'defines': ['ARCH="<(target_arch)"', 'PLATFORM="<(OS)"', '_LARGEFILE_SOURCE', '_FILE_OFFSET_BITS=64', 'VERSION_FULL="<(VERSION_FULL)"'], 'actions': [{'action_name': 'generate_rc', 'inputs': ['lib/virgo.rc.in'], 'outputs': ['lib/virgo.rc'], 'action': ['python', 'tools/lame_sed.py', '<@(_inputs)', '<@(_outputs)', '{VERSION_FULL}:<(VERSION_FULL)', '{VERSION_MAJOR}:<(VERSION_MAJOR)', '{VERSION_MINOR}:<(VERSION_MINOR)', '{VERSION_PATCH}:<(VERSION_PATCH)', '{VERSION_RELEASE}:<(VERSION_RELEASE)']}], 'conditions': [['OS=="win"', {'defines': ['FD_SETSIZE=1024'], 'libraries': ['-lpsapi.lib', '-lversion.lib', '-lnetapi32.lib', '-lShlwapi.lib'], 'sources': ['lib/virgo.rc']}, {'defines': ['__POSIX__']}], ['OS=="mac"', {'libraries': ['Carbon.framework', 'IOKit.framework']}], ['OS=="linux"', {'libraries': ['-ldl', '-lrt', '-lutil']}], ['OS=="freebsd"', {'libraries': ['-lutil', '-lkvm']}], ['OS=="solaris"', {'libraries': ['-lkstat']}]], 'msvs-settings': {'VCLinkerTool': {'SubSystem': 1}}}], 'conditions': [['OS=="win"', {'targets': [{'target_name': 'rackspace-monitoring-agent.msi', 'type': 'none', 'dependencies': ['monitoring-agent#host'], 'sources': ['pkg/windows/RackspaceMonitoringAgent.wxs'], 'actions': [{'action_name': 'candle', 'inputs': ['pkg/windows/RackspaceMonitoringAgent.wxs', '<(INTERMEDIATE_DIR)/version.wxi'], 'outputs': ['<(INTERMEDIATE_DIR)/RackspaceMonitoringAgent.wixobj'], 'action': ['<(CANDLE_EXE)', '-out', '<@(_outputs)', 'pkg/windows/RackspaceMonitoringAgent.wxs', '-dVERSIONFULL=<(VERSION_FULL)', '-dPRODUCTDIR=<(PRODUCT_DIR)', '-dREPODIR=<(RULE_INPUT_DIRNAME)'], 'process_outputs_as_sources': 1}, {'action_name': 'light', 'extension': 'wxs', 'inputs': ['<(INTERMEDIATE_DIR)/RackspaceMonitoringAgent.wixobj', '<(PRODUCT_DIR)/monitoring-agent.exe'], 'outputs': ['<(PRODUCT_DIR)/rackspace-monitoring-agent.msi'], 'action': ['<(LIGHT_EXE)', '<(INTERMEDIATE_DIR)/RackspaceMonitoringAgent.wixobj', '-ext', 'WixUIExtension', '-ext', 'WixUtilExtension', '-out', '<@(_outputs)'], 'process_outputs_as_sources': 1}]}]}]]} |
class StorageResult:
def __init__(self, result=None):
if result is None:
self.total = 0
self._hits = []
self.chunk = 0
else:
self.total = result['hits']['total']['value']
self._hits = result['hits']['hits']
self.chunk = len(self._hits)
def __repr__(self):
return "hits {}, total: {}".format(self._hits, self.total)
def __iter__(self):
for hit in self._hits:
row = hit['_source']
row['id'] = hit['_id']
yield row
def dict(self):
return {
"total": self.total,
"result": list(self)
}
def __len__(self):
return self.chunk
| class Storageresult:
def __init__(self, result=None):
if result is None:
self.total = 0
self._hits = []
self.chunk = 0
else:
self.total = result['hits']['total']['value']
self._hits = result['hits']['hits']
self.chunk = len(self._hits)
def __repr__(self):
return 'hits {}, total: {}'.format(self._hits, self.total)
def __iter__(self):
for hit in self._hits:
row = hit['_source']
row['id'] = hit['_id']
yield row
def dict(self):
return {'total': self.total, 'result': list(self)}
def __len__(self):
return self.chunk |
class Sortness:
def getSortness(self, a):
s = 0.0
for i, e in enumerate(a):
s += len(filter(lambda j: j > e, a[:i]))
s += len(filter(lambda j: j < e, a[i+1:]))
return s / len(a)
| class Sortness:
def get_sortness(self, a):
s = 0.0
for (i, e) in enumerate(a):
s += len(filter(lambda j: j > e, a[:i]))
s += len(filter(lambda j: j < e, a[i + 1:]))
return s / len(a) |
# This code has to be added to the corresponding __init__.py
DRIVERS["lis3dh"] = ["LIS3DH"]
| DRIVERS['lis3dh'] = ['LIS3DH'] |
def hello(name):
return 'Hello, {}.'.format(name)
def test_hello():
assert 'Hello, Fred.' == hello('Fred')
if __name__ == '__main__':
print(hello('Taro'))
| def hello(name):
return 'Hello, {}.'.format(name)
def test_hello():
assert 'Hello, Fred.' == hello('Fred')
if __name__ == '__main__':
print(hello('Taro')) |
# -*- coding: utf-8 -*-
INSTALLED_APPS += ("ags2sld",)
DATA_UPLOAD_MAX_MEMORY_SIZE = 1073741824
FILE_UPLOAD_MAX_MEMORY_SIZE = 1073741824 # maximum file upload 1GB
| installed_apps += ('ags2sld',)
data_upload_max_memory_size = 1073741824
file_upload_max_memory_size = 1073741824 |
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""A few bit hacks (from https://graphics.stanford.edu/~seander/bithacks.html).
"""
def next_power_of_two(i):
"""Returns the next highest power of two.
Args:
i: Is the number and should be a 32 bit integer.
Returns:
The next highest power of two.
"""
i -= 1
i |= i >> 1
i |= i >> 2
i |= i >> 4
i |= i >> 8
i |= i >> 16
i += 1
return i
def num_bits(i):
"""Returns the number of bits in an unsigned integer."""
n = 0
while i:
n += 1
i &= i - 1
return n
def trailing_zero_bits(i):
"""Returns the number of trailing zero bits."""
n = 0
while not i & 0x1:
i >>= 1
n += 1
return n
| """A few bit hacks (from https://graphics.stanford.edu/~seander/bithacks.html).
"""
def next_power_of_two(i):
"""Returns the next highest power of two.
Args:
i: Is the number and should be a 32 bit integer.
Returns:
The next highest power of two.
"""
i -= 1
i |= i >> 1
i |= i >> 2
i |= i >> 4
i |= i >> 8
i |= i >> 16
i += 1
return i
def num_bits(i):
"""Returns the number of bits in an unsigned integer."""
n = 0
while i:
n += 1
i &= i - 1
return n
def trailing_zero_bits(i):
"""Returns the number of trailing zero bits."""
n = 0
while not i & 1:
i >>= 1
n += 1
return n |
h,m=map(int,input().split());m+=60*h-45
if m<0:
m+=24*60
print(m//60,m%60)
| (h, m) = map(int, input().split())
m += 60 * h - 45
if m < 0:
m += 24 * 60
print(m // 60, m % 60) |
## func
def make_withdrawal(balance):
def inner(withdraw):
balance -= withdraw
if balance <0:
print("Error: withdraw amount is more than initial balance")
else:
return balance
return inner
## Explain
print("updating the balance inner function doesn't work. In the inner function block, variable balance's scope is within the inner function block, which is its nearest enclosing scope. Here, the reference to balance is before assignment of any value to this variable in inner function block, thus an UnboundLocalError exception is raised, meaning the name refers to a local variable that has not yet been bound to a value at the point where the name is used")
## demo
wd = make_withdrawal(500)
wd(300)
#UnboundLocalError: local variable 'balance' referenced before assignment | def make_withdrawal(balance):
def inner(withdraw):
balance -= withdraw
if balance < 0:
print('Error: withdraw amount is more than initial balance')
else:
return balance
return inner
print("updating the balance inner function doesn't work. In the inner function block, variable balance's scope is within the inner function block, which is its nearest enclosing scope. Here, the reference to balance is before assignment of any value to this variable in inner function block, thus an UnboundLocalError exception is raised, meaning the name refers to a local variable that has not yet been bound to a value at the point where the name is used")
wd = make_withdrawal(500)
wd(300) |
class LinkedListMode:
def __init__(self, value):
self.vale = value
self.next = None
def reverse(head_of_list):
current = head_of_list
previous = None
next = None
# until we have 'fallen off' the end of the list
while current:
# copy a pointer to the next element
# before we overwrite current.next
next = current.next
# reverse the 'next' pointer
current.next = previous
# step forward in the list
previous = current
current = next
return previous
| class Linkedlistmode:
def __init__(self, value):
self.vale = value
self.next = None
def reverse(head_of_list):
current = head_of_list
previous = None
next = None
while current:
next = current.next
current.next = previous
previous = current
current = next
return previous |
#
# @lc app=leetcode id=657 lang=python3
#
# [657] Robot Return to Origin
#
# https://leetcode.com/problems/robot-return-to-origin/description/
#
# algorithms
# Easy (74.23%)
# Total Accepted: 288.7K
# Total Submissions: 388.7K
# Testcase Example: '"UD"'
#
# There is a robot starting at position (0, 0), the origin, on a 2D plane.
# Given a sequence of its moves, judge if this robot ends up at (0, 0) after it
# completes its moves.
#
# The move sequence is represented by a string, and the character moves[i]
# represents its ith move. Valid moves are R (right), L (left), U (up), and D
# (down). If the robot returns to the origin after it finishes all of its
# moves, return true. Otherwise, return false.
#
# Note: The way that the robot is "facing" is irrelevant. "R" will always make
# the robot move to the right once, "L" will always make it move left, etc.
# Also, assume that the magnitude of the robot's movement is the same for each
# move.
#
#
# Example 1:
#
#
# Input: moves = "UD"
# Output: true
# Explanation: The robot moves up once, and then down once. All moves have the
# same magnitude, so it ended up at the origin where it started. Therefore, we
# return true.
#
#
# Example 2:
#
#
# Input: moves = "LL"
# Output: false
# Explanation: The robot moves left twice. It ends up two "moves" to the left
# of the origin. We return false because it is not at the origin at the end of
# its moves.
#
#
# Example 3:
#
#
# Input: moves = "RRDD"
# Output: false
#
#
# Example 4:
#
#
# Input: moves = "LDRRLRUULR"
# Output: false
#
#
#
# Constraints:
#
#
# 1 <= moves.length <= 2 * 10^4
# moves only contains the characters 'U', 'D', 'L' and 'R'.
#
#
#
class Solution:
def judgeCircle(self, moves: str) -> bool:
num_L = 0
num_R = 0
num_U = 0
num_D = 0
for s in moves:
if s == 'L':
num_L += 1
elif s == 'U':
num_U += 1
elif s == 'R':
num_R += 1
elif s == 'D':
num_D += 1
return (num_L == num_R) and (num_U == num_D)
| class Solution:
def judge_circle(self, moves: str) -> bool:
num_l = 0
num_r = 0
num_u = 0
num_d = 0
for s in moves:
if s == 'L':
num_l += 1
elif s == 'U':
num_u += 1
elif s == 'R':
num_r += 1
elif s == 'D':
num_d += 1
return num_L == num_R and num_U == num_D |
def insertion_sort(arr):
length = len(arr)
for i in range(1, length):
#Move elements of arr[0..i-1], that are
# greater than key, to one position ahead
# of their current position
key = arr[i]
j=i-1
while( j>=0 and arr[j]>key):
arr[j+1] = arr[j]
j -= 1
arr[j+1] = key
return arr
| def insertion_sort(arr):
length = len(arr)
for i in range(1, length):
key = arr[i]
j = i - 1
while j >= 0 and arr[j] > key:
arr[j + 1] = arr[j]
j -= 1
arr[j + 1] = key
return arr |
task_dataset = "entry-small-1"
# number of individuals for each population
population_size = 40
# number of generations (rounds)
generations = 1000
exitAfter = 250
# for controlling the time scheduling, in minutes
block_size = 10 # in minutes (less than or equal 1 hour)
# define the parents selection method for crossover
selectParentsMethod = 'roulette' # random or roulette
# define mutation (2~5)
mutationRate = 5
usePace = False
usePaceWidth = True #no need to change
paceMethod = 1 # 0 = exploitation -> exploration OR 1 = exploration -> exploitation;
# define fitness calc, one must be True
useEmployeeWage = True
useEquipmentCost = True
# try adjusting populations when there is any improvement
autoAdjust = True | task_dataset = 'entry-small-1'
population_size = 40
generations = 1000
exit_after = 250
block_size = 10
select_parents_method = 'roulette'
mutation_rate = 5
use_pace = False
use_pace_width = True
pace_method = 1
use_employee_wage = True
use_equipment_cost = True
auto_adjust = True |
t = """DrawBot is an powerful, free application for MacOSX that invites you to write simple Python scripts to generate two-dimensional graphics. The builtin graphics primitives support rectangles, ovals, (bezier) paths, polygons, text objects and transparency.
DrawBot is an ideal tool to teach the basics of programming. Students get colorful graphic treats while getting familiar with variables, conditional statements, functions and what have you. Results can be saved in a selection of different file formats, including as high resolution, scaleable PDF.
DrawBot has proven itself as part of the curriculum at selected courses at the Royal Academy in The Hague."""
# setting some variables
# setting the size
x, y, w, h = 10, 10, 480, 480
# setting the color change over different frames
coloradd = .1
# setting the start background color only red and blue
r = .3
b = 1
# start a loop and run as long there is t variable has some text
while len(t):
# create a new page
newPage(500, 500)
# set a frame duration
frameDuration(3)
# set the background fill
fill(r, 0, b)
# draw the background
rect(x, y, w, h)
# set a fill color
fill(0)
# set a font with a size
font("DrawBot-Bold", randint(50, 100))
# pick some random colors
rr = random()
gg = random()
bb = random()
# set a gradient as fill
radialGradient((250, 250), (250, 250), [(rr, gg, bb), (1-rr, 1-gg, 1-bb)], startRadius=0, endRadius=250)
# draw the text in a box with the gradient fill
t = textBox(t, (x, y, w, h))
# setting the color for the next frame
r += coloradd
b -= coloradd
# set a font
font("DrawBot-Bold", 20)
# get the page count text size as a (width, height) tuple
tw, th = textSize("%s" % PAGECOUNT)
# draw the text
textBox("%s" % PAGECOUNT, (10, 10, 480, th), align="center")
saveImage("~/Desktop/drawbot.mov")
| t = 'DrawBot is an powerful, free application for MacOSX that invites you to write simple Python scripts to generate two-dimensional graphics. The builtin graphics primitives support rectangles, ovals, (bezier) paths, polygons, text objects and transparency. \nDrawBot is an ideal tool to teach the basics of programming. Students get colorful graphic treats while getting familiar with variables, conditional statements, functions and what have you. Results can be saved in a selection of different file formats, including as high resolution, scaleable PDF. \nDrawBot has proven itself as part of the curriculum at selected courses at the Royal Academy in The Hague.'
(x, y, w, h) = (10, 10, 480, 480)
coloradd = 0.1
r = 0.3
b = 1
while len(t):
new_page(500, 500)
frame_duration(3)
fill(r, 0, b)
rect(x, y, w, h)
fill(0)
font('DrawBot-Bold', randint(50, 100))
rr = random()
gg = random()
bb = random()
radial_gradient((250, 250), (250, 250), [(rr, gg, bb), (1 - rr, 1 - gg, 1 - bb)], startRadius=0, endRadius=250)
t = text_box(t, (x, y, w, h))
r += coloradd
b -= coloradd
font('DrawBot-Bold', 20)
(tw, th) = text_size('%s' % PAGECOUNT)
text_box('%s' % PAGECOUNT, (10, 10, 480, th), align='center')
save_image('~/Desktop/drawbot.mov') |
class Solution:
def gen(self, nums, target):
for i, A in enumerate(nums, 0):
for k, B in enumerate(nums[i + 1:], i + 1):
if target - A == B:
yield list((i, k))
def twoSum(self, nums: List[int], target: int) -> List[int]:
for a in self.gen(nums, target):
return a
| class Solution:
def gen(self, nums, target):
for (i, a) in enumerate(nums, 0):
for (k, b) in enumerate(nums[i + 1:], i + 1):
if target - A == B:
yield list((i, k))
def two_sum(self, nums: List[int], target: int) -> List[int]:
for a in self.gen(nums, target):
return a |
"""
Holds all global app variables.
"""
SUPPLIER_DEFAULT_INVENTORY_INTERVAL = 86400
THK_VERSION_NUMBER = "2.0.0"
THK_VERSION_NAME = "Arrakis"
THK_CYCLE_PID = "ThunderhawkCycle"
THK_CYCLE_LAST_POSITION = "thunderhawk cycle last position"
"""
Collections.
"""
MONGO_USERS_COLLECTION = "Users"
MONGO_SUPPLIER_REGISTER_COLLECTION = "SupplierRegister"
MONGO_SUPPLIER_UNAVAILABLE_PRODUCT_COLLECTION = "UnavailableSupplierProducts"
MONGO_SUPPLIER_PRODUCT_GROUPING_COLLECTION = "SupplierProductGroups"
MONGO_SUPPLIER_HISTORICAL_PRODUCT_COLLECTION = "SupplierHistoricalProducts"
MONGO_SUPPLIER_PRODUCT_COLLECTION = "SupplierProducts"
MONGO_SUPPLIER_PRODUCT_IMAGE_COLLECTION = "SupplierProductImages"
MONGO_SUPPLIER_PRODUCT_METAFIELDS_COLLECTION = "SupplierProductMetafields"
MONGO_SUPPLIER_PRODUCT_METAFIELD_CONFIG_COLLECTION = "SupplierProductMetafieldConfig"
MONGO_MASTER_PRODUCT_COLLECTION = "MasterProductData"
MONGO_TAGS_TAG_FILTER_COLLECTION = "TagFilters"
MONGO_MASTER_PRODUCT_OVERRIDES_COLLECTION = "MasterProductDataOverrides"
MONGO_MASTER_PRODUCT_TAG_GROUPING_COLLECTION = "MasterProductTagGrouping"
MONGO_MASTER_PRODUCT_TRANSPOSITIONS_COLLECTION = "MasterProductTranspositions"
MONGO_MASTER_PRODUCT_BUILD_QUEUE_COLLECTION = "MasterProductBuildQueue"
MONGO_REDIS_QUEUE_COLLECTION = "RedisQueueJobs"
MONGO_THK_LOG_COLLECTION = "Log"
MONGO_THK_REPORTS_COLLECTION = "Reports"
MONGO_THK_SETTINGS_COLLECTION = "Settings"
MONGO_THK_GOOGLEADS_COLLECTION = "GoogleAds"
"""
PATHS
"""
THK_DATA_DIR = "data"
THK_FEEDS_DIR = "feeds"
# Config file paths
THK_CONFIG_DIR = "config"
THK_CONFIG__FEEDS_DIR = "{}/{}".format(THK_CONFIG_DIR, "feeds")
THK_CONFIG__SUPPLIERS_DIR = "{}/{}".format(THK_CONFIG_DIR, "suppliers")
THK_CONFIG__TAGS_DIR = "{}/{}".format(THK_CONFIG_DIR, "tags")
THK_CONFIG__ADVERTISING_DIR = "{}/{}".format(THK_CONFIG_DIR, "advertising")
THK_CONFIG__ADWORDS_DIR = "{}/{}".format(THK_CONFIG__ADVERTISING_DIR, "adwords")
THK_CONFIG__ADWORDS_CAMPAIGN_DIR = "{}/{}".format(THK_CONFIG__ADWORDS_DIR, "campaign")
"""
Global field/collection field names and tags.
"""
THK_ACTIVE = "active"
THK_STAGED = "staged"
THK_SUPPLIER = "supplier"
THK_TIMESTAMP = "timestamp"
THK_PRODUCT = "product"
THK_PRODUCT_AVAILABLE = "available"
THK_UNIQUE_FIELD = "uniqueField"
THK_NEW_PRODUCT = "new"
THK_REPORT = "report"
THK_FIELDS = "fields"
THK_METAFIELDS = "metafields"
THK_THUMBNAIL = "thumbnail"
THK_ALT_TEXT = "altText"
THK_ALT = "alt"
THK_ATTACHMENT = "attachment"
THK_HISTORICAL_INVENTORY_LEVEL = "inventory"
THK_HISTORICAL_INVENTORY_DIFFERENCE = "difference"
THK_FILENAME = "filename"
THK_FILESIZE = "filesize"
THK_METAFIELD_LABEL = "label"
THK_METAFIELD_VALUE = "value"
THK_DEFAULT_IMAGE_DIR = "static/images"
THK_DEFAULT_UNIQUE_FIELD = "SKU"
THK_METAFIELD_MAPPING = "mapping"
THK_TRANSPOSITION = "transposition"
THK_METAFIELD_ACTIVE = "active"
THK_METAFIELD_STORE_WEIGHT = "weight"
THK_SUPPLIER_PRODUCT_OBJECT_ID = "supplierProductId"
THK_MASTER_PRODUCT_OBJECT_ID = "masterProductId"
"""
Variants
"""
THK_VARIANTS = "variants"
THK_VARIATION_GROUP = "group"
THK_VARIATION_PRODUCTS = "products"
THK_VARIATION_ATTRIBUTES__LABEL = "label"
THK_VARIATION_ATTRIBUTES__FIELD = "field"
THK_VARIATION_ATTRIBUTES__APPEND = "append"
THK_VARIATION_ATTRIBUTES__FORMAT = "format"
THK_VARIATION_ATTRIBUTES__METHOD = "method"
"""
Images
"""
THK_IMAGES = "images"
THK_IMAGES__FILENAME = "filename"
THK_IMAGES__URL = "url"
THK_IMAGES__ALT = "alt"
"""
Tag Filters
"""
THK_TAG_FILTERS__NAME = "name"
THK_TAG_FILTERS__MAPPING = "mapping"
THK_TAG_FILTERS__SUPPLIER = "supplier"
"""
Settings
"""
THK_SETTINGS_GROUP = "group"
THK_SETTINGS_DATA = "data"
"""
Settings Groups
"""
THK_SETTINGS_GROUP__THK = "thunderhawk"
"""
Supplier Register Variables
"""
THK_SUPPLIER_REGISTER__STAGING_QUEUE = "staging_queue"
THK_SUPPLIER_REGISTER__PURGE_QUEUE = "purge_queue"
"""
Logging
"""
THK_LOG_MAX_ENTRIES = 10000
THK_LOG_CATEGORY = "category"
THK_LOG_CATEGORY__SYSTEM = "system"
THK_LOG_MESSAGE = "message"
THK_LOG_STATUS_CODE = "code"
THK_LOG_STATUS__INFO = "info"
THK_LOG_STATUS__STATUS = "status"
THK_LOG_STATUS__NOTICE = "notice"
THK_LOG_STATUS__WARNING = "warning"
THK_LOG_STATUS__ERROR = "error"
THK_LOG_STATUS_CODES = [
THK_LOG_STATUS__INFO,
THK_LOG_STATUS__STATUS,
THK_LOG_STATUS__NOTICE,
THK_LOG_STATUS__ERROR,
THK_LOG_STATUS__WARNING,
]
"""
Supplier Purge Options
"""
THK_SUPPLIER_PURGE_OPTION__ALL = "All"
THK_SUPPLIER_PURGE_OPTION__CURRENT = "Current Product Data"
THK_SUPPLIER_PURGE_OPTION__HISTORICAL = "Historical Product Data"
THK_SUPPLIER_PURGE_OPTION__IMAGES = "Image Data"
THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCTS = "Master Product Data"
THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCT_OVERRIDES = "Master Product Override Data"
THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCT_QUEUE = "Master Product Queue Data"
THK_SUPPLIER_PURGE_OPTION__METAFIELD_CONFIG = "Metafield Config Data"
THK_SUPPLIER_PURGE_OPTION__METAFIELDS = "Metafield Data"
THK_SUPPLIER_PURGE_OPTION__GROUPING = "Product Grouping Data"
THK_SUPPLIER_PURGE_OPTION__UNAVAILABLE = "Unavailable Product Data"
THK_SUPPLIER_PURGE_OPTIONS = (
THK_SUPPLIER_PURGE_OPTION__ALL,
THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCTS,
THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCT_OVERRIDES,
THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCT_QUEUE,
THK_SUPPLIER_PURGE_OPTION__CURRENT,
THK_SUPPLIER_PURGE_OPTION__HISTORICAL,
THK_SUPPLIER_PURGE_OPTION__METAFIELD_CONFIG,
THK_SUPPLIER_PURGE_OPTION__METAFIELDS,
THK_SUPPLIER_PURGE_OPTION__IMAGES,
THK_SUPPLIER_PURGE_OPTION__GROUPING,
THK_SUPPLIER_PURGE_OPTION__UNAVAILABLE,
)
"""
Possible Queue Actions
"""
THK_QUEUE_ACTIONS = "actions"
THK_QUEUE_ACTION__REBUILD = "rebuild"
THK_QUEUE_ACTION__DELETE = "delete"
THK_QUEUE_AVAILABLE_ACTIONS = [
THK_QUEUE_ACTION__REBUILD,
THK_QUEUE_ACTION__DELETE,
]
"""
Redis Queue Job Store Fields.
"""
REDIS_QUEUE__JOB_NAME = "name"
REDIS_QUEUE__JOB_ID = "jobId"
REDIS_QUEUE__DATA = "data"
REDIS_QUEUE__TIMESTAMP = "timestamp"
"""
Redis Queue Job Names
"""
REDIS_QUEUE_JOB__CACHE_ADWORDS_CAMPAIGNS = "CacheAdWordsCampaigns"
REDIS_QUEUE_JOB__CACHE_ADWORDS_ADGROUPS = "CacheAdWordsAdGroups"
REDIS_QUEUE_JOB__GENERATE_ADWORDS_BID_STRUCTURE = "GenerateAdWordsBidStructure"
REDIS_QUEUE_JOB__REBUILD_INVALID_VARIANT_REPORT = "RebuildInvalidVariantReport"
REDIS_QUEUE_JOB__SYNC_FILTERED_TRANSPOSITION_PRODUCTS = "SyncFilteredTranspositionProducts"
"""
Redis Queue Job Settings
"""
REDIS_QUEUE_JOB__JOB_TIMEOUT__DEFAULT = "10m"
REDIS_QUEUE_JOB__JOB_TIMEOUT__REPORTS_DEFAULT = "1h"
REDIS_QUEUE_JOB__JOB_TIMEOUT__SYNC_FILTERED_TRANSPOSITION_PRODUCTS = "1h"
"""
Advertising Variables
"""
ADWORDS_CLIENT_VERSION = "v201809"
ADWORDS_USER_AGENT = "Thunderhawk"
ADWORDS_TYPE__CAMPAIGN = "campaign"
ADWORDS_TYPE__ADGROUP = "ad group"
ADWORDS_TYPE__PRODUCT_PARTITION = "product partition"
ADWORDS_MICRO_AMOUNT_VALUE = 1000000
"""
Reports
"""
REPORT__INVALID_VARIANT_REPORT = "InvalidVariantReport"
REPORT__INVALID_VARIANT_REPORT__MISSING_ATTRIBUTES = "missing attributes"
REPORT__INVALID_VARIANT_REPORT__DUPLICATE_ATTRIBUTES = "duplicate attributes"
"""
Thumbnail settings, these are used to display
smaller versions of images for optimization
purposed in the web ui.
"""
# The web dir should be the location a static
# link can be made from.
THK_THUMBNAILS_DIR = "web/static/assets/thumbs"
THK_THUMBNAILS_WEB_DIR = "assets/thumbs"
THK_THUMBNAILS_SIZE = (250, 250)
"""
Supplier Tag Map Globals
"""
SUPPLIER_TAG_MAP__METHOD = "method"
SUPPLIER_TAG_MAP__FIELD = "field"
SUPPLIER_TAG_MAP__FILTER = "filter"
SUPPLIER_TAG_MAP__DELIMITER = "delimiter"
SUPPLIER_TAG_MAP__VALUE = "value"
# Tag Map Methods
SUPPLIER_TAG_MAP__METHOD_SPLIT = "split"
SUPPLIER_TAG_MAP__METHOD_VALUE = "value"
SUPPLIER_TAG_MAP__METHOD_FILTER = "filter"
"""
Supplier products should be mapped to these fields name,
when the transposer runs through, it will map any fields
that have been mapped to these and assume these as their
value.
Metafields can be mapped when transposing in the supplier config
file using $Metafields followed by a colon and then the metafield key i.e.
$Metafields:_description will map the description from the metafields
for a product if it has it available.
"""
MASTER_PRODUCT_FIELD__IDENTIFIER = "sku"
MASTER_PRODUCT_FIELD__ATTRIBUTES = "attributes"
MASTER_PRODUCT_FIELD__TYPE = "type"
MASTER_PRODUCT_FIELD__TITLE = "title"
MASTER_PRODUCT_FIELD__BODY = "body"
MASTER_PRODUCT_FIELD__BARCODE = "barcode"
MASTER_PRODUCT_FIELD__VENDOR = "vendor" # The Supplier Id
MASTER_PRODUCT_FIELD__VENDOR_NAME = "vendor name" # The Supplier friendly name.
MASTER_PRODUCT_FIELD__COLLECTION = "collection"
MASTER_PRODUCT_FIELD__PRICE = "price"
MASTER_PRODUCT_FIELD__COST = "cost"
MASTER_PRODUCT_FIELD__STOCKQTY = "stockQty"
MASTER_PRODUCT_FIELD__TAGS = "tags"
MASTER_PRODUCT_FIELD__WEIGHT = "weight"
MASTER_PRODUCT_FIELD__SEO_TITLE = "seo title"
MASTER_PRODUCT_FIELD__SEO_DESCRIPTION = "seo description"
# Metafields aren't added to the master product fields
# because we map them during the transposition, not
# from a config level.
MASTER_PRODUCT_FIELD__METAFIELDS = "metafields"
MASTER_PRODUCT_FIELDS = (
MASTER_PRODUCT_FIELD__IDENTIFIER, # The SKU of the product, should map to the suppliers unique field.
MASTER_PRODUCT_FIELD__TAGS, # The tags for the product.
MASTER_PRODUCT_FIELD__TITLE, # The product display title.
MASTER_PRODUCT_FIELD__TYPE, # The product type i.e. Pendulum.
MASTER_PRODUCT_FIELD__BODY, # Product description/body text containing HTML.
MASTER_PRODUCT_FIELD__BARCODE, # Product barcode (ISBN, UPC, GTIN, etc.)
MASTER_PRODUCT_FIELD__VENDOR, # The product vendor or supplier name.
MASTER_PRODUCT_FIELD__COLLECTION, # The suppliers collection, separated by commas.
MASTER_PRODUCT_FIELD__PRICE, # The supplier product cost with applied markup.
MASTER_PRODUCT_FIELD__COST, # The supplier product cost.
MASTER_PRODUCT_FIELD__STOCKQTY, # The stock level for the supplier product.
MASTER_PRODUCT_FIELD__WEIGHT, # The weight for the supplier product.
MASTER_PRODUCT_FIELD__SEO_TITLE, # The seo title for the supplier product.
MASTER_PRODUCT_FIELD__SEO_DESCRIPTION, # The seo description for the supplier product.
MASTER_PRODUCT_FIELD__ATTRIBUTES, # The product attributes for variants i.e. color, size.
)
# Master Product fields that cannot be edited.
MASTER_PRODUCT_DISALLOWED_EDIT_FIELDS = (
MASTER_PRODUCT_FIELD__IDENTIFIER, # The SKU of the product, should map to the suppliers unique field.
MASTER_PRODUCT_FIELD__VENDOR, # The product vendor or supplier name.
) | """
Holds all global app variables.
"""
supplier_default_inventory_interval = 86400
thk_version_number = '2.0.0'
thk_version_name = 'Arrakis'
thk_cycle_pid = 'ThunderhawkCycle'
thk_cycle_last_position = 'thunderhawk cycle last position'
'\nCollections.\n'
mongo_users_collection = 'Users'
mongo_supplier_register_collection = 'SupplierRegister'
mongo_supplier_unavailable_product_collection = 'UnavailableSupplierProducts'
mongo_supplier_product_grouping_collection = 'SupplierProductGroups'
mongo_supplier_historical_product_collection = 'SupplierHistoricalProducts'
mongo_supplier_product_collection = 'SupplierProducts'
mongo_supplier_product_image_collection = 'SupplierProductImages'
mongo_supplier_product_metafields_collection = 'SupplierProductMetafields'
mongo_supplier_product_metafield_config_collection = 'SupplierProductMetafieldConfig'
mongo_master_product_collection = 'MasterProductData'
mongo_tags_tag_filter_collection = 'TagFilters'
mongo_master_product_overrides_collection = 'MasterProductDataOverrides'
mongo_master_product_tag_grouping_collection = 'MasterProductTagGrouping'
mongo_master_product_transpositions_collection = 'MasterProductTranspositions'
mongo_master_product_build_queue_collection = 'MasterProductBuildQueue'
mongo_redis_queue_collection = 'RedisQueueJobs'
mongo_thk_log_collection = 'Log'
mongo_thk_reports_collection = 'Reports'
mongo_thk_settings_collection = 'Settings'
mongo_thk_googleads_collection = 'GoogleAds'
'\nPATHS\n'
thk_data_dir = 'data'
thk_feeds_dir = 'feeds'
thk_config_dir = 'config'
thk_config__feeds_dir = '{}/{}'.format(THK_CONFIG_DIR, 'feeds')
thk_config__suppliers_dir = '{}/{}'.format(THK_CONFIG_DIR, 'suppliers')
thk_config__tags_dir = '{}/{}'.format(THK_CONFIG_DIR, 'tags')
thk_config__advertising_dir = '{}/{}'.format(THK_CONFIG_DIR, 'advertising')
thk_config__adwords_dir = '{}/{}'.format(THK_CONFIG__ADVERTISING_DIR, 'adwords')
thk_config__adwords_campaign_dir = '{}/{}'.format(THK_CONFIG__ADWORDS_DIR, 'campaign')
'\nGlobal field/collection field names and tags.\n'
thk_active = 'active'
thk_staged = 'staged'
thk_supplier = 'supplier'
thk_timestamp = 'timestamp'
thk_product = 'product'
thk_product_available = 'available'
thk_unique_field = 'uniqueField'
thk_new_product = 'new'
thk_report = 'report'
thk_fields = 'fields'
thk_metafields = 'metafields'
thk_thumbnail = 'thumbnail'
thk_alt_text = 'altText'
thk_alt = 'alt'
thk_attachment = 'attachment'
thk_historical_inventory_level = 'inventory'
thk_historical_inventory_difference = 'difference'
thk_filename = 'filename'
thk_filesize = 'filesize'
thk_metafield_label = 'label'
thk_metafield_value = 'value'
thk_default_image_dir = 'static/images'
thk_default_unique_field = 'SKU'
thk_metafield_mapping = 'mapping'
thk_transposition = 'transposition'
thk_metafield_active = 'active'
thk_metafield_store_weight = 'weight'
thk_supplier_product_object_id = 'supplierProductId'
thk_master_product_object_id = 'masterProductId'
'\nVariants\n'
thk_variants = 'variants'
thk_variation_group = 'group'
thk_variation_products = 'products'
thk_variation_attributes__label = 'label'
thk_variation_attributes__field = 'field'
thk_variation_attributes__append = 'append'
thk_variation_attributes__format = 'format'
thk_variation_attributes__method = 'method'
'\nImages\n'
thk_images = 'images'
thk_images__filename = 'filename'
thk_images__url = 'url'
thk_images__alt = 'alt'
'\nTag Filters\n'
thk_tag_filters__name = 'name'
thk_tag_filters__mapping = 'mapping'
thk_tag_filters__supplier = 'supplier'
'\nSettings\n'
thk_settings_group = 'group'
thk_settings_data = 'data'
'\nSettings Groups\n'
thk_settings_group__thk = 'thunderhawk'
'\nSupplier Register Variables\n'
thk_supplier_register__staging_queue = 'staging_queue'
thk_supplier_register__purge_queue = 'purge_queue'
'\nLogging\n'
thk_log_max_entries = 10000
thk_log_category = 'category'
thk_log_category__system = 'system'
thk_log_message = 'message'
thk_log_status_code = 'code'
thk_log_status__info = 'info'
thk_log_status__status = 'status'
thk_log_status__notice = 'notice'
thk_log_status__warning = 'warning'
thk_log_status__error = 'error'
thk_log_status_codes = [THK_LOG_STATUS__INFO, THK_LOG_STATUS__STATUS, THK_LOG_STATUS__NOTICE, THK_LOG_STATUS__ERROR, THK_LOG_STATUS__WARNING]
'\nSupplier Purge Options\n'
thk_supplier_purge_option__all = 'All'
thk_supplier_purge_option__current = 'Current Product Data'
thk_supplier_purge_option__historical = 'Historical Product Data'
thk_supplier_purge_option__images = 'Image Data'
thk_supplier_purge_option__master_products = 'Master Product Data'
thk_supplier_purge_option__master_product_overrides = 'Master Product Override Data'
thk_supplier_purge_option__master_product_queue = 'Master Product Queue Data'
thk_supplier_purge_option__metafield_config = 'Metafield Config Data'
thk_supplier_purge_option__metafields = 'Metafield Data'
thk_supplier_purge_option__grouping = 'Product Grouping Data'
thk_supplier_purge_option__unavailable = 'Unavailable Product Data'
thk_supplier_purge_options = (THK_SUPPLIER_PURGE_OPTION__ALL, THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCTS, THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCT_OVERRIDES, THK_SUPPLIER_PURGE_OPTION__MASTER_PRODUCT_QUEUE, THK_SUPPLIER_PURGE_OPTION__CURRENT, THK_SUPPLIER_PURGE_OPTION__HISTORICAL, THK_SUPPLIER_PURGE_OPTION__METAFIELD_CONFIG, THK_SUPPLIER_PURGE_OPTION__METAFIELDS, THK_SUPPLIER_PURGE_OPTION__IMAGES, THK_SUPPLIER_PURGE_OPTION__GROUPING, THK_SUPPLIER_PURGE_OPTION__UNAVAILABLE)
'\nPossible Queue Actions\n'
thk_queue_actions = 'actions'
thk_queue_action__rebuild = 'rebuild'
thk_queue_action__delete = 'delete'
thk_queue_available_actions = [THK_QUEUE_ACTION__REBUILD, THK_QUEUE_ACTION__DELETE]
'\nRedis Queue Job Store Fields.\n'
redis_queue__job_name = 'name'
redis_queue__job_id = 'jobId'
redis_queue__data = 'data'
redis_queue__timestamp = 'timestamp'
'\nRedis Queue Job Names\n'
redis_queue_job__cache_adwords_campaigns = 'CacheAdWordsCampaigns'
redis_queue_job__cache_adwords_adgroups = 'CacheAdWordsAdGroups'
redis_queue_job__generate_adwords_bid_structure = 'GenerateAdWordsBidStructure'
redis_queue_job__rebuild_invalid_variant_report = 'RebuildInvalidVariantReport'
redis_queue_job__sync_filtered_transposition_products = 'SyncFilteredTranspositionProducts'
'\nRedis Queue Job Settings\n'
redis_queue_job__job_timeout__default = '10m'
redis_queue_job__job_timeout__reports_default = '1h'
redis_queue_job__job_timeout__sync_filtered_transposition_products = '1h'
'\nAdvertising Variables\n'
adwords_client_version = 'v201809'
adwords_user_agent = 'Thunderhawk'
adwords_type__campaign = 'campaign'
adwords_type__adgroup = 'ad group'
adwords_type__product_partition = 'product partition'
adwords_micro_amount_value = 1000000
'\nReports\n'
report__invalid_variant_report = 'InvalidVariantReport'
report__invalid_variant_report__missing_attributes = 'missing attributes'
report__invalid_variant_report__duplicate_attributes = 'duplicate attributes'
'\nThumbnail settings, these are used to display\nsmaller versions of images for optimization\npurposed in the web ui. \n'
thk_thumbnails_dir = 'web/static/assets/thumbs'
thk_thumbnails_web_dir = 'assets/thumbs'
thk_thumbnails_size = (250, 250)
'\nSupplier Tag Map Globals\n'
supplier_tag_map__method = 'method'
supplier_tag_map__field = 'field'
supplier_tag_map__filter = 'filter'
supplier_tag_map__delimiter = 'delimiter'
supplier_tag_map__value = 'value'
supplier_tag_map__method_split = 'split'
supplier_tag_map__method_value = 'value'
supplier_tag_map__method_filter = 'filter'
'\nSupplier products should be mapped to these fields name,\nwhen the transposer runs through, it will map any fields\nthat have been mapped to these and assume these as their\nvalue.\n\nMetafields can be mapped when transposing in the supplier config\nfile using $Metafields followed by a colon and then the metafield key i.e.\n$Metafields:_description will map the description from the metafields\nfor a product if it has it available.\n'
master_product_field__identifier = 'sku'
master_product_field__attributes = 'attributes'
master_product_field__type = 'type'
master_product_field__title = 'title'
master_product_field__body = 'body'
master_product_field__barcode = 'barcode'
master_product_field__vendor = 'vendor'
master_product_field__vendor_name = 'vendor name'
master_product_field__collection = 'collection'
master_product_field__price = 'price'
master_product_field__cost = 'cost'
master_product_field__stockqty = 'stockQty'
master_product_field__tags = 'tags'
master_product_field__weight = 'weight'
master_product_field__seo_title = 'seo title'
master_product_field__seo_description = 'seo description'
master_product_field__metafields = 'metafields'
master_product_fields = (MASTER_PRODUCT_FIELD__IDENTIFIER, MASTER_PRODUCT_FIELD__TAGS, MASTER_PRODUCT_FIELD__TITLE, MASTER_PRODUCT_FIELD__TYPE, MASTER_PRODUCT_FIELD__BODY, MASTER_PRODUCT_FIELD__BARCODE, MASTER_PRODUCT_FIELD__VENDOR, MASTER_PRODUCT_FIELD__COLLECTION, MASTER_PRODUCT_FIELD__PRICE, MASTER_PRODUCT_FIELD__COST, MASTER_PRODUCT_FIELD__STOCKQTY, MASTER_PRODUCT_FIELD__WEIGHT, MASTER_PRODUCT_FIELD__SEO_TITLE, MASTER_PRODUCT_FIELD__SEO_DESCRIPTION, MASTER_PRODUCT_FIELD__ATTRIBUTES)
master_product_disallowed_edit_fields = (MASTER_PRODUCT_FIELD__IDENTIFIER, MASTER_PRODUCT_FIELD__VENDOR) |
class Solution:
def fib(self, n: int) -> int:
if (n == 0):
return 0
if (n == 1):
return 1
last = 1
lastlast = 0
for i in range(n-1):
tmp = last
last += lastlast
lastlast = tmp
return last
| class Solution:
def fib(self, n: int) -> int:
if n == 0:
return 0
if n == 1:
return 1
last = 1
lastlast = 0
for i in range(n - 1):
tmp = last
last += lastlast
lastlast = tmp
return last |
# heuristic monster types lists
ONLY_RANGED_SLOW_MONSTERS = ['floating eye', 'blue jelly', 'brown mold', 'gas spore', 'acid blob']
EXPLODING_MONSTERS = ['yellow light', 'gas spore', 'flaming sphere', 'freezing sphere', 'shocking sphere']
INSECTS = ['giant ant', 'killer bee', 'soldier ant', 'fire ant', 'giant beetle', 'queen bee']
WEAK_MONSTERS = ['lichen', 'newt', 'shrieker', 'grid bug']
WEIRD_MONSTERS = ['leprechaun', 'nymph']
def is_monster_faster(agent, monster):
_, y, x, mon, _ = monster
# TOOD: implement properly
return 'bat' in mon.mname or 'dog' in mon.mname or 'cat' in mon.mname \
or 'kitten' in mon.mname or 'pony' in mon.mname or 'horse' in mon.mname \
or 'bee' in mon.mname or 'fox' in mon.mname
def imminent_death_on_melee(agent, monster):
if is_dangerous_monster(monster):
return agent.blstats.hitpoints <= 16
return agent.blstats.hitpoints <= 8
def is_dangerous_monster(monster):
_, y, x, mon, _ = monster
is_pet = 'dog' in mon.mname or 'cat' in mon.mname or 'kitten' in mon.mname or 'pony' in mon.mname \
or 'horse' in mon.mname
# 'mumak' in mon.mname or 'orc' in mon.mname or 'rothe' in mon.mname \
# or 'were' in mon.mname or 'unicorn' in mon.mname or 'elf' in mon.mname or 'leocrotta' in mon.mname \
# or 'mimic' in mon.mname
return is_pet or mon.mname in INSECTS
def consider_melee_only_ranged_if_hp_full(agent, monster):
return monster[3].mname in ('brown mold', 'blue jelly') and agent.blstats.hitpoints == agent.blstats.max_hitpoints
| only_ranged_slow_monsters = ['floating eye', 'blue jelly', 'brown mold', 'gas spore', 'acid blob']
exploding_monsters = ['yellow light', 'gas spore', 'flaming sphere', 'freezing sphere', 'shocking sphere']
insects = ['giant ant', 'killer bee', 'soldier ant', 'fire ant', 'giant beetle', 'queen bee']
weak_monsters = ['lichen', 'newt', 'shrieker', 'grid bug']
weird_monsters = ['leprechaun', 'nymph']
def is_monster_faster(agent, monster):
(_, y, x, mon, _) = monster
return 'bat' in mon.mname or 'dog' in mon.mname or 'cat' in mon.mname or ('kitten' in mon.mname) or ('pony' in mon.mname) or ('horse' in mon.mname) or ('bee' in mon.mname) or ('fox' in mon.mname)
def imminent_death_on_melee(agent, monster):
if is_dangerous_monster(monster):
return agent.blstats.hitpoints <= 16
return agent.blstats.hitpoints <= 8
def is_dangerous_monster(monster):
(_, y, x, mon, _) = monster
is_pet = 'dog' in mon.mname or 'cat' in mon.mname or 'kitten' in mon.mname or ('pony' in mon.mname) or ('horse' in mon.mname)
return is_pet or mon.mname in INSECTS
def consider_melee_only_ranged_if_hp_full(agent, monster):
return monster[3].mname in ('brown mold', 'blue jelly') and agent.blstats.hitpoints == agent.blstats.max_hitpoints |
Point = tuple([int, int])
class Field:
"""Placeholder object for a single field in the grid.
It can empty, inaccessible, etc.
Object should fully describe what's at `self.point`,
but implement no mechanism for change."""
def __init__(self, point: Point):
self.point = point
self.pirates = []
self.contains_player = False
self.player_can_access = True
def __repr__(self):
return f"<Field: {self.point}>"
class PointIndexed:
"""Wrapper for multi-dimensional list-like, L.
Replaces indexing by L[x][y] with L[x, y] instead."""
def __init__(self, wrapped):
self._wrapped = wrapped
self._shape = self._init_shape(wrapped)
def __repr__(self):
type_ = type(self)
module = type_.__module__
qualname = type_.__qualname__
return "<{}.{} object of shape {} at {}\n{}".format(
module, qualname, self.shape, hex(id(self)), repr(self._wrapped)
)
def __getitem__(self, indices):
current = self._wrapped
for index in indices:
current = current[index]
return current
@property
def shape(self) -> tuple:
return self._shape
@shape.setter
def shape(self, value: tuple):
self._shape = value
def _init_shape(self, wrapped):
"""Calculate dimensions of list-like"""
layer = wrapped
shape = [len(layer)]
while True:
try:
layer = layer[0]
shape.append(len(layer))
except:
break
return tuple(shape)
class AdjacencyList:
"""N-dimensional adjacency list. Implements DFS as a method.
Neighbours are represented by a mapping of node coordinates
to a `list` of neighbouring node coordinates.
Option to instantiate directly from 2-dimensional shape alone.
"""
def __init__(self, grid_shape=None, inaccessible=[]):
self.neighbours = {}
if grid_shape is not None:
self._init_from_grid_shape(grid_shape, inaccessible)
def are_adjacent(self, v1, v2):
return v2 in self.neighbours[v1]
def get_neighbours(self, v):
return self.neighbours.get(v, [])
def insert_edge(self, e):
v1, v2 = e
if v1 not in self.neighbours.keys():
self.neighbours[v1] = []
self.neighbours[v1].append(v2)
if v2 not in self.neighbours.keys():
self.neighbours[v2] = []
self.neighbours[v2].append(v1)
def depth_first_search(self, end, start):
"""Returns True if end node is reachable from start node."""
discovered = {}
def visit(node):
found = False
discovered[node] = True
for nb in self.get_neighbours(node):
if nb == end:
return True
if not discovered.get(nb, False):
found = visit(nb)
return found
return visit(start)
def _init_from_grid_shape(self, grid_shape, inaccessible):
"""Init adjacency list from a rectangular 2D grid of nodes.
Pass over nodes marked "inaccessible"."""
if len(grid_shape) != 2:
raise NotImplementedError("Only 2D grid supported")
rows, cols = grid_shape
for r in range(rows):
for c in range(cols):
node = (r, c)
if node not in inaccessible:
# Insert row edge, if not in last column
if c != cols - 1:
node_right = (r, c + 1)
if node_right not in inaccessible:
self.insert_edge(e=(node, node_right))
# Insert column edge, if not in last row
if r != rows - 1:
node_down = (r + 1, c)
if node_down not in inaccessible:
self.insert_edge(e=(node, node_down))
def points_adjacent(a: Point, b: Point) -> bool:
"""Assert that point `a` differs from point `b`
by -1/1 in row or column direction."""
row_delta_is_one = (a[0] - b[0]) in (-1, 1)
col_delta_is_one = (a[1] - b[1]) in (-1, 1)
xor = row_delta_is_one ^ col_delta_is_one
return xor
def value_is_integer(n) -> bool:
try:
f = float(n)
return f.is_integer()
except:
return False
| point = tuple([int, int])
class Field:
"""Placeholder object for a single field in the grid.
It can empty, inaccessible, etc.
Object should fully describe what's at `self.point`,
but implement no mechanism for change."""
def __init__(self, point: Point):
self.point = point
self.pirates = []
self.contains_player = False
self.player_can_access = True
def __repr__(self):
return f'<Field: {self.point}>'
class Pointindexed:
"""Wrapper for multi-dimensional list-like, L.
Replaces indexing by L[x][y] with L[x, y] instead."""
def __init__(self, wrapped):
self._wrapped = wrapped
self._shape = self._init_shape(wrapped)
def __repr__(self):
type_ = type(self)
module = type_.__module__
qualname = type_.__qualname__
return '<{}.{} object of shape {} at {}\n{}'.format(module, qualname, self.shape, hex(id(self)), repr(self._wrapped))
def __getitem__(self, indices):
current = self._wrapped
for index in indices:
current = current[index]
return current
@property
def shape(self) -> tuple:
return self._shape
@shape.setter
def shape(self, value: tuple):
self._shape = value
def _init_shape(self, wrapped):
"""Calculate dimensions of list-like"""
layer = wrapped
shape = [len(layer)]
while True:
try:
layer = layer[0]
shape.append(len(layer))
except:
break
return tuple(shape)
class Adjacencylist:
"""N-dimensional adjacency list. Implements DFS as a method.
Neighbours are represented by a mapping of node coordinates
to a `list` of neighbouring node coordinates.
Option to instantiate directly from 2-dimensional shape alone.
"""
def __init__(self, grid_shape=None, inaccessible=[]):
self.neighbours = {}
if grid_shape is not None:
self._init_from_grid_shape(grid_shape, inaccessible)
def are_adjacent(self, v1, v2):
return v2 in self.neighbours[v1]
def get_neighbours(self, v):
return self.neighbours.get(v, [])
def insert_edge(self, e):
(v1, v2) = e
if v1 not in self.neighbours.keys():
self.neighbours[v1] = []
self.neighbours[v1].append(v2)
if v2 not in self.neighbours.keys():
self.neighbours[v2] = []
self.neighbours[v2].append(v1)
def depth_first_search(self, end, start):
"""Returns True if end node is reachable from start node."""
discovered = {}
def visit(node):
found = False
discovered[node] = True
for nb in self.get_neighbours(node):
if nb == end:
return True
if not discovered.get(nb, False):
found = visit(nb)
return found
return visit(start)
def _init_from_grid_shape(self, grid_shape, inaccessible):
"""Init adjacency list from a rectangular 2D grid of nodes.
Pass over nodes marked "inaccessible"."""
if len(grid_shape) != 2:
raise not_implemented_error('Only 2D grid supported')
(rows, cols) = grid_shape
for r in range(rows):
for c in range(cols):
node = (r, c)
if node not in inaccessible:
if c != cols - 1:
node_right = (r, c + 1)
if node_right not in inaccessible:
self.insert_edge(e=(node, node_right))
if r != rows - 1:
node_down = (r + 1, c)
if node_down not in inaccessible:
self.insert_edge(e=(node, node_down))
def points_adjacent(a: Point, b: Point) -> bool:
"""Assert that point `a` differs from point `b`
by -1/1 in row or column direction."""
row_delta_is_one = a[0] - b[0] in (-1, 1)
col_delta_is_one = a[1] - b[1] in (-1, 1)
xor = row_delta_is_one ^ col_delta_is_one
return xor
def value_is_integer(n) -> bool:
try:
f = float(n)
return f.is_integer()
except:
return False |
'''
For a non-negative integer X, the array-form of X is an array of its digits in left to right order. For example, if X = 1231, then the array form is [1,2,3,1].
Given the array-form A of a non-negative integer X, return the array-form of the integer X+K.
Example 1:
Input: A = [1,2,0,0], K = 34
Output: [1,2,3,4]
Explanation: 1200 + 34 = 1234
'''
class Solution(object):
def addToArrayForm(self, A, K):
"""
:type A: List[int]
:type K: int
:rtype: List[int]
"""
arr_k = []
while K >0:
digit = K%10
K /= 10
arr_k.append(digit)
arr_k.reverse()
if len(arr_k) > len(A):
A, arr_k = arr_k, A
sum_arr = [0]*len(A)
i, j = len(A)-1, len(arr_k)-1
k = len(A) -1
digit_sum, carry = 0, 0
while j >= 0:
curr_sum = A[i] + arr_k[j] + carry
sum_arr[k] = (curr_sum%10)
carry = curr_sum//10
i -= 1
k -= 1
j -= 1
while i >= 0:
curr_sum = A[i] + carry
sum_arr[k] = (curr_sum%10)
carry =curr_sum//10
i -= 1
k -= 1
if carry:
sum_arr = [carry] + sum_arr
return sum_arr
| """
For a non-negative integer X, the array-form of X is an array of its digits in left to right order. For example, if X = 1231, then the array form is [1,2,3,1].
Given the array-form A of a non-negative integer X, return the array-form of the integer X+K.
Example 1:
Input: A = [1,2,0,0], K = 34
Output: [1,2,3,4]
Explanation: 1200 + 34 = 1234
"""
class Solution(object):
def add_to_array_form(self, A, K):
"""
:type A: List[int]
:type K: int
:rtype: List[int]
"""
arr_k = []
while K > 0:
digit = K % 10
k /= 10
arr_k.append(digit)
arr_k.reverse()
if len(arr_k) > len(A):
(a, arr_k) = (arr_k, A)
sum_arr = [0] * len(A)
(i, j) = (len(A) - 1, len(arr_k) - 1)
k = len(A) - 1
(digit_sum, carry) = (0, 0)
while j >= 0:
curr_sum = A[i] + arr_k[j] + carry
sum_arr[k] = curr_sum % 10
carry = curr_sum // 10
i -= 1
k -= 1
j -= 1
while i >= 0:
curr_sum = A[i] + carry
sum_arr[k] = curr_sum % 10
carry = curr_sum // 10
i -= 1
k -= 1
if carry:
sum_arr = [carry] + sum_arr
return sum_arr |
class A:
def __init__(self,a):
self.a = a
a=A(1)
b=A(2)
c=A(3)
abc = [a,b,c]
for i in abc[1:]:
if i.a>2:
i.a=0
abc.remove(i)
for i in abc:
print(i.a) | class A:
def __init__(self, a):
self.a = a
a = a(1)
b = a(2)
c = a(3)
abc = [a, b, c]
for i in abc[1:]:
if i.a > 2:
i.a = 0
abc.remove(i)
for i in abc:
print(i.a) |
# -*- coding: utf-8 -*-
class TracimError(Exception):
pass
class RunTimeError(TracimError):
pass
class ContentRevisionUpdateError(RuntimeError):
pass
class ContentRevisionDeleteError(ContentRevisionUpdateError):
pass
class ConfigurationError(TracimError):
pass
class AlreadyExistError(TracimError):
pass
class CommandError(TracimError):
pass
class CommandAbortedError(CommandError):
pass
| class Tracimerror(Exception):
pass
class Runtimeerror(TracimError):
pass
class Contentrevisionupdateerror(RuntimeError):
pass
class Contentrevisiondeleteerror(ContentRevisionUpdateError):
pass
class Configurationerror(TracimError):
pass
class Alreadyexisterror(TracimError):
pass
class Commanderror(TracimError):
pass
class Commandabortederror(CommandError):
pass |
class Solution:
"""
@param x: the base number
@param n: the power number
@return: the result
"""
def myPow(self, x, n):
negative = False
if n < 0:
negative = True
n = -n
ans = 1
while n > 0:
times = 1
multiply = x
while times * 2 < n:
times *= 2
multiply *= multiply
n -= times
ans *= multiply
if negative:
return 1 / ans
return ans | class Solution:
"""
@param x: the base number
@param n: the power number
@return: the result
"""
def my_pow(self, x, n):
negative = False
if n < 0:
negative = True
n = -n
ans = 1
while n > 0:
times = 1
multiply = x
while times * 2 < n:
times *= 2
multiply *= multiply
n -= times
ans *= multiply
if negative:
return 1 / ans
return ans |
# Video - https://youtu.be/PmW8NfctNpk
def sum_of_digits(n):
n = abs(n)
digits = []
char_digits = list(str(n))
for char_digit in char_digits:
digits.append(int(char_digit))
return sum(digits)
tests = [
(1325132435356, 43),
(123, 6),
(6, 6),
(-10, 1)
]
for n, expected in tests:
result = sum_of_digits(n)
print(result == expected)
| def sum_of_digits(n):
n = abs(n)
digits = []
char_digits = list(str(n))
for char_digit in char_digits:
digits.append(int(char_digit))
return sum(digits)
tests = [(1325132435356, 43), (123, 6), (6, 6), (-10, 1)]
for (n, expected) in tests:
result = sum_of_digits(n)
print(result == expected) |
#!/usr/bin/env python3
class Armor:
ARMOR = {
"Festival T-Shirt":{"defense":2, "value":6, "itemClass":"newb", "desc":"+02 Defense"},
"Offshore Overalls":{"defense":5, "value":10, "itemClass":"hunter", "desc":"+05 Defense - Hunter Classes Only"},
"Cotton Affliction Shirt":{"defense":3, "value":8, "itemClass":"voodoo", "desc":"+03 Defense - Voodoo Classes Only"},
"Denim Downtown Alive Jacket":{"defense":8, "value":15, "itemClass":"hunter", "desc":"+08 Defense - Hunter Classes Only"},
"Hunting Camo":{"defense":15, "value":25, "itemClass":"hunter", "desc":"+15 Defense - Hunter Classes Only"},
"Gold Silk Saints Robe":{"defense":10, "value":16, "itemClass":"voodoo", "desc":"+10 Defense - Voodoo Classes Only"},
"Green Silk IceGators Robe":{"defense":10, "value":16, "itemClass":"voodoo", "desc":"+10 Defense - Voodoo Classes Only"},
"Red Silk Ragin' Cajuns Robe":{"defense":10, "value":16, "itemClass":"voodoo", "desc":"+10 Defense - Voodoo Classes Only"},
"Purple LSU Home Jersey":{"defense":30, "value":55, "itemClass":"hero", "desc":"+30 Defense - Hero Classes Only"},
"White LSU Away Jersey":{"defense":30, "value":55, "itemClass":"hero", "desc":"+30 Defense - Hero Classes Only"},
"Armani Suit from Brother's on the Boulevard":{"defense":50, "value":175, "itemClass":"master", "desc":"+50 Defense - Master Classes Only"},
"Fire-retardent Jumpsuit covered in Tony Chachere's":{"defense":25, "value":150, "itemClass":"mambo", "desc":"+25 Defense - Mambo Classes Only"}
}
def get_real_name(armorName):
for each in Armor.ARMOR:
if each.lower() == armorName.lower():
return each
return False
def get_stats(armorName):
if armorName in Armor.ARMOR:
defense = Armor.ARMOR[armorName]["defense"]
return defense
else:
return False
def check_class(armorName, playerClass):
if Armor.ARMOR[armorName]["itemClass"] == playerClass:
return True
else:
return False
def get_all_class(itemClass):
armorNames = []
for each in Armor.ARMOR:
if Armor.ARMOR[each]["itemClass"] == itemClass:
armorNames.append(each)
return armorNames
def get_shop_data(armorNames):
shopData = []
if isinstance(armorNames, list):
for each in armorNames:
armorIndex = []
armorIndex.append(each)
armorIndex.append(Armor.ARMOR[each]["value"])
armorIndex.append(Armor.ARMOR[each]["desc"])
shopData.append(armorIndex)
else:
shopData.append(armorNames)
shopData.append(Armor.ARMOR[armorNames]["value"])
shopData.append(Armor.ARMOR[armorNames]["desc"])
return shopData
def get_max_lengths(shopData):
"""
Returns the length of the longest values of name and value in the shop data list.
@param shopData - the shop data (list of lists)
@returns maxNameLen - the number of characters in the longest name
@returns maxValueLen - the number of characters in the longest value
"""
maxNameLen = 0
maxValueLen = 0
for each in shopData:
if len(each[0]) > maxNameLen:
maxNameLen = len(each[0])
if len(str(each[1])) > maxValueLen:
maxValueLen = len(str(each[1]))
return maxNameLen, maxValueLen
def unit_test():
def print_shop_format(shopData, itemJust, nameJust, valueJust):
maxNameLen, maxValueLen = Armor.get_max_lengths(shopData)
print("#".ljust(itemJust) + "Name".ljust(maxNameLen + nameJust) + "Cost".ljust(maxValueLen + valueJust) + "Description")
for i, each in enumerate(shopData):
print(str(i+1).ljust(itemJust) + str(each[0]).ljust(maxNameLen + nameJust) + str(each[1]).ljust(maxValueLen + valueJust) + str(each[2]))
print("Current armor list:")
for each in Armor.ARMOR:
print()
print(str(each))
defense = Armor.get_stats(each)
print(" Defense: {}".format(defense))
shopData = Armor.get_shop_data(each)
print(" Name: {} | Value: {} | Description: {}".format(shopData[0], shopData[1], shopData[2]))
print(" Armor Class: {}".format(Armor.ARMOR[each]["itemClass"]))
print(" Is this for newbs? {}".format(Armor.check_class(each, "newb")))
print(" Is this for hunters? {}".format(Armor.check_class(each, "hunter")))
print(" Is this for heroes? {}".format(Armor.check_class(each, "hero")))
print(" Is this for voodoos? {}".format(Armor.check_class(each, "voodoo")))
print(" Is this for mambos? {}".format(Armor.check_class(each, "mambo")))
print(" Is this for masters? {}".format(Armor.check_class(each, "master")))
newbs = Armor.get_all_class("newb")
hunters = Armor.get_all_class("hunter")
heroes = Armor.get_all_class("hero")
voodoos = Armor.get_all_class("voodoo")
mambos = Armor.get_all_class("mambo")
masters = Armor.get_all_class("master")
itemJust = 4
nameJust = 2
valueJust = 4
print("\nNewb Armor:")
for each in newbs:
print(each)
shopData = Armor.get_shop_data(newbs)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print("\nHunter Armor:")
for each in hunters:
print(each)
shopData = Armor.get_shop_data(hunters)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print("\nHero Armor:")
for each in heroes:
print(each)
shopData = Armor.get_shop_data(heroes)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print("\nVoodoo Armor:")
for each in voodoos:
print(each)
shopData = Armor.get_shop_data(voodoos)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print("\nMambo Armor:")
for each in mambos:
print(each)
shopData = Armor.get_shop_data(mambos)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print("\nMaster Armor:")
for each in masters:
print(each)
shopData = Armor.get_shop_data(masters)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print()
input("Press Enter to exit test...")
if __name__ == "__main__":
unit_test()
| class Armor:
armor = {'Festival T-Shirt': {'defense': 2, 'value': 6, 'itemClass': 'newb', 'desc': '+02 Defense'}, 'Offshore Overalls': {'defense': 5, 'value': 10, 'itemClass': 'hunter', 'desc': '+05 Defense - Hunter Classes Only'}, 'Cotton Affliction Shirt': {'defense': 3, 'value': 8, 'itemClass': 'voodoo', 'desc': '+03 Defense - Voodoo Classes Only'}, 'Denim Downtown Alive Jacket': {'defense': 8, 'value': 15, 'itemClass': 'hunter', 'desc': '+08 Defense - Hunter Classes Only'}, 'Hunting Camo': {'defense': 15, 'value': 25, 'itemClass': 'hunter', 'desc': '+15 Defense - Hunter Classes Only'}, 'Gold Silk Saints Robe': {'defense': 10, 'value': 16, 'itemClass': 'voodoo', 'desc': '+10 Defense - Voodoo Classes Only'}, 'Green Silk IceGators Robe': {'defense': 10, 'value': 16, 'itemClass': 'voodoo', 'desc': '+10 Defense - Voodoo Classes Only'}, "Red Silk Ragin' Cajuns Robe": {'defense': 10, 'value': 16, 'itemClass': 'voodoo', 'desc': '+10 Defense - Voodoo Classes Only'}, 'Purple LSU Home Jersey': {'defense': 30, 'value': 55, 'itemClass': 'hero', 'desc': '+30 Defense - Hero Classes Only'}, 'White LSU Away Jersey': {'defense': 30, 'value': 55, 'itemClass': 'hero', 'desc': '+30 Defense - Hero Classes Only'}, "Armani Suit from Brother's on the Boulevard": {'defense': 50, 'value': 175, 'itemClass': 'master', 'desc': '+50 Defense - Master Classes Only'}, "Fire-retardent Jumpsuit covered in Tony Chachere's": {'defense': 25, 'value': 150, 'itemClass': 'mambo', 'desc': '+25 Defense - Mambo Classes Only'}}
def get_real_name(armorName):
for each in Armor.ARMOR:
if each.lower() == armorName.lower():
return each
return False
def get_stats(armorName):
if armorName in Armor.ARMOR:
defense = Armor.ARMOR[armorName]['defense']
return defense
else:
return False
def check_class(armorName, playerClass):
if Armor.ARMOR[armorName]['itemClass'] == playerClass:
return True
else:
return False
def get_all_class(itemClass):
armor_names = []
for each in Armor.ARMOR:
if Armor.ARMOR[each]['itemClass'] == itemClass:
armorNames.append(each)
return armorNames
def get_shop_data(armorNames):
shop_data = []
if isinstance(armorNames, list):
for each in armorNames:
armor_index = []
armorIndex.append(each)
armorIndex.append(Armor.ARMOR[each]['value'])
armorIndex.append(Armor.ARMOR[each]['desc'])
shopData.append(armorIndex)
else:
shopData.append(armorNames)
shopData.append(Armor.ARMOR[armorNames]['value'])
shopData.append(Armor.ARMOR[armorNames]['desc'])
return shopData
def get_max_lengths(shopData):
"""
Returns the length of the longest values of name and value in the shop data list.
@param shopData - the shop data (list of lists)
@returns maxNameLen - the number of characters in the longest name
@returns maxValueLen - the number of characters in the longest value
"""
max_name_len = 0
max_value_len = 0
for each in shopData:
if len(each[0]) > maxNameLen:
max_name_len = len(each[0])
if len(str(each[1])) > maxValueLen:
max_value_len = len(str(each[1]))
return (maxNameLen, maxValueLen)
def unit_test():
def print_shop_format(shopData, itemJust, nameJust, valueJust):
(max_name_len, max_value_len) = Armor.get_max_lengths(shopData)
print('#'.ljust(itemJust) + 'Name'.ljust(maxNameLen + nameJust) + 'Cost'.ljust(maxValueLen + valueJust) + 'Description')
for (i, each) in enumerate(shopData):
print(str(i + 1).ljust(itemJust) + str(each[0]).ljust(maxNameLen + nameJust) + str(each[1]).ljust(maxValueLen + valueJust) + str(each[2]))
print('Current armor list:')
for each in Armor.ARMOR:
print()
print(str(each))
defense = Armor.get_stats(each)
print(' Defense: {}'.format(defense))
shop_data = Armor.get_shop_data(each)
print(' Name: {} | Value: {} | Description: {}'.format(shopData[0], shopData[1], shopData[2]))
print(' Armor Class: {}'.format(Armor.ARMOR[each]['itemClass']))
print(' Is this for newbs? {}'.format(Armor.check_class(each, 'newb')))
print(' Is this for hunters? {}'.format(Armor.check_class(each, 'hunter')))
print(' Is this for heroes? {}'.format(Armor.check_class(each, 'hero')))
print(' Is this for voodoos? {}'.format(Armor.check_class(each, 'voodoo')))
print(' Is this for mambos? {}'.format(Armor.check_class(each, 'mambo')))
print(' Is this for masters? {}'.format(Armor.check_class(each, 'master')))
newbs = Armor.get_all_class('newb')
hunters = Armor.get_all_class('hunter')
heroes = Armor.get_all_class('hero')
voodoos = Armor.get_all_class('voodoo')
mambos = Armor.get_all_class('mambo')
masters = Armor.get_all_class('master')
item_just = 4
name_just = 2
value_just = 4
print('\nNewb Armor:')
for each in newbs:
print(each)
shop_data = Armor.get_shop_data(newbs)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print('\nHunter Armor:')
for each in hunters:
print(each)
shop_data = Armor.get_shop_data(hunters)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print('\nHero Armor:')
for each in heroes:
print(each)
shop_data = Armor.get_shop_data(heroes)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print('\nVoodoo Armor:')
for each in voodoos:
print(each)
shop_data = Armor.get_shop_data(voodoos)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print('\nMambo Armor:')
for each in mambos:
print(each)
shop_data = Armor.get_shop_data(mambos)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print('\nMaster Armor:')
for each in masters:
print(each)
shop_data = Armor.get_shop_data(masters)
print_shop_format(shopData, itemJust, nameJust, valueJust)
print()
input('Press Enter to exit test...')
if __name__ == '__main__':
unit_test() |
class Get:
def __init__(self,db):
self.db = db
def _get(self,key):
try:
return JsonObject(self.db, key, self.db[key])
except Exception as e:
raise ValueError(f"No Key named {key} found.")
def __call__(self,key):
return self._get(key)
class JsonObject(type({})):
def __init__(self, db, key=None, value=None):
self.key = key
self.value = value
self.db = db
self[key] = self.value
if type(self.db) == type({}):
self.db[key] = self.value
self.get = Get(self.value) | class Get:
def __init__(self, db):
self.db = db
def _get(self, key):
try:
return json_object(self.db, key, self.db[key])
except Exception as e:
raise value_error(f'No Key named {key} found.')
def __call__(self, key):
return self._get(key)
class Jsonobject(type({})):
def __init__(self, db, key=None, value=None):
self.key = key
self.value = value
self.db = db
self[key] = self.value
if type(self.db) == type({}):
self.db[key] = self.value
self.get = get(self.value) |
#Ensure there is an exceptional edge from the following case
def f2():
b, d = Base, Derived
try:
class MyNewClass(b, d):
pass
except:
e2
def f3():
sequence_of_four = a_global
try:
a, b, c = sequence_of_four
except:
e3
#Always treat locals as non-raising to keep DB size down.
def f4():
if cond:
local = 1
try:
local
except:
e4
def f5():
try:
a_global
except:
e5
def f6():
local = a_global
try:
local()
except:
e6
#Literals can't raise
def f7():
try:
4
except:
e7
def f8():
try:
a + b
except:
e8
#OK assignments
def f9():
try:
a, b = 1, 2
except:
e9
def fa():
seq = a_global
try:
a = seq
except:
ea
def fb():
a, b, c = a_global
try:
seq = a, b, c
except:
eb
#Ensure that a.b and c[d] can raise
def fc():
a, b = a_global
try:
return a[b]
except:
ec
def fd():
a = a_global
try:
return a.b
except:
ed
def fe():
try:
call()
except:
ee
else:
ef
| def f2():
(b, d) = (Base, Derived)
try:
class Mynewclass(b, d):
pass
except:
e2
def f3():
sequence_of_four = a_global
try:
(a, b, c) = sequence_of_four
except:
e3
def f4():
if cond:
local = 1
try:
local
except:
e4
def f5():
try:
a_global
except:
e5
def f6():
local = a_global
try:
local()
except:
e6
def f7():
try:
4
except:
e7
def f8():
try:
a + b
except:
e8
def f9():
try:
(a, b) = (1, 2)
except:
e9
def fa():
seq = a_global
try:
a = seq
except:
ea
def fb():
(a, b, c) = a_global
try:
seq = (a, b, c)
except:
eb
def fc():
(a, b) = a_global
try:
return a[b]
except:
ec
def fd():
a = a_global
try:
return a.b
except:
ed
def fe():
try:
call()
except:
ee
else:
ef |
for _ in range(int(input())):
l,r,m=map(int,input().split())
ma=r-l
for i in range(l,r+1):
temp=m%i
if temp<=ma and i<=m:
print(i,l+temp,l)
break
elif i-temp<=ma:
print(i,l,l+i-temp)
break | for _ in range(int(input())):
(l, r, m) = map(int, input().split())
ma = r - l
for i in range(l, r + 1):
temp = m % i
if temp <= ma and i <= m:
print(i, l + temp, l)
break
elif i - temp <= ma:
print(i, l, l + i - temp)
break |
MOVING = "moving"
SLEEPING = "sleeping"
jobs: dict[str, str] = {
"mine_foo": "Mining Foo",
"mine_bar": "Mining Bar",
"build_foobar": "Trying to build a Foobar",
"sell_foobar": "Selling Foobar",
"buy_robot": "Buying a robot",
MOVING: "Moving",
SLEEPING: "Sleeping",
}
| moving = 'moving'
sleeping = 'sleeping'
jobs: dict[str, str] = {'mine_foo': 'Mining Foo', 'mine_bar': 'Mining Bar', 'build_foobar': 'Trying to build a Foobar', 'sell_foobar': 'Selling Foobar', 'buy_robot': 'Buying a robot', MOVING: 'Moving', SLEEPING: 'Sleeping'} |
class defaultdict(dict):
"""Poor man's implementation of defaultdict for Python 2.4
"""
def __init__(self, default_factory=None, **kwargs):
self.default_factory = default_factory
super(defaultdict, self).__init__(**kwargs)
def __getitem__(self, key):
if self.default_factory is None:
return super(defaultdict, self).__getitem__(key)
else:
try:
return super(defaultdict, self).__getitem__(key)
except KeyError:
self[key] = self.default_factory()
return self[key]
| class Defaultdict(dict):
"""Poor man's implementation of defaultdict for Python 2.4
"""
def __init__(self, default_factory=None, **kwargs):
self.default_factory = default_factory
super(defaultdict, self).__init__(**kwargs)
def __getitem__(self, key):
if self.default_factory is None:
return super(defaultdict, self).__getitem__(key)
else:
try:
return super(defaultdict, self).__getitem__(key)
except KeyError:
self[key] = self.default_factory()
return self[key] |
#!/usr/bin/python3
hostname = input("What value should we set for hostname?")
#hostname = "MTG"
hostname = hostname.upper()
if hostname == "MTG":
print("The hostname was found to be mtg")
| hostname = input('What value should we set for hostname?')
hostname = hostname.upper()
if hostname == 'MTG':
print('The hostname was found to be mtg') |
class EVBaseException(Exception):
def __init__(self, msg):
super(EVBaseException, self).__init__(msg)
self._msg = msg
# Exception.__init__(self, msg)
def __str__(self):
return self._msg
class EVConnectionError(EVBaseException):
def __init__(self, msg, exc_obj):
super(EVConnectionError, self).__init__(msg)
self.original_exc_obj = exc_obj
self._msg = "\n%s\nOriginal exception:\n%s" %(msg, exc_obj)
def __str__(self):
return self._msg
class EVHTTPError(EVBaseException):
def __init__(self, request_url, request_body, status_code, response_body):
_msg = "\nRequest URL: %s\nRequest body: %s\nResponse HTTP status: %s\nResponse body: %s" % (request_url, request_body, status_code, response_body)
super(EVHTTPError, self).__init__(_msg)
self._request_url = request_url
self._request_body = request_body
self._status_code = status_code
self._msg = _msg
def __str__(self):
return self._msg
class EVAPIError(EVHTTPError):
def __init__(self, request_url, request_body, status_code, response_body):
super(EVAPIError, self).__init__(request_url, request_body, status_code, response_body)
| class Evbaseexception(Exception):
def __init__(self, msg):
super(EVBaseException, self).__init__(msg)
self._msg = msg
def __str__(self):
return self._msg
class Evconnectionerror(EVBaseException):
def __init__(self, msg, exc_obj):
super(EVConnectionError, self).__init__(msg)
self.original_exc_obj = exc_obj
self._msg = '\n%s\nOriginal exception:\n%s' % (msg, exc_obj)
def __str__(self):
return self._msg
class Evhttperror(EVBaseException):
def __init__(self, request_url, request_body, status_code, response_body):
_msg = '\nRequest URL: %s\nRequest body: %s\nResponse HTTP status: %s\nResponse body: %s' % (request_url, request_body, status_code, response_body)
super(EVHTTPError, self).__init__(_msg)
self._request_url = request_url
self._request_body = request_body
self._status_code = status_code
self._msg = _msg
def __str__(self):
return self._msg
class Evapierror(EVHTTPError):
def __init__(self, request_url, request_body, status_code, response_body):
super(EVAPIError, self).__init__(request_url, request_body, status_code, response_body) |
'''
Author: Yurii Bielotsytsia
Version: Easy-01
Name: Ideal BMI by Brok formula
'''
sex = input('Enter you sex(m if you are a man, w if you are a woman): ')
height = float(input('Enter you height in cm '))
if(sex == 'm'):
result=(((height*4/2.54)-128)*0.453)
print('You ideal BMI is {0:.2f}'.format(result))
elif(sex == 'w'):
result=(((height*3.5/2.54)-108)*0.453)
print('You ideal BMI is {0:.2f}'.format(result))
else:
print('Error: you entered not valid sex')
| """
Author: Yurii Bielotsytsia
Version: Easy-01
Name: Ideal BMI by Brok formula
"""
sex = input('Enter you sex(m if you are a man, w if you are a woman): ')
height = float(input('Enter you height in cm '))
if sex == 'm':
result = (height * 4 / 2.54 - 128) * 0.453
print('You ideal BMI is {0:.2f}'.format(result))
elif sex == 'w':
result = (height * 3.5 / 2.54 - 108) * 0.453
print('You ideal BMI is {0:.2f}'.format(result))
else:
print('Error: you entered not valid sex') |
#
# PySNMP MIB module SW-PROJECTX-SRPRIMGMT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SW-PROJECTX-SRPRIMGMT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:46:16 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
dlink_products, dlink_mgmt = mibBuilder.importSymbols("DLINK-ID-REC-MIB", "dlink-products", "dlink-mgmt")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
iso, Counter64, Integer32, TimeTicks, NotificationType, IpAddress, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, MibIdentifier, ObjectIdentity, Gauge32, Bits, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Counter64", "Integer32", "TimeTicks", "NotificationType", "IpAddress", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "MibIdentifier", "ObjectIdentity", "Gauge32", "Bits", "ModuleIdentity")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
dlink_ProjectXSeriesProd = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59)).setLabel("dlink-ProjectXSeriesProd")
dlink_Dgs3224SRi = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 1)).setLabel("dlink-Dgs3224SRi")
dlink_Dgs3224SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 2)).setLabel("dlink-Dgs3224SR")
dlink_Des3252SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 3)).setLabel("dlink-Des3252SR")
dlink_Dgs3324SRi = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 4)).setLabel("dlink-Dgs3324SRi")
dlink_Dgs3324SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 5)).setLabel("dlink-Dgs3324SR")
dlink_Des3352SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 6)).setLabel("dlink-Des3352SR")
dlink_Dxs3326GSR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 7)).setLabel("dlink-Dxs3326GSR")
dlink_Dxs3350SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 8)).setLabel("dlink-Dxs3350SR")
dgsProjectXSeriesProd = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59))
dgs3224SRi = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 1))
dgs3224SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 2))
des3252SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 3))
dgs3324SRi = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 4))
dgs3324SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 5))
des3352SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 6))
dxs3326GSR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 7))
dxs3350SR = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 8))
dlink_Des6500SeriesProd = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 61)).setLabel("dlink-Des6500SeriesProd")
dlink_Des6500 = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 10, 61, 1)).setLabel("dlink-Des6500")
des6500SeriesProd = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 61))
des6500 = MibIdentifier((1, 3, 6, 1, 4, 1, 171, 11, 61, 1))
mibBuilder.exportSymbols("SW-PROJECTX-SRPRIMGMT-MIB", des6500=des6500, dgs3224SRi=dgs3224SRi, dlink_Des3352SR=dlink_Des3352SR, dxs3350SR=dxs3350SR, dgsProjectXSeriesProd=dgsProjectXSeriesProd, dgs3224SR=dgs3224SR, des6500SeriesProd=des6500SeriesProd, dlink_Dxs3326GSR=dlink_Dxs3326GSR, dlink_Dxs3350SR=dlink_Dxs3350SR, dlink_Dgs3224SR=dlink_Dgs3224SR, dlink_Des6500SeriesProd=dlink_Des6500SeriesProd, des3352SR=des3352SR, dlink_Des6500=dlink_Des6500, dlink_Dgs3324SR=dlink_Dgs3324SR, dgs3324SR=dgs3324SR, des3252SR=des3252SR, dxs3326GSR=dxs3326GSR, dlink_ProjectXSeriesProd=dlink_ProjectXSeriesProd, dlink_Dgs3324SRi=dlink_Dgs3324SRi, dlink_Des3252SR=dlink_Des3252SR, dlink_Dgs3224SRi=dlink_Dgs3224SRi, dgs3324SRi=dgs3324SRi)
| (octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(dlink_products, dlink_mgmt) = mibBuilder.importSymbols('DLINK-ID-REC-MIB', 'dlink-products', 'dlink-mgmt')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(iso, counter64, integer32, time_ticks, notification_type, ip_address, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, mib_identifier, object_identity, gauge32, bits, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Counter64', 'Integer32', 'TimeTicks', 'NotificationType', 'IpAddress', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'MibIdentifier', 'ObjectIdentity', 'Gauge32', 'Bits', 'ModuleIdentity')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
dlink__project_x_series_prod = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59)).setLabel('dlink-ProjectXSeriesProd')
dlink__dgs3224_s_ri = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 1)).setLabel('dlink-Dgs3224SRi')
dlink__dgs3224_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 2)).setLabel('dlink-Dgs3224SR')
dlink__des3252_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 3)).setLabel('dlink-Des3252SR')
dlink__dgs3324_s_ri = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 4)).setLabel('dlink-Dgs3324SRi')
dlink__dgs3324_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 5)).setLabel('dlink-Dgs3324SR')
dlink__des3352_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 6)).setLabel('dlink-Des3352SR')
dlink__dxs3326_gsr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 7)).setLabel('dlink-Dxs3326GSR')
dlink__dxs3350_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 59, 8)).setLabel('dlink-Dxs3350SR')
dgs_project_x_series_prod = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59))
dgs3224_s_ri = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 1))
dgs3224_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 2))
des3252_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 3))
dgs3324_s_ri = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 4))
dgs3324_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 5))
des3352_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 6))
dxs3326_gsr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 7))
dxs3350_sr = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 59, 8))
dlink__des6500_series_prod = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 61)).setLabel('dlink-Des6500SeriesProd')
dlink__des6500 = mib_identifier((1, 3, 6, 1, 4, 1, 171, 10, 61, 1)).setLabel('dlink-Des6500')
des6500_series_prod = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 61))
des6500 = mib_identifier((1, 3, 6, 1, 4, 1, 171, 11, 61, 1))
mibBuilder.exportSymbols('SW-PROJECTX-SRPRIMGMT-MIB', des6500=des6500, dgs3224SRi=dgs3224SRi, dlink_Des3352SR=dlink_Des3352SR, dxs3350SR=dxs3350SR, dgsProjectXSeriesProd=dgsProjectXSeriesProd, dgs3224SR=dgs3224SR, des6500SeriesProd=des6500SeriesProd, dlink_Dxs3326GSR=dlink_Dxs3326GSR, dlink_Dxs3350SR=dlink_Dxs3350SR, dlink_Dgs3224SR=dlink_Dgs3224SR, dlink_Des6500SeriesProd=dlink_Des6500SeriesProd, des3352SR=des3352SR, dlink_Des6500=dlink_Des6500, dlink_Dgs3324SR=dlink_Dgs3324SR, dgs3324SR=dgs3324SR, des3252SR=des3252SR, dxs3326GSR=dxs3326GSR, dlink_ProjectXSeriesProd=dlink_ProjectXSeriesProd, dlink_Dgs3324SRi=dlink_Dgs3324SRi, dlink_Des3252SR=dlink_Des3252SR, dlink_Dgs3224SRi=dlink_Dgs3224SRi, dgs3324SRi=dgs3324SRi) |
material_iron = 'iron'
material_titanium = 'titanium'
material_naonite = 'naonite'
material_trinium = 'trinium'
material_xanion = 'xanion'
material_ogonite = 'ogonite'
material_avorion = 'avorion'
block_armor = 'armor'
block_engine = 'engine'
block_cargo = 'cargo'
block_quarters = 'quarters'
block_thruster = 'thruster'
block_hangar = 'hangar'
block_shield = 'shield'
block_storage = 'storage'
block_generator = 'generator'
block_integrity = 'integrity'
block_computer = 'computer'
block_gyro = 'gyro'
block_dampener = 'dampener'
attribute_energy_consumption = 'energy_consumption'
attribute_credits = 'credits'
attribute_energy_storage = 'energy_storage'
attribute_hp = 'hp'
attribute_shield = 'shield'
attribute_processing = 'processing'
attribute_mass = 'mass'
attribute_cost = 'cost'
attribute_crew = 'crew'
attribute_hangar = 'hangar'
attribute_energy_generation = 'energy_generation'
# attribute_yaw = 'yaw'
# attribute_pitch = 'pitch'
# attribute_roll = 'roll'
| material_iron = 'iron'
material_titanium = 'titanium'
material_naonite = 'naonite'
material_trinium = 'trinium'
material_xanion = 'xanion'
material_ogonite = 'ogonite'
material_avorion = 'avorion'
block_armor = 'armor'
block_engine = 'engine'
block_cargo = 'cargo'
block_quarters = 'quarters'
block_thruster = 'thruster'
block_hangar = 'hangar'
block_shield = 'shield'
block_storage = 'storage'
block_generator = 'generator'
block_integrity = 'integrity'
block_computer = 'computer'
block_gyro = 'gyro'
block_dampener = 'dampener'
attribute_energy_consumption = 'energy_consumption'
attribute_credits = 'credits'
attribute_energy_storage = 'energy_storage'
attribute_hp = 'hp'
attribute_shield = 'shield'
attribute_processing = 'processing'
attribute_mass = 'mass'
attribute_cost = 'cost'
attribute_crew = 'crew'
attribute_hangar = 'hangar'
attribute_energy_generation = 'energy_generation' |
input = """
% run with option --depgraph
% the component of a must be cyclic
b(1).
a(X, Y) :- a(X, X), b(Y).
"""
output = """
DEPGRAPH: (2 atoms, 2 components) cyclic hcf stratified not_tight
0 --> 1
1 --> 1
COMPONENT 0: cyclic hcf stratified
{ 1 }
COMPONENT 1: acyclic hcf stratified
{ 0 }
Predicate names map:
0: b
1: a
"""
| input = '\n% run with option --depgraph\n% the component of a must be cyclic\n\nb(1).\na(X, Y) :- a(X, X), b(Y).\n\n'
output = '\nDEPGRAPH: (2 atoms, 2 components) cyclic hcf stratified not_tight\n\n0 --> 1\n1 --> 1\n\n\nCOMPONENT 0: cyclic hcf stratified\n{ 1 }\nCOMPONENT 1: acyclic hcf stratified\n{ 0 }\n\n\nPredicate names map:\n0: b\n1: a\n\n\n' |
def heapify(arr, n, i):
largest = i
l = 2*n +1
r = 2*n +2
if l<n and arr[largest] < arr[l]:
largest = l
if r<n and arr[largest] < arr[r]:
largest = r
if largest != i:
arr[largest], arr[i] = arr[i], arr[largest]
heapify(arr, n, largest)
def heapsort(arr):
n = len(arr)
for i in range(n//2-1, -1, -1):
heapify(arr, n, i)
for i in range(n-1, 0, -1):
arr[i], arr[0] = arr[0], arr[i]
heapify(arr, i, 0)
| def heapify(arr, n, i):
largest = i
l = 2 * n + 1
r = 2 * n + 2
if l < n and arr[largest] < arr[l]:
largest = l
if r < n and arr[largest] < arr[r]:
largest = r
if largest != i:
(arr[largest], arr[i]) = (arr[i], arr[largest])
heapify(arr, n, largest)
def heapsort(arr):
n = len(arr)
for i in range(n // 2 - 1, -1, -1):
heapify(arr, n, i)
for i in range(n - 1, 0, -1):
(arr[i], arr[0]) = (arr[0], arr[i])
heapify(arr, i, 0) |
"""
sorted
Return a new sorted list from the items in iterable.
"""
nums = [6, 1, 8, 2]
sorted(nums) # [1, 2, 6, 8]
print(nums) # [6, 1, 8, 2]
# for dictionaries, you have to pass in how they will be sorted.
users = [
{"username": "samuel", "tweets": ["I love cake", "I love pie", "hello world!"]},
{"username": "katie", "tweets": ["I love my cat"]},
{"username": "jeff", "tweets": []},
{"username": "bob123", "tweets": []},
{"username": "doggo_luvr", "tweets": ["dogs are the best", "I'm hungry"]},
{"username": "guitar_gal", "tweets": []}
]
sorted(users, key=len) # the list will be sorted depending on the length of the dictionaries
sorted(users, key=lambda user: user['username']) # the list is sorted in an alphabetical order of their username
sorted(users, key=lambda user: len(user['tweets'])) # the list is sorted from the shortest tweets to the longest | """
sorted
Return a new sorted list from the items in iterable.
"""
nums = [6, 1, 8, 2]
sorted(nums)
print(nums)
users = [{'username': 'samuel', 'tweets': ['I love cake', 'I love pie', 'hello world!']}, {'username': 'katie', 'tweets': ['I love my cat']}, {'username': 'jeff', 'tweets': []}, {'username': 'bob123', 'tweets': []}, {'username': 'doggo_luvr', 'tweets': ['dogs are the best', "I'm hungry"]}, {'username': 'guitar_gal', 'tweets': []}]
sorted(users, key=len)
sorted(users, key=lambda user: user['username'])
sorted(users, key=lambda user: len(user['tweets'])) |
#!/usr/bin/env python
"""
MIT License
Copyright (c) 2017 Raphael "rGunti" Guntersweiler
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.
"""
class GpsRedisKeys:
KEY_LATITUDE = 'GPS.Latitude' # type: str
KEY_LONGITUDE = 'GPS.Longitude' # type: str
KEY_ALTITUDE = 'GPS.Altitude' # type: str
KEY_FIX_MODE = 'GPS.FixMode' # type: str
KEY_EPX = 'GPS.EPX' # type: str
KEY_EPY = 'GPS.EPY' # type: str
KEY_EPV = 'GPS.EPV' # type: str
KEY_EPT = 'GPS.EPT' # type: str
KEY_EPD = 'GPS.EPD' # type: str
KEY_EPS = 'GPS.EPS' # type: str
KEY_EPC = 'GPS.EPC' # type: str
KEY_TIME = 'GPS.Time' # type: str
KEY_CLIMB = 'GPS.Climb' # type: str
KEY_TRACK = 'GPS.Track' # type: str
KEY_SPEED = 'GPS.Speed' # type: str
KEY_SPEED_KMH = 'GPS.Speed.KMH' # type: str
KEY_SPEED_MPH = 'GPS.Speed.MPH' # type: str
KEY_LAST_UPDATED = 'GPS.LastUpdated' # type: str
KEY_LOCATION_COUNTRY = 'GPS.Location.Country' # type: str
KEY_LOCATION_CITY = 'GPS.Location.City' # type: str
KEY_LOCATION_ADMIN1 = 'GPS.Location.Admin1' # type: str
KEY_LOCATION_ADMIN2 = 'GPS.Location.Admin2' # type: str
KEY_TRIP_A_RECORDING = 'Trip.A.ID'
KEY_ALIVE = 'DaemonAlive.GPS' # type: str
KEYS = [
KEY_ALIVE,
KEY_LATITUDE,
KEY_LONGITUDE,
KEY_ALTITUDE,
KEY_FIX_MODE,
KEY_EPX,
KEY_EPY,
KEY_EPV,
KEY_EPT,
KEY_EPD,
KEY_EPS,
KEY_EPC,
KEY_TIME,
KEY_CLIMB,
KEY_TRACK,
KEY_SPEED,
KEY_SPEED_KMH,
KEY_SPEED_MPH,
KEY_LAST_UPDATED
]
class PersistentGpsRedisKeys:
KEY_ODO = 'GPS.ODO'
KEY_TRIP_A = 'GPS.Trip.A'
KEY_TRIP_B = 'GPS.Trip.B'
KEY_TRIP_A_RECORDING = 'Trip.A.ID'
KEYS = [
KEY_ODO,
KEY_TRIP_A,
KEY_TRIP_B,
KEY_TRIP_A_RECORDING
]
class NetworkInfoRedisKeys:
KEY_ETH0_IP = 'Net.eth0.IP' # type: str
KEY_WLAN0_IP = 'Net.wlan0.IP' # type: str
KEY_WLAN0_STRENGTH = 'Net.wlan0.Strength' # type: str
KEY_WLAN0_SSID = 'Net.wlan0.SSID' # type: str
KEY_WLAN1_IP = 'Net.wlan1.IP' # type: str
KEY_WLAN1_STRENGTH = 'Net.wlan1.Strength' # type: str
KEY_WLAN1_SSID = 'Net.wlan1.SSID' # type: str
KEY_ALIVE = 'DaemonAlive.Net' # type: str
KEYS = [
KEY_ALIVE,
KEY_ETH0_IP,
KEY_WLAN0_IP,
KEY_WLAN0_STRENGTH,
KEY_WLAN0_SSID,
KEY_WLAN1_IP,
KEY_WLAN1_STRENGTH,
KEY_WLAN1_SSID
]
class MpdDataRedisKeys:
KEY_STATE = 'MPD.State' # type: str
KEY_SONG_TITLE = 'MPD.CurrentSong.Title' # type: str
KEY_SONG_ARTIST = 'MPD.CurrentSong.Artist' # type: str
KEY_SONG_ALBUM = 'MPD.CurrentSong.Album' # type: str
KEY_SONG_LENGTH = 'MPD.CurrentSong.Length' # type: str
KEY_SONG_LENGTH_FORMATTED = 'MPD.CurrentSong.Length.Formatted' # type: str
KEY_CURRENT_TIME = 'MPD.CurrentTime' # type: str
KEY_CURRENT_TIME_FORMATTED = 'MPD.CurrentTime.Formatted' # type: str
KEY_VOLUME = 'MPD.Volume' # type: str
KEY_RANDOM = 'MPD.Random' # type: str
KEY_REPEAT = 'MPD.Repeat' # type: str
KEY_ALIVE = 'DaemonAlive.MPD' # type: str
KEYS = [
KEY_ALIVE,
KEY_SONG_TITLE,
KEY_SONG_ARTIST,
KEY_SONG_ALBUM,
KEY_CURRENT_TIME,
KEY_CURRENT_TIME_FORMATTED,
KEY_VOLUME
]
class MpdCommandRedisKeys:
KEY_ALIVE = MpdDataRedisKeys.KEY_ALIVE
# Commands
COMMAND_PLAY = 'CommandRequest(MPD.Play)'
COMMAND_PAUSE = 'CommandRequest(MPD.Pause)'
COMMAND_STOP = 'CommandRequest(MPD.Stop)'
COMMAND_NEXT = 'CommandRequest(MPD.Next)'
COMMAND_PREV = 'CommandRequest(MPD.Prev)'
# Parameters
# COMMAND_PAUSE
PARAM_PAUSE_VALUE = 'PauseValue'
COMMANDS = [
COMMAND_PLAY,
COMMAND_PAUSE,
COMMAND_STOP,
COMMAND_NEXT,
COMMAND_PREV
]
PARAMS = {
# COMMAND_PLAY: [],
COMMAND_PAUSE: [ PARAM_PAUSE_VALUE ],
# COMMAND_STOP: []
}
class ObdRedisKeys:
KEY_ALIVE = 'OBD.State'
KEY_BATTERY_VOLTAGE = 'OBD.BatteryVoltage'
KEY_ENGINE_LOAD = 'OBD.EngineLoad'
KEY_COOLANT_TEMP = 'OBD.CoolantTemp'
KEY_INTAKE_MAP = 'OBD.IntakeMAP'
KEY_ENGINE_RPM = 'OBD.RPM'
KEY_VEHICLE_SPEED = 'OBD.Speed'
KEY_INTAKE_TEMP = 'OBD.IntakeTemp'
KEY_O2_SENSOR_FAEQV = 'OBD.O2Sensor.FuelAirEqRatio'
KEY_O2_SENSOR_CURRENT = 'OBD.O2Sensor.Current'
KEY_FUELSYS_1_STATUS = 'OBD.FuelSystem1.Status'
KEY_FUELSYS_2_STATUS = 'OBD.FuelSystem2.Status'
KEY_MIL_STATUS = 'OBD.MIL'
KEY_DTC_COUNT = 'OBD.DTCCount'
KEY_CURRENT_DTCS = 'OBD.DTCs.Current'
KEY_PENDING_DTCS = 'OBD.DTCs.Pending'
KEYS = [
KEY_ALIVE,
KEY_BATTERY_VOLTAGE,
KEY_ENGINE_LOAD,
KEY_INTAKE_MAP,
KEY_ENGINE_RPM,
KEY_VEHICLE_SPEED,
KEY_INTAKE_TEMP,
KEY_O2_SENSOR_FAEQV,
KEY_O2_SENSOR_CURRENT
]
def prepare_dict(keys, default_value=None):
dict = {}
for key in keys:
dict[key] = default_value
return dict
if __name__ == "__main__":
print("This script is not intended to be run standalone!")
| """
MIT License
Copyright (c) 2017 Raphael "rGunti" Guntersweiler
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.
"""
class Gpsrediskeys:
key_latitude = 'GPS.Latitude'
key_longitude = 'GPS.Longitude'
key_altitude = 'GPS.Altitude'
key_fix_mode = 'GPS.FixMode'
key_epx = 'GPS.EPX'
key_epy = 'GPS.EPY'
key_epv = 'GPS.EPV'
key_ept = 'GPS.EPT'
key_epd = 'GPS.EPD'
key_eps = 'GPS.EPS'
key_epc = 'GPS.EPC'
key_time = 'GPS.Time'
key_climb = 'GPS.Climb'
key_track = 'GPS.Track'
key_speed = 'GPS.Speed'
key_speed_kmh = 'GPS.Speed.KMH'
key_speed_mph = 'GPS.Speed.MPH'
key_last_updated = 'GPS.LastUpdated'
key_location_country = 'GPS.Location.Country'
key_location_city = 'GPS.Location.City'
key_location_admin1 = 'GPS.Location.Admin1'
key_location_admin2 = 'GPS.Location.Admin2'
key_trip_a_recording = 'Trip.A.ID'
key_alive = 'DaemonAlive.GPS'
keys = [KEY_ALIVE, KEY_LATITUDE, KEY_LONGITUDE, KEY_ALTITUDE, KEY_FIX_MODE, KEY_EPX, KEY_EPY, KEY_EPV, KEY_EPT, KEY_EPD, KEY_EPS, KEY_EPC, KEY_TIME, KEY_CLIMB, KEY_TRACK, KEY_SPEED, KEY_SPEED_KMH, KEY_SPEED_MPH, KEY_LAST_UPDATED]
class Persistentgpsrediskeys:
key_odo = 'GPS.ODO'
key_trip_a = 'GPS.Trip.A'
key_trip_b = 'GPS.Trip.B'
key_trip_a_recording = 'Trip.A.ID'
keys = [KEY_ODO, KEY_TRIP_A, KEY_TRIP_B, KEY_TRIP_A_RECORDING]
class Networkinforediskeys:
key_eth0_ip = 'Net.eth0.IP'
key_wlan0_ip = 'Net.wlan0.IP'
key_wlan0_strength = 'Net.wlan0.Strength'
key_wlan0_ssid = 'Net.wlan0.SSID'
key_wlan1_ip = 'Net.wlan1.IP'
key_wlan1_strength = 'Net.wlan1.Strength'
key_wlan1_ssid = 'Net.wlan1.SSID'
key_alive = 'DaemonAlive.Net'
keys = [KEY_ALIVE, KEY_ETH0_IP, KEY_WLAN0_IP, KEY_WLAN0_STRENGTH, KEY_WLAN0_SSID, KEY_WLAN1_IP, KEY_WLAN1_STRENGTH, KEY_WLAN1_SSID]
class Mpddatarediskeys:
key_state = 'MPD.State'
key_song_title = 'MPD.CurrentSong.Title'
key_song_artist = 'MPD.CurrentSong.Artist'
key_song_album = 'MPD.CurrentSong.Album'
key_song_length = 'MPD.CurrentSong.Length'
key_song_length_formatted = 'MPD.CurrentSong.Length.Formatted'
key_current_time = 'MPD.CurrentTime'
key_current_time_formatted = 'MPD.CurrentTime.Formatted'
key_volume = 'MPD.Volume'
key_random = 'MPD.Random'
key_repeat = 'MPD.Repeat'
key_alive = 'DaemonAlive.MPD'
keys = [KEY_ALIVE, KEY_SONG_TITLE, KEY_SONG_ARTIST, KEY_SONG_ALBUM, KEY_CURRENT_TIME, KEY_CURRENT_TIME_FORMATTED, KEY_VOLUME]
class Mpdcommandrediskeys:
key_alive = MpdDataRedisKeys.KEY_ALIVE
command_play = 'CommandRequest(MPD.Play)'
command_pause = 'CommandRequest(MPD.Pause)'
command_stop = 'CommandRequest(MPD.Stop)'
command_next = 'CommandRequest(MPD.Next)'
command_prev = 'CommandRequest(MPD.Prev)'
param_pause_value = 'PauseValue'
commands = [COMMAND_PLAY, COMMAND_PAUSE, COMMAND_STOP, COMMAND_NEXT, COMMAND_PREV]
params = {COMMAND_PAUSE: [PARAM_PAUSE_VALUE]}
class Obdrediskeys:
key_alive = 'OBD.State'
key_battery_voltage = 'OBD.BatteryVoltage'
key_engine_load = 'OBD.EngineLoad'
key_coolant_temp = 'OBD.CoolantTemp'
key_intake_map = 'OBD.IntakeMAP'
key_engine_rpm = 'OBD.RPM'
key_vehicle_speed = 'OBD.Speed'
key_intake_temp = 'OBD.IntakeTemp'
key_o2_sensor_faeqv = 'OBD.O2Sensor.FuelAirEqRatio'
key_o2_sensor_current = 'OBD.O2Sensor.Current'
key_fuelsys_1_status = 'OBD.FuelSystem1.Status'
key_fuelsys_2_status = 'OBD.FuelSystem2.Status'
key_mil_status = 'OBD.MIL'
key_dtc_count = 'OBD.DTCCount'
key_current_dtcs = 'OBD.DTCs.Current'
key_pending_dtcs = 'OBD.DTCs.Pending'
keys = [KEY_ALIVE, KEY_BATTERY_VOLTAGE, KEY_ENGINE_LOAD, KEY_INTAKE_MAP, KEY_ENGINE_RPM, KEY_VEHICLE_SPEED, KEY_INTAKE_TEMP, KEY_O2_SENSOR_FAEQV, KEY_O2_SENSOR_CURRENT]
def prepare_dict(keys, default_value=None):
dict = {}
for key in keys:
dict[key] = default_value
return dict
if __name__ == '__main__':
print('This script is not intended to be run standalone!') |
class Solution:
def largestRectangleArea(self, heights: List[int]) -> int:
n, heights, st, ans = len(heights), [0] + heights + [0], [], 0
for i in range(n + 2):
while st and heights[st[-1]] > heights[i]:
ans = max(ans, heights[st.pop(-1)] * (i - st[-1] - 1))
st.append(i)
return ans
| class Solution:
def largest_rectangle_area(self, heights: List[int]) -> int:
(n, heights, st, ans) = (len(heights), [0] + heights + [0], [], 0)
for i in range(n + 2):
while st and heights[st[-1]] > heights[i]:
ans = max(ans, heights[st.pop(-1)] * (i - st[-1] - 1))
st.append(i)
return ans |
f = open("unicode/data/utf-8_1.txt")
l = f.readline()
print(l)
print(len(l))
| f = open('unicode/data/utf-8_1.txt')
l = f.readline()
print(l)
print(len(l)) |
class TopoHelper:
def get_neighbor(self, rank, nworker):
rank = rank + 1
ret = []
if rank > 1:
ret.append(rank // 2 - 1)
if rank * 2 - 1 < nworker:
ret.append(rank * 2 - 1)
if rank * 2 < nworker:
ret.append(rank * 2)
return ret
def get_tree(self, nworker):
tree_map = {}
parent_map = {}
for r in range(nworker):
tree_map[r] = self.get_neighbor(r, nworker)
parent_map[r] = (r + 1) // 2 - 1
return tree_map, parent_map
def find_share_ring(self, tree_map, parent_map, r):
"""
get a ring structure that tends to share nodes with the tree
return a list starting from r
"""
nset = set(tree_map[r])
cset = nset - set([parent_map[r]])
if len(cset) == 0:
return [r]
rlst = [r]
cnt = 0
for v in cset:
vlst = self.find_share_ring(tree_map, parent_map, v)
cnt += 1
if cnt == len(cset):
vlst.reverse()
rlst += vlst
return rlst
def get_ring(self, tree_map, parent_map):
"""
get a ring connection used to recover local data
"""
assert parent_map[0] == -1
rlst = self.find_share_ring(tree_map, parent_map, 0)
assert len(rlst) == len(tree_map)
ring_map = {}
nworker = len(tree_map)
for r in range(nworker):
rprev = (r + nworker - 1) % nworker
rnext = (r + 1) % nworker
ring_map[rlst[r]] = (rlst[rprev], rlst[rnext])
return ring_map
def get_link_map(self, nworker):
"""
get the link map, this is a bit hacky, call for better algorithm
to place similar nodes together
"""
tree_map, parent_map = self.get_tree(nworker)
ring_map = self.get_ring(tree_map, parent_map)
rmap = {0 : 0}
k = 0
for i in range(nworker - 1):
k = ring_map[k][1]
rmap[k] = i + 1
ring_map_ = {}
tree_map_ = {}
parent_map_ = {}
for k, v in ring_map.items():
ring_map_[rmap[k]] = (rmap[v[0]], rmap[v[1]])
for k, v in tree_map.items():
tree_map_[rmap[k]] = [rmap[x] for x in v]
for k, v in parent_map.items():
if k != 0:
parent_map_[rmap[k]] = rmap[v]
else:
parent_map_[rmap[k]] = -1
return tree_map_, parent_map_, ring_map_
| class Topohelper:
def get_neighbor(self, rank, nworker):
rank = rank + 1
ret = []
if rank > 1:
ret.append(rank // 2 - 1)
if rank * 2 - 1 < nworker:
ret.append(rank * 2 - 1)
if rank * 2 < nworker:
ret.append(rank * 2)
return ret
def get_tree(self, nworker):
tree_map = {}
parent_map = {}
for r in range(nworker):
tree_map[r] = self.get_neighbor(r, nworker)
parent_map[r] = (r + 1) // 2 - 1
return (tree_map, parent_map)
def find_share_ring(self, tree_map, parent_map, r):
"""
get a ring structure that tends to share nodes with the tree
return a list starting from r
"""
nset = set(tree_map[r])
cset = nset - set([parent_map[r]])
if len(cset) == 0:
return [r]
rlst = [r]
cnt = 0
for v in cset:
vlst = self.find_share_ring(tree_map, parent_map, v)
cnt += 1
if cnt == len(cset):
vlst.reverse()
rlst += vlst
return rlst
def get_ring(self, tree_map, parent_map):
"""
get a ring connection used to recover local data
"""
assert parent_map[0] == -1
rlst = self.find_share_ring(tree_map, parent_map, 0)
assert len(rlst) == len(tree_map)
ring_map = {}
nworker = len(tree_map)
for r in range(nworker):
rprev = (r + nworker - 1) % nworker
rnext = (r + 1) % nworker
ring_map[rlst[r]] = (rlst[rprev], rlst[rnext])
return ring_map
def get_link_map(self, nworker):
"""
get the link map, this is a bit hacky, call for better algorithm
to place similar nodes together
"""
(tree_map, parent_map) = self.get_tree(nworker)
ring_map = self.get_ring(tree_map, parent_map)
rmap = {0: 0}
k = 0
for i in range(nworker - 1):
k = ring_map[k][1]
rmap[k] = i + 1
ring_map_ = {}
tree_map_ = {}
parent_map_ = {}
for (k, v) in ring_map.items():
ring_map_[rmap[k]] = (rmap[v[0]], rmap[v[1]])
for (k, v) in tree_map.items():
tree_map_[rmap[k]] = [rmap[x] for x in v]
for (k, v) in parent_map.items():
if k != 0:
parent_map_[rmap[k]] = rmap[v]
else:
parent_map_[rmap[k]] = -1
return (tree_map_, parent_map_, ring_map_) |
'''
***********************************************************************************************************************
* Configuration file for Solar estimation tool *
* Created by P.Nezval *
* version 0.1 *
* May 2021 - August 2021 *
***********************************************************************************************************************
License:
MIT License
==================================
'''
### here comes the path to 3D city model including windows features
cityModel_path = 'data/win_lund3008_sample.json'
### here comes the path to shapefile with footprints and height attributes
foot_height_shp = "data/ft_height.shp"
### here comes the path to roof raster (one of the outputs of UMEP)
roof_raster = 'data/Energyyearroof.tif'
### here comes the path to the text file with energy values on the facades
facade_solar_energy = 'data/Energyyearwall.txt'
### here comes the path to the updated CityJSON
updated_JSON = 'data/city_windows.json'
### here comes the path to the report
report_path = 'report2.json' | """
***********************************************************************************************************************
* Configuration file for Solar estimation tool *
* Created by P.Nezval *
* version 0.1 *
* May 2021 - August 2021 *
***********************************************************************************************************************
License:
MIT License
==================================
"""
city_model_path = 'data/win_lund3008_sample.json'
foot_height_shp = 'data/ft_height.shp'
roof_raster = 'data/Energyyearroof.tif'
facade_solar_energy = 'data/Energyyearwall.txt'
updated_json = 'data/city_windows.json'
report_path = 'report2.json' |
kartyak = ['2383 8823 9423 1164']
for kartya in kartyak:
kartyaCheck = []
for karakter in kartya:
if karakter != ' ':
kartyaCheck.append(karakter)
print(kartyaCheck)
for index, karakter in enumerate(kartyaCheck):
if index%2 == 0:
double = 2*int(karakter)
if double >= 10:
double = int(str(double)[1])+int(str(double)[0])
kartyaCheck[index] = str(double)
print(kartyaCheck)
kartyaCheckSum = 0
for karakter in kartyaCheck:
kartyaCheckSum += int(karakter)
print(kartyaCheckSum) | kartyak = ['2383 8823 9423 1164']
for kartya in kartyak:
kartya_check = []
for karakter in kartya:
if karakter != ' ':
kartyaCheck.append(karakter)
print(kartyaCheck)
for (index, karakter) in enumerate(kartyaCheck):
if index % 2 == 0:
double = 2 * int(karakter)
if double >= 10:
double = int(str(double)[1]) + int(str(double)[0])
kartyaCheck[index] = str(double)
print(kartyaCheck)
kartya_check_sum = 0
for karakter in kartyaCheck:
kartya_check_sum += int(karakter)
print(kartyaCheckSum) |
{
'Datadog': [
'host:dev-test',
'environment:test'
],
'Users': [
'role:database'
]
}
| {'Datadog': ['host:dev-test', 'environment:test'], 'Users': ['role:database']} |
# random.seed(1234)
# np.random.seed(1234)
# torch.manual_seed(1234)
# torch.cuda.manual_seed_all(1234)
# torch.backends.cudnn.deterministic = True
class Transition(object):
def __init__(
self,
FromCluster,
ArriveCluster,
Vehicle,
State,
StateQTable,
Action,
TotallyReward,
PositiveReward,
NegativeReward,
NeighborNegativeReward,
State_,
State_QTable,
):
self.FromCluster = FromCluster
self.ArriveCluster = ArriveCluster
self.Vehicle = Vehicle
self.State = State
self.StateQTable = StateQTable
self.Action = Action
self.TotallyReward = TotallyReward
self.PositiveReward = PositiveReward
self.NegativeReward = NegativeReward
self.NeighborNegativeReward = NeighborNegativeReward
self.State_ = State_
self.State_QTable = State_QTable
def example(self):
print("Transition Example output")
print("Action:", self.Action)
print("TotallyReward:", self.TotallyReward)
print("PositiveReward:", self.PositiveReward)
print("NegativeReward:", self.NegativeReward)
print("NeighborNegativeReward:", self.NeighborNegativeReward)
print()
| class Transition(object):
def __init__(self, FromCluster, ArriveCluster, Vehicle, State, StateQTable, Action, TotallyReward, PositiveReward, NegativeReward, NeighborNegativeReward, State_, State_QTable):
self.FromCluster = FromCluster
self.ArriveCluster = ArriveCluster
self.Vehicle = Vehicle
self.State = State
self.StateQTable = StateQTable
self.Action = Action
self.TotallyReward = TotallyReward
self.PositiveReward = PositiveReward
self.NegativeReward = NegativeReward
self.NeighborNegativeReward = NeighborNegativeReward
self.State_ = State_
self.State_QTable = State_QTable
def example(self):
print('Transition Example output')
print('Action:', self.Action)
print('TotallyReward:', self.TotallyReward)
print('PositiveReward:', self.PositiveReward)
print('NegativeReward:', self.NegativeReward)
print('NeighborNegativeReward:', self.NeighborNegativeReward)
print() |
'''
Part 1: Define a class named Circle which can be constructed by a radius.
Compare two circles objects and return True if circles are equal.
Return False if circles are not equal Take radius of these circles through Input
Expected Input/Output 1:
Enter Radius of Circle 1: 2 Enter Radius of circle 2: 4 Output: False
Expected Input/Output 2:
Enter Radius of Circle 1: 8 Enter Radius of circle 2: 8 Output: True
'''
# import math
# class circle():
# def __init__(self,radius):
# self.radius=radius
# r1=int(input("Enter radius of circle: 1: "))
# r2=int(input("Enter radius of circle: 2: "))
# obj1=circle(r1)
# obj2=circle(r2)
# print(r1==r2)
class circle:
def __init__(self, radius):
self.comp=radius
def __eq__(self, other):
if self.comp==other.comp:
return "True"
else:
return "False"
r1 = int(input("Enter Radius of Circle 1 : "))
r2 = int(input("Enter Radius of Circle 2 : "))
obj1=circle(r1)
obj2=circle(r2)
print (obj1==obj2)
| """
Part 1: Define a class named Circle which can be constructed by a radius.
Compare two circles objects and return True if circles are equal.
Return False if circles are not equal Take radius of these circles through Input
Expected Input/Output 1:
Enter Radius of Circle 1: 2 Enter Radius of circle 2: 4 Output: False
Expected Input/Output 2:
Enter Radius of Circle 1: 8 Enter Radius of circle 2: 8 Output: True
"""
class Circle:
def __init__(self, radius):
self.comp = radius
def __eq__(self, other):
if self.comp == other.comp:
return 'True'
else:
return 'False'
r1 = int(input('Enter Radius of Circle 1 : '))
r2 = int(input('Enter Radius of Circle 2 : '))
obj1 = circle(r1)
obj2 = circle(r2)
print(obj1 == obj2) |
while True:
text = input(">>>")
if (text == "python"):
break
print(text)
print("Python is Addictive") | while True:
text = input('>>>')
if text == 'python':
break
print(text)
print('Python is Addictive') |
# AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"binarize_mask": "00_mask_transform.ipynb",
"data_loader": "00_mask_transform.ipynb",
"data_saver": "00_mask_transform.ipynb",
"outpath_from_inpath": "00_mask_transform.ipynb",
"check_outpath": "00_mask_transform.ipynb",
"create_outpath": "00_mask_transform.ipynb",
"savingpath": "00_mask_transform.ipynb",
"mask_transform": "00_mask_transform.ipynb",
"nifti_binarizer": "00_mask_transform.ipynb"}
modules = ["mask_transform.py"]
doc_url = "https://SRSteinkamp.github.io/simons_mask_binarizer/"
git_url = "https://github.com/SRSteinkamp/simons_mask_binarizer/tree/main/"
def custom_doc_links(name): return None
| __all__ = ['index', 'modules', 'custom_doc_links', 'git_url']
index = {'binarize_mask': '00_mask_transform.ipynb', 'data_loader': '00_mask_transform.ipynb', 'data_saver': '00_mask_transform.ipynb', 'outpath_from_inpath': '00_mask_transform.ipynb', 'check_outpath': '00_mask_transform.ipynb', 'create_outpath': '00_mask_transform.ipynb', 'savingpath': '00_mask_transform.ipynb', 'mask_transform': '00_mask_transform.ipynb', 'nifti_binarizer': '00_mask_transform.ipynb'}
modules = ['mask_transform.py']
doc_url = 'https://SRSteinkamp.github.io/simons_mask_binarizer/'
git_url = 'https://github.com/SRSteinkamp/simons_mask_binarizer/tree/main/'
def custom_doc_links(name):
return None |
#!/usr/bin/env python3
cfg_overridden_precisions = {
# Convolution: output value inaccuracy exceeds threshold for FP16
'vgg16-IR:opid42': ['FP32'],
'vgg16-IR:opid31': ['FP32'],
'yolo-v4-tf:opid227': ['FP32'],
# FusedConvolution: output value inaccuracy exceeds threshold for FP16
'3d_unet-graph-transform-cuda:opid31': ['FP32'],
}
| cfg_overridden_precisions = {'vgg16-IR:opid42': ['FP32'], 'vgg16-IR:opid31': ['FP32'], 'yolo-v4-tf:opid227': ['FP32'], '3d_unet-graph-transform-cuda:opid31': ['FP32']} |
"""4.10 Check Subtree: Tl and T2 are two very large binary trees, with Tl much bigger than T2. Create an
algorith m to determine if T2 is a subtree of Tl .
A tree T2 is a subtree ofTi if there exists a node n in Ti such that the subtree of n is identical to T2.
That is, if you cut off the tree at node n, the two trees would be identical.
"""
class BST():
class Node():
def __init__(self, value):
self.value = value
self.left = None
self.right = None
def __init__(self, init=[]):
self.root = None
for e in init:
self.insert(e)
def __repr__(self):
res = []
def traverse(node, level=0):
if not node: return
traverse(node.right, level+1)
res.append(f'\t'*level + f'({node.value})')
traverse(node.left, level+1)
traverse(self.root)
return '\n'.join(res)
def insert(self, value):
if not self.root: self.root = self.Node(value); return
def r(node, value):
if not node: return
if value == node.value: return
if value < node.value:
if node.left: r(node.left, value)
else: node.left = self.Node(value)
else:
if node.right: r(node.right, value)
else: node.right = self.Node(value)
r(self.root, value)
def check_subtree(bst: BST, target: BST)-> bool:
def find_node(node, target):
"""standard binary search tree, search
"""
if not node: return
if node.value == target.value: return node
if target.value < node.value: return find_node(node.left, target)
else: return find_node(node.right, target)
node = find_node(bst.root, target)
if not node: return False
def traverse(n1, n2):
if not n1 and not n2: return True
if not n1 or not n2 or n1.value != n2.value: return False
return traverse(n1.left, n2.left) or traverse(n1.right, n2.right)
return traverse(node, target)
# test
# from random import uniform
# init = [int(uniform(0,100)) for _ in range(10)]
init = [9,4,14,2,7,12,17]
test = BST(init)
target = test.root.left
# init = [2,1,3]
# target = BST(init)
# target = target.root
print(f'test: {init}\n{test}\n\nis subtree?: {check_subtree(test, target)}')
| """4.10 Check Subtree: Tl and T2 are two very large binary trees, with Tl much bigger than T2. Create an
algorith m to determine if T2 is a subtree of Tl .
A tree T2 is a subtree ofTi if there exists a node n in Ti such that the subtree of n is identical to T2.
That is, if you cut off the tree at node n, the two trees would be identical.
"""
class Bst:
class Node:
def __init__(self, value):
self.value = value
self.left = None
self.right = None
def __init__(self, init=[]):
self.root = None
for e in init:
self.insert(e)
def __repr__(self):
res = []
def traverse(node, level=0):
if not node:
return
traverse(node.right, level + 1)
res.append(f'\t' * level + f'({node.value})')
traverse(node.left, level + 1)
traverse(self.root)
return '\n'.join(res)
def insert(self, value):
if not self.root:
self.root = self.Node(value)
return
def r(node, value):
if not node:
return
if value == node.value:
return
if value < node.value:
if node.left:
r(node.left, value)
else:
node.left = self.Node(value)
elif node.right:
r(node.right, value)
else:
node.right = self.Node(value)
r(self.root, value)
def check_subtree(bst: BST, target: BST) -> bool:
def find_node(node, target):
"""standard binary search tree, search
"""
if not node:
return
if node.value == target.value:
return node
if target.value < node.value:
return find_node(node.left, target)
else:
return find_node(node.right, target)
node = find_node(bst.root, target)
if not node:
return False
def traverse(n1, n2):
if not n1 and (not n2):
return True
if not n1 or not n2 or n1.value != n2.value:
return False
return traverse(n1.left, n2.left) or traverse(n1.right, n2.right)
return traverse(node, target)
init = [9, 4, 14, 2, 7, 12, 17]
test = bst(init)
target = test.root.left
print(f'test: {init}\n{test}\n\nis subtree?: {check_subtree(test, target)}') |
class Solution(object):
def canPartition(self, nums):
"""
:type nums: List[int]
:rtype: bool
"""
if sum(nums) % 2:
return False
dp = set()
dp.add(0)
target = sum(nums) // 2
for i in range(len(nums)-1, -1, -1):
nextDP = set()
for t in dp:
nextDP.add(t + nums[i])
nextDP.add(t)
dp = nextDP
return True if target in dp else False
sol = Solution()
print(sol.canPartition([1, 5, 11, 5])) | class Solution(object):
def can_partition(self, nums):
"""
:type nums: List[int]
:rtype: bool
"""
if sum(nums) % 2:
return False
dp = set()
dp.add(0)
target = sum(nums) // 2
for i in range(len(nums) - 1, -1, -1):
next_dp = set()
for t in dp:
nextDP.add(t + nums[i])
nextDP.add(t)
dp = nextDP
return True if target in dp else False
sol = solution()
print(sol.canPartition([1, 5, 11, 5])) |
def count_char(text, char):
count = 0
for c in text:
if c == char:
count += 1
return count
filename = input("Enter a filename: ")
with open(filename) as f:
text = f.read()
for char in "abcdefghijklmnopqrstuvwxyz":
perc = 100 * count_char(text, char) / len(text)
print("{0} - {1}%".format(char, round(perc, 2))) | def count_char(text, char):
count = 0
for c in text:
if c == char:
count += 1
return count
filename = input('Enter a filename: ')
with open(filename) as f:
text = f.read()
for char in 'abcdefghijklmnopqrstuvwxyz':
perc = 100 * count_char(text, char) / len(text)
print('{0} - {1}%'.format(char, round(perc, 2))) |
def pytest_addoption(parser):
parser.addoption("--runexamples", action="store_true",
help="run examples")
parser.addoption("--runbenchmarks", action="store_true",
help="run benchmarks")
parser.addoption("--all", action="store_true",
help="run benchmarks") | def pytest_addoption(parser):
parser.addoption('--runexamples', action='store_true', help='run examples')
parser.addoption('--runbenchmarks', action='store_true', help='run benchmarks')
parser.addoption('--all', action='store_true', help='run benchmarks') |
"""
[2016-03-23] Challenge #259 [Intermediate] Mahjong Hands
https://www.reddit.com/r/dailyprogrammer/comments/4bmdwz/20160323_challenge_259_intermediate_mahjong_hands/
# Description
You are the biggest, baddest mahjong player around. Your enemies tremble at your presence on the battlefield, and you
can barely walk ten steps before a fan begs you for an autograph.
However, you have a dark secret that would ruin you if it ever came to light. You're terrible at determining whether a
hand is a winning hand. For now, you've been able to bluff and bluster your way, but you know that one day you won't be
able to get away with it.
As such, you've decided to write a program to assist you!
## Further Details
Mahjong (not to be confused with [mahjong solitaire](http://en.wikipedia.org/wiki/Mahjong_solitaire)) is a game where
hands are composed from combinations of tiles. There are a number of variants of mahjong, but for this challenge, we
will consider a simplified variant of Japanese Mahjong which is also known as Riichi Mahjong.
## Basic Version
There are three suits in this variant, "Bamboo", "Circle" and "Character". Every tile that belongs to these suits has a
value that ranges from 1 - 9.
To complete a hand, tiles are organised into groups. If every tile in a hand belongs to a single group (and each tile
can only be used once), the hand is a winning hand.
For now, we shall consider the groups "Pair", "Set" and "Sequence". They are composed as follows:
Pair - Two tiles with the same suit and value
Set - Three tiles with the same suit and value
Sequence - Three tiles with the same suit, and which increment in value, such as "Circle 2, Circle 3, Circle 4". There
is no value wrapping so "Circle 9, Circle 1, Circle 2" would not be considered valid.
A hand is composed of 14 tiles.
## Bonus 1 - Adding Quads
There is actually a fourth group called a "Quad". It is just like a pair and a set, except it is composed of four tiles.
What makes this group special is that a hand containing quads will actually have a hand larger than 14, 1 for every
quad. This is fine, as long as there is *1, and only 1 pair*.
## Bonus 2 - Adding Honour Tiles
In addition to the tiles belonging to the three suits, there are 7 additional tiles. These tiles have no value, and are
collectively known as "honour" tiles.
As they have no value, they cannot be members of a sequence. Furthermore, they can only be part of a set or pair with
tiles that are exactly the same. For example, "Red Dragon, Red Dragon, Red Dragon" would be a valid set, but "Red
Dragon, Green Dragon, Red Dragon" would not.
These additional tiles are:
* Green Dragon
* Red Dragon
* White Dragon
* North Wind
* East Wind
* South Wind
* West Wind
## Bonus 3 - Seven Pairs
There are a number of special hands that are an exception to the above rules. One such hand is "Seven Pairs". As the
name suggests, it is a hand composed of seven pairs.
# Formal Inputs & Outputs
## Input description
### Basic
You will be provided with N on a single line, followed by N lines of the following format:
<tile suit>,<value>
### Bonus 2
In addition, the lines may be of the format:
<honour tile>
## Output description
You should output whether the hand is a winning hand or not.
# Sample Inputs and Outputs
## Sample Input (Standard)
14
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Character,2
Character,2
Character,2
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Standard)
Winning hand
## Sample Input (Standard)
14
Circle,4
Bamboo,1
Circle,5
Bamboo,2
Character,2
Bamboo,3
Character,2
Circle,6
Character,2
Circle,1
Bamboo,8
Circle,1
Bamboo,7
Bamboo,9
## Sample Output (Standard)
Winning hand
## Sample Input (Standard)
14
Circle,4
Circle,5
Circle,6
Circle,4
Circle,5
Circle,6
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
Circle,4
Circle,5
Circle,6
## Sample Output (Standard)
Winning hand
## Sample Input (Bonus 1)
15
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Character,2
Character,2
Character,2
Character,2
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 1)
Winning hand
## Sample Input (Bonus 1)
16
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Character,2
Character,2
Character,2
Character,2
Circle,1
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 1)
Not a winning hand
## Sample Input (Bonus 2)
14
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Red Dragon
Red Dragon
Red Dragon
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 2)
Winning hand
## Sample Input (Bonus 2)
14
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Red Dragon
Green Dragon
White Dragon
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 2)
Not a winning hand
## Sample Input (Bonus 3)
14
Circle,4
Circle,4
Character,5
Character,5
Bamboo,5
Bamboo,5
Circle,5
Circle,5
Circle,7
Circle,7
Circle,9
Circle,9
Circle,9
Circle,9
## Sample Output (Bonus 3)
Winning hand
# Notes
None of the bonus components depend on each other, and can be implemented in any order. The test cases do not presume
completion of earlier bonus components. The order is just the recommended implementation order.
Many thanks to Redditor /u/oketa for this submission to /r/dailyprogrammer_ideas. If you have any ideas, please submit
them there!
"""
def main():
pass
if __name__ == "__main__":
main()
| """
[2016-03-23] Challenge #259 [Intermediate] Mahjong Hands
https://www.reddit.com/r/dailyprogrammer/comments/4bmdwz/20160323_challenge_259_intermediate_mahjong_hands/
# Description
You are the biggest, baddest mahjong player around. Your enemies tremble at your presence on the battlefield, and you
can barely walk ten steps before a fan begs you for an autograph.
However, you have a dark secret that would ruin you if it ever came to light. You're terrible at determining whether a
hand is a winning hand. For now, you've been able to bluff and bluster your way, but you know that one day you won't be
able to get away with it.
As such, you've decided to write a program to assist you!
## Further Details
Mahjong (not to be confused with [mahjong solitaire](http://en.wikipedia.org/wiki/Mahjong_solitaire)) is a game where
hands are composed from combinations of tiles. There are a number of variants of mahjong, but for this challenge, we
will consider a simplified variant of Japanese Mahjong which is also known as Riichi Mahjong.
## Basic Version
There are three suits in this variant, "Bamboo", "Circle" and "Character". Every tile that belongs to these suits has a
value that ranges from 1 - 9.
To complete a hand, tiles are organised into groups. If every tile in a hand belongs to a single group (and each tile
can only be used once), the hand is a winning hand.
For now, we shall consider the groups "Pair", "Set" and "Sequence". They are composed as follows:
Pair - Two tiles with the same suit and value
Set - Three tiles with the same suit and value
Sequence - Three tiles with the same suit, and which increment in value, such as "Circle 2, Circle 3, Circle 4". There
is no value wrapping so "Circle 9, Circle 1, Circle 2" would not be considered valid.
A hand is composed of 14 tiles.
## Bonus 1 - Adding Quads
There is actually a fourth group called a "Quad". It is just like a pair and a set, except it is composed of four tiles.
What makes this group special is that a hand containing quads will actually have a hand larger than 14, 1 for every
quad. This is fine, as long as there is *1, and only 1 pair*.
## Bonus 2 - Adding Honour Tiles
In addition to the tiles belonging to the three suits, there are 7 additional tiles. These tiles have no value, and are
collectively known as "honour" tiles.
As they have no value, they cannot be members of a sequence. Furthermore, they can only be part of a set or pair with
tiles that are exactly the same. For example, "Red Dragon, Red Dragon, Red Dragon" would be a valid set, but "Red
Dragon, Green Dragon, Red Dragon" would not.
These additional tiles are:
* Green Dragon
* Red Dragon
* White Dragon
* North Wind
* East Wind
* South Wind
* West Wind
## Bonus 3 - Seven Pairs
There are a number of special hands that are an exception to the above rules. One such hand is "Seven Pairs". As the
name suggests, it is a hand composed of seven pairs.
# Formal Inputs & Outputs
## Input description
### Basic
You will be provided with N on a single line, followed by N lines of the following format:
<tile suit>,<value>
### Bonus 2
In addition, the lines may be of the format:
<honour tile>
## Output description
You should output whether the hand is a winning hand or not.
# Sample Inputs and Outputs
## Sample Input (Standard)
14
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Character,2
Character,2
Character,2
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Standard)
Winning hand
## Sample Input (Standard)
14
Circle,4
Bamboo,1
Circle,5
Bamboo,2
Character,2
Bamboo,3
Character,2
Circle,6
Character,2
Circle,1
Bamboo,8
Circle,1
Bamboo,7
Bamboo,9
## Sample Output (Standard)
Winning hand
## Sample Input (Standard)
14
Circle,4
Circle,5
Circle,6
Circle,4
Circle,5
Circle,6
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
Circle,4
Circle,5
Circle,6
## Sample Output (Standard)
Winning hand
## Sample Input (Bonus 1)
15
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Character,2
Character,2
Character,2
Character,2
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 1)
Winning hand
## Sample Input (Bonus 1)
16
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Character,2
Character,2
Character,2
Character,2
Circle,1
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 1)
Not a winning hand
## Sample Input (Bonus 2)
14
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Red Dragon
Red Dragon
Red Dragon
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 2)
Winning hand
## Sample Input (Bonus 2)
14
Circle,4
Circle,5
Circle,6
Bamboo,1
Bamboo,2
Bamboo,3
Red Dragon
Green Dragon
White Dragon
Circle,1
Circle,1
Bamboo,7
Bamboo,8
Bamboo,9
## Sample Output (Bonus 2)
Not a winning hand
## Sample Input (Bonus 3)
14
Circle,4
Circle,4
Character,5
Character,5
Bamboo,5
Bamboo,5
Circle,5
Circle,5
Circle,7
Circle,7
Circle,9
Circle,9
Circle,9
Circle,9
## Sample Output (Bonus 3)
Winning hand
# Notes
None of the bonus components depend on each other, and can be implemented in any order. The test cases do not presume
completion of earlier bonus components. The order is just the recommended implementation order.
Many thanks to Redditor /u/oketa for this submission to /r/dailyprogrammer_ideas. If you have any ideas, please submit
them there!
"""
def main():
pass
if __name__ == '__main__':
main() |
input = """
% This is also interesting for the model generator, due to the strange contraint.
b :- not c.
c :- not b.
a :- b.
:- a, not a.
"""
output = """
{a, b}
{c}
"""
| input = '\n% This is also interesting for the model generator, due to the strange contraint.\n\nb :- not c.\nc :- not b.\n\na :- b.\n\n:- a, not a.\n'
output = '\n{a, b}\n{c}\n' |
list1 = [6, 8, 19, 20, 23, 41, 49, 53, 56, 87]
def find_max(items):
if (len(items) == 1):
return items[0]
item1 = items[0]
print(f"Item1 = {item1}")
item2 = find_max(items[1:])
print(f"Item2 = {item2}")
if item1 > item2:
return item1
else:
return item2
print(find_max(list1))
| list1 = [6, 8, 19, 20, 23, 41, 49, 53, 56, 87]
def find_max(items):
if len(items) == 1:
return items[0]
item1 = items[0]
print(f'Item1 = {item1}')
item2 = find_max(items[1:])
print(f'Item2 = {item2}')
if item1 > item2:
return item1
else:
return item2
print(find_max(list1)) |
def twoSum(nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: List[int]
"""
# Create a hash table (Python dictionary)
htbl = {}
for i, num in enumerate(nums):
t = target - num
if t in htbl.keys():
return [htbl[t], i]
else:
htbl[num] = i
return None
if __name__ == '__main__':
nums = [2, 10, 7, 11, 15]
target = 26
result = twoSum(nums, target)
if result is not None:
print("Index of the items = {0}, {1}".format(result[0], result[1]))
else:
print("Couldn't find the solution") | def two_sum(nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: List[int]
"""
htbl = {}
for (i, num) in enumerate(nums):
t = target - num
if t in htbl.keys():
return [htbl[t], i]
else:
htbl[num] = i
return None
if __name__ == '__main__':
nums = [2, 10, 7, 11, 15]
target = 26
result = two_sum(nums, target)
if result is not None:
print('Index of the items = {0}, {1}'.format(result[0], result[1]))
else:
print("Couldn't find the solution") |
class InlineIfThen (Exception):
pass
| class Inlineifthen(Exception):
pass |
lines = []
file = "output.txt"
with open(file, "r") as default_branch:
lines = default_branch.readlines()
repos = set(lines)
sort_file = file[:-4] + "_sorted" + file[-4:]
with open(sort_file, "w") as default_branch:
default_branch.writelines(sorted(repos))
| lines = []
file = 'output.txt'
with open(file, 'r') as default_branch:
lines = default_branch.readlines()
repos = set(lines)
sort_file = file[:-4] + '_sorted' + file[-4:]
with open(sort_file, 'w') as default_branch:
default_branch.writelines(sorted(repos)) |
#!/usr/bin/env python3
class Solution:
def groupAnagrams(self, strs):
"""
:type strs: List[str]
:rtype: List[List[str]]
"""
d = {}
for w in sorted(strs):
k = tuple(sorted(w))
d[k] = d.get(k, []) + [w]
return list(d.values())
if __name__ == "__main__":
print(Solution().groupAnagrams(["eat", "tea", "tan", "ate", "nat", "bat"]))
| class Solution:
def group_anagrams(self, strs):
"""
:type strs: List[str]
:rtype: List[List[str]]
"""
d = {}
for w in sorted(strs):
k = tuple(sorted(w))
d[k] = d.get(k, []) + [w]
return list(d.values())
if __name__ == '__main__':
print(solution().groupAnagrams(['eat', 'tea', 'tan', 'ate', 'nat', 'bat'])) |
#!/usr/bin/env python3
# Dictionaries are data structures(blueprint for big data, definition template)
# used to map key:value pairs.
# As if lists were dictionaries with integer keys at range.
# Dictionaries can be indexed in the same way as lists, using [] containing keys.
# {key:value} can be: {"String":int} {"String":"string"} {int:int} etc...
# Refering to, or indexing A key that doesn't exist in A dictionary returns A KeyError
# An empty dictionary can be defined as {}
# Only immutable(not changable as in can not mute the defined reference
# in any way, or assign it to anything else.) can be used in dictionaries. B
# index as: 1 2 3
data = {"age":25, "car":"red", "char1":'c'}
print(data["age"]) # prints the value of key 'age' in 'data'
print(data["car"])
print(data["char1"])
# though you can't change any current key value, this lets you append keys in A simple way:
# here data[4] is not refering to the fourth index of A list.
data["new"] = "value" # data[newKey] = value
#print(data["newage"]) # KeyErrors as there is no value assigned to key.
print(data)
# True or False if A key is in A dictionary. This does not find values.
print("new" in data) # prints "True" as new is A key in data
# 'get': dict.get(value, "return value if None")
# get value from key. If the specified key doesn't exist in A dictionary,
# get returns the value 'None'.
print(data.get("age"))
print(data.get("char2", "Key 'char2' is not in list, que this message"))
# A math funtion using the data dictionary
# takes age value twice, then adds it.
print(data.get("age") + data.get("age"))
| data = {'age': 25, 'car': 'red', 'char1': 'c'}
print(data['age'])
print(data['car'])
print(data['char1'])
data['new'] = 'value'
print(data)
print('new' in data)
print(data.get('age'))
print(data.get('char2', "Key 'char2' is not in list, que this message"))
print(data.get('age') + data.get('age')) |
class ConfusionMatrix(object):
TP = TN = FP = FN = 0
def __str__(self):
return "p\\t\tP\tN\nP\t{}\t{}\nN\t{}\t{}".format(self.TP, self.FP, self.FN, self.TN)
def recall(self):
return self.TP / float(self.TP + self.FN)
def precision(self):
return self.TP / float(self.TP + self.FP)
def f_score(self):
return 1.0 / ((1.0 / self.recall() + 1.0 / self.precision()) / 2.0)
| class Confusionmatrix(object):
tp = tn = fp = fn = 0
def __str__(self):
return 'p\\t\tP\tN\nP\t{}\t{}\nN\t{}\t{}'.format(self.TP, self.FP, self.FN, self.TN)
def recall(self):
return self.TP / float(self.TP + self.FN)
def precision(self):
return self.TP / float(self.TP + self.FP)
def f_score(self):
return 1.0 / ((1.0 / self.recall() + 1.0 / self.precision()) / 2.0) |
# Example of what a for loop does:
nums = [1, 2, 3]
i_nums = iter(nums)
while True:
try:
item = next(i_nums)
print(item)
except StopIteration:
break
| nums = [1, 2, 3]
i_nums = iter(nums)
while True:
try:
item = next(i_nums)
print(item)
except StopIteration:
break |
#
# PySNMP MIB module CXFrameRelayInterfaceModule-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CXFrameRelayInterfaceModule-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 18:17:14 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion")
DLCI, = mibBuilder.importSymbols("CXFrameRelay-MIB", "DLCI")
Alias, SapIndex, cxFrameRelayInterfaceModule = mibBuilder.importSymbols("CXProduct-SMI", "Alias", "SapIndex", "cxFrameRelayInterfaceModule")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
TimeTicks, MibIdentifier, Gauge32, Bits, Counter32, iso, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, Integer32, IpAddress, Unsigned32, NotificationType, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "MibIdentifier", "Gauge32", "Bits", "Counter32", "iso", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "Integer32", "IpAddress", "Unsigned32", "NotificationType", "ObjectIdentity")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
class SubRef(Integer32):
subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(0, 255)
frimSRConnectInterval = MibScalar((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(30)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSRConnectInterval.setStatus('mandatory')
frimServiceCost = MibScalar((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimServiceCost.setStatus('mandatory')
frimSapTable = MibTable((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3), )
if mibBuilder.loadTexts: frimSapTable.setStatus('mandatory')
frimSapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1), ).setIndexNames((0, "CXFrameRelayInterfaceModule-MIB", "frimSapId"))
if mibBuilder.loadTexts: frimSapEntry.setStatus('mandatory')
frimSapId = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 1), SapIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapId.setStatus('mandatory')
frimSapRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapRowStatus.setStatus('mandatory')
frimSapType = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("lower", 1), ("upper", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapType.setStatus('mandatory')
frimSapAlias = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 4), Alias()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapAlias.setStatus('mandatory')
frimSapCompanionAlias = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 5), Alias()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapCompanionAlias.setStatus('mandatory')
frimSapMaxDlcis = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1022)).clone(32)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapMaxDlcis.setStatus('mandatory')
frimSapMaxErrorFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 14)).clone(10)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapMaxErrorFrames.setStatus('mandatory')
frimSapMonitorFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 14)).clone(14)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapMonitorFrames.setStatus('mandatory')
frimSapFrWindowSize = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(3, 300)).clone(150)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSapFrWindowSize.setStatus('mandatory')
frimSapControlStats = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("clearSapStats", 1)))).setMaxAccess("writeonly")
if mibBuilder.loadTexts: frimSapControlStats.setStatus('mandatory')
frimSapstatRxDataFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatRxDataFrames.setStatus('mandatory')
frimSapstatRxDataOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatRxDataOctets.setStatus('mandatory')
frimSapstatTxDataFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatTxDataFrames.setStatus('mandatory')
frimSapstatTxDataOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatTxDataOctets.setStatus('mandatory')
frimSapstatUnopenedServiceDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatUnopenedServiceDiscards.setStatus('mandatory')
frimSapstatPvcDownDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatPvcDownDiscards.setStatus('mandatory')
frimSapstatUserSuccessfulOpens = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatUserSuccessfulOpens.setStatus('mandatory')
frimSapstatUserUnsuccessfulOpens = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 27), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatUserUnsuccessfulOpens.setStatus('mandatory')
frimSapstatSRSuccessfulConnects = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 28), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatSRSuccessfulConnects.setStatus('mandatory')
frimSapstatSRUnsuccessfulConnects = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 29), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatSRUnsuccessfulConnects.setStatus('mandatory')
frimSapstatTxResets = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 30), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatTxResets.setStatus('mandatory')
frimSapstatRxBECN = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 31), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatRxBECN.setStatus('mandatory')
frimSapstatRxFECN = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 32), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSapstatRxFECN.setStatus('mandatory')
frimSRTable = MibTable((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6), )
if mibBuilder.loadTexts: frimSRTable.setStatus('mandatory')
frimSREntry = MibTableRow((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1), ).setIndexNames((0, "CXFrameRelayInterfaceModule-MIB", "frimSRFrpCircuitSapId"), (0, "CXFrameRelayInterfaceModule-MIB", "frimSRFrpCircuitDlci"), (0, "CXFrameRelayInterfaceModule-MIB", "frimSRProtocolId"), (0, "CXFrameRelayInterfaceModule-MIB", "frimSRSubRef"))
if mibBuilder.loadTexts: frimSREntry.setStatus('mandatory')
frimSRFrpCircuitSapId = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 1), SapIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSRFrpCircuitSapId.setStatus('mandatory')
frimSRFrpCircuitDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 2), DLCI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSRFrpCircuitDlci.setStatus('mandatory')
frimSRProtocolId = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSRProtocolId.setStatus('mandatory')
frimSRSubRef = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 4), SubRef()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSRSubRef.setStatus('mandatory')
frimSRRefRangeEnd = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 5), SubRef()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSRRefRangeEnd.setStatus('mandatory')
frimSRRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSRRowStatus.setStatus('mandatory')
frimSRDestFrpCircuitAlias = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 7), Alias()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSRDestFrpCircuitAlias.setStatus('mandatory')
frimSRDestSubRef = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 8), SubRef()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: frimSRDestSubRef.setStatus('mandatory')
frimSRRouteStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notConnected", 1), ("inProgress", 2), ("connected", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSRRouteStatus.setStatus('mandatory')
frimSRClearStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("noFailure", 1), ("internalError", 2), ("localAllocFailure", 3), ("remoteAllocFailure", 4), ("localNoAccess", 5), ("remoteNoAccess", 6), ("localPvcDown", 7), ("remotePvcDown", 8), ("localPvcBusy", 9), ("remotePvcBusy", 10), ("localFcnFailure", 11), ("remoteFcnFailure", 12), ("localDsnFailure", 13), ("localRefInUse", 14), ("remoteAliasNotFound", 15), ("remoteNoPvcService", 16)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSRClearStatus.setStatus('mandatory')
frimSysConTable = MibTable((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5), )
if mibBuilder.loadTexts: frimSysConTable.setStatus('mandatory')
frimSysConEntry = MibTableRow((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1), ).setIndexNames((0, "CXFrameRelayInterfaceModule-MIB", "frimSysConSapId"), (0, "CXFrameRelayInterfaceModule-MIB", "frimSysConDlci"), (0, "CXFrameRelayInterfaceModule-MIB", "frimSysConPid"), (0, "CXFrameRelayInterfaceModule-MIB", "frimSysConRef"))
if mibBuilder.loadTexts: frimSysConEntry.setStatus('mandatory')
frimSysConSapId = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 1), SapIndex()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConSapId.setStatus('mandatory')
frimSysConDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 2), DLCI()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConDlci.setStatus('mandatory')
frimSysConPid = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("pidFr", 1), ("pidLan", 2), ("pidX25", 3), ("pidCcm", 4), ("pidGmf", 5), ("pidLlc2", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConPid.setStatus('mandatory')
frimSysConRef = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 4), SubRef()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConRef.setStatus('mandatory')
frimSysConRemoteSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConRemoteSlot.setStatus('mandatory')
frimSysConCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 6), TimeTicks()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConCreationTime.setStatus('mandatory')
frimSysConReqDataSize = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConReqDataSize.setStatus('mandatory')
frimSysConNegDataSize = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConNegDataSize.setStatus('mandatory')
frimSysConNegSizeExceededFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConNegSizeExceededFrames.setStatus('mandatory')
frimSysConRefRangeEnd = MibTableColumn((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 10), SubRef()).setMaxAccess("readonly")
if mibBuilder.loadTexts: frimSysConRefRangeEnd.setStatus('mandatory')
mibBuilder.exportSymbols("CXFrameRelayInterfaceModule-MIB", frimSapAlias=frimSapAlias, frimSRTable=frimSRTable, frimSapstatSRSuccessfulConnects=frimSapstatSRSuccessfulConnects, frimSysConNegDataSize=frimSysConNegDataSize, frimSysConRefRangeEnd=frimSysConRefRangeEnd, frimSRFrpCircuitSapId=frimSRFrpCircuitSapId, frimSapTable=frimSapTable, frimSysConCreationTime=frimSysConCreationTime, frimSREntry=frimSREntry, frimSysConDlci=frimSysConDlci, frimSapMonitorFrames=frimSapMonitorFrames, frimSapRowStatus=frimSapRowStatus, frimSRRowStatus=frimSRRowStatus, frimSysConRemoteSlot=frimSysConRemoteSlot, frimSapMaxErrorFrames=frimSapMaxErrorFrames, frimSysConEntry=frimSysConEntry, frimSRRouteStatus=frimSRRouteStatus, frimSapMaxDlcis=frimSapMaxDlcis, frimSRProtocolId=frimSRProtocolId, frimSysConSapId=frimSysConSapId, frimSysConRef=frimSysConRef, frimSRFrpCircuitDlci=frimSRFrpCircuitDlci, frimSapFrWindowSize=frimSapFrWindowSize, frimSRClearStatus=frimSRClearStatus, frimSysConTable=frimSysConTable, frimSapEntry=frimSapEntry, frimSRConnectInterval=frimSRConnectInterval, frimSapId=frimSapId, frimSapstatRxBECN=frimSapstatRxBECN, frimSysConPid=frimSysConPid, frimServiceCost=frimServiceCost, frimSapstatTxDataFrames=frimSapstatTxDataFrames, frimSapCompanionAlias=frimSapCompanionAlias, frimSapstatTxDataOctets=frimSapstatTxDataOctets, frimSapstatRxDataOctets=frimSapstatRxDataOctets, frimSRRefRangeEnd=frimSRRefRangeEnd, frimSapControlStats=frimSapControlStats, frimSRSubRef=frimSRSubRef, frimSapstatPvcDownDiscards=frimSapstatPvcDownDiscards, frimSapType=frimSapType, frimSRDestFrpCircuitAlias=frimSRDestFrpCircuitAlias, frimSapstatUserSuccessfulOpens=frimSapstatUserSuccessfulOpens, frimSapstatRxDataFrames=frimSapstatRxDataFrames, frimSRDestSubRef=frimSRDestSubRef, SubRef=SubRef, frimSapstatUserUnsuccessfulOpens=frimSapstatUserUnsuccessfulOpens, frimSapstatTxResets=frimSapstatTxResets, frimSapstatUnopenedServiceDiscards=frimSapstatUnopenedServiceDiscards, frimSysConReqDataSize=frimSysConReqDataSize, frimSapstatRxFECN=frimSapstatRxFECN, frimSapstatSRUnsuccessfulConnects=frimSapstatSRUnsuccessfulConnects, frimSysConNegSizeExceededFrames=frimSysConNegSizeExceededFrames)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_intersection, value_range_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion')
(dlci,) = mibBuilder.importSymbols('CXFrameRelay-MIB', 'DLCI')
(alias, sap_index, cx_frame_relay_interface_module) = mibBuilder.importSymbols('CXProduct-SMI', 'Alias', 'SapIndex', 'cxFrameRelayInterfaceModule')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(time_ticks, mib_identifier, gauge32, bits, counter32, iso, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, integer32, ip_address, unsigned32, notification_type, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'MibIdentifier', 'Gauge32', 'Bits', 'Counter32', 'iso', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'Integer32', 'IpAddress', 'Unsigned32', 'NotificationType', 'ObjectIdentity')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
class Subref(Integer32):
subtype_spec = Integer32.subtypeSpec + value_range_constraint(0, 255)
frim_sr_connect_interval = mib_scalar((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(30)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSRConnectInterval.setStatus('mandatory')
frim_service_cost = mib_scalar((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimServiceCost.setStatus('mandatory')
frim_sap_table = mib_table((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3))
if mibBuilder.loadTexts:
frimSapTable.setStatus('mandatory')
frim_sap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1)).setIndexNames((0, 'CXFrameRelayInterfaceModule-MIB', 'frimSapId'))
if mibBuilder.loadTexts:
frimSapEntry.setStatus('mandatory')
frim_sap_id = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 1), sap_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapId.setStatus('mandatory')
frim_sap_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('invalid', 1), ('valid', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapRowStatus.setStatus('mandatory')
frim_sap_type = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('lower', 1), ('upper', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapType.setStatus('mandatory')
frim_sap_alias = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 4), alias()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapAlias.setStatus('mandatory')
frim_sap_companion_alias = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 5), alias()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapCompanionAlias.setStatus('mandatory')
frim_sap_max_dlcis = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 1022)).clone(32)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapMaxDlcis.setStatus('mandatory')
frim_sap_max_error_frames = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 14)).clone(10)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapMaxErrorFrames.setStatus('mandatory')
frim_sap_monitor_frames = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 14)).clone(14)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapMonitorFrames.setStatus('mandatory')
frim_sap_fr_window_size = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(3, 300)).clone(150)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSapFrWindowSize.setStatus('mandatory')
frim_sap_control_stats = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('clearSapStats', 1)))).setMaxAccess('writeonly')
if mibBuilder.loadTexts:
frimSapControlStats.setStatus('mandatory')
frim_sapstat_rx_data_frames = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatRxDataFrames.setStatus('mandatory')
frim_sapstat_rx_data_octets = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatRxDataOctets.setStatus('mandatory')
frim_sapstat_tx_data_frames = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 22), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatTxDataFrames.setStatus('mandatory')
frim_sapstat_tx_data_octets = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 23), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatTxDataOctets.setStatus('mandatory')
frim_sapstat_unopened_service_discards = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 24), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatUnopenedServiceDiscards.setStatus('mandatory')
frim_sapstat_pvc_down_discards = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 25), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatPvcDownDiscards.setStatus('mandatory')
frim_sapstat_user_successful_opens = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 26), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatUserSuccessfulOpens.setStatus('mandatory')
frim_sapstat_user_unsuccessful_opens = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 27), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatUserUnsuccessfulOpens.setStatus('mandatory')
frim_sapstat_sr_successful_connects = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 28), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatSRSuccessfulConnects.setStatus('mandatory')
frim_sapstat_sr_unsuccessful_connects = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 29), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatSRUnsuccessfulConnects.setStatus('mandatory')
frim_sapstat_tx_resets = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 30), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatTxResets.setStatus('mandatory')
frim_sapstat_rx_becn = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 31), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatRxBECN.setStatus('mandatory')
frim_sapstat_rx_fecn = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 3, 1, 32), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSapstatRxFECN.setStatus('mandatory')
frim_sr_table = mib_table((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6))
if mibBuilder.loadTexts:
frimSRTable.setStatus('mandatory')
frim_sr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1)).setIndexNames((0, 'CXFrameRelayInterfaceModule-MIB', 'frimSRFrpCircuitSapId'), (0, 'CXFrameRelayInterfaceModule-MIB', 'frimSRFrpCircuitDlci'), (0, 'CXFrameRelayInterfaceModule-MIB', 'frimSRProtocolId'), (0, 'CXFrameRelayInterfaceModule-MIB', 'frimSRSubRef'))
if mibBuilder.loadTexts:
frimSREntry.setStatus('mandatory')
frim_sr_frp_circuit_sap_id = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 1), sap_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSRFrpCircuitSapId.setStatus('mandatory')
frim_sr_frp_circuit_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 2), dlci()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSRFrpCircuitDlci.setStatus('mandatory')
frim_sr_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSRProtocolId.setStatus('mandatory')
frim_sr_sub_ref = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 4), sub_ref()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSRSubRef.setStatus('mandatory')
frim_sr_ref_range_end = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 5), sub_ref()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSRRefRangeEnd.setStatus('mandatory')
frim_sr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('invalid', 1), ('valid', 2)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSRRowStatus.setStatus('mandatory')
frim_sr_dest_frp_circuit_alias = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 7), alias()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSRDestFrpCircuitAlias.setStatus('mandatory')
frim_sr_dest_sub_ref = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 8), sub_ref()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
frimSRDestSubRef.setStatus('mandatory')
frim_sr_route_status = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notConnected', 1), ('inProgress', 2), ('connected', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSRRouteStatus.setStatus('mandatory')
frim_sr_clear_status = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 6, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('noFailure', 1), ('internalError', 2), ('localAllocFailure', 3), ('remoteAllocFailure', 4), ('localNoAccess', 5), ('remoteNoAccess', 6), ('localPvcDown', 7), ('remotePvcDown', 8), ('localPvcBusy', 9), ('remotePvcBusy', 10), ('localFcnFailure', 11), ('remoteFcnFailure', 12), ('localDsnFailure', 13), ('localRefInUse', 14), ('remoteAliasNotFound', 15), ('remoteNoPvcService', 16)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSRClearStatus.setStatus('mandatory')
frim_sys_con_table = mib_table((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5))
if mibBuilder.loadTexts:
frimSysConTable.setStatus('mandatory')
frim_sys_con_entry = mib_table_row((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1)).setIndexNames((0, 'CXFrameRelayInterfaceModule-MIB', 'frimSysConSapId'), (0, 'CXFrameRelayInterfaceModule-MIB', 'frimSysConDlci'), (0, 'CXFrameRelayInterfaceModule-MIB', 'frimSysConPid'), (0, 'CXFrameRelayInterfaceModule-MIB', 'frimSysConRef'))
if mibBuilder.loadTexts:
frimSysConEntry.setStatus('mandatory')
frim_sys_con_sap_id = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 1), sap_index()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConSapId.setStatus('mandatory')
frim_sys_con_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 2), dlci()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConDlci.setStatus('mandatory')
frim_sys_con_pid = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('pidFr', 1), ('pidLan', 2), ('pidX25', 3), ('pidCcm', 4), ('pidGmf', 5), ('pidLlc2', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConPid.setStatus('mandatory')
frim_sys_con_ref = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 4), sub_ref()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConRef.setStatus('mandatory')
frim_sys_con_remote_slot = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConRemoteSlot.setStatus('mandatory')
frim_sys_con_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 6), time_ticks()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConCreationTime.setStatus('mandatory')
frim_sys_con_req_data_size = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 7), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConReqDataSize.setStatus('mandatory')
frim_sys_con_neg_data_size = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 8), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConNegDataSize.setStatus('mandatory')
frim_sys_con_neg_size_exceeded_frames = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConNegSizeExceededFrames.setStatus('mandatory')
frim_sys_con_ref_range_end = mib_table_column((1, 3, 6, 1, 4, 1, 495, 2, 1, 6, 2, 5, 1, 10), sub_ref()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
frimSysConRefRangeEnd.setStatus('mandatory')
mibBuilder.exportSymbols('CXFrameRelayInterfaceModule-MIB', frimSapAlias=frimSapAlias, frimSRTable=frimSRTable, frimSapstatSRSuccessfulConnects=frimSapstatSRSuccessfulConnects, frimSysConNegDataSize=frimSysConNegDataSize, frimSysConRefRangeEnd=frimSysConRefRangeEnd, frimSRFrpCircuitSapId=frimSRFrpCircuitSapId, frimSapTable=frimSapTable, frimSysConCreationTime=frimSysConCreationTime, frimSREntry=frimSREntry, frimSysConDlci=frimSysConDlci, frimSapMonitorFrames=frimSapMonitorFrames, frimSapRowStatus=frimSapRowStatus, frimSRRowStatus=frimSRRowStatus, frimSysConRemoteSlot=frimSysConRemoteSlot, frimSapMaxErrorFrames=frimSapMaxErrorFrames, frimSysConEntry=frimSysConEntry, frimSRRouteStatus=frimSRRouteStatus, frimSapMaxDlcis=frimSapMaxDlcis, frimSRProtocolId=frimSRProtocolId, frimSysConSapId=frimSysConSapId, frimSysConRef=frimSysConRef, frimSRFrpCircuitDlci=frimSRFrpCircuitDlci, frimSapFrWindowSize=frimSapFrWindowSize, frimSRClearStatus=frimSRClearStatus, frimSysConTable=frimSysConTable, frimSapEntry=frimSapEntry, frimSRConnectInterval=frimSRConnectInterval, frimSapId=frimSapId, frimSapstatRxBECN=frimSapstatRxBECN, frimSysConPid=frimSysConPid, frimServiceCost=frimServiceCost, frimSapstatTxDataFrames=frimSapstatTxDataFrames, frimSapCompanionAlias=frimSapCompanionAlias, frimSapstatTxDataOctets=frimSapstatTxDataOctets, frimSapstatRxDataOctets=frimSapstatRxDataOctets, frimSRRefRangeEnd=frimSRRefRangeEnd, frimSapControlStats=frimSapControlStats, frimSRSubRef=frimSRSubRef, frimSapstatPvcDownDiscards=frimSapstatPvcDownDiscards, frimSapType=frimSapType, frimSRDestFrpCircuitAlias=frimSRDestFrpCircuitAlias, frimSapstatUserSuccessfulOpens=frimSapstatUserSuccessfulOpens, frimSapstatRxDataFrames=frimSapstatRxDataFrames, frimSRDestSubRef=frimSRDestSubRef, SubRef=SubRef, frimSapstatUserUnsuccessfulOpens=frimSapstatUserUnsuccessfulOpens, frimSapstatTxResets=frimSapstatTxResets, frimSapstatUnopenedServiceDiscards=frimSapstatUnopenedServiceDiscards, frimSysConReqDataSize=frimSysConReqDataSize, frimSapstatRxFECN=frimSapstatRxFECN, frimSapstatSRUnsuccessfulConnects=frimSapstatSRUnsuccessfulConnects, frimSysConNegSizeExceededFrames=frimSysConNegSizeExceededFrames) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.