content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
# Heap
class Solution:
def shortestPathLength(self, graph):
memo, final, q = set(), (1 << len(graph)) - 1, [(0, i, 1 << i) for i in range(len(graph))]
while q:
steps, node, state = heapq.heappop(q)
if state == final: return steps
for v in graph[node]:
if (state | 1 << v, v) not in memo:
heapq.heappush(q, (steps + 1, v, state | 1 << v))
memo.add((state | 1 << v, v))
# BFS
class Solution:
def shortestPathLength(self, graph):
memo, final, q, steps = set(), (1 << len(graph)) - 1, [(i, 1 << i) for i in range(len(graph))], 0
while True:
new = []
for node, state in q:
if state == final: return steps
for v in graph[node]:
if (state | 1 << v, v) not in memo:
new.append((v, state | 1 << v))
memo.add((state | 1 << v, v))
q = new
steps += 1
# Deque
class Solution:
def shortestPathLength(self, graph):
memo, final, q = set(), (1 << len(graph)) - 1, collections.deque([(i, 0, 1 << i) for i in range(len(graph))])
while q:
node, steps, state = q.popleft()
if state == final: return steps
for v in graph[node]:
if (state | 1 << v, v) not in memo:
q.append((v, steps + 1, state | 1 << v))
memo.add((state | 1 << v, v))
| class Solution:
def shortest_path_length(self, graph):
(memo, final, q) = (set(), (1 << len(graph)) - 1, [(0, i, 1 << i) for i in range(len(graph))])
while q:
(steps, node, state) = heapq.heappop(q)
if state == final:
return steps
for v in graph[node]:
if (state | 1 << v, v) not in memo:
heapq.heappush(q, (steps + 1, v, state | 1 << v))
memo.add((state | 1 << v, v))
class Solution:
def shortest_path_length(self, graph):
(memo, final, q, steps) = (set(), (1 << len(graph)) - 1, [(i, 1 << i) for i in range(len(graph))], 0)
while True:
new = []
for (node, state) in q:
if state == final:
return steps
for v in graph[node]:
if (state | 1 << v, v) not in memo:
new.append((v, state | 1 << v))
memo.add((state | 1 << v, v))
q = new
steps += 1
class Solution:
def shortest_path_length(self, graph):
(memo, final, q) = (set(), (1 << len(graph)) - 1, collections.deque([(i, 0, 1 << i) for i in range(len(graph))]))
while q:
(node, steps, state) = q.popleft()
if state == final:
return steps
for v in graph[node]:
if (state | 1 << v, v) not in memo:
q.append((v, steps + 1, state | 1 << v))
memo.add((state | 1 << v, v)) |
"""
Conf file for base_url
"""
base_url = "http://qxf2trainer.pythonanywhere.com/accounts/login/"
| """
Conf file for base_url
"""
base_url = 'http://qxf2trainer.pythonanywhere.com/accounts/login/' |
def test_besthit():
assert False
def test_get_term():
assert False
def test_get_ancestors():
assert False
def test_search():
assert False
def test_suggest():
assert False
def test_select():
assert False
| def test_besthit():
assert False
def test_get_term():
assert False
def test_get_ancestors():
assert False
def test_search():
assert False
def test_suggest():
assert False
def test_select():
assert False |
#
# PySNMP MIB module VISM-SESSION-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/VISM-SESSION-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 21:27:36 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)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint")
voice, = mibBuilder.importSymbols("BASIS-MIB", "voice")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
iso, Bits, Counter64, ModuleIdentity, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Counter32, Integer32, NotificationType, ObjectIdentity, Unsigned32, MibIdentifier, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Bits", "Counter64", "ModuleIdentity", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Counter32", "Integer32", "NotificationType", "ObjectIdentity", "Unsigned32", "MibIdentifier", "Gauge32")
DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention")
vismSessionGrp = MibIdentifier((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11))
class TruthValue(Integer32):
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("true", 1), ("false", 2))
vismSessionSetTable = MibTable((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1), )
if mibBuilder.loadTexts: vismSessionSetTable.setStatus('mandatory')
vismSessionSetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1), ).setIndexNames((0, "VISM-SESSION-MIB", "vismSessionSetNum"))
if mibBuilder.loadTexts: vismSessionSetEntry.setStatus('mandatory')
vismSessionSetNum = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionSetNum.setStatus('mandatory')
vismSessionSetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 6))).clone(namedValues=NamedValues(("active", 1), ("createAndGo", 4), ("destroy", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismSessionSetRowStatus.setStatus('mandatory')
vismSessionSetState = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("idle", 1), ("oos", 2), ("activeIs", 3), ("standbyIs", 4), ("fullIs", 5), ("unknown", 6)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionSetState.setStatus('mandatory')
vismSessionSetTotalGrps = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 4), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionSetTotalGrps.setStatus('mandatory')
vismSessionSetActiveGrp = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionSetActiveGrp.setStatus('mandatory')
vismSessionSetSwitchFails = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionSetSwitchFails.setStatus('mandatory')
vismSessionSetSwitchSuccesses = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionSetSwitchSuccesses.setStatus('mandatory')
vismSessionSetFaultTolerant = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 8), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismSessionSetFaultTolerant.setStatus('mandatory')
vismSessionGrpTable = MibTable((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2), )
if mibBuilder.loadTexts: vismSessionGrpTable.setStatus('mandatory')
vismSessionGrpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1), ).setIndexNames((0, "VISM-SESSION-MIB", "vismSessionGrpNum"))
if mibBuilder.loadTexts: vismSessionGrpEntry.setStatus('mandatory')
vismSessionGrpNum = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionGrpNum.setStatus('mandatory')
vismSessionGrpSetNum = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 2), Integer32()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismSessionGrpSetNum.setStatus('mandatory')
vismSessionGrpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 6))).clone(namedValues=NamedValues(("active", 1), ("createAndGo", 4), ("destroy", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismSessionGrpRowStatus.setStatus('mandatory')
vismSessionGrpState = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("idle", 1), ("oos", 2), ("is", 3), ("unknown", 4)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionGrpState.setStatus('mandatory')
vismSessionGrpCurrSession = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 5), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionGrpCurrSession.setStatus('mandatory')
vismSessionGrpTotalSessions = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionGrpTotalSessions.setStatus('mandatory')
vismSessionGrpSwitchFails = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionGrpSwitchFails.setStatus('mandatory')
vismSessionGrpSwitchSuccesses = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismSessionGrpSwitchSuccesses.setStatus('mandatory')
vismSessionGrpMgcName = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismSessionGrpMgcName.setStatus('mandatory')
vismRudpSessionCnfTable = MibTable((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3), )
if mibBuilder.loadTexts: vismRudpSessionCnfTable.setStatus('mandatory')
vismRudpSessionCnfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1), ).setIndexNames((0, "VISM-SESSION-MIB", "vismRudpSessionNum"))
if mibBuilder.loadTexts: vismRudpSessionCnfEntry.setStatus('mandatory')
vismRudpSessionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionNum.setStatus('mandatory')
vismRudpSessionGrpNum = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionGrpNum.setStatus('mandatory')
vismRudpSessionCnfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 6))).clone(namedValues=NamedValues(("active", 1), ("createAndGo", 4), ("destroy", 6)))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionCnfRowStatus.setStatus('mandatory')
vismRudpSessionPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionPriority.setStatus('mandatory')
vismRudpSessionState = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("oos", 1), ("is", 2), ("unknown", 3)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionState.setStatus('mandatory')
vismRudpSessionCurrSession = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionCurrSession.setStatus('mandatory')
vismRudpSessionLocalIp = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 7), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionLocalIp.setStatus('mandatory')
vismRudpSessionLocalPort = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1124, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionLocalPort.setStatus('mandatory')
vismRudpSessionRmtIp = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 9), IpAddress()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRmtIp.setStatus('mandatory')
vismRudpSessionRmtPort = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1124, 65535))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionRmtPort.setStatus('mandatory')
vismRudpSessionMaxWindow = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64)).clone(32)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionMaxWindow.setStatus('mandatory')
vismRudpSessionSyncAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32)).clone(5)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionSyncAttempts.setStatus('mandatory')
vismRudpSessionMaxSegSize = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 65535)).clone(384)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionMaxSegSize.setStatus('mandatory')
vismRudpSessionMaxAutoReset = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(5)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionMaxAutoReset.setStatus('mandatory')
vismRudpSessionRetransTmout = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(100, 65535)).clone(600)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionRetransTmout.setStatus('mandatory')
vismRudpSessionMaxRetrans = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(3)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionMaxRetrans.setStatus('mandatory')
vismRudpSessionMaxCumAck = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(3)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionMaxCumAck.setStatus('mandatory')
vismRudpSessionCumAckTmout = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(100, 65535)).clone(300)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionCumAckTmout.setStatus('mandatory')
vismRudpSessionMaxOutOfSeq = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(4)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionMaxOutOfSeq.setStatus('mandatory')
vismRudpSessionNullSegTmout = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(2000)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionNullSegTmout.setStatus('mandatory')
vismRudpSessionTransStateTmout = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(2000)).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionTransStateTmout.setStatus('mandatory')
vismRudpSessionType = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("backhaul", 1), ("lapdTrunking", 2))).clone('backhaul')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionType.setStatus('mandatory')
vismRudpSessionRmtGwIp = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 23), IpAddress()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: vismRudpSessionRmtGwIp.setStatus('mandatory')
vismRudpSessionStatTable = MibTable((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4), )
if mibBuilder.loadTexts: vismRudpSessionStatTable.setStatus('mandatory')
vismRudpSessionStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1), ).setIndexNames((0, "VISM-SESSION-MIB", "vismRudpSessionStatNum"))
if mibBuilder.loadTexts: vismRudpSessionStatEntry.setStatus('mandatory')
vismRudpSessionStatNum = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionStatNum.setStatus('mandatory')
vismRudpSessionAutoResets = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionAutoResets.setStatus('mandatory')
vismRudpSessionRcvdAutoResets = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRcvdAutoResets.setStatus('mandatory')
vismRudpSessionRcvdInSeqs = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRcvdInSeqs.setStatus('mandatory')
vismRudpSessionRcvdOutSeqs = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRcvdOutSeqs.setStatus('mandatory')
vismRudpSessionSentPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionSentPackets.setStatus('mandatory')
vismRudpSessionRcvdPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRcvdPackets.setStatus('mandatory')
vismRudpSessionSentBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionSentBytes.setStatus('mandatory')
vismRudpSessionRcvdBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRcvdBytes.setStatus('mandatory')
vismRudpSessionDataSentPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionDataSentPkts.setStatus('mandatory')
vismRudpSessionDataRcvdPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionDataRcvdPkts.setStatus('mandatory')
vismRudpSessionDiscardPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionDiscardPkts.setStatus('mandatory')
vismRudpSessionRetransPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: vismRudpSessionRetransPkts.setStatus('mandatory')
mibBuilder.exportSymbols("VISM-SESSION-MIB", vismRudpSessionCnfTable=vismRudpSessionCnfTable, vismRudpSessionLocalPort=vismRudpSessionLocalPort, vismRudpSessionCnfRowStatus=vismRudpSessionCnfRowStatus, vismRudpSessionRmtPort=vismRudpSessionRmtPort, vismRudpSessionMaxAutoReset=vismRudpSessionMaxAutoReset, vismRudpSessionAutoResets=vismRudpSessionAutoResets, vismRudpSessionTransStateTmout=vismRudpSessionTransStateTmout, vismRudpSessionRetransTmout=vismRudpSessionRetransTmout, vismRudpSessionNullSegTmout=vismRudpSessionNullSegTmout, vismRudpSessionSentBytes=vismRudpSessionSentBytes, vismSessionSetNum=vismSessionSetNum, vismRudpSessionSyncAttempts=vismRudpSessionSyncAttempts, vismRudpSessionType=vismRudpSessionType, vismRudpSessionDiscardPkts=vismRudpSessionDiscardPkts, vismSessionSetState=vismSessionSetState, vismSessionGrpSwitchSuccesses=vismSessionGrpSwitchSuccesses, vismRudpSessionState=vismRudpSessionState, TruthValue=TruthValue, vismSessionGrpSetNum=vismSessionGrpSetNum, vismRudpSessionRcvdInSeqs=vismRudpSessionRcvdInSeqs, vismRudpSessionRcvdOutSeqs=vismRudpSessionRcvdOutSeqs, vismRudpSessionRetransPkts=vismRudpSessionRetransPkts, vismRudpSessionStatEntry=vismRudpSessionStatEntry, vismSessionGrp=vismSessionGrp, vismRudpSessionGrpNum=vismRudpSessionGrpNum, vismSessionSetFaultTolerant=vismSessionSetFaultTolerant, vismRudpSessionDataRcvdPkts=vismRudpSessionDataRcvdPkts, vismSessionSetRowStatus=vismSessionSetRowStatus, vismRudpSessionLocalIp=vismRudpSessionLocalIp, vismSessionGrpTotalSessions=vismSessionGrpTotalSessions, vismSessionSetTable=vismSessionSetTable, vismRudpSessionMaxOutOfSeq=vismRudpSessionMaxOutOfSeq, vismSessionGrpMgcName=vismSessionGrpMgcName, vismSessionGrpTable=vismSessionGrpTable, vismRudpSessionCnfEntry=vismRudpSessionCnfEntry, vismSessionSetSwitchSuccesses=vismSessionSetSwitchSuccesses, vismRudpSessionRcvdAutoResets=vismRudpSessionRcvdAutoResets, vismRudpSessionCumAckTmout=vismRudpSessionCumAckTmout, vismSessionSetEntry=vismSessionSetEntry, vismRudpSessionStatTable=vismRudpSessionStatTable, vismRudpSessionNum=vismRudpSessionNum, vismRudpSessionMaxWindow=vismRudpSessionMaxWindow, vismSessionGrpCurrSession=vismSessionGrpCurrSession, vismRudpSessionMaxCumAck=vismRudpSessionMaxCumAck, vismSessionSetActiveGrp=vismSessionSetActiveGrp, vismRudpSessionRcvdBytes=vismRudpSessionRcvdBytes, vismSessionGrpNum=vismSessionGrpNum, vismSessionGrpEntry=vismSessionGrpEntry, vismSessionGrpSwitchFails=vismSessionGrpSwitchFails, vismRudpSessionRmtIp=vismRudpSessionRmtIp, vismRudpSessionDataSentPkts=vismRudpSessionDataSentPkts, vismRudpSessionPriority=vismRudpSessionPriority, vismSessionSetSwitchFails=vismSessionSetSwitchFails, vismRudpSessionRcvdPackets=vismRudpSessionRcvdPackets, vismRudpSessionMaxRetrans=vismRudpSessionMaxRetrans, vismRudpSessionMaxSegSize=vismRudpSessionMaxSegSize, vismRudpSessionStatNum=vismRudpSessionStatNum, vismRudpSessionRmtGwIp=vismRudpSessionRmtGwIp, vismRudpSessionCurrSession=vismRudpSessionCurrSession, vismSessionGrpRowStatus=vismSessionGrpRowStatus, vismSessionSetTotalGrps=vismSessionSetTotalGrps, vismSessionGrpState=vismSessionGrpState, vismRudpSessionSentPackets=vismRudpSessionSentPackets)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_range_constraint, constraints_intersection, single_value_constraint, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint')
(voice,) = mibBuilder.importSymbols('BASIS-MIB', 'voice')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(iso, bits, counter64, module_identity, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, counter32, integer32, notification_type, object_identity, unsigned32, mib_identifier, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Bits', 'Counter64', 'ModuleIdentity', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Counter32', 'Integer32', 'NotificationType', 'ObjectIdentity', 'Unsigned32', 'MibIdentifier', 'Gauge32')
(display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention')
vism_session_grp = mib_identifier((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11))
class Truthvalue(Integer32):
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('true', 1), ('false', 2))
vism_session_set_table = mib_table((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1))
if mibBuilder.loadTexts:
vismSessionSetTable.setStatus('mandatory')
vism_session_set_entry = mib_table_row((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1)).setIndexNames((0, 'VISM-SESSION-MIB', 'vismSessionSetNum'))
if mibBuilder.loadTexts:
vismSessionSetEntry.setStatus('mandatory')
vism_session_set_num = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionSetNum.setStatus('mandatory')
vism_session_set_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 6))).clone(namedValues=named_values(('active', 1), ('createAndGo', 4), ('destroy', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismSessionSetRowStatus.setStatus('mandatory')
vism_session_set_state = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('idle', 1), ('oos', 2), ('activeIs', 3), ('standbyIs', 4), ('fullIs', 5), ('unknown', 6)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionSetState.setStatus('mandatory')
vism_session_set_total_grps = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 4), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionSetTotalGrps.setStatus('mandatory')
vism_session_set_active_grp = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionSetActiveGrp.setStatus('mandatory')
vism_session_set_switch_fails = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionSetSwitchFails.setStatus('mandatory')
vism_session_set_switch_successes = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionSetSwitchSuccesses.setStatus('mandatory')
vism_session_set_fault_tolerant = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 1, 1, 8), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismSessionSetFaultTolerant.setStatus('mandatory')
vism_session_grp_table = mib_table((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2))
if mibBuilder.loadTexts:
vismSessionGrpTable.setStatus('mandatory')
vism_session_grp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1)).setIndexNames((0, 'VISM-SESSION-MIB', 'vismSessionGrpNum'))
if mibBuilder.loadTexts:
vismSessionGrpEntry.setStatus('mandatory')
vism_session_grp_num = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionGrpNum.setStatus('mandatory')
vism_session_grp_set_num = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 2), integer32()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismSessionGrpSetNum.setStatus('mandatory')
vism_session_grp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 6))).clone(namedValues=named_values(('active', 1), ('createAndGo', 4), ('destroy', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismSessionGrpRowStatus.setStatus('mandatory')
vism_session_grp_state = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('idle', 1), ('oos', 2), ('is', 3), ('unknown', 4)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionGrpState.setStatus('mandatory')
vism_session_grp_curr_session = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 5), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionGrpCurrSession.setStatus('mandatory')
vism_session_grp_total_sessions = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionGrpTotalSessions.setStatus('mandatory')
vism_session_grp_switch_fails = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionGrpSwitchFails.setStatus('mandatory')
vism_session_grp_switch_successes = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismSessionGrpSwitchSuccesses.setStatus('mandatory')
vism_session_grp_mgc_name = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(1, 64))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismSessionGrpMgcName.setStatus('mandatory')
vism_rudp_session_cnf_table = mib_table((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3))
if mibBuilder.loadTexts:
vismRudpSessionCnfTable.setStatus('mandatory')
vism_rudp_session_cnf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1)).setIndexNames((0, 'VISM-SESSION-MIB', 'vismRudpSessionNum'))
if mibBuilder.loadTexts:
vismRudpSessionCnfEntry.setStatus('mandatory')
vism_rudp_session_num = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionNum.setStatus('mandatory')
vism_rudp_session_grp_num = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionGrpNum.setStatus('mandatory')
vism_rudp_session_cnf_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 6))).clone(namedValues=named_values(('active', 1), ('createAndGo', 4), ('destroy', 6)))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionCnfRowStatus.setStatus('mandatory')
vism_rudp_session_priority = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionPriority.setStatus('mandatory')
vism_rudp_session_state = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('oos', 1), ('is', 2), ('unknown', 3)))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionState.setStatus('mandatory')
vism_rudp_session_curr_session = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 6), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionCurrSession.setStatus('mandatory')
vism_rudp_session_local_ip = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 7), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionLocalIp.setStatus('mandatory')
vism_rudp_session_local_port = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1124, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionLocalPort.setStatus('mandatory')
vism_rudp_session_rmt_ip = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 9), ip_address()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRmtIp.setStatus('mandatory')
vism_rudp_session_rmt_port = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1124, 65535))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionRmtPort.setStatus('mandatory')
vism_rudp_session_max_window = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 64)).clone(32)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionMaxWindow.setStatus('mandatory')
vism_rudp_session_sync_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 32)).clone(5)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionSyncAttempts.setStatus('mandatory')
vism_rudp_session_max_seg_size = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(30, 65535)).clone(384)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionMaxSegSize.setStatus('mandatory')
vism_rudp_session_max_auto_reset = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(5)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionMaxAutoReset.setStatus('mandatory')
vism_rudp_session_retrans_tmout = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(100, 65535)).clone(600)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionRetransTmout.setStatus('mandatory')
vism_rudp_session_max_retrans = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(3)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionMaxRetrans.setStatus('mandatory')
vism_rudp_session_max_cum_ack = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(3)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionMaxCumAck.setStatus('mandatory')
vism_rudp_session_cum_ack_tmout = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(100, 65535)).clone(300)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionCumAckTmout.setStatus('mandatory')
vism_rudp_session_max_out_of_seq = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(4)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionMaxOutOfSeq.setStatus('mandatory')
vism_rudp_session_null_seg_tmout = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(2000)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionNullSegTmout.setStatus('mandatory')
vism_rudp_session_trans_state_tmout = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(2000)).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionTransStateTmout.setStatus('mandatory')
vism_rudp_session_type = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('backhaul', 1), ('lapdTrunking', 2))).clone('backhaul')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionType.setStatus('mandatory')
vism_rudp_session_rmt_gw_ip = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 3, 1, 23), ip_address()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
vismRudpSessionRmtGwIp.setStatus('mandatory')
vism_rudp_session_stat_table = mib_table((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4))
if mibBuilder.loadTexts:
vismRudpSessionStatTable.setStatus('mandatory')
vism_rudp_session_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1)).setIndexNames((0, 'VISM-SESSION-MIB', 'vismRudpSessionStatNum'))
if mibBuilder.loadTexts:
vismRudpSessionStatEntry.setStatus('mandatory')
vism_rudp_session_stat_num = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionStatNum.setStatus('mandatory')
vism_rudp_session_auto_resets = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionAutoResets.setStatus('mandatory')
vism_rudp_session_rcvd_auto_resets = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRcvdAutoResets.setStatus('mandatory')
vism_rudp_session_rcvd_in_seqs = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRcvdInSeqs.setStatus('mandatory')
vism_rudp_session_rcvd_out_seqs = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRcvdOutSeqs.setStatus('mandatory')
vism_rudp_session_sent_packets = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionSentPackets.setStatus('mandatory')
vism_rudp_session_rcvd_packets = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRcvdPackets.setStatus('mandatory')
vism_rudp_session_sent_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionSentBytes.setStatus('mandatory')
vism_rudp_session_rcvd_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRcvdBytes.setStatus('mandatory')
vism_rudp_session_data_sent_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 10), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionDataSentPkts.setStatus('mandatory')
vism_rudp_session_data_rcvd_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 11), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionDataRcvdPkts.setStatus('mandatory')
vism_rudp_session_discard_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 12), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionDiscardPkts.setStatus('mandatory')
vism_rudp_session_retrans_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 351, 110, 5, 5, 11, 4, 1, 13), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
vismRudpSessionRetransPkts.setStatus('mandatory')
mibBuilder.exportSymbols('VISM-SESSION-MIB', vismRudpSessionCnfTable=vismRudpSessionCnfTable, vismRudpSessionLocalPort=vismRudpSessionLocalPort, vismRudpSessionCnfRowStatus=vismRudpSessionCnfRowStatus, vismRudpSessionRmtPort=vismRudpSessionRmtPort, vismRudpSessionMaxAutoReset=vismRudpSessionMaxAutoReset, vismRudpSessionAutoResets=vismRudpSessionAutoResets, vismRudpSessionTransStateTmout=vismRudpSessionTransStateTmout, vismRudpSessionRetransTmout=vismRudpSessionRetransTmout, vismRudpSessionNullSegTmout=vismRudpSessionNullSegTmout, vismRudpSessionSentBytes=vismRudpSessionSentBytes, vismSessionSetNum=vismSessionSetNum, vismRudpSessionSyncAttempts=vismRudpSessionSyncAttempts, vismRudpSessionType=vismRudpSessionType, vismRudpSessionDiscardPkts=vismRudpSessionDiscardPkts, vismSessionSetState=vismSessionSetState, vismSessionGrpSwitchSuccesses=vismSessionGrpSwitchSuccesses, vismRudpSessionState=vismRudpSessionState, TruthValue=TruthValue, vismSessionGrpSetNum=vismSessionGrpSetNum, vismRudpSessionRcvdInSeqs=vismRudpSessionRcvdInSeqs, vismRudpSessionRcvdOutSeqs=vismRudpSessionRcvdOutSeqs, vismRudpSessionRetransPkts=vismRudpSessionRetransPkts, vismRudpSessionStatEntry=vismRudpSessionStatEntry, vismSessionGrp=vismSessionGrp, vismRudpSessionGrpNum=vismRudpSessionGrpNum, vismSessionSetFaultTolerant=vismSessionSetFaultTolerant, vismRudpSessionDataRcvdPkts=vismRudpSessionDataRcvdPkts, vismSessionSetRowStatus=vismSessionSetRowStatus, vismRudpSessionLocalIp=vismRudpSessionLocalIp, vismSessionGrpTotalSessions=vismSessionGrpTotalSessions, vismSessionSetTable=vismSessionSetTable, vismRudpSessionMaxOutOfSeq=vismRudpSessionMaxOutOfSeq, vismSessionGrpMgcName=vismSessionGrpMgcName, vismSessionGrpTable=vismSessionGrpTable, vismRudpSessionCnfEntry=vismRudpSessionCnfEntry, vismSessionSetSwitchSuccesses=vismSessionSetSwitchSuccesses, vismRudpSessionRcvdAutoResets=vismRudpSessionRcvdAutoResets, vismRudpSessionCumAckTmout=vismRudpSessionCumAckTmout, vismSessionSetEntry=vismSessionSetEntry, vismRudpSessionStatTable=vismRudpSessionStatTable, vismRudpSessionNum=vismRudpSessionNum, vismRudpSessionMaxWindow=vismRudpSessionMaxWindow, vismSessionGrpCurrSession=vismSessionGrpCurrSession, vismRudpSessionMaxCumAck=vismRudpSessionMaxCumAck, vismSessionSetActiveGrp=vismSessionSetActiveGrp, vismRudpSessionRcvdBytes=vismRudpSessionRcvdBytes, vismSessionGrpNum=vismSessionGrpNum, vismSessionGrpEntry=vismSessionGrpEntry, vismSessionGrpSwitchFails=vismSessionGrpSwitchFails, vismRudpSessionRmtIp=vismRudpSessionRmtIp, vismRudpSessionDataSentPkts=vismRudpSessionDataSentPkts, vismRudpSessionPriority=vismRudpSessionPriority, vismSessionSetSwitchFails=vismSessionSetSwitchFails, vismRudpSessionRcvdPackets=vismRudpSessionRcvdPackets, vismRudpSessionMaxRetrans=vismRudpSessionMaxRetrans, vismRudpSessionMaxSegSize=vismRudpSessionMaxSegSize, vismRudpSessionStatNum=vismRudpSessionStatNum, vismRudpSessionRmtGwIp=vismRudpSessionRmtGwIp, vismRudpSessionCurrSession=vismRudpSessionCurrSession, vismSessionGrpRowStatus=vismSessionGrpRowStatus, vismSessionSetTotalGrps=vismSessionSetTotalGrps, vismSessionGrpState=vismSessionGrpState, vismRudpSessionSentPackets=vismRudpSessionSentPackets) |
"""
This module contains a function that loads previous trained classifier into the nlp unit.
"""
def loadClassif(nlp, app_path):
"""
This function loads the already trained classifier into the nlp unit.
If the classifier does not yet exist, it will be trained as part of this function.
Input:
nlp: nlp unit
app_path: path to chatbot app
Returns:
Nothing.
"""
nlp.build()
# loading domain classifier
dc = nlp.domain_classifier
dc.load(app_path+"/models/domain_model.pkl")
# loading intent classifier
for domain in nlp.domains:
clf = nlp.domains[domain].intent_classifier
try:
clf.load(app_path + "/models/domain_" + domain + "_intent_model.pkl")
except:
nlp.domains[domain].intent_classifier.fit()
# loading entity recognizer
for domain in nlp.domains:
for intent in nlp.domains[domain].intents:
nlp.domains[domain].intents[intent].build()
if nlp.domains[domain].intents[intent].entities != {}:
er = nlp.domains[domain].intents[intent].entity_recognizer
er.load(app_path + '/models/domain_' + domain + '_intent_' + intent + '_entity_recognizer.pkl')
| """
This module contains a function that loads previous trained classifier into the nlp unit.
"""
def load_classif(nlp, app_path):
"""
This function loads the already trained classifier into the nlp unit.
If the classifier does not yet exist, it will be trained as part of this function.
Input:
nlp: nlp unit
app_path: path to chatbot app
Returns:
Nothing.
"""
nlp.build()
dc = nlp.domain_classifier
dc.load(app_path + '/models/domain_model.pkl')
for domain in nlp.domains:
clf = nlp.domains[domain].intent_classifier
try:
clf.load(app_path + '/models/domain_' + domain + '_intent_model.pkl')
except:
nlp.domains[domain].intent_classifier.fit()
for domain in nlp.domains:
for intent in nlp.domains[domain].intents:
nlp.domains[domain].intents[intent].build()
if nlp.domains[domain].intents[intent].entities != {}:
er = nlp.domains[domain].intents[intent].entity_recognizer
er.load(app_path + '/models/domain_' + domain + '_intent_' + intent + '_entity_recognizer.pkl') |
#---------------------------------
# PIPELINE RUN
#---------------------------------
# The configuration settings to run the pipeline. These options are overwritten
# if a new setting is specified as an argument when running the pipeline.
# These settings include:
# - logDir: The directory where the batch queue scripts are stored, along with
# stdout and stderr dumps after the job is run.
# - logFile: Log file in logDir which all commands submitted are stored.
# - style: the style which the pipeline runs in. One of:
# - 'print': prints the stages which will be run to stdout,
# - 'run': runs the pipeline until the specified stages are finished, and
# - 'flowchart': outputs a flowchart of the pipeline stages specified and
# their dependencies.
# - procs: the number of python processes to run simultaneously. This
# determines the maximum parallelism of the pipeline. For distributed jobs
# it also constrains the maximum total jobs submitted to the queue at any one
# time.
# - verbosity: one of 0 (quiet), 1 (normal), 2 (chatty).
# - end: the desired tasks to be run. Rubra will also run all tasks which are
# dependencies of these tasks.
# - force: tasks which will be forced to run, regardless of timestamps.
# - rebuild: one of 'fromstart','fromend'. Whether to calculate which
# dependencies will be rerun by working back from an end task to the latest
# up-to-date task, or forward from the earliest out-of-date task. 'fromstart'
# is the most conservative and commonly used as it brings all intermediate
# tasks up to date.
# - manager: "pbs" or "slurm"
pipeline = {
"logDir": "log",
"logFile": "pipeline_commands.log",
"style": "print",
"procs": 16,
"verbose": 2,
"end": ["fastQCSummary", "voom", "edgeR", "qcSummary"],
"force": [],
"rebuild": "fromstart",
"manager": "slurm",
}
# This option specifies whether or not you are using VLSCI's Merri or Barcoo
# cluster. If True, this changes java's tmpdir to the job's tmp dir on
# /scratch ($TMPDIR) instead of using the default /tmp which has limited space.
using_merri = True
# Optional parameter governing how Ruffus determines which part of the
# pipeline is out-of-date and needs to be re-run. If set to False, Ruffus
# will work back from the end target tasks and only execute the pipeline
# after the first up-to-date tasks that it encounters.
# Warning: Use with caution! If you don't understand what this option does,
# keep this option as True.
maximal_rebuild_mode = True
#---------------------------------
# CONFIG
#---------------------------------
# Name of analysis. Changing the name will create new sub-directories for
# voom, edgeR, and cuffdiff analysis.
analysis_name = "analysis_v1"
# The directory containing *.fastq.gz read files.
raw_seq_dir = "/path_to_project/fastq_files/"
# Path to the CSV file with sample information regarding condition and
# covariates if available.
samples_csv = "/path_to_project/fastq_files/samples.csv"
# Path to the CSV file with which comparisons to make.
comparisons_csv = "/path_to_project/fastq_files/comparisons.csv"
# The output directory.
output_dir = "/path_to_project/results/"
# Sequencing platform for read group information.
platform = "Illumina"
# If the experiment is paired-end or single-end: True (PE) or False (SE).
paired_end = False
# Whether the experiment is strand specific: "yes", "no", or "reverse".
stranded = "no"
#---------------------------------
# REFERENCE FILES
#---------------------------------
# Most reference files can be obtained from the Illumina iGenomes project:
# http://cufflinks.cbcb.umd.edu/igenomes.html
# Bowtie 2 index files: *.1.bt2, *.2.bt2, *.3.bt2, *.4.bt2, *.rev.1.bt2,
# *.rev.2.bt2.
genome_ref = "/vlsci/VR0002/shared/Reference_Files/Indexed_Ref_Genomes/bowtie_Indexed/human_g1k_v37"
# Genome reference FASTA. Also needs an indexed genome (.fai) and dictionary
# (.dict) file in the same directory.
genome_ref_fa = "/vlsci/VR0002/shared/Reference_Files/Indexed_Ref_Genomes/bowtie_Indexed/human_g1k_v37.fa"
# Gene set reference file (.gtf). Recommend using the GTF file obtained from
# Ensembl as Ensembl gene IDs are used for annotation (if specified).
gene_ref = "/vlsci/VR0002/shared/Reference_Files/Indexed_Ref_Genomes/TuxedoSuite_Ref_Files/Homo_sapiens/Ensembl/GRCh37/Annotation/Genes/genes.gtf"
# Either a rRNA reference fasta (ending in .fasta or .fa) or an GATK interval
# file (ending in .list) containing rRNA intervals to calculate the rRNA
# content. Can set as False if not available.
# rrna_ref = "/vlsci/VR0002/shared/Reference_Files/rRNA/human_all_rRNA.fasta"
rrna_ref = "/vlsci/VR0002/shared/jchung/human_reference_files/human_rRNA.list"
# Optional tRNA and rRNA sequences to filter out in Cuffdiff (.gtf or .gff).
# Set as False if not provided.
cuffdiff_mask_file = False
#---------------------------------
# TRIMMOMATIC PARAMETERS
#---------------------------------
# Parameters for Trimmomatic (a tool for trimming Illumina reads).
# http://www.usadellab.org/cms/index.php?page=trimmomatic
# Path of a FASTA file containing adapter sequences used in sequencing.
adapter_seq = "/vlsci/VR0002/shared/jchung/human_reference_files/TruSeqAdapters.fa"
# The maximum mismatch count which will still allow a full match to be
# performed.
seed_mismatches = 2
# How accurate the match between the two 'adapter ligated' reads must be for
# PE palindrome read alignment.
palendrome_clip_threshold = 30
# How accurate the match between any adapter etc. sequence must be against a
# read.
simple_clip_threshold = 10
# The minimum quality needed to keep a base and the minimum length of reads to
# be kept.
extra_parameters = "LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36"
# Output Trimmomatic log file
write_trimmomatic_log = True
#---------------------------------
# R PARAMETERS
#---------------------------------
# Get annotations from Ensembl BioMart. GTF file needs to use IDs from Ensembl.
# Set as False to skip annotation, else
# provide the name of the dataset that will be queried. Attributes to be
# obtained include gene symbol, chromosome name, description, and gene biotype.
# Commonly used datasets:
# human: "hsapiens_gene_ensembl"
# mouse: "mmusculus_gene_ensembl"
# rat: "rnorvegicus_gene_ensembl"
# You can list all available datasets in R by using the listDatasets fuction:
# > library(biomaRt)
# > listDatasets(useMart("ensembl"))
# The gene symbol is obtained from the attribute "hgnc_symbol" (human) or
# "mgi_symbol" (mice/rats) if available. If not, the "external_gene_id" is used
# to obtain the gene symbol. You can change this by editing the script:
# scripts/combine_and_annotate.r
annotation_dataset = "hsapiens_gene_ensembl"
#---------------------------------
# SCRIPT PATHS
#---------------------------------
# Paths to other wrapper scripts needed to run the pipeline. Make sure these
# paths are relative to the directory where you plan to run the pipeline in or
# change them to absolute paths.
html_index_script = "scripts/html_index.py"
index_script = "scripts/build_index.sh"
tophat_script = "scripts/run_tophat.sh"
merge_tophat_script = "scripts/merge_tophat.sh"
fix_tophat_unmapped_reads_script = "scripts/fix_tophat_unmapped_reads.py"
htseq_script = "scripts/run_htseq.sh"
fastqc_parse_script = "scripts/fastqc_parse.py"
qc_parse_script = "scripts/qc_parse.py"
alignment_stats_script = "scripts/alignment_stats.sh"
combine_and_annotate_script = "scripts/combine_and_annotate.R"
de_analysis_script = "scripts/de_analysis.R"
#---------------------------------
# PROGRAM PATHS
#---------------------------------
trimmomatic_path = "/usr/local/trimmomatic/0.30/trimmomatic-0.30.jar"
reorder_sam_path = "/usr/local/picard/1.69/lib/ReorderSam.jar"
mark_duplicates_path = "/usr/local/picard/1.69/lib/MarkDuplicates.jar"
rnaseqc_path = "/usr/local/rnaseqc/1.1.7/RNA-SeQC_v1.1.7.jar"
add_or_replace_read_groups_path = "/usr/local/picard/1.69/lib/AddOrReplaceReadGroups.jar"
| pipeline = {'logDir': 'log', 'logFile': 'pipeline_commands.log', 'style': 'print', 'procs': 16, 'verbose': 2, 'end': ['fastQCSummary', 'voom', 'edgeR', 'qcSummary'], 'force': [], 'rebuild': 'fromstart', 'manager': 'slurm'}
using_merri = True
maximal_rebuild_mode = True
analysis_name = 'analysis_v1'
raw_seq_dir = '/path_to_project/fastq_files/'
samples_csv = '/path_to_project/fastq_files/samples.csv'
comparisons_csv = '/path_to_project/fastq_files/comparisons.csv'
output_dir = '/path_to_project/results/'
platform = 'Illumina'
paired_end = False
stranded = 'no'
genome_ref = '/vlsci/VR0002/shared/Reference_Files/Indexed_Ref_Genomes/bowtie_Indexed/human_g1k_v37'
genome_ref_fa = '/vlsci/VR0002/shared/Reference_Files/Indexed_Ref_Genomes/bowtie_Indexed/human_g1k_v37.fa'
gene_ref = '/vlsci/VR0002/shared/Reference_Files/Indexed_Ref_Genomes/TuxedoSuite_Ref_Files/Homo_sapiens/Ensembl/GRCh37/Annotation/Genes/genes.gtf'
rrna_ref = '/vlsci/VR0002/shared/jchung/human_reference_files/human_rRNA.list'
cuffdiff_mask_file = False
adapter_seq = '/vlsci/VR0002/shared/jchung/human_reference_files/TruSeqAdapters.fa'
seed_mismatches = 2
palendrome_clip_threshold = 30
simple_clip_threshold = 10
extra_parameters = 'LEADING:3 TRAILING:3 SLIDINGWINDOW:4:15 MINLEN:36'
write_trimmomatic_log = True
annotation_dataset = 'hsapiens_gene_ensembl'
html_index_script = 'scripts/html_index.py'
index_script = 'scripts/build_index.sh'
tophat_script = 'scripts/run_tophat.sh'
merge_tophat_script = 'scripts/merge_tophat.sh'
fix_tophat_unmapped_reads_script = 'scripts/fix_tophat_unmapped_reads.py'
htseq_script = 'scripts/run_htseq.sh'
fastqc_parse_script = 'scripts/fastqc_parse.py'
qc_parse_script = 'scripts/qc_parse.py'
alignment_stats_script = 'scripts/alignment_stats.sh'
combine_and_annotate_script = 'scripts/combine_and_annotate.R'
de_analysis_script = 'scripts/de_analysis.R'
trimmomatic_path = '/usr/local/trimmomatic/0.30/trimmomatic-0.30.jar'
reorder_sam_path = '/usr/local/picard/1.69/lib/ReorderSam.jar'
mark_duplicates_path = '/usr/local/picard/1.69/lib/MarkDuplicates.jar'
rnaseqc_path = '/usr/local/rnaseqc/1.1.7/RNA-SeQC_v1.1.7.jar'
add_or_replace_read_groups_path = '/usr/local/picard/1.69/lib/AddOrReplaceReadGroups.jar' |
"""
# Sample code to perform I/O:
name = input() # Reading input from STDIN
print('Hi, %s.' % name) # Writing output to STDOUT
# Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail
"""
# Write your code here
t = int(input())
def num_glowing(n, primes):
if len(primes) == 0:
return 0
p = primes[0]
m = n // p
ps = primes[1:]
return m + num_glowing(n, ps) - num_glowing(m, ps)
for _ in range(t):
s = input()
k = int(input())
switches = []
for i in range(len(s)):
if s[i] == '1':
switches.append(i + 1)
left = 1
right = 40 * k
u = 0
v = num_glowing(right, switches)
while left + 1 < right:
mid = (left * (v - k) + right * (k - u)) // (v - u)
if mid <= left:
mid += 1
if mid >= right:
mid -= 1
x = num_glowing(mid, switches)
if x >= k:
right = mid
v = x
else:
left = mid
u = x
print(right)
| """
# Sample code to perform I/O:
name = input() # Reading input from STDIN
print('Hi, %s.' % name) # Writing output to STDOUT
# Warning: Printing unwanted or ill-formatted data to output will cause the test cases to fail
"""
t = int(input())
def num_glowing(n, primes):
if len(primes) == 0:
return 0
p = primes[0]
m = n // p
ps = primes[1:]
return m + num_glowing(n, ps) - num_glowing(m, ps)
for _ in range(t):
s = input()
k = int(input())
switches = []
for i in range(len(s)):
if s[i] == '1':
switches.append(i + 1)
left = 1
right = 40 * k
u = 0
v = num_glowing(right, switches)
while left + 1 < right:
mid = (left * (v - k) + right * (k - u)) // (v - u)
if mid <= left:
mid += 1
if mid >= right:
mid -= 1
x = num_glowing(mid, switches)
if x >= k:
right = mid
v = x
else:
left = mid
u = x
print(right) |
class DesignOpt:
def __init__(mesh, dofManager, quadRule):
self.mesh = mesh
self.dofManager = dofManager
self.quadRule = quadRule
| class Designopt:
def __init__(mesh, dofManager, quadRule):
self.mesh = mesh
self.dofManager = dofManager
self.quadRule = quadRule |
__author__ = 'rhoerbe' #2013-09-05
# Entity Categories specifying the PVP eGov Token as of "PVP2-Allgemein V2.1.0", http://www.ref.gv.at/
EGOVTOKEN = ["PVP-VERSION",
"PVP-PRINCIPAL-NAME",
"PVP-GIVENNAME",
"PVP-BIRTHDATE",
"PVP-USERID",
"PVP-GID",
"PVP-BPK",
"PVP-MAIL",
"PVP-TEL",
"PVP-PARTICIPANT-ID",
"PVP-PARTICIPANT-OKZ",
"PVP-OU-OKZ",
"PVP-OU",
"PVP-OU-GV-OU-ID",
"PVP-FUNCTION",
"PVP-ROLES",
]
CHARGEATTR = ["PVP-INVOICE-RECPT-ID",
"PVP-COST-CENTER-ID",
"PVP-CHARGE-CODE",
]
# all eGov Token attributes except (1) transaction charging and (2) chaining
PVP2 = "http://www.ref.gv.at/ns/names/agiz/pvp/egovtoken"
# transaction charging extension
PVP2CHARGE = "http://www.ref.gv.at/ns/names/agiz/pvp/egovtoken-charge"
RELEASE = {
PVP2: EGOVTOKEN,
PVP2CHARGE: CHARGEATTR,
}
| __author__ = 'rhoerbe'
egovtoken = ['PVP-VERSION', 'PVP-PRINCIPAL-NAME', 'PVP-GIVENNAME', 'PVP-BIRTHDATE', 'PVP-USERID', 'PVP-GID', 'PVP-BPK', 'PVP-MAIL', 'PVP-TEL', 'PVP-PARTICIPANT-ID', 'PVP-PARTICIPANT-OKZ', 'PVP-OU-OKZ', 'PVP-OU', 'PVP-OU-GV-OU-ID', 'PVP-FUNCTION', 'PVP-ROLES']
chargeattr = ['PVP-INVOICE-RECPT-ID', 'PVP-COST-CENTER-ID', 'PVP-CHARGE-CODE']
pvp2 = 'http://www.ref.gv.at/ns/names/agiz/pvp/egovtoken'
pvp2_charge = 'http://www.ref.gv.at/ns/names/agiz/pvp/egovtoken-charge'
release = {PVP2: EGOVTOKEN, PVP2CHARGE: CHARGEATTR} |
# classes for inline and reply keyboards
class InlineButton:
def __init__(self, text_, callback_data_ = "", url_=""):
self.text = text_
self.callback_data = callback_data_
self.url = url_
if not self.callback_data and not self.url:
raise TypeError("Either callback_data or url must be given")
def __str__(self):
return str(self.toDict())
def toDict(self):
return self.__dict__
class KeyboardButton:
def __init__(self, text_):
self.text = text_
def __str__(self):
return str(self.toDict())
def toDict(self):
return self.__dict__
class ButtonList:
def __init__(self, button_type_: type, button_list_: list = []):
self.__button_type = None
self.__button_type_str = ""
self.__button_list = []
if button_type_ == InlineButton:
self.__button_type = button_type_
self.__button_type_str = "inline"
elif button_type_ == KeyboardButton:
self.__button_type = button_type_
self.__button_type_str = "keyboard"
else:
raise TypeError(
"given button_type is not type InlineButton or KeyboardButton")
if button_list_:
for element in button_list_:
if isinstance(element, self.__button_type):
self.__button_list.append(element)
def __str__(self):
return str(self.toDict())
def toDict(self):
return [button.toDict() for button in self.__button_list]
def addCommand(self, button_):
if isinstance(button_, self.__button_type):
self.__button_list.append(button_)
def bulkAddCommands(self, button_list: list):
for element in button_list:
if isinstance(element, self.__button_type):
self.__button_list.append(element)
def getButtonType(self):
return self.__button_type
def toBotDict(self, special_button: type = None, column_count: int = 3):
button_list = []
button_row = []
for button in self.__button_list:
button_row.append(button.toDict())
if len(button_row) >= column_count or button == self.__button_list[-1]:
button_list.append(button_row[:])
button_row.clear()
if special_button and isinstance(special_button, self.__button_type):
button_list.append([special_button.toDict()])
return {f'{"inline_" if self.__button_type_str == "inline" else ""}keyboard': button_list}
| class Inlinebutton:
def __init__(self, text_, callback_data_='', url_=''):
self.text = text_
self.callback_data = callback_data_
self.url = url_
if not self.callback_data and (not self.url):
raise type_error('Either callback_data or url must be given')
def __str__(self):
return str(self.toDict())
def to_dict(self):
return self.__dict__
class Keyboardbutton:
def __init__(self, text_):
self.text = text_
def __str__(self):
return str(self.toDict())
def to_dict(self):
return self.__dict__
class Buttonlist:
def __init__(self, button_type_: type, button_list_: list=[]):
self.__button_type = None
self.__button_type_str = ''
self.__button_list = []
if button_type_ == InlineButton:
self.__button_type = button_type_
self.__button_type_str = 'inline'
elif button_type_ == KeyboardButton:
self.__button_type = button_type_
self.__button_type_str = 'keyboard'
else:
raise type_error('given button_type is not type InlineButton or KeyboardButton')
if button_list_:
for element in button_list_:
if isinstance(element, self.__button_type):
self.__button_list.append(element)
def __str__(self):
return str(self.toDict())
def to_dict(self):
return [button.toDict() for button in self.__button_list]
def add_command(self, button_):
if isinstance(button_, self.__button_type):
self.__button_list.append(button_)
def bulk_add_commands(self, button_list: list):
for element in button_list:
if isinstance(element, self.__button_type):
self.__button_list.append(element)
def get_button_type(self):
return self.__button_type
def to_bot_dict(self, special_button: type=None, column_count: int=3):
button_list = []
button_row = []
for button in self.__button_list:
button_row.append(button.toDict())
if len(button_row) >= column_count or button == self.__button_list[-1]:
button_list.append(button_row[:])
button_row.clear()
if special_button and isinstance(special_button, self.__button_type):
button_list.append([special_button.toDict()])
return {f"{('inline_' if self.__button_type_str == 'inline' else '')}keyboard": button_list} |
def rank4_simple(a, b):
assert a.shape == b.shape
da, db, dc, dd = a.shape
s = 0
for iia in range(da):
for iib in range(db):
for iic in range(dc):
for iid in range(dd):
s += a[iia, iib, iic, iid] * b[iia, iib, iic, iid]
return s
| def rank4_simple(a, b):
assert a.shape == b.shape
(da, db, dc, dd) = a.shape
s = 0
for iia in range(da):
for iib in range(db):
for iic in range(dc):
for iid in range(dd):
s += a[iia, iib, iic, iid] * b[iia, iib, iic, iid]
return s |
#
# PySNMP MIB module CNTEXT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CNTEXT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 12:25:29 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)
#
cntExt, = mibBuilder.importSymbols("APENT-MIB", "cntExt")
ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint")
ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup")
Counter64, NotificationType, Gauge32, ObjectIdentity, TimeTicks, IpAddress, MibIdentifier, Bits, ModuleIdentity, Unsigned32, iso, Counter32, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "NotificationType", "Gauge32", "ObjectIdentity", "TimeTicks", "IpAddress", "MibIdentifier", "Bits", "ModuleIdentity", "Unsigned32", "iso", "Counter32", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn")
TextualConvention, RowStatus, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString")
apCntExtMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 2467, 1, 16, 1))
if mibBuilder.loadTexts: apCntExtMib.setLastUpdated('9710092000Z')
if mibBuilder.loadTexts: apCntExtMib.setOrganization('ArrowPoint Communications Inc.')
if mibBuilder.loadTexts: apCntExtMib.setContactInfo(' Postal: ArrowPoint Communications Inc. 50 Nagog Park Acton, Massachusetts 01720 Tel: +1 978-206-3000 option 1 E-Mail: support@arrowpoint.com')
if mibBuilder.loadTexts: apCntExtMib.setDescription('The MIB module used to describe the ArrowPoint Communications content rule table')
apCntRuleOrder = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("hierarchicalFirst", 0), ("cacheRuleFirst", 1))).clone('cacheRuleFirst')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apCntRuleOrder.setStatus('current')
if mibBuilder.loadTexts: apCntRuleOrder.setDescription('Affects which ruleset is consulted first when categorizing flows')
apCntTable = MibTable((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4), )
if mibBuilder.loadTexts: apCntTable.setStatus('current')
if mibBuilder.loadTexts: apCntTable.setDescription('A list of content rule entries.')
apCntEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1), ).setIndexNames((0, "CNTEXT-MIB", "apCntOwner"), (0, "CNTEXT-MIB", "apCntName"))
if mibBuilder.loadTexts: apCntEntry.setStatus('current')
if mibBuilder.loadTexts: apCntEntry.setDescription('A group of information to uniquely identify a content providing service.')
apCntOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntOwner.setStatus('current')
if mibBuilder.loadTexts: apCntOwner.setDescription('The name of the contents administrative owner.')
apCntName = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntName.setStatus('current')
if mibBuilder.loadTexts: apCntName.setDescription('The name of the content providing service.')
apCntIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 3), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntIndex.setStatus('current')
if mibBuilder.loadTexts: apCntIndex.setDescription('The unique service index assigned to the name by the SCM.')
apCntIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 4), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntIPAddress.setStatus('current')
if mibBuilder.loadTexts: apCntIPAddress.setDescription('The IP Address the of the content providing service.')
apCntIPProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 6, 17))).clone(namedValues=NamedValues(("any", 0), ("tcp", 6), ("udp", 17))).clone('any')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntIPProtocol.setStatus('current')
if mibBuilder.loadTexts: apCntIPProtocol.setDescription('The IP Protocol the of the content providing service.')
apCntPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntPort.setStatus('current')
if mibBuilder.loadTexts: apCntPort.setDescription('The UDP or TCP port of the content providing service.')
apCntUrl = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntUrl.setStatus('current')
if mibBuilder.loadTexts: apCntUrl.setDescription('The name of the content providing service.')
apCntSticky = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("none", 1), ("ssl", 2), ("cookieurl", 3), ("url", 4), ("cookies", 5), ("sticky-srcip-dstport", 6), ("sticky-srcip", 7), ("arrowpoint-cookie", 8))).clone('none')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntSticky.setStatus('current')
if mibBuilder.loadTexts: apCntSticky.setDescription('The sticky attribute controls whether source addresses stick to a server once they go to it initially based on load balancing.')
apCntBalance = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("roundrobin", 1), ("aca", 2), ("destip", 3), ("srcip", 4), ("domain", 5), ("url", 6), ("leastconn", 7), ("weightedrr", 8), ("domainhash", 9), ("urlhash", 10))).clone('roundrobin')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntBalance.setStatus('current')
if mibBuilder.loadTexts: apCntBalance.setDescription('The load distribution algorithm to use for this content.')
apCntQOSTag = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7)).clone(7)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntQOSTag.setStatus('current')
if mibBuilder.loadTexts: apCntQOSTag.setDescription('The QOS tag to associate with this content definition.')
apCntEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntEnable.setStatus('current')
if mibBuilder.loadTexts: apCntEnable.setDescription('The state of the service, either enable or disabled')
apCntRedirect = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntRedirect.setStatus('current')
if mibBuilder.loadTexts: apCntRedirect.setDescription('Where to 302 redirect any requests for this content')
apCntDrop = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntDrop.setStatus('current')
if mibBuilder.loadTexts: apCntDrop.setDescription('Specify that requests for this content receive a 404 message and the txt to include')
apCntSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(4000)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntSize.setStatus('obsolete')
if mibBuilder.loadTexts: apCntSize.setDescription('This object is obsolete.')
apCntPersistence = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntPersistence.setStatus('current')
if mibBuilder.loadTexts: apCntPersistence.setDescription('Controls whether each GET is inspected individuallly or else GETs may be pipelined on a single persistent TCP connection')
apCntAuthor = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntAuthor.setStatus('current')
if mibBuilder.loadTexts: apCntAuthor.setDescription('The name of the author of this content rule.')
apCntSpider = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntSpider.setStatus('current')
if mibBuilder.loadTexts: apCntSpider.setDescription('Controls whether the content will be spidered at rule activation time.')
apCntHits = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 18), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntHits.setStatus('current')
if mibBuilder.loadTexts: apCntHits.setDescription('Number of times user request was detected which invoked this content rule.')
apCntRedirects = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 19), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntRedirects.setStatus('current')
if mibBuilder.loadTexts: apCntRedirects.setDescription('Number of times this content rule caused a redirect request.')
apCntDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 20), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntDrops.setStatus('current')
if mibBuilder.loadTexts: apCntDrops.setDescription('Number of times this content rule was unable to establish a connection.')
apCntRejNoServices = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 21), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntRejNoServices.setStatus('current')
if mibBuilder.loadTexts: apCntRejNoServices.setDescription('Number of times this content rule rejected a connection for want of a service.')
apCntRejServOverload = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 22), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntRejServOverload.setStatus('current')
if mibBuilder.loadTexts: apCntRejServOverload.setDescription('Number of times this content rule rejected a connection because of overload on the designated service(s).')
apCntSpoofs = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 23), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntSpoofs.setStatus('current')
if mibBuilder.loadTexts: apCntSpoofs.setDescription('Number of times a connection was created using this content rule.')
apCntNats = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 24), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntNats.setStatus('current')
if mibBuilder.loadTexts: apCntNats.setDescription('Number of times network address translation was performed using this content rule.')
apCntByteCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 25), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntByteCount.setStatus('current')
if mibBuilder.loadTexts: apCntByteCount.setDescription('Total number of bytes passed using this content rule.')
apCntFrameCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 26), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntFrameCount.setStatus('current')
if mibBuilder.loadTexts: apCntFrameCount.setDescription('Total number of frames passed using this content rule.')
apCntZeroButton = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 27), Integer32()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntZeroButton.setStatus('current')
if mibBuilder.loadTexts: apCntZeroButton.setDescription('Number of time counters for this content rule have been zeroed.')
apCntHotListEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntHotListEnabled.setStatus('current')
if mibBuilder.loadTexts: apCntHotListEnabled.setDescription('Controls whether a hotlist will be maintained for this content rule.')
apCntHotListSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(10)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntHotListSize.setStatus('current')
if mibBuilder.loadTexts: apCntHotListSize.setDescription('Total number of hotlist entries which will be maintainted for this rule.')
apCntHotListThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 30), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntHotListThreshold.setStatus('current')
if mibBuilder.loadTexts: apCntHotListThreshold.setDescription('The threshold under which an item is not considered hot.')
apCntHotListType = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("hitCount", 0))).clone('hitCount')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntHotListType.setStatus('current')
if mibBuilder.loadTexts: apCntHotListType.setDescription('Configures how a determination of hotness will be done.')
apCntHotListInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntHotListInterval.setStatus('current')
if mibBuilder.loadTexts: apCntHotListInterval.setDescription('The interval in units of minutes used to refreshing the hot list.')
apCntFlowTrack = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntFlowTrack.setStatus('current')
if mibBuilder.loadTexts: apCntFlowTrack.setDescription('Controls whether arrowflow reporting will be done for this content rule.')
apCntWeightMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 34), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntWeightMask.setStatus('current')
if mibBuilder.loadTexts: apCntWeightMask.setDescription('This object specifies a bitmask used to determine the type of metric to be used for load balancing.')
apCntStickyMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 35), IpAddress()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyMask.setStatus('current')
if mibBuilder.loadTexts: apCntStickyMask.setDescription('This object specifies the sticky mask used to determine the portion of the IP Address which denotes stickness between the server and client.')
apCntCookieStartPos = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 600)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntCookieStartPos.setStatus('current')
if mibBuilder.loadTexts: apCntCookieStartPos.setDescription('This object specifies the start of a cookie.')
apCntHeuristicCookieFence = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000)).clone(100)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntHeuristicCookieFence.setStatus('current')
if mibBuilder.loadTexts: apCntHeuristicCookieFence.setDescription('This object specifies the end of a Heuristic Cookie Fence.')
apCntEqlName = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 38), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntEqlName.setStatus('current')
if mibBuilder.loadTexts: apCntEqlName.setDescription('The name of the EQL associated with this content rule')
apCntCacheFalloverType = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("linear", 1), ("next", 2), ("bypass", 3))).clone('linear')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntCacheFalloverType.setStatus('current')
if mibBuilder.loadTexts: apCntCacheFalloverType.setDescription('The type of fallover to use with division balancing')
apCntLocalLoadThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 254)).clone(254)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntLocalLoadThreshold.setStatus('current')
if mibBuilder.loadTexts: apCntLocalLoadThreshold.setDescription('Redirect services are preferred when all local services exceed this thrreshold.')
apCntStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 41), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStatus.setStatus('current')
if mibBuilder.loadTexts: apCntStatus.setDescription('Status entry for this row ')
apCntRedirectLoadThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(255)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntRedirectLoadThreshold.setStatus('current')
if mibBuilder.loadTexts: apCntRedirectLoadThreshold.setDescription('Redirect services are eligible when their load is below this thrreshold.')
apCntContentType = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("http", 1), ("ftp-control", 2), ("realaudio-control", 3), ("ssl", 4), ("bypass", 5), ("ftp-publish", 6))).clone('http')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntContentType.setStatus('current')
if mibBuilder.loadTexts: apCntContentType.setDescription('The type of flow associated with this rule')
apCntStickyInactivity = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyInactivity.setStatus('current')
if mibBuilder.loadTexts: apCntStickyInactivity.setDescription('The maximun inactivity on a sticky connection (in minutes)')
apCntDNSBalance = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("preferlocal", 1), ("roundrobin", 2), ("useownerdnsbalance", 3), ("leastloaded", 4))).clone('useownerdnsbalance')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntDNSBalance.setStatus('current')
if mibBuilder.loadTexts: apCntDNSBalance.setDescription('The DNS distribution algorithm to use for this content rule.')
apCntStickyGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyGroup.setStatus('current')
if mibBuilder.loadTexts: apCntStickyGroup.setDescription('The sticky group number of a rule, 0 means not being used')
apCntAppTypeBypasses = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 47), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntAppTypeBypasses.setStatus('current')
if mibBuilder.loadTexts: apCntAppTypeBypasses.setDescription('Total number of frames bypassed directly by matching this content rule.')
apCntNoSvcBypasses = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 48), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntNoSvcBypasses.setStatus('current')
if mibBuilder.loadTexts: apCntNoSvcBypasses.setDescription('Total number of frames bypassed due to no services available on this content rule.')
apCntSvcLoadBypasses = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 49), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntSvcLoadBypasses.setStatus('current')
if mibBuilder.loadTexts: apCntSvcLoadBypasses.setDescription('Total number of frames bypassed due to overloaded services on this content rule.')
apCntConnCtBypasses = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 50), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntConnCtBypasses.setStatus('current')
if mibBuilder.loadTexts: apCntConnCtBypasses.setDescription('Total number of frames bypassed due to connection count on this content rule.')
apCntUrqlTblName = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 51), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntUrqlTblName.setStatus('current')
if mibBuilder.loadTexts: apCntUrqlTblName.setDescription('The name of the URQL table associated with this content rule')
apCntStickyStrPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 52), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrPre.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrPre.setDescription('The string prefix for sticky string operation')
apCntStickyStrEos = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 53), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrEos.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrEos.setDescription('The End-Of-String characters')
apCntStickyStrSkipLen = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 54), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrSkipLen.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrSkipLen.setDescription('The number of bytes to be skipped before sticky operation')
apCntStickyStrProcLen = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 55), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrProcLen.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrProcLen.setDescription('The number of bytes to be processed by the string action')
apCntStickyStrAction = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("hash-a", 1), ("hash-xor", 2), ("hash-crc32", 3), ("match-service-cookie", 4))).clone('match-service-cookie')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrAction.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrAction.setDescription('The sticky operation to be applied on the sticky cookie/string')
apCntStickyStrAsciiConv = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrAsciiConv.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrAsciiConv.setDescription('To convert the escaped ASCII code to its char in sticky string')
apCntPrimarySorryServer = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 58), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntPrimarySorryServer.setStatus('current')
if mibBuilder.loadTexts: apCntPrimarySorryServer.setDescription('The last chance server which will be chosen if all other servers fail')
apCntSecondSorryServer = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 59), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntSecondSorryServer.setStatus('current')
if mibBuilder.loadTexts: apCntSecondSorryServer.setDescription('The backup for the primary sorry server')
apCntPrimarySorryHits = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 60), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntPrimarySorryHits.setStatus('current')
if mibBuilder.loadTexts: apCntPrimarySorryHits.setDescription('Total number of hits to the primary sorry server')
apCntSecondSorryHits = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 61), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntSecondSorryHits.setStatus('current')
if mibBuilder.loadTexts: apCntSecondSorryHits.setDescription('Total number of hits to the secondary sorry server')
apCntStickySrvrDownFailover = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("reject", 1), ("redirect", 2), ("balance", 3), ("sticky-srcip", 4), ("sticky-srcip-dstport", 5))).clone('balance')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickySrvrDownFailover.setStatus('current')
if mibBuilder.loadTexts: apCntStickySrvrDownFailover.setDescription('The failover mechanism used when sticky server is not active')
apCntStickyStrType = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 63), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("cookieurl", 1), ("url", 2), ("cookies", 3))).clone('cookieurl')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyStrType.setStatus('current')
if mibBuilder.loadTexts: apCntStickyStrType.setDescription('The type of string that strig criteria applies to')
apCntParamBypass = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntParamBypass.setStatus('current')
if mibBuilder.loadTexts: apCntParamBypass.setDescription("Specifies that content requests which contain the special terminators '?' or '#' indicating arguments in the request are to bypass transparent caches and are to be sent directly to the origin server.")
apCntAvgLocalLoad = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 65), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntAvgLocalLoad.setStatus('current')
if mibBuilder.loadTexts: apCntAvgLocalLoad.setDescription('The currently sensed average load for all local services under this rule')
apCntAvgRemoteLoad = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 66), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntAvgRemoteLoad.setStatus('current')
if mibBuilder.loadTexts: apCntAvgRemoteLoad.setDescription('The currently sensed average load for all remote services under this rule')
apCntDqlName = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 67), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntDqlName.setStatus('current')
if mibBuilder.loadTexts: apCntDqlName.setDescription('The name of the DQL table associated with this content rule')
apCntIPAddressRange = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 68), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntIPAddressRange.setStatus('current')
if mibBuilder.loadTexts: apCntIPAddressRange.setDescription('The range of IP Addresses of the content providing service.')
apCntTagListName = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 69), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntTagListName.setStatus('current')
if mibBuilder.loadTexts: apCntTagListName.setDescription('The name of the tag list to be used with this content rule')
apCntStickyNoCookieAction = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 70), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("loadbalance", 1), ("reject", 2), ("redirect", 3), ("service", 4))).clone('loadbalance')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyNoCookieAction.setStatus('current')
if mibBuilder.loadTexts: apCntStickyNoCookieAction.setDescription('The action to be taken when no cookie found with sticky cookie config.')
apCntStickyNoCookieString = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 71), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyNoCookieString.setStatus('current')
if mibBuilder.loadTexts: apCntStickyNoCookieString.setDescription('The String used by sticky no cookie redirect action')
apCntStickyCookiePath = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 72), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 99))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyCookiePath.setStatus('current')
if mibBuilder.loadTexts: apCntStickyCookiePath.setDescription('The value to be used as the Cookie Path Attribute.')
apCntStickyCookieExp = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 73), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(11, 11)).setFixedLength(11)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyCookieExp.setStatus('current')
if mibBuilder.loadTexts: apCntStickyCookieExp.setDescription('The value to be used as the Cookie Experation Attribute. Format - dd:hh:mm:ss')
apCntStickyCacheExp = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 74), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60)).clone(3)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntStickyCacheExp.setStatus('current')
if mibBuilder.loadTexts: apCntStickyCacheExp.setDescription('The value used to time out entries in the Cookie Cache.')
apCntTagWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 75), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1024))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: apCntTagWeight.setStatus('current')
if mibBuilder.loadTexts: apCntTagWeight.setDescription('The weight assigned to the rule using header-field-group.')
apCntAclBypassCt = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntAclBypassCt.setStatus('current')
if mibBuilder.loadTexts: apCntAclBypassCt.setDescription('Total number of frames bypassed due to ACL restrictions.')
apCntNoRuleBypassCt = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntNoRuleBypassCt.setStatus('current')
if mibBuilder.loadTexts: apCntNoRuleBypassCt.setDescription('Total number of frames bypassed due to no rule matches.')
apCntCacheMissBypassCt = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntCacheMissBypassCt.setStatus('current')
if mibBuilder.loadTexts: apCntCacheMissBypassCt.setDescription('Total number of frames bypassed due to returning from a transparent cache.')
apCntGarbageBypassCt = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntGarbageBypassCt.setStatus('current')
if mibBuilder.loadTexts: apCntGarbageBypassCt.setDescription('Total number of frames bypassed due to unknown info found in the URL.')
apCntUrlParamsBypassCt = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: apCntUrlParamsBypassCt.setStatus('current')
if mibBuilder.loadTexts: apCntUrlParamsBypassCt.setDescription('Total number of frames bypassed due to paramters found in the URL.')
apCntBypassConnectionPersistence = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('enable')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apCntBypassConnectionPersistence.setStatus('current')
if mibBuilder.loadTexts: apCntBypassConnectionPersistence.setDescription('Affects which ruleset is consulted first when categorizing flows')
apCntPersistenceResetMethod = MibScalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("redirect", 0), ("remap", 1))).clone('redirect')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: apCntPersistenceResetMethod.setStatus('current')
if mibBuilder.loadTexts: apCntPersistenceResetMethod.setDescription('Affects which ruleset is consulted first when categorizing flows')
mibBuilder.exportSymbols("CNTEXT-MIB", apCntHits=apCntHits, apCntSecondSorryHits=apCntSecondSorryHits, apCntSpoofs=apCntSpoofs, apCntStickyNoCookieString=apCntStickyNoCookieString, apCntStickyMask=apCntStickyMask, apCntCacheFalloverType=apCntCacheFalloverType, apCntName=apCntName, apCntHotListInterval=apCntHotListInterval, apCntUrlParamsBypassCt=apCntUrlParamsBypassCt, apCntStickyStrEos=apCntStickyStrEos, PYSNMP_MODULE_ID=apCntExtMib, apCntCacheMissBypassCt=apCntCacheMissBypassCt, apCntRedirectLoadThreshold=apCntRedirectLoadThreshold, apCntSpider=apCntSpider, apCntAuthor=apCntAuthor, apCntAppTypeBypasses=apCntAppTypeBypasses, apCntExtMib=apCntExtMib, apCntStickyStrAsciiConv=apCntStickyStrAsciiConv, apCntStickyCookiePath=apCntStickyCookiePath, apCntStickyStrPre=apCntStickyStrPre, apCntIPAddressRange=apCntIPAddressRange, apCntIPProtocol=apCntIPProtocol, apCntTable=apCntTable, apCntStickyNoCookieAction=apCntStickyNoCookieAction, apCntStickyCacheExp=apCntStickyCacheExp, apCntPrimarySorryServer=apCntPrimarySorryServer, apCntCookieStartPos=apCntCookieStartPos, apCntPrimarySorryHits=apCntPrimarySorryHits, apCntAclBypassCt=apCntAclBypassCt, apCntRejServOverload=apCntRejServOverload, apCntHotListThreshold=apCntHotListThreshold, apCntUrl=apCntUrl, apCntDrops=apCntDrops, apCntSvcLoadBypasses=apCntSvcLoadBypasses, apCntEnable=apCntEnable, apCntFrameCount=apCntFrameCount, apCntSize=apCntSize, apCntEqlName=apCntEqlName, apCntWeightMask=apCntWeightMask, apCntPersistence=apCntPersistence, apCntStickyGroup=apCntStickyGroup, apCntSecondSorryServer=apCntSecondSorryServer, apCntStickyStrAction=apCntStickyStrAction, apCntHotListType=apCntHotListType, apCntParamBypass=apCntParamBypass, apCntQOSTag=apCntQOSTag, apCntGarbageBypassCt=apCntGarbageBypassCt, apCntConnCtBypasses=apCntConnCtBypasses, apCntRedirect=apCntRedirect, apCntEntry=apCntEntry, apCntNats=apCntNats, apCntStickyInactivity=apCntStickyInactivity, apCntPort=apCntPort, apCntNoRuleBypassCt=apCntNoRuleBypassCt, apCntHeuristicCookieFence=apCntHeuristicCookieFence, apCntStatus=apCntStatus, apCntZeroButton=apCntZeroButton, apCntRejNoServices=apCntRejNoServices, apCntIPAddress=apCntIPAddress, apCntFlowTrack=apCntFlowTrack, apCntContentType=apCntContentType, apCntBypassConnectionPersistence=apCntBypassConnectionPersistence, apCntRuleOrder=apCntRuleOrder, apCntAvgRemoteLoad=apCntAvgRemoteLoad, apCntDrop=apCntDrop, apCntStickyStrProcLen=apCntStickyStrProcLen, apCntSticky=apCntSticky, apCntStickyStrSkipLen=apCntStickyStrSkipLen, apCntStickyStrType=apCntStickyStrType, apCntLocalLoadThreshold=apCntLocalLoadThreshold, apCntOwner=apCntOwner, apCntTagListName=apCntTagListName, apCntNoSvcBypasses=apCntNoSvcBypasses, apCntDqlName=apCntDqlName, apCntDNSBalance=apCntDNSBalance, apCntRedirects=apCntRedirects, apCntByteCount=apCntByteCount, apCntStickySrvrDownFailover=apCntStickySrvrDownFailover, apCntTagWeight=apCntTagWeight, apCntStickyCookieExp=apCntStickyCookieExp, apCntIndex=apCntIndex, apCntHotListEnabled=apCntHotListEnabled, apCntBalance=apCntBalance, apCntAvgLocalLoad=apCntAvgLocalLoad, apCntHotListSize=apCntHotListSize, apCntPersistenceResetMethod=apCntPersistenceResetMethod, apCntUrqlTblName=apCntUrqlTblName)
| (cnt_ext,) = mibBuilder.importSymbols('APENT-MIB', 'cntExt')
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, constraints_intersection, constraints_union, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint')
(module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup')
(counter64, notification_type, gauge32, object_identity, time_ticks, ip_address, mib_identifier, bits, module_identity, unsigned32, iso, counter32, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'NotificationType', 'Gauge32', 'ObjectIdentity', 'TimeTicks', 'IpAddress', 'MibIdentifier', 'Bits', 'ModuleIdentity', 'Unsigned32', 'iso', 'Counter32', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn')
(textual_convention, row_status, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString')
ap_cnt_ext_mib = module_identity((1, 3, 6, 1, 4, 1, 2467, 1, 16, 1))
if mibBuilder.loadTexts:
apCntExtMib.setLastUpdated('9710092000Z')
if mibBuilder.loadTexts:
apCntExtMib.setOrganization('ArrowPoint Communications Inc.')
if mibBuilder.loadTexts:
apCntExtMib.setContactInfo(' Postal: ArrowPoint Communications Inc. 50 Nagog Park Acton, Massachusetts 01720 Tel: +1 978-206-3000 option 1 E-Mail: support@arrowpoint.com')
if mibBuilder.loadTexts:
apCntExtMib.setDescription('The MIB module used to describe the ArrowPoint Communications content rule table')
ap_cnt_rule_order = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('hierarchicalFirst', 0), ('cacheRuleFirst', 1))).clone('cacheRuleFirst')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
apCntRuleOrder.setStatus('current')
if mibBuilder.loadTexts:
apCntRuleOrder.setDescription('Affects which ruleset is consulted first when categorizing flows')
ap_cnt_table = mib_table((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4))
if mibBuilder.loadTexts:
apCntTable.setStatus('current')
if mibBuilder.loadTexts:
apCntTable.setDescription('A list of content rule entries.')
ap_cnt_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1)).setIndexNames((0, 'CNTEXT-MIB', 'apCntOwner'), (0, 'CNTEXT-MIB', 'apCntName'))
if mibBuilder.loadTexts:
apCntEntry.setStatus('current')
if mibBuilder.loadTexts:
apCntEntry.setDescription('A group of information to uniquely identify a content providing service.')
ap_cnt_owner = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntOwner.setStatus('current')
if mibBuilder.loadTexts:
apCntOwner.setDescription('The name of the contents administrative owner.')
ap_cnt_name = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntName.setStatus('current')
if mibBuilder.loadTexts:
apCntName.setDescription('The name of the content providing service.')
ap_cnt_index = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 3), integer32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntIndex.setStatus('current')
if mibBuilder.loadTexts:
apCntIndex.setDescription('The unique service index assigned to the name by the SCM.')
ap_cnt_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 4), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntIPAddress.setStatus('current')
if mibBuilder.loadTexts:
apCntIPAddress.setDescription('The IP Address the of the content providing service.')
ap_cnt_ip_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 6, 17))).clone(namedValues=named_values(('any', 0), ('tcp', 6), ('udp', 17))).clone('any')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntIPProtocol.setStatus('current')
if mibBuilder.loadTexts:
apCntIPProtocol.setDescription('The IP Protocol the of the content providing service.')
ap_cnt_port = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntPort.setStatus('current')
if mibBuilder.loadTexts:
apCntPort.setDescription('The UDP or TCP port of the content providing service.')
ap_cnt_url = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntUrl.setStatus('current')
if mibBuilder.loadTexts:
apCntUrl.setDescription('The name of the content providing service.')
ap_cnt_sticky = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('none', 1), ('ssl', 2), ('cookieurl', 3), ('url', 4), ('cookies', 5), ('sticky-srcip-dstport', 6), ('sticky-srcip', 7), ('arrowpoint-cookie', 8))).clone('none')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntSticky.setStatus('current')
if mibBuilder.loadTexts:
apCntSticky.setDescription('The sticky attribute controls whether source addresses stick to a server once they go to it initially based on load balancing.')
ap_cnt_balance = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('roundrobin', 1), ('aca', 2), ('destip', 3), ('srcip', 4), ('domain', 5), ('url', 6), ('leastconn', 7), ('weightedrr', 8), ('domainhash', 9), ('urlhash', 10))).clone('roundrobin')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntBalance.setStatus('current')
if mibBuilder.loadTexts:
apCntBalance.setDescription('The load distribution algorithm to use for this content.')
ap_cnt_qos_tag = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 7)).clone(7)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntQOSTag.setStatus('current')
if mibBuilder.loadTexts:
apCntQOSTag.setDescription('The QOS tag to associate with this content definition.')
ap_cnt_enable = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1))).clone('disable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntEnable.setStatus('current')
if mibBuilder.loadTexts:
apCntEnable.setDescription('The state of the service, either enable or disabled')
ap_cnt_redirect = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntRedirect.setStatus('current')
if mibBuilder.loadTexts:
apCntRedirect.setDescription('Where to 302 redirect any requests for this content')
ap_cnt_drop = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntDrop.setStatus('current')
if mibBuilder.loadTexts:
apCntDrop.setDescription('Specify that requests for this content receive a 404 message and the txt to include')
ap_cnt_size = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(4000)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntSize.setStatus('obsolete')
if mibBuilder.loadTexts:
apCntSize.setDescription('This object is obsolete.')
ap_cnt_persistence = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1))).clone('disable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntPersistence.setStatus('current')
if mibBuilder.loadTexts:
apCntPersistence.setDescription('Controls whether each GET is inspected individuallly or else GETs may be pipelined on a single persistent TCP connection')
ap_cnt_author = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(1, 16))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntAuthor.setStatus('current')
if mibBuilder.loadTexts:
apCntAuthor.setDescription('The name of the author of this content rule.')
ap_cnt_spider = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1))).clone('disable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntSpider.setStatus('current')
if mibBuilder.loadTexts:
apCntSpider.setDescription('Controls whether the content will be spidered at rule activation time.')
ap_cnt_hits = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 18), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntHits.setStatus('current')
if mibBuilder.loadTexts:
apCntHits.setDescription('Number of times user request was detected which invoked this content rule.')
ap_cnt_redirects = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 19), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntRedirects.setStatus('current')
if mibBuilder.loadTexts:
apCntRedirects.setDescription('Number of times this content rule caused a redirect request.')
ap_cnt_drops = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 20), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntDrops.setStatus('current')
if mibBuilder.loadTexts:
apCntDrops.setDescription('Number of times this content rule was unable to establish a connection.')
ap_cnt_rej_no_services = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 21), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntRejNoServices.setStatus('current')
if mibBuilder.loadTexts:
apCntRejNoServices.setDescription('Number of times this content rule rejected a connection for want of a service.')
ap_cnt_rej_serv_overload = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 22), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntRejServOverload.setStatus('current')
if mibBuilder.loadTexts:
apCntRejServOverload.setDescription('Number of times this content rule rejected a connection because of overload on the designated service(s).')
ap_cnt_spoofs = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 23), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntSpoofs.setStatus('current')
if mibBuilder.loadTexts:
apCntSpoofs.setDescription('Number of times a connection was created using this content rule.')
ap_cnt_nats = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 24), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntNats.setStatus('current')
if mibBuilder.loadTexts:
apCntNats.setDescription('Number of times network address translation was performed using this content rule.')
ap_cnt_byte_count = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 25), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntByteCount.setStatus('current')
if mibBuilder.loadTexts:
apCntByteCount.setDescription('Total number of bytes passed using this content rule.')
ap_cnt_frame_count = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 26), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntFrameCount.setStatus('current')
if mibBuilder.loadTexts:
apCntFrameCount.setDescription('Total number of frames passed using this content rule.')
ap_cnt_zero_button = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 27), integer32()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntZeroButton.setStatus('current')
if mibBuilder.loadTexts:
apCntZeroButton.setDescription('Number of time counters for this content rule have been zeroed.')
ap_cnt_hot_list_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1))).clone('disable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntHotListEnabled.setStatus('current')
if mibBuilder.loadTexts:
apCntHotListEnabled.setDescription('Controls whether a hotlist will be maintained for this content rule.')
ap_cnt_hot_list_size = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 29), integer32().subtype(subtypeSpec=value_range_constraint(1, 100)).clone(10)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntHotListSize.setStatus('current')
if mibBuilder.loadTexts:
apCntHotListSize.setDescription('Total number of hotlist entries which will be maintainted for this rule.')
ap_cnt_hot_list_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 30), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntHotListThreshold.setStatus('current')
if mibBuilder.loadTexts:
apCntHotListThreshold.setDescription('The threshold under which an item is not considered hot.')
ap_cnt_hot_list_type = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0))).clone(namedValues=named_values(('hitCount', 0))).clone('hitCount')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntHotListType.setStatus('current')
if mibBuilder.loadTexts:
apCntHotListType.setDescription('Configures how a determination of hotness will be done.')
ap_cnt_hot_list_interval = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(1, 60)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntHotListInterval.setStatus('current')
if mibBuilder.loadTexts:
apCntHotListInterval.setDescription('The interval in units of minutes used to refreshing the hot list.')
ap_cnt_flow_track = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1))).clone('disable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntFlowTrack.setStatus('current')
if mibBuilder.loadTexts:
apCntFlowTrack.setDescription('Controls whether arrowflow reporting will be done for this content rule.')
ap_cnt_weight_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 34), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntWeightMask.setStatus('current')
if mibBuilder.loadTexts:
apCntWeightMask.setDescription('This object specifies a bitmask used to determine the type of metric to be used for load balancing.')
ap_cnt_sticky_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 35), ip_address()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyMask.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyMask.setDescription('This object specifies the sticky mask used to determine the portion of the IP Address which denotes stickness between the server and client.')
ap_cnt_cookie_start_pos = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 36), integer32().subtype(subtypeSpec=value_range_constraint(1, 600)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntCookieStartPos.setStatus('current')
if mibBuilder.loadTexts:
apCntCookieStartPos.setDescription('This object specifies the start of a cookie.')
ap_cnt_heuristic_cookie_fence = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 37), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000)).clone(100)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntHeuristicCookieFence.setStatus('current')
if mibBuilder.loadTexts:
apCntHeuristicCookieFence.setDescription('This object specifies the end of a Heuristic Cookie Fence.')
ap_cnt_eql_name = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 38), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntEqlName.setStatus('current')
if mibBuilder.loadTexts:
apCntEqlName.setDescription('The name of the EQL associated with this content rule')
ap_cnt_cache_fallover_type = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('linear', 1), ('next', 2), ('bypass', 3))).clone('linear')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntCacheFalloverType.setStatus('current')
if mibBuilder.loadTexts:
apCntCacheFalloverType.setDescription('The type of fallover to use with division balancing')
ap_cnt_local_load_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 40), integer32().subtype(subtypeSpec=value_range_constraint(2, 254)).clone(254)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntLocalLoadThreshold.setStatus('current')
if mibBuilder.loadTexts:
apCntLocalLoadThreshold.setDescription('Redirect services are preferred when all local services exceed this thrreshold.')
ap_cnt_status = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 41), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStatus.setStatus('current')
if mibBuilder.loadTexts:
apCntStatus.setDescription('Status entry for this row ')
ap_cnt_redirect_load_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 42), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(255)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntRedirectLoadThreshold.setStatus('current')
if mibBuilder.loadTexts:
apCntRedirectLoadThreshold.setDescription('Redirect services are eligible when their load is below this thrreshold.')
ap_cnt_content_type = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 43), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('http', 1), ('ftp-control', 2), ('realaudio-control', 3), ('ssl', 4), ('bypass', 5), ('ftp-publish', 6))).clone('http')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntContentType.setStatus('current')
if mibBuilder.loadTexts:
apCntContentType.setDescription('The type of flow associated with this rule')
ap_cnt_sticky_inactivity = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 44), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyInactivity.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyInactivity.setDescription('The maximun inactivity on a sticky connection (in minutes)')
ap_cnt_dns_balance = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 45), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('preferlocal', 1), ('roundrobin', 2), ('useownerdnsbalance', 3), ('leastloaded', 4))).clone('useownerdnsbalance')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntDNSBalance.setStatus('current')
if mibBuilder.loadTexts:
apCntDNSBalance.setDescription('The DNS distribution algorithm to use for this content rule.')
ap_cnt_sticky_group = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 46), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyGroup.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyGroup.setDescription('The sticky group number of a rule, 0 means not being used')
ap_cnt_app_type_bypasses = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 47), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntAppTypeBypasses.setStatus('current')
if mibBuilder.loadTexts:
apCntAppTypeBypasses.setDescription('Total number of frames bypassed directly by matching this content rule.')
ap_cnt_no_svc_bypasses = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 48), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntNoSvcBypasses.setStatus('current')
if mibBuilder.loadTexts:
apCntNoSvcBypasses.setDescription('Total number of frames bypassed due to no services available on this content rule.')
ap_cnt_svc_load_bypasses = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 49), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntSvcLoadBypasses.setStatus('current')
if mibBuilder.loadTexts:
apCntSvcLoadBypasses.setDescription('Total number of frames bypassed due to overloaded services on this content rule.')
ap_cnt_conn_ct_bypasses = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 50), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntConnCtBypasses.setStatus('current')
if mibBuilder.loadTexts:
apCntConnCtBypasses.setDescription('Total number of frames bypassed due to connection count on this content rule.')
ap_cnt_urql_tbl_name = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 51), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntUrqlTblName.setStatus('current')
if mibBuilder.loadTexts:
apCntUrqlTblName.setDescription('The name of the URQL table associated with this content rule')
ap_cnt_sticky_str_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 52), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrPre.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrPre.setDescription('The string prefix for sticky string operation')
ap_cnt_sticky_str_eos = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 53), display_string().subtype(subtypeSpec=value_size_constraint(0, 5))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrEos.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrEos.setDescription('The End-Of-String characters')
ap_cnt_sticky_str_skip_len = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 54), integer32().subtype(subtypeSpec=value_range_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrSkipLen.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrSkipLen.setDescription('The number of bytes to be skipped before sticky operation')
ap_cnt_sticky_str_proc_len = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 55), integer32().subtype(subtypeSpec=value_range_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrProcLen.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrProcLen.setDescription('The number of bytes to be processed by the string action')
ap_cnt_sticky_str_action = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 56), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('hash-a', 1), ('hash-xor', 2), ('hash-crc32', 3), ('match-service-cookie', 4))).clone('match-service-cookie')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrAction.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrAction.setDescription('The sticky operation to be applied on the sticky cookie/string')
ap_cnt_sticky_str_ascii_conv = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 57), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrAsciiConv.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrAsciiConv.setDescription('To convert the escaped ASCII code to its char in sticky string')
ap_cnt_primary_sorry_server = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 58), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntPrimarySorryServer.setStatus('current')
if mibBuilder.loadTexts:
apCntPrimarySorryServer.setDescription('The last chance server which will be chosen if all other servers fail')
ap_cnt_second_sorry_server = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 59), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntSecondSorryServer.setStatus('current')
if mibBuilder.loadTexts:
apCntSecondSorryServer.setDescription('The backup for the primary sorry server')
ap_cnt_primary_sorry_hits = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 60), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntPrimarySorryHits.setStatus('current')
if mibBuilder.loadTexts:
apCntPrimarySorryHits.setDescription('Total number of hits to the primary sorry server')
ap_cnt_second_sorry_hits = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 61), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntSecondSorryHits.setStatus('current')
if mibBuilder.loadTexts:
apCntSecondSorryHits.setDescription('Total number of hits to the secondary sorry server')
ap_cnt_sticky_srvr_down_failover = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 62), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('reject', 1), ('redirect', 2), ('balance', 3), ('sticky-srcip', 4), ('sticky-srcip-dstport', 5))).clone('balance')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickySrvrDownFailover.setStatus('current')
if mibBuilder.loadTexts:
apCntStickySrvrDownFailover.setDescription('The failover mechanism used when sticky server is not active')
ap_cnt_sticky_str_type = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 63), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('cookieurl', 1), ('url', 2), ('cookies', 3))).clone('cookieurl')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyStrType.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyStrType.setDescription('The type of string that strig criteria applies to')
ap_cnt_param_bypass = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 64), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('disable')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntParamBypass.setStatus('current')
if mibBuilder.loadTexts:
apCntParamBypass.setDescription("Specifies that content requests which contain the special terminators '?' or '#' indicating arguments in the request are to bypass transparent caches and are to be sent directly to the origin server.")
ap_cnt_avg_local_load = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 65), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntAvgLocalLoad.setStatus('current')
if mibBuilder.loadTexts:
apCntAvgLocalLoad.setDescription('The currently sensed average load for all local services under this rule')
ap_cnt_avg_remote_load = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 66), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntAvgRemoteLoad.setStatus('current')
if mibBuilder.loadTexts:
apCntAvgRemoteLoad.setDescription('The currently sensed average load for all remote services under this rule')
ap_cnt_dql_name = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 67), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntDqlName.setStatus('current')
if mibBuilder.loadTexts:
apCntDqlName.setDescription('The name of the DQL table associated with this content rule')
ap_cnt_ip_address_range = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 68), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntIPAddressRange.setStatus('current')
if mibBuilder.loadTexts:
apCntIPAddressRange.setDescription('The range of IP Addresses of the content providing service.')
ap_cnt_tag_list_name = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 69), display_string().subtype(subtypeSpec=value_size_constraint(0, 31))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntTagListName.setStatus('current')
if mibBuilder.loadTexts:
apCntTagListName.setDescription('The name of the tag list to be used with this content rule')
ap_cnt_sticky_no_cookie_action = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 70), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('loadbalance', 1), ('reject', 2), ('redirect', 3), ('service', 4))).clone('loadbalance')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyNoCookieAction.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyNoCookieAction.setDescription('The action to be taken when no cookie found with sticky cookie config.')
ap_cnt_sticky_no_cookie_string = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 71), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyNoCookieString.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyNoCookieString.setDescription('The String used by sticky no cookie redirect action')
ap_cnt_sticky_cookie_path = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 72), display_string().subtype(subtypeSpec=value_size_constraint(0, 99))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyCookiePath.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyCookiePath.setDescription('The value to be used as the Cookie Path Attribute.')
ap_cnt_sticky_cookie_exp = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 73), display_string().subtype(subtypeSpec=value_size_constraint(11, 11)).setFixedLength(11)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyCookieExp.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyCookieExp.setDescription('The value to be used as the Cookie Experation Attribute. Format - dd:hh:mm:ss')
ap_cnt_sticky_cache_exp = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 74), integer32().subtype(subtypeSpec=value_range_constraint(0, 60)).clone(3)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntStickyCacheExp.setStatus('current')
if mibBuilder.loadTexts:
apCntStickyCacheExp.setDescription('The value used to time out entries in the Cookie Cache.')
ap_cnt_tag_weight = mib_table_column((1, 3, 6, 1, 4, 1, 2467, 1, 16, 4, 1, 75), integer32().subtype(subtypeSpec=value_range_constraint(0, 1024))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
apCntTagWeight.setStatus('current')
if mibBuilder.loadTexts:
apCntTagWeight.setDescription('The weight assigned to the rule using header-field-group.')
ap_cnt_acl_bypass_ct = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntAclBypassCt.setStatus('current')
if mibBuilder.loadTexts:
apCntAclBypassCt.setDescription('Total number of frames bypassed due to ACL restrictions.')
ap_cnt_no_rule_bypass_ct = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntNoRuleBypassCt.setStatus('current')
if mibBuilder.loadTexts:
apCntNoRuleBypassCt.setDescription('Total number of frames bypassed due to no rule matches.')
ap_cnt_cache_miss_bypass_ct = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntCacheMissBypassCt.setStatus('current')
if mibBuilder.loadTexts:
apCntCacheMissBypassCt.setDescription('Total number of frames bypassed due to returning from a transparent cache.')
ap_cnt_garbage_bypass_ct = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 8), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntGarbageBypassCt.setStatus('current')
if mibBuilder.loadTexts:
apCntGarbageBypassCt.setDescription('Total number of frames bypassed due to unknown info found in the URL.')
ap_cnt_url_params_bypass_ct = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 9), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
apCntUrlParamsBypassCt.setStatus('current')
if mibBuilder.loadTexts:
apCntUrlParamsBypassCt.setDescription('Total number of frames bypassed due to paramters found in the URL.')
ap_cnt_bypass_connection_persistence = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1))).clone('enable')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
apCntBypassConnectionPersistence.setStatus('current')
if mibBuilder.loadTexts:
apCntBypassConnectionPersistence.setDescription('Affects which ruleset is consulted first when categorizing flows')
ap_cnt_persistence_reset_method = mib_scalar((1, 3, 6, 1, 4, 1, 2467, 1, 16, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('redirect', 0), ('remap', 1))).clone('redirect')).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
apCntPersistenceResetMethod.setStatus('current')
if mibBuilder.loadTexts:
apCntPersistenceResetMethod.setDescription('Affects which ruleset is consulted first when categorizing flows')
mibBuilder.exportSymbols('CNTEXT-MIB', apCntHits=apCntHits, apCntSecondSorryHits=apCntSecondSorryHits, apCntSpoofs=apCntSpoofs, apCntStickyNoCookieString=apCntStickyNoCookieString, apCntStickyMask=apCntStickyMask, apCntCacheFalloverType=apCntCacheFalloverType, apCntName=apCntName, apCntHotListInterval=apCntHotListInterval, apCntUrlParamsBypassCt=apCntUrlParamsBypassCt, apCntStickyStrEos=apCntStickyStrEos, PYSNMP_MODULE_ID=apCntExtMib, apCntCacheMissBypassCt=apCntCacheMissBypassCt, apCntRedirectLoadThreshold=apCntRedirectLoadThreshold, apCntSpider=apCntSpider, apCntAuthor=apCntAuthor, apCntAppTypeBypasses=apCntAppTypeBypasses, apCntExtMib=apCntExtMib, apCntStickyStrAsciiConv=apCntStickyStrAsciiConv, apCntStickyCookiePath=apCntStickyCookiePath, apCntStickyStrPre=apCntStickyStrPre, apCntIPAddressRange=apCntIPAddressRange, apCntIPProtocol=apCntIPProtocol, apCntTable=apCntTable, apCntStickyNoCookieAction=apCntStickyNoCookieAction, apCntStickyCacheExp=apCntStickyCacheExp, apCntPrimarySorryServer=apCntPrimarySorryServer, apCntCookieStartPos=apCntCookieStartPos, apCntPrimarySorryHits=apCntPrimarySorryHits, apCntAclBypassCt=apCntAclBypassCt, apCntRejServOverload=apCntRejServOverload, apCntHotListThreshold=apCntHotListThreshold, apCntUrl=apCntUrl, apCntDrops=apCntDrops, apCntSvcLoadBypasses=apCntSvcLoadBypasses, apCntEnable=apCntEnable, apCntFrameCount=apCntFrameCount, apCntSize=apCntSize, apCntEqlName=apCntEqlName, apCntWeightMask=apCntWeightMask, apCntPersistence=apCntPersistence, apCntStickyGroup=apCntStickyGroup, apCntSecondSorryServer=apCntSecondSorryServer, apCntStickyStrAction=apCntStickyStrAction, apCntHotListType=apCntHotListType, apCntParamBypass=apCntParamBypass, apCntQOSTag=apCntQOSTag, apCntGarbageBypassCt=apCntGarbageBypassCt, apCntConnCtBypasses=apCntConnCtBypasses, apCntRedirect=apCntRedirect, apCntEntry=apCntEntry, apCntNats=apCntNats, apCntStickyInactivity=apCntStickyInactivity, apCntPort=apCntPort, apCntNoRuleBypassCt=apCntNoRuleBypassCt, apCntHeuristicCookieFence=apCntHeuristicCookieFence, apCntStatus=apCntStatus, apCntZeroButton=apCntZeroButton, apCntRejNoServices=apCntRejNoServices, apCntIPAddress=apCntIPAddress, apCntFlowTrack=apCntFlowTrack, apCntContentType=apCntContentType, apCntBypassConnectionPersistence=apCntBypassConnectionPersistence, apCntRuleOrder=apCntRuleOrder, apCntAvgRemoteLoad=apCntAvgRemoteLoad, apCntDrop=apCntDrop, apCntStickyStrProcLen=apCntStickyStrProcLen, apCntSticky=apCntSticky, apCntStickyStrSkipLen=apCntStickyStrSkipLen, apCntStickyStrType=apCntStickyStrType, apCntLocalLoadThreshold=apCntLocalLoadThreshold, apCntOwner=apCntOwner, apCntTagListName=apCntTagListName, apCntNoSvcBypasses=apCntNoSvcBypasses, apCntDqlName=apCntDqlName, apCntDNSBalance=apCntDNSBalance, apCntRedirects=apCntRedirects, apCntByteCount=apCntByteCount, apCntStickySrvrDownFailover=apCntStickySrvrDownFailover, apCntTagWeight=apCntTagWeight, apCntStickyCookieExp=apCntStickyCookieExp, apCntIndex=apCntIndex, apCntHotListEnabled=apCntHotListEnabled, apCntBalance=apCntBalance, apCntAvgLocalLoad=apCntAvgLocalLoad, apCntHotListSize=apCntHotListSize, apCntPersistenceResetMethod=apCntPersistenceResetMethod, apCntUrqlTblName=apCntUrqlTblName) |
def get_dict_pos(lst, key, value):
return next((index for (index, d) in enumerate(lst) if d[key] == value), None)
def search_engine(search_term, data_key, data):
a = filter(lambda search_found: search_term in search_found[data_key], data)
return list(a)
| def get_dict_pos(lst, key, value):
return next((index for (index, d) in enumerate(lst) if d[key] == value), None)
def search_engine(search_term, data_key, data):
a = filter(lambda search_found: search_term in search_found[data_key], data)
return list(a) |
"""
This module contains submodules used to mine Interaction data from `Kegg`,
`Hprd`, `InnateDB`, `BioPlex` and `Pina2` along with other data processing
modules.
The `features` module contains a function to compute the features based on
two `:class:`.database.models.Protein`s. The `uniprot` module contains several
functions that use the `UniProt` class from `bioservices` and http utilities
of `BioPython` to download and parse `UniProt` records into
`:class:`.database.models.Protein` instances. The `tools` module contains
utility functions to turn parsed files into a dataframe of interactions, along
with several utility functions that operate on those dataframe to perform
tasks such as removing invalid rows, null rows, merging rows etc. The
`ontology` module contains methods to parse a `Gene Ontology` obo file into
a dictionary of entries. The `psimi` module does that same, except with
`Psi-Mi` obo files.
"""
__all__ = [
"features",
"generic",
"hprd",
"kegg",
"ontology",
"psimi",
"tools",
"uniprot"
]
| """
This module contains submodules used to mine Interaction data from `Kegg`,
`Hprd`, `InnateDB`, `BioPlex` and `Pina2` along with other data processing
modules.
The `features` module contains a function to compute the features based on
two `:class:`.database.models.Protein`s. The `uniprot` module contains several
functions that use the `UniProt` class from `bioservices` and http utilities
of `BioPython` to download and parse `UniProt` records into
`:class:`.database.models.Protein` instances. The `tools` module contains
utility functions to turn parsed files into a dataframe of interactions, along
with several utility functions that operate on those dataframe to perform
tasks such as removing invalid rows, null rows, merging rows etc. The
`ontology` module contains methods to parse a `Gene Ontology` obo file into
a dictionary of entries. The `psimi` module does that same, except with
`Psi-Mi` obo files.
"""
__all__ = ['features', 'generic', 'hprd', 'kegg', 'ontology', 'psimi', 'tools', 'uniprot'] |
#
# PySNMP MIB module F10-BPSTATS-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/F10-BPSTATS-MIB
# Produced by pysmi-0.3.4 at Wed May 1 13:11:15 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)
#
ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ValueSizeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
f10Mgmt, = mibBuilder.importSymbols("FORCE10-SMI", "f10Mgmt")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
Counter64, Bits, iso, Unsigned32, MibIdentifier, Counter32, TimeTicks, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ModuleIdentity, Integer32, NotificationType, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "Bits", "iso", "Unsigned32", "MibIdentifier", "Counter32", "TimeTicks", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ModuleIdentity", "Integer32", "NotificationType", "ObjectIdentity")
TimeStamp, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "DisplayString", "TextualConvention")
f10BpStatsMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 6027, 3, 24))
f10BpStatsMib.setRevisions(('2013-05-22 12:48',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: f10BpStatsMib.setRevisionsDescriptions(('Initial version of this mib.',))
if mibBuilder.loadTexts: f10BpStatsMib.setLastUpdated('201309181248Z')
if mibBuilder.loadTexts: f10BpStatsMib.setOrganization('Dell Inc')
if mibBuilder.loadTexts: f10BpStatsMib.setContactInfo('http://www.force10networks.com/support')
if mibBuilder.loadTexts: f10BpStatsMib.setDescription('Dell Networking OS Back plane statistics mib. This is MIB shall use for all back plane statistics related activities. This includes the BP ports traffic statistics. BP link bundle monitoring based on BP port statistics. Queue statistics and buffer utilization on BP ports etc ..')
f10BpStatsLinkBundleObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1))
f10BpStatsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2))
f10BpStatsAlarms = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3))
bpLinkBundleObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1, 1))
bpLinkBundleRateInterval = MibScalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 299))).setMaxAccess("readwrite")
if mibBuilder.loadTexts: bpLinkBundleRateInterval.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleRateInterval.setDescription('The rate interval for polling the Bp link bundle Monitoring.')
bpLinkBundleTriggerThreshold = MibScalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 90))).setUnits('percent').setMaxAccess("readwrite")
if mibBuilder.loadTexts: bpLinkBundleTriggerThreshold.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleTriggerThreshold.setDescription('The traffic distribution trigger threshold for Bp link bundle Monitoring.In percentage of total bandwidth of the link Bundle')
bpStatsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1))
bpDropsTable = MibTable((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1), )
if mibBuilder.loadTexts: bpDropsTable.setStatus('current')
if mibBuilder.loadTexts: bpDropsTable.setDescription('The back plane drops table contains the list of various drops per BP higig port per BCM unit in a stack unit(card type).')
bpDropsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1), ).setIndexNames((0, "F10-BPSTATS-MIB", "bpDropsStackUnitIndex"), (0, "F10-BPSTATS-MIB", "bpDropsPortPipe"), (0, "F10-BPSTATS-MIB", "bpDropsPortIndex"))
if mibBuilder.loadTexts: bpDropsEntry.setStatus('current')
if mibBuilder.loadTexts: bpDropsEntry.setDescription('Each drops entry is being indexed by StackUnit(card Type) BCM unit ID and local Port Id')
bpDropsStackUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12)))
if mibBuilder.loadTexts: bpDropsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts: bpDropsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bpDropsPortPipe = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: bpDropsPortPipe.setStatus('current')
if mibBuilder.loadTexts: bpDropsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bpDropsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128)))
if mibBuilder.loadTexts: bpDropsPortIndex.setStatus('current')
if mibBuilder.loadTexts: bpDropsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bpDropsInDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsInDrops.setStatus('current')
if mibBuilder.loadTexts: bpDropsInDrops.setDescription('The No of Ingress packet Drops')
bpDropsInUnKnownHgHdr = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsInUnKnownHgHdr.setStatus('current')
if mibBuilder.loadTexts: bpDropsInUnKnownHgHdr.setDescription('The No of Unknown hiGig header Ingress packet Drops')
bpDropsInUnKnownHgOpcode = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsInUnKnownHgOpcode.setStatus('current')
if mibBuilder.loadTexts: bpDropsInUnKnownHgOpcode.setDescription('The No of Unknown hiGig Opcode Ingress packet Drops')
bpDropsInMTUExceeds = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsInMTUExceeds.setStatus('current')
if mibBuilder.loadTexts: bpDropsInMTUExceeds.setDescription('No of packets dropped on Ingress because of MTUExceeds')
bpDropsInMacDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsInMacDrops.setStatus('current')
if mibBuilder.loadTexts: bpDropsInMacDrops.setDescription('No of packets dropped on Ingress MAC')
bpDropsMMUHOLDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsMMUHOLDrops.setStatus('current')
if mibBuilder.loadTexts: bpDropsMMUHOLDrops.setDescription('No of packets dropped in MMU because of MMU HOL Drops')
bpDropsEgMacDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsEgMacDrops.setStatus('current')
if mibBuilder.loadTexts: bpDropsEgMacDrops.setDescription('No of packets dropped on Egress MAC')
bpDropsEgTxAgedCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsEgTxAgedCounter.setStatus('current')
if mibBuilder.loadTexts: bpDropsEgTxAgedCounter.setDescription('No of Aged packets dropped on Egress')
bpDropsEgTxErrCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsEgTxErrCounter.setStatus('current')
if mibBuilder.loadTexts: bpDropsEgTxErrCounter.setDescription('No of Error packets dropped on Egress')
bpDropsEgTxMACUnderflow = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsEgTxMACUnderflow.setStatus('current')
if mibBuilder.loadTexts: bpDropsEgTxMACUnderflow.setDescription('No of MAC underflow packets dropped on Egress')
bpDropsEgTxErrPktCounter = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpDropsEgTxErrPktCounter.setStatus('current')
if mibBuilder.loadTexts: bpDropsEgTxErrPktCounter.setDescription('No of total packets dropped in Egress')
bpIfStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2), )
if mibBuilder.loadTexts: bpIfStatsTable.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsTable.setDescription('The back plane counter statistics table contains the list of various counters per BP higig port per BCM unit in a stack unit(card type).')
bpIfStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1), ).setIndexNames((0, "F10-BPSTATS-MIB", "bpIfStatsStackUnitIndex"), (0, "F10-BPSTATS-MIB", "bpIfStatsPortPipe"), (0, "F10-BPSTATS-MIB", "bpIfStatsPortIndex"))
if mibBuilder.loadTexts: bpIfStatsEntry.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsEntry.setDescription('Each Stats entry is being indexed by StackUnit(card Type) BCM unit ID and local Port Id')
bpIfStatsStackUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12)))
if mibBuilder.loadTexts: bpIfStatsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bpIfStatsPortPipe = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: bpIfStatsPortPipe.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bpIfStatsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128)))
if mibBuilder.loadTexts: bpIfStatsPortIndex.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bpIfStatsIn64BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 4), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsIn64BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsIn64BytePkts.setDescription('The total number of frames (including bad frames) received that were 64 octets in length (excluding framing bits but including FCS octets).')
bpIfStatsIn65To127BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 5), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsIn65To127BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsIn65To127BytePkts.setDescription('The total number of frames (including bad frames) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).')
bpIfStatsIn128To255BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 6), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsIn128To255BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsIn128To255BytePkts.setDescription('The total number of frames (including bad frames) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).')
bpIfStatsIn256To511BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 7), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsIn256To511BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsIn256To511BytePkts.setDescription('The total number of frames (including bad frames) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).')
bpIfStatsIn512To1023BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsIn512To1023BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsIn512To1023BytePkts.setDescription('The total number of frames (including bad frames) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).')
bpIfStatsInOver1023BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 9), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInOver1023BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInOver1023BytePkts.setDescription('The total number of frames received that were longer than 1023 (1025 Bytes in case of VLAN Tag) octets (excluding framing bits, but including FCS octets) and were otherwise well formed. This counter is not incremented for too long frames.')
bpIfStatsInThrottles = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 10), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInThrottles.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInThrottles.setDescription('This counter is incremented when a valid frame with a length or type field value equal to 0x8808 (Control Frame) is received.')
bpIfStatsInRunts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 11), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInRunts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInRunts.setDescription('The total number of frames received that were less than 64 octets long (excluding framing bits, but including FCS octets) and were otherwise well formed.')
bpIfStatsInGiants = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 12), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInGiants.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInGiants.setDescription('The total number of frames received that were longer than 1518 (1522 Bytes in case of VLAN Tag) octets (excluding framing bits, but including FCS octets) and were otherwise well formed. This counter is not incremented for too long frames.')
bpIfStatsInCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 13), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInCRC.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInCRC.setDescription('The total number of frames received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad CRC.')
bpIfStatsInOverruns = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 14), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInOverruns.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInOverruns.setDescription('The total number of frames has been chosen to be dropped by detecting the buffer issue')
bpIfStatsOutUnderruns = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 15), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutUnderruns.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutUnderruns.setDescription('The total number of frames dropped because of buffer underrun.')
bpIfStatsOutUnicasts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 16), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutUnicasts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutUnicasts.setDescription('The total number of Unicast frames are transmitted out of the interface')
bpIfStatsOutCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 17), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutCollisions.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutCollisions.setDescription('A count of the frames that due to excessive or late collisions are not transmitted successfully.')
bpIfStatsOutWredDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 18), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutWredDrops.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutWredDrops.setDescription('The total number of frames are dropped by using WRED policy due to excessive traffic.')
bpIfStatsOut64BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 19), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOut64BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOut64BytePkts.setDescription('The total number of valid frames with the block of 64 byte size is transmitted')
bpIfStatsOut65To127BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 20), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOut65To127BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOut65To127BytePkts.setDescription('The total of valid frame with the block size of range between 65 and 127 bytes are transmitted.')
bpIfStatsOut128To255BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 21), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOut128To255BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOut128To255BytePkts.setDescription('The total of valid frame with the block size of range between 128 and 255 bytes are transmitted')
bpIfStatsOut256To511BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 22), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOut256To511BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOut256To511BytePkts.setDescription('The total of valid frame with the block size of range between 256 and 511 bytes are transmitted')
bpIfStatsOut512To1023BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 23), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOut512To1023BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOut512To1023BytePkts.setDescription('The total of valid frame with the block size of range between 512 and 1023 bytes are transmitted')
bpIfStatsOutOver1023BytePkts = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 24), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutOver1023BytePkts.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutOver1023BytePkts.setDescription('The total of valid frame with the block size of greater than 1023 bytes are transmitted.')
bpIfStatsOutThrottles = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 25), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutThrottles.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutThrottles.setDescription('This counter is incremented when a valid frame with a length or type field value equal to 0x8808 (Control Frame) is sent.')
bpIfStatsLastDiscontinuityTime = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 26), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsLastDiscontinuityTime.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsLastDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which this interface's counters suffered a discontinuity via a reset. If no such discontinuities have occurred since the last reinitialization of the local management subsystem, then this object contains a zero value.")
bpIfStatsInCentRate = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsInCentRate.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsInCentRate.setDescription('This is the percentage of maximum line rate at which data is receiving on the Interface. For Z9000 - BP hiGig line rate is 42G. This is an integer value which can go from 0% to 100%.')
bpIfStatsOutCentRate = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsOutCentRate.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsOutCentRate.setDescription('This is the percentage of maximum line rate at which data is sending on the Interface. For Z9000 - BP hiGig line rate is 42G. This is an integer value which can go from 0% to 100%.')
bpIfStatsLastChange = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 29), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpIfStatsLastChange.setStatus('current')
if mibBuilder.loadTexts: bpIfStatsLastChange.setDescription('The value of sysUpTime, on which all the counters are updated recently')
bpPacketBufferTable = MibTable((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3), )
if mibBuilder.loadTexts: bpPacketBufferTable.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferTable.setDescription('The packet buffer table contains the modular packet buffers details per stack unit and the mode of allocation.')
bpPacketBufferEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1), ).setIndexNames((0, "F10-BPSTATS-MIB", "bpPacketBufferStackUnitIndex"), (0, "F10-BPSTATS-MIB", "bpPacketBufferPortPipe"))
if mibBuilder.loadTexts: bpPacketBufferEntry.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferEntry.setDescription('Packet buffer details per NPU unit.')
bpPacketBufferStackUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12)))
if mibBuilder.loadTexts: bpPacketBufferStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bpPacketBufferPortPipe = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: bpPacketBufferPortPipe.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bpPacketBufferTotalPacketBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpPacketBufferTotalPacketBuffer.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferTotalPacketBuffer.setDescription('Total packet buffer in this NPU unit.')
bpPacketBufferCurrentAvailBuffer = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpPacketBufferCurrentAvailBuffer.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferCurrentAvailBuffer.setDescription('Current available buffer in this NPU unit.')
bpPacketBufferPacketBufferAlloc = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpPacketBufferPacketBufferAlloc.setStatus('current')
if mibBuilder.loadTexts: bpPacketBufferPacketBufferAlloc.setDescription('Static or Dynamic allocation.')
bpBufferStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4), )
if mibBuilder.loadTexts: bpBufferStatsTable.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsTable.setDescription('The back plane stats per port table contains the packet buffer usage per bp port per NPU unit.')
bpBufferStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1), ).setIndexNames((0, "F10-BPSTATS-MIB", "bpBufferStatsStackUnitIndex"), (0, "F10-BPSTATS-MIB", "bpBufferStatsPortPipe"), (0, "F10-BPSTATS-MIB", "bpBufferStatsPortIndex"))
if mibBuilder.loadTexts: bpBufferStatsEntry.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsEntry.setDescription('Per bp port buffer stats ')
bpBufferStatsStackUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12)))
if mibBuilder.loadTexts: bpBufferStatsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bpBufferStatsPortPipe = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: bpBufferStatsPortPipe.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bpBufferStatsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128)))
if mibBuilder.loadTexts: bpBufferStatsPortIndex.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bpBufferStatsCurrentUsagePerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpBufferStatsCurrentUsagePerPort.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsCurrentUsagePerPort.setDescription('Current buffer usage per bp port.')
bpBufferStatsDefaultPacketBuffAlloc = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpBufferStatsDefaultPacketBuffAlloc.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsDefaultPacketBuffAlloc.setDescription('Default packet buffer allocated.')
bpBufferStatsMaxLimitPerPort = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpBufferStatsMaxLimitPerPort.setStatus('current')
if mibBuilder.loadTexts: bpBufferStatsMaxLimitPerPort.setDescription('Max buffer limit per bp port.')
bpCosStatsTable = MibTable((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5), )
if mibBuilder.loadTexts: bpCosStatsTable.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsTable.setDescription('The back plane statistics per COS table gives packet buffer statistics per COS per bp port.')
bpCosStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1), ).setIndexNames((0, "F10-BPSTATS-MIB", "bpCosStatsStackUnitIndex"), (0, "F10-BPSTATS-MIB", "bpCosStatsPortPipe"), (0, "F10-BPSTATS-MIB", "bpCosStatsPortIndex"), (0, "F10-BPSTATS-MIB", "bpCosStatsCOSNumber"))
if mibBuilder.loadTexts: bpCosStatsEntry.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsEntry.setDescription('Per bp port buffer stats and per COS buffer stats.')
bpCosStatsStackUnitIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 12)))
if mibBuilder.loadTexts: bpCosStatsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bpCosStatsPortPipe = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 6)))
if mibBuilder.loadTexts: bpCosStatsPortPipe.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bpCosStatsPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 128)))
if mibBuilder.loadTexts: bpCosStatsPortIndex.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bpCosStatsCOSNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)))
if mibBuilder.loadTexts: bpCosStatsCOSNumber.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsCOSNumber.setDescription('COS queue number, There shall 10 unicast and 5 multicast queues per port in Trident2')
bpCosStatsCurrentUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpCosStatsCurrentUsage.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsCurrentUsage.setDescription('Current buffer usage per COS per bp port.')
bpCosStatsDefaultPacketBuffAlloc = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpCosStatsDefaultPacketBuffAlloc.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsDefaultPacketBuffAlloc.setDescription('Default packet buffer allocated per COS queue')
bpCosStatsMaxLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpCosStatsMaxLimit.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsMaxLimit.setDescription('Max buffer utilization limit per bp port.')
bpCosStatsHOLDDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 8), Counter64()).setMaxAccess("readonly")
if mibBuilder.loadTexts: bpCosStatsHOLDDrops.setStatus('current')
if mibBuilder.loadTexts: bpCosStatsHOLDDrops.setDescription('HOLD Drops Per Queue.')
bpLinkBundleNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 1))
bpLinkBundleAlarmVariable = MibIdentifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2))
bpLinkBundleType = MibScalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unknown", 1), ("bpHgBundle", 2)))).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: bpLinkBundleType.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleType.setDescription('Indicates Type of Back plane HiGig link bundle')
bpLinkBundleSlot = MibScalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 2), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: bpLinkBundleSlot.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleSlot.setDescription('The SlotId on which Link Bundle is overloaded')
bpLinkBundleNpuUnit = MibScalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 3), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: bpLinkBundleNpuUnit.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleNpuUnit.setDescription('The npuUnitId(BCM unit Id) on which Link Bundle is overloaded')
bpLinkBundleLocalId = MibScalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 4), Integer32()).setMaxAccess("accessiblefornotify")
if mibBuilder.loadTexts: bpLinkBundleLocalId.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleLocalId.setDescription('The local linkBundle Id which is overloaded')
bpLinkBundleImbalance = NotificationType((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 1, 1)).setObjects(("F10-BPSTATS-MIB", "bpLinkBundleType"), ("F10-BPSTATS-MIB", "bpLinkBundleSlot"), ("F10-BPSTATS-MIB", "bpLinkBundleNpuUnit"), ("F10-BPSTATS-MIB", "bpLinkBundleLocalId"))
if mibBuilder.loadTexts: bpLinkBundleImbalance.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleImbalance.setDescription('Trap generated when traffic imbalance observed in BP Link Bundles')
bpLinkBundleImbalanceClear = NotificationType((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 1, 2)).setObjects(("F10-BPSTATS-MIB", "bpLinkBundleType"), ("F10-BPSTATS-MIB", "bpLinkBundleSlot"), ("F10-BPSTATS-MIB", "bpLinkBundleNpuUnit"), ("F10-BPSTATS-MIB", "bpLinkBundleLocalId"))
if mibBuilder.loadTexts: bpLinkBundleImbalanceClear.setStatus('current')
if mibBuilder.loadTexts: bpLinkBundleImbalanceClear.setDescription('Trap generated when traffic imbalance is no longer observed on Bp Link bundles')
mibBuilder.exportSymbols("F10-BPSTATS-MIB", bpIfStatsOutCentRate=bpIfStatsOutCentRate, bpCosStatsHOLDDrops=bpCosStatsHOLDDrops, bpLinkBundleLocalId=bpLinkBundleLocalId, bpBufferStatsStackUnitIndex=bpBufferStatsStackUnitIndex, bpIfStatsIn256To511BytePkts=bpIfStatsIn256To511BytePkts, bpIfStatsInGiants=bpIfStatsInGiants, bpBufferStatsDefaultPacketBuffAlloc=bpBufferStatsDefaultPacketBuffAlloc, bpCosStatsDefaultPacketBuffAlloc=bpCosStatsDefaultPacketBuffAlloc, bpDropsInUnKnownHgOpcode=bpDropsInUnKnownHgOpcode, bpCosStatsEntry=bpCosStatsEntry, bpBufferStatsCurrentUsagePerPort=bpBufferStatsCurrentUsagePerPort, bpLinkBundleType=bpLinkBundleType, PYSNMP_MODULE_ID=f10BpStatsMib, bpDropsEgTxErrPktCounter=bpDropsEgTxErrPktCounter, bpDropsTable=bpDropsTable, bpDropsEgTxAgedCounter=bpDropsEgTxAgedCounter, bpCosStatsCOSNumber=bpCosStatsCOSNumber, bpLinkBundleTriggerThreshold=bpLinkBundleTriggerThreshold, bpLinkBundleNpuUnit=bpLinkBundleNpuUnit, bpDropsInMacDrops=bpDropsInMacDrops, bpPacketBufferEntry=bpPacketBufferEntry, bpIfStatsOutWredDrops=bpIfStatsOutWredDrops, bpCosStatsStackUnitIndex=bpCosStatsStackUnitIndex, bpCosStatsMaxLimit=bpCosStatsMaxLimit, bpBufferStatsTable=bpBufferStatsTable, bpIfStatsOutUnderruns=bpIfStatsOutUnderruns, bpDropsPortIndex=bpDropsPortIndex, bpPacketBufferStackUnitIndex=bpPacketBufferStackUnitIndex, bpDropsEgMacDrops=bpDropsEgMacDrops, bpDropsInMTUExceeds=bpDropsInMTUExceeds, bpLinkBundleNotifications=bpLinkBundleNotifications, bpIfStatsInCentRate=bpIfStatsInCentRate, bpIfStatsStackUnitIndex=bpIfStatsStackUnitIndex, bpCosStatsCurrentUsage=bpCosStatsCurrentUsage, bpDropsEntry=bpDropsEntry, bpPacketBufferTotalPacketBuffer=bpPacketBufferTotalPacketBuffer, bpIfStatsOut256To511BytePkts=bpIfStatsOut256To511BytePkts, bpIfStatsTable=bpIfStatsTable, bpIfStatsLastDiscontinuityTime=bpIfStatsLastDiscontinuityTime, bpLinkBundleImbalanceClear=bpLinkBundleImbalanceClear, bpIfStatsInOverruns=bpIfStatsInOverruns, bpIfStatsIn64BytePkts=bpIfStatsIn64BytePkts, bpIfStatsIn512To1023BytePkts=bpIfStatsIn512To1023BytePkts, bpBufferStatsMaxLimitPerPort=bpBufferStatsMaxLimitPerPort, bpBufferStatsPortIndex=bpBufferStatsPortIndex, bpDropsEgTxErrCounter=bpDropsEgTxErrCounter, bpIfStatsPortPipe=bpIfStatsPortPipe, bpIfStatsLastChange=bpIfStatsLastChange, bpDropsInDrops=bpDropsInDrops, bpIfStatsInRunts=bpIfStatsInRunts, bpLinkBundleImbalance=bpLinkBundleImbalance, f10BpStatsLinkBundleObjects=f10BpStatsLinkBundleObjects, f10BpStatsObjects=f10BpStatsObjects, bpIfStatsOutOver1023BytePkts=bpIfStatsOutOver1023BytePkts, bpDropsInUnKnownHgHdr=bpDropsInUnKnownHgHdr, bpIfStatsIn65To127BytePkts=bpIfStatsIn65To127BytePkts, bpDropsStackUnitIndex=bpDropsStackUnitIndex, bpIfStatsEntry=bpIfStatsEntry, bpIfStatsIn128To255BytePkts=bpIfStatsIn128To255BytePkts, f10BpStatsMib=f10BpStatsMib, bpBufferStatsEntry=bpBufferStatsEntry, bpPacketBufferTable=bpPacketBufferTable, bpLinkBundleRateInterval=bpLinkBundleRateInterval, bpCosStatsPortIndex=bpCosStatsPortIndex, bpLinkBundleAlarmVariable=bpLinkBundleAlarmVariable, bpDropsPortPipe=bpDropsPortPipe, bpStatsObjects=bpStatsObjects, bpIfStatsOutCollisions=bpIfStatsOutCollisions, f10BpStatsAlarms=f10BpStatsAlarms, bpIfStatsInCRC=bpIfStatsInCRC, bpIfStatsOut512To1023BytePkts=bpIfStatsOut512To1023BytePkts, bpPacketBufferCurrentAvailBuffer=bpPacketBufferCurrentAvailBuffer, bpIfStatsOutUnicasts=bpIfStatsOutUnicasts, bpIfStatsInOver1023BytePkts=bpIfStatsInOver1023BytePkts, bpDropsEgTxMACUnderflow=bpDropsEgTxMACUnderflow, bpCosStatsTable=bpCosStatsTable, bpIfStatsOut128To255BytePkts=bpIfStatsOut128To255BytePkts, bpIfStatsInThrottles=bpIfStatsInThrottles, bpIfStatsPortIndex=bpIfStatsPortIndex, bpBufferStatsPortPipe=bpBufferStatsPortPipe, bpPacketBufferPortPipe=bpPacketBufferPortPipe, bpCosStatsPortPipe=bpCosStatsPortPipe, bpLinkBundleObjects=bpLinkBundleObjects, bpIfStatsOutThrottles=bpIfStatsOutThrottles, bpDropsMMUHOLDrops=bpDropsMMUHOLDrops, bpIfStatsOut64BytePkts=bpIfStatsOut64BytePkts, bpPacketBufferPacketBufferAlloc=bpPacketBufferPacketBufferAlloc, bpIfStatsOut65To127BytePkts=bpIfStatsOut65To127BytePkts, bpLinkBundleSlot=bpLinkBundleSlot)
| (object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(value_size_constraint, single_value_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(f10_mgmt,) = mibBuilder.importSymbols('FORCE10-SMI', 'f10Mgmt')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(counter64, bits, iso, unsigned32, mib_identifier, counter32, time_ticks, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, module_identity, integer32, notification_type, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'Bits', 'iso', 'Unsigned32', 'MibIdentifier', 'Counter32', 'TimeTicks', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ModuleIdentity', 'Integer32', 'NotificationType', 'ObjectIdentity')
(time_stamp, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeStamp', 'DisplayString', 'TextualConvention')
f10_bp_stats_mib = module_identity((1, 3, 6, 1, 4, 1, 6027, 3, 24))
f10BpStatsMib.setRevisions(('2013-05-22 12:48',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
f10BpStatsMib.setRevisionsDescriptions(('Initial version of this mib.',))
if mibBuilder.loadTexts:
f10BpStatsMib.setLastUpdated('201309181248Z')
if mibBuilder.loadTexts:
f10BpStatsMib.setOrganization('Dell Inc')
if mibBuilder.loadTexts:
f10BpStatsMib.setContactInfo('http://www.force10networks.com/support')
if mibBuilder.loadTexts:
f10BpStatsMib.setDescription('Dell Networking OS Back plane statistics mib. This is MIB shall use for all back plane statistics related activities. This includes the BP ports traffic statistics. BP link bundle monitoring based on BP port statistics. Queue statistics and buffer utilization on BP ports etc ..')
f10_bp_stats_link_bundle_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1))
f10_bp_stats_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2))
f10_bp_stats_alarms = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3))
bp_link_bundle_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1, 1))
bp_link_bundle_rate_interval = mib_scalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(10, 299))).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bpLinkBundleRateInterval.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleRateInterval.setDescription('The rate interval for polling the Bp link bundle Monitoring.')
bp_link_bundle_trigger_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 90))).setUnits('percent').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
bpLinkBundleTriggerThreshold.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleTriggerThreshold.setDescription('The traffic distribution trigger threshold for Bp link bundle Monitoring.In percentage of total bandwidth of the link Bundle')
bp_stats_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1))
bp_drops_table = mib_table((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1))
if mibBuilder.loadTexts:
bpDropsTable.setStatus('current')
if mibBuilder.loadTexts:
bpDropsTable.setDescription('The back plane drops table contains the list of various drops per BP higig port per BCM unit in a stack unit(card type).')
bp_drops_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1)).setIndexNames((0, 'F10-BPSTATS-MIB', 'bpDropsStackUnitIndex'), (0, 'F10-BPSTATS-MIB', 'bpDropsPortPipe'), (0, 'F10-BPSTATS-MIB', 'bpDropsPortIndex'))
if mibBuilder.loadTexts:
bpDropsEntry.setStatus('current')
if mibBuilder.loadTexts:
bpDropsEntry.setDescription('Each drops entry is being indexed by StackUnit(card Type) BCM unit ID and local Port Id')
bp_drops_stack_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 12)))
if mibBuilder.loadTexts:
bpDropsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
bpDropsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bp_drops_port_pipe = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
bpDropsPortPipe.setStatus('current')
if mibBuilder.loadTexts:
bpDropsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bp_drops_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 128)))
if mibBuilder.loadTexts:
bpDropsPortIndex.setStatus('current')
if mibBuilder.loadTexts:
bpDropsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bp_drops_in_drops = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 4), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsInDrops.setStatus('current')
if mibBuilder.loadTexts:
bpDropsInDrops.setDescription('The No of Ingress packet Drops')
bp_drops_in_un_known_hg_hdr = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 5), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsInUnKnownHgHdr.setStatus('current')
if mibBuilder.loadTexts:
bpDropsInUnKnownHgHdr.setDescription('The No of Unknown hiGig header Ingress packet Drops')
bp_drops_in_un_known_hg_opcode = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 6), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsInUnKnownHgOpcode.setStatus('current')
if mibBuilder.loadTexts:
bpDropsInUnKnownHgOpcode.setDescription('The No of Unknown hiGig Opcode Ingress packet Drops')
bp_drops_in_mtu_exceeds = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 7), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsInMTUExceeds.setStatus('current')
if mibBuilder.loadTexts:
bpDropsInMTUExceeds.setDescription('No of packets dropped on Ingress because of MTUExceeds')
bp_drops_in_mac_drops = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 8), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsInMacDrops.setStatus('current')
if mibBuilder.loadTexts:
bpDropsInMacDrops.setDescription('No of packets dropped on Ingress MAC')
bp_drops_mmuhol_drops = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 9), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsMMUHOLDrops.setStatus('current')
if mibBuilder.loadTexts:
bpDropsMMUHOLDrops.setDescription('No of packets dropped in MMU because of MMU HOL Drops')
bp_drops_eg_mac_drops = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 10), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsEgMacDrops.setStatus('current')
if mibBuilder.loadTexts:
bpDropsEgMacDrops.setDescription('No of packets dropped on Egress MAC')
bp_drops_eg_tx_aged_counter = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 11), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsEgTxAgedCounter.setStatus('current')
if mibBuilder.loadTexts:
bpDropsEgTxAgedCounter.setDescription('No of Aged packets dropped on Egress')
bp_drops_eg_tx_err_counter = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 12), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsEgTxErrCounter.setStatus('current')
if mibBuilder.loadTexts:
bpDropsEgTxErrCounter.setDescription('No of Error packets dropped on Egress')
bp_drops_eg_tx_mac_underflow = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 13), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsEgTxMACUnderflow.setStatus('current')
if mibBuilder.loadTexts:
bpDropsEgTxMACUnderflow.setDescription('No of MAC underflow packets dropped on Egress')
bp_drops_eg_tx_err_pkt_counter = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 1, 1, 14), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpDropsEgTxErrPktCounter.setStatus('current')
if mibBuilder.loadTexts:
bpDropsEgTxErrPktCounter.setDescription('No of total packets dropped in Egress')
bp_if_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2))
if mibBuilder.loadTexts:
bpIfStatsTable.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsTable.setDescription('The back plane counter statistics table contains the list of various counters per BP higig port per BCM unit in a stack unit(card type).')
bp_if_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1)).setIndexNames((0, 'F10-BPSTATS-MIB', 'bpIfStatsStackUnitIndex'), (0, 'F10-BPSTATS-MIB', 'bpIfStatsPortPipe'), (0, 'F10-BPSTATS-MIB', 'bpIfStatsPortIndex'))
if mibBuilder.loadTexts:
bpIfStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsEntry.setDescription('Each Stats entry is being indexed by StackUnit(card Type) BCM unit ID and local Port Id')
bp_if_stats_stack_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 12)))
if mibBuilder.loadTexts:
bpIfStatsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bp_if_stats_port_pipe = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
bpIfStatsPortPipe.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bp_if_stats_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 128)))
if mibBuilder.loadTexts:
bpIfStatsPortIndex.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bp_if_stats_in64_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 4), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsIn64BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsIn64BytePkts.setDescription('The total number of frames (including bad frames) received that were 64 octets in length (excluding framing bits but including FCS octets).')
bp_if_stats_in65_to127_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 5), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsIn65To127BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsIn65To127BytePkts.setDescription('The total number of frames (including bad frames) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).')
bp_if_stats_in128_to255_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 6), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsIn128To255BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsIn128To255BytePkts.setDescription('The total number of frames (including bad frames) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).')
bp_if_stats_in256_to511_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 7), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsIn256To511BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsIn256To511BytePkts.setDescription('The total number of frames (including bad frames) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).')
bp_if_stats_in512_to1023_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 8), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsIn512To1023BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsIn512To1023BytePkts.setDescription('The total number of frames (including bad frames) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).')
bp_if_stats_in_over1023_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 9), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInOver1023BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInOver1023BytePkts.setDescription('The total number of frames received that were longer than 1023 (1025 Bytes in case of VLAN Tag) octets (excluding framing bits, but including FCS octets) and were otherwise well formed. This counter is not incremented for too long frames.')
bp_if_stats_in_throttles = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 10), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInThrottles.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInThrottles.setDescription('This counter is incremented when a valid frame with a length or type field value equal to 0x8808 (Control Frame) is received.')
bp_if_stats_in_runts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 11), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInRunts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInRunts.setDescription('The total number of frames received that were less than 64 octets long (excluding framing bits, but including FCS octets) and were otherwise well formed.')
bp_if_stats_in_giants = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 12), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInGiants.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInGiants.setDescription('The total number of frames received that were longer than 1518 (1522 Bytes in case of VLAN Tag) octets (excluding framing bits, but including FCS octets) and were otherwise well formed. This counter is not incremented for too long frames.')
bp_if_stats_in_crc = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 13), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInCRC.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInCRC.setDescription('The total number of frames received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad CRC.')
bp_if_stats_in_overruns = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 14), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInOverruns.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInOverruns.setDescription('The total number of frames has been chosen to be dropped by detecting the buffer issue')
bp_if_stats_out_underruns = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 15), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutUnderruns.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutUnderruns.setDescription('The total number of frames dropped because of buffer underrun.')
bp_if_stats_out_unicasts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 16), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutUnicasts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutUnicasts.setDescription('The total number of Unicast frames are transmitted out of the interface')
bp_if_stats_out_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 17), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutCollisions.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutCollisions.setDescription('A count of the frames that due to excessive or late collisions are not transmitted successfully.')
bp_if_stats_out_wred_drops = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 18), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutWredDrops.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutWredDrops.setDescription('The total number of frames are dropped by using WRED policy due to excessive traffic.')
bp_if_stats_out64_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 19), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOut64BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOut64BytePkts.setDescription('The total number of valid frames with the block of 64 byte size is transmitted')
bp_if_stats_out65_to127_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 20), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOut65To127BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOut65To127BytePkts.setDescription('The total of valid frame with the block size of range between 65 and 127 bytes are transmitted.')
bp_if_stats_out128_to255_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 21), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOut128To255BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOut128To255BytePkts.setDescription('The total of valid frame with the block size of range between 128 and 255 bytes are transmitted')
bp_if_stats_out256_to511_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 22), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOut256To511BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOut256To511BytePkts.setDescription('The total of valid frame with the block size of range between 256 and 511 bytes are transmitted')
bp_if_stats_out512_to1023_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 23), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOut512To1023BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOut512To1023BytePkts.setDescription('The total of valid frame with the block size of range between 512 and 1023 bytes are transmitted')
bp_if_stats_out_over1023_byte_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 24), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutOver1023BytePkts.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutOver1023BytePkts.setDescription('The total of valid frame with the block size of greater than 1023 bytes are transmitted.')
bp_if_stats_out_throttles = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 25), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutThrottles.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutThrottles.setDescription('This counter is incremented when a valid frame with a length or type field value equal to 0x8808 (Control Frame) is sent.')
bp_if_stats_last_discontinuity_time = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 26), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsLastDiscontinuityTime.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsLastDiscontinuityTime.setDescription("The value of sysUpTime on the most recent occasion at which this interface's counters suffered a discontinuity via a reset. If no such discontinuities have occurred since the last reinitialization of the local management subsystem, then this object contains a zero value.")
bp_if_stats_in_cent_rate = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 27), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsInCentRate.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsInCentRate.setDescription('This is the percentage of maximum line rate at which data is receiving on the Interface. For Z9000 - BP hiGig line rate is 42G. This is an integer value which can go from 0% to 100%.')
bp_if_stats_out_cent_rate = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsOutCentRate.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsOutCentRate.setDescription('This is the percentage of maximum line rate at which data is sending on the Interface. For Z9000 - BP hiGig line rate is 42G. This is an integer value which can go from 0% to 100%.')
bp_if_stats_last_change = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 2, 1, 29), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpIfStatsLastChange.setStatus('current')
if mibBuilder.loadTexts:
bpIfStatsLastChange.setDescription('The value of sysUpTime, on which all the counters are updated recently')
bp_packet_buffer_table = mib_table((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3))
if mibBuilder.loadTexts:
bpPacketBufferTable.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferTable.setDescription('The packet buffer table contains the modular packet buffers details per stack unit and the mode of allocation.')
bp_packet_buffer_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1)).setIndexNames((0, 'F10-BPSTATS-MIB', 'bpPacketBufferStackUnitIndex'), (0, 'F10-BPSTATS-MIB', 'bpPacketBufferPortPipe'))
if mibBuilder.loadTexts:
bpPacketBufferEntry.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferEntry.setDescription('Packet buffer details per NPU unit.')
bp_packet_buffer_stack_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 12)))
if mibBuilder.loadTexts:
bpPacketBufferStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bp_packet_buffer_port_pipe = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
bpPacketBufferPortPipe.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bp_packet_buffer_total_packet_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 3), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpPacketBufferTotalPacketBuffer.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferTotalPacketBuffer.setDescription('Total packet buffer in this NPU unit.')
bp_packet_buffer_current_avail_buffer = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpPacketBufferCurrentAvailBuffer.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferCurrentAvailBuffer.setDescription('Current available buffer in this NPU unit.')
bp_packet_buffer_packet_buffer_alloc = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 3, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpPacketBufferPacketBufferAlloc.setStatus('current')
if mibBuilder.loadTexts:
bpPacketBufferPacketBufferAlloc.setDescription('Static or Dynamic allocation.')
bp_buffer_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4))
if mibBuilder.loadTexts:
bpBufferStatsTable.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsTable.setDescription('The back plane stats per port table contains the packet buffer usage per bp port per NPU unit.')
bp_buffer_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1)).setIndexNames((0, 'F10-BPSTATS-MIB', 'bpBufferStatsStackUnitIndex'), (0, 'F10-BPSTATS-MIB', 'bpBufferStatsPortPipe'), (0, 'F10-BPSTATS-MIB', 'bpBufferStatsPortIndex'))
if mibBuilder.loadTexts:
bpBufferStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsEntry.setDescription('Per bp port buffer stats ')
bp_buffer_stats_stack_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 12)))
if mibBuilder.loadTexts:
bpBufferStatsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bp_buffer_stats_port_pipe = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
bpBufferStatsPortPipe.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bp_buffer_stats_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 128)))
if mibBuilder.loadTexts:
bpBufferStatsPortIndex.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bp_buffer_stats_current_usage_per_port = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpBufferStatsCurrentUsagePerPort.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsCurrentUsagePerPort.setDescription('Current buffer usage per bp port.')
bp_buffer_stats_default_packet_buff_alloc = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpBufferStatsDefaultPacketBuffAlloc.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsDefaultPacketBuffAlloc.setDescription('Default packet buffer allocated.')
bp_buffer_stats_max_limit_per_port = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 4, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpBufferStatsMaxLimitPerPort.setStatus('current')
if mibBuilder.loadTexts:
bpBufferStatsMaxLimitPerPort.setDescription('Max buffer limit per bp port.')
bp_cos_stats_table = mib_table((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5))
if mibBuilder.loadTexts:
bpCosStatsTable.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsTable.setDescription('The back plane statistics per COS table gives packet buffer statistics per COS per bp port.')
bp_cos_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1)).setIndexNames((0, 'F10-BPSTATS-MIB', 'bpCosStatsStackUnitIndex'), (0, 'F10-BPSTATS-MIB', 'bpCosStatsPortPipe'), (0, 'F10-BPSTATS-MIB', 'bpCosStatsPortIndex'), (0, 'F10-BPSTATS-MIB', 'bpCosStatsCOSNumber'))
if mibBuilder.loadTexts:
bpCosStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsEntry.setDescription('Per bp port buffer stats and per COS buffer stats.')
bp_cos_stats_stack_unit_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 12)))
if mibBuilder.loadTexts:
bpCosStatsStackUnitIndex.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsStackUnitIndex.setDescription('Stack unit(Card Type Id) number where this port present Each card shall contain more than one BCM units')
bp_cos_stats_port_pipe = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 6)))
if mibBuilder.loadTexts:
bpCosStatsPortPipe.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsPortPipe.setDescription('bpPortPipe denotes the BCM unit in the stack unit(card Type) Each BCM unit shall contain 1-128 local ports, which includes BP as well as front end ports')
bp_cos_stats_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 128)))
if mibBuilder.loadTexts:
bpCosStatsPortIndex.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsPortIndex.setDescription('BP port number. Maximum ports shall support by Trident2 BCM npu is 128. This address space includes FE ports also, which are invalid ports as far as BP is concern. For Z9000 leaf BCM units, 34 to 41 are the valid BP port numbers and for spine BCM units, 1 to 16 are the valid BP ports ')
bp_cos_stats_cos_number = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)))
if mibBuilder.loadTexts:
bpCosStatsCOSNumber.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsCOSNumber.setDescription('COS queue number, There shall 10 unicast and 5 multicast queues per port in Trident2')
bp_cos_stats_current_usage = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 5), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpCosStatsCurrentUsage.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsCurrentUsage.setDescription('Current buffer usage per COS per bp port.')
bp_cos_stats_default_packet_buff_alloc = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 6), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpCosStatsDefaultPacketBuffAlloc.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsDefaultPacketBuffAlloc.setDescription('Default packet buffer allocated per COS queue')
bp_cos_stats_max_limit = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 7), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpCosStatsMaxLimit.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsMaxLimit.setDescription('Max buffer utilization limit per bp port.')
bp_cos_stats_hold_drops = mib_table_column((1, 3, 6, 1, 4, 1, 6027, 3, 24, 2, 1, 5, 1, 8), counter64()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
bpCosStatsHOLDDrops.setStatus('current')
if mibBuilder.loadTexts:
bpCosStatsHOLDDrops.setDescription('HOLD Drops Per Queue.')
bp_link_bundle_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 1))
bp_link_bundle_alarm_variable = mib_identifier((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2))
bp_link_bundle_type = mib_scalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unknown', 1), ('bpHgBundle', 2)))).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
bpLinkBundleType.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleType.setDescription('Indicates Type of Back plane HiGig link bundle')
bp_link_bundle_slot = mib_scalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 2), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
bpLinkBundleSlot.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleSlot.setDescription('The SlotId on which Link Bundle is overloaded')
bp_link_bundle_npu_unit = mib_scalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 3), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
bpLinkBundleNpuUnit.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleNpuUnit.setDescription('The npuUnitId(BCM unit Id) on which Link Bundle is overloaded')
bp_link_bundle_local_id = mib_scalar((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 2, 4), integer32()).setMaxAccess('accessiblefornotify')
if mibBuilder.loadTexts:
bpLinkBundleLocalId.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleLocalId.setDescription('The local linkBundle Id which is overloaded')
bp_link_bundle_imbalance = notification_type((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 1, 1)).setObjects(('F10-BPSTATS-MIB', 'bpLinkBundleType'), ('F10-BPSTATS-MIB', 'bpLinkBundleSlot'), ('F10-BPSTATS-MIB', 'bpLinkBundleNpuUnit'), ('F10-BPSTATS-MIB', 'bpLinkBundleLocalId'))
if mibBuilder.loadTexts:
bpLinkBundleImbalance.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleImbalance.setDescription('Trap generated when traffic imbalance observed in BP Link Bundles')
bp_link_bundle_imbalance_clear = notification_type((1, 3, 6, 1, 4, 1, 6027, 3, 24, 3, 1, 2)).setObjects(('F10-BPSTATS-MIB', 'bpLinkBundleType'), ('F10-BPSTATS-MIB', 'bpLinkBundleSlot'), ('F10-BPSTATS-MIB', 'bpLinkBundleNpuUnit'), ('F10-BPSTATS-MIB', 'bpLinkBundleLocalId'))
if mibBuilder.loadTexts:
bpLinkBundleImbalanceClear.setStatus('current')
if mibBuilder.loadTexts:
bpLinkBundleImbalanceClear.setDescription('Trap generated when traffic imbalance is no longer observed on Bp Link bundles')
mibBuilder.exportSymbols('F10-BPSTATS-MIB', bpIfStatsOutCentRate=bpIfStatsOutCentRate, bpCosStatsHOLDDrops=bpCosStatsHOLDDrops, bpLinkBundleLocalId=bpLinkBundleLocalId, bpBufferStatsStackUnitIndex=bpBufferStatsStackUnitIndex, bpIfStatsIn256To511BytePkts=bpIfStatsIn256To511BytePkts, bpIfStatsInGiants=bpIfStatsInGiants, bpBufferStatsDefaultPacketBuffAlloc=bpBufferStatsDefaultPacketBuffAlloc, bpCosStatsDefaultPacketBuffAlloc=bpCosStatsDefaultPacketBuffAlloc, bpDropsInUnKnownHgOpcode=bpDropsInUnKnownHgOpcode, bpCosStatsEntry=bpCosStatsEntry, bpBufferStatsCurrentUsagePerPort=bpBufferStatsCurrentUsagePerPort, bpLinkBundleType=bpLinkBundleType, PYSNMP_MODULE_ID=f10BpStatsMib, bpDropsEgTxErrPktCounter=bpDropsEgTxErrPktCounter, bpDropsTable=bpDropsTable, bpDropsEgTxAgedCounter=bpDropsEgTxAgedCounter, bpCosStatsCOSNumber=bpCosStatsCOSNumber, bpLinkBundleTriggerThreshold=bpLinkBundleTriggerThreshold, bpLinkBundleNpuUnit=bpLinkBundleNpuUnit, bpDropsInMacDrops=bpDropsInMacDrops, bpPacketBufferEntry=bpPacketBufferEntry, bpIfStatsOutWredDrops=bpIfStatsOutWredDrops, bpCosStatsStackUnitIndex=bpCosStatsStackUnitIndex, bpCosStatsMaxLimit=bpCosStatsMaxLimit, bpBufferStatsTable=bpBufferStatsTable, bpIfStatsOutUnderruns=bpIfStatsOutUnderruns, bpDropsPortIndex=bpDropsPortIndex, bpPacketBufferStackUnitIndex=bpPacketBufferStackUnitIndex, bpDropsEgMacDrops=bpDropsEgMacDrops, bpDropsInMTUExceeds=bpDropsInMTUExceeds, bpLinkBundleNotifications=bpLinkBundleNotifications, bpIfStatsInCentRate=bpIfStatsInCentRate, bpIfStatsStackUnitIndex=bpIfStatsStackUnitIndex, bpCosStatsCurrentUsage=bpCosStatsCurrentUsage, bpDropsEntry=bpDropsEntry, bpPacketBufferTotalPacketBuffer=bpPacketBufferTotalPacketBuffer, bpIfStatsOut256To511BytePkts=bpIfStatsOut256To511BytePkts, bpIfStatsTable=bpIfStatsTable, bpIfStatsLastDiscontinuityTime=bpIfStatsLastDiscontinuityTime, bpLinkBundleImbalanceClear=bpLinkBundleImbalanceClear, bpIfStatsInOverruns=bpIfStatsInOverruns, bpIfStatsIn64BytePkts=bpIfStatsIn64BytePkts, bpIfStatsIn512To1023BytePkts=bpIfStatsIn512To1023BytePkts, bpBufferStatsMaxLimitPerPort=bpBufferStatsMaxLimitPerPort, bpBufferStatsPortIndex=bpBufferStatsPortIndex, bpDropsEgTxErrCounter=bpDropsEgTxErrCounter, bpIfStatsPortPipe=bpIfStatsPortPipe, bpIfStatsLastChange=bpIfStatsLastChange, bpDropsInDrops=bpDropsInDrops, bpIfStatsInRunts=bpIfStatsInRunts, bpLinkBundleImbalance=bpLinkBundleImbalance, f10BpStatsLinkBundleObjects=f10BpStatsLinkBundleObjects, f10BpStatsObjects=f10BpStatsObjects, bpIfStatsOutOver1023BytePkts=bpIfStatsOutOver1023BytePkts, bpDropsInUnKnownHgHdr=bpDropsInUnKnownHgHdr, bpIfStatsIn65To127BytePkts=bpIfStatsIn65To127BytePkts, bpDropsStackUnitIndex=bpDropsStackUnitIndex, bpIfStatsEntry=bpIfStatsEntry, bpIfStatsIn128To255BytePkts=bpIfStatsIn128To255BytePkts, f10BpStatsMib=f10BpStatsMib, bpBufferStatsEntry=bpBufferStatsEntry, bpPacketBufferTable=bpPacketBufferTable, bpLinkBundleRateInterval=bpLinkBundleRateInterval, bpCosStatsPortIndex=bpCosStatsPortIndex, bpLinkBundleAlarmVariable=bpLinkBundleAlarmVariable, bpDropsPortPipe=bpDropsPortPipe, bpStatsObjects=bpStatsObjects, bpIfStatsOutCollisions=bpIfStatsOutCollisions, f10BpStatsAlarms=f10BpStatsAlarms, bpIfStatsInCRC=bpIfStatsInCRC, bpIfStatsOut512To1023BytePkts=bpIfStatsOut512To1023BytePkts, bpPacketBufferCurrentAvailBuffer=bpPacketBufferCurrentAvailBuffer, bpIfStatsOutUnicasts=bpIfStatsOutUnicasts, bpIfStatsInOver1023BytePkts=bpIfStatsInOver1023BytePkts, bpDropsEgTxMACUnderflow=bpDropsEgTxMACUnderflow, bpCosStatsTable=bpCosStatsTable, bpIfStatsOut128To255BytePkts=bpIfStatsOut128To255BytePkts, bpIfStatsInThrottles=bpIfStatsInThrottles, bpIfStatsPortIndex=bpIfStatsPortIndex, bpBufferStatsPortPipe=bpBufferStatsPortPipe, bpPacketBufferPortPipe=bpPacketBufferPortPipe, bpCosStatsPortPipe=bpCosStatsPortPipe, bpLinkBundleObjects=bpLinkBundleObjects, bpIfStatsOutThrottles=bpIfStatsOutThrottles, bpDropsMMUHOLDrops=bpDropsMMUHOLDrops, bpIfStatsOut64BytePkts=bpIfStatsOut64BytePkts, bpPacketBufferPacketBufferAlloc=bpPacketBufferPacketBufferAlloc, bpIfStatsOut65To127BytePkts=bpIfStatsOut65To127BytePkts, bpLinkBundleSlot=bpLinkBundleSlot) |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#3.1.1 => updates from 2016 to 2018
#3.1.2 => fix to pip distribution
__version__ = '3.1.2'
| __version__ = '3.1.2' |
if __name__ == '__main__':
print("{file} is main".format(file=__file__))
else:
print("{file} is loaded".format(file=__file__)) | if __name__ == '__main__':
print('{file} is main'.format(file=__file__))
else:
print('{file} is loaded'.format(file=__file__)) |
class Config:
"""Discriminator configurations.
"""
def __init__(self, steps: int):
"""Initializer.
Args:
steps: diffusion steps.
"""
self.steps = steps
# embedding
self.pe = 128
self.embeddings = 512
self.mappers = 2
# block
self.channels = 64
self.kernels = 3
self.layers = 10
self.leak = 0.2
| class Config:
"""Discriminator configurations.
"""
def __init__(self, steps: int):
"""Initializer.
Args:
steps: diffusion steps.
"""
self.steps = steps
self.pe = 128
self.embeddings = 512
self.mappers = 2
self.channels = 64
self.kernels = 3
self.layers = 10
self.leak = 0.2 |
with open('.\\DARKCPU\\DARKCPU.bin', 'rb') as inputFile:
with open('image.bin', 'wb') as outputFile:
while True:
bufA = inputFile.read(1)
bufB = inputFile.read(1)
if bufA == "" or bufB == "":
break;
outputFile.write(bufB)
outputFile.write(bufA)
print("Done")
| with open('.\\DARKCPU\\DARKCPU.bin', 'rb') as input_file:
with open('image.bin', 'wb') as output_file:
while True:
buf_a = inputFile.read(1)
buf_b = inputFile.read(1)
if bufA == '' or bufB == '':
break
outputFile.write(bufB)
outputFile.write(bufA)
print('Done') |
class DefaultBindingPropertyAttribute:
"""
Specifies the default binding property for a component. This class cannot be inherited.
DefaultBindingPropertyAttribute()
DefaultBindingPropertyAttribute(name: str)
"""
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return DefaultBindingPropertyAttribute()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
def Equals(self,obj):
"""
Equals(self: DefaultBindingPropertyAttribute,obj: object) -> bool
Determines whether the specified System.Object is equal to the current System.ComponentModel.DefaultBindingPropertyAttribute instance.
obj: The System.Object to compare with the current System.ComponentModel.DefaultBindingPropertyAttribute instance
Returns: true if the object is equal to the current instance; otherwise,false,indicating they are not equal.
"""
pass
def GetHashCode(self):
"""
GetHashCode(self: DefaultBindingPropertyAttribute) -> int
Returns: A 32-bit signed integer hash code.
"""
pass
def __eq__(self,*args):
""" x.__eq__(y) <==> x==y """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self,name=None):
"""
__new__(cls: type)
__new__(cls: type,name: str)
"""
pass
def __ne__(self,*args):
pass
Name=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the name of the default binding property for the component to which the System.ComponentModel.DefaultBindingPropertyAttribute is bound.
Get: Name(self: DefaultBindingPropertyAttribute) -> str
"""
Default=None
| class Defaultbindingpropertyattribute:
"""
Specifies the default binding property for a component. This class cannot be inherited.
DefaultBindingPropertyAttribute()
DefaultBindingPropertyAttribute(name: str)
"""
def zzz(self):
"""hardcoded/mock instance of the class"""
return default_binding_property_attribute()
instance = zzz()
'hardcoded/returns an instance of the class'
def equals(self, obj):
"""
Equals(self: DefaultBindingPropertyAttribute,obj: object) -> bool
Determines whether the specified System.Object is equal to the current System.ComponentModel.DefaultBindingPropertyAttribute instance.
obj: The System.Object to compare with the current System.ComponentModel.DefaultBindingPropertyAttribute instance
Returns: true if the object is equal to the current instance; otherwise,false,indicating they are not equal.
"""
pass
def get_hash_code(self):
"""
GetHashCode(self: DefaultBindingPropertyAttribute) -> int
Returns: A 32-bit signed integer hash code.
"""
pass
def __eq__(self, *args):
""" x.__eq__(y) <==> x==y """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, name=None):
"""
__new__(cls: type)
__new__(cls: type,name: str)
"""
pass
def __ne__(self, *args):
pass
name = property(lambda self: object(), lambda self, v: None, lambda self: None)
'Gets the name of the default binding property for the component to which the System.ComponentModel.DefaultBindingPropertyAttribute is bound.\n\n\n\nGet: Name(self: DefaultBindingPropertyAttribute) -> str\n\n\n\n'
default = None |
# problem description can be added if required
n = int(input())
hou = [int(i) for i in input().split()]
p = int(input())
for i in range(p):
a, b = [int(i) for i in input().split()]
print(sum(hou[a - 1:b])) # sum was to be including both the 'a'th and 'b'th index
| n = int(input())
hou = [int(i) for i in input().split()]
p = int(input())
for i in range(p):
(a, b) = [int(i) for i in input().split()]
print(sum(hou[a - 1:b])) |
class ModelAdmin:
"""
The class provides the possibility of declarative describe of information
about the table and describe all things related to viewing this table on
the administrator's page.
class Users(models.ModelAdmin):
class Meta:
resource_type = PGResource
table = users
"""
can_edit = True
can_create = True
can_delete = True
per_page = 10
fields = None
form = None
edit_form = None
create_form = None
show_form = None
primary_key = 'id'
def __init__(self, db=None):
self.name = self.__class__.__name__.lower()
self._table = self.Meta.table
self._resource_type = self.Meta.resource_type
self.db = db
def to_dict(self):
"""
Return dict with the all base information about the instance.
"""
data = {
"name": self.name,
"canEdit": self.can_edit,
"canCreate": self.can_create,
"canDelete": self.can_delete,
"perPage": self.per_page,
"showPage": self.generate_data_for_show_page(),
"editPage": self.generate_data_for_edit_page(),
"createPage": self.generate_data_for_create_page(),
"primaryKey": self.primary_key
}
return data
def generate_simple_data_page(self):
"""
Generate a simple representation of table's fields in dictionary type.
:return: dict
"""
return self._resource_type.get_type_for_inputs(self._table)
def generate_data_for_edit_page(self):
"""
Generate a custom representation of table's fields in dictionary type
if exist edit form else use default representation.
:return: dict
"""
if not self.can_edit:
return {}
if self.edit_form:
return self.edit_form.to_dict()
return self.generate_simple_data_page()
def generate_data_for_show_page(self):
"""
Generate a custom representation of table's fields in dictionary type
if exist show form else use default representation.
:return: dict
"""
if self.show_form:
return self.show_form.to_dict()
return self.generate_simple_data_page()
def generate_data_for_create_page(self):
"""
Generate a custom representation of table's fields in dictionary type
if exist create form else use default representation.
:return: dict
"""
if not self.can_create:
return {}
if self.create_form:
return self.create_form.to_dict()
return self.generate_simple_data_page()
def get_info_for_resource(self):
return dict(
table=self.Meta.table,
url=self.name,
db=self.db
)
| class Modeladmin:
"""
The class provides the possibility of declarative describe of information
about the table and describe all things related to viewing this table on
the administrator's page.
class Users(models.ModelAdmin):
class Meta:
resource_type = PGResource
table = users
"""
can_edit = True
can_create = True
can_delete = True
per_page = 10
fields = None
form = None
edit_form = None
create_form = None
show_form = None
primary_key = 'id'
def __init__(self, db=None):
self.name = self.__class__.__name__.lower()
self._table = self.Meta.table
self._resource_type = self.Meta.resource_type
self.db = db
def to_dict(self):
"""
Return dict with the all base information about the instance.
"""
data = {'name': self.name, 'canEdit': self.can_edit, 'canCreate': self.can_create, 'canDelete': self.can_delete, 'perPage': self.per_page, 'showPage': self.generate_data_for_show_page(), 'editPage': self.generate_data_for_edit_page(), 'createPage': self.generate_data_for_create_page(), 'primaryKey': self.primary_key}
return data
def generate_simple_data_page(self):
"""
Generate a simple representation of table's fields in dictionary type.
:return: dict
"""
return self._resource_type.get_type_for_inputs(self._table)
def generate_data_for_edit_page(self):
"""
Generate a custom representation of table's fields in dictionary type
if exist edit form else use default representation.
:return: dict
"""
if not self.can_edit:
return {}
if self.edit_form:
return self.edit_form.to_dict()
return self.generate_simple_data_page()
def generate_data_for_show_page(self):
"""
Generate a custom representation of table's fields in dictionary type
if exist show form else use default representation.
:return: dict
"""
if self.show_form:
return self.show_form.to_dict()
return self.generate_simple_data_page()
def generate_data_for_create_page(self):
"""
Generate a custom representation of table's fields in dictionary type
if exist create form else use default representation.
:return: dict
"""
if not self.can_create:
return {}
if self.create_form:
return self.create_form.to_dict()
return self.generate_simple_data_page()
def get_info_for_resource(self):
return dict(table=self.Meta.table, url=self.name, db=self.db) |
''' Base Class method Proxy'''
#method 1, not recommand!
class A:
def spam(self, x):
pass
def foo(self):
pass
class B:
def __init__(self):
self._a = A()
def spam(self, x):
# Delegate to the internal self._a instance
return self._a.spam(x)
def foo(self):
# Delegate to the internal self._a instance
return self._a.foo()
def bar(self):
pass
#method 2, better
class A:
def spam(self, x):
pass
def foo(self):
pass
class B:
def __init__(self):
self._a = A()
def bar(self):
pass
#Expose all of the methods defined on Class A,like virtual method fields filled
def __getattr__(self, item):
return getattr( self._a, item )
#method 3, common Proxy
# A proxy class that wraps around another object, but
# exposes its public attributes
class Proxy:
def __init__(self, obj):
self._obj = obj
# Delegate attribute lookup to internal obj
def __getattr__(self, name):
print('getattr:', name)
return getattr(self._obj, name)
# Delegate attribute assignment
def __setattr__(self, name, value):
if name.startswith('_'):
super().__setattr__(name, value)
else:
print('setattr:', name, value)
setattr(self._obj, name, value)
# Delegate attribute deletion
def __delattr__(self, name):
if name.startswith('_'):
super().__delattr__(name)
else:
print('delattr:', name)
delattr(self._obj, name)
class Spam:
def __init__(self, x):
self.x = x
def bar(self, y):
print('Spam.bar:', self.x, y)
# Create an instance
s = Spam(2)
# Create a proxy around it
p = Proxy(s)
# Access the proxy
print(p.x) # Outputs 2
p.bar(3) # Outputs "Spam.bar: 2 3"
p.x = 37 # Changes s.x to 37
#Example for ListLike
'''TODO:: All functions starts with __ must defined by hand~~'''
class ListLike:
def __init__(self):
self._items = []
def __getattr__(self, name):
return getattr(self._items, name)
# Added special methods to support certain list operations
def __len__(self):
return len(self._items)
def __getitem__(self, index):
return self._items[index]
def __setitem__(self, index, value):
self._items[index] = value
def __delitem__(self, index):
del self._items[index] | """ Base Class method Proxy"""
class A:
def spam(self, x):
pass
def foo(self):
pass
class B:
def __init__(self):
self._a = a()
def spam(self, x):
return self._a.spam(x)
def foo(self):
return self._a.foo()
def bar(self):
pass
class A:
def spam(self, x):
pass
def foo(self):
pass
class B:
def __init__(self):
self._a = a()
def bar(self):
pass
def __getattr__(self, item):
return getattr(self._a, item)
class Proxy:
def __init__(self, obj):
self._obj = obj
def __getattr__(self, name):
print('getattr:', name)
return getattr(self._obj, name)
def __setattr__(self, name, value):
if name.startswith('_'):
super().__setattr__(name, value)
else:
print('setattr:', name, value)
setattr(self._obj, name, value)
def __delattr__(self, name):
if name.startswith('_'):
super().__delattr__(name)
else:
print('delattr:', name)
delattr(self._obj, name)
class Spam:
def __init__(self, x):
self.x = x
def bar(self, y):
print('Spam.bar:', self.x, y)
s = spam(2)
p = proxy(s)
print(p.x)
p.bar(3)
p.x = 37
'TODO:: All functions starts with __ must defined by hand~~'
class Listlike:
def __init__(self):
self._items = []
def __getattr__(self, name):
return getattr(self._items, name)
def __len__(self):
return len(self._items)
def __getitem__(self, index):
return self._items[index]
def __setitem__(self, index, value):
self._items[index] = value
def __delitem__(self, index):
del self._items[index] |
class PacketSummary(object):
"""
A simple object containing a psml summary.
Can contain various summary information about a packet.
"""
def __init__(self, structure, values):
self._fields = {}
self._field_order = []
for key, val in zip(structure, values):
key, val = str(key), str(val)
self._fields[key] = val
self._field_order.append(key)
setattr(self, key.lower().replace('.', '').replace(',', ''), val)
def __repr__(self):
protocol, src, dst = self._fields.get('Protocol', '?'), self._fields.get('Source', '?'),\
self._fields.get('Destination', '?')
return '<%s %s: %s to %s>' % (self.__class__.__name__, protocol, src, dst)
def __str__(self):
return self.summary_line
@property
def summary_line(self):
return ' '.join([self._fields[key] for key in self._field_order])
| class Packetsummary(object):
"""
A simple object containing a psml summary.
Can contain various summary information about a packet.
"""
def __init__(self, structure, values):
self._fields = {}
self._field_order = []
for (key, val) in zip(structure, values):
(key, val) = (str(key), str(val))
self._fields[key] = val
self._field_order.append(key)
setattr(self, key.lower().replace('.', '').replace(',', ''), val)
def __repr__(self):
(protocol, src, dst) = (self._fields.get('Protocol', '?'), self._fields.get('Source', '?'), self._fields.get('Destination', '?'))
return '<%s %s: %s to %s>' % (self.__class__.__name__, protocol, src, dst)
def __str__(self):
return self.summary_line
@property
def summary_line(self):
return ' '.join([self._fields[key] for key in self._field_order]) |
# "Matrix Decomposition"
# Alec Dewulf
# April Cook Off 2020
# Difficulty: Simple
# Concepts: Fast exponentiation, implementation
"""
This problem required the solver to caculate exponentials very quickly.
I did that by computing everything mod so the numbers remained small.
A more efficient exponent function could have also been used.
"""
T = int(input())
mod = 10**9 + 7
for _ in range(T):
num_rows, value = map(int, input().split())
ans = 0
for i in range(1, num_rows + 1):
# update the answer and compute it mod to save time
ans += pow(value, 2*i-1, mod)
ans %= mod
# update the value of the cells
value = pow(value, 2*i, mod)
print(ans)
| """
This problem required the solver to caculate exponentials very quickly.
I did that by computing everything mod so the numbers remained small.
A more efficient exponent function could have also been used.
"""
t = int(input())
mod = 10 ** 9 + 7
for _ in range(T):
(num_rows, value) = map(int, input().split())
ans = 0
for i in range(1, num_rows + 1):
ans += pow(value, 2 * i - 1, mod)
ans %= mod
value = pow(value, 2 * i, mod)
print(ans) |
class Customer:
def __init__(self, customer_id, first, last, email, address, city, state, zip_code, phone):
self.id = customer_id
self.first = first
self.last = last
self.email = email
self.address = address
self.city = city
self.state = state
self.zip = zip_code
self.phone = phone
def as_dict(self):
return vars(self)
| class Customer:
def __init__(self, customer_id, first, last, email, address, city, state, zip_code, phone):
self.id = customer_id
self.first = first
self.last = last
self.email = email
self.address = address
self.city = city
self.state = state
self.zip = zip_code
self.phone = phone
def as_dict(self):
return vars(self) |
def solution(x):
answer = True
temp = 0
copy = x
while copy != 0:
r = copy % 10
copy //= 10
temp += r
if x % temp != 0:
answer = False
return answer
print(solution(13)) | def solution(x):
answer = True
temp = 0
copy = x
while copy != 0:
r = copy % 10
copy //= 10
temp += r
if x % temp != 0:
answer = False
return answer
print(solution(13)) |
# ------------------------------
# 138. Copy List with Random Pointer
#
# Description:
# A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
# Return a deep copy of the list.
#
# Version: 1.0
# 08/21/18 by Jianfa
# ------------------------------
# Definition for singly-linked list with a random pointer.
# class RandomListNode(object):
# def __init__(self, x):
# self.label = x
# self.next = None
# self.random = None
class Solution(object):
def copyRandomList(self, head):
"""
:type head: RandomListNode
:rtype: RandomListNode
"""
iterhead = head
while iterhead:
nextnode = iterhead.next
copynode = RandomListNode(iterhead.label)
iterhead.next = copynode
copynode.next = nextnode
iterhead = nextnode
iterhead = head
while iterhead:
if iterhead.random:
iterhead.next.random = iterhead.random.next
iterhead = iterhead.next.next
iterhead = head
startpointer = RandomListNode(0)
copyiter = startpointer
while iterhead:
nextnode = iterhead.next.next
copynode = iterhead.next
copyiter.next = copynode
copyiter = copynode
iterhead.next = nextnode
iterhead = iterhead.next
return startpointer.next
# Used for testing
if __name__ == "__main__":
test = Solution()
# ------------------------------
# Summary:
# Get idea from: https://leetcode.com/problems/copy-list-with-random-pointer/discuss/43491/A-solution-with-constant-space-complexity-O(1)-and-linear-time-complexity-O(N)
# Key points:
# 1. Iterate the original list and duplicate each node. The duplicate of each node follows its original immediately.
# 2. Iterate the new list and assign the random pointer for each duplicated node.
# 3. Restore the original list and extract the duplicated nodes. | class Solution(object):
def copy_random_list(self, head):
"""
:type head: RandomListNode
:rtype: RandomListNode
"""
iterhead = head
while iterhead:
nextnode = iterhead.next
copynode = random_list_node(iterhead.label)
iterhead.next = copynode
copynode.next = nextnode
iterhead = nextnode
iterhead = head
while iterhead:
if iterhead.random:
iterhead.next.random = iterhead.random.next
iterhead = iterhead.next.next
iterhead = head
startpointer = random_list_node(0)
copyiter = startpointer
while iterhead:
nextnode = iterhead.next.next
copynode = iterhead.next
copyiter.next = copynode
copyiter = copynode
iterhead.next = nextnode
iterhead = iterhead.next
return startpointer.next
if __name__ == '__main__':
test = solution() |
#!/usr/bin/python
# Tutaj _used i independent_set jest typu set.
class UnorderedSequentialIndependentSet1:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise ValueError("the graph is directed")
self.graph = graph
for edge in self.graph.iteredges():
if edge.source == edge.target: # for multigraphs
raise ValueError("a loop detected")
self.independent_set = set()
self.cardinality = 0
self.source = None
def run(self, source=None):
"""Executable pseudocode."""
used = set()
if source is not None:
self.source = source
self.independent_set.add(source)
used.add(source)
used.update(self.graph.iteradjacent(source))
for source in self.graph.iternodes():
if source in used:
continue
self.independent_set.add(source)
used.add(source)
used.update(self.graph.iteradjacent(source))
self.cardinality = len(self.independent_set)
# Tutaj _used jest dict, a independent_set jest typu set.
class UnorderedSequentialIndependentSet2:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise ValueError("the graph is directed")
self.graph = graph
for edge in self.graph.iteredges():
if edge.source == edge.target: # for multigraphs
raise ValueError("a loop detected")
self.independent_set = set()
self.cardinality = 0
self.source = None
def run(self, source=None):
"""Executable pseudocode."""
used = dict((node, False) for node in self.graph.iternodes())
if source is not None:
self.source = source
self.independent_set.add(source)
used[source] = True
for target in self.graph.iteradjacent(source):
used[target] = True
for source in self.graph.iternodes():
if used[source]:
continue
self.independent_set.add(source)
used[source] = True
for target in self.graph.iteradjacent(source):
used[target] = True
self.cardinality = len(self.independent_set)
# Tutaj _used i independent_set jest dict. Wygodne dla C++.
class UnorderedSequentialIndependentSet3:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise ValueError("the graph is directed")
self.graph = graph
for edge in self.graph.iteredges():
if edge.source == edge.target: # for multigraphs
raise ValueError("a loop detected")
self.independent_set = dict((node, False) for node in self.graph.iternodes())
self.cardinality = 0
self.source = None
def run(self, source=None):
"""Executable pseudocode."""
used = dict((node, False) for node in self.graph.iternodes())
if source is not None:
self.source = source
self.independent_set[source] = True
used[source] = True
self.cardinality += 1
for target in self.graph.iteradjacent(source):
used[target] = True
for source in self.graph.iternodes():
if used[source]:
continue
self.independent_set[source] = True
used[source] = True
self.cardinality += 1
for target in self.graph.iteradjacent(source):
used[target] = True
UnorderedSequentialIndependentSet = UnorderedSequentialIndependentSet1
# EOF
| class Unorderedsequentialindependentset1:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise value_error('the graph is directed')
self.graph = graph
for edge in self.graph.iteredges():
if edge.source == edge.target:
raise value_error('a loop detected')
self.independent_set = set()
self.cardinality = 0
self.source = None
def run(self, source=None):
"""Executable pseudocode."""
used = set()
if source is not None:
self.source = source
self.independent_set.add(source)
used.add(source)
used.update(self.graph.iteradjacent(source))
for source in self.graph.iternodes():
if source in used:
continue
self.independent_set.add(source)
used.add(source)
used.update(self.graph.iteradjacent(source))
self.cardinality = len(self.independent_set)
class Unorderedsequentialindependentset2:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise value_error('the graph is directed')
self.graph = graph
for edge in self.graph.iteredges():
if edge.source == edge.target:
raise value_error('a loop detected')
self.independent_set = set()
self.cardinality = 0
self.source = None
def run(self, source=None):
"""Executable pseudocode."""
used = dict(((node, False) for node in self.graph.iternodes()))
if source is not None:
self.source = source
self.independent_set.add(source)
used[source] = True
for target in self.graph.iteradjacent(source):
used[target] = True
for source in self.graph.iternodes():
if used[source]:
continue
self.independent_set.add(source)
used[source] = True
for target in self.graph.iteradjacent(source):
used[target] = True
self.cardinality = len(self.independent_set)
class Unorderedsequentialindependentset3:
"""Find a maximal independent set."""
def __init__(self, graph):
"""The algorithm initialization."""
if graph.is_directed():
raise value_error('the graph is directed')
self.graph = graph
for edge in self.graph.iteredges():
if edge.source == edge.target:
raise value_error('a loop detected')
self.independent_set = dict(((node, False) for node in self.graph.iternodes()))
self.cardinality = 0
self.source = None
def run(self, source=None):
"""Executable pseudocode."""
used = dict(((node, False) for node in self.graph.iternodes()))
if source is not None:
self.source = source
self.independent_set[source] = True
used[source] = True
self.cardinality += 1
for target in self.graph.iteradjacent(source):
used[target] = True
for source in self.graph.iternodes():
if used[source]:
continue
self.independent_set[source] = True
used[source] = True
self.cardinality += 1
for target in self.graph.iteradjacent(source):
used[target] = True
unordered_sequential_independent_set = UnorderedSequentialIndependentSet1 |
input = '''10 3 15 10 5 15 5 15 9 2 5 8 5 2 3 6'''
memory = [int(x) for x in input.split('\t')]
memory_status = []
def update_memoery(memory):
highest_bank = max(memory)
highest_index = memory.index(highest_bank)
memory[highest_index] = 0
i = 0
while i < highest_bank:
memory[(highest_index + i + 1) % len(memory)] += 1
i += 1
return tuple(memory)
def find_steps(memory):
steps = 0
memory_history = [tuple(memory)]
#while memory not in memory_status:
while True:
new_memory = update_memoery(memory)
steps += 1
if new_memory in memory_history:
break
else:
memory_history.append(new_memory)
return steps
if __name__ == '__main__':
print(find_steps(memory))
| input = '10\t3\t15\t10\t5\t15\t5\t15\t9\t2\t5\t8\t5\t2\t3\t6'
memory = [int(x) for x in input.split('\t')]
memory_status = []
def update_memoery(memory):
highest_bank = max(memory)
highest_index = memory.index(highest_bank)
memory[highest_index] = 0
i = 0
while i < highest_bank:
memory[(highest_index + i + 1) % len(memory)] += 1
i += 1
return tuple(memory)
def find_steps(memory):
steps = 0
memory_history = [tuple(memory)]
while True:
new_memory = update_memoery(memory)
steps += 1
if new_memory in memory_history:
break
else:
memory_history.append(new_memory)
return steps
if __name__ == '__main__':
print(find_steps(memory)) |
for _ in range(int(input())):
n,x = [int(x) for x in input().split()]
dp = {}
s = input()
dp[x] = 1
for i in s:
if(i == "R"): x += 1
else:x -= 1
if(not dp.get(x)):dp[x] = 1
print(len(dp)) | for _ in range(int(input())):
(n, x) = [int(x) for x in input().split()]
dp = {}
s = input()
dp[x] = 1
for i in s:
if i == 'R':
x += 1
else:
x -= 1
if not dp.get(x):
dp[x] = 1
print(len(dp)) |
class FontStyleConverter(TypeConverter):
"""
Converts instances of System.Windows.FontStyle to and from other data types.
FontStyleConverter()
"""
def CanConvertFrom(self,*__args):
"""
CanConvertFrom(self: FontStyleConverter,td: ITypeDescriptorContext,t: Type) -> bool
Returns a value that indicates whether this converter can convert an object of
the given type to an instance of System.Windows.FontStyle.
td: Describes the context information of a type.
t: The type of the source that is being evaluated for conversion.
Returns: true if the converter can convert the provided type to an instance of
System.Windows.FontStyle; otherwise,false.
"""
pass
def CanConvertTo(self,*__args):
"""
CanConvertTo(self: FontStyleConverter,context: ITypeDescriptorContext,destinationType: Type) -> bool
Determines whether an instance of System.Windows.FontStyle can be converted to
a different type.
context: Context information of a type.
destinationType: The desired type that that this instance of System.Windows.FontStyle is being
evaluated for conversion to.
Returns: true if the converter can convert this instance of System.Windows.FontStyle;
otherwise,false.
"""
pass
def ConvertFrom(self,*__args):
"""
ConvertFrom(self: FontStyleConverter,td: ITypeDescriptorContext,ci: CultureInfo,value: object) -> object
Attempts to convert a specified object to an instance of
System.Windows.FontStyle.
td: Context information of a type.
ci: System.Globalization.CultureInfo of the type being converted.
value: The object being converted.
Returns: The instance of System.Windows.FontStyle created from the converted value.
"""
pass
def ConvertTo(self,*__args):
"""
ConvertTo(self: FontStyleConverter,context: ITypeDescriptorContext,culture: CultureInfo,value: object,destinationType: Type) -> object
Attempts to convert an instance of System.Windows.FontStyle to a specified type.
context: Context information of a type.
culture: System.Globalization.CultureInfo of the type being converted.
value: The instance of System.Windows.FontStyle to convert.
destinationType: The type this instance of System.Windows.FontStyle is converted to.
Returns: The object created from the converted instance of System.Windows.FontStyle.
"""
pass
| class Fontstyleconverter(TypeConverter):
"""
Converts instances of System.Windows.FontStyle to and from other data types.
FontStyleConverter()
"""
def can_convert_from(self, *__args):
"""
CanConvertFrom(self: FontStyleConverter,td: ITypeDescriptorContext,t: Type) -> bool
Returns a value that indicates whether this converter can convert an object of
the given type to an instance of System.Windows.FontStyle.
td: Describes the context information of a type.
t: The type of the source that is being evaluated for conversion.
Returns: true if the converter can convert the provided type to an instance of
System.Windows.FontStyle; otherwise,false.
"""
pass
def can_convert_to(self, *__args):
"""
CanConvertTo(self: FontStyleConverter,context: ITypeDescriptorContext,destinationType: Type) -> bool
Determines whether an instance of System.Windows.FontStyle can be converted to
a different type.
context: Context information of a type.
destinationType: The desired type that that this instance of System.Windows.FontStyle is being
evaluated for conversion to.
Returns: true if the converter can convert this instance of System.Windows.FontStyle;
otherwise,false.
"""
pass
def convert_from(self, *__args):
"""
ConvertFrom(self: FontStyleConverter,td: ITypeDescriptorContext,ci: CultureInfo,value: object) -> object
Attempts to convert a specified object to an instance of
System.Windows.FontStyle.
td: Context information of a type.
ci: System.Globalization.CultureInfo of the type being converted.
value: The object being converted.
Returns: The instance of System.Windows.FontStyle created from the converted value.
"""
pass
def convert_to(self, *__args):
"""
ConvertTo(self: FontStyleConverter,context: ITypeDescriptorContext,culture: CultureInfo,value: object,destinationType: Type) -> object
Attempts to convert an instance of System.Windows.FontStyle to a specified type.
context: Context information of a type.
culture: System.Globalization.CultureInfo of the type being converted.
value: The instance of System.Windows.FontStyle to convert.
destinationType: The type this instance of System.Windows.FontStyle is converted to.
Returns: The object created from the converted instance of System.Windows.FontStyle.
"""
pass |
def median(array):
array = sorted(array)
if len(array) % 2 == 0:
return (array[(len(array) - 1) // 2] + array[len(array) // 2]) / 2
else:
return array[len(array) // 2]
| def median(array):
array = sorted(array)
if len(array) % 2 == 0:
return (array[(len(array) - 1) // 2] + array[len(array) // 2]) / 2
else:
return array[len(array) // 2] |
# Copyright 2019 VMware, Inc.
# SPDX-License-Identifier: BSD-2-Clause
class PrePostProcessor(object):
def pre_process(self, data):
type(self)
return data
def post_process(self, data):
type(self)
return data
| class Prepostprocessor(object):
def pre_process(self, data):
type(self)
return data
def post_process(self, data):
type(self)
return data |
def find_digits(digits1, digits2, digit_quantity_to_find):
print('Inputs:')
print('\tdigits1 = %s' % (digits1))
print('\tdigits2 = %s' % (digits2))
print('\tdigit_quantity_to_find = %d' % (digit_quantity_to_find))
digit_count_by_input = [len(digits1), len(digits2)]
positions_by_digit_input = [[[], []] for _ in range(10)]
for i in range(digit_count_by_input[0]):
positions_by_digit_input[digits1[i]][0].append(digit_count_by_input[0] - i - 1)
for i in range(digit_count_by_input[1]):
positions_by_digit_input[digits2[i]][1].append(digit_count_by_input[1] - i - 1)
digits_found = []
digit_quantity_left_to_find = digit_quantity_to_find
digit_quantity_remaining_by_input = list(digit_count_by_input)
# Search for the greatest available digit, given the constraint that a
# digit can't be chosen if its selection would result in too few digits
# remaining to construct a number of the specified length. If multiple
# candidates are found for the greatest digit, choose the one that is
# furthest to the left in the input list, since its selection maximizes
# the number of remaining digits for consideration in subsequent
# positions. If no candidates are found for the search digit, try again
# using the next greatest digit. If a digit is found, for the next
# position, start a new search using the greatest digit again.
search_digit = 9
while digit_quantity_left_to_find > 0:
print('digits_found = %s, digit_quantity_left_to_find = %d, search_digit = %d' % (digits_found, digit_quantity_left_to_find, search_digit))
print('digit_quantity_remaining_by_input = %s' % (digit_quantity_remaining_by_input))
final_candidates = [-1, -1]
winner_index = -1
for i in range(2):
positions = positions_by_digit_input[search_digit][i]
print('Step 0: positions_by_digit_input[%d][%d] = %s' % (search_digit, i, positions))
# Remove digits whose positions have already been passed. These
# cannot be used now or in subsequent positions, so permanently
# eliminate them from consideration.
while len(positions) > 0 and positions[0] >= digit_quantity_remaining_by_input[i]:
del positions[0]
print('Step 1: positions_by_digit_input[%d][%d] = %s' % (search_digit, i, positions))
# Filter out digits that, if chosen, would not leave enough
# remaining digits to construct a number of the specified length.
# These digits may be needed in subsequent positions, so just
# eliminate them from consideration for now.
candidates = list(positions)
min_remaining_digits_in_list = digit_quantity_left_to_find - digit_quantity_remaining_by_input[(i + 1) % 2]
candidates = [positions[j] for j in range(len(positions)) if positions[j] + 1 >= min_remaining_digits_in_list]
print('Step 2: positions = %s' % (positions))
# Given how the position list was initially built, elements that
# are further to the left after filtering correspond to digits
# that are further to the left in the input list. Hence, choose
# the first element of the list, if any, as this will maximize the
# number of remaining digits for consideration in subsequent
# positions.
if len(candidates) > 0:
final_candidates[i] = candidates[0]
winner_index = i
print('Step 3: final_candidates = %s, winner_index = %d' % (final_candidates, winner_index))
# If a candidate was chosen from both lists, one must now be chosen as
# the winner. The best candidate is the one belonging to a list whose
# remaining digits include a digit greater than the candidate digit.
# If this is is the situation for both candidates, then the candidate
# with the nearest greater digit is best.
if final_candidates[0] != -1 and final_candidates[1] != -1:
shortest_distances = [0, 0]
for i in range(2):
for j in range(digit_count_by_input[i] - final_candidates[i], digit_count_by_input[i]):
print(i, digit_count_by_input[i], digit_quantity_remaining_by_input[i], j)
if (digits1, digits2)[i][j] > search_digit:
shortest_distances[i] = final_candidates[i] - j
break
winner_index = (0, 1)[shortest_distances[0] < shortest_distances[1]]
print('Step 4: final_candidates = %s, winner_index = %d' % (final_candidates, winner_index))
if winner_index != -1:
digit_quantity_left_to_find -= 1
digit_quantity_remaining_by_input[winner_index] = final_candidates[winner_index]
digits_found.append(search_digit)
search_digit = 9
else:
search_digit -= 1
print('Output:\t%s' % (digits_found))
return digits_found
if __name__ == '__main__':
print(find_digits([3, 4, 6, 5], [9, 1, 2, 5, 8, 3], 5))
print(find_digits([6, 7], [6, 0, 4], 5))
print(find_digits([3, 9], [8, 9], 3))
print(find_digits([1,1,1,9,1], [1,1,9,1,1], 6))
print(find_digits([1,1,1,9,1,0,0], [1,1,9,1,1,0,0], 10))
print(find_digits([1,1,1,9,1,9,1], [1,1,9,1,1,9,1], 10))
print(find_digits([6, 7], [6, 0, 8], 5))
print(find_digits([6, 7], [6, 7, 8], 5))
| def find_digits(digits1, digits2, digit_quantity_to_find):
print('Inputs:')
print('\tdigits1 = %s' % digits1)
print('\tdigits2 = %s' % digits2)
print('\tdigit_quantity_to_find = %d' % digit_quantity_to_find)
digit_count_by_input = [len(digits1), len(digits2)]
positions_by_digit_input = [[[], []] for _ in range(10)]
for i in range(digit_count_by_input[0]):
positions_by_digit_input[digits1[i]][0].append(digit_count_by_input[0] - i - 1)
for i in range(digit_count_by_input[1]):
positions_by_digit_input[digits2[i]][1].append(digit_count_by_input[1] - i - 1)
digits_found = []
digit_quantity_left_to_find = digit_quantity_to_find
digit_quantity_remaining_by_input = list(digit_count_by_input)
search_digit = 9
while digit_quantity_left_to_find > 0:
print('digits_found = %s, digit_quantity_left_to_find = %d, search_digit = %d' % (digits_found, digit_quantity_left_to_find, search_digit))
print('digit_quantity_remaining_by_input = %s' % digit_quantity_remaining_by_input)
final_candidates = [-1, -1]
winner_index = -1
for i in range(2):
positions = positions_by_digit_input[search_digit][i]
print('Step 0: positions_by_digit_input[%d][%d] = %s' % (search_digit, i, positions))
while len(positions) > 0 and positions[0] >= digit_quantity_remaining_by_input[i]:
del positions[0]
print('Step 1: positions_by_digit_input[%d][%d] = %s' % (search_digit, i, positions))
candidates = list(positions)
min_remaining_digits_in_list = digit_quantity_left_to_find - digit_quantity_remaining_by_input[(i + 1) % 2]
candidates = [positions[j] for j in range(len(positions)) if positions[j] + 1 >= min_remaining_digits_in_list]
print('Step 2: positions = %s' % positions)
if len(candidates) > 0:
final_candidates[i] = candidates[0]
winner_index = i
print('Step 3: final_candidates = %s, winner_index = %d' % (final_candidates, winner_index))
if final_candidates[0] != -1 and final_candidates[1] != -1:
shortest_distances = [0, 0]
for i in range(2):
for j in range(digit_count_by_input[i] - final_candidates[i], digit_count_by_input[i]):
print(i, digit_count_by_input[i], digit_quantity_remaining_by_input[i], j)
if (digits1, digits2)[i][j] > search_digit:
shortest_distances[i] = final_candidates[i] - j
break
winner_index = (0, 1)[shortest_distances[0] < shortest_distances[1]]
print('Step 4: final_candidates = %s, winner_index = %d' % (final_candidates, winner_index))
if winner_index != -1:
digit_quantity_left_to_find -= 1
digit_quantity_remaining_by_input[winner_index] = final_candidates[winner_index]
digits_found.append(search_digit)
search_digit = 9
else:
search_digit -= 1
print('Output:\t%s' % digits_found)
return digits_found
if __name__ == '__main__':
print(find_digits([3, 4, 6, 5], [9, 1, 2, 5, 8, 3], 5))
print(find_digits([6, 7], [6, 0, 4], 5))
print(find_digits([3, 9], [8, 9], 3))
print(find_digits([1, 1, 1, 9, 1], [1, 1, 9, 1, 1], 6))
print(find_digits([1, 1, 1, 9, 1, 0, 0], [1, 1, 9, 1, 1, 0, 0], 10))
print(find_digits([1, 1, 1, 9, 1, 9, 1], [1, 1, 9, 1, 1, 9, 1], 10))
print(find_digits([6, 7], [6, 0, 8], 5))
print(find_digits([6, 7], [6, 7, 8], 5)) |
class Args:
"""
This module helps in preventing args being sent through multiple of classes to reach
any analysis/laser module
"""
def __init__(self):
self.solver_timeout = 10000
self.sparse_pruning = True
self.unconstrained_storage = False
args = Args()
| class Args:
"""
This module helps in preventing args being sent through multiple of classes to reach
any analysis/laser module
"""
def __init__(self):
self.solver_timeout = 10000
self.sparse_pruning = True
self.unconstrained_storage = False
args = args() |
# (c) 2012 Urban Airship and Contributors
__version__ = (0, 2, 0)
class RequestIPStorage(object):
def __init__(self):
self.ip = None
def set(self, ip):
self.ip = ip
def get(self):
return self.ip
_request_ip_storage = RequestIPStorage()
get_current_ip = _request_ip_storage.get
set_current_ip = _request_ip_storage.set
| __version__ = (0, 2, 0)
class Requestipstorage(object):
def __init__(self):
self.ip = None
def set(self, ip):
self.ip = ip
def get(self):
return self.ip
_request_ip_storage = request_ip_storage()
get_current_ip = _request_ip_storage.get
set_current_ip = _request_ip_storage.set |
def sum_of_squares(value):
sum = 0
for _ in range(value + 1):
sum = sum + _ ** 2
return sum
def summed_squares(value):
sum = 0
for _ in range(value + 1):
sum += _
return sum ** 2
print(summed_squares(100) - sum_of_squares(100)) | def sum_of_squares(value):
sum = 0
for _ in range(value + 1):
sum = sum + _ ** 2
return sum
def summed_squares(value):
sum = 0
for _ in range(value + 1):
sum += _
return sum ** 2
print(summed_squares(100) - sum_of_squares(100)) |
# Part 1
data = data.split("\r\n\r\n")
nums = list(map(int, data[0].split(",")))
boards = []
for k in data[1:]:
boards.append([])
for j in k.splitlines():
boards[-1].append(list(map(int, j.split())))
for num in nums:
for board in boards:
for row in board:
for i in range(len(row)):
if row[i] == num:
row[i] = None
if any(all(x == None for x in row) for row in board) or any(all(row[i] == None for row in board) for i in range(len(board[0]))):
print(sum(x or 0 for row in board for x in row) * num)
exit(0)
# Part 2
data = data.split("\r\n\r\n")
nums = list(map(int, data[0].split(",")))
boards = []
for k in data[1:]:
boards.append([])
for j in k.splitlines():
boards[-1].append(list(map(int, j.split())))
lb = None
for num in nums:
bi = 0
while bi < len(boards):
board = boards[bi]
for row in board:
for i in range(len(row)):
if row[i] == num:
row[i] = None
if any(all(x == None for x in row) for row in board) or any(all(row[i] == None for row in board) for i in range(len(board[0]))):
lb = board
del boards[bi]
else:
bi += 1
if len(boards) == 0:
break
print(sum(x or 0 for row in lb for x in row) * num)
| data = data.split('\r\n\r\n')
nums = list(map(int, data[0].split(',')))
boards = []
for k in data[1:]:
boards.append([])
for j in k.splitlines():
boards[-1].append(list(map(int, j.split())))
for num in nums:
for board in boards:
for row in board:
for i in range(len(row)):
if row[i] == num:
row[i] = None
if any((all((x == None for x in row)) for row in board)) or any((all((row[i] == None for row in board)) for i in range(len(board[0])))):
print(sum((x or 0 for row in board for x in row)) * num)
exit(0)
data = data.split('\r\n\r\n')
nums = list(map(int, data[0].split(',')))
boards = []
for k in data[1:]:
boards.append([])
for j in k.splitlines():
boards[-1].append(list(map(int, j.split())))
lb = None
for num in nums:
bi = 0
while bi < len(boards):
board = boards[bi]
for row in board:
for i in range(len(row)):
if row[i] == num:
row[i] = None
if any((all((x == None for x in row)) for row in board)) or any((all((row[i] == None for row in board)) for i in range(len(board[0])))):
lb = board
del boards[bi]
else:
bi += 1
if len(boards) == 0:
break
print(sum((x or 0 for row in lb for x in row)) * num) |
def test_000_a_test_can_pass():
print("This test should always pass!")
assert True
def test_001_can_see_the_internet(selenium):
selenium.get('http://www.example.com')
| def test_000_a_test_can_pass():
print('This test should always pass!')
assert True
def test_001_can_see_the_internet(selenium):
selenium.get('http://www.example.com') |
f = open("shaam.txt")
# tell() tell the position of our f pointer
# print(f.readline())
# print(f.tell())
# print(f.readline())
# print(f.tell())
# seek() point the pointer to given index
f.seek(5)
print(f.readline())
f.close() | f = open('shaam.txt')
f.seek(5)
print(f.readline())
f.close() |
"""
Stores all global variables
"""
global d, aSub1, aSubN, aSubX, aSubY, x, y, sSubN, n, operations, selection, r # declares all variables global
r = None # common rate
d = None # common difference
aSub1 = None # first number in sequence
aSubN = None # number in sequence given index n
aSubX = None # number in sequence with index x
aSubY = None # number in sequence with index y
x = None # index x, correlates with aSubX
y = None # index y, correlates with aSUbY
sSubN = None # partial sum given index n
n = None # index n
selection = None
operations = ['arithmetic summation', 'arithmetic sequence', 'geometric summation', 'geometric sequence']
| """
Stores all global variables
"""
global d, aSub1, aSubN, aSubX, aSubY, x, y, sSubN, n, operations, selection, r
r = None
d = None
a_sub1 = None
a_sub_n = None
a_sub_x = None
a_sub_y = None
x = None
y = None
s_sub_n = None
n = None
selection = None
operations = ['arithmetic summation', 'arithmetic sequence', 'geometric summation', 'geometric sequence'] |
dp=[[0]*5 for i in range(101)]
dp[0][0]=1
dp[1][0]=1
dp[2][0]=1
dp[2][1]=1
dp[2][2]=1
dp[2][3]=1
dp[2][4]=1
for i in range(3,101):
dp[i][0]=sum(dp[i-1])
dp[i][4]=sum(dp[i-2])
j=i-2
while j>=0:
dp[i][1]+=sum(dp[j])
j-=2
j=i-2
while j>=0:
dp[i][2]+=sum(dp[j])
dp[i][3]+=sum(dp[j])
j-=1
for i in range(int(input())):
x=int(input())
print(sum(dp[x])) | dp = [[0] * 5 for i in range(101)]
dp[0][0] = 1
dp[1][0] = 1
dp[2][0] = 1
dp[2][1] = 1
dp[2][2] = 1
dp[2][3] = 1
dp[2][4] = 1
for i in range(3, 101):
dp[i][0] = sum(dp[i - 1])
dp[i][4] = sum(dp[i - 2])
j = i - 2
while j >= 0:
dp[i][1] += sum(dp[j])
j -= 2
j = i - 2
while j >= 0:
dp[i][2] += sum(dp[j])
dp[i][3] += sum(dp[j])
j -= 1
for i in range(int(input())):
x = int(input())
print(sum(dp[x])) |
# leapyear
y=input("enter any year")
if y%4==0:
print("{} is:leap year".format(y))
else:
print("{} is not a leap year".format(y))
| y = input('enter any year')
if y % 4 == 0:
print('{} is:leap year'.format(y))
else:
print('{} is not a leap year'.format(y)) |
t = int(input())
for i in range(t):
n, m = list(map(int, input().split()))
if(n%m == 0):
print("YES")
else:
print("NO")
| t = int(input())
for i in range(t):
(n, m) = list(map(int, input().split()))
if n % m == 0:
print('YES')
else:
print('NO') |
a, b, c = (int(input()) for i in range(3))
if a <= b <= c:
print("True")
else:
print("False")
| (a, b, c) = (int(input()) for i in range(3))
if a <= b <= c:
print('True')
else:
print('False') |
# Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( arr , n , x ) :
for i in range ( n ) :
if arr [ i ] > arr [ i + 1 ] :
break
l = ( i + 1 ) % n
r = i
cnt = 0
while ( l != r ) :
if arr [ l ] + arr [ r ] == x :
cnt += 1
if l == ( r - 1 + n ) % n :
return cnt
l = ( l + 1 ) % n
r = ( r - 1 + n ) % n
elif arr [ l ] + arr [ r ] < x :
l = ( l + 1 ) % n
else :
r = ( n + r - 1 ) % n
return cnt
#TOFILL
if __name__ == '__main__':
param = [
([24, 54],1,1,),
([68, -30, -18, -6, 70, -40, 86, 98, -24, -48],8,8,),
([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],33,28,),
([84, 44, 40, 45, 2, 41, 52, 17, 50, 41, 5, 52, 48, 90, 13, 55, 34, 55, 94, 44, 41, 2],18,16,),
([-92, -76, -74, -72, -68, -64, -58, -44, -44, -38, -26, -24, -20, -12, -8, -8, -4, 10, 10, 10, 20, 20, 26, 26, 28, 50, 52, 54, 60, 66, 72, 74, 78, 78, 78, 80, 86, 88],29,30,),
([1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1],19,10,),
([5, 5, 15, 19, 22, 24, 26, 27, 28, 32, 37, 39, 40, 43, 49, 52, 55, 56, 58, 58, 59, 62, 67, 68, 77, 79, 79, 80, 81, 87, 95, 95, 96, 98, 98],28,34,),
([-98, 28, 54, 44, -98, -70, 48, -98, 56, 4, -18, 26, -8, -58, 30, 82, 4, -38, 42, 64, -28],17,14,),
([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],24,24,),
([26, 72, 74, 86, 98, 86, 22, 6, 95, 36, 11, 82, 34, 3, 50, 36, 81, 94, 55, 30, 62, 53, 50, 95, 32, 83, 9, 16],19,16,)
]
n_success = 0
for i, parameters_set in enumerate(param):
if f_filled(*parameters_set) == f_gold(*parameters_set):
n_success+=1
print("#Results: %i, %i" % (n_success, len(param))) | def f_gold(arr, n, x):
for i in range(n):
if arr[i] > arr[i + 1]:
break
l = (i + 1) % n
r = i
cnt = 0
while l != r:
if arr[l] + arr[r] == x:
cnt += 1
if l == (r - 1 + n) % n:
return cnt
l = (l + 1) % n
r = (r - 1 + n) % n
elif arr[l] + arr[r] < x:
l = (l + 1) % n
else:
r = (n + r - 1) % n
return cnt
if __name__ == '__main__':
param = [([24, 54], 1, 1), ([68, -30, -18, -6, 70, -40, 86, 98, -24, -48], 8, 8), ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 33, 28), ([84, 44, 40, 45, 2, 41, 52, 17, 50, 41, 5, 52, 48, 90, 13, 55, 34, 55, 94, 44, 41, 2], 18, 16), ([-92, -76, -74, -72, -68, -64, -58, -44, -44, -38, -26, -24, -20, -12, -8, -8, -4, 10, 10, 10, 20, 20, 26, 26, 28, 50, 52, 54, 60, 66, 72, 74, 78, 78, 78, 80, 86, 88], 29, 30), ([1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1], 19, 10), ([5, 5, 15, 19, 22, 24, 26, 27, 28, 32, 37, 39, 40, 43, 49, 52, 55, 56, 58, 58, 59, 62, 67, 68, 77, 79, 79, 80, 81, 87, 95, 95, 96, 98, 98], 28, 34), ([-98, 28, 54, 44, -98, -70, 48, -98, 56, 4, -18, 26, -8, -58, 30, 82, 4, -38, 42, 64, -28], 17, 14), ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 24, 24), ([26, 72, 74, 86, 98, 86, 22, 6, 95, 36, 11, 82, 34, 3, 50, 36, 81, 94, 55, 30, 62, 53, 50, 95, 32, 83, 9, 16], 19, 16)]
n_success = 0
for (i, parameters_set) in enumerate(param):
if f_filled(*parameters_set) == f_gold(*parameters_set):
n_success += 1
print('#Results: %i, %i' % (n_success, len(param))) |
class Queue:
def __init__(self) -> None:
self._queue = []
def insert(self, val: int) -> None:
self._queue.append(val)
def pop(self) -> None:
self._queue.pop(0)
def __str__(self):
return "{}".format(self._queue)
def __len__(self):
return len(self._queue)
if __name__ == "__main__":
queue = Queue()
queue.print()
queue.insert(10)
queue.insert(53)
queue.pop()
queue.insert(48)
queue.print()
print(len(queue))
| class Queue:
def __init__(self) -> None:
self._queue = []
def insert(self, val: int) -> None:
self._queue.append(val)
def pop(self) -> None:
self._queue.pop(0)
def __str__(self):
return '{}'.format(self._queue)
def __len__(self):
return len(self._queue)
if __name__ == '__main__':
queue = queue()
queue.print()
queue.insert(10)
queue.insert(53)
queue.pop()
queue.insert(48)
queue.print()
print(len(queue)) |
class DeployResult(object):
def __init__(self, vm_name, vm_uuid, cloud_provider_resource_name, autoload,
inbound_ports, deployed_app_attributes, deployed_app_address,
public_ip, resource_group, extension_time_out, vm_details_data):
"""
:param str vm_name: The name of the virtual machine
:param uuid uuid: The UUID
:param str cloud_provider_resource_name: The Cloud Provider resource name
:param boolean autoload:
:param str inbound_ports:
:param [dict] deployed_app_attributes:
:param str deployed_app_address:
:param str public_ip:
:param bool extension_time_out:
:return:
"""
self.resource_group = resource_group
self.inbound_ports = inbound_ports
self.vm_name = vm_name
self.vm_uuid = vm_uuid
self.cloud_provider_resource_name = cloud_provider_resource_name
self.auto_power_off = False
self.wait_for_ip = False
self.auto_delete = True
self.autoload = autoload
self.deployed_app_attributes = deployed_app_attributes
self.deployed_app_address = deployed_app_address
self.public_ip = public_ip
self.extension_time_out = extension_time_out
self.vm_details_data = vm_details_data
| class Deployresult(object):
def __init__(self, vm_name, vm_uuid, cloud_provider_resource_name, autoload, inbound_ports, deployed_app_attributes, deployed_app_address, public_ip, resource_group, extension_time_out, vm_details_data):
"""
:param str vm_name: The name of the virtual machine
:param uuid uuid: The UUID
:param str cloud_provider_resource_name: The Cloud Provider resource name
:param boolean autoload:
:param str inbound_ports:
:param [dict] deployed_app_attributes:
:param str deployed_app_address:
:param str public_ip:
:param bool extension_time_out:
:return:
"""
self.resource_group = resource_group
self.inbound_ports = inbound_ports
self.vm_name = vm_name
self.vm_uuid = vm_uuid
self.cloud_provider_resource_name = cloud_provider_resource_name
self.auto_power_off = False
self.wait_for_ip = False
self.auto_delete = True
self.autoload = autoload
self.deployed_app_attributes = deployed_app_attributes
self.deployed_app_address = deployed_app_address
self.public_ip = public_ip
self.extension_time_out = extension_time_out
self.vm_details_data = vm_details_data |
"""
readtransaction.py
Description:
This class keeps track of keys for which a write
operation is still pending when a client wants
to perform a read operation.
It also contains helper functions to easily store
(pending) writes and return the values corresponding
to those keys once no more keys are pending.
"""
class ReadTransaction():
def __init__(self, addr):
self.n_keys = 0
self.n_pending = 0
self.keys = []
self.values = {}
self.write_orders = {}
self.addr = addr
self.pending = []
# Adds a key to the list of pending keys
def add_pending(self, key):
self.pending.append(key)
self.n_pending += 1
self.keys.append(key)
# Adds a key-value pair, unless it's not pending
def add_pair(self, key, value, write_order, pending=False):
self.n_keys += 1
self.values[key] = value
self.write_orders[key] = write_order
if pending:
self.n_pending -= 1
else:
self.keys.append(key)
return not self.n_pending
# Returns the key-value pairs and their corresponding write order
def return_data(self):
return_values = []
return_write_orders = []
if self.n_keys == 1:
return_values = self.values[self.keys[0]]
return_write_orders = self.write_orders[self.keys[0]]
else:
for k in self.keys:
return_values.append(self.values[k])
return_write_orders.append(self.write_orders[k])
# Data used for read_result message
data = {
"type": "read_result",
"key": self.keys,
"value": return_values,
"order_index": return_write_orders
}
return data
| """
readtransaction.py
Description:
This class keeps track of keys for which a write
operation is still pending when a client wants
to perform a read operation.
It also contains helper functions to easily store
(pending) writes and return the values corresponding
to those keys once no more keys are pending.
"""
class Readtransaction:
def __init__(self, addr):
self.n_keys = 0
self.n_pending = 0
self.keys = []
self.values = {}
self.write_orders = {}
self.addr = addr
self.pending = []
def add_pending(self, key):
self.pending.append(key)
self.n_pending += 1
self.keys.append(key)
def add_pair(self, key, value, write_order, pending=False):
self.n_keys += 1
self.values[key] = value
self.write_orders[key] = write_order
if pending:
self.n_pending -= 1
else:
self.keys.append(key)
return not self.n_pending
def return_data(self):
return_values = []
return_write_orders = []
if self.n_keys == 1:
return_values = self.values[self.keys[0]]
return_write_orders = self.write_orders[self.keys[0]]
else:
for k in self.keys:
return_values.append(self.values[k])
return_write_orders.append(self.write_orders[k])
data = {'type': 'read_result', 'key': self.keys, 'value': return_values, 'order_index': return_write_orders}
return data |
class PreRequisites:
def __init__(self, course_list=None):
self.course_list = course_list
| class Prerequisites:
def __init__(self, course_list=None):
self.course_list = course_list |
#!/usr/local/bin/python3
def soma_1(x, y):
return x + y
def soma_2(x, y, z):
return x + y + z
def soma(*numeros):
return sum(numeros)
if __name__ == '__main__':
print(soma_1(10, 10))
print(soma_2(10, 10, 10))
# packing
print(soma(10, 10, 10, 10))
# unpacking
list_nums = [10, 20]
print(soma_1(*list_nums))
tuple_nums = (10, 20)
print(soma_1(*tuple_nums))
| def soma_1(x, y):
return x + y
def soma_2(x, y, z):
return x + y + z
def soma(*numeros):
return sum(numeros)
if __name__ == '__main__':
print(soma_1(10, 10))
print(soma_2(10, 10, 10))
print(soma(10, 10, 10, 10))
list_nums = [10, 20]
print(soma_1(*list_nums))
tuple_nums = (10, 20)
print(soma_1(*tuple_nums)) |
class ElementMulticlassFilter(ElementQuickFilter, IDisposable):
"""
A filter used to match elements by their class,where more than one class of element may be passed.
ElementMulticlassFilter(typeList: IList[Type],inverted: bool)
ElementMulticlassFilter(typeList: IList[Type])
"""
def Dispose(self):
""" Dispose(self: ElementFilter,A_0: bool) """
pass
def ReleaseUnmanagedResources(self, *args):
""" ReleaseUnmanagedResources(self: ElementFilter,disposing: bool) """
pass
def __enter__(self, *args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, typeList, inverted=None):
"""
__new__(cls: type,typeList: IList[Type],inverted: bool)
__new__(cls: type,typeList: IList[Type])
"""
pass
| class Elementmulticlassfilter(ElementQuickFilter, IDisposable):
"""
A filter used to match elements by their class,where more than one class of element may be passed.
ElementMulticlassFilter(typeList: IList[Type],inverted: bool)
ElementMulticlassFilter(typeList: IList[Type])
"""
def dispose(self):
""" Dispose(self: ElementFilter,A_0: bool) """
pass
def release_unmanaged_resources(self, *args):
""" ReleaseUnmanagedResources(self: ElementFilter,disposing: bool) """
pass
def __enter__(self, *args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self, *args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
@staticmethod
def __new__(self, typeList, inverted=None):
"""
__new__(cls: type,typeList: IList[Type],inverted: bool)
__new__(cls: type,typeList: IList[Type])
"""
pass |
class Solution(object):
def twoSum(self, nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: List[int]
"""
m = {}
for i, n in enumerate(nums):
if (target-n) in m:
return [m[target-n], i]
m[n] = i
| class Solution(object):
def two_sum(self, nums, target):
"""
:type nums: List[int]
:type target: int
:rtype: List[int]
"""
m = {}
for (i, n) in enumerate(nums):
if target - n in m:
return [m[target - n], i]
m[n] = i |
class CPU:
VECTOR_RESET = 0xFFFC # Reset Vector address.
def __init__(self, system):
self._system = system
self._debug_log = open("debug.log", "w")
def reset(self):
# Program Counter 16-bit, default to value located at the reset vector address.
self._pc = self._system.mmu.read_word(self.VECTOR_RESET)
#self._pc = 0xC000 # NES TEST Start point
# Stack Pointer 8-bit, ranges from 0x0100 to 0x01FF
self._sp = 0xFD
# Accumulator 8-bit
self._a = 0x00
# Index Register X 8-bit
self._x = 0x00
# Index Register Y 8-bit
self._y = 0x00
#### Processor Status Flags
# Carry - set if the last operation caused an overflow from bit 7, or an underflow from bit 0.
self._carry = False
# Zero - the result of the last operation was zero.
self._zero = False
# Interrupt Disable - set if the program executed an SEI instruction. It's cleared with a CLI instruction.
self._interrupt_disable = True
# Break Command - Set when a BRK instruction is hit and an interrupt has been generated to process it.
self._break_command = False
# Decimal Mode
self._decimal_mode = False
# Overflow - Set during arithmetic operations if the result has yielded an invalid 2's compliment result.
self._overflow = False
# Negative - Set if the result of the last operation had bit 7 set to a one.
self._negative = False
# Reset clock
self.clock = 0
def step(self):
# Fetch next instruction.
pc = self._pc
self._current_instruction = pc
# print(f"PC: {format(pc,'x').upper()} / SP: {format(self._sp,'x').upper()} / A: {format(self._a,'x').upper()} / X: {format(self._x,'x').upper()} / Y: {format(self._y,'x').upper()}")
self._debug_log.write(f"{format(pc,'x').upper()}\n")
op_code = self._get_next_byte()
# Decode op code.
instruction = self.decode_instruction(op_code)
# Execute instruction.
instruction(op_code)
def decode_instruction(self, op_code):
instructions = {
0x69: self.ADC, 0x65: self.ADC, 0x75: self.ADC, 0x6D: self.ADC, 0x7D: self.ADC, 0x79: self.ADC, 0x61: self.ADC, 0x71: self.ADC,
0x29: self.AND, 0x25: self.AND, 0x35: self.AND, 0x2D: self.AND, 0x3D: self.AND, 0x39: self.AND, 0x21: self.AND, 0x31: self.AND,
0x0A: self.ASL, 0x06: self.ASL, 0x16: self.ASL, 0x0E: self.ASL, 0x1E: self.ASL,
0x90: self.BCC, 0xB0: self.BCS, 0xF0: self.BEQ,
0x24: self.BIT, 0x2C: self.BIT,
0x30: self.BMI, 0xD0: self.BNE, 0x10: self.BPL, 0x00: self.BRK, 0x50: self.BVC, 0x70: self.BVS,
0x18: self.CLC, 0xD8: self.CLD, 0x58: self.CLI, 0xB8: self.CLV,
0xC9: self.CMP, 0xC5: self.CMP, 0xD5: self.CMP, 0xCD: self.CMP, 0xDD: self.CMP, 0xD9: self.CMP, 0xC1: self.CMP, 0xD1: self.CMP,
0xE0: self.CPX, 0xE4: self.CPX, 0xEC: self.CPX,
0xC0: self.CPY, 0xC4: self.CPY, 0xCC: self.CPY,
0xC6: self.DEC, 0xD6: self.DEC, 0xCE: self.DEC, 0xDE: self.DEC, 0xCA: self.DEX, 0x88: self.DEY,
0x49: self.EOR, 0x45: self.EOR, 0x55: self.EOR, 0x4D: self.EOR, 0x5D: self.EOR, 0x59: self.EOR, 0x41: self.EOR, 0x51: self.EOR,
0xE6: self.INC, 0xF6: self.INC, 0xEE: self.INC, 0xFE: self.INC, 0xE8: self.INX, 0xC8: self.INY,
0x4C: self.JMP, 0x6C: self.JMP, 0x20: self.JSR,
0xA9: self.LDA, 0xA5: self.LDA, 0xB5: self.LDA, 0xAD: self.LDA, 0xBD: self.LDA, 0xB9: self.LDA, 0xA1: self.LDA, 0xB1: self.LDA,
0xA2: self.LDX, 0xA6: self.LDX, 0xB6: self.LDX, 0xAE: self.LDX, 0xBE: self.LDX,
0xA0: self.LDY, 0xA4: self.LDY, 0xB4: self.LDY, 0xAC: self.LDY, 0xBC: self.LDY,
0x4A: self.LSR, 0x46: self.LSR, 0x56: self.LSR, 0x4E: self.LSR, 0x5E: self.LSR,
0xEA: self.NOP,
0x09: self.ORA, 0x05: self.ORA, 0x15: self.ORA, 0x0D: self.ORA, 0x1D: self.ORA, 0x19: self.ORA, 0x01: self.ORA, 0x11: self.ORA,
0x48: self.PHA, 0x08: self.PHP, 0x68: self.PLA, 0x28: self.PLP,
0x2A: self.ROL, 0x26: self.ROL, 0x36: self.ROL, 0x2E: self.ROL, 0x3E: self.ROL,
0x6A: self.ROR, 0x66: self.ROR, 0x76: self.ROR, 0x6E: self.ROR, 0x7E: self.ROR,
0x40: self.RTI, 0x60: self.RTS,
0xE9: self.SBC, 0xE5: self.SBC, 0xF5: self.SBC, 0xED: self.SBC, 0xFD: self.SBC, 0xF9: self.SBC, 0xE1: self.SBC, 0xF1: self.SBC,
0x38: self.SEC, 0xF8: self.SED, 0x78: self.SEI,
0x85: self.STA, 0x95: self.STA, 0x8D: self.STA, 0x9D: self.STA, 0x99: self.STA, 0x81: self.STA, 0x91: self.STA,
0x86: self.STX, 0x96: self.STX, 0x8E: self.STX,
0x84: self.STY, 0x94: self.STY, 0x8C: self.STY,
0xAA: self.TAX, 0xA8: self.TAY, 0xBA: self.TSX, 0x8A: self.TXA, 0x9A: self.TXS, 0x98: self.TYA
}
instruction = instructions.get(op_code, None)
if (instruction == None):
raise RuntimeError(f"No instruction found: {hex(op_code)}")
return instruction
def _get_next_byte(self):
value = self._system.mmu.read_byte(self._pc)
self._pc += 1
return value
def _get_next_word(self):
lo = self._get_next_byte()
hi = self._get_next_byte()
return (hi<<8)+lo
def _set_status_flag(self, byte):
self._negative = byte&0x80 > 0
self._overflow = byte&0x40 > 0
self._decimal_mode = byte&0x08 > 0
self._interrupt_disable = byte&0x04 > 0
self._zero = byte&0x02 > 0
self._carry = byte&0x01 > 0
def _get_status_flag(self):
value = 0
value |= 0x80 if (self._negative) else 0
value |= 0x40 if (self._overflow) else 0
value |= 0x08 if (self._decimal_mode) else 0
value |= 0x04 if (self._interrupt_disable) else 0
value |= 0x02 if (self._zero) else 0
value |= 0x01 if (self._carry) else 0
return value
# Pushes a byte onto the stack.
def push(self, value):
self._system.mmu.write_byte(0x0100 + self._sp, value)
self._sp = (self._sp-1)&0xFF
# Pulls the next byte off the stack.
def pull(self):
self._sp = (self._sp+1)&0xFF
value = self._system.mmu.read_byte(0x0100 + self._sp)
return value
###############################################################################
# Address Mode Helpers
###############################################################################
def _get_address_at_zeropage(self):
return self._get_next_byte()
def _get_address_at_zeropage_x(self):
return (self._get_next_byte() + self._x)&0xFF
def _get_address_at_zeropage_y(self):
return (self._get_next_byte() + self._y)&0xFF
def _get_address_at_absolute(self):
return self._get_next_word()
def _get_address_at_absolute_x(self):
return self._get_next_word() + self._x
def _get_address_at_absolute_y(self):
return self._get_next_word() + self._y
def _get_address_at_indirect(self):
return self._system.mmu.read_word(self._get_next_byte())
def _get_address_at_indirect_x(self):
m = self._get_next_byte()
hi = self._system.mmu.read_byte((m + 1 + self._x)&0xFF)
lo = self._system.mmu.read_byte((m + self._x)&0xFF)
return (hi<<8)+lo
def _get_address_at_indirect_y(self):
return (self._system.mmu.read_word(self._get_next_byte()) + self._y)&0xFFFF
def _get_value_at_zeropage(self):
return self._system.mmu.read_byte(self._get_address_at_zeropage())
def _get_value_at_zeropage_x(self):
return self._system.mmu.read_byte(self._get_address_at_zeropage_x())
def _get_value_at_absolute(self):
return self._system.mmu.read_byte(self._get_address_at_absolute())
def _get_value_at_absolute_x(self):
return self._system.mmu.read_byte(self._get_address_at_absolute_x())
def _get_value_at_absolute_y(self):
return self._system.mmu.read_byte(self._get_address_at_absolute_y())
def _get_value_at_indirect_x(self):
return self._system.mmu.read_byte(self._get_address_at_indirect_x())
def _get_value_at_indirect_y(self):
return self._system.mmu.read_byte(self._get_address_at_indirect_y())
###############################################################################
# Instructions
# TODO: Implement * modifiers to instruction timing. i.e. add 1 if page boundary is crossed.
###############################################################################
def ADC(self, op_code):
# Add Memory to Accumulator with Carry
# A + M + C -> A, C N Z C I D V
# + + + - - +
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate ADC #oper 69 2 2
# zeropage ADC oper 65 2 3
# zeropage,X ADC oper,X 75 2 4
# absolute ADC oper 6D 3 4
# absolute,X ADC oper,X 7D 3 4*
# absolute,Y ADC oper,Y 79 3 4*
# (indirect,X) ADC (oper,X) 61 2 6
# (indirect),Y ADC (oper),Y 71 2 5*
value = None
cycles = None
if (op_code == 0x69): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0x65): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0x75): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0x6D): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0x7D): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0x79): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0x61): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0x71): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
result = self._a + value + (1 if self._carry == True else 0)
self._carry = result > 0xFF
# More info on source: https://stackoverflow.com/a/29224684
self._overflow = ~(self._a ^ value) & (self._a ^ result) & 0x80
self._a = result&0xFF
self._negative = (self._a>>7) == 1
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def AND(self, op_code):
# AND Memory with Accumulator
# A AND M -> A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate AND #oper 29 2 2
# zeropage AND oper 25 2 3
# zeropage,X AND oper,X 35 2 4
# absolute AND oper 2D 3 4
# absolute,X AND oper,X 3D 3 4*
# absolute,Y AND oper,Y 39 3 4*
# (indirect,X) AND (oper,X) 21 2 6
# (indirect),Y AND (oper),Y 31 2 5*
value = None
cycles = None
if (op_code == 0x29): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0x25): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0x35): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0x2D): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0x3D): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0x39): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0x21): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0x31): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._a = (self._a&value)&0xFF
self._negative = (self._a&0x80) > 0
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def ASL(self, op_code):
# Shift Left One Bit (Memory or Accumulator)
# C <- [76543210] <- 0 N Z C I D V
# + + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# accumulator ASL A 0A 1 2
# zeropage ASL oper 06 2 5
# zeropage,X ASL oper,X 16 2 6
# absolute ASL oper 0E 3 6
# absolute,X ASL oper,X 1E 3 7
address = None
cycles = None
if (op_code == 0x0A): # accumulator
self._carry = self._a&0x80 > 0
self._a = (self._a<<1)&0xFF
self._negative = self._a&0x80 > 0
self._zero = self._a == 0
cycles = 2
return
elif (op_code == 0x06): # zeropage
address = self._get_address_at_zeropage()
cycles = 5
elif (op_code == 0x16): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 6
elif (op_code == 0x0E): # absolute
address = self._get_address_at_absolute()
cycles = 6
elif (op_code == 0x1E): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise RuntimeError(f"Unknown op code: {op_code}")
value = self._system.mmu.read_byte(address)
self._carry = value&0x80 > 0
value = (value<<1)&0xFF
self._negative = value&0x80 > 0
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def BCC(self, op_code):
# Branch on Carry Clear
# branch on C = 0 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BCC oper 90 2 2**
offset = self._get_next_byte()
if (not self._carry):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BCS(self, op_code):
# Branch on Carry Set
# branch on C = 1 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BCS oper B0 2 2**
offset = self._get_next_byte()
if (self._carry):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BEQ(self, op_code):
# Branch on Result Zero
# branch on Z = 1 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BEQ oper F0 2 2**
offset = self._get_next_byte()
if (self._zero):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BIT(self, op_code):
# Test Bits in Memory with Accumulator
# bits 7 and 6 of operand are transfered to bit 7 and 6 of SR (N,V);
# the zeroflag is set to the result of operand AND accumulator.
# A AND M, M7 -> N, M6 -> V N Z C I D V
# M7 + - - - M6
# addressing assembler opc bytes cyles
# --------------------------------------------
# zeropage BIT oper 24 2 3
# absolute BIT oper 2C 3 4
value = None
cycles = None
if (op_code == 0x24): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0x2C): # absolute
value = self._get_value_at_absolute()
cycles = 4
self._negative = value&0x80 > 0
self._overflow = value&0x40 > 0
value &= self._a
self._zero = value == 0
self._system.consume_cycles(cycles)
def BMI(self, op_code):
# Branch on Result Minus
# branch on N = 1 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BMI oper 30 2 2**
offset = self._get_next_byte()
if (self._negative):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BNE(self, op_code):
# Branch on Result not Zero
# branch on Z = 0 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BNE oper D0 2 2**
offset = self._get_next_byte()
if (not self._zero):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BPL(self, op_code):
# Branch on Result Plus
# branch on N = 0 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BPL oper 10 2 2**
offset = self._get_next_byte()
if (not self._negative):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BRK(self, op_code):
# Force Break
# interrupt, N Z C I D V
# push PC+2, push SR - - - 1 - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied BRK 00 1 7
raise NotImplementedError()
def BVC(self, op_code):
# Branch on Overflow Clear
# branch on V = 0 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BVC oper 50 2 2**
offset = self._get_next_byte()
if (not self._overflow):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def BVS(self, op_code):
# Branch on Overflow Set
# branch on V = 1 N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# relative BVC oper 70 2 2**
offset = self._get_next_byte()
if (self._overflow):
if (offset > 127):
offset = -((~offset+1)&255) # Signed byte
self._pc += offset
cycles = 2
def CLC(self, op_code):
# Clear Carry Flag
# 0 -> C N Z C I D V
# - - 0 - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied CLC 18 1 2
self._carry = False
cycles = 2
def CLD(self, op_code):
# Clear Decimal Mode
# 0 -> D N Z C I D V
# - - - - 0 -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied CLD D8 1 2
self._decimal_mode = False
cycles = 2
def CLI(self, op_code):
# Clear Interrupt Disable Bit
# 0 -> I N Z C I D V
# - - - 0 - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied CLI 58 1 2
self._interrupt_disable = False
cycles = 2
def CLV(self, op_code):
# Clear Overflow Flag
# 0 -> V N Z C I D V
# - - - - - 0
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied CLV B8 1 2
self._overflow = False
cycles = 2
def CMP(self, op_code):
# Compare Memory with Accumulator
# A - M N Z C I D V
# + + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate CMP #oper C9 2 2
# zeropage CMP oper C5 2 3
# zeropage,X CMP oper,X D5 2 4
# absolute CMP oper CD 3 4
# absolute,X CMP oper,X DD 3 4*
# absolute,Y CMP oper,Y D9 3 4*
# (indirect,X) CMP (oper,X) C1 2 6
# (indirect),Y CMP (oper),Y D1 2 5*
value = None
cycles = None
if (op_code == 0xC9): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xC5): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xD5): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0xCD): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0xDD): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0xD9): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0xC1): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0xD1): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
result = (self._a - value)&0xFF
self._carry = self._a >= value
self._zero = self._a == value
self._negative = result&0x80 > 0
self._system.consume_cycles(cycles)
def CPX(self, op_code):
# Compare Memory and Index X
# X - M N Z C I D V
# + + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate CPX #oper E0 2 2
# zeropage CPX oper E4 2 3
# absolute CPX oper EC 3 4
value = None
cycles = None
if (op_code == 0xE0): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xE4): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xEC): # absolute
value = self._get_value_at_absolute()
cycles = 4
else:
raise RuntimeError(f"Unknown op code: {op_code}")
result = (self._x - value)&0xFF
self._carry = self._x >= value
self._zero = self._x == value
self._negative = result&0x80 > 0
self._system.consume_cycles(cycles)
def CPY(self, op_code):
# Compare Memory and Index Y
# Y - M N Z C I D V
# + + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate CPY #oper C0 2 2
# zeropage CPY oper C4 2 3
# absolute CPY oper CC 3 4
value = None
cycles = None
if (op_code == 0xC0): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xC4): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xCC): # absolute
value = self._get_value_at_absolute()
cycles = 4
else:
raise RuntimeError(f"Unknown op code: {op_code}")
result = (self._y - value)&0xFF
self._carry = self._y >= value
self._zero = self._y == value
self._negative = result&0x80 > 0
self._system.consume_cycles(cycles)
def DEC(self, op_code):
# Decrement Memory by One
# M - 1 -> M N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# zeropage DEC oper C6 2 5
# zeropage,X DEC oper,X D6 2 6
# absolute DEC oper CE 3 3
# absolute,X DEC oper,X DE 3 7
address = None
cycles = None
if (op_code == 0xC6): # zeropage
address = self._get_address_at_zeropage()
cycles = 5
elif (op_code == 0xD6): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 6
elif (op_code == 0xCE): # absolute
address = self._get_address_at_absolute()
cycles = 3
elif (op_code == 0xDE): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise RuntimeError(f"Unknown op code: {op_code}")
value = (self._system.mmu.read_byte(address)-1)&0xFF
self._negative = value&0x80 > 1
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def DEX(self, op_code):
# Decrement Index X by One
# X - 1 -> X N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied DEC CA 1 2
self._x = (self._x - 1)&0xFF
self._negative = self._x&0x80 > 1
self._zero = self._x == 0
cycles = 2
def DEY(self, op_code):
# Decrement Index Y by One
# Y - 1 -> Y N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied DEC 88 1 2
self._y = (self._y - 1)&0xFF
self._negative = self._y&0x80 > 1
self._zero = self._y == 0
cycles = 2
def EOR(self, op_code):
# Exclusive-OR Memory with Accumulator
# A EOR M -> A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate EOR #oper 49 2 2
# zeropage EOR oper 45 2 3
# zeropage,X EOR oper,X 55 2 4
# absolute EOR oper 4D 3 4
# absolute,X EOR oper,X 5D 3 4*
# absolute,Y EOR oper,Y 59 3 4*
# (indirect,X) EOR (oper,X) 41 2 6
# (indirect),Y EOR (oper),Y 51 2 5*
value = None
cycles = None
if (op_code == 0x49): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0x45): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0x55): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0x4D): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0x5D): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0x59): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0x41): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0x51): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._a ^= value
self._negative = (self._a>>7) == 1
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def INC(self, op_code):
# Increment Memory by One
# M + 1 -> M N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# zeropage INC oper E6 2 5
# zeropage,X INC oper,X F6 2 6
# absolute INC oper EE 3 6
# absolute,X INC oper,X FE 3 7
address = None
cycles = None
if (op_code == 0xE6): # zeropage
address = self._get_address_at_zeropage()
cycles = 5
elif (op_code == 0xF6): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 6
elif (op_code == 0xEE): # absolute
address = self._get_address_at_absolute()
cycles = 6
elif (op_code == 0xFE): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise RuntimeError(f"Unknown op code: {op_code}")
value = (self._system.mmu.read_byte(address)+1)&0xFF
self._negative = (value>>7) == 1
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def INX(self, op_code):
# Increment Index X by One
# X + 1 -> X N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied INX E8 1 2
self._x = (self._x + 1)&0xFF
self._negative = self._x&0x80 > 0
self._zero = self._x == 0
cycles = 2
def INY(self, op_code):
# Increment Index Y by One
# Y + 1 -> Y N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied INY C8 1 2
self._y = (self._y + 1)&0xFF
self._negative = self._y&0x80 > 0
self._zero = self._y == 0
cycles = 2
def JMP(self, op_code):
# Jump to New Location
# (PC+1) -> PCL N Z C I D V
# (PC+2) -> PCH - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# absolute JMP oper 4C 3 3
# indirect JMP (oper) 6C 3 5
address = None
cycles = None
if (op_code == 0x4C): # absolute
pcl = self._system.mmu.read_byte(self._pc)
pch = self._system.mmu.read_byte(self._pc+1)
address = (pch<<8)+pcl
cycles = 3
elif (op_code == 0x6C): # indirect
address = self._get_address_at_indirect()
cycles = 5
self._pc = address
self._system.consume_cycles(cycles)
def JSR(self, op_code):
# Jump to New Location Saving Return Address
# push (PC+2), N Z C I D V
# (PC+1) -> PCL - - - - - -
# (PC+2) -> PCH
# addressing assembler opc bytes cyles
# --------------------------------------------
# absolute JSR oper 20 3 6
next_address = self._pc+1
self.push(next_address>>8) # HI byte
self.push(next_address&0xFF) # LO byte
self._pc = self._get_address_at_absolute()
cycles = 6
def LDA(self, op_code):
# Load Accumulator with Memory
# M -> A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate LDA #oper A9 2 2
# zeropage LDA oper A5 2 3
# zeropage,X LDA oper,X B5 2 4
# absolute LDA oper AD 3 4
# absolute,X LDA oper,X BD 3 4*
# absolute,Y LDA oper,Y B9 3 4*
# (indirect,X) LDA (oper,X) A1 2 6
# (indirect),Y LDA (oper),Y B1 2 5*
value = None
cycles = None
if (op_code == 0xA9): # immedidate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xA5): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xB5): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0xAD): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0xBD): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0xB9): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0xA1): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0xB1): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._negative = (value&0x80) > 0
self._zero = value == 0
self._a = value
self._system.consume_cycles(cycles)
def LDX(self, op_code):
# Load Index X with Memory
# M -> X N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate LDX #oper A2 2 2
# zeropage LDX oper A6 2 3
# zeropage,Y LDX oper,Y B6 2 4
# absolute LDX oper AE 3 4
# absolute,Y LDX oper,Y BE 3 4*
value = None
cycles = None
if (op_code == 0xA2): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xA6): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xB6): # zeropage,Y
value = self._get_value_at_zeropage_y()
cycles = 4
elif (op_code == 0xAE): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0xBE): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._negative = (value&0x80) > 0
self._zero = value == 0
self._x = value
self._system.consume_cycles(cycles)
def LDY(self, op_code):
# Load Index Y with Memory
# M -> Y N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate LDY #oper A0 2 2
# zeropage LDY oper A4 2 3
# zeropage,X LDY oper,X B4 2 4
# absolute LDY oper AC 3 4
# absolute,X LDY oper,X BC 3 4*
value = None
cycles = None
if (op_code == 0xA0): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xA4): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xB4): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0xAC): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0xBC): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._negative = (value&0x80) > 0
self._zero = value == 0
self._y = value
self._system.consume_cycles(cycles)
def LSR(self, op_code):
# Shift One Bit Right (Memory or Accumulator)
# 0 -> [76543210] -> C N Z C I D V
# - + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# accumulator LSR A 4A 1 2
# zeropage LSR oper 46 2 5
# zeropage,X LSR oper,X 56 2 6
# absolute LSR oper 4E 3 6
# absolute,X LSR oper,X 5E 3 7
address = None
cycles = None
if (op_code == 0x4A): # accumulator
self._carry = (self._a&0x01) > 0
self._a >>= 1
self._negative = (self._a&0x80) > 0
self._zero = self._a == 0
cycles = 2
return
elif (op_code == 0x46): # zeropage
address = self._get_address_at_zeropage()
cycles = 5
elif (op_code == 0x56): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 6
elif (op_code == 0x4E): # absolute
address = self._get_address_at_absolute()
cycles = 6
elif (op_code == 0x5E): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise RuntimeError(f"Unknown op code: {op_code}")
value = self._system.mmu.read_byte(address)
self._carry = (value&0x80) > 0
value <<= 1
self._negative = (value&0x80) > 0
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def NOP(self, op_code):
# No Operation
# --- N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied NOP EA 1 2
cycles = 2
def ORA(self, op_code):
# OR Memory with Accumulator
# A OR M -> A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate ORA #oper 09 2 2
# zeropage ORA oper 05 2 3
# zeropage,X ORA oper,X 15 2 4
# absolute ORA oper 0D 3 4
# absolute,X ORA oper,X 1D 3 4*
# absolute,Y ORA oper,Y 19 3 4*
# (indirect,X) ORA (oper,X) 01 2 6
# (indirect),Y ORA (oper),Y 11 2 5*
value = None
cycles = None
if (op_code == 0x09): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0x05): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0x15): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0x0D): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0x1D): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0x19): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0x01): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0x11): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._a = (self._a|value)&0xFF
self._negative = (self._a&0x80) > 0
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def PHA(self, op_code):
# Push Accumulator on Stack
# push A N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied PHA 48 1 3
self.push(self._a)
cycles = 3
def PHP(self, op_code):
# Push Processor Status on Stack
# push SR N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied PHP 08 1 3
value = self._get_status_flag()
value |= 0x30 # Bits 5 and 4 are set when pushed by PHP
self.push(value)
cycles = 3
def PLA(self, op_code):
# Pull Accumulator from Stack
# pull A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied PLA 68 1 4
self._a = self.pull()
self._negative = self._a&0x80 > 0
self._zero = self._a == 0
cycles = 4
def PLP(self, op_code):
# Pull Processor Status from Stack
# pull SR N Z C I D V
# from stack
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied PHP 28 1 4
self._set_status_flag(self.pull())
cycles = 4
def ROL(self, op_code):
# Rotate One Bit Left (Memory or Accumulator)
# C <- [76543210] <- C N Z C I D V
# + + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# accumulator ROL A 2A 1 2
# zeropage ROL oper 26 2 5
# zeropage,X ROL oper,X 36 2 6
# absolute ROL oper 2E 3 6
# absolute,X ROL oper,X 3E 3 7
address = None
cycles = None
if (op_code == 0x2A): # accumulator
carryOut = True if (self._a&0x80 > 0) else False
self._a = ((self._a<<1) + (1 if (self._carry) else 0))&0xFF
self._carry = carryOut
self._negative = self._a&0x80 > 0
self._zero = self._a == 0
cycles = 2
return
elif (op_code == 0x26): # zeropage
address = self._get_address_at_zeropage()
cycles = 5
elif (op_code == 0x36): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 6
elif (op_code == 0x2E): # absolute
address = self._get_address_at_absolute()
cycles = 6
elif (op_code == 0x3E): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise RuntimeError(f"Unknown op code: {op_code}")
value = self._system.mmu.read_byte(address)
carryOut = True if (value&0x80 > 0) else False
value = ((value<<1) + (1 if (self._carry) else 0))&0xFF
self._carry = carryOut
self._system.mmu.write_byte(address, value)
self._negative = value&0x80 > 0
self._zero = value == 0
self._system.consume_cycles(cycles)
def ROR(self, op_code):
# Rotate One Bit Right (Memory or Accumulator)
# C -> [76543210] -> C N Z C I D V
# + + + - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# accumulator ROR A 6A 1 2
# zeropage ROR oper 66 2 5
# zeropage,X ROR oper,X 76 2 6
# absolute ROR oper 6E 3 6
# absolute,X ROR oper,X 7E 3 7
address = None
cycles = None
if (op_code == 0x6A): # accumulator
carryOut = True if (self._a&0x01 > 0) else False
self._a = ((self._a>>1) + (0x80 if (self._carry) else 0))&0xFF
self._carry = carryOut
self._negative = self._a&0x80 > 0
self._zero = self._a == 0
cycles = 2
return
elif (op_code == 0x66): # zeropage
address = self._get_address_at_zeropage()
cycles = 5
elif (op_code == 0x76): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 6
elif (op_code == 0x6E): # absolute
address = self._get_address_at_absolute()
cycles = 6
elif (op_code == 0x7E): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise RuntimeError(f"Unknown op code: {op_code}")
value = self._system.mmu.read_byte(address)
carryOut = True if (value&0x01 > 0) else False
value = ((value>>1) + (0x80 if (self._carry) else 0))&0xFF
self._carry = carryOut
self._system.mmu.write_byte(address, value)
self._negative = value&0x80 > 0
self._zero = value == 0
self._system.consume_cycles(cycles)
def RTI(self, op_code):
# Return from Interrupt
# pull SR, pull PC N Z C I D V
# from stack
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied RTI 40 1 6
self._set_status_flag(self.pull())
pc_lo = self.pull()
pc_hi = self.pull()
self._pc = ((pc_hi<<8) + pc_lo)&0xFFFF
cycles = 6
def RTS(self, op_code):
# Return from Subroutine
# pull PC, PC+1 -> PC N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied RTS 60 1 6
pc_lo = self.pull()
pc_hi = self.pull()
self._pc = ((pc_hi<<8) + pc_lo + 1)&0xFFFF
cycles = 6
def SBC(self, op_code):
# Subtract Memory from Accumulator with Borrow
# A - M - C -> A N Z C I D V
# + + + - - +
# addressing assembler opc bytes cyles
# --------------------------------------------
# immediate SBC #oper E9 2 2
# zeropage SBC oper E5 2 3
# zeropage,X SBC oper,X F5 2 4
# absolute SBC oper ED 3 4
# absolute,X SBC oper,X FD 3 4*
# absolute,Y SBC oper,Y F9 3 4*
# (indirect,X) SBC (oper,X) E1 2 6
# (indirect),Y SBC (oper),Y F1 2 5*
value = None
cycles = None
if (op_code == 0xE9): # immediate
value = self._get_next_byte()
cycles = 2
elif (op_code == 0xE5): # zeropage
value = self._get_value_at_zeropage()
cycles = 3
elif (op_code == 0xF5): # zeropage,X
value = self._get_value_at_zeropage_x()
cycles = 4
elif (op_code == 0xED): # absolute
value = self._get_value_at_absolute()
cycles = 4
elif (op_code == 0xFD): # absolute,X
value = self._get_value_at_absolute_x()
cycles = 4
elif (op_code == 0xF9): # absolute,Y
value = self._get_value_at_absolute_y()
cycles = 4
elif (op_code == 0xE1): # (indirect,X)
value = self._get_value_at_indirect_x()
cycles = 6
elif (op_code == 0xF1): # (indirect),Y
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise RuntimeError(f"Unknown op code: {op_code}")
# Invert value and run through same logic as ADC.
value ^= 0xFF
result = self._a + value + (1 if self._carry == True else 0)
self._carry = result > 0xFF
# More info on source: https://stackoverflow.com/a/29224684
self._overflow = ~(self._a ^ value) & (self._a ^ result) & 0x80
self._a = result&0xFF
self._negative = self._a&0x80 > 1
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def SEC(self, op_code):
# Set Carry Flag
# 1 -> C N Z C I D V
# - - 1 - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied SEC 38 1 2
self._carry = True
cycles = 2
def SED(self, op_code):
# Set Decimal Flag
# 1 -> D N Z C I D V
# - - - - 1 -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied SED F8 1 2
self._decimal_mode = True
cycles = 2
def SEI(self, op_code):
# Set Interrupt Disable Status
# 1 -> I N Z C I D V
# - - - 1 - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied SEI 78 1 2
self._interrupt_disable = True
cycles = 2
def STA(self, op_code):
# Store Accumulator in Memory
# A -> M N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# zeropage STA oper 85 2 3
# zeropage,X STA oper,X 95 2 4
# absolute STA oper 8D 3 4
# absolute,X STA oper,X 9D 3 5
# absolute,Y STA oper,Y 99 3 5
# (indirect,X) STA (oper,X) 81 2 6
# (indirect),Y STA (oper),Y 91 2 6
address = None
cycles = None
if (op_code == 0x85): # zeropage
address = self._get_address_at_zeropage()
cycles = 3
elif (op_code == 0x95): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 4
elif (op_code == 0x8D): # absolute
address = self._get_address_at_absolute()
cycles = 4
elif (op_code == 0x9D): # absolute,X
address = self._get_address_at_absolute_x()
cycles = 5
elif (op_code == 0x99): # absolute,Y
address = self._get_address_at_absolute_y()
cycles = 5
elif (op_code == 0x81): # (indirect,X)
address = self._get_address_at_indirect_x()
cycles = 6
elif (op_code == 0x91): # (indirect),Y
address = self._get_address_at_indirect_y()
cycles = 6
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._system.mmu.write_byte(address, self._a)
self._system.consume_cycles(cycles)
def STX(self, op_code):
# Store Index X in Memory
# X -> M N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# zeropage STX oper 86 2 3
# zeropage,Y STX oper,Y 96 2 4
# absolute STX oper 8E 3 4
address = None
cycles = None
if (op_code == 0x86): # zeropage
address = self._get_address_at_zeropage()
cycles = 3
elif (op_code == 0x96): # zeropage,Y
address = self._get_address_at_zeropage_y()
cycles = 4
elif (op_code == 0x8E): # absolute
address = self._get_address_at_absolute()
cycles = 4
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._system.mmu.write_byte(address, self._x)
self._system.consume_cycles(cycles)
def STY(self, op_code):
# Sore Index Y in Memory
# Y -> M N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# zeropage STY oper 84 2 3
# zeropage,X STY oper,X 94 2 4
# absolute STY oper 8C 3 4
address = None
cycles = None
if (op_code == 0x84): # zeropage
address = self._get_address_at_zeropage()
cycles = 3
elif (op_code == 0x94): # zeropage,X
address = self._get_address_at_zeropage_x()
cycles = 4
elif (op_code == 0x8C): # absolute
address = self._get_address_at_absolute()
cycles = 4
else:
raise RuntimeError(f"Unknown op code: {op_code}")
self._system.mmu.write_byte(address, self._y)
self._system.consume_cycles(cycles)
def TAX(self, op_code):
# Transfer Accumulator to Index X
# A -> X N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied TAX AA 1 2
self._x = self._a
self._negative = (self._x>>7) > 0
self._zero = self._x == 0
cycles = 2
def TAY(self, op_code):
# Transfer Accumulator to Index Y
# A -> Y N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied TAY A8 1 2
self._y = self._a
self._negative = (self._y>>7) > 0
self._zero = self._y == 0
cycles = 2
def TSX(self, op_code):
# Transfer Stack Pointer to Index X
# SP -> X N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied TSX BA 1 2
self._x = self._sp
self._negative = (self._x>>7) > 0
self._zero = self._x == 0
cycles = 2
def TXA(self, op_code):
# Transfer Index X to Accumulator
# X -> A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied TXA 8A 1 2
self._a = self._x
self._negative = (self._a>>7) > 0
self._zero = self._a == 0
cycles = 2
def TXS(self, op_code):
# Transfer Index X to Stack Register
# X -> SP N Z C I D V
# - - - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied TXS 9A 1 2
self._sp = self._x
cycles = 2
def TYA(self, op_code):
# Transfer Index Y to Accumulator
# Y -> A N Z C I D V
# + + - - - -
# addressing assembler opc bytes cyles
# --------------------------------------------
# implied TYA 98 1 2
self._a = self._y
self._negative = (self._a>>7) > 0
self._zero = self._a == 0
cycles = 2 | class Cpu:
vector_reset = 65532
def __init__(self, system):
self._system = system
self._debug_log = open('debug.log', 'w')
def reset(self):
self._pc = self._system.mmu.read_word(self.VECTOR_RESET)
self._sp = 253
self._a = 0
self._x = 0
self._y = 0
self._carry = False
self._zero = False
self._interrupt_disable = True
self._break_command = False
self._decimal_mode = False
self._overflow = False
self._negative = False
self.clock = 0
def step(self):
pc = self._pc
self._current_instruction = pc
self._debug_log.write(f"{format(pc, 'x').upper()}\n")
op_code = self._get_next_byte()
instruction = self.decode_instruction(op_code)
instruction(op_code)
def decode_instruction(self, op_code):
instructions = {105: self.ADC, 101: self.ADC, 117: self.ADC, 109: self.ADC, 125: self.ADC, 121: self.ADC, 97: self.ADC, 113: self.ADC, 41: self.AND, 37: self.AND, 53: self.AND, 45: self.AND, 61: self.AND, 57: self.AND, 33: self.AND, 49: self.AND, 10: self.ASL, 6: self.ASL, 22: self.ASL, 14: self.ASL, 30: self.ASL, 144: self.BCC, 176: self.BCS, 240: self.BEQ, 36: self.BIT, 44: self.BIT, 48: self.BMI, 208: self.BNE, 16: self.BPL, 0: self.BRK, 80: self.BVC, 112: self.BVS, 24: self.CLC, 216: self.CLD, 88: self.CLI, 184: self.CLV, 201: self.CMP, 197: self.CMP, 213: self.CMP, 205: self.CMP, 221: self.CMP, 217: self.CMP, 193: self.CMP, 209: self.CMP, 224: self.CPX, 228: self.CPX, 236: self.CPX, 192: self.CPY, 196: self.CPY, 204: self.CPY, 198: self.DEC, 214: self.DEC, 206: self.DEC, 222: self.DEC, 202: self.DEX, 136: self.DEY, 73: self.EOR, 69: self.EOR, 85: self.EOR, 77: self.EOR, 93: self.EOR, 89: self.EOR, 65: self.EOR, 81: self.EOR, 230: self.INC, 246: self.INC, 238: self.INC, 254: self.INC, 232: self.INX, 200: self.INY, 76: self.JMP, 108: self.JMP, 32: self.JSR, 169: self.LDA, 165: self.LDA, 181: self.LDA, 173: self.LDA, 189: self.LDA, 185: self.LDA, 161: self.LDA, 177: self.LDA, 162: self.LDX, 166: self.LDX, 182: self.LDX, 174: self.LDX, 190: self.LDX, 160: self.LDY, 164: self.LDY, 180: self.LDY, 172: self.LDY, 188: self.LDY, 74: self.LSR, 70: self.LSR, 86: self.LSR, 78: self.LSR, 94: self.LSR, 234: self.NOP, 9: self.ORA, 5: self.ORA, 21: self.ORA, 13: self.ORA, 29: self.ORA, 25: self.ORA, 1: self.ORA, 17: self.ORA, 72: self.PHA, 8: self.PHP, 104: self.PLA, 40: self.PLP, 42: self.ROL, 38: self.ROL, 54: self.ROL, 46: self.ROL, 62: self.ROL, 106: self.ROR, 102: self.ROR, 118: self.ROR, 110: self.ROR, 126: self.ROR, 64: self.RTI, 96: self.RTS, 233: self.SBC, 229: self.SBC, 245: self.SBC, 237: self.SBC, 253: self.SBC, 249: self.SBC, 225: self.SBC, 241: self.SBC, 56: self.SEC, 248: self.SED, 120: self.SEI, 133: self.STA, 149: self.STA, 141: self.STA, 157: self.STA, 153: self.STA, 129: self.STA, 145: self.STA, 134: self.STX, 150: self.STX, 142: self.STX, 132: self.STY, 148: self.STY, 140: self.STY, 170: self.TAX, 168: self.TAY, 186: self.TSX, 138: self.TXA, 154: self.TXS, 152: self.TYA}
instruction = instructions.get(op_code, None)
if instruction == None:
raise runtime_error(f'No instruction found: {hex(op_code)}')
return instruction
def _get_next_byte(self):
value = self._system.mmu.read_byte(self._pc)
self._pc += 1
return value
def _get_next_word(self):
lo = self._get_next_byte()
hi = self._get_next_byte()
return (hi << 8) + lo
def _set_status_flag(self, byte):
self._negative = byte & 128 > 0
self._overflow = byte & 64 > 0
self._decimal_mode = byte & 8 > 0
self._interrupt_disable = byte & 4 > 0
self._zero = byte & 2 > 0
self._carry = byte & 1 > 0
def _get_status_flag(self):
value = 0
value |= 128 if self._negative else 0
value |= 64 if self._overflow else 0
value |= 8 if self._decimal_mode else 0
value |= 4 if self._interrupt_disable else 0
value |= 2 if self._zero else 0
value |= 1 if self._carry else 0
return value
def push(self, value):
self._system.mmu.write_byte(256 + self._sp, value)
self._sp = self._sp - 1 & 255
def pull(self):
self._sp = self._sp + 1 & 255
value = self._system.mmu.read_byte(256 + self._sp)
return value
def _get_address_at_zeropage(self):
return self._get_next_byte()
def _get_address_at_zeropage_x(self):
return self._get_next_byte() + self._x & 255
def _get_address_at_zeropage_y(self):
return self._get_next_byte() + self._y & 255
def _get_address_at_absolute(self):
return self._get_next_word()
def _get_address_at_absolute_x(self):
return self._get_next_word() + self._x
def _get_address_at_absolute_y(self):
return self._get_next_word() + self._y
def _get_address_at_indirect(self):
return self._system.mmu.read_word(self._get_next_byte())
def _get_address_at_indirect_x(self):
m = self._get_next_byte()
hi = self._system.mmu.read_byte(m + 1 + self._x & 255)
lo = self._system.mmu.read_byte(m + self._x & 255)
return (hi << 8) + lo
def _get_address_at_indirect_y(self):
return self._system.mmu.read_word(self._get_next_byte()) + self._y & 65535
def _get_value_at_zeropage(self):
return self._system.mmu.read_byte(self._get_address_at_zeropage())
def _get_value_at_zeropage_x(self):
return self._system.mmu.read_byte(self._get_address_at_zeropage_x())
def _get_value_at_absolute(self):
return self._system.mmu.read_byte(self._get_address_at_absolute())
def _get_value_at_absolute_x(self):
return self._system.mmu.read_byte(self._get_address_at_absolute_x())
def _get_value_at_absolute_y(self):
return self._system.mmu.read_byte(self._get_address_at_absolute_y())
def _get_value_at_indirect_x(self):
return self._system.mmu.read_byte(self._get_address_at_indirect_x())
def _get_value_at_indirect_y(self):
return self._system.mmu.read_byte(self._get_address_at_indirect_y())
def adc(self, op_code):
value = None
cycles = None
if op_code == 105:
value = self._get_next_byte()
cycles = 2
elif op_code == 101:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 117:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 109:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 125:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 121:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 97:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 113:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
result = self._a + value + (1 if self._carry == True else 0)
self._carry = result > 255
self._overflow = ~(self._a ^ value) & (self._a ^ result) & 128
self._a = result & 255
self._negative = self._a >> 7 == 1
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def and(self, op_code):
value = None
cycles = None
if op_code == 41:
value = self._get_next_byte()
cycles = 2
elif op_code == 37:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 53:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 45:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 61:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 57:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 33:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 49:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._a = self._a & value & 255
self._negative = self._a & 128 > 0
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def asl(self, op_code):
address = None
cycles = None
if op_code == 10:
self._carry = self._a & 128 > 0
self._a = self._a << 1 & 255
self._negative = self._a & 128 > 0
self._zero = self._a == 0
cycles = 2
return
elif op_code == 6:
address = self._get_address_at_zeropage()
cycles = 5
elif op_code == 22:
address = self._get_address_at_zeropage_x()
cycles = 6
elif op_code == 14:
address = self._get_address_at_absolute()
cycles = 6
elif op_code == 30:
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise runtime_error(f'Unknown op code: {op_code}')
value = self._system.mmu.read_byte(address)
self._carry = value & 128 > 0
value = value << 1 & 255
self._negative = value & 128 > 0
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def bcc(self, op_code):
offset = self._get_next_byte()
if not self._carry:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def bcs(self, op_code):
offset = self._get_next_byte()
if self._carry:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def beq(self, op_code):
offset = self._get_next_byte()
if self._zero:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def bit(self, op_code):
value = None
cycles = None
if op_code == 36:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 44:
value = self._get_value_at_absolute()
cycles = 4
self._negative = value & 128 > 0
self._overflow = value & 64 > 0
value &= self._a
self._zero = value == 0
self._system.consume_cycles(cycles)
def bmi(self, op_code):
offset = self._get_next_byte()
if self._negative:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def bne(self, op_code):
offset = self._get_next_byte()
if not self._zero:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def bpl(self, op_code):
offset = self._get_next_byte()
if not self._negative:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def brk(self, op_code):
raise not_implemented_error()
def bvc(self, op_code):
offset = self._get_next_byte()
if not self._overflow:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def bvs(self, op_code):
offset = self._get_next_byte()
if self._overflow:
if offset > 127:
offset = -(~offset + 1 & 255)
self._pc += offset
cycles = 2
def clc(self, op_code):
self._carry = False
cycles = 2
def cld(self, op_code):
self._decimal_mode = False
cycles = 2
def cli(self, op_code):
self._interrupt_disable = False
cycles = 2
def clv(self, op_code):
self._overflow = False
cycles = 2
def cmp(self, op_code):
value = None
cycles = None
if op_code == 201:
value = self._get_next_byte()
cycles = 2
elif op_code == 197:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 213:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 205:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 221:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 217:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 193:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 209:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
result = self._a - value & 255
self._carry = self._a >= value
self._zero = self._a == value
self._negative = result & 128 > 0
self._system.consume_cycles(cycles)
def cpx(self, op_code):
value = None
cycles = None
if op_code == 224:
value = self._get_next_byte()
cycles = 2
elif op_code == 228:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 236:
value = self._get_value_at_absolute()
cycles = 4
else:
raise runtime_error(f'Unknown op code: {op_code}')
result = self._x - value & 255
self._carry = self._x >= value
self._zero = self._x == value
self._negative = result & 128 > 0
self._system.consume_cycles(cycles)
def cpy(self, op_code):
value = None
cycles = None
if op_code == 192:
value = self._get_next_byte()
cycles = 2
elif op_code == 196:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 204:
value = self._get_value_at_absolute()
cycles = 4
else:
raise runtime_error(f'Unknown op code: {op_code}')
result = self._y - value & 255
self._carry = self._y >= value
self._zero = self._y == value
self._negative = result & 128 > 0
self._system.consume_cycles(cycles)
def dec(self, op_code):
address = None
cycles = None
if op_code == 198:
address = self._get_address_at_zeropage()
cycles = 5
elif op_code == 214:
address = self._get_address_at_zeropage_x()
cycles = 6
elif op_code == 206:
address = self._get_address_at_absolute()
cycles = 3
elif op_code == 222:
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise runtime_error(f'Unknown op code: {op_code}')
value = self._system.mmu.read_byte(address) - 1 & 255
self._negative = value & 128 > 1
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def dex(self, op_code):
self._x = self._x - 1 & 255
self._negative = self._x & 128 > 1
self._zero = self._x == 0
cycles = 2
def dey(self, op_code):
self._y = self._y - 1 & 255
self._negative = self._y & 128 > 1
self._zero = self._y == 0
cycles = 2
def eor(self, op_code):
value = None
cycles = None
if op_code == 73:
value = self._get_next_byte()
cycles = 2
elif op_code == 69:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 85:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 77:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 93:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 89:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 65:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 81:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._a ^= value
self._negative = self._a >> 7 == 1
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def inc(self, op_code):
address = None
cycles = None
if op_code == 230:
address = self._get_address_at_zeropage()
cycles = 5
elif op_code == 246:
address = self._get_address_at_zeropage_x()
cycles = 6
elif op_code == 238:
address = self._get_address_at_absolute()
cycles = 6
elif op_code == 254:
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise runtime_error(f'Unknown op code: {op_code}')
value = self._system.mmu.read_byte(address) + 1 & 255
self._negative = value >> 7 == 1
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def inx(self, op_code):
self._x = self._x + 1 & 255
self._negative = self._x & 128 > 0
self._zero = self._x == 0
cycles = 2
def iny(self, op_code):
self._y = self._y + 1 & 255
self._negative = self._y & 128 > 0
self._zero = self._y == 0
cycles = 2
def jmp(self, op_code):
address = None
cycles = None
if op_code == 76:
pcl = self._system.mmu.read_byte(self._pc)
pch = self._system.mmu.read_byte(self._pc + 1)
address = (pch << 8) + pcl
cycles = 3
elif op_code == 108:
address = self._get_address_at_indirect()
cycles = 5
self._pc = address
self._system.consume_cycles(cycles)
def jsr(self, op_code):
next_address = self._pc + 1
self.push(next_address >> 8)
self.push(next_address & 255)
self._pc = self._get_address_at_absolute()
cycles = 6
def lda(self, op_code):
value = None
cycles = None
if op_code == 169:
value = self._get_next_byte()
cycles = 2
elif op_code == 165:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 181:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 173:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 189:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 185:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 161:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 177:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._negative = value & 128 > 0
self._zero = value == 0
self._a = value
self._system.consume_cycles(cycles)
def ldx(self, op_code):
value = None
cycles = None
if op_code == 162:
value = self._get_next_byte()
cycles = 2
elif op_code == 166:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 182:
value = self._get_value_at_zeropage_y()
cycles = 4
elif op_code == 174:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 190:
value = self._get_value_at_absolute_y()
cycles = 4
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._negative = value & 128 > 0
self._zero = value == 0
self._x = value
self._system.consume_cycles(cycles)
def ldy(self, op_code):
value = None
cycles = None
if op_code == 160:
value = self._get_next_byte()
cycles = 2
elif op_code == 164:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 180:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 172:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 188:
value = self._get_value_at_absolute_x()
cycles = 4
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._negative = value & 128 > 0
self._zero = value == 0
self._y = value
self._system.consume_cycles(cycles)
def lsr(self, op_code):
address = None
cycles = None
if op_code == 74:
self._carry = self._a & 1 > 0
self._a >>= 1
self._negative = self._a & 128 > 0
self._zero = self._a == 0
cycles = 2
return
elif op_code == 70:
address = self._get_address_at_zeropage()
cycles = 5
elif op_code == 86:
address = self._get_address_at_zeropage_x()
cycles = 6
elif op_code == 78:
address = self._get_address_at_absolute()
cycles = 6
elif op_code == 94:
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise runtime_error(f'Unknown op code: {op_code}')
value = self._system.mmu.read_byte(address)
self._carry = value & 128 > 0
value <<= 1
self._negative = value & 128 > 0
self._zero = value == 0
self._system.mmu.write_byte(address, value)
self._system.consume_cycles(cycles)
def nop(self, op_code):
cycles = 2
def ora(self, op_code):
value = None
cycles = None
if op_code == 9:
value = self._get_next_byte()
cycles = 2
elif op_code == 5:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 21:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 13:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 29:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 25:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 1:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 17:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._a = (self._a | value) & 255
self._negative = self._a & 128 > 0
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def pha(self, op_code):
self.push(self._a)
cycles = 3
def php(self, op_code):
value = self._get_status_flag()
value |= 48
self.push(value)
cycles = 3
def pla(self, op_code):
self._a = self.pull()
self._negative = self._a & 128 > 0
self._zero = self._a == 0
cycles = 4
def plp(self, op_code):
self._set_status_flag(self.pull())
cycles = 4
def rol(self, op_code):
address = None
cycles = None
if op_code == 42:
carry_out = True if self._a & 128 > 0 else False
self._a = (self._a << 1) + (1 if self._carry else 0) & 255
self._carry = carryOut
self._negative = self._a & 128 > 0
self._zero = self._a == 0
cycles = 2
return
elif op_code == 38:
address = self._get_address_at_zeropage()
cycles = 5
elif op_code == 54:
address = self._get_address_at_zeropage_x()
cycles = 6
elif op_code == 46:
address = self._get_address_at_absolute()
cycles = 6
elif op_code == 62:
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise runtime_error(f'Unknown op code: {op_code}')
value = self._system.mmu.read_byte(address)
carry_out = True if value & 128 > 0 else False
value = (value << 1) + (1 if self._carry else 0) & 255
self._carry = carryOut
self._system.mmu.write_byte(address, value)
self._negative = value & 128 > 0
self._zero = value == 0
self._system.consume_cycles(cycles)
def ror(self, op_code):
address = None
cycles = None
if op_code == 106:
carry_out = True if self._a & 1 > 0 else False
self._a = (self._a >> 1) + (128 if self._carry else 0) & 255
self._carry = carryOut
self._negative = self._a & 128 > 0
self._zero = self._a == 0
cycles = 2
return
elif op_code == 102:
address = self._get_address_at_zeropage()
cycles = 5
elif op_code == 118:
address = self._get_address_at_zeropage_x()
cycles = 6
elif op_code == 110:
address = self._get_address_at_absolute()
cycles = 6
elif op_code == 126:
address = self._get_address_at_absolute_x()
cycles = 7
else:
raise runtime_error(f'Unknown op code: {op_code}')
value = self._system.mmu.read_byte(address)
carry_out = True if value & 1 > 0 else False
value = (value >> 1) + (128 if self._carry else 0) & 255
self._carry = carryOut
self._system.mmu.write_byte(address, value)
self._negative = value & 128 > 0
self._zero = value == 0
self._system.consume_cycles(cycles)
def rti(self, op_code):
self._set_status_flag(self.pull())
pc_lo = self.pull()
pc_hi = self.pull()
self._pc = (pc_hi << 8) + pc_lo & 65535
cycles = 6
def rts(self, op_code):
pc_lo = self.pull()
pc_hi = self.pull()
self._pc = (pc_hi << 8) + pc_lo + 1 & 65535
cycles = 6
def sbc(self, op_code):
value = None
cycles = None
if op_code == 233:
value = self._get_next_byte()
cycles = 2
elif op_code == 229:
value = self._get_value_at_zeropage()
cycles = 3
elif op_code == 245:
value = self._get_value_at_zeropage_x()
cycles = 4
elif op_code == 237:
value = self._get_value_at_absolute()
cycles = 4
elif op_code == 253:
value = self._get_value_at_absolute_x()
cycles = 4
elif op_code == 249:
value = self._get_value_at_absolute_y()
cycles = 4
elif op_code == 225:
value = self._get_value_at_indirect_x()
cycles = 6
elif op_code == 241:
value = self._get_value_at_indirect_y()
cycles = 5
else:
raise runtime_error(f'Unknown op code: {op_code}')
value ^= 255
result = self._a + value + (1 if self._carry == True else 0)
self._carry = result > 255
self._overflow = ~(self._a ^ value) & (self._a ^ result) & 128
self._a = result & 255
self._negative = self._a & 128 > 1
self._zero = self._a == 0
self._system.consume_cycles(cycles)
def sec(self, op_code):
self._carry = True
cycles = 2
def sed(self, op_code):
self._decimal_mode = True
cycles = 2
def sei(self, op_code):
self._interrupt_disable = True
cycles = 2
def sta(self, op_code):
address = None
cycles = None
if op_code == 133:
address = self._get_address_at_zeropage()
cycles = 3
elif op_code == 149:
address = self._get_address_at_zeropage_x()
cycles = 4
elif op_code == 141:
address = self._get_address_at_absolute()
cycles = 4
elif op_code == 157:
address = self._get_address_at_absolute_x()
cycles = 5
elif op_code == 153:
address = self._get_address_at_absolute_y()
cycles = 5
elif op_code == 129:
address = self._get_address_at_indirect_x()
cycles = 6
elif op_code == 145:
address = self._get_address_at_indirect_y()
cycles = 6
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._system.mmu.write_byte(address, self._a)
self._system.consume_cycles(cycles)
def stx(self, op_code):
address = None
cycles = None
if op_code == 134:
address = self._get_address_at_zeropage()
cycles = 3
elif op_code == 150:
address = self._get_address_at_zeropage_y()
cycles = 4
elif op_code == 142:
address = self._get_address_at_absolute()
cycles = 4
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._system.mmu.write_byte(address, self._x)
self._system.consume_cycles(cycles)
def sty(self, op_code):
address = None
cycles = None
if op_code == 132:
address = self._get_address_at_zeropage()
cycles = 3
elif op_code == 148:
address = self._get_address_at_zeropage_x()
cycles = 4
elif op_code == 140:
address = self._get_address_at_absolute()
cycles = 4
else:
raise runtime_error(f'Unknown op code: {op_code}')
self._system.mmu.write_byte(address, self._y)
self._system.consume_cycles(cycles)
def tax(self, op_code):
self._x = self._a
self._negative = self._x >> 7 > 0
self._zero = self._x == 0
cycles = 2
def tay(self, op_code):
self._y = self._a
self._negative = self._y >> 7 > 0
self._zero = self._y == 0
cycles = 2
def tsx(self, op_code):
self._x = self._sp
self._negative = self._x >> 7 > 0
self._zero = self._x == 0
cycles = 2
def txa(self, op_code):
self._a = self._x
self._negative = self._a >> 7 > 0
self._zero = self._a == 0
cycles = 2
def txs(self, op_code):
self._sp = self._x
cycles = 2
def tya(self, op_code):
self._a = self._y
self._negative = self._a >> 7 > 0
self._zero = self._a == 0
cycles = 2 |
# -*- coding: utf-8 -*-
"""
Created on Sat May 29 04:22:02 2021
@author: Septhiono
"""
print("Welcome to the Love Calculator!")
name1 = input("What is your name? \n").lower()
name2 = input("What is their name? \n").lower()
name3=name1+name2
true=name3.count('t')+name3.count('r')+name3.count('u')+name3.count('e')
love=name3.count('l')+name3.count('o')+name3.count('v')+name3.count('e')
score=int(str(true)+str(love))
if score<10 or score>90:
print(f"Your score is {score}, you go together like coke and mentos.")
elif 40<score<50:
print(f"Your score is {score}, you are alright together.")
else:
print(f"Your score is {score}.")
| """
Created on Sat May 29 04:22:02 2021
@author: Septhiono
"""
print('Welcome to the Love Calculator!')
name1 = input('What is your name? \n').lower()
name2 = input('What is their name? \n').lower()
name3 = name1 + name2
true = name3.count('t') + name3.count('r') + name3.count('u') + name3.count('e')
love = name3.count('l') + name3.count('o') + name3.count('v') + name3.count('e')
score = int(str(true) + str(love))
if score < 10 or score > 90:
print(f'Your score is {score}, you go together like coke and mentos.')
elif 40 < score < 50:
print(f'Your score is {score}, you are alright together.')
else:
print(f'Your score is {score}.') |
def greet_customer(grocery_store, special_item):
print("Welcome to "+ grocery_store + ".")
print("Our special is " + special_item + ".")
print("Have fun shopping!")
greet_customer("Stu's Staples", "papayas")
def mult_x_add_y(number, x, y):
print("Total: ", number * x + y)
mult_x_add_y(5, 2, 3)
mult_x_add_y(1, 3, 1) | def greet_customer(grocery_store, special_item):
print('Welcome to ' + grocery_store + '.')
print('Our special is ' + special_item + '.')
print('Have fun shopping!')
greet_customer("Stu's Staples", 'papayas')
def mult_x_add_y(number, x, y):
print('Total: ', number * x + y)
mult_x_add_y(5, 2, 3)
mult_x_add_y(1, 3, 1) |
class TransitionId(object):
ClearReadout=0
Reset =1
Configure =2
Unconfigure =3
BeginRun =4
EndRun =5
BeginStep =6
EndStep =7
Enable =8
Disable =9
SlowUpdate =10
Unused_11 =11
L1Accept =12
NumberOf =13
| class Transitionid(object):
clear_readout = 0
reset = 1
configure = 2
unconfigure = 3
begin_run = 4
end_run = 5
begin_step = 6
end_step = 7
enable = 8
disable = 9
slow_update = 10
unused_11 = 11
l1_accept = 12
number_of = 13 |
MIN_MATCH = 4
STRING = 0x0
BYTE_ARR = 0x01
NUMERIC_INT = 0x02
NUMERIC_FLOAT = 0x03
NUMERIC_LONG = 0x04
NUMERIC_DOUBLE = 0x05
SECOND = 1000
HOUR = 60 * 60 * SECOND
DAY = 24 * HOUR
SECOND_ENCODING = 0x40
HOUR_ENCODING = 0x80
DAY_ENCODING = 0xC0
BLOCK_SIZE = 128
INDEX_OPTION_NONE = 0
INDEX_OPTION_DOCS = 1
INDEX_OPTION_DOCS_FREQS = 2
INDEX_OPTION_DOCS_FREQS_POSITIONS = 3
INDEX_OPTION_DOCS_FREQS_POSITIONS_OFFSETS = 4
DOC_VALUES_NUMERIC = 0
DOC_VALUES_BINARY = 1
DOC_VALUES_SORTED = 2
DOC_VALUES_SORTED_SET = 3
DOC_VALUES_SORTED_NUMERIC = 4
DOC_DELTA_COMPRESSED = 0
DOC_GCD_COMPRESSED = 1
DOC_TABLE_COMPRESSED = 2
DOC_MONOTONIC_COMPRESSED = 3
DOC_CONST_COMPRESSED = 4
DOC_SPARSE_COMPRESSED = 5
DOC_BINARY_FIXED_UNCOMPRESSED = 0
DOC_BINARY_VARIABLE_UNCOMPRESSED = 1
DOC_BINARY_PREFIX_COMPRESSED = 2
DOC_SORTED_WITH_ADDRESSES = 0
DOC_SORTED_SINGLE_VALUED = 1
DOC_SORTED_SET_TABLE = 2
STORE_TERMVECTOR = 0x1
OMIT_NORMS = 0x2
STORE_PAYLOADS = 0x4
ALL_VALUES_EQUAL = 0
PACKED = 0
PACKED_SINGLE_BLOCK = 1 | min_match = 4
string = 0
byte_arr = 1
numeric_int = 2
numeric_float = 3
numeric_long = 4
numeric_double = 5
second = 1000
hour = 60 * 60 * SECOND
day = 24 * HOUR
second_encoding = 64
hour_encoding = 128
day_encoding = 192
block_size = 128
index_option_none = 0
index_option_docs = 1
index_option_docs_freqs = 2
index_option_docs_freqs_positions = 3
index_option_docs_freqs_positions_offsets = 4
doc_values_numeric = 0
doc_values_binary = 1
doc_values_sorted = 2
doc_values_sorted_set = 3
doc_values_sorted_numeric = 4
doc_delta_compressed = 0
doc_gcd_compressed = 1
doc_table_compressed = 2
doc_monotonic_compressed = 3
doc_const_compressed = 4
doc_sparse_compressed = 5
doc_binary_fixed_uncompressed = 0
doc_binary_variable_uncompressed = 1
doc_binary_prefix_compressed = 2
doc_sorted_with_addresses = 0
doc_sorted_single_valued = 1
doc_sorted_set_table = 2
store_termvector = 1
omit_norms = 2
store_payloads = 4
all_values_equal = 0
packed = 0
packed_single_block = 1 |
"""
Hao Ren
11 October, 2020
344. Reverse String
Python: One line solution. Just a joke.
"""
class Solution(object):
def reverseString(self, s):
"""
:type s: List[str]
:rtype: None Do not return anything, modify s in-place instead.
"""
s.reverse()
| """
Hao Ren
11 October, 2020
344. Reverse String
Python: One line solution. Just a joke.
"""
class Solution(object):
def reverse_string(self, s):
"""
:type s: List[str]
:rtype: None Do not return anything, modify s in-place instead.
"""
s.reverse() |
#encoding:utf-8
subreddit = 'ProsePorn'
t_channel = '@r_proseporn'
def send_post(submission, r2t):
return r2t.send_simple(submission)
| subreddit = 'ProsePorn'
t_channel = '@r_proseporn'
def send_post(submission, r2t):
return r2t.send_simple(submission) |
# Pyrogram - Telegram MTProto API Client Library for Python
# Copyright (C) 2017-2021 Dan <https://github.com/delivrance>
#
# This file is part of Pyrogram.
#
# Pyrogram is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pyrogram is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
# # # # # # # # # # # # # # # # # # # # # # # #
# !!! WARNING !!! #
# This is a generated file! #
# All changes made in this file will be lost! #
# # # # # # # # # # # # # # # # # # # # # # # #
layer = 123
objects = {
0x05162463: "pyrogram.raw.types.ResPQ",
0x83c95aec: "pyrogram.raw.types.PQInnerData",
0xa9f55f95: "pyrogram.raw.types.PQInnerDataDc",
0x3c6a84d4: "pyrogram.raw.types.PQInnerDataTemp",
0x56fddf88: "pyrogram.raw.types.PQInnerDataTempDc",
0x75a3f765: "pyrogram.raw.types.BindAuthKeyInner",
0x79cb045d: "pyrogram.raw.types.ServerDHParamsFail",
0xd0e8075c: "pyrogram.raw.types.ServerDHParamsOk",
0xb5890dba: "pyrogram.raw.types.ServerDHInnerData",
0x6643b654: "pyrogram.raw.types.ClientDHInnerData",
0x3bcbf734: "pyrogram.raw.types.DhGenOk",
0x46dc1fb9: "pyrogram.raw.types.DhGenRetry",
0xa69dae02: "pyrogram.raw.types.DhGenFail",
0xf660e1d4: "pyrogram.raw.types.DestroyAuthKeyOk",
0x0a9f2259: "pyrogram.raw.types.DestroyAuthKeyNone",
0xea109b13: "pyrogram.raw.types.DestroyAuthKeyFail",
0x60469778: "pyrogram.raw.functions.ReqPq",
0xbe7e8ef1: "pyrogram.raw.functions.ReqPqMulti",
0xd712e4be: "pyrogram.raw.functions.ReqDHParams",
0xf5045f1f: "pyrogram.raw.functions.SetClientDHParams",
0xd1435160: "pyrogram.raw.functions.DestroyAuthKey",
0x62d6b459: "pyrogram.raw.types.MsgsAck",
0xa7eff811: "pyrogram.raw.types.BadMsgNotification",
0xedab447b: "pyrogram.raw.types.BadServerSalt",
0xda69fb52: "pyrogram.raw.types.MsgsStateReq",
0x04deb57d: "pyrogram.raw.types.MsgsStateInfo",
0x8cc0d131: "pyrogram.raw.types.MsgsAllInfo",
0x276d3ec6: "pyrogram.raw.types.MsgDetailedInfo",
0x809db6df: "pyrogram.raw.types.MsgNewDetailedInfo",
0x7d861a08: "pyrogram.raw.types.MsgResendReq",
0x8610baeb: "pyrogram.raw.types.MsgResendAnsReq",
0xf35c6d01: "pyrogram.raw.types.RpcResult",
0x2144ca19: "pyrogram.raw.types.RpcError",
0x5e2ad36e: "pyrogram.raw.types.RpcAnswerUnknown",
0xcd78e586: "pyrogram.raw.types.RpcAnswerDroppedRunning",
0xa43ad8b7: "pyrogram.raw.types.RpcAnswerDropped",
0x347773c5: "pyrogram.raw.types.Pong",
0xe22045fc: "pyrogram.raw.types.DestroySessionOk",
0x62d350c9: "pyrogram.raw.types.DestroySessionNone",
0x9ec20908: "pyrogram.raw.types.NewSessionCreated",
0x9299359f: "pyrogram.raw.types.HttpWait",
0xd433ad73: "pyrogram.raw.types.IpPort",
0x37982646: "pyrogram.raw.types.IpPortSecret",
0x4679b65f: "pyrogram.raw.types.AccessPointRule",
0x5a592a6c: "pyrogram.raw.types.help.ConfigSimple",
0x58e4a740: "pyrogram.raw.functions.RpcDropAnswer",
0xb921bd04: "pyrogram.raw.functions.GetFutureSalts",
0x7abe77ec: "pyrogram.raw.functions.Ping",
0xf3427b8c: "pyrogram.raw.functions.PingDelayDisconnect",
0xe7512126: "pyrogram.raw.functions.DestroySession",
0x9a5f6e95: "pyrogram.raw.functions.contest.SaveDeveloperInfo",
0x7f3b18ea: "pyrogram.raw.types.InputPeerEmpty",
0x7da07ec9: "pyrogram.raw.types.InputPeerSelf",
0x179be863: "pyrogram.raw.types.InputPeerChat",
0x7b8e7de6: "pyrogram.raw.types.InputPeerUser",
0x20adaef8: "pyrogram.raw.types.InputPeerChannel",
0x17bae2e6: "pyrogram.raw.types.InputPeerUserFromMessage",
0x9c95f7bb: "pyrogram.raw.types.InputPeerChannelFromMessage",
0xb98886cf: "pyrogram.raw.types.InputUserEmpty",
0xf7c1b13f: "pyrogram.raw.types.InputUserSelf",
0xd8292816: "pyrogram.raw.types.InputUser",
0x2d117597: "pyrogram.raw.types.InputUserFromMessage",
0xf392b7f4: "pyrogram.raw.types.InputPhoneContact",
0xf52ff27f: "pyrogram.raw.types.InputFile",
0xfa4f0bb5: "pyrogram.raw.types.InputFileBig",
0x9664f57f: "pyrogram.raw.types.InputMediaEmpty",
0x1e287d04: "pyrogram.raw.types.InputMediaUploadedPhoto",
0xb3ba0635: "pyrogram.raw.types.InputMediaPhoto",
0xf9c44144: "pyrogram.raw.types.InputMediaGeoPoint",
0xf8ab7dfb: "pyrogram.raw.types.InputMediaContact",
0x5b38c6c1: "pyrogram.raw.types.InputMediaUploadedDocument",
0x33473058: "pyrogram.raw.types.InputMediaDocument",
0xc13d1c11: "pyrogram.raw.types.InputMediaVenue",
0xe5bbfe1a: "pyrogram.raw.types.InputMediaPhotoExternal",
0xfb52dc99: "pyrogram.raw.types.InputMediaDocumentExternal",
0xd33f43f3: "pyrogram.raw.types.InputMediaGame",
0xf4e096c3: "pyrogram.raw.types.InputMediaInvoice",
0x971fa843: "pyrogram.raw.types.InputMediaGeoLive",
0xf94e5f1: "pyrogram.raw.types.InputMediaPoll",
0xe66fbf7b: "pyrogram.raw.types.InputMediaDice",
0x1ca48f57: "pyrogram.raw.types.InputChatPhotoEmpty",
0xc642724e: "pyrogram.raw.types.InputChatUploadedPhoto",
0x8953ad37: "pyrogram.raw.types.InputChatPhoto",
0xe4c123d6: "pyrogram.raw.types.InputGeoPointEmpty",
0x48222faf: "pyrogram.raw.types.InputGeoPoint",
0x1cd7bf0d: "pyrogram.raw.types.InputPhotoEmpty",
0x3bb3b94a: "pyrogram.raw.types.InputPhoto",
0xdfdaabe1: "pyrogram.raw.types.InputFileLocation",
0xf5235d55: "pyrogram.raw.types.InputEncryptedFileLocation",
0xbad07584: "pyrogram.raw.types.InputDocumentFileLocation",
0xcbc7ee28: "pyrogram.raw.types.InputSecureFileLocation",
0x29be5899: "pyrogram.raw.types.InputTakeoutFileLocation",
0x40181ffe: "pyrogram.raw.types.InputPhotoFileLocation",
0xd83466f3: "pyrogram.raw.types.InputPhotoLegacyFileLocation",
0x27d69997: "pyrogram.raw.types.InputPeerPhotoFileLocation",
0xdbaeae9: "pyrogram.raw.types.InputStickerSetThumb",
0x9db1bc6d: "pyrogram.raw.types.PeerUser",
0xbad0e5bb: "pyrogram.raw.types.PeerChat",
0xbddde532: "pyrogram.raw.types.PeerChannel",
0xaa963b05: "pyrogram.raw.types.storage.FileUnknown",
0x40bc6f52: "pyrogram.raw.types.storage.FilePartial",
0x7efe0e: "pyrogram.raw.types.storage.FileJpeg",
0xcae1aadf: "pyrogram.raw.types.storage.FileGif",
0xa4f63c0: "pyrogram.raw.types.storage.FilePng",
0xae1e508d: "pyrogram.raw.types.storage.FilePdf",
0x528a0677: "pyrogram.raw.types.storage.FileMp3",
0x4b09ebbc: "pyrogram.raw.types.storage.FileMov",
0xb3cea0e4: "pyrogram.raw.types.storage.FileMp4",
0x1081464c: "pyrogram.raw.types.storage.FileWebp",
0x200250ba: "pyrogram.raw.types.UserEmpty",
0x938458c1: "pyrogram.raw.types.User",
0x4f11bae1: "pyrogram.raw.types.UserProfilePhotoEmpty",
0x69d3ab26: "pyrogram.raw.types.UserProfilePhoto",
0x9d05049: "pyrogram.raw.types.UserStatusEmpty",
0xedb93949: "pyrogram.raw.types.UserStatusOnline",
0x8c703f: "pyrogram.raw.types.UserStatusOffline",
0xe26f42f1: "pyrogram.raw.types.UserStatusRecently",
0x7bf09fc: "pyrogram.raw.types.UserStatusLastWeek",
0x77ebc742: "pyrogram.raw.types.UserStatusLastMonth",
0x9ba2d800: "pyrogram.raw.types.ChatEmpty",
0x3bda1bde: "pyrogram.raw.types.Chat",
0x7328bdb: "pyrogram.raw.types.ChatForbidden",
0xd31a961e: "pyrogram.raw.types.Channel",
0x289da732: "pyrogram.raw.types.ChannelForbidden",
0xf3474af6: "pyrogram.raw.types.ChatFull",
0x7a7de4f7: "pyrogram.raw.types.ChannelFull",
0xc8d7493e: "pyrogram.raw.types.ChatParticipant",
0xda13538a: "pyrogram.raw.types.ChatParticipantCreator",
0xe2d6e436: "pyrogram.raw.types.ChatParticipantAdmin",
0xfc900c2b: "pyrogram.raw.types.ChatParticipantsForbidden",
0x3f460fed: "pyrogram.raw.types.ChatParticipants",
0x37c1011c: "pyrogram.raw.types.ChatPhotoEmpty",
0xd20b9f3c: "pyrogram.raw.types.ChatPhoto",
0x90a6ca84: "pyrogram.raw.types.MessageEmpty",
0x58ae39c9: "pyrogram.raw.types.Message",
0x286fa604: "pyrogram.raw.types.MessageService",
0x3ded6320: "pyrogram.raw.types.MessageMediaEmpty",
0x695150d7: "pyrogram.raw.types.MessageMediaPhoto",
0x56e0d474: "pyrogram.raw.types.MessageMediaGeo",
0xcbf24940: "pyrogram.raw.types.MessageMediaContact",
0x9f84f49e: "pyrogram.raw.types.MessageMediaUnsupported",
0x9cb070d7: "pyrogram.raw.types.MessageMediaDocument",
0xa32dd600: "pyrogram.raw.types.MessageMediaWebPage",
0x2ec0533f: "pyrogram.raw.types.MessageMediaVenue",
0xfdb19008: "pyrogram.raw.types.MessageMediaGame",
0x84551347: "pyrogram.raw.types.MessageMediaInvoice",
0xb940c666: "pyrogram.raw.types.MessageMediaGeoLive",
0x4bd6e798: "pyrogram.raw.types.MessageMediaPoll",
0x3f7ee58b: "pyrogram.raw.types.MessageMediaDice",
0xb6aef7b0: "pyrogram.raw.types.MessageActionEmpty",
0xa6638b9a: "pyrogram.raw.types.MessageActionChatCreate",
0xb5a1ce5a: "pyrogram.raw.types.MessageActionChatEditTitle",
0x7fcb13a8: "pyrogram.raw.types.MessageActionChatEditPhoto",
0x95e3fbef: "pyrogram.raw.types.MessageActionChatDeletePhoto",
0x488a7337: "pyrogram.raw.types.MessageActionChatAddUser",
0xb2ae9b0c: "pyrogram.raw.types.MessageActionChatDeleteUser",
0xf89cf5e8: "pyrogram.raw.types.MessageActionChatJoinedByLink",
0x95d2ac92: "pyrogram.raw.types.MessageActionChannelCreate",
0x51bdb021: "pyrogram.raw.types.MessageActionChatMigrateTo",
0xb055eaee: "pyrogram.raw.types.MessageActionChannelMigrateFrom",
0x94bd38ed: "pyrogram.raw.types.MessageActionPinMessage",
0x9fbab604: "pyrogram.raw.types.MessageActionHistoryClear",
0x92a72876: "pyrogram.raw.types.MessageActionGameScore",
0x8f31b327: "pyrogram.raw.types.MessageActionPaymentSentMe",
0x40699cd0: "pyrogram.raw.types.MessageActionPaymentSent",
0x80e11a7f: "pyrogram.raw.types.MessageActionPhoneCall",
0x4792929b: "pyrogram.raw.types.MessageActionScreenshotTaken",
0xfae69f56: "pyrogram.raw.types.MessageActionCustomAction",
0xabe9affe: "pyrogram.raw.types.MessageActionBotAllowed",
0x1b287353: "pyrogram.raw.types.MessageActionSecureValuesSentMe",
0xd95c6154: "pyrogram.raw.types.MessageActionSecureValuesSent",
0xf3f25f76: "pyrogram.raw.types.MessageActionContactSignUp",
0x98e0d697: "pyrogram.raw.types.MessageActionGeoProximityReached",
0x7a0d7f42: "pyrogram.raw.types.MessageActionGroupCall",
0x76b9f11a: "pyrogram.raw.types.MessageActionInviteToGroupCall",
0x2c171f72: "pyrogram.raw.types.Dialog",
0x71bd134c: "pyrogram.raw.types.DialogFolder",
0x2331b22d: "pyrogram.raw.types.PhotoEmpty",
0xfb197a65: "pyrogram.raw.types.Photo",
0xe17e23c: "pyrogram.raw.types.PhotoSizeEmpty",
0x77bfb61b: "pyrogram.raw.types.PhotoSize",
0xe9a734fa: "pyrogram.raw.types.PhotoCachedSize",
0xe0b0bc2e: "pyrogram.raw.types.PhotoStrippedSize",
0x5aa86a51: "pyrogram.raw.types.PhotoSizeProgressive",
0xd8214d41: "pyrogram.raw.types.PhotoPathSize",
0x1117dd5f: "pyrogram.raw.types.GeoPointEmpty",
0xb2a2f663: "pyrogram.raw.types.GeoPoint",
0x5e002502: "pyrogram.raw.types.auth.SentCode",
0xcd050916: "pyrogram.raw.types.auth.Authorization",
0x44747e9a: "pyrogram.raw.types.auth.AuthorizationSignUpRequired",
0xdf969c2d: "pyrogram.raw.types.auth.ExportedAuthorization",
0xb8bc5b0c: "pyrogram.raw.types.InputNotifyPeer",
0x193b4417: "pyrogram.raw.types.InputNotifyUsers",
0x4a95e84e: "pyrogram.raw.types.InputNotifyChats",
0xb1db7c7e: "pyrogram.raw.types.InputNotifyBroadcasts",
0x9c3d198e: "pyrogram.raw.types.InputPeerNotifySettings",
0xaf509d20: "pyrogram.raw.types.PeerNotifySettings",
0x733f2961: "pyrogram.raw.types.PeerSettings",
0xa437c3ed: "pyrogram.raw.types.WallPaper",
0x8af40b25: "pyrogram.raw.types.WallPaperNoFile",
0x58dbcab8: "pyrogram.raw.types.InputReportReasonSpam",
0x1e22c78d: "pyrogram.raw.types.InputReportReasonViolence",
0x2e59d922: "pyrogram.raw.types.InputReportReasonPornography",
0xadf44ee3: "pyrogram.raw.types.InputReportReasonChildAbuse",
0xe1746d0a: "pyrogram.raw.types.InputReportReasonOther",
0x9b89f93a: "pyrogram.raw.types.InputReportReasonCopyright",
0xdbd4feed: "pyrogram.raw.types.InputReportReasonGeoIrrelevant",
0xf5ddd6e7: "pyrogram.raw.types.InputReportReasonFake",
0xedf17c12: "pyrogram.raw.types.UserFull",
0xf911c994: "pyrogram.raw.types.Contact",
0xd0028438: "pyrogram.raw.types.ImportedContact",
0xd3680c61: "pyrogram.raw.types.ContactStatus",
0xb74ba9d2: "pyrogram.raw.types.contacts.ContactsNotModified",
0xeae87e42: "pyrogram.raw.types.contacts.Contacts",
0x77d01c3b: "pyrogram.raw.types.contacts.ImportedContacts",
0xade1591: "pyrogram.raw.types.contacts.Blocked",
0xe1664194: "pyrogram.raw.types.contacts.BlockedSlice",
0x15ba6c40: "pyrogram.raw.types.messages.Dialogs",
0x71e094f3: "pyrogram.raw.types.messages.DialogsSlice",
0xf0e3e596: "pyrogram.raw.types.messages.DialogsNotModified",
0x8c718e87: "pyrogram.raw.types.messages.Messages",
0x3a54685e: "pyrogram.raw.types.messages.MessagesSlice",
0x64479808: "pyrogram.raw.types.messages.ChannelMessages",
0x74535f21: "pyrogram.raw.types.messages.MessagesNotModified",
0x64ff9fd5: "pyrogram.raw.types.messages.Chats",
0x9cd81144: "pyrogram.raw.types.messages.ChatsSlice",
0xe5d7d19c: "pyrogram.raw.types.messages.ChatFull",
0xb45c69d1: "pyrogram.raw.types.messages.AffectedHistory",
0x57e2f66c: "pyrogram.raw.types.InputMessagesFilterEmpty",
0x9609a51c: "pyrogram.raw.types.InputMessagesFilterPhotos",
0x9fc00e65: "pyrogram.raw.types.InputMessagesFilterVideo",
0x56e9f0e4: "pyrogram.raw.types.InputMessagesFilterPhotoVideo",
0x9eddf188: "pyrogram.raw.types.InputMessagesFilterDocument",
0x7ef0dd87: "pyrogram.raw.types.InputMessagesFilterUrl",
0xffc86587: "pyrogram.raw.types.InputMessagesFilterGif",
0x50f5c392: "pyrogram.raw.types.InputMessagesFilterVoice",
0x3751b49e: "pyrogram.raw.types.InputMessagesFilterMusic",
0x3a20ecb8: "pyrogram.raw.types.InputMessagesFilterChatPhotos",
0x80c99768: "pyrogram.raw.types.InputMessagesFilterPhoneCalls",
0x7a7c17a4: "pyrogram.raw.types.InputMessagesFilterRoundVoice",
0xb549da53: "pyrogram.raw.types.InputMessagesFilterRoundVideo",
0xc1f8e69a: "pyrogram.raw.types.InputMessagesFilterMyMentions",
0xe7026d0d: "pyrogram.raw.types.InputMessagesFilterGeo",
0xe062db83: "pyrogram.raw.types.InputMessagesFilterContacts",
0x1bb00451: "pyrogram.raw.types.InputMessagesFilterPinned",
0x1f2b0afd: "pyrogram.raw.types.UpdateNewMessage",
0x4e90bfd6: "pyrogram.raw.types.UpdateMessageID",
0xa20db0e5: "pyrogram.raw.types.UpdateDeleteMessages",
0x5c486927: "pyrogram.raw.types.UpdateUserTyping",
0x9a65ea1f: "pyrogram.raw.types.UpdateChatUserTyping",
0x7761198: "pyrogram.raw.types.UpdateChatParticipants",
0x1bfbd823: "pyrogram.raw.types.UpdateUserStatus",
0xa7332b73: "pyrogram.raw.types.UpdateUserName",
0x95313b0c: "pyrogram.raw.types.UpdateUserPhoto",
0x12bcbd9a: "pyrogram.raw.types.UpdateNewEncryptedMessage",
0x1710f156: "pyrogram.raw.types.UpdateEncryptedChatTyping",
0xb4a2e88d: "pyrogram.raw.types.UpdateEncryption",
0x38fe25b7: "pyrogram.raw.types.UpdateEncryptedMessagesRead",
0xea4b0e5c: "pyrogram.raw.types.UpdateChatParticipantAdd",
0x6e5f8c22: "pyrogram.raw.types.UpdateChatParticipantDelete",
0x8e5e9873: "pyrogram.raw.types.UpdateDcOptions",
0xbec268ef: "pyrogram.raw.types.UpdateNotifySettings",
0xebe46819: "pyrogram.raw.types.UpdateServiceNotification",
0xee3b272a: "pyrogram.raw.types.UpdatePrivacy",
0x12b9417b: "pyrogram.raw.types.UpdateUserPhone",
0x9c974fdf: "pyrogram.raw.types.UpdateReadHistoryInbox",
0x2f2f21bf: "pyrogram.raw.types.UpdateReadHistoryOutbox",
0x7f891213: "pyrogram.raw.types.UpdateWebPage",
0x68c13933: "pyrogram.raw.types.UpdateReadMessagesContents",
0xeb0467fb: "pyrogram.raw.types.UpdateChannelTooLong",
0xb6d45656: "pyrogram.raw.types.UpdateChannel",
0x62ba04d9: "pyrogram.raw.types.UpdateNewChannelMessage",
0x330b5424: "pyrogram.raw.types.UpdateReadChannelInbox",
0xc37521c9: "pyrogram.raw.types.UpdateDeleteChannelMessages",
0x98a12b4b: "pyrogram.raw.types.UpdateChannelMessageViews",
0xb6901959: "pyrogram.raw.types.UpdateChatParticipantAdmin",
0x688a30aa: "pyrogram.raw.types.UpdateNewStickerSet",
0xbb2d201: "pyrogram.raw.types.UpdateStickerSetsOrder",
0x43ae3dec: "pyrogram.raw.types.UpdateStickerSets",
0x9375341e: "pyrogram.raw.types.UpdateSavedGifs",
0x3f2038db: "pyrogram.raw.types.UpdateBotInlineQuery",
0xe48f964: "pyrogram.raw.types.UpdateBotInlineSend",
0x1b3f4df7: "pyrogram.raw.types.UpdateEditChannelMessage",
0xe73547e1: "pyrogram.raw.types.UpdateBotCallbackQuery",
0xe40370a3: "pyrogram.raw.types.UpdateEditMessage",
0xf9d27a5a: "pyrogram.raw.types.UpdateInlineBotCallbackQuery",
0x25d6c9c7: "pyrogram.raw.types.UpdateReadChannelOutbox",
0xee2bb969: "pyrogram.raw.types.UpdateDraftMessage",
0x571d2742: "pyrogram.raw.types.UpdateReadFeaturedStickers",
0x9a422c20: "pyrogram.raw.types.UpdateRecentStickers",
0xa229dd06: "pyrogram.raw.types.UpdateConfig",
0x3354678f: "pyrogram.raw.types.UpdatePtsChanged",
0x40771900: "pyrogram.raw.types.UpdateChannelWebPage",
0x6e6fe51c: "pyrogram.raw.types.UpdateDialogPinned",
0xfa0f3ca2: "pyrogram.raw.types.UpdatePinnedDialogs",
0x8317c0c3: "pyrogram.raw.types.UpdateBotWebhookJSON",
0x9b9240a6: "pyrogram.raw.types.UpdateBotWebhookJSONQuery",
0xe0cdc940: "pyrogram.raw.types.UpdateBotShippingQuery",
0x5d2f3aa9: "pyrogram.raw.types.UpdateBotPrecheckoutQuery",
0xab0f6b1e: "pyrogram.raw.types.UpdatePhoneCall",
0x46560264: "pyrogram.raw.types.UpdateLangPackTooLong",
0x56022f4d: "pyrogram.raw.types.UpdateLangPack",
0xe511996d: "pyrogram.raw.types.UpdateFavedStickers",
0x89893b45: "pyrogram.raw.types.UpdateChannelReadMessagesContents",
0x7084a7be: "pyrogram.raw.types.UpdateContactsReset",
0x70db6837: "pyrogram.raw.types.UpdateChannelAvailableMessages",
0xe16459c3: "pyrogram.raw.types.UpdateDialogUnreadMark",
0xaca1657b: "pyrogram.raw.types.UpdateMessagePoll",
0x54c01850: "pyrogram.raw.types.UpdateChatDefaultBannedRights",
0x19360dc0: "pyrogram.raw.types.UpdateFolderPeers",
0x6a7e7366: "pyrogram.raw.types.UpdatePeerSettings",
0xb4afcfb0: "pyrogram.raw.types.UpdatePeerLocated",
0x39a51dfb: "pyrogram.raw.types.UpdateNewScheduledMessage",
0x90866cee: "pyrogram.raw.types.UpdateDeleteScheduledMessages",
0x8216fba3: "pyrogram.raw.types.UpdateTheme",
0x871fb939: "pyrogram.raw.types.UpdateGeoLiveViewed",
0x564fe691: "pyrogram.raw.types.UpdateLoginToken",
0x42f88f2c: "pyrogram.raw.types.UpdateMessagePollVote",
0x26ffde7d: "pyrogram.raw.types.UpdateDialogFilter",
0xa5d72105: "pyrogram.raw.types.UpdateDialogFilterOrder",
0x3504914f: "pyrogram.raw.types.UpdateDialogFilters",
0x2661bf09: "pyrogram.raw.types.UpdatePhoneCallSignalingData",
0x65d2b464: "pyrogram.raw.types.UpdateChannelParticipant",
0x6e8a84df: "pyrogram.raw.types.UpdateChannelMessageForwards",
0x1cc7de54: "pyrogram.raw.types.UpdateReadChannelDiscussionInbox",
0x4638a26c: "pyrogram.raw.types.UpdateReadChannelDiscussionOutbox",
0x246a4b22: "pyrogram.raw.types.UpdatePeerBlocked",
0xff2abe9f: "pyrogram.raw.types.UpdateChannelUserTyping",
0xed85eab5: "pyrogram.raw.types.UpdatePinnedMessages",
0x8588878b: "pyrogram.raw.types.UpdatePinnedChannelMessages",
0x1330a196: "pyrogram.raw.types.UpdateChat",
0xf2ebdb4e: "pyrogram.raw.types.UpdateGroupCallParticipants",
0xa45eb99b: "pyrogram.raw.types.UpdateGroupCall",
0xa56c2a3e: "pyrogram.raw.types.updates.State",
0x5d75a138: "pyrogram.raw.types.updates.DifferenceEmpty",
0xf49ca0: "pyrogram.raw.types.updates.Difference",
0xa8fb1981: "pyrogram.raw.types.updates.DifferenceSlice",
0x4afe8f6d: "pyrogram.raw.types.updates.DifferenceTooLong",
0xe317af7e: "pyrogram.raw.types.UpdatesTooLong",
0x2296d2c8: "pyrogram.raw.types.UpdateShortMessage",
0x402d5dbb: "pyrogram.raw.types.UpdateShortChatMessage",
0x78d4dec1: "pyrogram.raw.types.UpdateShort",
0x725b04c3: "pyrogram.raw.types.UpdatesCombined",
0x74ae4240: "pyrogram.raw.types.Updates",
0x11f1331c: "pyrogram.raw.types.UpdateShortSentMessage",
0x8dca6aa5: "pyrogram.raw.types.photos.Photos",
0x15051f54: "pyrogram.raw.types.photos.PhotosSlice",
0x20212ca8: "pyrogram.raw.types.photos.Photo",
0x96a18d5: "pyrogram.raw.types.upload.File",
0xf18cda44: "pyrogram.raw.types.upload.FileCdnRedirect",
0x18b7a10d: "pyrogram.raw.types.DcOption",
0x330b4067: "pyrogram.raw.types.Config",
0x8e1a1775: "pyrogram.raw.types.NearestDc",
0x1da7158f: "pyrogram.raw.types.help.AppUpdate",
0xc45a6536: "pyrogram.raw.types.help.NoAppUpdate",
0x18cb9f78: "pyrogram.raw.types.help.InviteText",
0xab7ec0a0: "pyrogram.raw.types.EncryptedChatEmpty",
0x3bf703dc: "pyrogram.raw.types.EncryptedChatWaiting",
0x62718a82: "pyrogram.raw.types.EncryptedChatRequested",
0xfa56ce36: "pyrogram.raw.types.EncryptedChat",
0x1e1c7c45: "pyrogram.raw.types.EncryptedChatDiscarded",
0xf141b5e1: "pyrogram.raw.types.InputEncryptedChat",
0xc21f497e: "pyrogram.raw.types.EncryptedFileEmpty",
0x4a70994c: "pyrogram.raw.types.EncryptedFile",
0x1837c364: "pyrogram.raw.types.InputEncryptedFileEmpty",
0x64bd0306: "pyrogram.raw.types.InputEncryptedFileUploaded",
0x5a17b5e5: "pyrogram.raw.types.InputEncryptedFile",
0x2dc173c8: "pyrogram.raw.types.InputEncryptedFileBigUploaded",
0xed18c118: "pyrogram.raw.types.EncryptedMessage",
0x23734b06: "pyrogram.raw.types.EncryptedMessageService",
0xc0e24635: "pyrogram.raw.types.messages.DhConfigNotModified",
0x2c221edd: "pyrogram.raw.types.messages.DhConfig",
0x560f8935: "pyrogram.raw.types.messages.SentEncryptedMessage",
0x9493ff32: "pyrogram.raw.types.messages.SentEncryptedFile",
0x72f0eaae: "pyrogram.raw.types.InputDocumentEmpty",
0x1abfb575: "pyrogram.raw.types.InputDocument",
0x36f8c871: "pyrogram.raw.types.DocumentEmpty",
0x1e87342b: "pyrogram.raw.types.Document",
0x17c6b5f6: "pyrogram.raw.types.help.Support",
0x9fd40bd8: "pyrogram.raw.types.NotifyPeer",
0xb4c83b4c: "pyrogram.raw.types.NotifyUsers",
0xc007cec3: "pyrogram.raw.types.NotifyChats",
0xd612e8ef: "pyrogram.raw.types.NotifyBroadcasts",
0x16bf744e: "pyrogram.raw.types.SendMessageTypingAction",
0xfd5ec8f5: "pyrogram.raw.types.SendMessageCancelAction",
0xa187d66f: "pyrogram.raw.types.SendMessageRecordVideoAction",
0xe9763aec: "pyrogram.raw.types.SendMessageUploadVideoAction",
0xd52f73f7: "pyrogram.raw.types.SendMessageRecordAudioAction",
0xf351d7ab: "pyrogram.raw.types.SendMessageUploadAudioAction",
0xd1d34a26: "pyrogram.raw.types.SendMessageUploadPhotoAction",
0xaa0cd9e4: "pyrogram.raw.types.SendMessageUploadDocumentAction",
0x176f8ba1: "pyrogram.raw.types.SendMessageGeoLocationAction",
0x628cbc6f: "pyrogram.raw.types.SendMessageChooseContactAction",
0xdd6a8f48: "pyrogram.raw.types.SendMessageGamePlayAction",
0x88f27fbc: "pyrogram.raw.types.SendMessageRecordRoundAction",
0x243e1c66: "pyrogram.raw.types.SendMessageUploadRoundAction",
0xd92c2285: "pyrogram.raw.types.SpeakingInGroupCallAction",
0xdbda9246: "pyrogram.raw.types.SendMessageHistoryImportAction",
0xb3134d9d: "pyrogram.raw.types.contacts.Found",
0x4f96cb18: "pyrogram.raw.types.InputPrivacyKeyStatusTimestamp",
0xbdfb0426: "pyrogram.raw.types.InputPrivacyKeyChatInvite",
0xfabadc5f: "pyrogram.raw.types.InputPrivacyKeyPhoneCall",
0xdb9e70d2: "pyrogram.raw.types.InputPrivacyKeyPhoneP2P",
0xa4dd4c08: "pyrogram.raw.types.InputPrivacyKeyForwards",
0x5719bacc: "pyrogram.raw.types.InputPrivacyKeyProfilePhoto",
0x352dafa: "pyrogram.raw.types.InputPrivacyKeyPhoneNumber",
0xd1219bdd: "pyrogram.raw.types.InputPrivacyKeyAddedByPhone",
0xbc2eab30: "pyrogram.raw.types.PrivacyKeyStatusTimestamp",
0x500e6dfa: "pyrogram.raw.types.PrivacyKeyChatInvite",
0x3d662b7b: "pyrogram.raw.types.PrivacyKeyPhoneCall",
0x39491cc8: "pyrogram.raw.types.PrivacyKeyPhoneP2P",
0x69ec56a3: "pyrogram.raw.types.PrivacyKeyForwards",
0x96151fed: "pyrogram.raw.types.PrivacyKeyProfilePhoto",
0xd19ae46d: "pyrogram.raw.types.PrivacyKeyPhoneNumber",
0x42ffd42b: "pyrogram.raw.types.PrivacyKeyAddedByPhone",
0xd09e07b: "pyrogram.raw.types.InputPrivacyValueAllowContacts",
0x184b35ce: "pyrogram.raw.types.InputPrivacyValueAllowAll",
0x131cc67f: "pyrogram.raw.types.InputPrivacyValueAllowUsers",
0xba52007: "pyrogram.raw.types.InputPrivacyValueDisallowContacts",
0xd66b66c9: "pyrogram.raw.types.InputPrivacyValueDisallowAll",
0x90110467: "pyrogram.raw.types.InputPrivacyValueDisallowUsers",
0x4c81c1ba: "pyrogram.raw.types.InputPrivacyValueAllowChatParticipants",
0xd82363af: "pyrogram.raw.types.InputPrivacyValueDisallowChatParticipants",
0xfffe1bac: "pyrogram.raw.types.PrivacyValueAllowContacts",
0x65427b82: "pyrogram.raw.types.PrivacyValueAllowAll",
0x4d5bbe0c: "pyrogram.raw.types.PrivacyValueAllowUsers",
0xf888fa1a: "pyrogram.raw.types.PrivacyValueDisallowContacts",
0x8b73e763: "pyrogram.raw.types.PrivacyValueDisallowAll",
0xc7f49b7: "pyrogram.raw.types.PrivacyValueDisallowUsers",
0x18be796b: "pyrogram.raw.types.PrivacyValueAllowChatParticipants",
0xacae0690: "pyrogram.raw.types.PrivacyValueDisallowChatParticipants",
0x50a04e45: "pyrogram.raw.types.account.PrivacyRules",
0xb8d0afdf: "pyrogram.raw.types.AccountDaysTTL",
0x6c37c15c: "pyrogram.raw.types.DocumentAttributeImageSize",
0x11b58939: "pyrogram.raw.types.DocumentAttributeAnimated",
0x6319d612: "pyrogram.raw.types.DocumentAttributeSticker",
0xef02ce6: "pyrogram.raw.types.DocumentAttributeVideo",
0x9852f9c6: "pyrogram.raw.types.DocumentAttributeAudio",
0x15590068: "pyrogram.raw.types.DocumentAttributeFilename",
0x9801d2f7: "pyrogram.raw.types.DocumentAttributeHasStickers",
0xf1749a22: "pyrogram.raw.types.messages.StickersNotModified",
0xe4599bbd: "pyrogram.raw.types.messages.Stickers",
0x12b299d4: "pyrogram.raw.types.StickerPack",
0xe86602c3: "pyrogram.raw.types.messages.AllStickersNotModified",
0xedfd405f: "pyrogram.raw.types.messages.AllStickers",
0x84d19185: "pyrogram.raw.types.messages.AffectedMessages",
0xeb1477e8: "pyrogram.raw.types.WebPageEmpty",
0xc586da1c: "pyrogram.raw.types.WebPagePending",
0xe89c45b2: "pyrogram.raw.types.WebPage",
0x7311ca11: "pyrogram.raw.types.WebPageNotModified",
0xad01d61d: "pyrogram.raw.types.Authorization",
0x1250abde: "pyrogram.raw.types.account.Authorizations",
0xad2641f8: "pyrogram.raw.types.account.Password",
0x9a5c33e5: "pyrogram.raw.types.account.PasswordSettings",
0xc23727c9: "pyrogram.raw.types.account.PasswordInputSettings",
0x137948a5: "pyrogram.raw.types.auth.PasswordRecovery",
0xa384b779: "pyrogram.raw.types.ReceivedNotifyMessage",
0x6e24fc9d: "pyrogram.raw.types.ChatInviteExported",
0x5a686d7c: "pyrogram.raw.types.ChatInviteAlready",
0xdfc2f58e: "pyrogram.raw.types.ChatInvite",
0x61695cb0: "pyrogram.raw.types.ChatInvitePeek",
0xffb62b95: "pyrogram.raw.types.InputStickerSetEmpty",
0x9de7a269: "pyrogram.raw.types.InputStickerSetID",
0x861cc8a0: "pyrogram.raw.types.InputStickerSetShortName",
0x28703c8: "pyrogram.raw.types.InputStickerSetAnimatedEmoji",
0xe67f520e: "pyrogram.raw.types.InputStickerSetDice",
0x40e237a8: "pyrogram.raw.types.StickerSet",
0xb60a24a6: "pyrogram.raw.types.messages.StickerSet",
0xc27ac8c7: "pyrogram.raw.types.BotCommand",
0x98e81d3a: "pyrogram.raw.types.BotInfo",
0xa2fa4880: "pyrogram.raw.types.KeyboardButton",
0x258aff05: "pyrogram.raw.types.KeyboardButtonUrl",
0x35bbdb6b: "pyrogram.raw.types.KeyboardButtonCallback",
0xb16a6c29: "pyrogram.raw.types.KeyboardButtonRequestPhone",
0xfc796b3f: "pyrogram.raw.types.KeyboardButtonRequestGeoLocation",
0x568a748: "pyrogram.raw.types.KeyboardButtonSwitchInline",
0x50f41ccf: "pyrogram.raw.types.KeyboardButtonGame",
0xafd93fbb: "pyrogram.raw.types.KeyboardButtonBuy",
0x10b78d29: "pyrogram.raw.types.KeyboardButtonUrlAuth",
0xd02e7fd4: "pyrogram.raw.types.InputKeyboardButtonUrlAuth",
0xbbc7515d: "pyrogram.raw.types.KeyboardButtonRequestPoll",
0x77608b83: "pyrogram.raw.types.KeyboardButtonRow",
0xa03e5b85: "pyrogram.raw.types.ReplyKeyboardHide",
0xf4108aa0: "pyrogram.raw.types.ReplyKeyboardForceReply",
0x3502758c: "pyrogram.raw.types.ReplyKeyboardMarkup",
0x48a30254: "pyrogram.raw.types.ReplyInlineMarkup",
0xbb92ba95: "pyrogram.raw.types.MessageEntityUnknown",
0xfa04579d: "pyrogram.raw.types.MessageEntityMention",
0x6f635b0d: "pyrogram.raw.types.MessageEntityHashtag",
0x6cef8ac7: "pyrogram.raw.types.MessageEntityBotCommand",
0x6ed02538: "pyrogram.raw.types.MessageEntityUrl",
0x64e475c2: "pyrogram.raw.types.MessageEntityEmail",
0xbd610bc9: "pyrogram.raw.types.MessageEntityBold",
0x826f8b60: "pyrogram.raw.types.MessageEntityItalic",
0x28a20571: "pyrogram.raw.types.MessageEntityCode",
0x73924be0: "pyrogram.raw.types.MessageEntityPre",
0x76a6d327: "pyrogram.raw.types.MessageEntityTextUrl",
0x352dca58: "pyrogram.raw.types.MessageEntityMentionName",
0x208e68c9: "pyrogram.raw.types.InputMessageEntityMentionName",
0x9b69e34b: "pyrogram.raw.types.MessageEntityPhone",
0x4c4e743f: "pyrogram.raw.types.MessageEntityCashtag",
0x9c4e7e8b: "pyrogram.raw.types.MessageEntityUnderline",
0xbf0693d4: "pyrogram.raw.types.MessageEntityStrike",
0x20df5d0: "pyrogram.raw.types.MessageEntityBlockquote",
0x761e6af4: "pyrogram.raw.types.MessageEntityBankCard",
0xee8c1e86: "pyrogram.raw.types.InputChannelEmpty",
0xafeb712e: "pyrogram.raw.types.InputChannel",
0x2a286531: "pyrogram.raw.types.InputChannelFromMessage",
0x7f077ad9: "pyrogram.raw.types.contacts.ResolvedPeer",
0xae30253: "pyrogram.raw.types.MessageRange",
0x3e11affb: "pyrogram.raw.types.updates.ChannelDifferenceEmpty",
0xa4bcc6fe: "pyrogram.raw.types.updates.ChannelDifferenceTooLong",
0x2064674e: "pyrogram.raw.types.updates.ChannelDifference",
0x94d42ee7: "pyrogram.raw.types.ChannelMessagesFilterEmpty",
0xcd77d957: "pyrogram.raw.types.ChannelMessagesFilter",
0x15ebac1d: "pyrogram.raw.types.ChannelParticipant",
0xa3289a6d: "pyrogram.raw.types.ChannelParticipantSelf",
0x447dca4b: "pyrogram.raw.types.ChannelParticipantCreator",
0xccbebbaf: "pyrogram.raw.types.ChannelParticipantAdmin",
0x1c0facaf: "pyrogram.raw.types.ChannelParticipantBanned",
0xc3c6796b: "pyrogram.raw.types.ChannelParticipantLeft",
0xde3f3c79: "pyrogram.raw.types.ChannelParticipantsRecent",
0xb4608969: "pyrogram.raw.types.ChannelParticipantsAdmins",
0xa3b54985: "pyrogram.raw.types.ChannelParticipantsKicked",
0xb0d1865b: "pyrogram.raw.types.ChannelParticipantsBots",
0x1427a5e1: "pyrogram.raw.types.ChannelParticipantsBanned",
0x656ac4b: "pyrogram.raw.types.ChannelParticipantsSearch",
0xbb6ae88d: "pyrogram.raw.types.ChannelParticipantsContacts",
0xe04b5ceb: "pyrogram.raw.types.ChannelParticipantsMentions",
0xf56ee2a8: "pyrogram.raw.types.channels.ChannelParticipants",
0xf0173fe9: "pyrogram.raw.types.channels.ChannelParticipantsNotModified",
0xd0d9b163: "pyrogram.raw.types.channels.ChannelParticipant",
0x780a0310: "pyrogram.raw.types.help.TermsOfService",
0xe8025ca2: "pyrogram.raw.types.messages.SavedGifsNotModified",
0x2e0709a5: "pyrogram.raw.types.messages.SavedGifs",
0x3380c786: "pyrogram.raw.types.InputBotInlineMessageMediaAuto",
0x3dcd7a87: "pyrogram.raw.types.InputBotInlineMessageText",
0x96929a85: "pyrogram.raw.types.InputBotInlineMessageMediaGeo",
0x417bbf11: "pyrogram.raw.types.InputBotInlineMessageMediaVenue",
0xa6edbffd: "pyrogram.raw.types.InputBotInlineMessageMediaContact",
0x4b425864: "pyrogram.raw.types.InputBotInlineMessageGame",
0x88bf9319: "pyrogram.raw.types.InputBotInlineResult",
0xa8d864a7: "pyrogram.raw.types.InputBotInlineResultPhoto",
0xfff8fdc4: "pyrogram.raw.types.InputBotInlineResultDocument",
0x4fa417f2: "pyrogram.raw.types.InputBotInlineResultGame",
0x764cf810: "pyrogram.raw.types.BotInlineMessageMediaAuto",
0x8c7f65e2: "pyrogram.raw.types.BotInlineMessageText",
0x51846fd: "pyrogram.raw.types.BotInlineMessageMediaGeo",
0x8a86659c: "pyrogram.raw.types.BotInlineMessageMediaVenue",
0x18d1cdc2: "pyrogram.raw.types.BotInlineMessageMediaContact",
0x11965f3a: "pyrogram.raw.types.BotInlineResult",
0x17db940b: "pyrogram.raw.types.BotInlineMediaResult",
0x947ca848: "pyrogram.raw.types.messages.BotResults",
0x5dab1af4: "pyrogram.raw.types.ExportedMessageLink",
0x5f777dce: "pyrogram.raw.types.MessageFwdHeader",
0x72a3158c: "pyrogram.raw.types.auth.CodeTypeSms",
0x741cd3e3: "pyrogram.raw.types.auth.CodeTypeCall",
0x226ccefb: "pyrogram.raw.types.auth.CodeTypeFlashCall",
0x3dbb5986: "pyrogram.raw.types.auth.SentCodeTypeApp",
0xc000bba2: "pyrogram.raw.types.auth.SentCodeTypeSms",
0x5353e5a7: "pyrogram.raw.types.auth.SentCodeTypeCall",
0xab03c6d9: "pyrogram.raw.types.auth.SentCodeTypeFlashCall",
0x36585ea4: "pyrogram.raw.types.messages.BotCallbackAnswer",
0x26b5dde6: "pyrogram.raw.types.messages.MessageEditData",
0x890c3d89: "pyrogram.raw.types.InputBotInlineMessageID",
0x3c20629f: "pyrogram.raw.types.InlineBotSwitchPM",
0x3371c354: "pyrogram.raw.types.messages.PeerDialogs",
0xedcdc05b: "pyrogram.raw.types.TopPeer",
0xab661b5b: "pyrogram.raw.types.TopPeerCategoryBotsPM",
0x148677e2: "pyrogram.raw.types.TopPeerCategoryBotsInline",
0x637b7ed: "pyrogram.raw.types.TopPeerCategoryCorrespondents",
0xbd17a14a: "pyrogram.raw.types.TopPeerCategoryGroups",
0x161d9628: "pyrogram.raw.types.TopPeerCategoryChannels",
0x1e76a78c: "pyrogram.raw.types.TopPeerCategoryPhoneCalls",
0xa8406ca9: "pyrogram.raw.types.TopPeerCategoryForwardUsers",
0xfbeec0f0: "pyrogram.raw.types.TopPeerCategoryForwardChats",
0xfb834291: "pyrogram.raw.types.TopPeerCategoryPeers",
0xde266ef5: "pyrogram.raw.types.contacts.TopPeersNotModified",
0x70b772a8: "pyrogram.raw.types.contacts.TopPeers",
0xb52c939d: "pyrogram.raw.types.contacts.TopPeersDisabled",
0x1b0c841a: "pyrogram.raw.types.DraftMessageEmpty",
0xfd8e711f: "pyrogram.raw.types.DraftMessage",
0xc6dc0c66: "pyrogram.raw.types.messages.FeaturedStickersNotModified",
0xb6abc341: "pyrogram.raw.types.messages.FeaturedStickers",
0xb17f890: "pyrogram.raw.types.messages.RecentStickersNotModified",
0x22f3afb3: "pyrogram.raw.types.messages.RecentStickers",
0x4fcba9c8: "pyrogram.raw.types.messages.ArchivedStickers",
0x38641628: "pyrogram.raw.types.messages.StickerSetInstallResultSuccess",
0x35e410a8: "pyrogram.raw.types.messages.StickerSetInstallResultArchive",
0x6410a5d2: "pyrogram.raw.types.StickerSetCovered",
0x3407e51b: "pyrogram.raw.types.StickerSetMultiCovered",
0xaed6dbb2: "pyrogram.raw.types.MaskCoords",
0x4a992157: "pyrogram.raw.types.InputStickeredMediaPhoto",
0x438865b: "pyrogram.raw.types.InputStickeredMediaDocument",
0xbdf9653b: "pyrogram.raw.types.Game",
0x32c3e77: "pyrogram.raw.types.InputGameID",
0xc331e80a: "pyrogram.raw.types.InputGameShortName",
0x58fffcd0: "pyrogram.raw.types.HighScore",
0x9a3bfd99: "pyrogram.raw.types.messages.HighScores",
0xdc3d824f: "pyrogram.raw.types.TextEmpty",
0x744694e0: "pyrogram.raw.types.TextPlain",
0x6724abc4: "pyrogram.raw.types.TextBold",
0xd912a59c: "pyrogram.raw.types.TextItalic",
0xc12622c4: "pyrogram.raw.types.TextUnderline",
0x9bf8bb95: "pyrogram.raw.types.TextStrike",
0x6c3f19b9: "pyrogram.raw.types.TextFixed",
0x3c2884c1: "pyrogram.raw.types.TextUrl",
0xde5a0dd6: "pyrogram.raw.types.TextEmail",
0x7e6260d7: "pyrogram.raw.types.TextConcat",
0xed6a8504: "pyrogram.raw.types.TextSubscript",
0xc7fb5e01: "pyrogram.raw.types.TextSuperscript",
0x34b8621: "pyrogram.raw.types.TextMarked",
0x1ccb966a: "pyrogram.raw.types.TextPhone",
0x81ccf4f: "pyrogram.raw.types.TextImage",
0x35553762: "pyrogram.raw.types.TextAnchor",
0x13567e8a: "pyrogram.raw.types.PageBlockUnsupported",
0x70abc3fd: "pyrogram.raw.types.PageBlockTitle",
0x8ffa9a1f: "pyrogram.raw.types.PageBlockSubtitle",
0xbaafe5e0: "pyrogram.raw.types.PageBlockAuthorDate",
0xbfd064ec: "pyrogram.raw.types.PageBlockHeader",
0xf12bb6e1: "pyrogram.raw.types.PageBlockSubheader",
0x467a0766: "pyrogram.raw.types.PageBlockParagraph",
0xc070d93e: "pyrogram.raw.types.PageBlockPreformatted",
0x48870999: "pyrogram.raw.types.PageBlockFooter",
0xdb20b188: "pyrogram.raw.types.PageBlockDivider",
0xce0d37b0: "pyrogram.raw.types.PageBlockAnchor",
0xe4e88011: "pyrogram.raw.types.PageBlockList",
0x263d7c26: "pyrogram.raw.types.PageBlockBlockquote",
0x4f4456d3: "pyrogram.raw.types.PageBlockPullquote",
0x1759c560: "pyrogram.raw.types.PageBlockPhoto",
0x7c8fe7b6: "pyrogram.raw.types.PageBlockVideo",
0x39f23300: "pyrogram.raw.types.PageBlockCover",
0xa8718dc5: "pyrogram.raw.types.PageBlockEmbed",
0xf259a80b: "pyrogram.raw.types.PageBlockEmbedPost",
0x65a0fa4d: "pyrogram.raw.types.PageBlockCollage",
0x31f9590: "pyrogram.raw.types.PageBlockSlideshow",
0xef1751b5: "pyrogram.raw.types.PageBlockChannel",
0x804361ea: "pyrogram.raw.types.PageBlockAudio",
0x1e148390: "pyrogram.raw.types.PageBlockKicker",
0xbf4dea82: "pyrogram.raw.types.PageBlockTable",
0x9a8ae1e1: "pyrogram.raw.types.PageBlockOrderedList",
0x76768bed: "pyrogram.raw.types.PageBlockDetails",
0x16115a96: "pyrogram.raw.types.PageBlockRelatedArticles",
0xa44f3ef6: "pyrogram.raw.types.PageBlockMap",
0x85e42301: "pyrogram.raw.types.PhoneCallDiscardReasonMissed",
0xe095c1a0: "pyrogram.raw.types.PhoneCallDiscardReasonDisconnect",
0x57adc690: "pyrogram.raw.types.PhoneCallDiscardReasonHangup",
0xfaf7e8c9: "pyrogram.raw.types.PhoneCallDiscardReasonBusy",
0x7d748d04: "pyrogram.raw.types.DataJSON",
0xcb296bf8: "pyrogram.raw.types.LabeledPrice",
0xc30aa358: "pyrogram.raw.types.Invoice",
0xea02c27e: "pyrogram.raw.types.PaymentCharge",
0x1e8caaeb: "pyrogram.raw.types.PostAddress",
0x909c3f94: "pyrogram.raw.types.PaymentRequestedInfo",
0xcdc27a1f: "pyrogram.raw.types.PaymentSavedCredentialsCard",
0x1c570ed1: "pyrogram.raw.types.WebDocument",
0xf9c8bcc6: "pyrogram.raw.types.WebDocumentNoProxy",
0x9bed434d: "pyrogram.raw.types.InputWebDocument",
0xc239d686: "pyrogram.raw.types.InputWebFileLocation",
0x9f2221c9: "pyrogram.raw.types.InputWebFileGeoPointLocation",
0x21e753bc: "pyrogram.raw.types.upload.WebFile",
0x3f56aea3: "pyrogram.raw.types.payments.PaymentForm",
0xd1451883: "pyrogram.raw.types.payments.ValidatedRequestedInfo",
0x4e5f810d: "pyrogram.raw.types.payments.PaymentResult",
0xd8411139: "pyrogram.raw.types.payments.PaymentVerificationNeeded",
0x500911e1: "pyrogram.raw.types.payments.PaymentReceipt",
0xfb8fe43c: "pyrogram.raw.types.payments.SavedInfo",
0xc10eb2cf: "pyrogram.raw.types.InputPaymentCredentialsSaved",
0x3417d728: "pyrogram.raw.types.InputPaymentCredentials",
0xaa1c39f: "pyrogram.raw.types.InputPaymentCredentialsApplePay",
0x8ac32801: "pyrogram.raw.types.InputPaymentCredentialsGooglePay",
0xdb64fd34: "pyrogram.raw.types.account.TmpPassword",
0xb6213cdf: "pyrogram.raw.types.ShippingOption",
0xffa0a496: "pyrogram.raw.types.InputStickerSetItem",
0x1e36fded: "pyrogram.raw.types.InputPhoneCall",
0x5366c915: "pyrogram.raw.types.PhoneCallEmpty",
0x1b8f4ad1: "pyrogram.raw.types.PhoneCallWaiting",
0x87eabb53: "pyrogram.raw.types.PhoneCallRequested",
0x997c454a: "pyrogram.raw.types.PhoneCallAccepted",
0x8742ae7f: "pyrogram.raw.types.PhoneCall",
0x50ca4de1: "pyrogram.raw.types.PhoneCallDiscarded",
0x9d4c17c0: "pyrogram.raw.types.PhoneConnection",
0x635fe375: "pyrogram.raw.types.PhoneConnectionWebrtc",
0xfc878fc8: "pyrogram.raw.types.PhoneCallProtocol",
0xec82e140: "pyrogram.raw.types.phone.PhoneCall",
0xeea8e46e: "pyrogram.raw.types.upload.CdnFileReuploadNeeded",
0xa99fca4f: "pyrogram.raw.types.upload.CdnFile",
0xc982eaba: "pyrogram.raw.types.CdnPublicKey",
0x5725e40a: "pyrogram.raw.types.CdnConfig",
0xcad181f6: "pyrogram.raw.types.LangPackString",
0x6c47ac9f: "pyrogram.raw.types.LangPackStringPluralized",
0x2979eeb2: "pyrogram.raw.types.LangPackStringDeleted",
0xf385c1f6: "pyrogram.raw.types.LangPackDifference",
0xeeca5ce3: "pyrogram.raw.types.LangPackLanguage",
0xe6dfb825: "pyrogram.raw.types.ChannelAdminLogEventActionChangeTitle",
0x55188a2e: "pyrogram.raw.types.ChannelAdminLogEventActionChangeAbout",
0x6a4afc38: "pyrogram.raw.types.ChannelAdminLogEventActionChangeUsername",
0x434bd2af: "pyrogram.raw.types.ChannelAdminLogEventActionChangePhoto",
0x1b7907ae: "pyrogram.raw.types.ChannelAdminLogEventActionToggleInvites",
0x26ae0971: "pyrogram.raw.types.ChannelAdminLogEventActionToggleSignatures",
0xe9e82c18: "pyrogram.raw.types.ChannelAdminLogEventActionUpdatePinned",
0x709b2405: "pyrogram.raw.types.ChannelAdminLogEventActionEditMessage",
0x42e047bb: "pyrogram.raw.types.ChannelAdminLogEventActionDeleteMessage",
0x183040d3: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantJoin",
0xf89777f2: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantLeave",
0xe31c34d8: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantInvite",
0xe6d83d7e: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleBan",
0xd5676710: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleAdmin",
0xb1c3caa7: "pyrogram.raw.types.ChannelAdminLogEventActionChangeStickerSet",
0x5f5c95f1: "pyrogram.raw.types.ChannelAdminLogEventActionTogglePreHistoryHidden",
0x2df5fc0a: "pyrogram.raw.types.ChannelAdminLogEventActionDefaultBannedRights",
0x8f079643: "pyrogram.raw.types.ChannelAdminLogEventActionStopPoll",
0xa26f881b: "pyrogram.raw.types.ChannelAdminLogEventActionChangeLinkedChat",
0xe6b76ae: "pyrogram.raw.types.ChannelAdminLogEventActionChangeLocation",
0x53909779: "pyrogram.raw.types.ChannelAdminLogEventActionToggleSlowMode",
0x23209745: "pyrogram.raw.types.ChannelAdminLogEventActionStartGroupCall",
0xdb9f9140: "pyrogram.raw.types.ChannelAdminLogEventActionDiscardGroupCall",
0xf92424d2: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantMute",
0xe64429c0: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantUnmute",
0x56d6a247: "pyrogram.raw.types.ChannelAdminLogEventActionToggleGroupCallSetting",
0x3b5a3e40: "pyrogram.raw.types.ChannelAdminLogEvent",
0xed8af74d: "pyrogram.raw.types.channels.AdminLogResults",
0xea107ae4: "pyrogram.raw.types.ChannelAdminLogEventsFilter",
0x5ce14175: "pyrogram.raw.types.PopularContact",
0x9e8fa6d3: "pyrogram.raw.types.messages.FavedStickersNotModified",
0xf37f2f16: "pyrogram.raw.types.messages.FavedStickers",
0x46e1d13d: "pyrogram.raw.types.RecentMeUrlUnknown",
0x8dbc3336: "pyrogram.raw.types.RecentMeUrlUser",
0xa01b22f9: "pyrogram.raw.types.RecentMeUrlChat",
0xeb49081d: "pyrogram.raw.types.RecentMeUrlChatInvite",
0xbc0a57dc: "pyrogram.raw.types.RecentMeUrlStickerSet",
0xe0310d7: "pyrogram.raw.types.help.RecentMeUrls",
0x1cc6e91f: "pyrogram.raw.types.InputSingleMedia",
0xcac943f2: "pyrogram.raw.types.WebAuthorization",
0xed56c9fc: "pyrogram.raw.types.account.WebAuthorizations",
0xa676a322: "pyrogram.raw.types.InputMessageID",
0xbad88395: "pyrogram.raw.types.InputMessageReplyTo",
0x86872538: "pyrogram.raw.types.InputMessagePinned",
0xacfa1a7e: "pyrogram.raw.types.InputMessageCallbackQuery",
0xfcaafeb7: "pyrogram.raw.types.InputDialogPeer",
0x64600527: "pyrogram.raw.types.InputDialogPeerFolder",
0xe56dbf05: "pyrogram.raw.types.DialogPeer",
0x514519e2: "pyrogram.raw.types.DialogPeerFolder",
0xd54b65d: "pyrogram.raw.types.messages.FoundStickerSetsNotModified",
0x5108d648: "pyrogram.raw.types.messages.FoundStickerSets",
0x6242c773: "pyrogram.raw.types.FileHash",
0x75588b3f: "pyrogram.raw.types.InputClientProxy",
0xe3309f7f: "pyrogram.raw.types.help.TermsOfServiceUpdateEmpty",
0x28ecf961: "pyrogram.raw.types.help.TermsOfServiceUpdate",
0x3334b0f0: "pyrogram.raw.types.InputSecureFileUploaded",
0x5367e5be: "pyrogram.raw.types.InputSecureFile",
0x64199744: "pyrogram.raw.types.SecureFileEmpty",
0xe0277a62: "pyrogram.raw.types.SecureFile",
0x8aeabec3: "pyrogram.raw.types.SecureData",
0x7d6099dd: "pyrogram.raw.types.SecurePlainPhone",
0x21ec5a5f: "pyrogram.raw.types.SecurePlainEmail",
0x9d2a81e3: "pyrogram.raw.types.SecureValueTypePersonalDetails",
0x3dac6a00: "pyrogram.raw.types.SecureValueTypePassport",
0x6e425c4: "pyrogram.raw.types.SecureValueTypeDriverLicense",
0xa0d0744b: "pyrogram.raw.types.SecureValueTypeIdentityCard",
0x99a48f23: "pyrogram.raw.types.SecureValueTypeInternalPassport",
0xcbe31e26: "pyrogram.raw.types.SecureValueTypeAddress",
0xfc36954e: "pyrogram.raw.types.SecureValueTypeUtilityBill",
0x89137c0d: "pyrogram.raw.types.SecureValueTypeBankStatement",
0x8b883488: "pyrogram.raw.types.SecureValueTypeRentalAgreement",
0x99e3806a: "pyrogram.raw.types.SecureValueTypePassportRegistration",
0xea02ec33: "pyrogram.raw.types.SecureValueTypeTemporaryRegistration",
0xb320aadb: "pyrogram.raw.types.SecureValueTypePhone",
0x8e3ca7ee: "pyrogram.raw.types.SecureValueTypeEmail",
0x187fa0ca: "pyrogram.raw.types.SecureValue",
0xdb21d0a7: "pyrogram.raw.types.InputSecureValue",
0xed1ecdb0: "pyrogram.raw.types.SecureValueHash",
0xe8a40bd9: "pyrogram.raw.types.SecureValueErrorData",
0xbe3dfa: "pyrogram.raw.types.SecureValueErrorFrontSide",
0x868a2aa5: "pyrogram.raw.types.SecureValueErrorReverseSide",
0xe537ced6: "pyrogram.raw.types.SecureValueErrorSelfie",
0x7a700873: "pyrogram.raw.types.SecureValueErrorFile",
0x666220e9: "pyrogram.raw.types.SecureValueErrorFiles",
0x869d758f: "pyrogram.raw.types.SecureValueError",
0xa1144770: "pyrogram.raw.types.SecureValueErrorTranslationFile",
0x34636dd8: "pyrogram.raw.types.SecureValueErrorTranslationFiles",
0x33f0ea47: "pyrogram.raw.types.SecureCredentialsEncrypted",
0xad2e1cd8: "pyrogram.raw.types.account.AuthorizationForm",
0x811f854f: "pyrogram.raw.types.account.SentEmailCode",
0x66afa166: "pyrogram.raw.types.help.DeepLinkInfoEmpty",
0x6a4ee832: "pyrogram.raw.types.help.DeepLinkInfo",
0x1142bd56: "pyrogram.raw.types.SavedPhoneContact",
0x4dba4501: "pyrogram.raw.types.account.Takeout",
0xd45ab096: "pyrogram.raw.types.PasswordKdfAlgoUnknown",
0x3a912d4a: "pyrogram.raw.types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow",
0x4a8537: "pyrogram.raw.types.SecurePasswordKdfAlgoUnknown",
0xbbf2dda0: "pyrogram.raw.types.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000",
0x86471d92: "pyrogram.raw.types.SecurePasswordKdfAlgoSHA512",
0x1527bcac: "pyrogram.raw.types.SecureSecretSettings",
0x9880f658: "pyrogram.raw.types.InputCheckPasswordEmpty",
0xd27ff082: "pyrogram.raw.types.InputCheckPasswordSRP",
0x829d99da: "pyrogram.raw.types.SecureRequiredType",
0x27477b4: "pyrogram.raw.types.SecureRequiredTypeOneOf",
0xbfb9f457: "pyrogram.raw.types.help.PassportConfigNotModified",
0xa098d6af: "pyrogram.raw.types.help.PassportConfig",
0x1d1b1245: "pyrogram.raw.types.InputAppEvent",
0xc0de1bd9: "pyrogram.raw.types.JsonObjectValue",
0x3f6d7b68: "pyrogram.raw.types.JsonNull",
0xc7345e6a: "pyrogram.raw.types.JsonBool",
0x2be0dfa4: "pyrogram.raw.types.JsonNumber",
0xb71e767a: "pyrogram.raw.types.JsonString",
0xf7444763: "pyrogram.raw.types.JsonArray",
0x99c1d49d: "pyrogram.raw.types.JsonObject",
0x34566b6a: "pyrogram.raw.types.PageTableCell",
0xe0c0c5e5: "pyrogram.raw.types.PageTableRow",
0x6f747657: "pyrogram.raw.types.PageCaption",
0xb92fb6cd: "pyrogram.raw.types.PageListItemText",
0x25e073fc: "pyrogram.raw.types.PageListItemBlocks",
0x5e068047: "pyrogram.raw.types.PageListOrderedItemText",
0x98dd8936: "pyrogram.raw.types.PageListOrderedItemBlocks",
0xb390dc08: "pyrogram.raw.types.PageRelatedArticle",
0x98657f0d: "pyrogram.raw.types.Page",
0x8c05f1c9: "pyrogram.raw.types.help.SupportName",
0xf3ae2eed: "pyrogram.raw.types.help.UserInfoEmpty",
0x1eb3758: "pyrogram.raw.types.help.UserInfo",
0x6ca9c2e9: "pyrogram.raw.types.PollAnswer",
0x86e18161: "pyrogram.raw.types.Poll",
0x3b6ddad2: "pyrogram.raw.types.PollAnswerVoters",
0xbadcc1a3: "pyrogram.raw.types.PollResults",
0xf041e250: "pyrogram.raw.types.ChatOnlines",
0x47a971e0: "pyrogram.raw.types.StatsURL",
0x5fb224d5: "pyrogram.raw.types.ChatAdminRights",
0x9f120418: "pyrogram.raw.types.ChatBannedRights",
0xe630b979: "pyrogram.raw.types.InputWallPaper",
0x72091c80: "pyrogram.raw.types.InputWallPaperSlug",
0x8427bbac: "pyrogram.raw.types.InputWallPaperNoFile",
0x1c199183: "pyrogram.raw.types.account.WallPapersNotModified",
0x702b65a9: "pyrogram.raw.types.account.WallPapers",
0xdebebe83: "pyrogram.raw.types.CodeSettings",
0x5086cf8: "pyrogram.raw.types.WallPaperSettings",
0xe04232f3: "pyrogram.raw.types.AutoDownloadSettings",
0x63cacf26: "pyrogram.raw.types.account.AutoDownloadSettings",
0xd5b3b9f9: "pyrogram.raw.types.EmojiKeyword",
0x236df622: "pyrogram.raw.types.EmojiKeywordDeleted",
0x5cc761bd: "pyrogram.raw.types.EmojiKeywordsDifference",
0xa575739d: "pyrogram.raw.types.EmojiURL",
0xb3fb5361: "pyrogram.raw.types.EmojiLanguage",
0xbc7fc6cd: "pyrogram.raw.types.FileLocationToBeDeprecated",
0xff544e65: "pyrogram.raw.types.Folder",
0xfbd2c296: "pyrogram.raw.types.InputFolderPeer",
0xe9baa668: "pyrogram.raw.types.FolderPeer",
0xe844ebff: "pyrogram.raw.types.messages.SearchCounter",
0x92d33a0e: "pyrogram.raw.types.UrlAuthResultRequest",
0x8f8c0e4e: "pyrogram.raw.types.UrlAuthResultAccepted",
0xa9d6db1f: "pyrogram.raw.types.UrlAuthResultDefault",
0xbfb5ad8b: "pyrogram.raw.types.ChannelLocationEmpty",
0x209b82db: "pyrogram.raw.types.ChannelLocation",
0xca461b5d: "pyrogram.raw.types.PeerLocated",
0xf8ec284b: "pyrogram.raw.types.PeerSelfLocated",
0xd072acb4: "pyrogram.raw.types.RestrictionReason",
0x3c5693e9: "pyrogram.raw.types.InputTheme",
0xf5890df1: "pyrogram.raw.types.InputThemeSlug",
0x28f1114: "pyrogram.raw.types.Theme",
0xf41eb622: "pyrogram.raw.types.account.ThemesNotModified",
0x7f676421: "pyrogram.raw.types.account.Themes",
0x629f1980: "pyrogram.raw.types.auth.LoginToken",
0x68e9916: "pyrogram.raw.types.auth.LoginTokenMigrateTo",
0x390d5c5e: "pyrogram.raw.types.auth.LoginTokenSuccess",
0x57e28221: "pyrogram.raw.types.account.ContentSettings",
0xa927fec5: "pyrogram.raw.types.messages.InactiveChats",
0xc3a12462: "pyrogram.raw.types.BaseThemeClassic",
0xfbd81688: "pyrogram.raw.types.BaseThemeDay",
0xb7b31ea8: "pyrogram.raw.types.BaseThemeNight",
0x6d5f77ee: "pyrogram.raw.types.BaseThemeTinted",
0x5b11125a: "pyrogram.raw.types.BaseThemeArctic",
0xbd507cd1: "pyrogram.raw.types.InputThemeSettings",
0x9c14984a: "pyrogram.raw.types.ThemeSettings",
0x54b56617: "pyrogram.raw.types.WebPageAttributeTheme",
0xa28e5559: "pyrogram.raw.types.MessageUserVote",
0x36377430: "pyrogram.raw.types.MessageUserVoteInputOption",
0xe8fe0de: "pyrogram.raw.types.MessageUserVoteMultiple",
0x823f649: "pyrogram.raw.types.messages.VotesList",
0xf568028a: "pyrogram.raw.types.BankCardOpenUrl",
0x3e24e573: "pyrogram.raw.types.payments.BankCardData",
0x7438f7e8: "pyrogram.raw.types.DialogFilter",
0x77744d4a: "pyrogram.raw.types.DialogFilterSuggested",
0xb637edaf: "pyrogram.raw.types.StatsDateRangeDays",
0xcb43acde: "pyrogram.raw.types.StatsAbsValueAndPrev",
0xcbce2fe0: "pyrogram.raw.types.StatsPercentValue",
0x4a27eb2d: "pyrogram.raw.types.StatsGraphAsync",
0xbedc9822: "pyrogram.raw.types.StatsGraphError",
0x8ea464b6: "pyrogram.raw.types.StatsGraph",
0xad4fc9bd: "pyrogram.raw.types.MessageInteractionCounters",
0xbdf78394: "pyrogram.raw.types.stats.BroadcastStats",
0x98f6ac75: "pyrogram.raw.types.help.PromoDataEmpty",
0x8c39793f: "pyrogram.raw.types.help.PromoData",
0xe831c556: "pyrogram.raw.types.VideoSize",
0x18f3d0f7: "pyrogram.raw.types.StatsGroupTopPoster",
0x6014f412: "pyrogram.raw.types.StatsGroupTopAdmin",
0x31962a4c: "pyrogram.raw.types.StatsGroupTopInviter",
0xef7ff916: "pyrogram.raw.types.stats.MegagroupStats",
0xbea2f424: "pyrogram.raw.types.GlobalPrivacySettings",
0x4203c5ef: "pyrogram.raw.types.help.CountryCode",
0xc3878e23: "pyrogram.raw.types.help.Country",
0x93cc1f32: "pyrogram.raw.types.help.CountriesListNotModified",
0x87d0759e: "pyrogram.raw.types.help.CountriesList",
0x455b853d: "pyrogram.raw.types.MessageViews",
0xb6c4f543: "pyrogram.raw.types.messages.MessageViews",
0xf5dd8f9d: "pyrogram.raw.types.messages.DiscussionMessage",
0xa6d57763: "pyrogram.raw.types.MessageReplyHeader",
0x4128faac: "pyrogram.raw.types.MessageReplies",
0xe8fd8014: "pyrogram.raw.types.PeerBlocked",
0x8999f295: "pyrogram.raw.types.stats.MessageStats",
0x7780bcb4: "pyrogram.raw.types.GroupCallDiscarded",
0x55903081: "pyrogram.raw.types.GroupCall",
0xd8aa840f: "pyrogram.raw.types.InputGroupCall",
0x64c62a15: "pyrogram.raw.types.GroupCallParticipant",
0x66ab0bfc: "pyrogram.raw.types.phone.GroupCall",
0x9cfeb92d: "pyrogram.raw.types.phone.GroupParticipants",
0x3081ed9d: "pyrogram.raw.types.InlineQueryPeerTypeSameBotPM",
0x833c0fac: "pyrogram.raw.types.InlineQueryPeerTypePM",
0xd766c50a: "pyrogram.raw.types.InlineQueryPeerTypeChat",
0x5ec4be43: "pyrogram.raw.types.InlineQueryPeerTypeMegagroup",
0x6334ee9a: "pyrogram.raw.types.InlineQueryPeerTypeBroadcast",
0x1662af0b: "pyrogram.raw.types.messages.HistoryImport",
0x5e0fb7b9: "pyrogram.raw.types.messages.HistoryImportParsed",
0xef8d3e6c: "pyrogram.raw.types.messages.AffectedFoundMessages",
0xcb9f372d: "pyrogram.raw.functions.InvokeAfterMsg",
0x3dc4b4f0: "pyrogram.raw.functions.InvokeAfterMsgs",
0xc1cd5ea9: "pyrogram.raw.functions.InitConnection",
0xda9b0d0d: "pyrogram.raw.functions.InvokeWithLayer",
0xbf9459b7: "pyrogram.raw.functions.InvokeWithoutUpdates",
0x365275f2: "pyrogram.raw.functions.InvokeWithMessagesRange",
0xaca9fd2e: "pyrogram.raw.functions.InvokeWithTakeout",
0xa677244f: "pyrogram.raw.functions.auth.SendCode",
0x80eee427: "pyrogram.raw.functions.auth.SignUp",
0xbcd51581: "pyrogram.raw.functions.auth.SignIn",
0x5717da40: "pyrogram.raw.functions.auth.LogOut",
0x9fab0d1a: "pyrogram.raw.functions.auth.ResetAuthorizations",
0xe5bfffcd: "pyrogram.raw.functions.auth.ExportAuthorization",
0xe3ef9613: "pyrogram.raw.functions.auth.ImportAuthorization",
0xcdd42a05: "pyrogram.raw.functions.auth.BindTempAuthKey",
0x67a3ff2c: "pyrogram.raw.functions.auth.ImportBotAuthorization",
0xd18b4d16: "pyrogram.raw.functions.auth.CheckPassword",
0xd897bc66: "pyrogram.raw.functions.auth.RequestPasswordRecovery",
0x4ea56e92: "pyrogram.raw.functions.auth.RecoverPassword",
0x3ef1a9bf: "pyrogram.raw.functions.auth.ResendCode",
0x1f040578: "pyrogram.raw.functions.auth.CancelCode",
0x8e48a188: "pyrogram.raw.functions.auth.DropTempAuthKeys",
0xb1b41517: "pyrogram.raw.functions.auth.ExportLoginToken",
0x95ac5ce4: "pyrogram.raw.functions.auth.ImportLoginToken",
0xe894ad4d: "pyrogram.raw.functions.auth.AcceptLoginToken",
0x68976c6f: "pyrogram.raw.functions.account.RegisterDevice",
0x3076c4bf: "pyrogram.raw.functions.account.UnregisterDevice",
0x84be5b93: "pyrogram.raw.functions.account.UpdateNotifySettings",
0x12b3ad31: "pyrogram.raw.functions.account.GetNotifySettings",
0xdb7e1747: "pyrogram.raw.functions.account.ResetNotifySettings",
0x78515775: "pyrogram.raw.functions.account.UpdateProfile",
0x6628562c: "pyrogram.raw.functions.account.UpdateStatus",
0xaabb1763: "pyrogram.raw.functions.account.GetWallPapers",
0xae189d5f: "pyrogram.raw.functions.account.ReportPeer",
0x2714d86c: "pyrogram.raw.functions.account.CheckUsername",
0x3e0bdd7c: "pyrogram.raw.functions.account.UpdateUsername",
0xdadbc950: "pyrogram.raw.functions.account.GetPrivacy",
0xc9f81ce8: "pyrogram.raw.functions.account.SetPrivacy",
0x418d4e0b: "pyrogram.raw.functions.account.DeleteAccount",
0x8fc711d: "pyrogram.raw.functions.account.GetAccountTTL",
0x2442485e: "pyrogram.raw.functions.account.SetAccountTTL",
0x82574ae5: "pyrogram.raw.functions.account.SendChangePhoneCode",
0x70c32edb: "pyrogram.raw.functions.account.ChangePhone",
0x38df3532: "pyrogram.raw.functions.account.UpdateDeviceLocked",
0xe320c158: "pyrogram.raw.functions.account.GetAuthorizations",
0xdf77f3bc: "pyrogram.raw.functions.account.ResetAuthorization",
0x548a30f5: "pyrogram.raw.functions.account.GetPassword",
0x9cd4eaf9: "pyrogram.raw.functions.account.GetPasswordSettings",
0xa59b102f: "pyrogram.raw.functions.account.UpdatePasswordSettings",
0x1b3faa88: "pyrogram.raw.functions.account.SendConfirmPhoneCode",
0x5f2178c3: "pyrogram.raw.functions.account.ConfirmPhone",
0x449e0b51: "pyrogram.raw.functions.account.GetTmpPassword",
0x182e6d6f: "pyrogram.raw.functions.account.GetWebAuthorizations",
0x2d01b9ef: "pyrogram.raw.functions.account.ResetWebAuthorization",
0x682d2594: "pyrogram.raw.functions.account.ResetWebAuthorizations",
0xb288bc7d: "pyrogram.raw.functions.account.GetAllSecureValues",
0x73665bc2: "pyrogram.raw.functions.account.GetSecureValue",
0x899fe31d: "pyrogram.raw.functions.account.SaveSecureValue",
0xb880bc4b: "pyrogram.raw.functions.account.DeleteSecureValue",
0xb86ba8e1: "pyrogram.raw.functions.account.GetAuthorizationForm",
0xe7027c94: "pyrogram.raw.functions.account.AcceptAuthorization",
0xa5a356f9: "pyrogram.raw.functions.account.SendVerifyPhoneCode",
0x4dd3a7f6: "pyrogram.raw.functions.account.VerifyPhone",
0x7011509f: "pyrogram.raw.functions.account.SendVerifyEmailCode",
0xecba39db: "pyrogram.raw.functions.account.VerifyEmail",
0xf05b4804: "pyrogram.raw.functions.account.InitTakeoutSession",
0x1d2652ee: "pyrogram.raw.functions.account.FinishTakeoutSession",
0x8fdf1920: "pyrogram.raw.functions.account.ConfirmPasswordEmail",
0x7a7f2a15: "pyrogram.raw.functions.account.ResendPasswordEmail",
0xc1cbd5b6: "pyrogram.raw.functions.account.CancelPasswordEmail",
0x9f07c728: "pyrogram.raw.functions.account.GetContactSignUpNotification",
0xcff43f61: "pyrogram.raw.functions.account.SetContactSignUpNotification",
0x53577479: "pyrogram.raw.functions.account.GetNotifyExceptions",
0xfc8ddbea: "pyrogram.raw.functions.account.GetWallPaper",
0xdd853661: "pyrogram.raw.functions.account.UploadWallPaper",
0x6c5a5b37: "pyrogram.raw.functions.account.SaveWallPaper",
0xfeed5769: "pyrogram.raw.functions.account.InstallWallPaper",
0xbb3b9804: "pyrogram.raw.functions.account.ResetWallPapers",
0x56da0b3f: "pyrogram.raw.functions.account.GetAutoDownloadSettings",
0x76f36233: "pyrogram.raw.functions.account.SaveAutoDownloadSettings",
0x1c3db333: "pyrogram.raw.functions.account.UploadTheme",
0x8432c21f: "pyrogram.raw.functions.account.CreateTheme",
0x5cb367d5: "pyrogram.raw.functions.account.UpdateTheme",
0xf257106c: "pyrogram.raw.functions.account.SaveTheme",
0x7ae43737: "pyrogram.raw.functions.account.InstallTheme",
0x8d9d742b: "pyrogram.raw.functions.account.GetTheme",
0x285946f8: "pyrogram.raw.functions.account.GetThemes",
0xb574b16b: "pyrogram.raw.functions.account.SetContentSettings",
0x8b9b4dae: "pyrogram.raw.functions.account.GetContentSettings",
0x65ad71dc: "pyrogram.raw.functions.account.GetMultiWallPapers",
0xeb2b4cf6: "pyrogram.raw.functions.account.GetGlobalPrivacySettings",
0x1edaaac2: "pyrogram.raw.functions.account.SetGlobalPrivacySettings",
0xd91a548: "pyrogram.raw.functions.users.GetUsers",
0xca30a5b1: "pyrogram.raw.functions.users.GetFullUser",
0x90c894b5: "pyrogram.raw.functions.users.SetSecureValueErrors",
0x2caa4a42: "pyrogram.raw.functions.contacts.GetContactIDs",
0xc4a353ee: "pyrogram.raw.functions.contacts.GetStatuses",
0xc023849f: "pyrogram.raw.functions.contacts.GetContacts",
0x2c800be5: "pyrogram.raw.functions.contacts.ImportContacts",
0x96a0e00: "pyrogram.raw.functions.contacts.DeleteContacts",
0x1013fd9e: "pyrogram.raw.functions.contacts.DeleteByPhones",
0x68cc1411: "pyrogram.raw.functions.contacts.Block",
0xbea65d50: "pyrogram.raw.functions.contacts.Unblock",
0xf57c350f: "pyrogram.raw.functions.contacts.GetBlocked",
0x11f812d8: "pyrogram.raw.functions.contacts.Search",
0xf93ccba3: "pyrogram.raw.functions.contacts.ResolveUsername",
0xd4982db5: "pyrogram.raw.functions.contacts.GetTopPeers",
0x1ae373ac: "pyrogram.raw.functions.contacts.ResetTopPeerRating",
0x879537f1: "pyrogram.raw.functions.contacts.ResetSaved",
0x82f1e39f: "pyrogram.raw.functions.contacts.GetSaved",
0x8514bdda: "pyrogram.raw.functions.contacts.ToggleTopPeers",
0xe8f463d0: "pyrogram.raw.functions.contacts.AddContact",
0xf831a20f: "pyrogram.raw.functions.contacts.AcceptContact",
0xd348bc44: "pyrogram.raw.functions.contacts.GetLocated",
0x29a8962c: "pyrogram.raw.functions.contacts.BlockFromReplies",
0x63c66506: "pyrogram.raw.functions.messages.GetMessages",
0xa0ee3b73: "pyrogram.raw.functions.messages.GetDialogs",
0xdcbb8260: "pyrogram.raw.functions.messages.GetHistory",
0xc352eec: "pyrogram.raw.functions.messages.Search",
0xe306d3a: "pyrogram.raw.functions.messages.ReadHistory",
0x1c015b09: "pyrogram.raw.functions.messages.DeleteHistory",
0xe58e95d2: "pyrogram.raw.functions.messages.DeleteMessages",
0x5a954c0: "pyrogram.raw.functions.messages.ReceivedMessages",
0x58943ee2: "pyrogram.raw.functions.messages.SetTyping",
0x520c3870: "pyrogram.raw.functions.messages.SendMessage",
0x3491eba9: "pyrogram.raw.functions.messages.SendMedia",
0xd9fee60e: "pyrogram.raw.functions.messages.ForwardMessages",
0xcf1592db: "pyrogram.raw.functions.messages.ReportSpam",
0x3672e09c: "pyrogram.raw.functions.messages.GetPeerSettings",
0xbd82b658: "pyrogram.raw.functions.messages.Report",
0x3c6aa187: "pyrogram.raw.functions.messages.GetChats",
0x3b831c66: "pyrogram.raw.functions.messages.GetFullChat",
0xdc452855: "pyrogram.raw.functions.messages.EditChatTitle",
0xca4c79d8: "pyrogram.raw.functions.messages.EditChatPhoto",
0xf9a0aa09: "pyrogram.raw.functions.messages.AddChatUser",
0xc534459a: "pyrogram.raw.functions.messages.DeleteChatUser",
0x9cb126e: "pyrogram.raw.functions.messages.CreateChat",
0x26cf8950: "pyrogram.raw.functions.messages.GetDhConfig",
0xf64daf43: "pyrogram.raw.functions.messages.RequestEncryption",
0x3dbc0415: "pyrogram.raw.functions.messages.AcceptEncryption",
0xf393aea0: "pyrogram.raw.functions.messages.DiscardEncryption",
0x791451ed: "pyrogram.raw.functions.messages.SetEncryptedTyping",
0x7f4b690a: "pyrogram.raw.functions.messages.ReadEncryptedHistory",
0x44fa7a15: "pyrogram.raw.functions.messages.SendEncrypted",
0x5559481d: "pyrogram.raw.functions.messages.SendEncryptedFile",
0x32d439a4: "pyrogram.raw.functions.messages.SendEncryptedService",
0x55a5bb66: "pyrogram.raw.functions.messages.ReceivedQueue",
0x4b0c8c0f: "pyrogram.raw.functions.messages.ReportEncryptedSpam",
0x36a73f77: "pyrogram.raw.functions.messages.ReadMessageContents",
0x43d4f2c: "pyrogram.raw.functions.messages.GetStickers",
0x1c9618b1: "pyrogram.raw.functions.messages.GetAllStickers",
0x8b68b0cc: "pyrogram.raw.functions.messages.GetWebPagePreview",
0xdf7534c: "pyrogram.raw.functions.messages.ExportChatInvite",
0x3eadb1bb: "pyrogram.raw.functions.messages.CheckChatInvite",
0x6c50051c: "pyrogram.raw.functions.messages.ImportChatInvite",
0x2619a90e: "pyrogram.raw.functions.messages.GetStickerSet",
0xc78fe460: "pyrogram.raw.functions.messages.InstallStickerSet",
0xf96e55de: "pyrogram.raw.functions.messages.UninstallStickerSet",
0xe6df7378: "pyrogram.raw.functions.messages.StartBot",
0x5784d3e1: "pyrogram.raw.functions.messages.GetMessagesViews",
0xa9e69f2e: "pyrogram.raw.functions.messages.EditChatAdmin",
0x15a3b8e3: "pyrogram.raw.functions.messages.MigrateChat",
0x4bc6589a: "pyrogram.raw.functions.messages.SearchGlobal",
0x78337739: "pyrogram.raw.functions.messages.ReorderStickerSets",
0x338e2464: "pyrogram.raw.functions.messages.GetDocumentByHash",
0x83bf3d52: "pyrogram.raw.functions.messages.GetSavedGifs",
0x327a30cb: "pyrogram.raw.functions.messages.SaveGif",
0x514e999d: "pyrogram.raw.functions.messages.GetInlineBotResults",
0xeb5ea206: "pyrogram.raw.functions.messages.SetInlineBotResults",
0x220815b0: "pyrogram.raw.functions.messages.SendInlineBotResult",
0xfda68d36: "pyrogram.raw.functions.messages.GetMessageEditData",
0x48f71778: "pyrogram.raw.functions.messages.EditMessage",
0x83557dba: "pyrogram.raw.functions.messages.EditInlineBotMessage",
0x9342ca07: "pyrogram.raw.functions.messages.GetBotCallbackAnswer",
0xd58f130a: "pyrogram.raw.functions.messages.SetBotCallbackAnswer",
0xe470bcfd: "pyrogram.raw.functions.messages.GetPeerDialogs",
0xbc39e14b: "pyrogram.raw.functions.messages.SaveDraft",
0x6a3f8d65: "pyrogram.raw.functions.messages.GetAllDrafts",
0x2dacca4f: "pyrogram.raw.functions.messages.GetFeaturedStickers",
0x5b118126: "pyrogram.raw.functions.messages.ReadFeaturedStickers",
0x5ea192c9: "pyrogram.raw.functions.messages.GetRecentStickers",
0x392718f8: "pyrogram.raw.functions.messages.SaveRecentSticker",
0x8999602d: "pyrogram.raw.functions.messages.ClearRecentStickers",
0x57f17692: "pyrogram.raw.functions.messages.GetArchivedStickers",
0x65b8c79f: "pyrogram.raw.functions.messages.GetMaskStickers",
0xcc5b67cc: "pyrogram.raw.functions.messages.GetAttachedStickers",
0x8ef8ecc0: "pyrogram.raw.functions.messages.SetGameScore",
0x15ad9f64: "pyrogram.raw.functions.messages.SetInlineGameScore",
0xe822649d: "pyrogram.raw.functions.messages.GetGameHighScores",
0xf635e1b: "pyrogram.raw.functions.messages.GetInlineGameHighScores",
0xd0a48c4: "pyrogram.raw.functions.messages.GetCommonChats",
0xeba80ff0: "pyrogram.raw.functions.messages.GetAllChats",
0x32ca8f91: "pyrogram.raw.functions.messages.GetWebPage",
0xa731e257: "pyrogram.raw.functions.messages.ToggleDialogPin",
0x3b1adf37: "pyrogram.raw.functions.messages.ReorderPinnedDialogs",
0xd6b94df2: "pyrogram.raw.functions.messages.GetPinnedDialogs",
0xe5f672fa: "pyrogram.raw.functions.messages.SetBotShippingResults",
0x9c2dd95: "pyrogram.raw.functions.messages.SetBotPrecheckoutResults",
0x519bc2b1: "pyrogram.raw.functions.messages.UploadMedia",
0xc97df020: "pyrogram.raw.functions.messages.SendScreenshotNotification",
0x21ce0b0e: "pyrogram.raw.functions.messages.GetFavedStickers",
0xb9ffc55b: "pyrogram.raw.functions.messages.FaveSticker",
0x46578472: "pyrogram.raw.functions.messages.GetUnreadMentions",
0xf0189d3: "pyrogram.raw.functions.messages.ReadMentions",
0xbbc45b09: "pyrogram.raw.functions.messages.GetRecentLocations",
0xcc0110cb: "pyrogram.raw.functions.messages.SendMultiMedia",
0x5057c497: "pyrogram.raw.functions.messages.UploadEncryptedFile",
0xc2b7d08b: "pyrogram.raw.functions.messages.SearchStickerSets",
0x1cff7e08: "pyrogram.raw.functions.messages.GetSplitRanges",
0xc286d98f: "pyrogram.raw.functions.messages.MarkDialogUnread",
0x22e24e22: "pyrogram.raw.functions.messages.GetDialogUnreadMarks",
0x7e58ee9c: "pyrogram.raw.functions.messages.ClearAllDrafts",
0xd2aaf7ec: "pyrogram.raw.functions.messages.UpdatePinnedMessage",
0x10ea6184: "pyrogram.raw.functions.messages.SendVote",
0x73bb643b: "pyrogram.raw.functions.messages.GetPollResults",
0x6e2be050: "pyrogram.raw.functions.messages.GetOnlines",
0x812c2ae6: "pyrogram.raw.functions.messages.GetStatsURL",
0xdef60797: "pyrogram.raw.functions.messages.EditChatAbout",
0xa5866b41: "pyrogram.raw.functions.messages.EditChatDefaultBannedRights",
0x35a0e062: "pyrogram.raw.functions.messages.GetEmojiKeywords",
0x1508b6af: "pyrogram.raw.functions.messages.GetEmojiKeywordsDifference",
0x4e9963b2: "pyrogram.raw.functions.messages.GetEmojiKeywordsLanguages",
0xd5b10c26: "pyrogram.raw.functions.messages.GetEmojiURL",
0x732eef00: "pyrogram.raw.functions.messages.GetSearchCounters",
0xe33f5613: "pyrogram.raw.functions.messages.RequestUrlAuth",
0xf729ea98: "pyrogram.raw.functions.messages.AcceptUrlAuth",
0x4facb138: "pyrogram.raw.functions.messages.HidePeerSettingsBar",
0xe2c2685b: "pyrogram.raw.functions.messages.GetScheduledHistory",
0xbdbb0464: "pyrogram.raw.functions.messages.GetScheduledMessages",
0xbd38850a: "pyrogram.raw.functions.messages.SendScheduledMessages",
0x59ae2b16: "pyrogram.raw.functions.messages.DeleteScheduledMessages",
0xb86e380e: "pyrogram.raw.functions.messages.GetPollVotes",
0xb5052fea: "pyrogram.raw.functions.messages.ToggleStickerSets",
0xf19ed96d: "pyrogram.raw.functions.messages.GetDialogFilters",
0xa29cd42c: "pyrogram.raw.functions.messages.GetSuggestedDialogFilters",
0x1ad4a04a: "pyrogram.raw.functions.messages.UpdateDialogFilter",
0xc563c1e4: "pyrogram.raw.functions.messages.UpdateDialogFiltersOrder",
0x5fe7025b: "pyrogram.raw.functions.messages.GetOldFeaturedStickers",
0x24b581ba: "pyrogram.raw.functions.messages.GetReplies",
0x446972fd: "pyrogram.raw.functions.messages.GetDiscussionMessage",
0xf731a9f4: "pyrogram.raw.functions.messages.ReadDiscussion",
0xf025bc8b: "pyrogram.raw.functions.messages.UnpinAllMessages",
0x83247d11: "pyrogram.raw.functions.messages.DeleteChat",
0xf9cbe409: "pyrogram.raw.functions.messages.DeletePhoneCallHistory",
0x43fe19f3: "pyrogram.raw.functions.messages.CheckHistoryImport",
0x34090c3b: "pyrogram.raw.functions.messages.InitHistoryImport",
0x2a862092: "pyrogram.raw.functions.messages.UploadImportedMedia",
0xb43df344: "pyrogram.raw.functions.messages.StartHistoryImport",
0xedd4882a: "pyrogram.raw.functions.updates.GetState",
0x25939651: "pyrogram.raw.functions.updates.GetDifference",
0x3173d78: "pyrogram.raw.functions.updates.GetChannelDifference",
0x72d4742c: "pyrogram.raw.functions.photos.UpdateProfilePhoto",
0x89f30f69: "pyrogram.raw.functions.photos.UploadProfilePhoto",
0x87cf7f2f: "pyrogram.raw.functions.photos.DeletePhotos",
0x91cd32a8: "pyrogram.raw.functions.photos.GetUserPhotos",
0xb304a621: "pyrogram.raw.functions.upload.SaveFilePart",
0xb15a9afc: "pyrogram.raw.functions.upload.GetFile",
0xde7b673d: "pyrogram.raw.functions.upload.SaveBigFilePart",
0x24e6818d: "pyrogram.raw.functions.upload.GetWebFile",
0x2000bcc3: "pyrogram.raw.functions.upload.GetCdnFile",
0x9b2754a8: "pyrogram.raw.functions.upload.ReuploadCdnFile",
0x4da54231: "pyrogram.raw.functions.upload.GetCdnFileHashes",
0xc7025931: "pyrogram.raw.functions.upload.GetFileHashes",
0xc4f9186b: "pyrogram.raw.functions.help.GetConfig",
0x1fb33026: "pyrogram.raw.functions.help.GetNearestDc",
0x522d5a7d: "pyrogram.raw.functions.help.GetAppUpdate",
0x4d392343: "pyrogram.raw.functions.help.GetInviteText",
0x9cdf08cd: "pyrogram.raw.functions.help.GetSupport",
0x9010ef6f: "pyrogram.raw.functions.help.GetAppChangelog",
0xec22cfcd: "pyrogram.raw.functions.help.SetBotUpdatesStatus",
0x52029342: "pyrogram.raw.functions.help.GetCdnConfig",
0x3dc0f114: "pyrogram.raw.functions.help.GetRecentMeUrls",
0x2ca51fd1: "pyrogram.raw.functions.help.GetTermsOfServiceUpdate",
0xee72f79a: "pyrogram.raw.functions.help.AcceptTermsOfService",
0x3fedc75f: "pyrogram.raw.functions.help.GetDeepLinkInfo",
0x98914110: "pyrogram.raw.functions.help.GetAppConfig",
0x6f02f748: "pyrogram.raw.functions.help.SaveAppLog",
0xc661ad08: "pyrogram.raw.functions.help.GetPassportConfig",
0xd360e72c: "pyrogram.raw.functions.help.GetSupportName",
0x38a08d3: "pyrogram.raw.functions.help.GetUserInfo",
0x66b91b70: "pyrogram.raw.functions.help.EditUserInfo",
0xc0977421: "pyrogram.raw.functions.help.GetPromoData",
0x1e251c95: "pyrogram.raw.functions.help.HidePromoData",
0x77fa99f: "pyrogram.raw.functions.help.DismissSuggestion",
0x735787a8: "pyrogram.raw.functions.help.GetCountriesList",
0xcc104937: "pyrogram.raw.functions.channels.ReadHistory",
0x84c1fd4e: "pyrogram.raw.functions.channels.DeleteMessages",
0xd10dd71b: "pyrogram.raw.functions.channels.DeleteUserHistory",
0xfe087810: "pyrogram.raw.functions.channels.ReportSpam",
0xad8c9a23: "pyrogram.raw.functions.channels.GetMessages",
0x123e05e9: "pyrogram.raw.functions.channels.GetParticipants",
0x546dd7a6: "pyrogram.raw.functions.channels.GetParticipant",
0xa7f6bbb: "pyrogram.raw.functions.channels.GetChannels",
0x8736a09: "pyrogram.raw.functions.channels.GetFullChannel",
0x3d5fb10f: "pyrogram.raw.functions.channels.CreateChannel",
0xd33c8902: "pyrogram.raw.functions.channels.EditAdmin",
0x566decd0: "pyrogram.raw.functions.channels.EditTitle",
0xf12e57c9: "pyrogram.raw.functions.channels.EditPhoto",
0x10e6bd2c: "pyrogram.raw.functions.channels.CheckUsername",
0x3514b3de: "pyrogram.raw.functions.channels.UpdateUsername",
0x24b524c5: "pyrogram.raw.functions.channels.JoinChannel",
0xf836aa95: "pyrogram.raw.functions.channels.LeaveChannel",
0x199f3a6c: "pyrogram.raw.functions.channels.InviteToChannel",
0xc0111fe3: "pyrogram.raw.functions.channels.DeleteChannel",
0xe63fadeb: "pyrogram.raw.functions.channels.ExportMessageLink",
0x1f69b606: "pyrogram.raw.functions.channels.ToggleSignatures",
0xf8b036af: "pyrogram.raw.functions.channels.GetAdminedPublicChannels",
0x72796912: "pyrogram.raw.functions.channels.EditBanned",
0x33ddf480: "pyrogram.raw.functions.channels.GetAdminLog",
0xea8ca4f9: "pyrogram.raw.functions.channels.SetStickers",
0xeab5dc38: "pyrogram.raw.functions.channels.ReadMessageContents",
0xaf369d42: "pyrogram.raw.functions.channels.DeleteHistory",
0xeabbb94c: "pyrogram.raw.functions.channels.TogglePreHistoryHidden",
0x8341ecc0: "pyrogram.raw.functions.channels.GetLeftChannels",
0xf5dad378: "pyrogram.raw.functions.channels.GetGroupsForDiscussion",
0x40582bb2: "pyrogram.raw.functions.channels.SetDiscussionGroup",
0x8f38cd1f: "pyrogram.raw.functions.channels.EditCreator",
0x58e63f6d: "pyrogram.raw.functions.channels.EditLocation",
0xedd49ef0: "pyrogram.raw.functions.channels.ToggleSlowMode",
0x11e831ee: "pyrogram.raw.functions.channels.GetInactiveChannels",
0xaa2769ed: "pyrogram.raw.functions.bots.SendCustomRequest",
0xe6213f4d: "pyrogram.raw.functions.bots.AnswerWebhookJSONQuery",
0x805d46f6: "pyrogram.raw.functions.bots.SetBotCommands",
0x99f09745: "pyrogram.raw.functions.payments.GetPaymentForm",
0xa092a980: "pyrogram.raw.functions.payments.GetPaymentReceipt",
0x770a8e74: "pyrogram.raw.functions.payments.ValidateRequestedInfo",
0x2b8879b3: "pyrogram.raw.functions.payments.SendPaymentForm",
0x227d824b: "pyrogram.raw.functions.payments.GetSavedInfo",
0xd83d70c1: "pyrogram.raw.functions.payments.ClearSavedInfo",
0x2e79d779: "pyrogram.raw.functions.payments.GetBankCardData",
0xf1036780: "pyrogram.raw.functions.stickers.CreateStickerSet",
0xf7760f51: "pyrogram.raw.functions.stickers.RemoveStickerFromSet",
0xffb6d4ca: "pyrogram.raw.functions.stickers.ChangeStickerPosition",
0x8653febe: "pyrogram.raw.functions.stickers.AddStickerToSet",
0x9a364e30: "pyrogram.raw.functions.stickers.SetStickerSetThumb",
0x55451fa9: "pyrogram.raw.functions.phone.GetCallConfig",
0x42ff96ed: "pyrogram.raw.functions.phone.RequestCall",
0x3bd2b4a0: "pyrogram.raw.functions.phone.AcceptCall",
0x2efe1722: "pyrogram.raw.functions.phone.ConfirmCall",
0x17d54f61: "pyrogram.raw.functions.phone.ReceivedCall",
0xb2cbc1c0: "pyrogram.raw.functions.phone.DiscardCall",
0x59ead627: "pyrogram.raw.functions.phone.SetCallRating",
0x277add7e: "pyrogram.raw.functions.phone.SaveCallDebug",
0xff7a9383: "pyrogram.raw.functions.phone.SendSignalingData",
0xbd3dabe0: "pyrogram.raw.functions.phone.CreateGroupCall",
0x5f9c8e62: "pyrogram.raw.functions.phone.JoinGroupCall",
0x500377f9: "pyrogram.raw.functions.phone.LeaveGroupCall",
0xa5e76cd8: "pyrogram.raw.functions.phone.EditGroupCallMember",
0x7b393160: "pyrogram.raw.functions.phone.InviteToGroupCall",
0x7a777135: "pyrogram.raw.functions.phone.DiscardGroupCall",
0x74bbb43d: "pyrogram.raw.functions.phone.ToggleGroupCallSettings",
0xc7cb017: "pyrogram.raw.functions.phone.GetGroupCall",
0xc9f1d285: "pyrogram.raw.functions.phone.GetGroupParticipants",
0xb74a7bea: "pyrogram.raw.functions.phone.CheckGroupCall",
0xf2f2330a: "pyrogram.raw.functions.langpack.GetLangPack",
0xefea3803: "pyrogram.raw.functions.langpack.GetStrings",
0xcd984aa5: "pyrogram.raw.functions.langpack.GetDifference",
0x42c6978f: "pyrogram.raw.functions.langpack.GetLanguages",
0x6a596502: "pyrogram.raw.functions.langpack.GetLanguage",
0x6847d0ab: "pyrogram.raw.functions.folders.EditPeerFolders",
0x1c295881: "pyrogram.raw.functions.folders.DeleteFolder",
0xab42441a: "pyrogram.raw.functions.stats.GetBroadcastStats",
0x621d5fa0: "pyrogram.raw.functions.stats.LoadAsyncGraph",
0xdcdf8607: "pyrogram.raw.functions.stats.GetMegagroupStats",
0x5630281b: "pyrogram.raw.functions.stats.GetMessagePublicForwards",
0xb6e0a3f5: "pyrogram.raw.functions.stats.GetMessageStats",
0xbc799737: "pyrogram.raw.core.BoolFalse",
0x997275b5: "pyrogram.raw.core.BoolTrue",
0x1cb5c415: "pyrogram.raw.core.Vector",
0x73f1f8dc: "pyrogram.raw.core.MsgContainer",
0xae500895: "pyrogram.raw.core.FutureSalts",
0x0949d9dc: "pyrogram.raw.core.FutureSalt",
0x3072cfa1: "pyrogram.raw.core.GzipPacked",
0x5bb8e511: "pyrogram.raw.core.Message",
}
| layer = 123
objects = {85337187: 'pyrogram.raw.types.ResPQ', 2211011308: 'pyrogram.raw.types.PQInnerData', 2851430293: 'pyrogram.raw.types.PQInnerDataDc', 1013613780: 'pyrogram.raw.types.PQInnerDataTemp', 1459478408: 'pyrogram.raw.types.PQInnerDataTempDc', 1973679973: 'pyrogram.raw.types.BindAuthKeyInner', 2043348061: 'pyrogram.raw.types.ServerDHParamsFail', 3504867164: 'pyrogram.raw.types.ServerDHParamsOk', 3045658042: 'pyrogram.raw.types.ServerDHInnerData', 1715713620: 'pyrogram.raw.types.ClientDHInnerData', 1003222836: 'pyrogram.raw.types.DhGenOk', 1188831161: 'pyrogram.raw.types.DhGenRetry', 2795351554: 'pyrogram.raw.types.DhGenFail', 4133544404: 'pyrogram.raw.types.DestroyAuthKeyOk', 178201177: 'pyrogram.raw.types.DestroyAuthKeyNone', 3926956819: 'pyrogram.raw.types.DestroyAuthKeyFail', 1615239032: 'pyrogram.raw.functions.ReqPq', 3195965169: 'pyrogram.raw.functions.ReqPqMulti', 3608339646: 'pyrogram.raw.functions.ReqDHParams', 4110704415: 'pyrogram.raw.functions.SetClientDHParams', 3510849888: 'pyrogram.raw.functions.DestroyAuthKey', 1658238041: 'pyrogram.raw.types.MsgsAck', 2817521681: 'pyrogram.raw.types.BadMsgNotification', 3987424379: 'pyrogram.raw.types.BadServerSalt', 3664378706: 'pyrogram.raw.types.MsgsStateReq', 81704317: 'pyrogram.raw.types.MsgsStateInfo', 2361446705: 'pyrogram.raw.types.MsgsAllInfo', 661470918: 'pyrogram.raw.types.MsgDetailedInfo', 2157819615: 'pyrogram.raw.types.MsgNewDetailedInfo', 2105940488: 'pyrogram.raw.types.MsgResendReq', 2249243371: 'pyrogram.raw.types.MsgResendAnsReq', 4082920705: 'pyrogram.raw.types.RpcResult', 558156313: 'pyrogram.raw.types.RpcError', 1579864942: 'pyrogram.raw.types.RpcAnswerUnknown', 3447252358: 'pyrogram.raw.types.RpcAnswerDroppedRunning', 2755319991: 'pyrogram.raw.types.RpcAnswerDropped', 880243653: 'pyrogram.raw.types.Pong', 3793765884: 'pyrogram.raw.types.DestroySessionOk', 1658015945: 'pyrogram.raw.types.DestroySessionNone', 2663516424: 'pyrogram.raw.types.NewSessionCreated', 2459514271: 'pyrogram.raw.types.HttpWait', 3560156531: 'pyrogram.raw.types.IpPort', 932718150: 'pyrogram.raw.types.IpPortSecret', 1182381663: 'pyrogram.raw.types.AccessPointRule', 1515793004: 'pyrogram.raw.types.help.ConfigSimple', 1491380032: 'pyrogram.raw.functions.RpcDropAnswer', 3105996036: 'pyrogram.raw.functions.GetFutureSalts', 2059302892: 'pyrogram.raw.functions.Ping', 4081220492: 'pyrogram.raw.functions.PingDelayDisconnect', 3880853798: 'pyrogram.raw.functions.DestroySession', 2589945493: 'pyrogram.raw.functions.contest.SaveDeveloperInfo', 2134579434: 'pyrogram.raw.types.InputPeerEmpty', 2107670217: 'pyrogram.raw.types.InputPeerSelf', 396093539: 'pyrogram.raw.types.InputPeerChat', 2072935910: 'pyrogram.raw.types.InputPeerUser', 548253432: 'pyrogram.raw.types.InputPeerChannel', 398123750: 'pyrogram.raw.types.InputPeerUserFromMessage', 2627073979: 'pyrogram.raw.types.InputPeerChannelFromMessage', 3112732367: 'pyrogram.raw.types.InputUserEmpty', 4156666175: 'pyrogram.raw.types.InputUserSelf', 3626575894: 'pyrogram.raw.types.InputUser', 756118935: 'pyrogram.raw.types.InputUserFromMessage', 4086478836: 'pyrogram.raw.types.InputPhoneContact', 4113560191: 'pyrogram.raw.types.InputFile', 4199484341: 'pyrogram.raw.types.InputFileBig', 2523198847: 'pyrogram.raw.types.InputMediaEmpty', 505969924: 'pyrogram.raw.types.InputMediaUploadedPhoto', 3015312949: 'pyrogram.raw.types.InputMediaPhoto', 4190388548: 'pyrogram.raw.types.InputMediaGeoPoint', 4171988475: 'pyrogram.raw.types.InputMediaContact', 1530447553: 'pyrogram.raw.types.InputMediaUploadedDocument', 860303448: 'pyrogram.raw.types.InputMediaDocument', 3242007569: 'pyrogram.raw.types.InputMediaVenue', 3854302746: 'pyrogram.raw.types.InputMediaPhotoExternal', 4216511641: 'pyrogram.raw.types.InputMediaDocumentExternal', 3544138739: 'pyrogram.raw.types.InputMediaGame', 4108359363: 'pyrogram.raw.types.InputMediaInvoice', 2535434307: 'pyrogram.raw.types.InputMediaGeoLive', 261416433: 'pyrogram.raw.types.InputMediaPoll', 3866083195: 'pyrogram.raw.types.InputMediaDice', 480546647: 'pyrogram.raw.types.InputChatPhotoEmpty', 3326243406: 'pyrogram.raw.types.InputChatUploadedPhoto', 2303962423: 'pyrogram.raw.types.InputChatPhoto', 3837862870: 'pyrogram.raw.types.InputGeoPointEmpty', 1210199983: 'pyrogram.raw.types.InputGeoPoint', 483901197: 'pyrogram.raw.types.InputPhotoEmpty', 1001634122: 'pyrogram.raw.types.InputPhoto', 3755650017: 'pyrogram.raw.types.InputFileLocation', 4112735573: 'pyrogram.raw.types.InputEncryptedFileLocation', 3134223748: 'pyrogram.raw.types.InputDocumentFileLocation', 3418877480: 'pyrogram.raw.types.InputSecureFileLocation', 700340377: 'pyrogram.raw.types.InputTakeoutFileLocation', 1075322878: 'pyrogram.raw.types.InputPhotoFileLocation', 3627312883: 'pyrogram.raw.types.InputPhotoLegacyFileLocation', 668375447: 'pyrogram.raw.types.InputPeerPhotoFileLocation', 230353641: 'pyrogram.raw.types.InputStickerSetThumb', 2645671021: 'pyrogram.raw.types.PeerUser', 3134252475: 'pyrogram.raw.types.PeerChat', 3185435954: 'pyrogram.raw.types.PeerChannel', 2861972229: 'pyrogram.raw.types.storage.FileUnknown', 1086091090: 'pyrogram.raw.types.storage.FilePartial', 8322574: 'pyrogram.raw.types.storage.FileJpeg', 3403786975: 'pyrogram.raw.types.storage.FileGif', 172975040: 'pyrogram.raw.types.storage.FilePng', 2921222285: 'pyrogram.raw.types.storage.FilePdf', 1384777335: 'pyrogram.raw.types.storage.FileMp3', 1258941372: 'pyrogram.raw.types.storage.FileMov', 3016663268: 'pyrogram.raw.types.storage.FileMp4', 276907596: 'pyrogram.raw.types.storage.FileWebp', 537022650: 'pyrogram.raw.types.UserEmpty', 2474924225: 'pyrogram.raw.types.User', 1326562017: 'pyrogram.raw.types.UserProfilePhotoEmpty', 1775479590: 'pyrogram.raw.types.UserProfilePhoto', 164646985: 'pyrogram.raw.types.UserStatusEmpty', 3988339017: 'pyrogram.raw.types.UserStatusOnline', 9203775: 'pyrogram.raw.types.UserStatusOffline', 3798942449: 'pyrogram.raw.types.UserStatusRecently', 129960444: 'pyrogram.raw.types.UserStatusLastWeek', 2011940674: 'pyrogram.raw.types.UserStatusLastMonth', 2611140608: 'pyrogram.raw.types.ChatEmpty', 1004149726: 'pyrogram.raw.types.Chat', 120753115: 'pyrogram.raw.types.ChatForbidden', 3541734942: 'pyrogram.raw.types.Channel', 681420594: 'pyrogram.raw.types.ChannelForbidden', 4081535734: 'pyrogram.raw.types.ChatFull', 2055070967: 'pyrogram.raw.types.ChannelFull', 3369552190: 'pyrogram.raw.types.ChatParticipant', 3658699658: 'pyrogram.raw.types.ChatParticipantCreator', 3805733942: 'pyrogram.raw.types.ChatParticipantAdmin', 4237298731: 'pyrogram.raw.types.ChatParticipantsForbidden', 1061556205: 'pyrogram.raw.types.ChatParticipants', 935395612: 'pyrogram.raw.types.ChatPhotoEmpty', 3523977020: 'pyrogram.raw.types.ChatPhoto', 2426849924: 'pyrogram.raw.types.MessageEmpty', 1487813065: 'pyrogram.raw.types.Message', 678405636: 'pyrogram.raw.types.MessageService', 1038967584: 'pyrogram.raw.types.MessageMediaEmpty', 1766936791: 'pyrogram.raw.types.MessageMediaPhoto', 1457575028: 'pyrogram.raw.types.MessageMediaGeo', 3421653312: 'pyrogram.raw.types.MessageMediaContact', 2676290718: 'pyrogram.raw.types.MessageMediaUnsupported', 2628808919: 'pyrogram.raw.types.MessageMediaDocument', 2737690112: 'pyrogram.raw.types.MessageMediaWebPage', 784356159: 'pyrogram.raw.types.MessageMediaVenue', 4256272392: 'pyrogram.raw.types.MessageMediaGame', 2220168007: 'pyrogram.raw.types.MessageMediaInvoice', 3108030054: 'pyrogram.raw.types.MessageMediaGeoLive', 1272375192: 'pyrogram.raw.types.MessageMediaPoll', 1065280907: 'pyrogram.raw.types.MessageMediaDice', 3064919984: 'pyrogram.raw.types.MessageActionEmpty', 2791541658: 'pyrogram.raw.types.MessageActionChatCreate', 3047280218: 'pyrogram.raw.types.MessageActionChatEditTitle', 2144015272: 'pyrogram.raw.types.MessageActionChatEditPhoto', 2514746351: 'pyrogram.raw.types.MessageActionChatDeletePhoto', 1217033015: 'pyrogram.raw.types.MessageActionChatAddUser', 2997787404: 'pyrogram.raw.types.MessageActionChatDeleteUser', 4171036136: 'pyrogram.raw.types.MessageActionChatJoinedByLink', 2513611922: 'pyrogram.raw.types.MessageActionChannelCreate', 1371385889: 'pyrogram.raw.types.MessageActionChatMigrateTo', 2958420718: 'pyrogram.raw.types.MessageActionChannelMigrateFrom', 2495428845: 'pyrogram.raw.types.MessageActionPinMessage', 2679813636: 'pyrogram.raw.types.MessageActionHistoryClear', 2460428406: 'pyrogram.raw.types.MessageActionGameScore', 2402399015: 'pyrogram.raw.types.MessageActionPaymentSentMe', 1080663248: 'pyrogram.raw.types.MessageActionPaymentSent', 2162236031: 'pyrogram.raw.types.MessageActionPhoneCall', 1200788123: 'pyrogram.raw.types.MessageActionScreenshotTaken', 4209418070: 'pyrogram.raw.types.MessageActionCustomAction', 2884218878: 'pyrogram.raw.types.MessageActionBotAllowed', 455635795: 'pyrogram.raw.types.MessageActionSecureValuesSentMe', 3646710100: 'pyrogram.raw.types.MessageActionSecureValuesSent', 4092747638: 'pyrogram.raw.types.MessageActionContactSignUp', 2564871831: 'pyrogram.raw.types.MessageActionGeoProximityReached', 2047704898: 'pyrogram.raw.types.MessageActionGroupCall', 1991897370: 'pyrogram.raw.types.MessageActionInviteToGroupCall', 739712882: 'pyrogram.raw.types.Dialog', 1908216652: 'pyrogram.raw.types.DialogFolder', 590459437: 'pyrogram.raw.types.PhotoEmpty', 4212750949: 'pyrogram.raw.types.Photo', 236446268: 'pyrogram.raw.types.PhotoSizeEmpty', 2009052699: 'pyrogram.raw.types.PhotoSize', 3920049402: 'pyrogram.raw.types.PhotoCachedSize', 3769678894: 'pyrogram.raw.types.PhotoStrippedSize', 1520986705: 'pyrogram.raw.types.PhotoSizeProgressive', 3626061121: 'pyrogram.raw.types.PhotoPathSize', 286776671: 'pyrogram.raw.types.GeoPointEmpty', 2997024355: 'pyrogram.raw.types.GeoPoint', 1577067778: 'pyrogram.raw.types.auth.SentCode', 3439659286: 'pyrogram.raw.types.auth.Authorization', 1148485274: 'pyrogram.raw.types.auth.AuthorizationSignUpRequired', 3751189549: 'pyrogram.raw.types.auth.ExportedAuthorization', 3099351820: 'pyrogram.raw.types.InputNotifyPeer', 423314455: 'pyrogram.raw.types.InputNotifyUsers', 1251338318: 'pyrogram.raw.types.InputNotifyChats', 2983951486: 'pyrogram.raw.types.InputNotifyBroadcasts', 2621249934: 'pyrogram.raw.types.InputPeerNotifySettings', 2941295904: 'pyrogram.raw.types.PeerNotifySettings', 1933519201: 'pyrogram.raw.types.PeerSettings', 2755118061: 'pyrogram.raw.types.WallPaper', 2331249445: 'pyrogram.raw.types.WallPaperNoFile', 1490799288: 'pyrogram.raw.types.InputReportReasonSpam', 505595789: 'pyrogram.raw.types.InputReportReasonViolence', 777640226: 'pyrogram.raw.types.InputReportReasonPornography', 2918469347: 'pyrogram.raw.types.InputReportReasonChildAbuse', 3782503690: 'pyrogram.raw.types.InputReportReasonOther', 2609510714: 'pyrogram.raw.types.InputReportReasonCopyright', 3688169197: 'pyrogram.raw.types.InputReportReasonGeoIrrelevant', 4124956391: 'pyrogram.raw.types.InputReportReasonFake', 3992026130: 'pyrogram.raw.types.UserFull', 4178692500: 'pyrogram.raw.types.Contact', 3489825848: 'pyrogram.raw.types.ImportedContact', 3546811489: 'pyrogram.raw.types.ContactStatus', 3075189202: 'pyrogram.raw.types.contacts.ContactsNotModified', 3941105218: 'pyrogram.raw.types.contacts.Contacts', 2010127419: 'pyrogram.raw.types.contacts.ImportedContacts', 182326673: 'pyrogram.raw.types.contacts.Blocked', 3781575060: 'pyrogram.raw.types.contacts.BlockedSlice', 364538944: 'pyrogram.raw.types.messages.Dialogs', 1910543603: 'pyrogram.raw.types.messages.DialogsSlice', 4041467286: 'pyrogram.raw.types.messages.DialogsNotModified', 2356252295: 'pyrogram.raw.types.messages.Messages', 978610270: 'pyrogram.raw.types.messages.MessagesSlice', 1682413576: 'pyrogram.raw.types.messages.ChannelMessages', 1951620897: 'pyrogram.raw.types.messages.MessagesNotModified', 1694474197: 'pyrogram.raw.types.messages.Chats', 2631405892: 'pyrogram.raw.types.messages.ChatsSlice', 3856126364: 'pyrogram.raw.types.messages.ChatFull', 3025955281: 'pyrogram.raw.types.messages.AffectedHistory', 1474492012: 'pyrogram.raw.types.InputMessagesFilterEmpty', 2517214492: 'pyrogram.raw.types.InputMessagesFilterPhotos', 2680163941: 'pyrogram.raw.types.InputMessagesFilterVideo', 1458172132: 'pyrogram.raw.types.InputMessagesFilterPhotoVideo', 2665345416: 'pyrogram.raw.types.InputMessagesFilterDocument', 2129714567: 'pyrogram.raw.types.InputMessagesFilterUrl', 4291323271: 'pyrogram.raw.types.InputMessagesFilterGif', 1358283666: 'pyrogram.raw.types.InputMessagesFilterVoice', 928101534: 'pyrogram.raw.types.InputMessagesFilterMusic', 975236280: 'pyrogram.raw.types.InputMessagesFilterChatPhotos', 2160695144: 'pyrogram.raw.types.InputMessagesFilterPhoneCalls', 2054952868: 'pyrogram.raw.types.InputMessagesFilterRoundVoice', 3041516115: 'pyrogram.raw.types.InputMessagesFilterRoundVideo', 3254314650: 'pyrogram.raw.types.InputMessagesFilterMyMentions', 3875695885: 'pyrogram.raw.types.InputMessagesFilterGeo', 3764575107: 'pyrogram.raw.types.InputMessagesFilterContacts', 464520273: 'pyrogram.raw.types.InputMessagesFilterPinned', 522914557: 'pyrogram.raw.types.UpdateNewMessage', 1318109142: 'pyrogram.raw.types.UpdateMessageID', 2718806245: 'pyrogram.raw.types.UpdateDeleteMessages', 1548249383: 'pyrogram.raw.types.UpdateUserTyping', 2590370335: 'pyrogram.raw.types.UpdateChatUserTyping', 125178264: 'pyrogram.raw.types.UpdateChatParticipants', 469489699: 'pyrogram.raw.types.UpdateUserStatus', 2805148531: 'pyrogram.raw.types.UpdateUserName', 2503031564: 'pyrogram.raw.types.UpdateUserPhoto', 314359194: 'pyrogram.raw.types.UpdateNewEncryptedMessage', 386986326: 'pyrogram.raw.types.UpdateEncryptedChatTyping', 3030575245: 'pyrogram.raw.types.UpdateEncryption', 956179895: 'pyrogram.raw.types.UpdateEncryptedMessagesRead', 3930787420: 'pyrogram.raw.types.UpdateChatParticipantAdd', 1851755554: 'pyrogram.raw.types.UpdateChatParticipantDelete', 2388564083: 'pyrogram.raw.types.UpdateDcOptions', 3200411887: 'pyrogram.raw.types.UpdateNotifySettings', 3957614617: 'pyrogram.raw.types.UpdateServiceNotification', 3996854058: 'pyrogram.raw.types.UpdatePrivacy', 314130811: 'pyrogram.raw.types.UpdateUserPhone', 2627162079: 'pyrogram.raw.types.UpdateReadHistoryInbox', 791617983: 'pyrogram.raw.types.UpdateReadHistoryOutbox', 2139689491: 'pyrogram.raw.types.UpdateWebPage', 1757493555: 'pyrogram.raw.types.UpdateReadMessagesContents', 3942934523: 'pyrogram.raw.types.UpdateChannelTooLong', 3067369046: 'pyrogram.raw.types.UpdateChannel', 1656358105: 'pyrogram.raw.types.UpdateNewChannelMessage', 856380452: 'pyrogram.raw.types.UpdateReadChannelInbox', 3279233481: 'pyrogram.raw.types.UpdateDeleteChannelMessages', 2560699211: 'pyrogram.raw.types.UpdateChannelMessageViews', 3062896985: 'pyrogram.raw.types.UpdateChatParticipantAdmin', 1753886890: 'pyrogram.raw.types.UpdateNewStickerSet', 196268545: 'pyrogram.raw.types.UpdateStickerSetsOrder', 1135492588: 'pyrogram.raw.types.UpdateStickerSets', 2473931806: 'pyrogram.raw.types.UpdateSavedGifs', 1059076315: 'pyrogram.raw.types.UpdateBotInlineQuery', 239663460: 'pyrogram.raw.types.UpdateBotInlineSend', 457133559: 'pyrogram.raw.types.UpdateEditChannelMessage', 3879028705: 'pyrogram.raw.types.UpdateBotCallbackQuery', 3825430691: 'pyrogram.raw.types.UpdateEditMessage', 4191320666: 'pyrogram.raw.types.UpdateInlineBotCallbackQuery', 634833351: 'pyrogram.raw.types.UpdateReadChannelOutbox', 3995842921: 'pyrogram.raw.types.UpdateDraftMessage', 1461528386: 'pyrogram.raw.types.UpdateReadFeaturedStickers', 2588027936: 'pyrogram.raw.types.UpdateRecentStickers', 2720652550: 'pyrogram.raw.types.UpdateConfig', 861169551: 'pyrogram.raw.types.UpdatePtsChanged', 1081547008: 'pyrogram.raw.types.UpdateChannelWebPage', 1852826908: 'pyrogram.raw.types.UpdateDialogPinned', 4195302562: 'pyrogram.raw.types.UpdatePinnedDialogs', 2199371971: 'pyrogram.raw.types.UpdateBotWebhookJSON', 2610053286: 'pyrogram.raw.types.UpdateBotWebhookJSONQuery', 3771582784: 'pyrogram.raw.types.UpdateBotShippingQuery', 1563376297: 'pyrogram.raw.types.UpdateBotPrecheckoutQuery', 2869914398: 'pyrogram.raw.types.UpdatePhoneCall', 1180041828: 'pyrogram.raw.types.UpdateLangPackTooLong', 1442983757: 'pyrogram.raw.types.UpdateLangPack', 3843135853: 'pyrogram.raw.types.UpdateFavedStickers', 2307472197: 'pyrogram.raw.types.UpdateChannelReadMessagesContents', 1887741886: 'pyrogram.raw.types.UpdateContactsReset', 1893427255: 'pyrogram.raw.types.UpdateChannelAvailableMessages', 3781450179: 'pyrogram.raw.types.UpdateDialogUnreadMark', 2896258427: 'pyrogram.raw.types.UpdateMessagePoll', 1421875280: 'pyrogram.raw.types.UpdateChatDefaultBannedRights', 422972864: 'pyrogram.raw.types.UpdateFolderPeers', 1786671974: 'pyrogram.raw.types.UpdatePeerSettings', 3031420848: 'pyrogram.raw.types.UpdatePeerLocated', 967122427: 'pyrogram.raw.types.UpdateNewScheduledMessage', 2424728814: 'pyrogram.raw.types.UpdateDeleteScheduledMessages', 2182544291: 'pyrogram.raw.types.UpdateTheme', 2267003193: 'pyrogram.raw.types.UpdateGeoLiveViewed', 1448076945: 'pyrogram.raw.types.UpdateLoginToken', 1123585836: 'pyrogram.raw.types.UpdateMessagePollVote', 654302845: 'pyrogram.raw.types.UpdateDialogFilter', 2782339333: 'pyrogram.raw.types.UpdateDialogFilterOrder', 889491791: 'pyrogram.raw.types.UpdateDialogFilters', 643940105: 'pyrogram.raw.types.UpdatePhoneCallSignalingData', 1708307556: 'pyrogram.raw.types.UpdateChannelParticipant', 1854571743: 'pyrogram.raw.types.UpdateChannelMessageForwards', 482860628: 'pyrogram.raw.types.UpdateReadChannelDiscussionInbox', 1178116716: 'pyrogram.raw.types.UpdateReadChannelDiscussionOutbox', 610945826: 'pyrogram.raw.types.UpdatePeerBlocked', 4280991391: 'pyrogram.raw.types.UpdateChannelUserTyping', 3984976565: 'pyrogram.raw.types.UpdatePinnedMessages', 2240317323: 'pyrogram.raw.types.UpdatePinnedChannelMessages', 321954198: 'pyrogram.raw.types.UpdateChat', 4075543374: 'pyrogram.raw.types.UpdateGroupCallParticipants', 2757671323: 'pyrogram.raw.types.UpdateGroupCall', 2775329342: 'pyrogram.raw.types.updates.State', 1567990072: 'pyrogram.raw.types.updates.DifferenceEmpty', 16030880: 'pyrogram.raw.types.updates.Difference', 2835028353: 'pyrogram.raw.types.updates.DifferenceSlice', 1258196845: 'pyrogram.raw.types.updates.DifferenceTooLong', 3809980286: 'pyrogram.raw.types.UpdatesTooLong', 580309704: 'pyrogram.raw.types.UpdateShortMessage', 1076714939: 'pyrogram.raw.types.UpdateShortChatMessage', 2027216577: 'pyrogram.raw.types.UpdateShort', 1918567619: 'pyrogram.raw.types.UpdatesCombined', 1957577280: 'pyrogram.raw.types.Updates', 301019932: 'pyrogram.raw.types.UpdateShortSentMessage', 2378853029: 'pyrogram.raw.types.photos.Photos', 352657236: 'pyrogram.raw.types.photos.PhotosSlice', 539045032: 'pyrogram.raw.types.photos.Photo', 157948117: 'pyrogram.raw.types.upload.File', 4052539972: 'pyrogram.raw.types.upload.FileCdnRedirect', 414687501: 'pyrogram.raw.types.DcOption', 856375399: 'pyrogram.raw.types.Config', 2384074613: 'pyrogram.raw.types.NearestDc', 497489295: 'pyrogram.raw.types.help.AppUpdate', 3294258486: 'pyrogram.raw.types.help.NoAppUpdate', 415997816: 'pyrogram.raw.types.help.InviteText', 2877210784: 'pyrogram.raw.types.EncryptedChatEmpty', 1006044124: 'pyrogram.raw.types.EncryptedChatWaiting', 1651608194: 'pyrogram.raw.types.EncryptedChatRequested', 4199992886: 'pyrogram.raw.types.EncryptedChat', 505183301: 'pyrogram.raw.types.EncryptedChatDiscarded', 4047615457: 'pyrogram.raw.types.InputEncryptedChat', 3256830334: 'pyrogram.raw.types.EncryptedFileEmpty', 1248893260: 'pyrogram.raw.types.EncryptedFile', 406307684: 'pyrogram.raw.types.InputEncryptedFileEmpty', 1690108678: 'pyrogram.raw.types.InputEncryptedFileUploaded', 1511503333: 'pyrogram.raw.types.InputEncryptedFile', 767652808: 'pyrogram.raw.types.InputEncryptedFileBigUploaded', 3977822488: 'pyrogram.raw.types.EncryptedMessage', 594758406: 'pyrogram.raw.types.EncryptedMessageService', 3236054581: 'pyrogram.raw.types.messages.DhConfigNotModified', 740433629: 'pyrogram.raw.types.messages.DhConfig', 1443858741: 'pyrogram.raw.types.messages.SentEncryptedMessage', 2492727090: 'pyrogram.raw.types.messages.SentEncryptedFile', 1928391342: 'pyrogram.raw.types.InputDocumentEmpty', 448771445: 'pyrogram.raw.types.InputDocument', 922273905: 'pyrogram.raw.types.DocumentEmpty', 512177195: 'pyrogram.raw.types.Document', 398898678: 'pyrogram.raw.types.help.Support', 2681474008: 'pyrogram.raw.types.NotifyPeer', 3033021260: 'pyrogram.raw.types.NotifyUsers', 3221737155: 'pyrogram.raw.types.NotifyChats', 3591563503: 'pyrogram.raw.types.NotifyBroadcasts', 381645902: 'pyrogram.raw.types.SendMessageTypingAction', 4250847477: 'pyrogram.raw.types.SendMessageCancelAction', 2710034031: 'pyrogram.raw.types.SendMessageRecordVideoAction', 3916839660: 'pyrogram.raw.types.SendMessageUploadVideoAction', 3576656887: 'pyrogram.raw.types.SendMessageRecordAudioAction', 4082227115: 'pyrogram.raw.types.SendMessageUploadAudioAction', 3520285222: 'pyrogram.raw.types.SendMessageUploadPhotoAction', 2852968932: 'pyrogram.raw.types.SendMessageUploadDocumentAction', 393186209: 'pyrogram.raw.types.SendMessageGeoLocationAction', 1653390447: 'pyrogram.raw.types.SendMessageChooseContactAction', 3714748232: 'pyrogram.raw.types.SendMessageGamePlayAction', 2297593788: 'pyrogram.raw.types.SendMessageRecordRoundAction', 608050278: 'pyrogram.raw.types.SendMessageUploadRoundAction', 3643548293: 'pyrogram.raw.types.SpeakingInGroupCallAction', 3688534598: 'pyrogram.raw.types.SendMessageHistoryImportAction', 3004386717: 'pyrogram.raw.types.contacts.Found', 1335282456: 'pyrogram.raw.types.InputPrivacyKeyStatusTimestamp', 3187344422: 'pyrogram.raw.types.InputPrivacyKeyChatInvite', 4206550111: 'pyrogram.raw.types.InputPrivacyKeyPhoneCall', 3684593874: 'pyrogram.raw.types.InputPrivacyKeyPhoneP2P', 2765966344: 'pyrogram.raw.types.InputPrivacyKeyForwards', 1461304012: 'pyrogram.raw.types.InputPrivacyKeyProfilePhoto', 55761658: 'pyrogram.raw.types.InputPrivacyKeyPhoneNumber', 3508640733: 'pyrogram.raw.types.InputPrivacyKeyAddedByPhone', 3157175088: 'pyrogram.raw.types.PrivacyKeyStatusTimestamp', 1343122938: 'pyrogram.raw.types.PrivacyKeyChatInvite', 1030105979: 'pyrogram.raw.types.PrivacyKeyPhoneCall', 961092808: 'pyrogram.raw.types.PrivacyKeyPhoneP2P', 1777096355: 'pyrogram.raw.types.PrivacyKeyForwards', 2517966829: 'pyrogram.raw.types.PrivacyKeyProfilePhoto', 3516589165: 'pyrogram.raw.types.PrivacyKeyPhoneNumber', 1124062251: 'pyrogram.raw.types.PrivacyKeyAddedByPhone', 218751099: 'pyrogram.raw.types.InputPrivacyValueAllowContacts', 407582158: 'pyrogram.raw.types.InputPrivacyValueAllowAll', 320652927: 'pyrogram.raw.types.InputPrivacyValueAllowUsers', 195371015: 'pyrogram.raw.types.InputPrivacyValueDisallowContacts', 3597362889: 'pyrogram.raw.types.InputPrivacyValueDisallowAll', 2417034343: 'pyrogram.raw.types.InputPrivacyValueDisallowUsers', 1283572154: 'pyrogram.raw.types.InputPrivacyValueAllowChatParticipants', 3626197935: 'pyrogram.raw.types.InputPrivacyValueDisallowChatParticipants', 4294843308: 'pyrogram.raw.types.PrivacyValueAllowContacts', 1698855810: 'pyrogram.raw.types.PrivacyValueAllowAll', 1297858060: 'pyrogram.raw.types.PrivacyValueAllowUsers', 4169726490: 'pyrogram.raw.types.PrivacyValueDisallowContacts', 2339628899: 'pyrogram.raw.types.PrivacyValueDisallowAll', 209668535: 'pyrogram.raw.types.PrivacyValueDisallowUsers', 415136107: 'pyrogram.raw.types.PrivacyValueAllowChatParticipants', 2897086096: 'pyrogram.raw.types.PrivacyValueDisallowChatParticipants', 1352683077: 'pyrogram.raw.types.account.PrivacyRules', 3100684255: 'pyrogram.raw.types.AccountDaysTTL', 1815593308: 'pyrogram.raw.types.DocumentAttributeImageSize', 297109817: 'pyrogram.raw.types.DocumentAttributeAnimated', 1662637586: 'pyrogram.raw.types.DocumentAttributeSticker', 250621158: 'pyrogram.raw.types.DocumentAttributeVideo', 2555574726: 'pyrogram.raw.types.DocumentAttributeAudio', 358154344: 'pyrogram.raw.types.DocumentAttributeFilename', 2550256375: 'pyrogram.raw.types.DocumentAttributeHasStickers', 4050950690: 'pyrogram.raw.types.messages.StickersNotModified', 3831077821: 'pyrogram.raw.types.messages.Stickers', 313694676: 'pyrogram.raw.types.StickerPack', 3898999491: 'pyrogram.raw.types.messages.AllStickersNotModified', 3992797279: 'pyrogram.raw.types.messages.AllStickers', 2228326789: 'pyrogram.raw.types.messages.AffectedMessages', 3943987176: 'pyrogram.raw.types.WebPageEmpty', 3313949212: 'pyrogram.raw.types.WebPagePending', 3902555570: 'pyrogram.raw.types.WebPage', 1930545681: 'pyrogram.raw.types.WebPageNotModified', 2902578717: 'pyrogram.raw.types.Authorization', 307276766: 'pyrogram.raw.types.account.Authorizations', 2904965624: 'pyrogram.raw.types.account.Password', 2589733861: 'pyrogram.raw.types.account.PasswordSettings', 3258394569: 'pyrogram.raw.types.account.PasswordInputSettings', 326715557: 'pyrogram.raw.types.auth.PasswordRecovery', 2743383929: 'pyrogram.raw.types.ReceivedNotifyMessage', 1847917725: 'pyrogram.raw.types.ChatInviteExported', 1516793212: 'pyrogram.raw.types.ChatInviteAlready', 3754096014: 'pyrogram.raw.types.ChatInvite', 1634294960: 'pyrogram.raw.types.ChatInvitePeek', 4290128789: 'pyrogram.raw.types.InputStickerSetEmpty', 2649203305: 'pyrogram.raw.types.InputStickerSetID', 2250033312: 'pyrogram.raw.types.InputStickerSetShortName', 42402760: 'pyrogram.raw.types.InputStickerSetAnimatedEmoji', 3867103758: 'pyrogram.raw.types.InputStickerSetDice', 1088567208: 'pyrogram.raw.types.StickerSet', 3054118054: 'pyrogram.raw.types.messages.StickerSet', 3262826695: 'pyrogram.raw.types.BotCommand', 2565348666: 'pyrogram.raw.types.BotInfo', 2734311552: 'pyrogram.raw.types.KeyboardButton', 629866245: 'pyrogram.raw.types.KeyboardButtonUrl', 901503851: 'pyrogram.raw.types.KeyboardButtonCallback', 2976541737: 'pyrogram.raw.types.KeyboardButtonRequestPhone', 4235815743: 'pyrogram.raw.types.KeyboardButtonRequestGeoLocation', 90744648: 'pyrogram.raw.types.KeyboardButtonSwitchInline', 1358175439: 'pyrogram.raw.types.KeyboardButtonGame', 2950250427: 'pyrogram.raw.types.KeyboardButtonBuy', 280464681: 'pyrogram.raw.types.KeyboardButtonUrlAuth', 3492708308: 'pyrogram.raw.types.InputKeyboardButtonUrlAuth', 3150401885: 'pyrogram.raw.types.KeyboardButtonRequestPoll', 2002815875: 'pyrogram.raw.types.KeyboardButtonRow', 2688441221: 'pyrogram.raw.types.ReplyKeyboardHide', 4094724768: 'pyrogram.raw.types.ReplyKeyboardForceReply', 889353612: 'pyrogram.raw.types.ReplyKeyboardMarkup', 1218642516: 'pyrogram.raw.types.ReplyInlineMarkup', 3146955413: 'pyrogram.raw.types.MessageEntityUnknown', 4194588573: 'pyrogram.raw.types.MessageEntityMention', 1868782349: 'pyrogram.raw.types.MessageEntityHashtag', 1827637959: 'pyrogram.raw.types.MessageEntityBotCommand', 1859134776: 'pyrogram.raw.types.MessageEntityUrl', 1692693954: 'pyrogram.raw.types.MessageEntityEmail', 3177253833: 'pyrogram.raw.types.MessageEntityBold', 2188348256: 'pyrogram.raw.types.MessageEntityItalic', 681706865: 'pyrogram.raw.types.MessageEntityCode', 1938967520: 'pyrogram.raw.types.MessageEntityPre', 1990644519: 'pyrogram.raw.types.MessageEntityTextUrl', 892193368: 'pyrogram.raw.types.MessageEntityMentionName', 546203849: 'pyrogram.raw.types.InputMessageEntityMentionName', 2607407947: 'pyrogram.raw.types.MessageEntityPhone', 1280209983: 'pyrogram.raw.types.MessageEntityCashtag', 2622389899: 'pyrogram.raw.types.MessageEntityUnderline', 3204879316: 'pyrogram.raw.types.MessageEntityStrike', 34469328: 'pyrogram.raw.types.MessageEntityBlockquote', 1981704948: 'pyrogram.raw.types.MessageEntityBankCard', 4002160262: 'pyrogram.raw.types.InputChannelEmpty', 2951442734: 'pyrogram.raw.types.InputChannel', 707290417: 'pyrogram.raw.types.InputChannelFromMessage', 2131196633: 'pyrogram.raw.types.contacts.ResolvedPeer', 182649427: 'pyrogram.raw.types.MessageRange', 1041346555: 'pyrogram.raw.types.updates.ChannelDifferenceEmpty', 2763835134: 'pyrogram.raw.types.updates.ChannelDifferenceTooLong', 543450958: 'pyrogram.raw.types.updates.ChannelDifference', 2496933607: 'pyrogram.raw.types.ChannelMessagesFilterEmpty', 3447183703: 'pyrogram.raw.types.ChannelMessagesFilter', 367766557: 'pyrogram.raw.types.ChannelParticipant', 2737347181: 'pyrogram.raw.types.ChannelParticipantSelf', 1149094475: 'pyrogram.raw.types.ChannelParticipantCreator', 3435051951: 'pyrogram.raw.types.ChannelParticipantAdmin', 470789295: 'pyrogram.raw.types.ChannelParticipantBanned', 3284564331: 'pyrogram.raw.types.ChannelParticipantLeft', 3728686201: 'pyrogram.raw.types.ChannelParticipantsRecent', 3026225513: 'pyrogram.raw.types.ChannelParticipantsAdmins', 2746567045: 'pyrogram.raw.types.ChannelParticipantsKicked', 2966521435: 'pyrogram.raw.types.ChannelParticipantsBots', 338142689: 'pyrogram.raw.types.ChannelParticipantsBanned', 106343499: 'pyrogram.raw.types.ChannelParticipantsSearch', 3144345741: 'pyrogram.raw.types.ChannelParticipantsContacts', 3763035371: 'pyrogram.raw.types.ChannelParticipantsMentions', 4117684904: 'pyrogram.raw.types.channels.ChannelParticipants', 4028055529: 'pyrogram.raw.types.channels.ChannelParticipantsNotModified', 3503927651: 'pyrogram.raw.types.channels.ChannelParticipant', 2013922064: 'pyrogram.raw.types.help.TermsOfService', 3892468898: 'pyrogram.raw.types.messages.SavedGifsNotModified', 772213157: 'pyrogram.raw.types.messages.SavedGifs', 864077702: 'pyrogram.raw.types.InputBotInlineMessageMediaAuto', 1036876423: 'pyrogram.raw.types.InputBotInlineMessageText', 2526190213: 'pyrogram.raw.types.InputBotInlineMessageMediaGeo', 1098628881: 'pyrogram.raw.types.InputBotInlineMessageMediaVenue', 2800599037: 'pyrogram.raw.types.InputBotInlineMessageMediaContact', 1262639204: 'pyrogram.raw.types.InputBotInlineMessageGame', 2294256409: 'pyrogram.raw.types.InputBotInlineResult', 2832753831: 'pyrogram.raw.types.InputBotInlineResultPhoto', 4294507972: 'pyrogram.raw.types.InputBotInlineResultDocument', 1336154098: 'pyrogram.raw.types.InputBotInlineResultGame', 1984755728: 'pyrogram.raw.types.BotInlineMessageMediaAuto', 2357159394: 'pyrogram.raw.types.BotInlineMessageText', 85477117: 'pyrogram.raw.types.BotInlineMessageMediaGeo', 2324063644: 'pyrogram.raw.types.BotInlineMessageMediaVenue', 416402882: 'pyrogram.raw.types.BotInlineMessageMediaContact', 295067450: 'pyrogram.raw.types.BotInlineResult', 400266251: 'pyrogram.raw.types.BotInlineMediaResult', 2491197512: 'pyrogram.raw.types.messages.BotResults', 1571494644: 'pyrogram.raw.types.ExportedMessageLink', 1601666510: 'pyrogram.raw.types.MessageFwdHeader', 1923290508: 'pyrogram.raw.types.auth.CodeTypeSms', 1948046307: 'pyrogram.raw.types.auth.CodeTypeCall', 577556219: 'pyrogram.raw.types.auth.CodeTypeFlashCall', 1035688326: 'pyrogram.raw.types.auth.SentCodeTypeApp', 3221273506: 'pyrogram.raw.types.auth.SentCodeTypeSms', 1398007207: 'pyrogram.raw.types.auth.SentCodeTypeCall', 2869151449: 'pyrogram.raw.types.auth.SentCodeTypeFlashCall', 911761060: 'pyrogram.raw.types.messages.BotCallbackAnswer', 649453030: 'pyrogram.raw.types.messages.MessageEditData', 2299280777: 'pyrogram.raw.types.InputBotInlineMessageID', 1008755359: 'pyrogram.raw.types.InlineBotSwitchPM', 863093588: 'pyrogram.raw.types.messages.PeerDialogs', 3989684315: 'pyrogram.raw.types.TopPeer', 2875595611: 'pyrogram.raw.types.TopPeerCategoryBotsPM', 344356834: 'pyrogram.raw.types.TopPeerCategoryBotsInline', 104314861: 'pyrogram.raw.types.TopPeerCategoryCorrespondents', 3172442442: 'pyrogram.raw.types.TopPeerCategoryGroups', 371037736: 'pyrogram.raw.types.TopPeerCategoryChannels', 511092620: 'pyrogram.raw.types.TopPeerCategoryPhoneCalls', 2822794409: 'pyrogram.raw.types.TopPeerCategoryForwardUsers', 4226728176: 'pyrogram.raw.types.TopPeerCategoryForwardChats', 4219683473: 'pyrogram.raw.types.TopPeerCategoryPeers', 3727060725: 'pyrogram.raw.types.contacts.TopPeersNotModified', 1891070632: 'pyrogram.raw.types.contacts.TopPeers', 3039597469: 'pyrogram.raw.types.contacts.TopPeersDisabled', 453805082: 'pyrogram.raw.types.DraftMessageEmpty', 4253970719: 'pyrogram.raw.types.DraftMessage', 3336309862: 'pyrogram.raw.types.messages.FeaturedStickersNotModified', 3064709953: 'pyrogram.raw.types.messages.FeaturedStickers', 186120336: 'pyrogram.raw.types.messages.RecentStickersNotModified', 586395571: 'pyrogram.raw.types.messages.RecentStickers', 1338747336: 'pyrogram.raw.types.messages.ArchivedStickers', 946083368: 'pyrogram.raw.types.messages.StickerSetInstallResultSuccess', 904138920: 'pyrogram.raw.types.messages.StickerSetInstallResultArchive', 1678812626: 'pyrogram.raw.types.StickerSetCovered', 872932635: 'pyrogram.raw.types.StickerSetMultiCovered', 2933316530: 'pyrogram.raw.types.MaskCoords', 1251549527: 'pyrogram.raw.types.InputStickeredMediaPhoto', 70813275: 'pyrogram.raw.types.InputStickeredMediaDocument', 3187238203: 'pyrogram.raw.types.Game', 53231223: 'pyrogram.raw.types.InputGameID', 3274827786: 'pyrogram.raw.types.InputGameShortName', 1493171408: 'pyrogram.raw.types.HighScore', 2587622809: 'pyrogram.raw.types.messages.HighScores', 3695018575: 'pyrogram.raw.types.TextEmpty', 1950782688: 'pyrogram.raw.types.TextPlain', 1730456516: 'pyrogram.raw.types.TextBold', 3641877916: 'pyrogram.raw.types.TextItalic', 3240501956: 'pyrogram.raw.types.TextUnderline', 2616769429: 'pyrogram.raw.types.TextStrike', 1816074681: 'pyrogram.raw.types.TextFixed', 1009288385: 'pyrogram.raw.types.TextUrl', 3730443734: 'pyrogram.raw.types.TextEmail', 2120376535: 'pyrogram.raw.types.TextConcat', 3983181060: 'pyrogram.raw.types.TextSubscript', 3355139585: 'pyrogram.raw.types.TextSuperscript', 55281185: 'pyrogram.raw.types.TextMarked', 483104362: 'pyrogram.raw.types.TextPhone', 136105807: 'pyrogram.raw.types.TextImage', 894777186: 'pyrogram.raw.types.TextAnchor', 324435594: 'pyrogram.raw.types.PageBlockUnsupported', 1890305021: 'pyrogram.raw.types.PageBlockTitle', 2415565343: 'pyrogram.raw.types.PageBlockSubtitle', 3132089824: 'pyrogram.raw.types.PageBlockAuthorDate', 3218105580: 'pyrogram.raw.types.PageBlockHeader', 4046173921: 'pyrogram.raw.types.PageBlockSubheader', 1182402406: 'pyrogram.raw.types.PageBlockParagraph', 3228621118: 'pyrogram.raw.types.PageBlockPreformatted', 1216809369: 'pyrogram.raw.types.PageBlockFooter', 3676352904: 'pyrogram.raw.types.PageBlockDivider', 3456972720: 'pyrogram.raw.types.PageBlockAnchor', 3840442385: 'pyrogram.raw.types.PageBlockList', 641563686: 'pyrogram.raw.types.PageBlockBlockquote', 1329878739: 'pyrogram.raw.types.PageBlockPullquote', 391759200: 'pyrogram.raw.types.PageBlockPhoto', 2089805750: 'pyrogram.raw.types.PageBlockVideo', 972174080: 'pyrogram.raw.types.PageBlockCover', 2826014149: 'pyrogram.raw.types.PageBlockEmbed', 4065961995: 'pyrogram.raw.types.PageBlockEmbedPost', 1705048653: 'pyrogram.raw.types.PageBlockCollage', 52401552: 'pyrogram.raw.types.PageBlockSlideshow', 4011282869: 'pyrogram.raw.types.PageBlockChannel', 2151899626: 'pyrogram.raw.types.PageBlockAudio', 504660880: 'pyrogram.raw.types.PageBlockKicker', 3209554562: 'pyrogram.raw.types.PageBlockTable', 2592793057: 'pyrogram.raw.types.PageBlockOrderedList', 1987480557: 'pyrogram.raw.types.PageBlockDetails', 370236054: 'pyrogram.raw.types.PageBlockRelatedArticles', 2756656886: 'pyrogram.raw.types.PageBlockMap', 2246320897: 'pyrogram.raw.types.PhoneCallDiscardReasonMissed', 3767910816: 'pyrogram.raw.types.PhoneCallDiscardReasonDisconnect', 1471006352: 'pyrogram.raw.types.PhoneCallDiscardReasonHangup', 4210550985: 'pyrogram.raw.types.PhoneCallDiscardReasonBusy', 2104790276: 'pyrogram.raw.types.DataJSON', 3408489464: 'pyrogram.raw.types.LabeledPrice', 3272254296: 'pyrogram.raw.types.Invoice', 3926049406: 'pyrogram.raw.types.PaymentCharge', 512535275: 'pyrogram.raw.types.PostAddress', 2426158996: 'pyrogram.raw.types.PaymentRequestedInfo', 3452074527: 'pyrogram.raw.types.PaymentSavedCredentialsCard', 475467473: 'pyrogram.raw.types.WebDocument', 4190682310: 'pyrogram.raw.types.WebDocumentNoProxy', 2616017741: 'pyrogram.raw.types.InputWebDocument', 3258570374: 'pyrogram.raw.types.InputWebFileLocation', 2669814217: 'pyrogram.raw.types.InputWebFileGeoPointLocation', 568808380: 'pyrogram.raw.types.upload.WebFile', 1062645411: 'pyrogram.raw.types.payments.PaymentForm', 3510966403: 'pyrogram.raw.types.payments.ValidatedRequestedInfo', 1314881805: 'pyrogram.raw.types.payments.PaymentResult', 3628142905: 'pyrogram.raw.types.payments.PaymentVerificationNeeded', 1342771681: 'pyrogram.raw.types.payments.PaymentReceipt', 4220511292: 'pyrogram.raw.types.payments.SavedInfo', 3238965967: 'pyrogram.raw.types.InputPaymentCredentialsSaved', 873977640: 'pyrogram.raw.types.InputPaymentCredentials', 178373535: 'pyrogram.raw.types.InputPaymentCredentialsApplePay', 2328045569: 'pyrogram.raw.types.InputPaymentCredentialsGooglePay', 3680828724: 'pyrogram.raw.types.account.TmpPassword', 3055631583: 'pyrogram.raw.types.ShippingOption', 4288717974: 'pyrogram.raw.types.InputStickerSetItem', 506920429: 'pyrogram.raw.types.InputPhoneCall', 1399245077: 'pyrogram.raw.types.PhoneCallEmpty', 462375633: 'pyrogram.raw.types.PhoneCallWaiting', 2280307539: 'pyrogram.raw.types.PhoneCallRequested', 2575058250: 'pyrogram.raw.types.PhoneCallAccepted', 2269294207: 'pyrogram.raw.types.PhoneCall', 1355435489: 'pyrogram.raw.types.PhoneCallDiscarded', 2639009728: 'pyrogram.raw.types.PhoneConnection', 1667228533: 'pyrogram.raw.types.PhoneConnectionWebrtc', 4236742600: 'pyrogram.raw.types.PhoneCallProtocol', 3968000320: 'pyrogram.raw.types.phone.PhoneCall', 4004045934: 'pyrogram.raw.types.upload.CdnFileReuploadNeeded', 2845821519: 'pyrogram.raw.types.upload.CdnFile', 3380800186: 'pyrogram.raw.types.CdnPublicKey', 1462101002: 'pyrogram.raw.types.CdnConfig', 3402727926: 'pyrogram.raw.types.LangPackString', 1816636575: 'pyrogram.raw.types.LangPackStringPluralized', 695856818: 'pyrogram.raw.types.LangPackStringDeleted', 4085629430: 'pyrogram.raw.types.LangPackDifference', 4006239459: 'pyrogram.raw.types.LangPackLanguage', 3873421349: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeTitle', 1427671598: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeAbout', 1783299128: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeUsername', 1129042607: 'pyrogram.raw.types.ChannelAdminLogEventActionChangePhoto', 460916654: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleInvites', 648939889: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleSignatures', 3924306968: 'pyrogram.raw.types.ChannelAdminLogEventActionUpdatePinned', 1889215493: 'pyrogram.raw.types.ChannelAdminLogEventActionEditMessage', 1121994683: 'pyrogram.raw.types.ChannelAdminLogEventActionDeleteMessage', 405815507: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantJoin', 4170676210: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantLeave', 3810276568: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantInvite', 3872931198: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleBan', 3580323600: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleAdmin', 2982398631: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeStickerSet', 1599903217: 'pyrogram.raw.types.ChannelAdminLogEventActionTogglePreHistoryHidden', 771095562: 'pyrogram.raw.types.ChannelAdminLogEventActionDefaultBannedRights', 2399639107: 'pyrogram.raw.types.ChannelAdminLogEventActionStopPoll', 2725218331: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeLinkedChat', 241923758: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeLocation', 1401984889: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleSlowMode', 589338437: 'pyrogram.raw.types.ChannelAdminLogEventActionStartGroupCall', 3684667712: 'pyrogram.raw.types.ChannelAdminLogEventActionDiscardGroupCall', 4179895506: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantMute', 3863226816: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantUnmute', 1456906823: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleGroupCallSetting', 995769920: 'pyrogram.raw.types.ChannelAdminLogEvent', 3985307469: 'pyrogram.raw.types.channels.AdminLogResults', 3926948580: 'pyrogram.raw.types.ChannelAdminLogEventsFilter', 1558266229: 'pyrogram.raw.types.PopularContact', 2660214483: 'pyrogram.raw.types.messages.FavedStickersNotModified', 4085198614: 'pyrogram.raw.types.messages.FavedStickers', 1189204285: 'pyrogram.raw.types.RecentMeUrlUnknown', 2377921334: 'pyrogram.raw.types.RecentMeUrlUser', 2686132985: 'pyrogram.raw.types.RecentMeUrlChat', 3947431965: 'pyrogram.raw.types.RecentMeUrlChatInvite', 3154794460: 'pyrogram.raw.types.RecentMeUrlStickerSet', 235081943: 'pyrogram.raw.types.help.RecentMeUrls', 482797855: 'pyrogram.raw.types.InputSingleMedia', 3402187762: 'pyrogram.raw.types.WebAuthorization', 3981887996: 'pyrogram.raw.types.account.WebAuthorizations', 2792792866: 'pyrogram.raw.types.InputMessageID', 3134751637: 'pyrogram.raw.types.InputMessageReplyTo', 2257003832: 'pyrogram.raw.types.InputMessagePinned', 2902071934: 'pyrogram.raw.types.InputMessageCallbackQuery', 4239064759: 'pyrogram.raw.types.InputDialogPeer', 1684014375: 'pyrogram.raw.types.InputDialogPeerFolder', 3849174789: 'pyrogram.raw.types.DialogPeer', 1363483106: 'pyrogram.raw.types.DialogPeerFolder', 223655517: 'pyrogram.raw.types.messages.FoundStickerSetsNotModified', 1359533640: 'pyrogram.raw.types.messages.FoundStickerSets', 1648543603: 'pyrogram.raw.types.FileHash', 1968737087: 'pyrogram.raw.types.InputClientProxy', 3811614591: 'pyrogram.raw.types.help.TermsOfServiceUpdateEmpty', 686618977: 'pyrogram.raw.types.help.TermsOfServiceUpdate', 859091184: 'pyrogram.raw.types.InputSecureFileUploaded', 1399317950: 'pyrogram.raw.types.InputSecureFile', 1679398724: 'pyrogram.raw.types.SecureFileEmpty', 3760683618: 'pyrogram.raw.types.SecureFile', 2330640067: 'pyrogram.raw.types.SecureData', 2103482845: 'pyrogram.raw.types.SecurePlainPhone', 569137759: 'pyrogram.raw.types.SecurePlainEmail', 2636808675: 'pyrogram.raw.types.SecureValueTypePersonalDetails', 1034709504: 'pyrogram.raw.types.SecureValueTypePassport', 115615172: 'pyrogram.raw.types.SecureValueTypeDriverLicense', 2698015819: 'pyrogram.raw.types.SecureValueTypeIdentityCard', 2577698595: 'pyrogram.raw.types.SecureValueTypeInternalPassport', 3420659238: 'pyrogram.raw.types.SecureValueTypeAddress', 4231435598: 'pyrogram.raw.types.SecureValueTypeUtilityBill', 2299755533: 'pyrogram.raw.types.SecureValueTypeBankStatement', 2340959368: 'pyrogram.raw.types.SecureValueTypeRentalAgreement', 2581823594: 'pyrogram.raw.types.SecureValueTypePassportRegistration', 3926060083: 'pyrogram.raw.types.SecureValueTypeTemporaryRegistration', 3005262555: 'pyrogram.raw.types.SecureValueTypePhone', 2386339822: 'pyrogram.raw.types.SecureValueTypeEmail', 411017418: 'pyrogram.raw.types.SecureValue', 3676426407: 'pyrogram.raw.types.InputSecureValue', 3978218928: 'pyrogram.raw.types.SecureValueHash', 3903065049: 'pyrogram.raw.types.SecureValueErrorData', 12467706: 'pyrogram.raw.types.SecureValueErrorFrontSide', 2257201829: 'pyrogram.raw.types.SecureValueErrorReverseSide', 3845639894: 'pyrogram.raw.types.SecureValueErrorSelfie', 2054162547: 'pyrogram.raw.types.SecureValueErrorFile', 1717706985: 'pyrogram.raw.types.SecureValueErrorFiles', 2258466191: 'pyrogram.raw.types.SecureValueError', 2702460784: 'pyrogram.raw.types.SecureValueErrorTranslationFile', 878931416: 'pyrogram.raw.types.SecureValueErrorTranslationFiles', 871426631: 'pyrogram.raw.types.SecureCredentialsEncrypted', 2905480408: 'pyrogram.raw.types.account.AuthorizationForm', 2166326607: 'pyrogram.raw.types.account.SentEmailCode', 1722786150: 'pyrogram.raw.types.help.DeepLinkInfoEmpty', 1783556146: 'pyrogram.raw.types.help.DeepLinkInfo', 289586518: 'pyrogram.raw.types.SavedPhoneContact', 1304052993: 'pyrogram.raw.types.account.Takeout', 3562713238: 'pyrogram.raw.types.PasswordKdfAlgoUnknown', 982592842: 'pyrogram.raw.types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow', 4883767: 'pyrogram.raw.types.SecurePasswordKdfAlgoUnknown', 3153255840: 'pyrogram.raw.types.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000', 2252807570: 'pyrogram.raw.types.SecurePasswordKdfAlgoSHA512', 354925740: 'pyrogram.raw.types.SecureSecretSettings', 2558588504: 'pyrogram.raw.types.InputCheckPasswordEmpty', 3531600002: 'pyrogram.raw.types.InputCheckPasswordSRP', 2191366618: 'pyrogram.raw.types.SecureRequiredType', 41187252: 'pyrogram.raw.types.SecureRequiredTypeOneOf', 3216634967: 'pyrogram.raw.types.help.PassportConfigNotModified', 2694370991: 'pyrogram.raw.types.help.PassportConfig', 488313413: 'pyrogram.raw.types.InputAppEvent', 3235781593: 'pyrogram.raw.types.JsonObjectValue', 1064139624: 'pyrogram.raw.types.JsonNull', 3342098026: 'pyrogram.raw.types.JsonBool', 736157604: 'pyrogram.raw.types.JsonNumber', 3072226938: 'pyrogram.raw.types.JsonString', 4148447075: 'pyrogram.raw.types.JsonArray', 2579616925: 'pyrogram.raw.types.JsonObject', 878078826: 'pyrogram.raw.types.PageTableCell', 3770729957: 'pyrogram.raw.types.PageTableRow', 1869903447: 'pyrogram.raw.types.PageCaption', 3106911949: 'pyrogram.raw.types.PageListItemText', 635466748: 'pyrogram.raw.types.PageListItemBlocks', 1577484359: 'pyrogram.raw.types.PageListOrderedItemText', 2564655414: 'pyrogram.raw.types.PageListOrderedItemBlocks', 3012615176: 'pyrogram.raw.types.PageRelatedArticle', 2556788493: 'pyrogram.raw.types.Page', 2349199817: 'pyrogram.raw.types.help.SupportName', 4088278765: 'pyrogram.raw.types.help.UserInfoEmpty', 32192344: 'pyrogram.raw.types.help.UserInfo', 1823064809: 'pyrogram.raw.types.PollAnswer', 2262925665: 'pyrogram.raw.types.Poll', 997055186: 'pyrogram.raw.types.PollAnswerVoters', 3135029667: 'pyrogram.raw.types.PollResults', 4030849616: 'pyrogram.raw.types.ChatOnlines', 1202287072: 'pyrogram.raw.types.StatsURL', 1605510357: 'pyrogram.raw.types.ChatAdminRights', 2668758040: 'pyrogram.raw.types.ChatBannedRights', 3861952889: 'pyrogram.raw.types.InputWallPaper', 1913199744: 'pyrogram.raw.types.InputWallPaperSlug', 2217196460: 'pyrogram.raw.types.InputWallPaperNoFile', 471437699: 'pyrogram.raw.types.account.WallPapersNotModified', 1881892265: 'pyrogram.raw.types.account.WallPapers', 3737042563: 'pyrogram.raw.types.CodeSettings', 84438264: 'pyrogram.raw.types.WallPaperSettings', 3762434803: 'pyrogram.raw.types.AutoDownloadSettings', 1674235686: 'pyrogram.raw.types.account.AutoDownloadSettings', 3585325561: 'pyrogram.raw.types.EmojiKeyword', 594408994: 'pyrogram.raw.types.EmojiKeywordDeleted', 1556570557: 'pyrogram.raw.types.EmojiKeywordsDifference', 2775937949: 'pyrogram.raw.types.EmojiURL', 3019592545: 'pyrogram.raw.types.EmojiLanguage', 3162490573: 'pyrogram.raw.types.FileLocationToBeDeprecated', 4283715173: 'pyrogram.raw.types.Folder', 4224893590: 'pyrogram.raw.types.InputFolderPeer', 3921323624: 'pyrogram.raw.types.FolderPeer', 3896830975: 'pyrogram.raw.types.messages.SearchCounter', 2463316494: 'pyrogram.raw.types.UrlAuthResultRequest', 2408320590: 'pyrogram.raw.types.UrlAuthResultAccepted', 2849430303: 'pyrogram.raw.types.UrlAuthResultDefault', 3216354699: 'pyrogram.raw.types.ChannelLocationEmpty', 547062491: 'pyrogram.raw.types.ChannelLocation', 3393592157: 'pyrogram.raw.types.PeerLocated', 4176226379: 'pyrogram.raw.types.PeerSelfLocated', 3497176244: 'pyrogram.raw.types.RestrictionReason', 1012306921: 'pyrogram.raw.types.InputTheme', 4119399921: 'pyrogram.raw.types.InputThemeSlug', 42930452: 'pyrogram.raw.types.Theme', 4095653410: 'pyrogram.raw.types.account.ThemesNotModified', 2137482273: 'pyrogram.raw.types.account.Themes', 1654593920: 'pyrogram.raw.types.auth.LoginToken', 110008598: 'pyrogram.raw.types.auth.LoginTokenMigrateTo', 957176926: 'pyrogram.raw.types.auth.LoginTokenSuccess', 1474462241: 'pyrogram.raw.types.account.ContentSettings', 2837970629: 'pyrogram.raw.types.messages.InactiveChats', 3282117730: 'pyrogram.raw.types.BaseThemeClassic', 4225242760: 'pyrogram.raw.types.BaseThemeDay', 3081969320: 'pyrogram.raw.types.BaseThemeNight', 1834973166: 'pyrogram.raw.types.BaseThemeTinted', 1527845466: 'pyrogram.raw.types.BaseThemeArctic', 3176168657: 'pyrogram.raw.types.InputThemeSettings', 2618595402: 'pyrogram.raw.types.ThemeSettings', 1421174295: 'pyrogram.raw.types.WebPageAttributeTheme', 2727236953: 'pyrogram.raw.types.MessageUserVote', 909603888: 'pyrogram.raw.types.MessageUserVoteInputOption', 244310238: 'pyrogram.raw.types.MessageUserVoteMultiple', 136574537: 'pyrogram.raw.types.messages.VotesList', 4117234314: 'pyrogram.raw.types.BankCardOpenUrl', 1042605427: 'pyrogram.raw.types.payments.BankCardData', 1949890536: 'pyrogram.raw.types.DialogFilter', 2004110666: 'pyrogram.raw.types.DialogFilterSuggested', 3057118639: 'pyrogram.raw.types.StatsDateRangeDays', 3410210014: 'pyrogram.raw.types.StatsAbsValueAndPrev', 3419287520: 'pyrogram.raw.types.StatsPercentValue', 1244130093: 'pyrogram.raw.types.StatsGraphAsync', 3202127906: 'pyrogram.raw.types.StatsGraphError', 2393138358: 'pyrogram.raw.types.StatsGraph', 2907687357: 'pyrogram.raw.types.MessageInteractionCounters', 3187114900: 'pyrogram.raw.types.stats.BroadcastStats', 2566302837: 'pyrogram.raw.types.help.PromoDataEmpty', 2352576831: 'pyrogram.raw.types.help.PromoData', 3895575894: 'pyrogram.raw.types.VideoSize', 418631927: 'pyrogram.raw.types.StatsGroupTopPoster', 1611985938: 'pyrogram.raw.types.StatsGroupTopAdmin', 831924812: 'pyrogram.raw.types.StatsGroupTopInviter', 4018141462: 'pyrogram.raw.types.stats.MegagroupStats', 3198350372: 'pyrogram.raw.types.GlobalPrivacySettings', 1107543535: 'pyrogram.raw.types.help.CountryCode', 3280440867: 'pyrogram.raw.types.help.Country', 2479628082: 'pyrogram.raw.types.help.CountriesListNotModified', 2278585758: 'pyrogram.raw.types.help.CountriesList', 1163625789: 'pyrogram.raw.types.MessageViews', 3066361155: 'pyrogram.raw.types.messages.MessageViews', 4124938141: 'pyrogram.raw.types.messages.DiscussionMessage', 2799007587: 'pyrogram.raw.types.MessageReplyHeader', 1093204652: 'pyrogram.raw.types.MessageReplies', 3908927508: 'pyrogram.raw.types.PeerBlocked', 2308567701: 'pyrogram.raw.types.stats.MessageStats', 2004925620: 'pyrogram.raw.types.GroupCallDiscarded', 1435512961: 'pyrogram.raw.types.GroupCall', 3635053583: 'pyrogram.raw.types.InputGroupCall', 1690708501: 'pyrogram.raw.types.GroupCallParticipant', 1722485756: 'pyrogram.raw.types.phone.GroupCall', 2633939245: 'pyrogram.raw.types.phone.GroupParticipants', 813821341: 'pyrogram.raw.types.InlineQueryPeerTypeSameBotPM', 2201751468: 'pyrogram.raw.types.InlineQueryPeerTypePM', 3613836554: 'pyrogram.raw.types.InlineQueryPeerTypeChat', 1589952067: 'pyrogram.raw.types.InlineQueryPeerTypeMegagroup', 1664413338: 'pyrogram.raw.types.InlineQueryPeerTypeBroadcast', 375566091: 'pyrogram.raw.types.messages.HistoryImport', 1578088377: 'pyrogram.raw.types.messages.HistoryImportParsed', 4019011180: 'pyrogram.raw.types.messages.AffectedFoundMessages', 3416209197: 'pyrogram.raw.functions.InvokeAfterMsg', 1036301552: 'pyrogram.raw.functions.InvokeAfterMsgs', 3251461801: 'pyrogram.raw.functions.InitConnection', 3667594509: 'pyrogram.raw.functions.InvokeWithLayer', 3214170551: 'pyrogram.raw.functions.InvokeWithoutUpdates', 911373810: 'pyrogram.raw.functions.InvokeWithMessagesRange', 2896821550: 'pyrogram.raw.functions.InvokeWithTakeout', 2792825935: 'pyrogram.raw.functions.auth.SendCode', 2163139623: 'pyrogram.raw.functions.auth.SignUp', 3168081281: 'pyrogram.raw.functions.auth.SignIn', 1461180992: 'pyrogram.raw.functions.auth.LogOut', 2678787354: 'pyrogram.raw.functions.auth.ResetAuthorizations', 3854565325: 'pyrogram.raw.functions.auth.ExportAuthorization', 3824129555: 'pyrogram.raw.functions.auth.ImportAuthorization', 3453233669: 'pyrogram.raw.functions.auth.BindTempAuthKey', 1738800940: 'pyrogram.raw.functions.auth.ImportBotAuthorization', 3515567382: 'pyrogram.raw.functions.auth.CheckPassword', 3633822822: 'pyrogram.raw.functions.auth.RequestPasswordRecovery', 1319464594: 'pyrogram.raw.functions.auth.RecoverPassword', 1056025023: 'pyrogram.raw.functions.auth.ResendCode', 520357240: 'pyrogram.raw.functions.auth.CancelCode', 2387124616: 'pyrogram.raw.functions.auth.DropTempAuthKeys', 2981369111: 'pyrogram.raw.functions.auth.ExportLoginToken', 2511101156: 'pyrogram.raw.functions.auth.ImportLoginToken', 3902057805: 'pyrogram.raw.functions.auth.AcceptLoginToken', 1754754159: 'pyrogram.raw.functions.account.RegisterDevice', 813089983: 'pyrogram.raw.functions.account.UnregisterDevice', 2227067795: 'pyrogram.raw.functions.account.UpdateNotifySettings', 313765169: 'pyrogram.raw.functions.account.GetNotifySettings', 3682473799: 'pyrogram.raw.functions.account.ResetNotifySettings', 2018596725: 'pyrogram.raw.functions.account.UpdateProfile', 1713919532: 'pyrogram.raw.functions.account.UpdateStatus', 2864387939: 'pyrogram.raw.functions.account.GetWallPapers', 2920848735: 'pyrogram.raw.functions.account.ReportPeer', 655677548: 'pyrogram.raw.functions.account.CheckUsername', 1040964988: 'pyrogram.raw.functions.account.UpdateUsername', 3671837008: 'pyrogram.raw.functions.account.GetPrivacy', 3388480744: 'pyrogram.raw.functions.account.SetPrivacy', 1099779595: 'pyrogram.raw.functions.account.DeleteAccount', 150761757: 'pyrogram.raw.functions.account.GetAccountTTL', 608323678: 'pyrogram.raw.functions.account.SetAccountTTL', 2186758885: 'pyrogram.raw.functions.account.SendChangePhoneCode', 1891839707: 'pyrogram.raw.functions.account.ChangePhone', 954152242: 'pyrogram.raw.functions.account.UpdateDeviceLocked', 3810574680: 'pyrogram.raw.functions.account.GetAuthorizations', 3749180348: 'pyrogram.raw.functions.account.ResetAuthorization', 1418342645: 'pyrogram.raw.functions.account.GetPassword', 2631199481: 'pyrogram.raw.functions.account.GetPasswordSettings', 2778402863: 'pyrogram.raw.functions.account.UpdatePasswordSettings', 457157256: 'pyrogram.raw.functions.account.SendConfirmPhoneCode', 1596029123: 'pyrogram.raw.functions.account.ConfirmPhone', 1151208273: 'pyrogram.raw.functions.account.GetTmpPassword', 405695855: 'pyrogram.raw.functions.account.GetWebAuthorizations', 755087855: 'pyrogram.raw.functions.account.ResetWebAuthorization', 1747789204: 'pyrogram.raw.functions.account.ResetWebAuthorizations', 2995305597: 'pyrogram.raw.functions.account.GetAllSecureValues', 1936088002: 'pyrogram.raw.functions.account.GetSecureValue', 2308956957: 'pyrogram.raw.functions.account.SaveSecureValue', 3095444555: 'pyrogram.raw.functions.account.DeleteSecureValue', 3094063329: 'pyrogram.raw.functions.account.GetAuthorizationForm', 3875699860: 'pyrogram.raw.functions.account.AcceptAuthorization', 2778945273: 'pyrogram.raw.functions.account.SendVerifyPhoneCode', 1305716726: 'pyrogram.raw.functions.account.VerifyPhone', 1880182943: 'pyrogram.raw.functions.account.SendVerifyEmailCode', 3971627483: 'pyrogram.raw.functions.account.VerifyEmail', 4032514052: 'pyrogram.raw.functions.account.InitTakeoutSession', 489050862: 'pyrogram.raw.functions.account.FinishTakeoutSession', 2413762848: 'pyrogram.raw.functions.account.ConfirmPasswordEmail', 2055154197: 'pyrogram.raw.functions.account.ResendPasswordEmail', 3251361206: 'pyrogram.raw.functions.account.CancelPasswordEmail', 2668087080: 'pyrogram.raw.functions.account.GetContactSignUpNotification', 3488890721: 'pyrogram.raw.functions.account.SetContactSignUpNotification', 1398240377: 'pyrogram.raw.functions.account.GetNotifyExceptions', 4237155306: 'pyrogram.raw.functions.account.GetWallPaper', 3716494945: 'pyrogram.raw.functions.account.UploadWallPaper', 1817860919: 'pyrogram.raw.functions.account.SaveWallPaper', 4276967273: 'pyrogram.raw.functions.account.InstallWallPaper', 3141244932: 'pyrogram.raw.functions.account.ResetWallPapers', 1457130303: 'pyrogram.raw.functions.account.GetAutoDownloadSettings', 1995661875: 'pyrogram.raw.functions.account.SaveAutoDownloadSettings', 473805619: 'pyrogram.raw.functions.account.UploadTheme', 2217919007: 'pyrogram.raw.functions.account.CreateTheme', 1555261397: 'pyrogram.raw.functions.account.UpdateTheme', 4065792108: 'pyrogram.raw.functions.account.SaveTheme', 2061776695: 'pyrogram.raw.functions.account.InstallTheme', 2375906347: 'pyrogram.raw.functions.account.GetTheme', 676939512: 'pyrogram.raw.functions.account.GetThemes', 3044323691: 'pyrogram.raw.functions.account.SetContentSettings', 2342210990: 'pyrogram.raw.functions.account.GetContentSettings', 1705865692: 'pyrogram.raw.functions.account.GetMultiWallPapers', 3945483510: 'pyrogram.raw.functions.account.GetGlobalPrivacySettings', 517647042: 'pyrogram.raw.functions.account.SetGlobalPrivacySettings', 227648840: 'pyrogram.raw.functions.users.GetUsers', 3392185777: 'pyrogram.raw.functions.users.GetFullUser', 2429064373: 'pyrogram.raw.functions.users.SetSecureValueErrors', 749357634: 'pyrogram.raw.functions.contacts.GetContactIDs', 3299038190: 'pyrogram.raw.functions.contacts.GetStatuses', 3223553183: 'pyrogram.raw.functions.contacts.GetContacts', 746589157: 'pyrogram.raw.functions.contacts.ImportContacts', 157945344: 'pyrogram.raw.functions.contacts.DeleteContacts', 269745566: 'pyrogram.raw.functions.contacts.DeleteByPhones', 1758204945: 'pyrogram.raw.functions.contacts.Block', 3198573904: 'pyrogram.raw.functions.contacts.Unblock', 4118557967: 'pyrogram.raw.functions.contacts.GetBlocked', 301470424: 'pyrogram.raw.functions.contacts.Search', 4181511075: 'pyrogram.raw.functions.contacts.ResolveUsername', 3566742965: 'pyrogram.raw.functions.contacts.GetTopPeers', 451113900: 'pyrogram.raw.functions.contacts.ResetTopPeerRating', 2274703345: 'pyrogram.raw.functions.contacts.ResetSaved', 2196890527: 'pyrogram.raw.functions.contacts.GetSaved', 2232729050: 'pyrogram.raw.functions.contacts.ToggleTopPeers', 3908330448: 'pyrogram.raw.functions.contacts.AddContact', 4164002319: 'pyrogram.raw.functions.contacts.AcceptContact', 3544759364: 'pyrogram.raw.functions.contacts.GetLocated', 698914348: 'pyrogram.raw.functions.contacts.BlockFromReplies', 1673946374: 'pyrogram.raw.functions.messages.GetMessages', 2699967347: 'pyrogram.raw.functions.messages.GetDialogs', 3703276128: 'pyrogram.raw.functions.messages.GetHistory', 204812012: 'pyrogram.raw.functions.messages.Search', 238054714: 'pyrogram.raw.functions.messages.ReadHistory', 469850889: 'pyrogram.raw.functions.messages.DeleteHistory', 3851326930: 'pyrogram.raw.functions.messages.DeleteMessages', 94983360: 'pyrogram.raw.functions.messages.ReceivedMessages', 1486110434: 'pyrogram.raw.functions.messages.SetTyping', 1376532592: 'pyrogram.raw.functions.messages.SendMessage', 881978281: 'pyrogram.raw.functions.messages.SendMedia', 3657360910: 'pyrogram.raw.functions.messages.ForwardMessages', 3474297563: 'pyrogram.raw.functions.messages.ReportSpam', 913498268: 'pyrogram.raw.functions.messages.GetPeerSettings', 3179460184: 'pyrogram.raw.functions.messages.Report', 1013621127: 'pyrogram.raw.functions.messages.GetChats', 998448230: 'pyrogram.raw.functions.messages.GetFullChat', 3695519829: 'pyrogram.raw.functions.messages.EditChatTitle', 3394009560: 'pyrogram.raw.functions.messages.EditChatPhoto', 4188056073: 'pyrogram.raw.functions.messages.AddChatUser', 3308537242: 'pyrogram.raw.functions.messages.DeleteChatUser', 164303470: 'pyrogram.raw.functions.messages.CreateChat', 651135312: 'pyrogram.raw.functions.messages.GetDhConfig', 4132286275: 'pyrogram.raw.functions.messages.RequestEncryption', 1035731989: 'pyrogram.raw.functions.messages.AcceptEncryption', 4086541984: 'pyrogram.raw.functions.messages.DiscardEncryption', 2031374829: 'pyrogram.raw.functions.messages.SetEncryptedTyping', 2135648522: 'pyrogram.raw.functions.messages.ReadEncryptedHistory', 1157265941: 'pyrogram.raw.functions.messages.SendEncrypted', 1431914525: 'pyrogram.raw.functions.messages.SendEncryptedFile', 852769188: 'pyrogram.raw.functions.messages.SendEncryptedService', 1436924774: 'pyrogram.raw.functions.messages.ReceivedQueue', 1259113487: 'pyrogram.raw.functions.messages.ReportEncryptedSpam', 916930423: 'pyrogram.raw.functions.messages.ReadMessageContents', 71126828: 'pyrogram.raw.functions.messages.GetStickers', 479598769: 'pyrogram.raw.functions.messages.GetAllStickers', 2338894028: 'pyrogram.raw.functions.messages.GetWebPagePreview', 234312524: 'pyrogram.raw.functions.messages.ExportChatInvite', 1051570619: 'pyrogram.raw.functions.messages.CheckChatInvite', 1817183516: 'pyrogram.raw.functions.messages.ImportChatInvite', 639215886: 'pyrogram.raw.functions.messages.GetStickerSet', 3348096096: 'pyrogram.raw.functions.messages.InstallStickerSet', 4184757726: 'pyrogram.raw.functions.messages.UninstallStickerSet', 3873403768: 'pyrogram.raw.functions.messages.StartBot', 1468322785: 'pyrogram.raw.functions.messages.GetMessagesViews', 2850463534: 'pyrogram.raw.functions.messages.EditChatAdmin', 363051235: 'pyrogram.raw.functions.messages.MigrateChat', 1271290010: 'pyrogram.raw.functions.messages.SearchGlobal', 2016638777: 'pyrogram.raw.functions.messages.ReorderStickerSets', 864953444: 'pyrogram.raw.functions.messages.GetDocumentByHash', 2210348370: 'pyrogram.raw.functions.messages.GetSavedGifs', 846868683: 'pyrogram.raw.functions.messages.SaveGif', 1364105629: 'pyrogram.raw.functions.messages.GetInlineBotResults', 3948847622: 'pyrogram.raw.functions.messages.SetInlineBotResults', 570955184: 'pyrogram.raw.functions.messages.SendInlineBotResult', 4255550774: 'pyrogram.raw.functions.messages.GetMessageEditData', 1224152952: 'pyrogram.raw.functions.messages.EditMessage', 2203418042: 'pyrogram.raw.functions.messages.EditInlineBotMessage', 2470627847: 'pyrogram.raw.functions.messages.GetBotCallbackAnswer', 3582923530: 'pyrogram.raw.functions.messages.SetBotCallbackAnswer', 3832593661: 'pyrogram.raw.functions.messages.GetPeerDialogs', 3157909835: 'pyrogram.raw.functions.messages.SaveDraft', 1782549861: 'pyrogram.raw.functions.messages.GetAllDrafts', 766298703: 'pyrogram.raw.functions.messages.GetFeaturedStickers', 1527873830: 'pyrogram.raw.functions.messages.ReadFeaturedStickers', 1587647177: 'pyrogram.raw.functions.messages.GetRecentStickers', 958863608: 'pyrogram.raw.functions.messages.SaveRecentSticker', 2308530221: 'pyrogram.raw.functions.messages.ClearRecentStickers', 1475442322: 'pyrogram.raw.functions.messages.GetArchivedStickers', 1706608543: 'pyrogram.raw.functions.messages.GetMaskStickers', 3428542412: 'pyrogram.raw.functions.messages.GetAttachedStickers', 2398678208: 'pyrogram.raw.functions.messages.SetGameScore', 363700068: 'pyrogram.raw.functions.messages.SetInlineGameScore', 3894568093: 'pyrogram.raw.functions.messages.GetGameHighScores', 258170395: 'pyrogram.raw.functions.messages.GetInlineGameHighScores', 218777796: 'pyrogram.raw.functions.messages.GetCommonChats', 3953659888: 'pyrogram.raw.functions.messages.GetAllChats', 852135825: 'pyrogram.raw.functions.messages.GetWebPage', 2805064279: 'pyrogram.raw.functions.messages.ToggleDialogPin', 991616823: 'pyrogram.raw.functions.messages.ReorderPinnedDialogs', 3602468338: 'pyrogram.raw.functions.messages.GetPinnedDialogs', 3858133754: 'pyrogram.raw.functions.messages.SetBotShippingResults', 163765653: 'pyrogram.raw.functions.messages.SetBotPrecheckoutResults', 1369162417: 'pyrogram.raw.functions.messages.UploadMedia', 3380473888: 'pyrogram.raw.functions.messages.SendScreenshotNotification', 567151374: 'pyrogram.raw.functions.messages.GetFavedStickers', 3120547163: 'pyrogram.raw.functions.messages.FaveSticker', 1180140658: 'pyrogram.raw.functions.messages.GetUnreadMentions', 251759059: 'pyrogram.raw.functions.messages.ReadMentions', 3150207753: 'pyrogram.raw.functions.messages.GetRecentLocations', 3422621899: 'pyrogram.raw.functions.messages.SendMultiMedia', 1347929239: 'pyrogram.raw.functions.messages.UploadEncryptedFile', 3266826379: 'pyrogram.raw.functions.messages.SearchStickerSets', 486505992: 'pyrogram.raw.functions.messages.GetSplitRanges', 3263617423: 'pyrogram.raw.functions.messages.MarkDialogUnread', 585256482: 'pyrogram.raw.functions.messages.GetDialogUnreadMarks', 2119757468: 'pyrogram.raw.functions.messages.ClearAllDrafts', 3534419948: 'pyrogram.raw.functions.messages.UpdatePinnedMessage', 283795844: 'pyrogram.raw.functions.messages.SendVote', 1941660731: 'pyrogram.raw.functions.messages.GetPollResults', 1848369232: 'pyrogram.raw.functions.messages.GetOnlines', 2167155430: 'pyrogram.raw.functions.messages.GetStatsURL', 3740665751: 'pyrogram.raw.functions.messages.EditChatAbout', 2777049921: 'pyrogram.raw.functions.messages.EditChatDefaultBannedRights', 899735650: 'pyrogram.raw.functions.messages.GetEmojiKeywords', 352892591: 'pyrogram.raw.functions.messages.GetEmojiKeywordsDifference', 1318675378: 'pyrogram.raw.functions.messages.GetEmojiKeywordsLanguages', 3585149990: 'pyrogram.raw.functions.messages.GetEmojiURL', 1932455680: 'pyrogram.raw.functions.messages.GetSearchCounters', 3812578835: 'pyrogram.raw.functions.messages.RequestUrlAuth', 4146719384: 'pyrogram.raw.functions.messages.AcceptUrlAuth', 1336717624: 'pyrogram.raw.functions.messages.HidePeerSettingsBar', 3804391515: 'pyrogram.raw.functions.messages.GetScheduledHistory', 3183150180: 'pyrogram.raw.functions.messages.GetScheduledMessages', 3174597898: 'pyrogram.raw.functions.messages.SendScheduledMessages', 1504586518: 'pyrogram.raw.functions.messages.DeleteScheduledMessages', 3094231054: 'pyrogram.raw.functions.messages.GetPollVotes', 3037016042: 'pyrogram.raw.functions.messages.ToggleStickerSets', 4053719405: 'pyrogram.raw.functions.messages.GetDialogFilters', 2728186924: 'pyrogram.raw.functions.messages.GetSuggestedDialogFilters', 450142282: 'pyrogram.raw.functions.messages.UpdateDialogFilter', 3311649252: 'pyrogram.raw.functions.messages.UpdateDialogFiltersOrder', 1608974939: 'pyrogram.raw.functions.messages.GetOldFeaturedStickers', 615875002: 'pyrogram.raw.functions.messages.GetReplies', 1147761405: 'pyrogram.raw.functions.messages.GetDiscussionMessage', 4147227124: 'pyrogram.raw.functions.messages.ReadDiscussion', 4029004939: 'pyrogram.raw.functions.messages.UnpinAllMessages', 2200206609: 'pyrogram.raw.functions.messages.DeleteChat', 4190888969: 'pyrogram.raw.functions.messages.DeletePhoneCallHistory', 1140726259: 'pyrogram.raw.functions.messages.CheckHistoryImport', 873008187: 'pyrogram.raw.functions.messages.InitHistoryImport', 713433234: 'pyrogram.raw.functions.messages.UploadImportedMedia', 3023958852: 'pyrogram.raw.functions.messages.StartHistoryImport', 3990128682: 'pyrogram.raw.functions.updates.GetState', 630429265: 'pyrogram.raw.functions.updates.GetDifference', 51854712: 'pyrogram.raw.functions.updates.GetChannelDifference', 1926525996: 'pyrogram.raw.functions.photos.UpdateProfilePhoto', 2314407785: 'pyrogram.raw.functions.photos.UploadProfilePhoto', 2278522671: 'pyrogram.raw.functions.photos.DeletePhotos', 2446144168: 'pyrogram.raw.functions.photos.GetUserPhotos', 3003426337: 'pyrogram.raw.functions.upload.SaveFilePart', 2975505148: 'pyrogram.raw.functions.upload.GetFile', 3732629309: 'pyrogram.raw.functions.upload.SaveBigFilePart', 619086221: 'pyrogram.raw.functions.upload.GetWebFile', 536919235: 'pyrogram.raw.functions.upload.GetCdnFile', 2603046056: 'pyrogram.raw.functions.upload.ReuploadCdnFile', 1302676017: 'pyrogram.raw.functions.upload.GetCdnFileHashes', 3338819889: 'pyrogram.raw.functions.upload.GetFileHashes', 3304659051: 'pyrogram.raw.functions.help.GetConfig', 531836966: 'pyrogram.raw.functions.help.GetNearestDc', 1378703997: 'pyrogram.raw.functions.help.GetAppUpdate', 1295590211: 'pyrogram.raw.functions.help.GetInviteText', 2631862477: 'pyrogram.raw.functions.help.GetSupport', 2417028975: 'pyrogram.raw.functions.help.GetAppChangelog', 3961704397: 'pyrogram.raw.functions.help.SetBotUpdatesStatus', 1375900482: 'pyrogram.raw.functions.help.GetCdnConfig', 1036054804: 'pyrogram.raw.functions.help.GetRecentMeUrls', 749019089: 'pyrogram.raw.functions.help.GetTermsOfServiceUpdate', 4000511898: 'pyrogram.raw.functions.help.AcceptTermsOfService', 1072547679: 'pyrogram.raw.functions.help.GetDeepLinkInfo', 2559656208: 'pyrogram.raw.functions.help.GetAppConfig', 1862465352: 'pyrogram.raw.functions.help.SaveAppLog', 3328290056: 'pyrogram.raw.functions.help.GetPassportConfig', 3546343212: 'pyrogram.raw.functions.help.GetSupportName', 59377875: 'pyrogram.raw.functions.help.GetUserInfo', 1723407216: 'pyrogram.raw.functions.help.EditUserInfo', 3231151137: 'pyrogram.raw.functions.help.GetPromoData', 505748629: 'pyrogram.raw.functions.help.HidePromoData', 125807007: 'pyrogram.raw.functions.help.DismissSuggestion', 1935116200: 'pyrogram.raw.functions.help.GetCountriesList', 3423619383: 'pyrogram.raw.functions.channels.ReadHistory', 2227305806: 'pyrogram.raw.functions.channels.DeleteMessages', 3507345179: 'pyrogram.raw.functions.channels.DeleteUserHistory', 4261967888: 'pyrogram.raw.functions.channels.ReportSpam', 2911672867: 'pyrogram.raw.functions.channels.GetMessages', 306054633: 'pyrogram.raw.functions.channels.GetParticipants', 1416484774: 'pyrogram.raw.functions.channels.GetParticipant', 176122811: 'pyrogram.raw.functions.channels.GetChannels', 141781513: 'pyrogram.raw.functions.channels.GetFullChannel', 1029681423: 'pyrogram.raw.functions.channels.CreateChannel', 3543959810: 'pyrogram.raw.functions.channels.EditAdmin', 1450044624: 'pyrogram.raw.functions.channels.EditTitle', 4046346185: 'pyrogram.raw.functions.channels.EditPhoto', 283557164: 'pyrogram.raw.functions.channels.CheckUsername', 890549214: 'pyrogram.raw.functions.channels.UpdateUsername', 615851205: 'pyrogram.raw.functions.channels.JoinChannel', 4164332181: 'pyrogram.raw.functions.channels.LeaveChannel', 429865580: 'pyrogram.raw.functions.channels.InviteToChannel', 3222347747: 'pyrogram.raw.functions.channels.DeleteChannel', 3862932971: 'pyrogram.raw.functions.channels.ExportMessageLink', 527021574: 'pyrogram.raw.functions.channels.ToggleSignatures', 4172297903: 'pyrogram.raw.functions.channels.GetAdminedPublicChannels', 1920559378: 'pyrogram.raw.functions.channels.EditBanned', 870184064: 'pyrogram.raw.functions.channels.GetAdminLog', 3935085817: 'pyrogram.raw.functions.channels.SetStickers', 3937786936: 'pyrogram.raw.functions.channels.ReadMessageContents', 2939592002: 'pyrogram.raw.functions.channels.DeleteHistory', 3938171212: 'pyrogram.raw.functions.channels.TogglePreHistoryHidden', 2202135744: 'pyrogram.raw.functions.channels.GetLeftChannels', 4124758904: 'pyrogram.raw.functions.channels.GetGroupsForDiscussion', 1079520178: 'pyrogram.raw.functions.channels.SetDiscussionGroup', 2402864415: 'pyrogram.raw.functions.channels.EditCreator', 1491484525: 'pyrogram.raw.functions.channels.EditLocation', 3990134512: 'pyrogram.raw.functions.channels.ToggleSlowMode', 300429806: 'pyrogram.raw.functions.channels.GetInactiveChannels', 2854709741: 'pyrogram.raw.functions.bots.SendCustomRequest', 3860938573: 'pyrogram.raw.functions.bots.AnswerWebhookJSONQuery', 2153596662: 'pyrogram.raw.functions.bots.SetBotCommands', 2582681413: 'pyrogram.raw.functions.payments.GetPaymentForm', 2693966208: 'pyrogram.raw.functions.payments.GetPaymentReceipt', 1997180532: 'pyrogram.raw.functions.payments.ValidateRequestedInfo', 730364339: 'pyrogram.raw.functions.payments.SendPaymentForm', 578650699: 'pyrogram.raw.functions.payments.GetSavedInfo', 3627905217: 'pyrogram.raw.functions.payments.ClearSavedInfo', 779736953: 'pyrogram.raw.functions.payments.GetBankCardData', 4043532160: 'pyrogram.raw.functions.stickers.CreateStickerSet', 4151709521: 'pyrogram.raw.functions.stickers.RemoveStickerFromSet', 4290172106: 'pyrogram.raw.functions.stickers.ChangeStickerPosition', 2253651646: 'pyrogram.raw.functions.stickers.AddStickerToSet', 2587250224: 'pyrogram.raw.functions.stickers.SetStickerSetThumb', 1430593449: 'pyrogram.raw.functions.phone.GetCallConfig', 1124046573: 'pyrogram.raw.functions.phone.RequestCall', 1003664544: 'pyrogram.raw.functions.phone.AcceptCall', 788404002: 'pyrogram.raw.functions.phone.ConfirmCall', 399855457: 'pyrogram.raw.functions.phone.ReceivedCall', 2999697856: 'pyrogram.raw.functions.phone.DiscardCall', 1508562471: 'pyrogram.raw.functions.phone.SetCallRating', 662363518: 'pyrogram.raw.functions.phone.SaveCallDebug', 4286223235: 'pyrogram.raw.functions.phone.SendSignalingData', 3174935520: 'pyrogram.raw.functions.phone.CreateGroupCall', 1604095586: 'pyrogram.raw.functions.phone.JoinGroupCall', 1342404601: 'pyrogram.raw.functions.phone.LeaveGroupCall', 2783407320: 'pyrogram.raw.functions.phone.EditGroupCallMember', 2067345760: 'pyrogram.raw.functions.phone.InviteToGroupCall', 2054648117: 'pyrogram.raw.functions.phone.DiscardGroupCall', 1958458429: 'pyrogram.raw.functions.phone.ToggleGroupCallSettings', 209498135: 'pyrogram.raw.functions.phone.GetGroupCall', 3388068485: 'pyrogram.raw.functions.phone.GetGroupParticipants', 3075111914: 'pyrogram.raw.functions.phone.CheckGroupCall', 4075959050: 'pyrogram.raw.functions.langpack.GetLangPack', 4025104387: 'pyrogram.raw.functions.langpack.GetStrings', 3449309861: 'pyrogram.raw.functions.langpack.GetDifference', 1120311183: 'pyrogram.raw.functions.langpack.GetLanguages', 1784243458: 'pyrogram.raw.functions.langpack.GetLanguage', 1749536939: 'pyrogram.raw.functions.folders.EditPeerFolders', 472471681: 'pyrogram.raw.functions.folders.DeleteFolder', 2873246746: 'pyrogram.raw.functions.stats.GetBroadcastStats', 1646092192: 'pyrogram.raw.functions.stats.LoadAsyncGraph', 3705636359: 'pyrogram.raw.functions.stats.GetMegagroupStats', 1445996571: 'pyrogram.raw.functions.stats.GetMessagePublicForwards', 3068175349: 'pyrogram.raw.functions.stats.GetMessageStats', 3162085175: 'pyrogram.raw.core.BoolFalse', 2574415285: 'pyrogram.raw.core.BoolTrue', 481674261: 'pyrogram.raw.core.Vector', 1945237724: 'pyrogram.raw.core.MsgContainer', 2924480661: 'pyrogram.raw.core.FutureSalts', 155834844: 'pyrogram.raw.core.FutureSalt', 812830625: 'pyrogram.raw.core.GzipPacked', 1538843921: 'pyrogram.raw.core.Message'} |
"""
Given a sequence of elements a_1, a_2, ... , a_n, you would like to check whether
it contains an element (majority element) that appears more than n/2 times.
"""
def find_majority_element(values):
"""
Returns the majority element or None if no such element found
"""
def find_candidate():
candidate_index = 0
count = 1
for index in range(0, len(values)):
if values[candidate_index] == values[index]:
count += 1
else:
count -= 1
if count == 0:
candidate_index = index
count = 1
return values[candidate_index]
def is_majority(candidate):
count = 0
for value in values:
if value == candidate:
count += 1
return count > len(values) // 2
if not values:
return None
candidate = find_candidate()
if is_majority(candidate):
return candidate
else:
return None
| """
Given a sequence of elements a_1, a_2, ... , a_n, you would like to check whether
it contains an element (majority element) that appears more than n/2 times.
"""
def find_majority_element(values):
"""
Returns the majority element or None if no such element found
"""
def find_candidate():
candidate_index = 0
count = 1
for index in range(0, len(values)):
if values[candidate_index] == values[index]:
count += 1
else:
count -= 1
if count == 0:
candidate_index = index
count = 1
return values[candidate_index]
def is_majority(candidate):
count = 0
for value in values:
if value == candidate:
count += 1
return count > len(values) // 2
if not values:
return None
candidate = find_candidate()
if is_majority(candidate):
return candidate
else:
return None |
class MultiTable(object):
"""
Multiplication table for a given multiplicand
"""
def __init__(self, multiplicand):
"""
:param multiplicand: Initial value (int)
"""
if not isinstance(multiplicand, (int, float)):
raise TypeError('Expected type(s): num <int, float>')
self.multiplicand = multiplicand
self.multiplier = 0
def fetch(self):
"""
Fetch next value in the table
:return: Number (float)
"""
self.multiplier += 1
return self.multiplicand * self.multiplier
| class Multitable(object):
"""
Multiplication table for a given multiplicand
"""
def __init__(self, multiplicand):
"""
:param multiplicand: Initial value (int)
"""
if not isinstance(multiplicand, (int, float)):
raise type_error('Expected type(s): num <int, float>')
self.multiplicand = multiplicand
self.multiplier = 0
def fetch(self):
"""
Fetch next value in the table
:return: Number (float)
"""
self.multiplier += 1
return self.multiplicand * self.multiplier |
hour_exam = int(input())
min_exam = int(input())
hour_arrival = int(input())
min_arrival = int(input())
status = 0
exam_time = (hour_exam * 60) + min_exam
arrival_time = (hour_arrival * 60) + min_arrival
difference = arrival_time - exam_time
if difference > 0:
status = "Late"
elif difference < -30:
status = "Early"
elif -30 <= difference <= 0:
status = "On time"
print(status)
if difference > 0:
hour_late = difference // 60
min_late = difference % 60
if hour_late == 0:
print(f'{min_late} minutes after the start')
else:
print(f'{hour_late}:{min_late:02d} hours after the start')
elif difference == 0:
print('')
else:
early = exam_time - arrival_time
hour_early = early // 60
min_early = early % 60
if hour_early == 0:
print(f'{min_early} minutes before the start')
else:
print(f'{hour_early}:{min_early:02d} hours before the start')
| hour_exam = int(input())
min_exam = int(input())
hour_arrival = int(input())
min_arrival = int(input())
status = 0
exam_time = hour_exam * 60 + min_exam
arrival_time = hour_arrival * 60 + min_arrival
difference = arrival_time - exam_time
if difference > 0:
status = 'Late'
elif difference < -30:
status = 'Early'
elif -30 <= difference <= 0:
status = 'On time'
print(status)
if difference > 0:
hour_late = difference // 60
min_late = difference % 60
if hour_late == 0:
print(f'{min_late} minutes after the start')
else:
print(f'{hour_late}:{min_late:02d} hours after the start')
elif difference == 0:
print('')
else:
early = exam_time - arrival_time
hour_early = early // 60
min_early = early % 60
if hour_early == 0:
print(f'{min_early} minutes before the start')
else:
print(f'{hour_early}:{min_early:02d} hours before the start') |
def foo():
'''
>>> from mod import good as bad
'''
pass
| def foo():
"""
>>> from mod import good as bad
"""
pass |
#
# PySNMP MIB module CISCO-ETHERNET-FABRIC-EXTENDER-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ETHERNET-FABRIC-EXTENDER-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:57:40 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint")
ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt")
InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance")
iso, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, Integer32, ObjectIdentity, Counter64, MibIdentifier, IpAddress, Counter32, Gauge32, ModuleIdentity, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "Integer32", "ObjectIdentity", "Counter64", "MibIdentifier", "IpAddress", "Counter32", "Gauge32", "ModuleIdentity", "NotificationType")
RowStatus, TruthValue, DisplayString, TimeStamp, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "DisplayString", "TimeStamp", "TextualConvention")
ciscoEthernetFabricExtenderMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 691))
ciscoEthernetFabricExtenderMIB.setRevisions(('2009-02-23 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setLastUpdated('200902230000Z')
if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: cs-nexus5000@cisco.com')
if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setDescription("The MIB module for configuring one or more fabric extenders to connect into a core switch. Since fabric extenders might not be manageable entities, this MIB is assumed to be instrumented on the core switch. A fabric extender may be hardwired or preconfigured with a list of uplink ports. These uplink ports are used to connect to a core switch. A fabric extender is assumed to be directly connected to its core switch. Each physical interface on the core switch is assumed to be connected to one and only one fabric extender. When an extender powers up, it runs a link local discovery protocol to find core switches. The extender puts all available self identification in its discovery report. The core switch, depending on configuration, uses the extenders identification to accept or deny an extender from connecting. A fabric extender may be connected to different core switches via different uplink ports. In that case, each core switch's instance of the MIB may refer to the same extender. Ports on core switch used to connect to extenders are known as Fabric ports. A fabric port may be a physical interface or a logical interface such as an EtherChannel. An extender may connect into a core switch via more than one fabric port. Non fabric ports on an extender are typically used to connect hosts/servers.")
ciscoEthernetFabricExtenderMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 0))
ciscoEthernetFabricExtenderObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1))
ciscoEthernetFabricExtenderMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2))
cefexConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1))
class CiscoPortPinningMode(TextualConvention, Integer32):
description = "This denotes the mode of re-pinning. Re-pinning defines how traffic forwarding is altered between fabric extender and its core switch in case of a fabric port state change. For fabric extenders that do not support local forwarding, they do not perform normal address learning and forwarding as a traditional 802.1d compliant bridge. A method named 'pinning' is used instead to dictate forwarding behavior. That means, traffic from a specific non fabric port is always forwarded to its pinned fabric port (no local forwarding). Each non fabric port is 'pinned' to one of the fabric ports. Load balancing aspects affecting pinned fabric port selection is dictated by internal implementation. If a particular fabric port fails, all the non fabric ports pinned to the failed fabric port may need to be moved to the remaining fabric ports, if any. Note that traffic distribution within a fabric EtherChannel does not utilize the 'pinning' method. The traditional hash of MAC address, IP address and TCP/UDP port is used to select fabric port within a fabric EtherChannel. It is planned that more enumeration will be introduced in subsequent updates. static(1) - If this mode is chosen, non fabric ports are not re-pinned to other fabric ports in case of fabric port failure."
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1))
namedValues = NamedValues(("static", 1))
cefexBindingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1), )
if mibBuilder.loadTexts: cefexBindingTable.setStatus('current')
if mibBuilder.loadTexts: cefexBindingTable.setDescription("This table has the binding information of a 'Fabric Port' to 'Fabric Extender' on a 'Extender Core Switch'. Each entry in this table configures one fabric port. A core switch does not accept fabric extender connections into its fabric ports unless the extender matches an entry in this table. Once matched, the extender is identified by the instances of the cefexBindingExtenderIndex in the matching row. The matching criteria and values to match for each fabric extender are specified in a row in the cefexConfigTable. Each row in the cefexConfigTable is indexed by cefexBindingExtenderIndex. Each row in this table has an unique cefexBindingExtenderIndex value, therefore, providing the linkage between the two tables. It is expected that user first creates a row in the cefexConfigTable for a specific cefexBindingExtenderIndex, followed by creation of the corresponding row in this table for the same cefexBindingExtenderIndex.. If a row in this table is created and if there is no corresponding row created in the cefexConfigTable, then the agent will automatically create a row in the cefexConfigTable with instance of every object in this row initialized to the DEFVAL.")
cefexBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingInterfaceOnCoreSwitch"))
if mibBuilder.loadTexts: cefexBindingEntry.setStatus('current')
if mibBuilder.loadTexts: cefexBindingEntry.setDescription('There is one entry in this table for each core switch Interface that can be connected to an uplink interface of a fabric extender.')
cefexBindingInterfaceOnCoreSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 1), InterfaceIndex())
if mibBuilder.loadTexts: cefexBindingInterfaceOnCoreSwitch.setStatus('current')
if mibBuilder.loadTexts: cefexBindingInterfaceOnCoreSwitch.setDescription('This object is the index that uniquely identifies an entry in the cefexBindingTable. The value of this object is an IfIndex to a fabric port. By creating a row in this table for a particular core switch interface, the user enables that core switch interface to accept a fabric extender. By default, a core switch interface does not have an entry in this table and consequently does not accept/respond to discovery requests from fabric extenders.')
cefexBindingExtenderIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 999))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexBindingExtenderIndex.setStatus('current')
if mibBuilder.loadTexts: cefexBindingExtenderIndex.setDescription('The value of cefexBindingExtenderIndex used as an Index into the cefexConfigTable to select the Fabric Extender configuration for this binding entry. However, a value in this table does not imply that an instance with this value exists in the cefexConfigTable. If an entry corresponding to the value of this object does not exist in cefexConfigTable, the system default behavior (using DEFVAL values for all the configuration objects as defined in cefexConfigTable) of the Fabric Extender is used for this binding entry. Since an extender may connect to a core switch via multiple interfaces or fabric ports, it is important all the binding entries configuring the same fabric extender are configured with the same extender Index. Every interface on different fabric extender connecting into the same core switch is differentiated by its extender id. To refer to a port on the extender, an example representation may be extender/slot/port. Extender id values 1-99 are reserved. For example, reserved values can be used to identify the core switch and its line cards in the extender/slot/port naming scheme. cefexBindingExtenderIndex identifies further attributes of a fabric extender via the cefexConfigTable. A user may choose to identify a fabric extender by specifying its value of cefexConfigExtendername and/or other attributes.')
cefexBindingCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 3), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cefexBindingCreationTime.setStatus('current')
if mibBuilder.loadTexts: cefexBindingCreationTime.setDescription("The timestamp of this entry's creation time.")
cefexBindingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexBindingRowStatus.setStatus('current')
if mibBuilder.loadTexts: cefexBindingRowStatus.setDescription('The status of this conceptual row.')
cefexConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2), )
if mibBuilder.loadTexts: cefexConfigTable.setStatus('current')
if mibBuilder.loadTexts: cefexConfigTable.setDescription('This table facilitates configuration applicable to an entire fabric extender.')
cefexConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingExtenderIndex"))
if mibBuilder.loadTexts: cefexConfigEntry.setStatus('current')
if mibBuilder.loadTexts: cefexConfigEntry.setDescription('There is one entry in this table for each fabric extender configured on the core switch.')
cefexConfigExtenderName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexConfigExtenderName.setStatus('current')
if mibBuilder.loadTexts: cefexConfigExtenderName.setDescription("This object specifies a human readable string representing the name of the 'Extender'. Note that default value of this object will be the string 'FEXxxxx' where xxxx is value of cefexBindingExtenderIndex expressed as 4 digits. For example, if cefexBindingExtenderIndex is 123, the default value of this object is 'FEX0123'. This object allows the user to identify the extender with an appropriate name.")
cefexConfigSerialNumCheck = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 2), TruthValue().clone('false')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexConfigSerialNumCheck.setStatus('current')
if mibBuilder.loadTexts: cefexConfigSerialNumCheck.setDescription("This object specifies if the serial number check is enabled for this extender or not. If the value of this object is 'true', then the core switch rejects any extender except for the one with serial number string specified by cefexConfigSerialNum. If the value of this object is 'false', then the core switch accept any extender.")
cefexConfigSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexConfigSerialNum.setStatus('current')
if mibBuilder.loadTexts: cefexConfigSerialNum.setDescription("This object allows the user to identify a fabric extender's Serial Number String. This object is relevant if cefexBindingSerialNumCheck is true. Zero is not a valid length for this object if cefexBindingSerialNumCheck is true.")
cefexConfigPinningFailOverMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 4), CiscoPortPinningMode().clone('static')).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexConfigPinningFailOverMode.setStatus('current')
if mibBuilder.loadTexts: cefexConfigPinningFailOverMode.setDescription('This object allows the user to identify the fabric port failure handling method when pinning is used.')
cefexConfigPinningMaxLinks = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(1)).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexConfigPinningMaxLinks.setStatus('current')
if mibBuilder.loadTexts: cefexConfigPinningMaxLinks.setDescription('This object allows the user to identify number of fabric ports to be used in distribution of pinned non fabric ports. As described above, pinning is the forwarding model used for fabric extenders that do not support local forwarding. Traffic from a non fabric port is forwarded to one fabric port. Selection of non fabric port pinning to fabric ports is distributed as evenly as possible across fabric ports. This object allows administrator to configure number of fabric ports that should be used for pinning non fabric ports.')
cefexConfigCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 6), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: cefexConfigCreationTime.setStatus('current')
if mibBuilder.loadTexts: cefexConfigCreationTime.setDescription("The timestamp when the value of the corresponding instance of 'cefexConfigRowStatus' is made active. If an user modifies objects in this table, the new values are immediately activated. Depending on the object changed, an accepted fabric extender may become not acceptable. As a result, the fabric extender may be disconnected from the core switch.")
cefexConfigRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: cefexConfigRowStatus.setStatus('current')
if mibBuilder.loadTexts: cefexConfigRowStatus.setDescription('The status of this conceptual row. A row in this table becomes active immediately upon creation.')
cEthernetFabricExtenderMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1))
cEthernetFabricExtenderMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2))
cEthernetFabricExtenderMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1, 1)).setObjects(("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingConformanceObjects"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cEthernetFabricExtenderMIBCompliance = cEthernetFabricExtenderMIBCompliance.setStatus('current')
if mibBuilder.loadTexts: cEthernetFabricExtenderMIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-ETHERNET-FABRIC-EXTENDER-MIB mib.')
cefexBindingConformanceObjects = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2, 1)).setObjects(("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingExtenderIndex"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingCreationTime"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingRowStatus"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigExtenderName"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigSerialNumCheck"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigSerialNum"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigPinningFailOverMode"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigPinningMaxLinks"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigCreationTime"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigRowStatus"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cefexBindingConformanceObjects = cefexBindingConformanceObjects.setStatus('current')
if mibBuilder.loadTexts: cefexBindingConformanceObjects.setDescription('A collection of objects related to Fabric Extender binding to core switch.')
mibBuilder.exportSymbols("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", cefexBindingConformanceObjects=cefexBindingConformanceObjects, cefexConfigPinningFailOverMode=cefexConfigPinningFailOverMode, cefexConfig=cefexConfig, PYSNMP_MODULE_ID=ciscoEthernetFabricExtenderMIB, cefexConfigCreationTime=cefexConfigCreationTime, cefexBindingEntry=cefexBindingEntry, cefexConfigTable=cefexConfigTable, ciscoEthernetFabricExtenderMIBConformance=ciscoEthernetFabricExtenderMIBConformance, cefexBindingTable=cefexBindingTable, cefexBindingRowStatus=cefexBindingRowStatus, CiscoPortPinningMode=CiscoPortPinningMode, cEthernetFabricExtenderMIBCompliances=cEthernetFabricExtenderMIBCompliances, cefexConfigEntry=cefexConfigEntry, cefexConfigSerialNum=cefexConfigSerialNum, ciscoEthernetFabricExtenderMIBNotifs=ciscoEthernetFabricExtenderMIBNotifs, cefexConfigSerialNumCheck=cefexConfigSerialNumCheck, cefexConfigPinningMaxLinks=cefexConfigPinningMaxLinks, cEthernetFabricExtenderMIBCompliance=cEthernetFabricExtenderMIBCompliance, ciscoEthernetFabricExtenderObjects=ciscoEthernetFabricExtenderObjects, ciscoEthernetFabricExtenderMIB=ciscoEthernetFabricExtenderMIB, cEthernetFabricExtenderMIBGroups=cEthernetFabricExtenderMIBGroups, cefexBindingCreationTime=cefexBindingCreationTime, cefexConfigExtenderName=cefexConfigExtenderName, cefexConfigRowStatus=cefexConfigRowStatus, cefexBindingInterfaceOnCoreSwitch=cefexBindingInterfaceOnCoreSwitch, cefexBindingExtenderIndex=cefexBindingExtenderIndex)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint')
(cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt')
(interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance')
(iso, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, unsigned32, integer32, object_identity, counter64, mib_identifier, ip_address, counter32, gauge32, module_identity, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Unsigned32', 'Integer32', 'ObjectIdentity', 'Counter64', 'MibIdentifier', 'IpAddress', 'Counter32', 'Gauge32', 'ModuleIdentity', 'NotificationType')
(row_status, truth_value, display_string, time_stamp, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'DisplayString', 'TimeStamp', 'TextualConvention')
cisco_ethernet_fabric_extender_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 691))
ciscoEthernetFabricExtenderMIB.setRevisions(('2009-02-23 00:00',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ciscoEthernetFabricExtenderMIB.setRevisionsDescriptions(('Initial version of this MIB module.',))
if mibBuilder.loadTexts:
ciscoEthernetFabricExtenderMIB.setLastUpdated('200902230000Z')
if mibBuilder.loadTexts:
ciscoEthernetFabricExtenderMIB.setOrganization('Cisco Systems Inc.')
if mibBuilder.loadTexts:
ciscoEthernetFabricExtenderMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: cs-nexus5000@cisco.com')
if mibBuilder.loadTexts:
ciscoEthernetFabricExtenderMIB.setDescription("The MIB module for configuring one or more fabric extenders to connect into a core switch. Since fabric extenders might not be manageable entities, this MIB is assumed to be instrumented on the core switch. A fabric extender may be hardwired or preconfigured with a list of uplink ports. These uplink ports are used to connect to a core switch. A fabric extender is assumed to be directly connected to its core switch. Each physical interface on the core switch is assumed to be connected to one and only one fabric extender. When an extender powers up, it runs a link local discovery protocol to find core switches. The extender puts all available self identification in its discovery report. The core switch, depending on configuration, uses the extenders identification to accept or deny an extender from connecting. A fabric extender may be connected to different core switches via different uplink ports. In that case, each core switch's instance of the MIB may refer to the same extender. Ports on core switch used to connect to extenders are known as Fabric ports. A fabric port may be a physical interface or a logical interface such as an EtherChannel. An extender may connect into a core switch via more than one fabric port. Non fabric ports on an extender are typically used to connect hosts/servers.")
cisco_ethernet_fabric_extender_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 0))
cisco_ethernet_fabric_extender_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1))
cisco_ethernet_fabric_extender_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2))
cefex_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1))
class Ciscoportpinningmode(TextualConvention, Integer32):
description = "This denotes the mode of re-pinning. Re-pinning defines how traffic forwarding is altered between fabric extender and its core switch in case of a fabric port state change. For fabric extenders that do not support local forwarding, they do not perform normal address learning and forwarding as a traditional 802.1d compliant bridge. A method named 'pinning' is used instead to dictate forwarding behavior. That means, traffic from a specific non fabric port is always forwarded to its pinned fabric port (no local forwarding). Each non fabric port is 'pinned' to one of the fabric ports. Load balancing aspects affecting pinned fabric port selection is dictated by internal implementation. If a particular fabric port fails, all the non fabric ports pinned to the failed fabric port may need to be moved to the remaining fabric ports, if any. Note that traffic distribution within a fabric EtherChannel does not utilize the 'pinning' method. The traditional hash of MAC address, IP address and TCP/UDP port is used to select fabric port within a fabric EtherChannel. It is planned that more enumeration will be introduced in subsequent updates. static(1) - If this mode is chosen, non fabric ports are not re-pinned to other fabric ports in case of fabric port failure."
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1))
named_values = named_values(('static', 1))
cefex_binding_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1))
if mibBuilder.loadTexts:
cefexBindingTable.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingTable.setDescription("This table has the binding information of a 'Fabric Port' to 'Fabric Extender' on a 'Extender Core Switch'. Each entry in this table configures one fabric port. A core switch does not accept fabric extender connections into its fabric ports unless the extender matches an entry in this table. Once matched, the extender is identified by the instances of the cefexBindingExtenderIndex in the matching row. The matching criteria and values to match for each fabric extender are specified in a row in the cefexConfigTable. Each row in the cefexConfigTable is indexed by cefexBindingExtenderIndex. Each row in this table has an unique cefexBindingExtenderIndex value, therefore, providing the linkage between the two tables. It is expected that user first creates a row in the cefexConfigTable for a specific cefexBindingExtenderIndex, followed by creation of the corresponding row in this table for the same cefexBindingExtenderIndex.. If a row in this table is created and if there is no corresponding row created in the cefexConfigTable, then the agent will automatically create a row in the cefexConfigTable with instance of every object in this row initialized to the DEFVAL.")
cefex_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingInterfaceOnCoreSwitch'))
if mibBuilder.loadTexts:
cefexBindingEntry.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingEntry.setDescription('There is one entry in this table for each core switch Interface that can be connected to an uplink interface of a fabric extender.')
cefex_binding_interface_on_core_switch = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 1), interface_index())
if mibBuilder.loadTexts:
cefexBindingInterfaceOnCoreSwitch.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingInterfaceOnCoreSwitch.setDescription('This object is the index that uniquely identifies an entry in the cefexBindingTable. The value of this object is an IfIndex to a fabric port. By creating a row in this table for a particular core switch interface, the user enables that core switch interface to accept a fabric extender. By default, a core switch interface does not have an entry in this table and consequently does not accept/respond to discovery requests from fabric extenders.')
cefex_binding_extender_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(100, 999))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexBindingExtenderIndex.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingExtenderIndex.setDescription('The value of cefexBindingExtenderIndex used as an Index into the cefexConfigTable to select the Fabric Extender configuration for this binding entry. However, a value in this table does not imply that an instance with this value exists in the cefexConfigTable. If an entry corresponding to the value of this object does not exist in cefexConfigTable, the system default behavior (using DEFVAL values for all the configuration objects as defined in cefexConfigTable) of the Fabric Extender is used for this binding entry. Since an extender may connect to a core switch via multiple interfaces or fabric ports, it is important all the binding entries configuring the same fabric extender are configured with the same extender Index. Every interface on different fabric extender connecting into the same core switch is differentiated by its extender id. To refer to a port on the extender, an example representation may be extender/slot/port. Extender id values 1-99 are reserved. For example, reserved values can be used to identify the core switch and its line cards in the extender/slot/port naming scheme. cefexBindingExtenderIndex identifies further attributes of a fabric extender via the cefexConfigTable. A user may choose to identify a fabric extender by specifying its value of cefexConfigExtendername and/or other attributes.')
cefex_binding_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 3), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cefexBindingCreationTime.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingCreationTime.setDescription("The timestamp of this entry's creation time.")
cefex_binding_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 4), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexBindingRowStatus.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingRowStatus.setDescription('The status of this conceptual row.')
cefex_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2))
if mibBuilder.loadTexts:
cefexConfigTable.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigTable.setDescription('This table facilitates configuration applicable to an entire fabric extender.')
cefex_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingExtenderIndex'))
if mibBuilder.loadTexts:
cefexConfigEntry.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigEntry.setDescription('There is one entry in this table for each fabric extender configured on the core switch.')
cefex_config_extender_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexConfigExtenderName.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigExtenderName.setDescription("This object specifies a human readable string representing the name of the 'Extender'. Note that default value of this object will be the string 'FEXxxxx' where xxxx is value of cefexBindingExtenderIndex expressed as 4 digits. For example, if cefexBindingExtenderIndex is 123, the default value of this object is 'FEX0123'. This object allows the user to identify the extender with an appropriate name.")
cefex_config_serial_num_check = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 2), truth_value().clone('false')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexConfigSerialNumCheck.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigSerialNumCheck.setDescription("This object specifies if the serial number check is enabled for this extender or not. If the value of this object is 'true', then the core switch rejects any extender except for the one with serial number string specified by cefexConfigSerialNum. If the value of this object is 'false', then the core switch accept any extender.")
cefex_config_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexConfigSerialNum.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigSerialNum.setDescription("This object allows the user to identify a fabric extender's Serial Number String. This object is relevant if cefexBindingSerialNumCheck is true. Zero is not a valid length for this object if cefexBindingSerialNumCheck is true.")
cefex_config_pinning_fail_over_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 4), cisco_port_pinning_mode().clone('static')).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexConfigPinningFailOverMode.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigPinningFailOverMode.setDescription('This object allows the user to identify the fabric port failure handling method when pinning is used.')
cefex_config_pinning_max_links = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 100)).clone(1)).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexConfigPinningMaxLinks.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigPinningMaxLinks.setDescription('This object allows the user to identify number of fabric ports to be used in distribution of pinned non fabric ports. As described above, pinning is the forwarding model used for fabric extenders that do not support local forwarding. Traffic from a non fabric port is forwarded to one fabric port. Selection of non fabric port pinning to fabric ports is distributed as evenly as possible across fabric ports. This object allows administrator to configure number of fabric ports that should be used for pinning non fabric ports.')
cefex_config_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 6), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
cefexConfigCreationTime.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigCreationTime.setDescription("The timestamp when the value of the corresponding instance of 'cefexConfigRowStatus' is made active. If an user modifies objects in this table, the new values are immediately activated. Depending on the object changed, an accepted fabric extender may become not acceptable. As a result, the fabric extender may be disconnected from the core switch.")
cefex_config_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 7), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
cefexConfigRowStatus.setStatus('current')
if mibBuilder.loadTexts:
cefexConfigRowStatus.setDescription('The status of this conceptual row. A row in this table becomes active immediately upon creation.')
c_ethernet_fabric_extender_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1))
c_ethernet_fabric_extender_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2))
c_ethernet_fabric_extender_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1, 1)).setObjects(('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingConformanceObjects'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
c_ethernet_fabric_extender_mib_compliance = cEthernetFabricExtenderMIBCompliance.setStatus('current')
if mibBuilder.loadTexts:
cEthernetFabricExtenderMIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-ETHERNET-FABRIC-EXTENDER-MIB mib.')
cefex_binding_conformance_objects = object_group((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2, 1)).setObjects(('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingExtenderIndex'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingCreationTime'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingRowStatus'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigExtenderName'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigSerialNumCheck'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigSerialNum'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigPinningFailOverMode'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigPinningMaxLinks'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigCreationTime'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigRowStatus'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
cefex_binding_conformance_objects = cefexBindingConformanceObjects.setStatus('current')
if mibBuilder.loadTexts:
cefexBindingConformanceObjects.setDescription('A collection of objects related to Fabric Extender binding to core switch.')
mibBuilder.exportSymbols('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', cefexBindingConformanceObjects=cefexBindingConformanceObjects, cefexConfigPinningFailOverMode=cefexConfigPinningFailOverMode, cefexConfig=cefexConfig, PYSNMP_MODULE_ID=ciscoEthernetFabricExtenderMIB, cefexConfigCreationTime=cefexConfigCreationTime, cefexBindingEntry=cefexBindingEntry, cefexConfigTable=cefexConfigTable, ciscoEthernetFabricExtenderMIBConformance=ciscoEthernetFabricExtenderMIBConformance, cefexBindingTable=cefexBindingTable, cefexBindingRowStatus=cefexBindingRowStatus, CiscoPortPinningMode=CiscoPortPinningMode, cEthernetFabricExtenderMIBCompliances=cEthernetFabricExtenderMIBCompliances, cefexConfigEntry=cefexConfigEntry, cefexConfigSerialNum=cefexConfigSerialNum, ciscoEthernetFabricExtenderMIBNotifs=ciscoEthernetFabricExtenderMIBNotifs, cefexConfigSerialNumCheck=cefexConfigSerialNumCheck, cefexConfigPinningMaxLinks=cefexConfigPinningMaxLinks, cEthernetFabricExtenderMIBCompliance=cEthernetFabricExtenderMIBCompliance, ciscoEthernetFabricExtenderObjects=ciscoEthernetFabricExtenderObjects, ciscoEthernetFabricExtenderMIB=ciscoEthernetFabricExtenderMIB, cEthernetFabricExtenderMIBGroups=cEthernetFabricExtenderMIBGroups, cefexBindingCreationTime=cefexBindingCreationTime, cefexConfigExtenderName=cefexConfigExtenderName, cefexConfigRowStatus=cefexConfigRowStatus, cefexBindingInterfaceOnCoreSwitch=cefexBindingInterfaceOnCoreSwitch, cefexBindingExtenderIndex=cefexBindingExtenderIndex) |
JAZZMIN_SETTINGS = {
# title of the window
'site_title': 'DIT Admin',
# Title on the brand, and the login screen (19 chars max)
'site_header': 'DIT',
# square logo to use for your site, must be present in static files, used for favicon and brand on top left
'site_logo': 'data_log_sheet/img/logo.png',
# Welcome text on the login screen
'welcome_sign': 'Welcome to DIT Data Log Sheet',
# Copyright on the footer
'copyright': 'antonnifo',
# The model admin to search from the search bar, search bar omitted if excluded
# 'search_model': 'auth.User',
'search_model': 'data_log_sheet.DataLogSheet',
# Field name on user model that contains avatar image
'user_avatar': None,
############
# Top Menu #
############
# Links to put along the top menu
'topmenu_links': [
# Url that gets reversed (Permissions can be added)
{'name': 'Home', 'url': 'admin:index', 'permissions': ['auth.view_user']},
# external url that opens in a new window (Permissions can be added)
# {'name': 'Support', 'url': 'https://github.com/farridav/django-jazzmin/issues', 'new_window': True},
# {'name': 'Site', 'url': 'https://www.citizenweekly.org/', 'new_window': True},
# model admin to link to (Permissions checked against model)
{'model': 'data_log_sheet.DataLogSheet'},
{'model': 'auth.User'},
# App with dropdown menu to all its models pages (Permissions checked against models)
{'app': 'data_log_sheet'},
],
#############
# User Menu #
#############
# Additional links to include in the user menu on the top right ('app' url type is not allowed)
'usermenu_links': [
{'model': 'auth.user'}
],
#############
# Side Menu #
#############
# Whether to display the side menu
'show_sidebar': True,
# Whether to aut expand the menu
'navigation_expanded': True,
# Hide these apps when generating side menu e.g (auth)
'hide_apps': [],
# Hide these models when generating side menu (e.g auth.user)
'hide_models': [],
# List of apps to base side menu ordering off of (does not need to contain all apps)
'order_with_respect_to': ['data_log_sheet',],
# Custom links to append to app groups, keyed on app name
# 'custom_links': {
# 'polls': [{
# 'name': 'Make Messages',
# 'url': 'make_messages',
# 'icon': 'fas fa-comments',
# 'permissions': ['polls.view_poll']
# }]
# },
# Custom icons for side menu apps/models See https://www.fontawesomecheatsheet.com/font-awesome-cheatsheet-5x/
# for a list of icon classes
'icons': {
'auth': 'fas fa-users-cog',
'auth.user': 'fas fa-user',
'auth.Group': 'fas fa-users',
'data_log_sheet.DataLogSheet': 'fas fa-file-alt',
},
# Icons that are used when one is not manually specified
'default_icon_parents': 'fas fa-chevron-circle-right',
'default_icon_children': 'fab fa-pied-piper-alt',
#############
# UI Tweaks #
#############
# Relative paths to custom CSS/JS scripts (must be present in static files)
"custom_css": None,
"custom_js": None,
# Whether to show the UI customizer on the sidebar
"show_ui_builder": False,
###############
# Change view #
###############
# Render out the change view as a single form, or in tabs, current options are
# - single
# - horizontal_tabs (default)
# - vertical_tabs
# - collapsible
# - carousel
"changeform_format": "carousel",
# override change forms on a per modeladmin basis
"changeform_format_overrides": {"auth.user": "carousel", "auth.group": "carousel",},
# Add a language dropdown into the admin
"language_chooser": False,
} | jazzmin_settings = {'site_title': 'DIT Admin', 'site_header': 'DIT', 'site_logo': 'data_log_sheet/img/logo.png', 'welcome_sign': 'Welcome to DIT Data Log Sheet', 'copyright': 'antonnifo', 'search_model': 'data_log_sheet.DataLogSheet', 'user_avatar': None, 'topmenu_links': [{'name': 'Home', 'url': 'admin:index', 'permissions': ['auth.view_user']}, {'model': 'data_log_sheet.DataLogSheet'}, {'model': 'auth.User'}, {'app': 'data_log_sheet'}], 'usermenu_links': [{'model': 'auth.user'}], 'show_sidebar': True, 'navigation_expanded': True, 'hide_apps': [], 'hide_models': [], 'order_with_respect_to': ['data_log_sheet'], 'icons': {'auth': 'fas fa-users-cog', 'auth.user': 'fas fa-user', 'auth.Group': 'fas fa-users', 'data_log_sheet.DataLogSheet': 'fas fa-file-alt'}, 'default_icon_parents': 'fas fa-chevron-circle-right', 'default_icon_children': 'fab fa-pied-piper-alt', 'custom_css': None, 'custom_js': None, 'show_ui_builder': False, 'changeform_format': 'carousel', 'changeform_format_overrides': {'auth.user': 'carousel', 'auth.group': 'carousel'}, 'language_chooser': False} |
numbers = [4, 400, 5000]
print("Max Value Element: ", max(numbers))
animals = ["dogs", "crocodiles", "turtles"]
print(max(animals))
animals.append(["zebras"]) #adds the the list with one element "zebras" to the existing list as one object.
print(animals)
animals.extend("zebras") #iterates through the string one character at a time and adds in this fashion
print(animals)
animals.append(["zebras, lions, tigers"]) #adds the list with three elements "zebras", "lions", "tigers" as one object to the existing list. Nested List.
print(animals)
animals.extend(["zebras, lions, tigers"])
print(animals)
animals.extend(["zebras", "lions", "tigers"])
print(animals)
print(animals.count(["zebras, lions, tigers"]))
animals.append(["crocodiles"])
print(animals)
animals.append("crocodiles")
print(animals)
print(animals.index("crocodiles"))
animals.insert(3, "penguins")
print(animals)
animals.pop(-1)
print(animals)
animals.reverse()
print(animals)
new_animals = []
for e in animals:
if e not in ("z", "e", "b", "r", "a", "s"):
new_animals.append(e)
animals = new_animals
print(animals)
animals = [e]
animals = [e for e in animals if e not in {"z", "e", "b", "r", "a", "s"}]
| numbers = [4, 400, 5000]
print('Max Value Element: ', max(numbers))
animals = ['dogs', 'crocodiles', 'turtles']
print(max(animals))
animals.append(['zebras'])
print(animals)
animals.extend('zebras')
print(animals)
animals.append(['zebras, lions, tigers'])
print(animals)
animals.extend(['zebras, lions, tigers'])
print(animals)
animals.extend(['zebras', 'lions', 'tigers'])
print(animals)
print(animals.count(['zebras, lions, tigers']))
animals.append(['crocodiles'])
print(animals)
animals.append('crocodiles')
print(animals)
print(animals.index('crocodiles'))
animals.insert(3, 'penguins')
print(animals)
animals.pop(-1)
print(animals)
animals.reverse()
print(animals)
new_animals = []
for e in animals:
if e not in ('z', 'e', 'b', 'r', 'a', 's'):
new_animals.append(e)
animals = new_animals
print(animals)
animals = [e]
animals = [e for e in animals if e not in {'z', 'e', 'b', 'r', 'a', 's'}] |
def get_subarray_sum_1(s_array): #O(n**2)
'''
Return max subarray and max subarray sum
'''
#initialise variables
max_sum = 0
max_sub_array = []
#get all items in array and go through them
for item in range(len(s_array)):
#get all possible sub arrays while maintaining their max sum and max subarray
#for every tiem go to items after it and record max sum and max sub array if greater than current max sum
index1 = item
index2 = item
while index2 < len(s_array):
index2 += 1
if ( sum(s_array[index1:index2+1]) > (max_sum) ):
max_sum = sum(s_array[index1:index2+1])
max_sub_array = s_array[index1:index2+1]
return (max_sub_array,max_sum)
def get_subarray_sum_2(s_array): #O(n**2)
'''
Return max subarray and max subarray sum
'''
#initialise variables
max_sum = 0
max_sub_array = []
#get all items in array and go through them
for item in range(len(s_array)):
#get all possible sub arrays while maintaining their max sum and max subarray
#for every tiem go to items after it and record max sum and max sub array if greater than current max sum
if item == 0:
continue
if( sum( s_array[:item+1] ) > max_sum):
max_sum = sum( s_array[:item+1] )
max_sub_array = s_array[:item+1]
return (max_sub_array,max_sum)
#get subarray
s_array = [2, 4, -3, 5, -9 ,6, 2, 1 ,-5]
#get subarray and subarray sum
print(get_subarray_sum_1(s_array)) | def get_subarray_sum_1(s_array):
"""
Return max subarray and max subarray sum
"""
max_sum = 0
max_sub_array = []
for item in range(len(s_array)):
index1 = item
index2 = item
while index2 < len(s_array):
index2 += 1
if sum(s_array[index1:index2 + 1]) > max_sum:
max_sum = sum(s_array[index1:index2 + 1])
max_sub_array = s_array[index1:index2 + 1]
return (max_sub_array, max_sum)
def get_subarray_sum_2(s_array):
"""
Return max subarray and max subarray sum
"""
max_sum = 0
max_sub_array = []
for item in range(len(s_array)):
if item == 0:
continue
if sum(s_array[:item + 1]) > max_sum:
max_sum = sum(s_array[:item + 1])
max_sub_array = s_array[:item + 1]
return (max_sub_array, max_sum)
s_array = [2, 4, -3, 5, -9, 6, 2, 1, -5]
print(get_subarray_sum_1(s_array)) |
#sort function
def Binary_Insertion_Sort(lst):
for i in range(1, len(lst)):
x = lst[i] # here x is a temporary variable
pos = BinarySearch(lst, x, 0, i) + 1
for j in range(i, pos, -1):
lst[j] = lst[j - 1]
lst[pos] = x
#binary search function for finding the next value
def BinarySearch(array, value, low, high):
if high - low <= 1:
if value < array[low]:
return low - 1
else:
return low
mid = (low + high)//2
if array[mid] < value:
return BinarySearch(array, value, mid, high)
elif array[mid] > value:
return BinarySearch(array, value, low, mid)
else:
return mid
#main function
array = input('Enter the array of numbers: ').split() #enter the values leaving a space between each
array = [int(x) for x in array]
Binary_Insertion_Sort(array)
print('The array after sorting: ', end='')
print(array)
'''
Example:
Input:
Enter the array of numbers: 90 -20 8 11 3
Output:
The array after sorting: [-20, 3, 8, 11, 90]
'''
| def binary__insertion__sort(lst):
for i in range(1, len(lst)):
x = lst[i]
pos = binary_search(lst, x, 0, i) + 1
for j in range(i, pos, -1):
lst[j] = lst[j - 1]
lst[pos] = x
def binary_search(array, value, low, high):
if high - low <= 1:
if value < array[low]:
return low - 1
else:
return low
mid = (low + high) // 2
if array[mid] < value:
return binary_search(array, value, mid, high)
elif array[mid] > value:
return binary_search(array, value, low, mid)
else:
return mid
array = input('Enter the array of numbers: ').split()
array = [int(x) for x in array]
binary__insertion__sort(array)
print('The array after sorting: ', end='')
print(array)
'\nExample:\nInput:\nEnter the array of numbers: 90 -20 8 11 3\nOutput:\nThe array after sorting: [-20, 3, 8, 11, 90]\n' |
"""Code sample."""
def myfunc(s):
"""Convert strings to mixed caps."""
ret_val = ''
index = 0
for letter in s:
if index % 2 == 0:
ret_val = ret_val + letter.upper()
else:
ret_val = ret_val + letter.lower()
index = index+1
return ret_val
| """Code sample."""
def myfunc(s):
"""Convert strings to mixed caps."""
ret_val = ''
index = 0
for letter in s:
if index % 2 == 0:
ret_val = ret_val + letter.upper()
else:
ret_val = ret_val + letter.lower()
index = index + 1
return ret_val |
prog = ['H', 'Q', '9']
code = list(i for i in input())
run = False
for i in code:
if i in prog:
run = True
break
if run:
print('YES')
else:
print('NO') | prog = ['H', 'Q', '9']
code = list((i for i in input()))
run = False
for i in code:
if i in prog:
run = True
break
if run:
print('YES')
else:
print('NO') |
def th_selector(over_area, altitude):
if altitude <= 10:
th_x = over_area // 2 # 40
th_y = over_area // 4 # 20
return th_x, th_y
elif altitude <=20:
th_x = over_area // 8
th_y = over_area // 20
return th_x, th_y
else:
th_x = over_area // 20
th_y = over_area // 40
return th_x, th_y
def is_overlap_area(gt, box):
#order: [start x, start y, end x, end y]
if(gt[0]<=int(box[0]) and int(box[2])<=gt[2])\
or (gt[0]<=int(box[2]) and int(box[2])<=gt[2])\
or (gt[0]<=int(box[0]) and int(box[0])<=gt[2])\
or (int(box[0])<=gt[0] and gt[2]<=int(box[2])):
return True
else:
return False
def lable_selector(box_a, box_b):
#order: [start x, start y, end x, end y, lable, score]
if box_a[5] > box_b[5]:
return box_a[4], box_a[5]
else:
return box_b[4], box_b[5]
def bigger_box(box_a, box_b):
#order: [start x, start y, end x, end y, lable, score]
lable, score = lable_selector(box_a, box_b)
bigger_box = [min(box_a[0], box_b[0]), min(box_a[1], box_b[1])
, max(box_a[2], box_b[2]), max(box_a[3], box_b[3])
, lable, score]
return bigger_box
def is_same_obj(box, r_box, over_area, th_x, th_y):
#order: [start x, start y, end x, end y]
r_x_dist = (r_box[2] - r_box[0])
l_x_dist = (box[2] - box[0])
small_th = over_area // 3
r_mx = (r_box[0] + r_box[2]) // 2
sy_dist = abs(r_box[1] - box[1])
ey_dist = abs(r_box[3] - box[3])
l_mx = (box[0] + box[2]) // 2
# is y distance close?
if sy_dist<th_y and ey_dist<th_y:
# is x center distance close?
if abs(l_mx - r_mx) < th_x:
return True
else:
# is object too small?
if l_x_dist < small_th and r_x_dist < small_th:
#return True
return False
box_size = (box[2] - box[0]) * (box[3] - box[1])
r_box_size = (r_box[2] - r_box[0]) * (r_box[3] - r_box[1])
th_size = over_area * over_area * 4
th_th = int(over_area*0.2)
#if (box_size >= th_size) and (r_box_size >= th_size):
# return True
#
if (box_size >= th_size) and (r_box_size >= th_size)\
and (abs(box[2] - over_area*9)<th_th)\
and (abs(r_box[0] - over_area*7)<th_th)\
and r_box[0] < box[2]:
return True
return False
else:
return False
def get_close_obj(boxes, r_box, over_area, th_x, th_y):
#order: [start x, start y, end x, end y, lable, score]
# make the same object map
obj_map = []
new_obj = 0
for j in range(len(boxes)):
obj_map.append(is_same_obj(boxes[j], r_box, over_area, th_x, th_y))
# change the existing object
for j in range(len(obj_map)):
new_obj += int(obj_map[j])
if obj_map[j]:
boxes[j] = bigger_box(r_box, boxes[j])
break
# add the none existing obj
if new_obj == 0:
boxes.append(r_box)
return None | def th_selector(over_area, altitude):
if altitude <= 10:
th_x = over_area // 2
th_y = over_area // 4
return (th_x, th_y)
elif altitude <= 20:
th_x = over_area // 8
th_y = over_area // 20
return (th_x, th_y)
else:
th_x = over_area // 20
th_y = over_area // 40
return (th_x, th_y)
def is_overlap_area(gt, box):
if gt[0] <= int(box[0]) and int(box[2]) <= gt[2] or (gt[0] <= int(box[2]) and int(box[2]) <= gt[2]) or (gt[0] <= int(box[0]) and int(box[0]) <= gt[2]) or (int(box[0]) <= gt[0] and gt[2] <= int(box[2])):
return True
else:
return False
def lable_selector(box_a, box_b):
if box_a[5] > box_b[5]:
return (box_a[4], box_a[5])
else:
return (box_b[4], box_b[5])
def bigger_box(box_a, box_b):
(lable, score) = lable_selector(box_a, box_b)
bigger_box = [min(box_a[0], box_b[0]), min(box_a[1], box_b[1]), max(box_a[2], box_b[2]), max(box_a[3], box_b[3]), lable, score]
return bigger_box
def is_same_obj(box, r_box, over_area, th_x, th_y):
r_x_dist = r_box[2] - r_box[0]
l_x_dist = box[2] - box[0]
small_th = over_area // 3
r_mx = (r_box[0] + r_box[2]) // 2
sy_dist = abs(r_box[1] - box[1])
ey_dist = abs(r_box[3] - box[3])
l_mx = (box[0] + box[2]) // 2
if sy_dist < th_y and ey_dist < th_y:
if abs(l_mx - r_mx) < th_x:
return True
else:
if l_x_dist < small_th and r_x_dist < small_th:
return False
box_size = (box[2] - box[0]) * (box[3] - box[1])
r_box_size = (r_box[2] - r_box[0]) * (r_box[3] - r_box[1])
th_size = over_area * over_area * 4
th_th = int(over_area * 0.2)
if box_size >= th_size and r_box_size >= th_size and (abs(box[2] - over_area * 9) < th_th) and (abs(r_box[0] - over_area * 7) < th_th) and (r_box[0] < box[2]):
return True
return False
else:
return False
def get_close_obj(boxes, r_box, over_area, th_x, th_y):
obj_map = []
new_obj = 0
for j in range(len(boxes)):
obj_map.append(is_same_obj(boxes[j], r_box, over_area, th_x, th_y))
for j in range(len(obj_map)):
new_obj += int(obj_map[j])
if obj_map[j]:
boxes[j] = bigger_box(r_box, boxes[j])
break
if new_obj == 0:
boxes.append(r_box)
return None |
MAX_SIZE = 2000001
isprime = [True] * MAX_SIZE
prime = []
SPF = [None] * (MAX_SIZE)
def sieve(N):
isprime[0] = isprime[1] = False
for i in range(2, N):
if isprime[i] == True:
prime.append(i)
SPF[i] = i
j = 0
while j < len(prime) and i * prime[j] < N and prime[j] <= SPF[i]:
isprime[i * prime[j]] = False
SPF[i * prime[j]] = prime[j]
j += 1
N = int(input())
sieve(N)
print(prime) | max_size = 2000001
isprime = [True] * MAX_SIZE
prime = []
spf = [None] * MAX_SIZE
def sieve(N):
isprime[0] = isprime[1] = False
for i in range(2, N):
if isprime[i] == True:
prime.append(i)
SPF[i] = i
j = 0
while j < len(prime) and i * prime[j] < N and (prime[j] <= SPF[i]):
isprime[i * prime[j]] = False
SPF[i * prime[j]] = prime[j]
j += 1
n = int(input())
sieve(N)
print(prime) |
# # 01 solution
line_nums = input().split()
remove = int(input())
line_nums_list = [int(x) for x in line_nums]
for i in range(remove):
line_nums_list.remove(min(line_nums_list))
line_nums = ", ".join([str(x) for x in line_nums_list])
print(line_nums)
# # INPUT 1
# 10 9 8 7 6 5
# 3
# # INPUT 2
# 1 10 2 9 3 8
# 2
# # INPUT END | line_nums = input().split()
remove = int(input())
line_nums_list = [int(x) for x in line_nums]
for i in range(remove):
line_nums_list.remove(min(line_nums_list))
line_nums = ', '.join([str(x) for x in line_nums_list])
print(line_nums) |
def Owl(thoughts, eyes, eye, tongue):
return f"""
{thoughts}
{thoughts}
___
(o o)
( V )
/--m-m-
""" | def owl(thoughts, eyes, eye, tongue):
return f'\n {thoughts}\n {thoughts}\n ___\n (o o)\n ( V )\n /--m-m-\n' |
"""
https://leetcode.com/problems/length-of-last-word/
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word (last word means the last appearing word if we loop from left to right) in the string.
If the last word does not exist, return 0.
Note: A word is defined as a maximal substring consisting of non-space characters only.
Example:
Input: "Hello World"
Output: 5
"""
# check each letter of the string, if a non-space letter is found, check if the letter before it is a space
# if so, length starts from 1, if not, length is incremented
# this is very important when there is space at the end of the string like "Hello World "
# time complexity: O(n), space complexity: O(1)
class Solution:
def lengthOfLastWord(self, s: str) -> int:
if len(s) == 0:
return 0
length = 0
i = 0
space = False
while i < len(s):
if s[i] != ' ':
if space == True:
length = 1
space = not space
else:
length += 1
else:
space = True
i += 1
return length | """
https://leetcode.com/problems/length-of-last-word/
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word (last word means the last appearing word if we loop from left to right) in the string.
If the last word does not exist, return 0.
Note: A word is defined as a maximal substring consisting of non-space characters only.
Example:
Input: "Hello World"
Output: 5
"""
class Solution:
def length_of_last_word(self, s: str) -> int:
if len(s) == 0:
return 0
length = 0
i = 0
space = False
while i < len(s):
if s[i] != ' ':
if space == True:
length = 1
space = not space
else:
length += 1
else:
space = True
i += 1
return length |
"""
Using while loop for the
first time.
"""
#Declaring variables
x = 0
#initiating the loop
while x >= 10:
#Stuff that gets iterated when the condition above is true
print("Dard to hai")
x = x + 2
#The loop has finally ended
print("The loop has finally ended")
| """
Using while loop for the
first time.
"""
x = 0
while x >= 10:
print('Dard to hai')
x = x + 2
print('The loop has finally ended') |
'''
Routines for generating dynamic files.
'''
def file_with_dyn_area(
file_path, content,
first_guard='<!-- guard line: beginning -->',
second_guard='<!-- guard line: end -->'):
'''
The function reads a file, locates the guards, replaces the content.
'''
full_content = ''
guard_count = 0
with open(file_path, 'rt') as finp:
for fline in finp:
finp_trim = fline[:-1].strip()
if guard_count == 0:
full_content += fline
if finp_trim == first_guard:
guard_count = 1
full_content += content
elif guard_count == 1:
if finp_trim == second_guard:
full_content += fline
guard_count = 2
else:
full_content += fline
if guard_count != 2:
raise IOError('file %s is not a proper template' % file_path)
with open(file_path, 'wt') as fout:
fout.write(full_content)
| """
Routines for generating dynamic files.
"""
def file_with_dyn_area(file_path, content, first_guard='<!-- guard line: beginning -->', second_guard='<!-- guard line: end -->'):
"""
The function reads a file, locates the guards, replaces the content.
"""
full_content = ''
guard_count = 0
with open(file_path, 'rt') as finp:
for fline in finp:
finp_trim = fline[:-1].strip()
if guard_count == 0:
full_content += fline
if finp_trim == first_guard:
guard_count = 1
full_content += content
elif guard_count == 1:
if finp_trim == second_guard:
full_content += fline
guard_count = 2
else:
full_content += fline
if guard_count != 2:
raise io_error('file %s is not a proper template' % file_path)
with open(file_path, 'wt') as fout:
fout.write(full_content) |
# @arnaud drop this file?
# ----------------------------------------------------------------------
#
# Misc constants
#
UA_MAXOP = 6
# ----------------------------------------------------------------------
# instruc_t related constants
#
# instruc_t.feature
#
CF_STOP = 0x00001 # Instruction doesn't pass execution to the next instruction
CF_CALL = 0x00002 # CALL instruction (should make a procedure here)
CF_CHG1 = 0x00004 # The instruction modifies the first operand
CF_CHG2 = 0x00008 # The instruction modifies the second operand
CF_CHG3 = 0x00010 # The instruction modifies the third operand
CF_CHG4 = 0x00020 # The instruction modifies 4 operand
CF_CHG5 = 0x00040 # The instruction modifies 5 operand
CF_CHG6 = 0x00080 # The instruction modifies 6 operand
CF_USE1 = 0x00100 # The instruction uses value of the first operand
CF_USE2 = 0x00200 # The instruction uses value of the second operand
CF_USE3 = 0x00400 # The instruction uses value of the third operand
CF_USE4 = 0x00800 # The instruction uses value of the 4 operand
CF_USE5 = 0x01000 # The instruction uses value of the 5 operand
CF_USE6 = 0x02000 # The instruction uses value of the 6 operand
CF_JUMP = 0x04000 # The instruction passes execution using indirect jump or call (thus needs additional analysis)
CF_SHFT = 0x08000 # Bit-shift instruction (shl,shr...)
CF_HLL = 0x10000 # Instruction may be present in a high level language function.
# ----------------------------------------------------------------------
# op_t related constants
#
# op_t.type
# Description Data field
o_void = 0 # No Operand ----------
o_reg = 1 # General Register (al,ax,es,ds...) reg
o_mem = 2 # Direct Memory Reference (DATA) addr
o_phrase = 3 # Memory Ref [Base Reg + Index Reg] phrase
o_displ = 4 # Memory Reg [Base Reg + Index Reg + Displacement] phrase+addr
o_imm = 5 # Immediate Value value
o_far = 6 # Immediate Far Address (CODE) addr
o_near = 7 # Immediate Near Address (CODE) addr
o_idpspec0 = 8 # Processor specific type
o_idpspec1 = 9 # Processor specific type
o_idpspec2 = 10 # Processor specific type
o_idpspec3 = 11 # Processor specific type
o_idpspec4 = 12 # Processor specific type
o_idpspec5 = 13 # Processor specific type
# There can be more processor specific types
#
# op_t.dtype
#
dt_byte = 0 # 8 bit
dt_word = 1 # 16 bit
dt_dword = 2 # 32 bit
dt_float = 3 # 4 byte
dt_double = 4 # 8 byte
dt_tbyte = 5 # variable size (ph.tbyte_size)
dt_packreal = 6 # packed real format for mc68040
dt_qword = 7 # 64 bit
dt_byte16 = 8 # 128 bit
dt_code = 9 # ptr to code (not used?)
dt_void = 10 # none
dt_fword = 11 # 48 bit
dt_bitfild = 12 # bit field (mc680x0)
dt_string = 13 # pointer to asciiz string
dt_unicode = 14 # pointer to unicode string
dt_ldbl = 15 # long double (which may be different from tbyte)
dt_byte32 = 16 # 256 bit
dt_byte64 = 17 # 512 bit
#
# op_t.flags
#
OF_NO_BASE_DISP = 0x80 # o_displ: base displacement doesn't exist meaningful only for o_displ type if set, base displacement (x.addr) doesn't exist.
OF_OUTER_DISP = 0x40 # o_displ: outer displacement exists meaningful only for o_displ type if set, outer displacement (x.value) exists.
PACK_FORM_DEF = 0x20 # !o_reg + dt_packreal: packed factor defined
OF_NUMBER = 0x10 # can be output as number only if set, the operand can be converted to a number only
OF_SHOW = 0x08 # should the operand be displayed? if clear, the operand is hidden and should not be displayed
#
# insn_t.flags
#
INSN_MACRO = 0x01 # macro instruction
INSN_MODMAC = 0x02 # macros: may modify the database to make room for the macro insn
# ----------------------------------------------------------------------
# asm_t related constants
#
# asm_t.flag
#
AS_OFFST = 0x00000001 # offsets are 'offset xxx' ?
AS_COLON = 0x00000002 # create colons after data names ?
AS_UDATA = 0x00000004 # can use '?' in data directives
AS_2CHRE = 0x00000008 # double char constants are: "xy
AS_NCHRE = 0x00000010 # char constants are: 'x
AS_N2CHR = 0x00000020 # can't have 2 byte char consts
# ASCII directives:
AS_1TEXT = 0x00000040 # 1 text per line, no bytes
AS_NHIAS = 0x00000080 # no characters with high bit
AS_NCMAS = 0x00000100 # no commas in ascii directives
AS_HEXFM = 0x00000E00 # format of hex numbers:
ASH_HEXF0 = 0x00000000 # 34h
ASH_HEXF1 = 0x00000200 # h'34
ASH_HEXF2 = 0x00000400 # 34
ASH_HEXF3 = 0x00000600 # 0x34
ASH_HEXF4 = 0x00000800 # $34
ASH_HEXF5 = 0x00000A00 # <^R > (radix)
AS_DECFM = 0x00003000 # format of dec numbers:
ASD_DECF0 = 0x00000000 # 34
ASD_DECF1 = 0x00001000 # #34
ASD_DECF2 = 0x00002000 # 34.
ASD_DECF3 = 0x00003000 # .34
AS_OCTFM = 0x0001C000 # format of octal numbers:
ASO_OCTF0 = 0x00000000 # 123o
ASO_OCTF1 = 0x00004000 # 0123
ASO_OCTF2 = 0x00008000 # 123
ASO_OCTF3 = 0x0000C000 # @123
ASO_OCTF4 = 0x00010000 # o'123
ASO_OCTF5 = 0x00014000 # 123q
ASO_OCTF6 = 0x00018000 # ~123
AS_BINFM = 0x000E0000 # format of binary numbers:
ASB_BINF0 = 0x00000000 # 010101b
ASB_BINF1 = 0x00020000 # ^B010101
ASB_BINF2 = 0x00040000 # %010101
ASB_BINF3 = 0x00060000 # 0b1010101
ASB_BINF4 = 0x00080000 # b'1010101
ASB_BINF5 = 0x000A0000 # b'1010101'
AS_UNEQU = 0x00100000 # replace undefined data items
# with EQU (for ANTA's A80)
AS_ONEDUP = 0x00200000 # One array definition per line
AS_NOXRF = 0x00400000 # Disable xrefs during the output file generation
AS_XTRNTYPE = 0x00800000 # Assembler understands type of extrn
# symbols as ":type" suffix
AS_RELSUP = 0x01000000 # Checkarg: 'and','or','xor' operations
# with addresses are possible
AS_LALIGN = 0x02000000 # Labels at "align" keyword
# are supported.
AS_NOCODECLN = 0x04000000 # don't create colons after code names
AS_NOTAB = 0x08000000 # Disable tabulation symbols during the output file generation
AS_NOSPACE = 0x10000000 # No spaces in expressions
AS_ALIGN2 = 0x20000000 # .align directive expects an exponent rather than a power of 2
# (.align 5 means to align at 32byte boundary)
AS_ASCIIC = 0x40000000 # ascii directive accepts C-like
# escape sequences (\n,\x01 and similar)
AS_ASCIIZ = 0x80000000 # ascii directive inserts implicit
# zero byte at the end
# ----------------------------------------------------------------------
# processor_t related constants
IDP_INTERFACE_VERSION = 76
CUSTOM_INSN_ITYPE = 0x8000
REG_SPOIL = 0x80000000
REAL_ERROR_FORMAT = -1 # not supported format for current .idp
REAL_ERROR_RANGE = -2 # number too big (small) for store (mem NOT modifyed)
REAL_ERROR_BADDATA = -3 # illegal real data for load (IEEE data not filled)
#
# Check whether the operand is relative to stack pointer or frame pointer.
# This function is used to determine how to output a stack variable
# This function may be absent. If it is absent, then all operands
# are sp based by default.
# Define this function only if some stack references use frame pointer
# instead of stack pointer.
# returns flags:
OP_FP_BASED = 0x00000000 # operand is FP based
OP_SP_BASED = 0x00000001 # operand is SP based
OP_SP_ADD = 0x00000000 # operand value is added to the pointer
OP_SP_SUB = 0x00000002 # operand value is substracted from the pointer
#
# processor_t.flag
#
PR_SEGS = 0x000001 # has segment registers?
PR_USE32 = 0x000002 # supports 32-bit addressing?
PR_DEFSEG32 = 0x000004 # segments are 32-bit by default
PR_RNAMESOK = 0x000008 # allow to user register names for location names
PR_ADJSEGS = 0x000020 # IDA may adjust segments moving their starting/ending addresses.
PR_DEFNUM = 0x0000C0 # default number representation:
PRN_HEX = 0x000000 # hex
PRN_OCT = 0x000040 # octal
PRN_DEC = 0x000080 # decimal
PRN_BIN = 0x0000C0 # binary
PR_WORD_INS = 0x000100 # instruction codes are grouped 2bytes in binrary line prefix
PR_NOCHANGE = 0x000200 # The user can't change segments and code/data attributes (display only)
PR_ASSEMBLE = 0x000400 # Module has a built-in assembler and understands IDP_ASSEMBLE
PR_ALIGN = 0x000800 # All data items should be aligned properly
PR_TYPEINFO = 0x001000 # the processor module supports
# type information callbacks
# ALL OF THEM SHOULD BE IMPLEMENTED!
PR_USE64 = 0x002000 # supports 64-bit addressing?
PR_SGROTHER = 0x004000 # the segment registers don't contain
# the segment selectors, something else
PR_STACK_UP = 0x008000 # the stack grows up
PR_BINMEM = 0x010000 # the processor module provides correct
# segmentation for binary files
# (i.e. it creates additional segments)
# The kernel will not ask the user
# to specify the RAM/ROM sizes
PR_SEGTRANS = 0x020000 # the processor module supports
# the segment translation feature
# (it means it calculates the code
# addresses using the map_code_ea() function)
PR_CHK_XREF = 0x040000 # don't allow near xrefs between segments
# with different bases
PR_NO_SEGMOVE = 0x080000 # the processor module doesn't support move_segm()
# (i.e. the user can't move segments)
PR_USE_ARG_TYPES = 0x200000 # use ph.use_arg_types callback
PR_SCALE_STKVARS = 0x400000 # use ph.get_stkvar_scale callback
PR_DELAYED = 0x800000 # has delayed jumps and calls
PR_ALIGN_INSN = 0x1000000 # allow ida to create alignment instructions
# arbirtrarily. Since these instructions
# might lead to other wrong instructions
# and spoil the listing, IDA does not create
# them by default anymore
PR_PURGING = 0x2000000 # there are calling conventions which may
# purge bytes from the stack
PR_CNDINSNS = 0x4000000 # has conditional instructions
PR_USE_TBYTE = 0x8000000 # BTMT_SPECFLT means _TBYTE type
PR_DEFSEG64 = 0x10000000 # segments are 64-bit by default
# ----------------------------------------------------------------------
OOF_SIGNMASK = 0x0003 # sign symbol (+/-) output:
OOFS_IFSIGN = 0x0000 # output sign if needed
OOFS_NOSIGN = 0x0001 # don't output sign, forbid the user to change the sign
OOFS_NEEDSIGN = 0x0002 # always out sign (+-)
OOF_SIGNED = 0x0004 # output as signed if < 0
OOF_NUMBER = 0x0008 # always as a number
OOF_WIDTHMASK = 0x0070 # width of value in bits:
OOFW_IMM = 0x0000 # take from x.dtype
OOFW_8 = 0x0010 # 8 bit width
OOFW_16 = 0x0020 # 16 bit width
OOFW_24 = 0x0030 # 24 bit width
OOFW_32 = 0x0040 # 32 bit width
OOFW_64 = 0x0050 # 32 bit width
OOF_ADDR = 0x0080 # output x.addr, otherwise x.value
OOF_OUTER = 0x0100 # output outer operand
OOF_ZSTROFF = 0x0200 # meaningful only if is_stroff(uFlag)
# append a struct field name if
# the field offset is zero?
# if AFL_ZSTROFF is set, then this flag
# is ignored.
OOF_NOBNOT = 0x0400 # prohibit use of binary not
OOF_SPACES = 0x0800 # do not suppress leading spaces
# currently works only for floating point numbers
# ----------------------------------------------------------------------
class insn_t(object):
def __init__(self, noperands = UA_MAXOP):
self.auxpref = 0
self.cs = 0
self.ea = 0
self.flags = 0
self.insnpref = 0
self.ip = 0
self.itype = 0
self.n = 0
self.segpref = 0
self.size = 0
self.ops = []
# store the number of operands
self.n = noperands
# create operands
for i in xrange(0, noperands):
op = op_t()
op.n = i
self.ops.append(op)
setattr(self, 'Op%d' % (i+1), op)
def __getitem__(self, i):
return self.ops[i]
# ----------------------------------------------------------------------
class op_t(object):
def __init__(self):
self.addr = 0
self.dtype = 0
self.flags = 0
self.n = 0
self.offb = 0
self.offo = 0
self.reg = 0
self.specval = 0
self.specflag1 = 0
self.specflag2 = 0
self.specflag3 = 0
self.specflag4 = 0
self.type = 0
self.value = 0
# make sure reg and phrase have the same value
def __setattr__(self, name, value):
if name == 'reg' or name == 'phrase':
object.__setattr__(self, 'reg', value)
object.__setattr__(self, 'phrase', value)
else:
object.__setattr__(self, name, value)
| ua_maxop = 6
cf_stop = 1
cf_call = 2
cf_chg1 = 4
cf_chg2 = 8
cf_chg3 = 16
cf_chg4 = 32
cf_chg5 = 64
cf_chg6 = 128
cf_use1 = 256
cf_use2 = 512
cf_use3 = 1024
cf_use4 = 2048
cf_use5 = 4096
cf_use6 = 8192
cf_jump = 16384
cf_shft = 32768
cf_hll = 65536
o_void = 0
o_reg = 1
o_mem = 2
o_phrase = 3
o_displ = 4
o_imm = 5
o_far = 6
o_near = 7
o_idpspec0 = 8
o_idpspec1 = 9
o_idpspec2 = 10
o_idpspec3 = 11
o_idpspec4 = 12
o_idpspec5 = 13
dt_byte = 0
dt_word = 1
dt_dword = 2
dt_float = 3
dt_double = 4
dt_tbyte = 5
dt_packreal = 6
dt_qword = 7
dt_byte16 = 8
dt_code = 9
dt_void = 10
dt_fword = 11
dt_bitfild = 12
dt_string = 13
dt_unicode = 14
dt_ldbl = 15
dt_byte32 = 16
dt_byte64 = 17
of_no_base_disp = 128
of_outer_disp = 64
pack_form_def = 32
of_number = 16
of_show = 8
insn_macro = 1
insn_modmac = 2
as_offst = 1
as_colon = 2
as_udata = 4
as_2_chre = 8
as_nchre = 16
as_n2_chr = 32
as_1_text = 64
as_nhias = 128
as_ncmas = 256
as_hexfm = 3584
ash_hexf0 = 0
ash_hexf1 = 512
ash_hexf2 = 1024
ash_hexf3 = 1536
ash_hexf4 = 2048
ash_hexf5 = 2560
as_decfm = 12288
asd_decf0 = 0
asd_decf1 = 4096
asd_decf2 = 8192
asd_decf3 = 12288
as_octfm = 114688
aso_octf0 = 0
aso_octf1 = 16384
aso_octf2 = 32768
aso_octf3 = 49152
aso_octf4 = 65536
aso_octf5 = 81920
aso_octf6 = 98304
as_binfm = 917504
asb_binf0 = 0
asb_binf1 = 131072
asb_binf2 = 262144
asb_binf3 = 393216
asb_binf4 = 524288
asb_binf5 = 655360
as_unequ = 1048576
as_onedup = 2097152
as_noxrf = 4194304
as_xtrntype = 8388608
as_relsup = 16777216
as_lalign = 33554432
as_nocodecln = 67108864
as_notab = 134217728
as_nospace = 268435456
as_align2 = 536870912
as_asciic = 1073741824
as_asciiz = 2147483648
idp_interface_version = 76
custom_insn_itype = 32768
reg_spoil = 2147483648
real_error_format = -1
real_error_range = -2
real_error_baddata = -3
op_fp_based = 0
op_sp_based = 1
op_sp_add = 0
op_sp_sub = 2
pr_segs = 1
pr_use32 = 2
pr_defseg32 = 4
pr_rnamesok = 8
pr_adjsegs = 32
pr_defnum = 192
prn_hex = 0
prn_oct = 64
prn_dec = 128
prn_bin = 192
pr_word_ins = 256
pr_nochange = 512
pr_assemble = 1024
pr_align = 2048
pr_typeinfo = 4096
pr_use64 = 8192
pr_sgrother = 16384
pr_stack_up = 32768
pr_binmem = 65536
pr_segtrans = 131072
pr_chk_xref = 262144
pr_no_segmove = 524288
pr_use_arg_types = 2097152
pr_scale_stkvars = 4194304
pr_delayed = 8388608
pr_align_insn = 16777216
pr_purging = 33554432
pr_cndinsns = 67108864
pr_use_tbyte = 134217728
pr_defseg64 = 268435456
oof_signmask = 3
oofs_ifsign = 0
oofs_nosign = 1
oofs_needsign = 2
oof_signed = 4
oof_number = 8
oof_widthmask = 112
oofw_imm = 0
oofw_8 = 16
oofw_16 = 32
oofw_24 = 48
oofw_32 = 64
oofw_64 = 80
oof_addr = 128
oof_outer = 256
oof_zstroff = 512
oof_nobnot = 1024
oof_spaces = 2048
class Insn_T(object):
def __init__(self, noperands=UA_MAXOP):
self.auxpref = 0
self.cs = 0
self.ea = 0
self.flags = 0
self.insnpref = 0
self.ip = 0
self.itype = 0
self.n = 0
self.segpref = 0
self.size = 0
self.ops = []
self.n = noperands
for i in xrange(0, noperands):
op = op_t()
op.n = i
self.ops.append(op)
setattr(self, 'Op%d' % (i + 1), op)
def __getitem__(self, i):
return self.ops[i]
class Op_T(object):
def __init__(self):
self.addr = 0
self.dtype = 0
self.flags = 0
self.n = 0
self.offb = 0
self.offo = 0
self.reg = 0
self.specval = 0
self.specflag1 = 0
self.specflag2 = 0
self.specflag3 = 0
self.specflag4 = 0
self.type = 0
self.value = 0
def __setattr__(self, name, value):
if name == 'reg' or name == 'phrase':
object.__setattr__(self, 'reg', value)
object.__setattr__(self, 'phrase', value)
else:
object.__setattr__(self, name, value) |
input = """
n(x4000).
n(x3999).
n(x3998).
n(x3997).
n(x3996).
n(x3995).
n(x3994).
n(x3993).
n(x3992).
n(x3991).
n(x3990).
n(x3989).
n(x3988).
n(x3987).
n(x3986).
n(x3985).
n(x3984).
n(x3983).
n(x3982).
n(x3981).
n(x3980).
n(x3979).
n(x3978).
n(x3977).
n(x3976).
n(x3975).
n(x3974).
n(x3973).
n(x3972).
n(x3971).
n(x3970).
n(x3969).
n(x3968).
n(x3967).
n(x3966).
n(x3965).
n(x3964).
n(x3963).
n(x3962).
n(x3961).
n(x3960).
n(x3959).
n(x3958).
n(x3957).
n(x3956).
n(x3955).
n(x3954).
n(x3953).
n(x3952).
n(x3951).
n(x3950).
n(x3949).
n(x3948).
n(x3947).
n(x3946).
n(x3945).
n(x3944).
n(x3943).
n(x3942).
n(x3941).
n(x3940).
n(x3939).
n(x3938).
n(x3937).
n(x3936).
n(x3935).
n(x3934).
n(x3933).
n(x3932).
n(x3931).
n(x3930).
n(x3929).
n(x3928).
n(x3927).
n(x3926).
n(x3925).
n(x3924).
n(x3923).
n(x3922).
n(x3921).
n(x3920).
n(x3919).
n(x3918).
n(x3917).
n(x3916).
n(x3915).
n(x3914).
n(x3913).
n(x3912).
n(x3911).
n(x3910).
n(x3909).
n(x3908).
n(x3907).
n(x3906).
n(x3905).
n(x3904).
n(x3903).
n(x3902).
n(x3901).
n(x3900).
n(x3899).
n(x3898).
n(x3897).
n(x3896).
n(x3895).
n(x3894).
n(x3893).
n(x3892).
n(x3891).
n(x3890).
n(x3889).
n(x3888).
n(x3887).
n(x3886).
n(x3885).
n(x3884).
n(x3883).
n(x3882).
n(x3881).
n(x3880).
n(x3879).
n(x3878).
n(x3877).
n(x3876).
n(x3875).
n(x3874).
n(x3873).
n(x3872).
n(x3871).
n(x3870).
n(x3869).
n(x3868).
n(x3867).
n(x3866).
n(x3865).
n(x3864).
n(x3863).
n(x3862).
n(x3861).
n(x3860).
n(x3859).
n(x3858).
n(x3857).
n(x3856).
n(x3855).
n(x3854).
n(x3853).
n(x3852).
n(x3851).
n(x3850).
n(x3849).
n(x3848).
n(x3847).
n(x3846).
n(x3845).
n(x3844).
n(x3843).
n(x3842).
n(x3841).
n(x3840).
n(x3839).
n(x3838).
n(x3837).
n(x3836).
n(x3835).
n(x3834).
n(x3833).
n(x3832).
n(x3831).
n(x3830).
n(x3829).
n(x3828).
n(x3827).
n(x3826).
n(x3825).
n(x3824).
n(x3823).
n(x3822).
n(x3821).
n(x3820).
n(x3819).
n(x3818).
n(x3817).
n(x3816).
n(x3815).
n(x3814).
n(x3813).
n(x3812).
n(x3811).
n(x3810).
n(x3809).
n(x3808).
n(x3807).
n(x3806).
n(x3805).
n(x3804).
n(x3803).
n(x3802).
n(x3801).
n(x3800).
n(x3799).
n(x3798).
n(x3797).
n(x3796).
n(x3795).
n(x3794).
n(x3793).
n(x3792).
n(x3791).
n(x3790).
n(x3789).
n(x3788).
n(x3787).
n(x3786).
n(x3785).
n(x3784).
n(x3783).
n(x3782).
n(x3781).
n(x3780).
n(x3779).
n(x3778).
n(x3777).
n(x3776).
n(x3775).
n(x3774).
n(x3773).
n(x3772).
n(x3771).
n(x3770).
n(x3769).
n(x3768).
n(x3767).
n(x3766).
n(x3765).
n(x3764).
n(x3763).
n(x3762).
n(x3761).
n(x3760).
n(x3759).
n(x3758).
n(x3757).
n(x3756).
n(x3755).
n(x3754).
n(x3753).
n(x3752).
n(x3751).
n(x3750).
n(x3749).
n(x3748).
n(x3747).
n(x3746).
n(x3745).
n(x3744).
n(x3743).
n(x3742).
n(x3741).
n(x3740).
n(x3739).
n(x3738).
n(x3737).
n(x3736).
n(x3735).
n(x3734).
n(x3733).
n(x3732).
n(x3731).
n(x3730).
n(x3729).
n(x3728).
n(x3727).
n(x3726).
n(x3725).
n(x3724).
n(x3723).
n(x3722).
n(x3721).
n(x3720).
n(x3719).
n(x3718).
n(x3717).
n(x3716).
n(x3715).
n(x3714).
n(x3713).
n(x3712).
n(x3711).
n(x3710).
n(x3709).
n(x3708).
n(x3707).
n(x3706).
n(x3705).
n(x3704).
n(x3703).
n(x3702).
n(x3701).
n(x3700).
n(x3699).
n(x3698).
n(x3697).
n(x3696).
n(x3695).
n(x3694).
n(x3693).
n(x3692).
n(x3691).
n(x3690).
n(x3689).
n(x3688).
n(x3687).
n(x3686).
n(x3685).
n(x3684).
n(x3683).
n(x3682).
n(x3681).
n(x3680).
n(x3679).
n(x3678).
n(x3677).
n(x3676).
n(x3675).
n(x3674).
n(x3673).
n(x3672).
n(x3671).
n(x3670).
n(x3669).
n(x3668).
n(x3667).
n(x3666).
n(x3665).
n(x3664).
n(x3663).
n(x3662).
n(x3661).
n(x3660).
n(x3659).
n(x3658).
n(x3657).
n(x3656).
n(x3655).
n(x3654).
n(x3653).
n(x3652).
n(x3651).
n(x3650).
n(x3649).
n(x3648).
n(x3647).
n(x3646).
n(x3645).
n(x3644).
n(x3643).
n(x3642).
n(x3641).
n(x3640).
n(x3639).
n(x3638).
n(x3637).
n(x3636).
n(x3635).
n(x3634).
n(x3633).
n(x3632).
n(x3631).
n(x3630).
n(x3629).
n(x3628).
n(x3627).
n(x3626).
n(x3625).
n(x3624).
n(x3623).
n(x3622).
n(x3621).
n(x3620).
n(x3619).
n(x3618).
n(x3617).
n(x3616).
n(x3615).
n(x3614).
n(x3613).
n(x3612).
n(x3611).
n(x3610).
n(x3609).
n(x3608).
n(x3607).
n(x3606).
n(x3605).
n(x3604).
n(x3603).
n(x3602).
n(x3601).
n(x3600).
n(x3599).
n(x3598).
n(x3597).
n(x3596).
n(x3595).
n(x3594).
n(x3593).
n(x3592).
n(x3591).
n(x3590).
n(x3589).
n(x3588).
n(x3587).
n(x3586).
n(x3585).
n(x3584).
n(x3583).
n(x3582).
n(x3581).
n(x3580).
n(x3579).
n(x3578).
n(x3577).
n(x3576).
n(x3575).
n(x3574).
n(x3573).
n(x3572).
n(x3571).
n(x3570).
n(x3569).
n(x3568).
n(x3567).
n(x3566).
n(x3565).
n(x3564).
n(x3563).
n(x3562).
n(x3561).
n(x3560).
n(x3559).
n(x3558).
n(x3557).
n(x3556).
n(x3555).
n(x3554).
n(x3553).
n(x3552).
n(x3551).
n(x3550).
n(x3549).
n(x3548).
n(x3547).
n(x3546).
n(x3545).
n(x3544).
n(x3543).
n(x3542).
n(x3541).
n(x3540).
n(x3539).
n(x3538).
n(x3537).
n(x3536).
n(x3535).
n(x3534).
n(x3533).
n(x3532).
n(x3531).
n(x3530).
n(x3529).
n(x3528).
n(x3527).
n(x3526).
n(x3525).
n(x3524).
n(x3523).
n(x3522).
n(x3521).
n(x3520).
n(x3519).
n(x3518).
n(x3517).
n(x3516).
n(x3515).
n(x3514).
n(x3513).
n(x3512).
n(x3511).
n(x3510).
n(x3509).
n(x3508).
n(x3507).
n(x3506).
n(x3505).
n(x3504).
n(x3503).
n(x3502).
n(x3501).
n(x3500).
n(x3499).
n(x3498).
n(x3497).
n(x3496).
n(x3495).
n(x3494).
n(x3493).
n(x3492).
n(x3491).
n(x3490).
n(x3489).
n(x3488).
n(x3487).
n(x3486).
n(x3485).
n(x3484).
n(x3483).
n(x3482).
n(x3481).
n(x3480).
n(x3479).
n(x3478).
n(x3477).
n(x3476).
n(x3475).
n(x3474).
n(x3473).
n(x3472).
n(x3471).
n(x3470).
n(x3469).
n(x3468).
n(x3467).
n(x3466).
n(x3465).
n(x3464).
n(x3463).
n(x3462).
n(x3461).
n(x3460).
n(x3459).
n(x3458).
n(x3457).
n(x3456).
n(x3455).
n(x3454).
n(x3453).
n(x3452).
n(x3451).
n(x3450).
n(x3449).
n(x3448).
n(x3447).
n(x3446).
n(x3445).
n(x3444).
n(x3443).
n(x3442).
n(x3441).
n(x3440).
n(x3439).
n(x3438).
n(x3437).
n(x3436).
n(x3435).
n(x3434).
n(x3433).
n(x3432).
n(x3431).
n(x3430).
n(x3429).
n(x3428).
n(x3427).
n(x3426).
n(x3425).
n(x3424).
n(x3423).
n(x3422).
n(x3421).
n(x3420).
n(x3419).
n(x3418).
n(x3417).
n(x3416).
n(x3415).
n(x3414).
n(x3413).
n(x3412).
n(x3411).
n(x3410).
n(x3409).
n(x3408).
n(x3407).
n(x3406).
n(x3405).
n(x3404).
n(x3403).
n(x3402).
n(x3401).
n(x3400).
n(x3399).
n(x3398).
n(x3397).
n(x3396).
n(x3395).
n(x3394).
n(x3393).
n(x3392).
n(x3391).
n(x3390).
n(x3389).
n(x3388).
n(x3387).
n(x3386).
n(x3385).
n(x3384).
n(x3383).
n(x3382).
n(x3381).
n(x3380).
n(x3379).
n(x3378).
n(x3377).
n(x3376).
n(x3375).
n(x3374).
n(x3373).
n(x3372).
n(x3371).
n(x3370).
n(x3369).
n(x3368).
n(x3367).
n(x3366).
n(x3365).
n(x3364).
n(x3363).
n(x3362).
n(x3361).
n(x3360).
n(x3359).
n(x3358).
n(x3357).
n(x3356).
n(x3355).
n(x3354).
n(x3353).
n(x3352).
n(x3351).
n(x3350).
n(x3349).
n(x3348).
n(x3347).
n(x3346).
n(x3345).
n(x3344).
n(x3343).
n(x3342).
n(x3341).
n(x3340).
n(x3339).
n(x3338).
n(x3337).
n(x3336).
n(x3335).
n(x3334).
n(x3333).
n(x3332).
n(x3331).
n(x3330).
n(x3329).
n(x3328).
n(x3327).
n(x3326).
n(x3325).
n(x3324).
n(x3323).
n(x3322).
n(x3321).
n(x3320).
n(x3319).
n(x3318).
n(x3317).
n(x3316).
n(x3315).
n(x3314).
n(x3313).
n(x3312).
n(x3311).
n(x3310).
n(x3309).
n(x3308).
n(x3307).
n(x3306).
n(x3305).
n(x3304).
n(x3303).
n(x3302).
n(x3301).
n(x3300).
n(x3299).
n(x3298).
n(x3297).
n(x3296).
n(x3295).
n(x3294).
n(x3293).
n(x3292).
n(x3291).
n(x3290).
n(x3289).
n(x3288).
n(x3287).
n(x3286).
n(x3285).
n(x3284).
n(x3283).
n(x3282).
n(x3281).
n(x3280).
n(x3279).
n(x3278).
n(x3277).
n(x3276).
n(x3275).
n(x3274).
n(x3273).
n(x3272).
n(x3271).
n(x3270).
n(x3269).
n(x3268).
n(x3267).
n(x3266).
n(x3265).
n(x3264).
n(x3263).
n(x3262).
n(x3261).
n(x3260).
n(x3259).
n(x3258).
n(x3257).
n(x3256).
n(x3255).
n(x3254).
n(x3253).
n(x3252).
n(x3251).
n(x3250).
n(x3249).
n(x3248).
n(x3247).
n(x3246).
n(x3245).
n(x3244).
n(x3243).
n(x3242).
n(x3241).
n(x3240).
n(x3239).
n(x3238).
n(x3237).
n(x3236).
n(x3235).
n(x3234).
n(x3233).
n(x3232).
n(x3231).
n(x3230).
n(x3229).
n(x3228).
n(x3227).
n(x3226).
n(x3225).
n(x3224).
n(x3223).
n(x3222).
n(x3221).
n(x3220).
n(x3219).
n(x3218).
n(x3217).
n(x3216).
n(x3215).
n(x3214).
n(x3213).
n(x3212).
n(x3211).
n(x3210).
n(x3209).
n(x3208).
n(x3207).
n(x3206).
n(x3205).
n(x3204).
n(x3203).
n(x3202).
n(x3201).
n(x3200).
n(x3199).
n(x3198).
n(x3197).
n(x3196).
n(x3195).
n(x3194).
n(x3193).
n(x3192).
n(x3191).
n(x3190).
n(x3189).
n(x3188).
n(x3187).
n(x3186).
n(x3185).
n(x3184).
n(x3183).
n(x3182).
n(x3181).
n(x3180).
n(x3179).
n(x3178).
n(x3177).
n(x3176).
n(x3175).
n(x3174).
n(x3173).
n(x3172).
n(x3171).
n(x3170).
n(x3169).
n(x3168).
n(x3167).
n(x3166).
n(x3165).
n(x3164).
n(x3163).
n(x3162).
n(x3161).
n(x3160).
n(x3159).
n(x3158).
n(x3157).
n(x3156).
n(x3155).
n(x3154).
n(x3153).
n(x3152).
n(x3151).
n(x3150).
n(x3149).
n(x3148).
n(x3147).
n(x3146).
n(x3145).
n(x3144).
n(x3143).
n(x3142).
n(x3141).
n(x3140).
n(x3139).
n(x3138).
n(x3137).
n(x3136).
n(x3135).
n(x3134).
n(x3133).
n(x3132).
n(x3131).
n(x3130).
n(x3129).
n(x3128).
n(x3127).
n(x3126).
n(x3125).
n(x3124).
n(x3123).
n(x3122).
n(x3121).
n(x3120).
n(x3119).
n(x3118).
n(x3117).
n(x3116).
n(x3115).
n(x3114).
n(x3113).
n(x3112).
n(x3111).
n(x3110).
n(x3109).
n(x3108).
n(x3107).
n(x3106).
n(x3105).
n(x3104).
n(x3103).
n(x3102).
n(x3101).
n(x3100).
n(x3099).
n(x3098).
n(x3097).
n(x3096).
n(x3095).
n(x3094).
n(x3093).
n(x3092).
n(x3091).
n(x3090).
n(x3089).
n(x3088).
n(x3087).
n(x3086).
n(x3085).
n(x3084).
n(x3083).
n(x3082).
n(x3081).
n(x3080).
n(x3079).
n(x3078).
n(x3077).
n(x3076).
n(x3075).
n(x3074).
n(x3073).
n(x3072).
n(x3071).
n(x3070).
n(x3069).
n(x3068).
n(x3067).
n(x3066).
n(x3065).
n(x3064).
n(x3063).
n(x3062).
n(x3061).
n(x3060).
n(x3059).
n(x3058).
n(x3057).
n(x3056).
n(x3055).
n(x3054).
n(x3053).
n(x3052).
n(x3051).
n(x3050).
n(x3049).
n(x3048).
n(x3047).
n(x3046).
n(x3045).
n(x3044).
n(x3043).
n(x3042).
n(x3041).
n(x3040).
n(x3039).
n(x3038).
n(x3037).
n(x3036).
n(x3035).
n(x3034).
n(x3033).
n(x3032).
n(x3031).
n(x3030).
n(x3029).
n(x3028).
n(x3027).
n(x3026).
n(x3025).
n(x3024).
n(x3023).
n(x3022).
n(x3021).
n(x3020).
n(x3019).
n(x3018).
n(x3017).
n(x3016).
n(x3015).
n(x3014).
n(x3013).
n(x3012).
n(x3011).
n(x3010).
n(x3009).
n(x3008).
n(x3007).
n(x3006).
n(x3005).
n(x3004).
n(x3003).
n(x3002).
n(x3001).
n(x3000).
n(x2999).
n(x2998).
n(x2997).
n(x2996).
n(x2995).
n(x2994).
n(x2993).
n(x2992).
n(x2991).
n(x2990).
n(x2989).
n(x2988).
n(x2987).
n(x2986).
n(x2985).
n(x2984).
n(x2983).
n(x2982).
n(x2981).
n(x2980).
n(x2979).
n(x2978).
n(x2977).
n(x2976).
n(x2975).
n(x2974).
n(x2973).
n(x2972).
n(x2971).
n(x2970).
n(x2969).
n(x2968).
n(x2967).
n(x2966).
n(x2965).
n(x2964).
n(x2963).
n(x2962).
n(x2961).
n(x2960).
n(x2959).
n(x2958).
n(x2957).
n(x2956).
n(x2955).
n(x2954).
n(x2953).
n(x2952).
n(x2951).
n(x2950).
n(x2949).
n(x2948).
n(x2947).
n(x2946).
n(x2945).
n(x2944).
n(x2943).
n(x2942).
n(x2941).
n(x2940).
n(x2939).
n(x2938).
n(x2937).
n(x2936).
n(x2935).
n(x2934).
n(x2933).
n(x2932).
n(x2931).
n(x2930).
n(x2929).
n(x2928).
n(x2927).
n(x2926).
n(x2925).
n(x2924).
n(x2923).
n(x2922).
n(x2921).
n(x2920).
n(x2919).
n(x2918).
n(x2917).
n(x2916).
n(x2915).
n(x2914).
n(x2913).
n(x2912).
n(x2911).
n(x2910).
n(x2909).
n(x2908).
n(x2907).
n(x2906).
n(x2905).
n(x2904).
n(x2903).
n(x2902).
n(x2901).
n(x2900).
n(x2899).
n(x2898).
n(x2897).
n(x2896).
n(x2895).
n(x2894).
n(x2893).
n(x2892).
n(x2891).
n(x2890).
n(x2889).
n(x2888).
n(x2887).
n(x2886).
n(x2885).
n(x2884).
n(x2883).
n(x2882).
n(x2881).
n(x2880).
n(x2879).
n(x2878).
n(x2877).
n(x2876).
n(x2875).
n(x2874).
n(x2873).
n(x2872).
n(x2871).
n(x2870).
n(x2869).
n(x2868).
n(x2867).
n(x2866).
n(x2865).
n(x2864).
n(x2863).
n(x2862).
n(x2861).
n(x2860).
n(x2859).
n(x2858).
n(x2857).
n(x2856).
n(x2855).
n(x2854).
n(x2853).
n(x2852).
n(x2851).
n(x2850).
n(x2849).
n(x2848).
n(x2847).
n(x2846).
n(x2845).
n(x2844).
n(x2843).
n(x2842).
n(x2841).
n(x2840).
n(x2839).
n(x2838).
n(x2837).
n(x2836).
n(x2835).
n(x2834).
n(x2833).
n(x2832).
n(x2831).
n(x2830).
n(x2829).
n(x2828).
n(x2827).
n(x2826).
n(x2825).
n(x2824).
n(x2823).
n(x2822).
n(x2821).
n(x2820).
n(x2819).
n(x2818).
n(x2817).
n(x2816).
n(x2815).
n(x2814).
n(x2813).
n(x2812).
n(x2811).
n(x2810).
n(x2809).
n(x2808).
n(x2807).
n(x2806).
n(x2805).
n(x2804).
n(x2803).
n(x2802).
n(x2801).
n(x2800).
n(x2799).
n(x2798).
n(x2797).
n(x2796).
n(x2795).
n(x2794).
n(x2793).
n(x2792).
n(x2791).
n(x2790).
n(x2789).
n(x2788).
n(x2787).
n(x2786).
n(x2785).
n(x2784).
n(x2783).
n(x2782).
n(x2781).
n(x2780).
n(x2779).
n(x2778).
n(x2777).
n(x2776).
n(x2775).
n(x2774).
n(x2773).
n(x2772).
n(x2771).
n(x2770).
n(x2769).
n(x2768).
n(x2767).
n(x2766).
n(x2765).
n(x2764).
n(x2763).
n(x2762).
n(x2761).
n(x2760).
n(x2759).
n(x2758).
n(x2757).
n(x2756).
n(x2755).
n(x2754).
n(x2753).
n(x2752).
n(x2751).
n(x2750).
n(x2749).
n(x2748).
n(x2747).
n(x2746).
n(x2745).
n(x2744).
n(x2743).
n(x2742).
n(x2741).
n(x2740).
n(x2739).
n(x2738).
n(x2737).
n(x2736).
n(x2735).
n(x2734).
n(x2733).
n(x2732).
n(x2731).
n(x2730).
n(x2729).
n(x2728).
n(x2727).
n(x2726).
n(x2725).
n(x2724).
n(x2723).
n(x2722).
n(x2721).
n(x2720).
n(x2719).
n(x2718).
n(x2717).
n(x2716).
n(x2715).
n(x2714).
n(x2713).
n(x2712).
n(x2711).
n(x2710).
n(x2709).
n(x2708).
n(x2707).
n(x2706).
n(x2705).
n(x2704).
n(x2703).
n(x2702).
n(x2701).
n(x2700).
n(x2699).
n(x2698).
n(x2697).
n(x2696).
n(x2695).
n(x2694).
n(x2693).
n(x2692).
n(x2691).
n(x2690).
n(x2689).
n(x2688).
n(x2687).
n(x2686).
n(x2685).
n(x2684).
n(x2683).
n(x2682).
n(x2681).
n(x2680).
n(x2679).
n(x2678).
n(x2677).
n(x2676).
n(x2675).
n(x2674).
n(x2673).
n(x2672).
n(x2671).
n(x2670).
n(x2669).
n(x2668).
n(x2667).
n(x2666).
n(x2665).
n(x2664).
n(x2663).
n(x2662).
n(x2661).
n(x2660).
n(x2659).
n(x2658).
n(x2657).
n(x2656).
n(x2655).
n(x2654).
n(x2653).
n(x2652).
n(x2651).
n(x2650).
n(x2649).
n(x2648).
n(x2647).
n(x2646).
n(x2645).
n(x2644).
n(x2643).
n(x2642).
n(x2641).
n(x2640).
n(x2639).
n(x2638).
n(x2637).
n(x2636).
n(x2635).
n(x2634).
n(x2633).
n(x2632).
n(x2631).
n(x2630).
n(x2629).
n(x2628).
n(x2627).
n(x2626).
n(x2625).
n(x2624).
n(x2623).
n(x2622).
n(x2621).
n(x2620).
n(x2619).
n(x2618).
n(x2617).
n(x2616).
n(x2615).
n(x2614).
n(x2613).
n(x2612).
n(x2611).
n(x2610).
n(x2609).
n(x2608).
n(x2607).
n(x2606).
n(x2605).
n(x2604).
n(x2603).
n(x2602).
n(x2601).
n(x2600).
n(x2599).
n(x2598).
n(x2597).
n(x2596).
n(x2595).
n(x2594).
n(x2593).
n(x2592).
n(x2591).
n(x2590).
n(x2589).
n(x2588).
n(x2587).
n(x2586).
n(x2585).
n(x2584).
n(x2583).
n(x2582).
n(x2581).
n(x2580).
n(x2579).
n(x2578).
n(x2577).
n(x2576).
n(x2575).
n(x2574).
n(x2573).
n(x2572).
n(x2571).
n(x2570).
n(x2569).
n(x2568).
n(x2567).
n(x2566).
n(x2565).
n(x2564).
n(x2563).
n(x2562).
n(x2561).
n(x2560).
n(x2559).
n(x2558).
n(x2557).
n(x2556).
n(x2555).
n(x2554).
n(x2553).
n(x2552).
n(x2551).
n(x2550).
n(x2549).
n(x2548).
n(x2547).
n(x2546).
n(x2545).
n(x2544).
n(x2543).
n(x2542).
n(x2541).
n(x2540).
n(x2539).
n(x2538).
n(x2537).
n(x2536).
n(x2535).
n(x2534).
n(x2533).
n(x2532).
n(x2531).
n(x2530).
n(x2529).
n(x2528).
n(x2527).
n(x2526).
n(x2525).
n(x2524).
n(x2523).
n(x2522).
n(x2521).
n(x2520).
n(x2519).
n(x2518).
n(x2517).
n(x2516).
n(x2515).
n(x2514).
n(x2513).
n(x2512).
n(x2511).
n(x2510).
n(x2509).
n(x2508).
n(x2507).
n(x2506).
n(x2505).
n(x2504).
n(x2503).
n(x2502).
n(x2501).
n(x2500).
n(x2499).
n(x2498).
n(x2497).
n(x2496).
n(x2495).
n(x2494).
n(x2493).
n(x2492).
n(x2491).
n(x2490).
n(x2489).
n(x2488).
n(x2487).
n(x2486).
n(x2485).
n(x2484).
n(x2483).
n(x2482).
n(x2481).
n(x2480).
n(x2479).
n(x2478).
n(x2477).
n(x2476).
n(x2475).
n(x2474).
n(x2473).
n(x2472).
n(x2471).
n(x2470).
n(x2469).
n(x2468).
n(x2467).
n(x2466).
n(x2465).
n(x2464).
n(x2463).
n(x2462).
n(x2461).
n(x2460).
n(x2459).
n(x2458).
n(x2457).
n(x2456).
n(x2455).
n(x2454).
n(x2453).
n(x2452).
n(x2451).
n(x2450).
n(x2449).
n(x2448).
n(x2447).
n(x2446).
n(x2445).
n(x2444).
n(x2443).
n(x2442).
n(x2441).
n(x2440).
n(x2439).
n(x2438).
n(x2437).
n(x2436).
n(x2435).
n(x2434).
n(x2433).
n(x2432).
n(x2431).
n(x2430).
n(x2429).
n(x2428).
n(x2427).
n(x2426).
n(x2425).
n(x2424).
n(x2423).
n(x2422).
n(x2421).
n(x2420).
n(x2419).
n(x2418).
n(x2417).
n(x2416).
n(x2415).
n(x2414).
n(x2413).
n(x2412).
n(x2411).
n(x2410).
n(x2409).
n(x2408).
n(x2407).
n(x2406).
n(x2405).
n(x2404).
n(x2403).
n(x2402).
n(x2401).
n(x2400).
n(x2399).
n(x2398).
n(x2397).
n(x2396).
n(x2395).
n(x2394).
n(x2393).
n(x2392).
n(x2391).
n(x2390).
n(x2389).
n(x2388).
n(x2387).
n(x2386).
n(x2385).
n(x2384).
n(x2383).
n(x2382).
n(x2381).
n(x2380).
n(x2379).
n(x2378).
n(x2377).
n(x2376).
n(x2375).
n(x2374).
n(x2373).
n(x2372).
n(x2371).
n(x2370).
n(x2369).
n(x2368).
n(x2367).
n(x2366).
n(x2365).
n(x2364).
n(x2363).
n(x2362).
n(x2361).
n(x2360).
n(x2359).
n(x2358).
n(x2357).
n(x2356).
n(x2355).
n(x2354).
n(x2353).
n(x2352).
n(x2351).
n(x2350).
n(x2349).
n(x2348).
n(x2347).
n(x2346).
n(x2345).
n(x2344).
n(x2343).
n(x2342).
n(x2341).
n(x2340).
n(x2339).
n(x2338).
n(x2337).
n(x2336).
n(x2335).
n(x2334).
n(x2333).
n(x2332).
n(x2331).
n(x2330).
n(x2329).
n(x2328).
n(x2327).
n(x2326).
n(x2325).
n(x2324).
n(x2323).
n(x2322).
n(x2321).
n(x2320).
n(x2319).
n(x2318).
n(x2317).
n(x2316).
n(x2315).
n(x2314).
n(x2313).
n(x2312).
n(x2311).
n(x2310).
n(x2309).
n(x2308).
n(x2307).
n(x2306).
n(x2305).
n(x2304).
n(x2303).
n(x2302).
n(x2301).
n(x2300).
n(x2299).
n(x2298).
n(x2297).
n(x2296).
n(x2295).
n(x2294).
n(x2293).
n(x2292).
n(x2291).
n(x2290).
n(x2289).
n(x2288).
n(x2287).
n(x2286).
n(x2285).
n(x2284).
n(x2283).
n(x2282).
n(x2281).
n(x2280).
n(x2279).
n(x2278).
n(x2277).
n(x2276).
n(x2275).
n(x2274).
n(x2273).
n(x2272).
n(x2271).
n(x2270).
n(x2269).
n(x2268).
n(x2267).
n(x2266).
n(x2265).
n(x2264).
n(x2263).
n(x2262).
n(x2261).
n(x2260).
n(x2259).
n(x2258).
n(x2257).
n(x2256).
n(x2255).
n(x2254).
n(x2253).
n(x2252).
n(x2251).
n(x2250).
n(x2249).
n(x2248).
n(x2247).
n(x2246).
n(x2245).
n(x2244).
n(x2243).
n(x2242).
n(x2241).
n(x2240).
n(x2239).
n(x2238).
n(x2237).
n(x2236).
n(x2235).
n(x2234).
n(x2233).
n(x2232).
n(x2231).
n(x2230).
n(x2229).
n(x2228).
n(x2227).
n(x2226).
n(x2225).
n(x2224).
n(x2223).
n(x2222).
n(x2221).
n(x2220).
n(x2219).
n(x2218).
n(x2217).
n(x2216).
n(x2215).
n(x2214).
n(x2213).
n(x2212).
n(x2211).
n(x2210).
n(x2209).
n(x2208).
n(x2207).
n(x2206).
n(x2205).
n(x2204).
n(x2203).
n(x2202).
n(x2201).
n(x2200).
n(x2199).
n(x2198).
n(x2197).
n(x2196).
n(x2195).
n(x2194).
n(x2193).
n(x2192).
n(x2191).
n(x2190).
n(x2189).
n(x2188).
n(x2187).
n(x2186).
n(x2185).
n(x2184).
n(x2183).
n(x2182).
n(x2181).
n(x2180).
n(x2179).
n(x2178).
n(x2177).
n(x2176).
n(x2175).
n(x2174).
n(x2173).
n(x2172).
n(x2171).
n(x2170).
n(x2169).
n(x2168).
n(x2167).
n(x2166).
n(x2165).
n(x2164).
n(x2163).
n(x2162).
n(x2161).
n(x2160).
n(x2159).
n(x2158).
n(x2157).
n(x2156).
n(x2155).
n(x2154).
n(x2153).
n(x2152).
n(x2151).
n(x2150).
n(x2149).
n(x2148).
n(x2147).
n(x2146).
n(x2145).
n(x2144).
n(x2143).
n(x2142).
n(x2141).
n(x2140).
n(x2139).
n(x2138).
n(x2137).
n(x2136).
n(x2135).
n(x2134).
n(x2133).
n(x2132).
n(x2131).
n(x2130).
n(x2129).
n(x2128).
n(x2127).
n(x2126).
n(x2125).
n(x2124).
n(x2123).
n(x2122).
n(x2121).
n(x2120).
n(x2119).
n(x2118).
n(x2117).
n(x2116).
n(x2115).
n(x2114).
n(x2113).
n(x2112).
n(x2111).
n(x2110).
n(x2109).
n(x2108).
n(x2107).
n(x2106).
n(x2105).
n(x2104).
n(x2103).
n(x2102).
n(x2101).
n(x2100).
n(x2099).
n(x2098).
n(x2097).
n(x2096).
n(x2095).
n(x2094).
n(x2093).
n(x2092).
n(x2091).
n(x2090).
n(x2089).
n(x2088).
n(x2087).
n(x2086).
n(x2085).
n(x2084).
n(x2083).
n(x2082).
n(x2081).
n(x2080).
n(x2079).
n(x2078).
n(x2077).
n(x2076).
n(x2075).
n(x2074).
n(x2073).
n(x2072).
n(x2071).
n(x2070).
n(x2069).
n(x2068).
n(x2067).
n(x2066).
n(x2065).
n(x2064).
n(x2063).
n(x2062).
n(x2061).
n(x2060).
n(x2059).
n(x2058).
n(x2057).
n(x2056).
n(x2055).
n(x2054).
n(x2053).
n(x2052).
n(x2051).
n(x2050).
n(x2049).
n(x2048).
n(x2047).
n(x2046).
n(x2045).
n(x2044).
n(x2043).
n(x2042).
n(x2041).
n(x2040).
n(x2039).
n(x2038).
n(x2037).
n(x2036).
n(x2035).
n(x2034).
n(x2033).
n(x2032).
n(x2031).
n(x2030).
n(x2029).
n(x2028).
n(x2027).
n(x2026).
n(x2025).
n(x2024).
n(x2023).
n(x2022).
n(x2021).
n(x2020).
n(x2019).
n(x2018).
n(x2017).
n(x2016).
n(x2015).
n(x2014).
n(x2013).
n(x2012).
n(x2011).
n(x2010).
n(x2009).
n(x2008).
n(x2007).
n(x2006).
n(x2005).
n(x2004).
n(x2003).
n(x2002).
n(x2001).
n(x2000).
n(x1999).
n(x1998).
n(x1997).
n(x1996).
n(x1995).
n(x1994).
n(x1993).
n(x1992).
n(x1991).
n(x1990).
n(x1989).
n(x1988).
n(x1987).
n(x1986).
n(x1985).
n(x1984).
n(x1983).
n(x1982).
n(x1981).
n(x1980).
n(x1979).
n(x1978).
n(x1977).
n(x1976).
n(x1975).
n(x1974).
n(x1973).
n(x1972).
n(x1971).
n(x1970).
n(x1969).
n(x1968).
n(x1967).
n(x1966).
n(x1965).
n(x1964).
n(x1963).
n(x1962).
n(x1961).
n(x1960).
n(x1959).
n(x1958).
n(x1957).
n(x1956).
n(x1955).
n(x1954).
n(x1953).
n(x1952).
n(x1951).
n(x1950).
n(x1949).
n(x1948).
n(x1947).
n(x1946).
n(x1945).
n(x1944).
n(x1943).
n(x1942).
n(x1941).
n(x1940).
n(x1939).
n(x1938).
n(x1937).
n(x1936).
n(x1935).
n(x1934).
n(x1933).
n(x1932).
n(x1931).
n(x1930).
n(x1929).
n(x1928).
n(x1927).
n(x1926).
n(x1925).
n(x1924).
n(x1923).
n(x1922).
n(x1921).
n(x1920).
n(x1919).
n(x1918).
n(x1917).
n(x1916).
n(x1915).
n(x1914).
n(x1913).
n(x1912).
n(x1911).
n(x1910).
n(x1909).
n(x1908).
n(x1907).
n(x1906).
n(x1905).
n(x1904).
n(x1903).
n(x1902).
n(x1901).
n(x1900).
n(x1899).
n(x1898).
n(x1897).
n(x1896).
n(x1895).
n(x1894).
n(x1893).
n(x1892).
n(x1891).
n(x1890).
n(x1889).
n(x1888).
n(x1887).
n(x1886).
n(x1885).
n(x1884).
n(x1883).
n(x1882).
n(x1881).
n(x1880).
n(x1879).
n(x1878).
n(x1877).
n(x1876).
n(x1875).
n(x1874).
n(x1873).
n(x1872).
n(x1871).
n(x1870).
n(x1869).
n(x1868).
n(x1867).
n(x1866).
n(x1865).
n(x1864).
n(x1863).
n(x1862).
n(x1861).
n(x1860).
n(x1859).
n(x1858).
n(x1857).
n(x1856).
n(x1855).
n(x1854).
n(x1853).
n(x1852).
n(x1851).
n(x1850).
n(x1849).
n(x1848).
n(x1847).
n(x1846).
n(x1845).
n(x1844).
n(x1843).
n(x1842).
n(x1841).
n(x1840).
n(x1839).
n(x1838).
n(x1837).
n(x1836).
n(x1835).
n(x1834).
n(x1833).
n(x1832).
n(x1831).
n(x1830).
n(x1829).
n(x1828).
n(x1827).
n(x1826).
n(x1825).
n(x1824).
n(x1823).
n(x1822).
n(x1821).
n(x1820).
n(x1819).
n(x1818).
n(x1817).
n(x1816).
n(x1815).
n(x1814).
n(x1813).
n(x1812).
n(x1811).
n(x1810).
n(x1809).
n(x1808).
n(x1807).
n(x1806).
n(x1805).
n(x1804).
n(x1803).
n(x1802).
n(x1801).
n(x1800).
n(x1799).
n(x1798).
n(x1797).
n(x1796).
n(x1795).
n(x1794).
n(x1793).
n(x1792).
n(x1791).
n(x1790).
n(x1789).
n(x1788).
n(x1787).
n(x1786).
n(x1785).
n(x1784).
n(x1783).
n(x1782).
n(x1781).
n(x1780).
n(x1779).
n(x1778).
n(x1777).
n(x1776).
n(x1775).
n(x1774).
n(x1773).
n(x1772).
n(x1771).
n(x1770).
n(x1769).
n(x1768).
n(x1767).
n(x1766).
n(x1765).
n(x1764).
n(x1763).
n(x1762).
n(x1761).
n(x1760).
n(x1759).
n(x1758).
n(x1757).
n(x1756).
n(x1755).
n(x1754).
n(x1753).
n(x1752).
n(x1751).
n(x1750).
n(x1749).
n(x1748).
n(x1747).
n(x1746).
n(x1745).
n(x1744).
n(x1743).
n(x1742).
n(x1741).
n(x1740).
n(x1739).
n(x1738).
n(x1737).
n(x1736).
n(x1735).
n(x1734).
n(x1733).
n(x1732).
n(x1731).
n(x1730).
n(x1729).
n(x1728).
n(x1727).
n(x1726).
n(x1725).
n(x1724).
n(x1723).
n(x1722).
n(x1721).
n(x1720).
n(x1719).
n(x1718).
n(x1717).
n(x1716).
n(x1715).
n(x1714).
n(x1713).
n(x1712).
n(x1711).
n(x1710).
n(x1709).
n(x1708).
n(x1707).
n(x1706).
n(x1705).
n(x1704).
n(x1703).
n(x1702).
n(x1701).
n(x1700).
n(x1699).
n(x1698).
n(x1697).
n(x1696).
n(x1695).
n(x1694).
n(x1693).
n(x1692).
n(x1691).
n(x1690).
n(x1689).
n(x1688).
n(x1687).
n(x1686).
n(x1685).
n(x1684).
n(x1683).
n(x1682).
n(x1681).
n(x1680).
n(x1679).
n(x1678).
n(x1677).
n(x1676).
n(x1675).
n(x1674).
n(x1673).
n(x1672).
n(x1671).
n(x1670).
n(x1669).
n(x1668).
n(x1667).
n(x1666).
n(x1665).
n(x1664).
n(x1663).
n(x1662).
n(x1661).
n(x1660).
n(x1659).
n(x1658).
n(x1657).
n(x1656).
n(x1655).
n(x1654).
n(x1653).
n(x1652).
n(x1651).
n(x1650).
n(x1649).
n(x1648).
n(x1647).
n(x1646).
n(x1645).
n(x1644).
n(x1643).
n(x1642).
n(x1641).
n(x1640).
n(x1639).
n(x1638).
n(x1637).
n(x1636).
n(x1635).
n(x1634).
n(x1633).
n(x1632).
n(x1631).
n(x1630).
n(x1629).
n(x1628).
n(x1627).
n(x1626).
n(x1625).
n(x1624).
n(x1623).
n(x1622).
n(x1621).
n(x1620).
n(x1619).
n(x1618).
n(x1617).
n(x1616).
n(x1615).
n(x1614).
n(x1613).
n(x1612).
n(x1611).
n(x1610).
n(x1609).
n(x1608).
n(x1607).
n(x1606).
n(x1605).
n(x1604).
n(x1603).
n(x1602).
n(x1601).
n(x1600).
n(x1599).
n(x1598).
n(x1597).
n(x1596).
n(x1595).
n(x1594).
n(x1593).
n(x1592).
n(x1591).
n(x1590).
n(x1589).
n(x1588).
n(x1587).
n(x1586).
n(x1585).
n(x1584).
n(x1583).
n(x1582).
n(x1581).
n(x1580).
n(x1579).
n(x1578).
n(x1577).
n(x1576).
n(x1575).
n(x1574).
n(x1573).
n(x1572).
n(x1571).
n(x1570).
n(x1569).
n(x1568).
n(x1567).
n(x1566).
n(x1565).
n(x1564).
n(x1563).
n(x1562).
n(x1561).
n(x1560).
n(x1559).
n(x1558).
n(x1557).
n(x1556).
n(x1555).
n(x1554).
n(x1553).
n(x1552).
n(x1551).
n(x1550).
n(x1549).
n(x1548).
n(x1547).
n(x1546).
n(x1545).
n(x1544).
n(x1543).
n(x1542).
n(x1541).
n(x1540).
n(x1539).
n(x1538).
n(x1537).
n(x1536).
n(x1535).
n(x1534).
n(x1533).
n(x1532).
n(x1531).
n(x1530).
n(x1529).
n(x1528).
n(x1527).
n(x1526).
n(x1525).
n(x1524).
n(x1523).
n(x1522).
n(x1521).
n(x1520).
n(x1519).
n(x1518).
n(x1517).
n(x1516).
n(x1515).
n(x1514).
n(x1513).
n(x1512).
n(x1511).
n(x1510).
n(x1509).
n(x1508).
n(x1507).
n(x1506).
n(x1505).
n(x1504).
n(x1503).
n(x1502).
n(x1501).
n(x1500).
n(x1499).
n(x1498).
n(x1497).
n(x1496).
n(x1495).
n(x1494).
n(x1493).
n(x1492).
n(x1491).
n(x1490).
n(x1489).
n(x1488).
n(x1487).
n(x1486).
n(x1485).
n(x1484).
n(x1483).
n(x1482).
n(x1481).
n(x1480).
n(x1479).
n(x1478).
n(x1477).
n(x1476).
n(x1475).
n(x1474).
n(x1473).
n(x1472).
n(x1471).
n(x1470).
n(x1469).
n(x1468).
n(x1467).
n(x1466).
n(x1465).
n(x1464).
n(x1463).
n(x1462).
n(x1461).
n(x1460).
n(x1459).
n(x1458).
n(x1457).
n(x1456).
n(x1455).
n(x1454).
n(x1453).
n(x1452).
n(x1451).
n(x1450).
n(x1449).
n(x1448).
n(x1447).
n(x1446).
n(x1445).
n(x1444).
n(x1443).
n(x1442).
n(x1441).
n(x1440).
n(x1439).
n(x1438).
n(x1437).
n(x1436).
n(x1435).
n(x1434).
n(x1433).
n(x1432).
n(x1431).
n(x1430).
n(x1429).
n(x1428).
n(x1427).
n(x1426).
n(x1425).
n(x1424).
n(x1423).
n(x1422).
n(x1421).
n(x1420).
n(x1419).
n(x1418).
n(x1417).
n(x1416).
n(x1415).
n(x1414).
n(x1413).
n(x1412).
n(x1411).
n(x1410).
n(x1409).
n(x1408).
n(x1407).
n(x1406).
n(x1405).
n(x1404).
n(x1403).
n(x1402).
n(x1401).
n(x1400).
n(x1399).
n(x1398).
n(x1397).
n(x1396).
n(x1395).
n(x1394).
n(x1393).
n(x1392).
n(x1391).
n(x1390).
n(x1389).
n(x1388).
n(x1387).
n(x1386).
n(x1385).
n(x1384).
n(x1383).
n(x1382).
n(x1381).
n(x1380).
n(x1379).
n(x1378).
n(x1377).
n(x1376).
n(x1375).
n(x1374).
n(x1373).
n(x1372).
n(x1371).
n(x1370).
n(x1369).
n(x1368).
n(x1367).
n(x1366).
n(x1365).
n(x1364).
n(x1363).
n(x1362).
n(x1361).
n(x1360).
n(x1359).
n(x1358).
n(x1357).
n(x1356).
n(x1355).
n(x1354).
n(x1353).
n(x1352).
n(x1351).
n(x1350).
n(x1349).
n(x1348).
n(x1347).
n(x1346).
n(x1345).
n(x1344).
n(x1343).
n(x1342).
n(x1341).
n(x1340).
n(x1339).
n(x1338).
n(x1337).
n(x1336).
n(x1335).
n(x1334).
n(x1333).
n(x1332).
n(x1331).
n(x1330).
n(x1329).
n(x1328).
n(x1327).
n(x1326).
n(x1325).
n(x1324).
n(x1323).
n(x1322).
n(x1321).
n(x1320).
n(x1319).
n(x1318).
n(x1317).
n(x1316).
n(x1315).
n(x1314).
n(x1313).
n(x1312).
n(x1311).
n(x1310).
n(x1309).
n(x1308).
n(x1307).
n(x1306).
n(x1305).
n(x1304).
n(x1303).
n(x1302).
n(x1301).
n(x1300).
n(x1299).
n(x1298).
n(x1297).
n(x1296).
n(x1295).
n(x1294).
n(x1293).
n(x1292).
n(x1291).
n(x1290).
n(x1289).
n(x1288).
n(x1287).
n(x1286).
n(x1285).
n(x1284).
n(x1283).
n(x1282).
n(x1281).
n(x1280).
n(x1279).
n(x1278).
n(x1277).
n(x1276).
n(x1275).
n(x1274).
n(x1273).
n(x1272).
n(x1271).
n(x1270).
n(x1269).
n(x1268).
n(x1267).
n(x1266).
n(x1265).
n(x1264).
n(x1263).
n(x1262).
n(x1261).
n(x1260).
n(x1259).
n(x1258).
n(x1257).
n(x1256).
n(x1255).
n(x1254).
n(x1253).
n(x1252).
n(x1251).
n(x1250).
n(x1249).
n(x1248).
n(x1247).
n(x1246).
n(x1245).
n(x1244).
n(x1243).
n(x1242).
n(x1241).
n(x1240).
n(x1239).
n(x1238).
n(x1237).
n(x1236).
n(x1235).
n(x1234).
n(x1233).
n(x1232).
n(x1231).
n(x1230).
n(x1229).
n(x1228).
n(x1227).
n(x1226).
n(x1225).
n(x1224).
n(x1223).
n(x1222).
n(x1221).
n(x1220).
n(x1219).
n(x1218).
n(x1217).
n(x1216).
n(x1215).
n(x1214).
n(x1213).
n(x1212).
n(x1211).
n(x1210).
n(x1209).
n(x1208).
n(x1207).
n(x1206).
n(x1205).
n(x1204).
n(x1203).
n(x1202).
n(x1201).
n(x1200).
n(x1199).
n(x1198).
n(x1197).
n(x1196).
n(x1195).
n(x1194).
n(x1193).
n(x1192).
n(x1191).
n(x1190).
n(x1189).
n(x1188).
n(x1187).
n(x1186).
n(x1185).
n(x1184).
n(x1183).
n(x1182).
n(x1181).
n(x1180).
n(x1179).
n(x1178).
n(x1177).
n(x1176).
n(x1175).
n(x1174).
n(x1173).
n(x1172).
n(x1171).
n(x1170).
n(x1169).
n(x1168).
n(x1167).
n(x1166).
n(x1165).
n(x1164).
n(x1163).
n(x1162).
n(x1161).
n(x1160).
n(x1159).
n(x1158).
n(x1157).
n(x1156).
n(x1155).
n(x1154).
n(x1153).
n(x1152).
n(x1151).
n(x1150).
n(x1149).
n(x1148).
n(x1147).
n(x1146).
n(x1145).
n(x1144).
n(x1143).
n(x1142).
n(x1141).
n(x1140).
n(x1139).
n(x1138).
n(x1137).
n(x1136).
n(x1135).
n(x1134).
n(x1133).
n(x1132).
n(x1131).
n(x1130).
n(x1129).
n(x1128).
n(x1127).
n(x1126).
n(x1125).
n(x1124).
n(x1123).
n(x1122).
n(x1121).
n(x1120).
n(x1119).
n(x1118).
n(x1117).
n(x1116).
n(x1115).
n(x1114).
n(x1113).
n(x1112).
n(x1111).
n(x1110).
n(x1109).
n(x1108).
n(x1107).
n(x1106).
n(x1105).
n(x1104).
n(x1103).
n(x1102).
n(x1101).
n(x1100).
n(x1099).
n(x1098).
n(x1097).
n(x1096).
n(x1095).
n(x1094).
n(x1093).
n(x1092).
n(x1091).
n(x1090).
n(x1089).
n(x1088).
n(x1087).
n(x1086).
n(x1085).
n(x1084).
n(x1083).
n(x1082).
n(x1081).
n(x1080).
n(x1079).
n(x1078).
n(x1077).
n(x1076).
n(x1075).
n(x1074).
n(x1073).
n(x1072).
n(x1071).
n(x1070).
n(x1069).
n(x1068).
n(x1067).
n(x1066).
n(x1065).
n(x1064).
n(x1063).
n(x1062).
n(x1061).
n(x1060).
n(x1059).
n(x1058).
n(x1057).
n(x1056).
n(x1055).
n(x1054).
n(x1053).
n(x1052).
n(x1051).
n(x1050).
n(x1049).
n(x1048).
n(x1047).
n(x1046).
n(x1045).
n(x1044).
n(x1043).
n(x1042).
n(x1041).
n(x1040).
n(x1039).
n(x1038).
n(x1037).
n(x1036).
n(x1035).
n(x1034).
n(x1033).
n(x1032).
n(x1031).
n(x1030).
n(x1029).
n(x1028).
n(x1027).
n(x1026).
n(x1025).
n(x1024).
n(x1023).
n(x1022).
n(x1021).
n(x1020).
n(x1019).
n(x1018).
n(x1017).
n(x1016).
n(x1015).
n(x1014).
n(x1013).
n(x1012).
n(x1011).
n(x1010).
n(x1009).
n(x1008).
n(x1007).
n(x1006).
n(x1005).
n(x1004).
n(x1003).
n(x1002).
n(x1001).
n(x1000).
n(x999).
n(x998).
n(x997).
n(x996).
n(x995).
n(x994).
n(x993).
n(x992).
n(x991).
n(x990).
n(x989).
n(x988).
n(x987).
n(x986).
n(x985).
n(x984).
n(x983).
n(x982).
n(x981).
n(x980).
n(x979).
n(x978).
n(x977).
n(x976).
n(x975).
n(x974).
n(x973).
n(x972).
n(x971).
n(x970).
n(x969).
n(x968).
n(x967).
n(x966).
n(x965).
n(x964).
n(x963).
n(x962).
n(x961).
n(x960).
n(x959).
n(x958).
n(x957).
n(x956).
n(x955).
n(x954).
n(x953).
n(x952).
n(x951).
n(x950).
n(x949).
n(x948).
n(x947).
n(x946).
n(x945).
n(x944).
n(x943).
n(x942).
n(x941).
n(x940).
n(x939).
n(x938).
n(x937).
n(x936).
n(x935).
n(x934).
n(x933).
n(x932).
n(x931).
n(x930).
n(x929).
n(x928).
n(x927).
n(x926).
n(x925).
n(x924).
n(x923).
n(x922).
n(x921).
n(x920).
n(x919).
n(x918).
n(x917).
n(x916).
n(x915).
n(x914).
n(x913).
n(x912).
n(x911).
n(x910).
n(x909).
n(x908).
n(x907).
n(x906).
n(x905).
n(x904).
n(x903).
n(x902).
n(x901).
n(x900).
n(x899).
n(x898).
n(x897).
n(x896).
n(x895).
n(x894).
n(x893).
n(x892).
n(x891).
n(x890).
n(x889).
n(x888).
n(x887).
n(x886).
n(x885).
n(x884).
n(x883).
n(x882).
n(x881).
n(x880).
n(x879).
n(x878).
n(x877).
n(x876).
n(x875).
n(x874).
n(x873).
n(x872).
n(x871).
n(x870).
n(x869).
n(x868).
n(x867).
n(x866).
n(x865).
n(x864).
n(x863).
n(x862).
n(x861).
n(x860).
n(x859).
n(x858).
n(x857).
n(x856).
n(x855).
n(x854).
n(x853).
n(x852).
n(x851).
n(x850).
n(x849).
n(x848).
n(x847).
n(x846).
n(x845).
n(x844).
n(x843).
n(x842).
n(x841).
n(x840).
n(x839).
n(x838).
n(x837).
n(x836).
n(x835).
n(x834).
n(x833).
n(x832).
n(x831).
n(x830).
n(x829).
n(x828).
n(x827).
n(x826).
n(x825).
n(x824).
n(x823).
n(x822).
n(x821).
n(x820).
n(x819).
n(x818).
n(x817).
n(x816).
n(x815).
n(x814).
n(x813).
n(x812).
n(x811).
n(x810).
n(x809).
n(x808).
n(x807).
n(x806).
n(x805).
n(x804).
n(x803).
n(x802).
n(x801).
n(x800).
n(x799).
n(x798).
n(x797).
n(x796).
n(x795).
n(x794).
n(x793).
n(x792).
n(x791).
n(x790).
n(x789).
n(x788).
n(x787).
n(x786).
n(x785).
n(x784).
n(x783).
n(x782).
n(x781).
n(x780).
n(x779).
n(x778).
n(x777).
n(x776).
n(x775).
n(x774).
n(x773).
n(x772).
n(x771).
n(x770).
n(x769).
n(x768).
n(x767).
n(x766).
n(x765).
n(x764).
n(x763).
n(x762).
n(x761).
n(x760).
n(x759).
n(x758).
n(x757).
n(x756).
n(x755).
n(x754).
n(x753).
n(x752).
n(x751).
n(x750).
n(x749).
n(x748).
n(x747).
n(x746).
n(x745).
n(x744).
n(x743).
n(x742).
n(x741).
n(x740).
n(x739).
n(x738).
n(x737).
n(x736).
n(x735).
n(x734).
n(x733).
n(x732).
n(x731).
n(x730).
n(x729).
n(x728).
n(x727).
n(x726).
n(x725).
n(x724).
n(x723).
n(x722).
n(x721).
n(x720).
n(x719).
n(x718).
n(x717).
n(x716).
n(x715).
n(x714).
n(x713).
n(x712).
n(x711).
n(x710).
n(x709).
n(x708).
n(x707).
n(x706).
n(x705).
n(x704).
n(x703).
n(x702).
n(x701).
n(x700).
n(x699).
n(x698).
n(x697).
n(x696).
n(x695).
n(x694).
n(x693).
n(x692).
n(x691).
n(x690).
n(x689).
n(x688).
n(x687).
n(x686).
n(x685).
n(x684).
n(x683).
n(x682).
n(x681).
n(x680).
n(x679).
n(x678).
n(x677).
n(x676).
n(x675).
n(x674).
n(x673).
n(x672).
n(x671).
n(x670).
n(x669).
n(x668).
n(x667).
n(x666).
n(x665).
n(x664).
n(x663).
n(x662).
n(x661).
n(x660).
n(x659).
n(x658).
n(x657).
n(x656).
n(x655).
n(x654).
n(x653).
n(x652).
n(x651).
n(x650).
n(x649).
n(x648).
n(x647).
n(x646).
n(x645).
n(x644).
n(x643).
n(x642).
n(x641).
n(x640).
n(x639).
n(x638).
n(x637).
n(x636).
n(x635).
n(x634).
n(x633).
n(x632).
n(x631).
n(x630).
n(x629).
n(x628).
n(x627).
n(x626).
n(x625).
n(x624).
n(x623).
n(x622).
n(x621).
n(x620).
n(x619).
n(x618).
n(x617).
n(x616).
n(x615).
n(x614).
n(x613).
n(x612).
n(x611).
n(x610).
n(x609).
n(x608).
n(x607).
n(x606).
n(x605).
n(x604).
n(x603).
n(x602).
n(x601).
n(x600).
n(x599).
n(x598).
n(x597).
n(x596).
n(x595).
n(x594).
n(x593).
n(x592).
n(x591).
n(x590).
n(x589).
n(x588).
n(x587).
n(x586).
n(x585).
n(x584).
n(x583).
n(x582).
n(x581).
n(x580).
n(x579).
n(x578).
n(x577).
n(x576).
n(x575).
n(x574).
n(x573).
n(x572).
n(x571).
n(x570).
n(x569).
n(x568).
n(x567).
n(x566).
n(x565).
n(x564).
n(x563).
n(x562).
n(x561).
n(x560).
n(x559).
n(x558).
n(x557).
n(x556).
n(x555).
n(x554).
n(x553).
n(x552).
n(x551).
n(x550).
n(x549).
n(x548).
n(x547).
n(x546).
n(x545).
n(x544).
n(x543).
n(x542).
n(x541).
n(x540).
n(x539).
n(x538).
n(x537).
n(x536).
n(x535).
n(x534).
n(x533).
n(x532).
n(x531).
n(x530).
n(x529).
n(x528).
n(x527).
n(x526).
n(x525).
n(x524).
n(x523).
n(x522).
n(x521).
n(x520).
n(x519).
n(x518).
n(x517).
n(x516).
n(x515).
n(x514).
n(x513).
n(x512).
n(x511).
n(x510).
n(x509).
n(x508).
n(x507).
n(x506).
n(x505).
n(x504).
n(x503).
n(x502).
n(x501).
n(x500).
n(x499).
n(x498).
n(x497).
n(x496).
n(x495).
n(x494).
n(x493).
n(x492).
n(x491).
n(x490).
n(x489).
n(x488).
n(x487).
n(x486).
n(x485).
n(x484).
n(x483).
n(x482).
n(x481).
n(x480).
n(x479).
n(x478).
n(x477).
n(x476).
n(x475).
n(x474).
n(x473).
n(x472).
n(x471).
n(x470).
n(x469).
n(x468).
n(x467).
n(x466).
n(x465).
n(x464).
n(x463).
n(x462).
n(x461).
n(x460).
n(x459).
n(x458).
n(x457).
n(x456).
n(x455).
n(x454).
n(x453).
n(x452).
n(x451).
n(x450).
n(x449).
n(x448).
n(x447).
n(x446).
n(x445).
n(x444).
n(x443).
n(x442).
n(x441).
n(x440).
n(x439).
n(x438).
n(x437).
n(x436).
n(x435).
n(x434).
n(x433).
n(x432).
n(x431).
n(x430).
n(x429).
n(x428).
n(x427).
n(x426).
n(x425).
n(x424).
n(x423).
n(x422).
n(x421).
n(x420).
n(x419).
n(x418).
n(x417).
n(x416).
n(x415).
n(x414).
n(x413).
n(x412).
n(x411).
n(x410).
n(x409).
n(x408).
n(x407).
n(x406).
n(x405).
n(x404).
n(x403).
n(x402).
n(x401).
n(x400).
n(x399).
n(x398).
n(x397).
n(x396).
n(x395).
n(x394).
n(x393).
n(x392).
n(x391).
n(x390).
n(x389).
n(x388).
n(x387).
n(x386).
n(x385).
n(x384).
n(x383).
n(x382).
n(x381).
n(x380).
n(x379).
n(x378).
n(x377).
n(x376).
n(x375).
n(x374).
n(x373).
n(x372).
n(x371).
n(x370).
n(x369).
n(x368).
n(x367).
n(x366).
n(x365).
n(x364).
n(x363).
n(x362).
n(x361).
n(x360).
n(x359).
n(x358).
n(x357).
n(x356).
n(x355).
n(x354).
n(x353).
n(x352).
n(x351).
n(x350).
n(x349).
n(x348).
n(x347).
n(x346).
n(x345).
n(x344).
n(x343).
n(x342).
n(x341).
n(x340).
n(x339).
n(x338).
n(x337).
n(x336).
n(x335).
n(x334).
n(x333).
n(x332).
n(x331).
n(x330).
n(x329).
n(x328).
n(x327).
n(x326).
n(x325).
n(x324).
n(x323).
n(x322).
n(x321).
n(x320).
n(x319).
n(x318).
n(x317).
n(x316).
n(x315).
n(x314).
n(x313).
n(x312).
n(x311).
n(x310).
n(x309).
n(x308).
n(x307).
n(x306).
n(x305).
n(x304).
n(x303).
n(x302).
n(x301).
n(x300).
n(x299).
n(x298).
n(x297).
n(x296).
n(x295).
n(x294).
n(x293).
n(x292).
n(x291).
n(x290).
n(x289).
n(x288).
n(x287).
n(x286).
n(x285).
n(x284).
n(x283).
n(x282).
n(x281).
n(x280).
n(x279).
n(x278).
n(x277).
n(x276).
n(x275).
n(x274).
n(x273).
n(x272).
n(x271).
n(x270).
n(x269).
n(x268).
n(x267).
n(x266).
n(x265).
n(x264).
n(x263).
n(x262).
n(x261).
n(x260).
n(x259).
n(x258).
n(x257).
n(x256).
n(x255).
n(x254).
n(x253).
n(x252).
n(x251).
n(x250).
n(x249).
n(x248).
n(x247).
n(x246).
n(x245).
n(x244).
n(x243).
n(x242).
n(x241).
n(x240).
n(x239).
n(x238).
n(x237).
n(x236).
n(x235).
n(x234).
n(x233).
n(x232).
n(x231).
n(x230).
n(x229).
n(x228).
n(x227).
n(x226).
n(x225).
n(x224).
n(x223).
n(x222).
n(x221).
n(x220).
n(x219).
n(x218).
n(x217).
n(x216).
n(x215).
n(x214).
n(x213).
n(x212).
n(x211).
n(x210).
n(x209).
n(x208).
n(x207).
n(x206).
n(x205).
n(x204).
n(x203).
n(x202).
n(x201).
n(x200).
n(x199).
n(x198).
n(x197).
n(x196).
n(x195).
n(x194).
n(x193).
n(x192).
n(x191).
n(x190).
n(x189).
n(x188).
n(x187).
n(x186).
n(x185).
n(x184).
n(x183).
n(x182).
n(x181).
n(x180).
n(x179).
n(x178).
n(x177).
n(x176).
n(x175).
n(x174).
n(x173).
n(x172).
n(x171).
n(x170).
n(x169).
n(x168).
n(x167).
n(x166).
n(x165).
n(x164).
n(x163).
n(x162).
n(x161).
n(x160).
n(x159).
n(x158).
n(x157).
n(x156).
n(x155).
n(x154).
n(x153).
n(x152).
n(x151).
n(x150).
n(x149).
n(x148).
n(x147).
n(x146).
n(x145).
n(x144).
n(x143).
n(x142).
n(x141).
n(x140).
n(x139).
n(x138).
n(x137).
n(x136).
n(x135).
n(x134).
n(x133).
n(x132).
n(x131).
n(x130).
n(x129).
n(x128).
n(x127).
n(x126).
n(x125).
n(x124).
n(x123).
n(x122).
n(x121).
n(x120).
n(x119).
n(x118).
n(x117).
n(x116).
n(x115).
n(x114).
n(x113).
n(x112).
n(x111).
n(x110).
n(x109).
n(x108).
n(x107).
n(x106).
n(x105).
n(x104).
n(x103).
n(x102).
n(x101).
n(x100).
n(x99).
n(x98).
n(x97).
n(x96).
n(x95).
n(x94).
n(x93).
n(x92).
n(x91).
n(x90).
n(x89).
n(x88).
n(x87).
n(x86).
n(x85).
n(x84).
n(x83).
n(x82).
n(x81).
n(x80).
n(x79).
n(x78).
n(x77).
n(x76).
n(x75).
n(x74).
n(x73).
n(x72).
n(x71).
n(x70).
n(x69).
n(x68).
n(x67).
n(x66).
n(x65).
n(x64).
n(x63).
n(x62).
n(x61).
n(x60).
n(x59).
n(x58).
n(x57).
n(x56).
n(x55).
n(x54).
n(x53).
n(x52).
n(x51).
n(x50).
n(x49).
n(x48).
n(x47).
n(x46).
n(x45).
n(x44).
n(x43).
n(x42).
n(x41).
n(x40).
n(x39).
n(x38).
n(x37).
n(x36).
n(x35).
n(x34).
n(x33).
n(x32).
n(x31).
n(x30).
n(x29).
n(x28).
n(x27).
n(x26).
n(x25).
n(x24).
n(x23).
n(x22).
n(x21).
n(x20).
n(x19).
n(x18).
n(x17).
n(x16).
n(x15).
n(x14).
n(x13).
n(x12).
n(x11).
n(x10).
n(x9).
n(x8).
n(x7).
n(x6).
n(x5).
n(x4).
n(x3).
n(x2).
n(x1).
n(x4001).
"""
output = """
n(x4000).
n(x3999).
n(x3998).
n(x3997).
n(x3996).
n(x3995).
n(x3994).
n(x3993).
n(x3992).
n(x3991).
n(x3990).
n(x3989).
n(x3988).
n(x3987).
n(x3986).
n(x3985).
n(x3984).
n(x3983).
n(x3982).
n(x3981).
n(x3980).
n(x3979).
n(x3978).
n(x3977).
n(x3976).
n(x3975).
n(x3974).
n(x3973).
n(x3972).
n(x3971).
n(x3970).
n(x3969).
n(x3968).
n(x3967).
n(x3966).
n(x3965).
n(x3964).
n(x3963).
n(x3962).
n(x3961).
n(x3960).
n(x3959).
n(x3958).
n(x3957).
n(x3956).
n(x3955).
n(x3954).
n(x3953).
n(x3952).
n(x3951).
n(x3950).
n(x3949).
n(x3948).
n(x3947).
n(x3946).
n(x3945).
n(x3944).
n(x3943).
n(x3942).
n(x3941).
n(x3940).
n(x3939).
n(x3938).
n(x3937).
n(x3936).
n(x3935).
n(x3934).
n(x3933).
n(x3932).
n(x3931).
n(x3930).
n(x3929).
n(x3928).
n(x3927).
n(x3926).
n(x3925).
n(x3924).
n(x3923).
n(x3922).
n(x3921).
n(x3920).
n(x3919).
n(x3918).
n(x3917).
n(x3916).
n(x3915).
n(x3914).
n(x3913).
n(x3912).
n(x3911).
n(x3910).
n(x3909).
n(x3908).
n(x3907).
n(x3906).
n(x3905).
n(x3904).
n(x3903).
n(x3902).
n(x3901).
n(x3900).
n(x3899).
n(x3898).
n(x3897).
n(x3896).
n(x3895).
n(x3894).
n(x3893).
n(x3892).
n(x3891).
n(x3890).
n(x3889).
n(x3888).
n(x3887).
n(x3886).
n(x3885).
n(x3884).
n(x3883).
n(x3882).
n(x3881).
n(x3880).
n(x3879).
n(x3878).
n(x3877).
n(x3876).
n(x3875).
n(x3874).
n(x3873).
n(x3872).
n(x3871).
n(x3870).
n(x3869).
n(x3868).
n(x3867).
n(x3866).
n(x3865).
n(x3864).
n(x3863).
n(x3862).
n(x3861).
n(x3860).
n(x3859).
n(x3858).
n(x3857).
n(x3856).
n(x3855).
n(x3854).
n(x3853).
n(x3852).
n(x3851).
n(x3850).
n(x3849).
n(x3848).
n(x3847).
n(x3846).
n(x3845).
n(x3844).
n(x3843).
n(x3842).
n(x3841).
n(x3840).
n(x3839).
n(x3838).
n(x3837).
n(x3836).
n(x3835).
n(x3834).
n(x3833).
n(x3832).
n(x3831).
n(x3830).
n(x3829).
n(x3828).
n(x3827).
n(x3826).
n(x3825).
n(x3824).
n(x3823).
n(x3822).
n(x3821).
n(x3820).
n(x3819).
n(x3818).
n(x3817).
n(x3816).
n(x3815).
n(x3814).
n(x3813).
n(x3812).
n(x3811).
n(x3810).
n(x3809).
n(x3808).
n(x3807).
n(x3806).
n(x3805).
n(x3804).
n(x3803).
n(x3802).
n(x3801).
n(x3800).
n(x3799).
n(x3798).
n(x3797).
n(x3796).
n(x3795).
n(x3794).
n(x3793).
n(x3792).
n(x3791).
n(x3790).
n(x3789).
n(x3788).
n(x3787).
n(x3786).
n(x3785).
n(x3784).
n(x3783).
n(x3782).
n(x3781).
n(x3780).
n(x3779).
n(x3778).
n(x3777).
n(x3776).
n(x3775).
n(x3774).
n(x3773).
n(x3772).
n(x3771).
n(x3770).
n(x3769).
n(x3768).
n(x3767).
n(x3766).
n(x3765).
n(x3764).
n(x3763).
n(x3762).
n(x3761).
n(x3760).
n(x3759).
n(x3758).
n(x3757).
n(x3756).
n(x3755).
n(x3754).
n(x3753).
n(x3752).
n(x3751).
n(x3750).
n(x3749).
n(x3748).
n(x3747).
n(x3746).
n(x3745).
n(x3744).
n(x3743).
n(x3742).
n(x3741).
n(x3740).
n(x3739).
n(x3738).
n(x3737).
n(x3736).
n(x3735).
n(x3734).
n(x3733).
n(x3732).
n(x3731).
n(x3730).
n(x3729).
n(x3728).
n(x3727).
n(x3726).
n(x3725).
n(x3724).
n(x3723).
n(x3722).
n(x3721).
n(x3720).
n(x3719).
n(x3718).
n(x3717).
n(x3716).
n(x3715).
n(x3714).
n(x3713).
n(x3712).
n(x3711).
n(x3710).
n(x3709).
n(x3708).
n(x3707).
n(x3706).
n(x3705).
n(x3704).
n(x3703).
n(x3702).
n(x3701).
n(x3700).
n(x3699).
n(x3698).
n(x3697).
n(x3696).
n(x3695).
n(x3694).
n(x3693).
n(x3692).
n(x3691).
n(x3690).
n(x3689).
n(x3688).
n(x3687).
n(x3686).
n(x3685).
n(x3684).
n(x3683).
n(x3682).
n(x3681).
n(x3680).
n(x3679).
n(x3678).
n(x3677).
n(x3676).
n(x3675).
n(x3674).
n(x3673).
n(x3672).
n(x3671).
n(x3670).
n(x3669).
n(x3668).
n(x3667).
n(x3666).
n(x3665).
n(x3664).
n(x3663).
n(x3662).
n(x3661).
n(x3660).
n(x3659).
n(x3658).
n(x3657).
n(x3656).
n(x3655).
n(x3654).
n(x3653).
n(x3652).
n(x3651).
n(x3650).
n(x3649).
n(x3648).
n(x3647).
n(x3646).
n(x3645).
n(x3644).
n(x3643).
n(x3642).
n(x3641).
n(x3640).
n(x3639).
n(x3638).
n(x3637).
n(x3636).
n(x3635).
n(x3634).
n(x3633).
n(x3632).
n(x3631).
n(x3630).
n(x3629).
n(x3628).
n(x3627).
n(x3626).
n(x3625).
n(x3624).
n(x3623).
n(x3622).
n(x3621).
n(x3620).
n(x3619).
n(x3618).
n(x3617).
n(x3616).
n(x3615).
n(x3614).
n(x3613).
n(x3612).
n(x3611).
n(x3610).
n(x3609).
n(x3608).
n(x3607).
n(x3606).
n(x3605).
n(x3604).
n(x3603).
n(x3602).
n(x3601).
n(x3600).
n(x3599).
n(x3598).
n(x3597).
n(x3596).
n(x3595).
n(x3594).
n(x3593).
n(x3592).
n(x3591).
n(x3590).
n(x3589).
n(x3588).
n(x3587).
n(x3586).
n(x3585).
n(x3584).
n(x3583).
n(x3582).
n(x3581).
n(x3580).
n(x3579).
n(x3578).
n(x3577).
n(x3576).
n(x3575).
n(x3574).
n(x3573).
n(x3572).
n(x3571).
n(x3570).
n(x3569).
n(x3568).
n(x3567).
n(x3566).
n(x3565).
n(x3564).
n(x3563).
n(x3562).
n(x3561).
n(x3560).
n(x3559).
n(x3558).
n(x3557).
n(x3556).
n(x3555).
n(x3554).
n(x3553).
n(x3552).
n(x3551).
n(x3550).
n(x3549).
n(x3548).
n(x3547).
n(x3546).
n(x3545).
n(x3544).
n(x3543).
n(x3542).
n(x3541).
n(x3540).
n(x3539).
n(x3538).
n(x3537).
n(x3536).
n(x3535).
n(x3534).
n(x3533).
n(x3532).
n(x3531).
n(x3530).
n(x3529).
n(x3528).
n(x3527).
n(x3526).
n(x3525).
n(x3524).
n(x3523).
n(x3522).
n(x3521).
n(x3520).
n(x3519).
n(x3518).
n(x3517).
n(x3516).
n(x3515).
n(x3514).
n(x3513).
n(x3512).
n(x3511).
n(x3510).
n(x3509).
n(x3508).
n(x3507).
n(x3506).
n(x3505).
n(x3504).
n(x3503).
n(x3502).
n(x3501).
n(x3500).
n(x3499).
n(x3498).
n(x3497).
n(x3496).
n(x3495).
n(x3494).
n(x3493).
n(x3492).
n(x3491).
n(x3490).
n(x3489).
n(x3488).
n(x3487).
n(x3486).
n(x3485).
n(x3484).
n(x3483).
n(x3482).
n(x3481).
n(x3480).
n(x3479).
n(x3478).
n(x3477).
n(x3476).
n(x3475).
n(x3474).
n(x3473).
n(x3472).
n(x3471).
n(x3470).
n(x3469).
n(x3468).
n(x3467).
n(x3466).
n(x3465).
n(x3464).
n(x3463).
n(x3462).
n(x3461).
n(x3460).
n(x3459).
n(x3458).
n(x3457).
n(x3456).
n(x3455).
n(x3454).
n(x3453).
n(x3452).
n(x3451).
n(x3450).
n(x3449).
n(x3448).
n(x3447).
n(x3446).
n(x3445).
n(x3444).
n(x3443).
n(x3442).
n(x3441).
n(x3440).
n(x3439).
n(x3438).
n(x3437).
n(x3436).
n(x3435).
n(x3434).
n(x3433).
n(x3432).
n(x3431).
n(x3430).
n(x3429).
n(x3428).
n(x3427).
n(x3426).
n(x3425).
n(x3424).
n(x3423).
n(x3422).
n(x3421).
n(x3420).
n(x3419).
n(x3418).
n(x3417).
n(x3416).
n(x3415).
n(x3414).
n(x3413).
n(x3412).
n(x3411).
n(x3410).
n(x3409).
n(x3408).
n(x3407).
n(x3406).
n(x3405).
n(x3404).
n(x3403).
n(x3402).
n(x3401).
n(x3400).
n(x3399).
n(x3398).
n(x3397).
n(x3396).
n(x3395).
n(x3394).
n(x3393).
n(x3392).
n(x3391).
n(x3390).
n(x3389).
n(x3388).
n(x3387).
n(x3386).
n(x3385).
n(x3384).
n(x3383).
n(x3382).
n(x3381).
n(x3380).
n(x3379).
n(x3378).
n(x3377).
n(x3376).
n(x3375).
n(x3374).
n(x3373).
n(x3372).
n(x3371).
n(x3370).
n(x3369).
n(x3368).
n(x3367).
n(x3366).
n(x3365).
n(x3364).
n(x3363).
n(x3362).
n(x3361).
n(x3360).
n(x3359).
n(x3358).
n(x3357).
n(x3356).
n(x3355).
n(x3354).
n(x3353).
n(x3352).
n(x3351).
n(x3350).
n(x3349).
n(x3348).
n(x3347).
n(x3346).
n(x3345).
n(x3344).
n(x3343).
n(x3342).
n(x3341).
n(x3340).
n(x3339).
n(x3338).
n(x3337).
n(x3336).
n(x3335).
n(x3334).
n(x3333).
n(x3332).
n(x3331).
n(x3330).
n(x3329).
n(x3328).
n(x3327).
n(x3326).
n(x3325).
n(x3324).
n(x3323).
n(x3322).
n(x3321).
n(x3320).
n(x3319).
n(x3318).
n(x3317).
n(x3316).
n(x3315).
n(x3314).
n(x3313).
n(x3312).
n(x3311).
n(x3310).
n(x3309).
n(x3308).
n(x3307).
n(x3306).
n(x3305).
n(x3304).
n(x3303).
n(x3302).
n(x3301).
n(x3300).
n(x3299).
n(x3298).
n(x3297).
n(x3296).
n(x3295).
n(x3294).
n(x3293).
n(x3292).
n(x3291).
n(x3290).
n(x3289).
n(x3288).
n(x3287).
n(x3286).
n(x3285).
n(x3284).
n(x3283).
n(x3282).
n(x3281).
n(x3280).
n(x3279).
n(x3278).
n(x3277).
n(x3276).
n(x3275).
n(x3274).
n(x3273).
n(x3272).
n(x3271).
n(x3270).
n(x3269).
n(x3268).
n(x3267).
n(x3266).
n(x3265).
n(x3264).
n(x3263).
n(x3262).
n(x3261).
n(x3260).
n(x3259).
n(x3258).
n(x3257).
n(x3256).
n(x3255).
n(x3254).
n(x3253).
n(x3252).
n(x3251).
n(x3250).
n(x3249).
n(x3248).
n(x3247).
n(x3246).
n(x3245).
n(x3244).
n(x3243).
n(x3242).
n(x3241).
n(x3240).
n(x3239).
n(x3238).
n(x3237).
n(x3236).
n(x3235).
n(x3234).
n(x3233).
n(x3232).
n(x3231).
n(x3230).
n(x3229).
n(x3228).
n(x3227).
n(x3226).
n(x3225).
n(x3224).
n(x3223).
n(x3222).
n(x3221).
n(x3220).
n(x3219).
n(x3218).
n(x3217).
n(x3216).
n(x3215).
n(x3214).
n(x3213).
n(x3212).
n(x3211).
n(x3210).
n(x3209).
n(x3208).
n(x3207).
n(x3206).
n(x3205).
n(x3204).
n(x3203).
n(x3202).
n(x3201).
n(x3200).
n(x3199).
n(x3198).
n(x3197).
n(x3196).
n(x3195).
n(x3194).
n(x3193).
n(x3192).
n(x3191).
n(x3190).
n(x3189).
n(x3188).
n(x3187).
n(x3186).
n(x3185).
n(x3184).
n(x3183).
n(x3182).
n(x3181).
n(x3180).
n(x3179).
n(x3178).
n(x3177).
n(x3176).
n(x3175).
n(x3174).
n(x3173).
n(x3172).
n(x3171).
n(x3170).
n(x3169).
n(x3168).
n(x3167).
n(x3166).
n(x3165).
n(x3164).
n(x3163).
n(x3162).
n(x3161).
n(x3160).
n(x3159).
n(x3158).
n(x3157).
n(x3156).
n(x3155).
n(x3154).
n(x3153).
n(x3152).
n(x3151).
n(x3150).
n(x3149).
n(x3148).
n(x3147).
n(x3146).
n(x3145).
n(x3144).
n(x3143).
n(x3142).
n(x3141).
n(x3140).
n(x3139).
n(x3138).
n(x3137).
n(x3136).
n(x3135).
n(x3134).
n(x3133).
n(x3132).
n(x3131).
n(x3130).
n(x3129).
n(x3128).
n(x3127).
n(x3126).
n(x3125).
n(x3124).
n(x3123).
n(x3122).
n(x3121).
n(x3120).
n(x3119).
n(x3118).
n(x3117).
n(x3116).
n(x3115).
n(x3114).
n(x3113).
n(x3112).
n(x3111).
n(x3110).
n(x3109).
n(x3108).
n(x3107).
n(x3106).
n(x3105).
n(x3104).
n(x3103).
n(x3102).
n(x3101).
n(x3100).
n(x3099).
n(x3098).
n(x3097).
n(x3096).
n(x3095).
n(x3094).
n(x3093).
n(x3092).
n(x3091).
n(x3090).
n(x3089).
n(x3088).
n(x3087).
n(x3086).
n(x3085).
n(x3084).
n(x3083).
n(x3082).
n(x3081).
n(x3080).
n(x3079).
n(x3078).
n(x3077).
n(x3076).
n(x3075).
n(x3074).
n(x3073).
n(x3072).
n(x3071).
n(x3070).
n(x3069).
n(x3068).
n(x3067).
n(x3066).
n(x3065).
n(x3064).
n(x3063).
n(x3062).
n(x3061).
n(x3060).
n(x3059).
n(x3058).
n(x3057).
n(x3056).
n(x3055).
n(x3054).
n(x3053).
n(x3052).
n(x3051).
n(x3050).
n(x3049).
n(x3048).
n(x3047).
n(x3046).
n(x3045).
n(x3044).
n(x3043).
n(x3042).
n(x3041).
n(x3040).
n(x3039).
n(x3038).
n(x3037).
n(x3036).
n(x3035).
n(x3034).
n(x3033).
n(x3032).
n(x3031).
n(x3030).
n(x3029).
n(x3028).
n(x3027).
n(x3026).
n(x3025).
n(x3024).
n(x3023).
n(x3022).
n(x3021).
n(x3020).
n(x3019).
n(x3018).
n(x3017).
n(x3016).
n(x3015).
n(x3014).
n(x3013).
n(x3012).
n(x3011).
n(x3010).
n(x3009).
n(x3008).
n(x3007).
n(x3006).
n(x3005).
n(x3004).
n(x3003).
n(x3002).
n(x3001).
n(x3000).
n(x2999).
n(x2998).
n(x2997).
n(x2996).
n(x2995).
n(x2994).
n(x2993).
n(x2992).
n(x2991).
n(x2990).
n(x2989).
n(x2988).
n(x2987).
n(x2986).
n(x2985).
n(x2984).
n(x2983).
n(x2982).
n(x2981).
n(x2980).
n(x2979).
n(x2978).
n(x2977).
n(x2976).
n(x2975).
n(x2974).
n(x2973).
n(x2972).
n(x2971).
n(x2970).
n(x2969).
n(x2968).
n(x2967).
n(x2966).
n(x2965).
n(x2964).
n(x2963).
n(x2962).
n(x2961).
n(x2960).
n(x2959).
n(x2958).
n(x2957).
n(x2956).
n(x2955).
n(x2954).
n(x2953).
n(x2952).
n(x2951).
n(x2950).
n(x2949).
n(x2948).
n(x2947).
n(x2946).
n(x2945).
n(x2944).
n(x2943).
n(x2942).
n(x2941).
n(x2940).
n(x2939).
n(x2938).
n(x2937).
n(x2936).
n(x2935).
n(x2934).
n(x2933).
n(x2932).
n(x2931).
n(x2930).
n(x2929).
n(x2928).
n(x2927).
n(x2926).
n(x2925).
n(x2924).
n(x2923).
n(x2922).
n(x2921).
n(x2920).
n(x2919).
n(x2918).
n(x2917).
n(x2916).
n(x2915).
n(x2914).
n(x2913).
n(x2912).
n(x2911).
n(x2910).
n(x2909).
n(x2908).
n(x2907).
n(x2906).
n(x2905).
n(x2904).
n(x2903).
n(x2902).
n(x2901).
n(x2900).
n(x2899).
n(x2898).
n(x2897).
n(x2896).
n(x2895).
n(x2894).
n(x2893).
n(x2892).
n(x2891).
n(x2890).
n(x2889).
n(x2888).
n(x2887).
n(x2886).
n(x2885).
n(x2884).
n(x2883).
n(x2882).
n(x2881).
n(x2880).
n(x2879).
n(x2878).
n(x2877).
n(x2876).
n(x2875).
n(x2874).
n(x2873).
n(x2872).
n(x2871).
n(x2870).
n(x2869).
n(x2868).
n(x2867).
n(x2866).
n(x2865).
n(x2864).
n(x2863).
n(x2862).
n(x2861).
n(x2860).
n(x2859).
n(x2858).
n(x2857).
n(x2856).
n(x2855).
n(x2854).
n(x2853).
n(x2852).
n(x2851).
n(x2850).
n(x2849).
n(x2848).
n(x2847).
n(x2846).
n(x2845).
n(x2844).
n(x2843).
n(x2842).
n(x2841).
n(x2840).
n(x2839).
n(x2838).
n(x2837).
n(x2836).
n(x2835).
n(x2834).
n(x2833).
n(x2832).
n(x2831).
n(x2830).
n(x2829).
n(x2828).
n(x2827).
n(x2826).
n(x2825).
n(x2824).
n(x2823).
n(x2822).
n(x2821).
n(x2820).
n(x2819).
n(x2818).
n(x2817).
n(x2816).
n(x2815).
n(x2814).
n(x2813).
n(x2812).
n(x2811).
n(x2810).
n(x2809).
n(x2808).
n(x2807).
n(x2806).
n(x2805).
n(x2804).
n(x2803).
n(x2802).
n(x2801).
n(x2800).
n(x2799).
n(x2798).
n(x2797).
n(x2796).
n(x2795).
n(x2794).
n(x2793).
n(x2792).
n(x2791).
n(x2790).
n(x2789).
n(x2788).
n(x2787).
n(x2786).
n(x2785).
n(x2784).
n(x2783).
n(x2782).
n(x2781).
n(x2780).
n(x2779).
n(x2778).
n(x2777).
n(x2776).
n(x2775).
n(x2774).
n(x2773).
n(x2772).
n(x2771).
n(x2770).
n(x2769).
n(x2768).
n(x2767).
n(x2766).
n(x2765).
n(x2764).
n(x2763).
n(x2762).
n(x2761).
n(x2760).
n(x2759).
n(x2758).
n(x2757).
n(x2756).
n(x2755).
n(x2754).
n(x2753).
n(x2752).
n(x2751).
n(x2750).
n(x2749).
n(x2748).
n(x2747).
n(x2746).
n(x2745).
n(x2744).
n(x2743).
n(x2742).
n(x2741).
n(x2740).
n(x2739).
n(x2738).
n(x2737).
n(x2736).
n(x2735).
n(x2734).
n(x2733).
n(x2732).
n(x2731).
n(x2730).
n(x2729).
n(x2728).
n(x2727).
n(x2726).
n(x2725).
n(x2724).
n(x2723).
n(x2722).
n(x2721).
n(x2720).
n(x2719).
n(x2718).
n(x2717).
n(x2716).
n(x2715).
n(x2714).
n(x2713).
n(x2712).
n(x2711).
n(x2710).
n(x2709).
n(x2708).
n(x2707).
n(x2706).
n(x2705).
n(x2704).
n(x2703).
n(x2702).
n(x2701).
n(x2700).
n(x2699).
n(x2698).
n(x2697).
n(x2696).
n(x2695).
n(x2694).
n(x2693).
n(x2692).
n(x2691).
n(x2690).
n(x2689).
n(x2688).
n(x2687).
n(x2686).
n(x2685).
n(x2684).
n(x2683).
n(x2682).
n(x2681).
n(x2680).
n(x2679).
n(x2678).
n(x2677).
n(x2676).
n(x2675).
n(x2674).
n(x2673).
n(x2672).
n(x2671).
n(x2670).
n(x2669).
n(x2668).
n(x2667).
n(x2666).
n(x2665).
n(x2664).
n(x2663).
n(x2662).
n(x2661).
n(x2660).
n(x2659).
n(x2658).
n(x2657).
n(x2656).
n(x2655).
n(x2654).
n(x2653).
n(x2652).
n(x2651).
n(x2650).
n(x2649).
n(x2648).
n(x2647).
n(x2646).
n(x2645).
n(x2644).
n(x2643).
n(x2642).
n(x2641).
n(x2640).
n(x2639).
n(x2638).
n(x2637).
n(x2636).
n(x2635).
n(x2634).
n(x2633).
n(x2632).
n(x2631).
n(x2630).
n(x2629).
n(x2628).
n(x2627).
n(x2626).
n(x2625).
n(x2624).
n(x2623).
n(x2622).
n(x2621).
n(x2620).
n(x2619).
n(x2618).
n(x2617).
n(x2616).
n(x2615).
n(x2614).
n(x2613).
n(x2612).
n(x2611).
n(x2610).
n(x2609).
n(x2608).
n(x2607).
n(x2606).
n(x2605).
n(x2604).
n(x2603).
n(x2602).
n(x2601).
n(x2600).
n(x2599).
n(x2598).
n(x2597).
n(x2596).
n(x2595).
n(x2594).
n(x2593).
n(x2592).
n(x2591).
n(x2590).
n(x2589).
n(x2588).
n(x2587).
n(x2586).
n(x2585).
n(x2584).
n(x2583).
n(x2582).
n(x2581).
n(x2580).
n(x2579).
n(x2578).
n(x2577).
n(x2576).
n(x2575).
n(x2574).
n(x2573).
n(x2572).
n(x2571).
n(x2570).
n(x2569).
n(x2568).
n(x2567).
n(x2566).
n(x2565).
n(x2564).
n(x2563).
n(x2562).
n(x2561).
n(x2560).
n(x2559).
n(x2558).
n(x2557).
n(x2556).
n(x2555).
n(x2554).
n(x2553).
n(x2552).
n(x2551).
n(x2550).
n(x2549).
n(x2548).
n(x2547).
n(x2546).
n(x2545).
n(x2544).
n(x2543).
n(x2542).
n(x2541).
n(x2540).
n(x2539).
n(x2538).
n(x2537).
n(x2536).
n(x2535).
n(x2534).
n(x2533).
n(x2532).
n(x2531).
n(x2530).
n(x2529).
n(x2528).
n(x2527).
n(x2526).
n(x2525).
n(x2524).
n(x2523).
n(x2522).
n(x2521).
n(x2520).
n(x2519).
n(x2518).
n(x2517).
n(x2516).
n(x2515).
n(x2514).
n(x2513).
n(x2512).
n(x2511).
n(x2510).
n(x2509).
n(x2508).
n(x2507).
n(x2506).
n(x2505).
n(x2504).
n(x2503).
n(x2502).
n(x2501).
n(x2500).
n(x2499).
n(x2498).
n(x2497).
n(x2496).
n(x2495).
n(x2494).
n(x2493).
n(x2492).
n(x2491).
n(x2490).
n(x2489).
n(x2488).
n(x2487).
n(x2486).
n(x2485).
n(x2484).
n(x2483).
n(x2482).
n(x2481).
n(x2480).
n(x2479).
n(x2478).
n(x2477).
n(x2476).
n(x2475).
n(x2474).
n(x2473).
n(x2472).
n(x2471).
n(x2470).
n(x2469).
n(x2468).
n(x2467).
n(x2466).
n(x2465).
n(x2464).
n(x2463).
n(x2462).
n(x2461).
n(x2460).
n(x2459).
n(x2458).
n(x2457).
n(x2456).
n(x2455).
n(x2454).
n(x2453).
n(x2452).
n(x2451).
n(x2450).
n(x2449).
n(x2448).
n(x2447).
n(x2446).
n(x2445).
n(x2444).
n(x2443).
n(x2442).
n(x2441).
n(x2440).
n(x2439).
n(x2438).
n(x2437).
n(x2436).
n(x2435).
n(x2434).
n(x2433).
n(x2432).
n(x2431).
n(x2430).
n(x2429).
n(x2428).
n(x2427).
n(x2426).
n(x2425).
n(x2424).
n(x2423).
n(x2422).
n(x2421).
n(x2420).
n(x2419).
n(x2418).
n(x2417).
n(x2416).
n(x2415).
n(x2414).
n(x2413).
n(x2412).
n(x2411).
n(x2410).
n(x2409).
n(x2408).
n(x2407).
n(x2406).
n(x2405).
n(x2404).
n(x2403).
n(x2402).
n(x2401).
n(x2400).
n(x2399).
n(x2398).
n(x2397).
n(x2396).
n(x2395).
n(x2394).
n(x2393).
n(x2392).
n(x2391).
n(x2390).
n(x2389).
n(x2388).
n(x2387).
n(x2386).
n(x2385).
n(x2384).
n(x2383).
n(x2382).
n(x2381).
n(x2380).
n(x2379).
n(x2378).
n(x2377).
n(x2376).
n(x2375).
n(x2374).
n(x2373).
n(x2372).
n(x2371).
n(x2370).
n(x2369).
n(x2368).
n(x2367).
n(x2366).
n(x2365).
n(x2364).
n(x2363).
n(x2362).
n(x2361).
n(x2360).
n(x2359).
n(x2358).
n(x2357).
n(x2356).
n(x2355).
n(x2354).
n(x2353).
n(x2352).
n(x2351).
n(x2350).
n(x2349).
n(x2348).
n(x2347).
n(x2346).
n(x2345).
n(x2344).
n(x2343).
n(x2342).
n(x2341).
n(x2340).
n(x2339).
n(x2338).
n(x2337).
n(x2336).
n(x2335).
n(x2334).
n(x2333).
n(x2332).
n(x2331).
n(x2330).
n(x2329).
n(x2328).
n(x2327).
n(x2326).
n(x2325).
n(x2324).
n(x2323).
n(x2322).
n(x2321).
n(x2320).
n(x2319).
n(x2318).
n(x2317).
n(x2316).
n(x2315).
n(x2314).
n(x2313).
n(x2312).
n(x2311).
n(x2310).
n(x2309).
n(x2308).
n(x2307).
n(x2306).
n(x2305).
n(x2304).
n(x2303).
n(x2302).
n(x2301).
n(x2300).
n(x2299).
n(x2298).
n(x2297).
n(x2296).
n(x2295).
n(x2294).
n(x2293).
n(x2292).
n(x2291).
n(x2290).
n(x2289).
n(x2288).
n(x2287).
n(x2286).
n(x2285).
n(x2284).
n(x2283).
n(x2282).
n(x2281).
n(x2280).
n(x2279).
n(x2278).
n(x2277).
n(x2276).
n(x2275).
n(x2274).
n(x2273).
n(x2272).
n(x2271).
n(x2270).
n(x2269).
n(x2268).
n(x2267).
n(x2266).
n(x2265).
n(x2264).
n(x2263).
n(x2262).
n(x2261).
n(x2260).
n(x2259).
n(x2258).
n(x2257).
n(x2256).
n(x2255).
n(x2254).
n(x2253).
n(x2252).
n(x2251).
n(x2250).
n(x2249).
n(x2248).
n(x2247).
n(x2246).
n(x2245).
n(x2244).
n(x2243).
n(x2242).
n(x2241).
n(x2240).
n(x2239).
n(x2238).
n(x2237).
n(x2236).
n(x2235).
n(x2234).
n(x2233).
n(x2232).
n(x2231).
n(x2230).
n(x2229).
n(x2228).
n(x2227).
n(x2226).
n(x2225).
n(x2224).
n(x2223).
n(x2222).
n(x2221).
n(x2220).
n(x2219).
n(x2218).
n(x2217).
n(x2216).
n(x2215).
n(x2214).
n(x2213).
n(x2212).
n(x2211).
n(x2210).
n(x2209).
n(x2208).
n(x2207).
n(x2206).
n(x2205).
n(x2204).
n(x2203).
n(x2202).
n(x2201).
n(x2200).
n(x2199).
n(x2198).
n(x2197).
n(x2196).
n(x2195).
n(x2194).
n(x2193).
n(x2192).
n(x2191).
n(x2190).
n(x2189).
n(x2188).
n(x2187).
n(x2186).
n(x2185).
n(x2184).
n(x2183).
n(x2182).
n(x2181).
n(x2180).
n(x2179).
n(x2178).
n(x2177).
n(x2176).
n(x2175).
n(x2174).
n(x2173).
n(x2172).
n(x2171).
n(x2170).
n(x2169).
n(x2168).
n(x2167).
n(x2166).
n(x2165).
n(x2164).
n(x2163).
n(x2162).
n(x2161).
n(x2160).
n(x2159).
n(x2158).
n(x2157).
n(x2156).
n(x2155).
n(x2154).
n(x2153).
n(x2152).
n(x2151).
n(x2150).
n(x2149).
n(x2148).
n(x2147).
n(x2146).
n(x2145).
n(x2144).
n(x2143).
n(x2142).
n(x2141).
n(x2140).
n(x2139).
n(x2138).
n(x2137).
n(x2136).
n(x2135).
n(x2134).
n(x2133).
n(x2132).
n(x2131).
n(x2130).
n(x2129).
n(x2128).
n(x2127).
n(x2126).
n(x2125).
n(x2124).
n(x2123).
n(x2122).
n(x2121).
n(x2120).
n(x2119).
n(x2118).
n(x2117).
n(x2116).
n(x2115).
n(x2114).
n(x2113).
n(x2112).
n(x2111).
n(x2110).
n(x2109).
n(x2108).
n(x2107).
n(x2106).
n(x2105).
n(x2104).
n(x2103).
n(x2102).
n(x2101).
n(x2100).
n(x2099).
n(x2098).
n(x2097).
n(x2096).
n(x2095).
n(x2094).
n(x2093).
n(x2092).
n(x2091).
n(x2090).
n(x2089).
n(x2088).
n(x2087).
n(x2086).
n(x2085).
n(x2084).
n(x2083).
n(x2082).
n(x2081).
n(x2080).
n(x2079).
n(x2078).
n(x2077).
n(x2076).
n(x2075).
n(x2074).
n(x2073).
n(x2072).
n(x2071).
n(x2070).
n(x2069).
n(x2068).
n(x2067).
n(x2066).
n(x2065).
n(x2064).
n(x2063).
n(x2062).
n(x2061).
n(x2060).
n(x2059).
n(x2058).
n(x2057).
n(x2056).
n(x2055).
n(x2054).
n(x2053).
n(x2052).
n(x2051).
n(x2050).
n(x2049).
n(x2048).
n(x2047).
n(x2046).
n(x2045).
n(x2044).
n(x2043).
n(x2042).
n(x2041).
n(x2040).
n(x2039).
n(x2038).
n(x2037).
n(x2036).
n(x2035).
n(x2034).
n(x2033).
n(x2032).
n(x2031).
n(x2030).
n(x2029).
n(x2028).
n(x2027).
n(x2026).
n(x2025).
n(x2024).
n(x2023).
n(x2022).
n(x2021).
n(x2020).
n(x2019).
n(x2018).
n(x2017).
n(x2016).
n(x2015).
n(x2014).
n(x2013).
n(x2012).
n(x2011).
n(x2010).
n(x2009).
n(x2008).
n(x2007).
n(x2006).
n(x2005).
n(x2004).
n(x2003).
n(x2002).
n(x2001).
n(x2000).
n(x1999).
n(x1998).
n(x1997).
n(x1996).
n(x1995).
n(x1994).
n(x1993).
n(x1992).
n(x1991).
n(x1990).
n(x1989).
n(x1988).
n(x1987).
n(x1986).
n(x1985).
n(x1984).
n(x1983).
n(x1982).
n(x1981).
n(x1980).
n(x1979).
n(x1978).
n(x1977).
n(x1976).
n(x1975).
n(x1974).
n(x1973).
n(x1972).
n(x1971).
n(x1970).
n(x1969).
n(x1968).
n(x1967).
n(x1966).
n(x1965).
n(x1964).
n(x1963).
n(x1962).
n(x1961).
n(x1960).
n(x1959).
n(x1958).
n(x1957).
n(x1956).
n(x1955).
n(x1954).
n(x1953).
n(x1952).
n(x1951).
n(x1950).
n(x1949).
n(x1948).
n(x1947).
n(x1946).
n(x1945).
n(x1944).
n(x1943).
n(x1942).
n(x1941).
n(x1940).
n(x1939).
n(x1938).
n(x1937).
n(x1936).
n(x1935).
n(x1934).
n(x1933).
n(x1932).
n(x1931).
n(x1930).
n(x1929).
n(x1928).
n(x1927).
n(x1926).
n(x1925).
n(x1924).
n(x1923).
n(x1922).
n(x1921).
n(x1920).
n(x1919).
n(x1918).
n(x1917).
n(x1916).
n(x1915).
n(x1914).
n(x1913).
n(x1912).
n(x1911).
n(x1910).
n(x1909).
n(x1908).
n(x1907).
n(x1906).
n(x1905).
n(x1904).
n(x1903).
n(x1902).
n(x1901).
n(x1900).
n(x1899).
n(x1898).
n(x1897).
n(x1896).
n(x1895).
n(x1894).
n(x1893).
n(x1892).
n(x1891).
n(x1890).
n(x1889).
n(x1888).
n(x1887).
n(x1886).
n(x1885).
n(x1884).
n(x1883).
n(x1882).
n(x1881).
n(x1880).
n(x1879).
n(x1878).
n(x1877).
n(x1876).
n(x1875).
n(x1874).
n(x1873).
n(x1872).
n(x1871).
n(x1870).
n(x1869).
n(x1868).
n(x1867).
n(x1866).
n(x1865).
n(x1864).
n(x1863).
n(x1862).
n(x1861).
n(x1860).
n(x1859).
n(x1858).
n(x1857).
n(x1856).
n(x1855).
n(x1854).
n(x1853).
n(x1852).
n(x1851).
n(x1850).
n(x1849).
n(x1848).
n(x1847).
n(x1846).
n(x1845).
n(x1844).
n(x1843).
n(x1842).
n(x1841).
n(x1840).
n(x1839).
n(x1838).
n(x1837).
n(x1836).
n(x1835).
n(x1834).
n(x1833).
n(x1832).
n(x1831).
n(x1830).
n(x1829).
n(x1828).
n(x1827).
n(x1826).
n(x1825).
n(x1824).
n(x1823).
n(x1822).
n(x1821).
n(x1820).
n(x1819).
n(x1818).
n(x1817).
n(x1816).
n(x1815).
n(x1814).
n(x1813).
n(x1812).
n(x1811).
n(x1810).
n(x1809).
n(x1808).
n(x1807).
n(x1806).
n(x1805).
n(x1804).
n(x1803).
n(x1802).
n(x1801).
n(x1800).
n(x1799).
n(x1798).
n(x1797).
n(x1796).
n(x1795).
n(x1794).
n(x1793).
n(x1792).
n(x1791).
n(x1790).
n(x1789).
n(x1788).
n(x1787).
n(x1786).
n(x1785).
n(x1784).
n(x1783).
n(x1782).
n(x1781).
n(x1780).
n(x1779).
n(x1778).
n(x1777).
n(x1776).
n(x1775).
n(x1774).
n(x1773).
n(x1772).
n(x1771).
n(x1770).
n(x1769).
n(x1768).
n(x1767).
n(x1766).
n(x1765).
n(x1764).
n(x1763).
n(x1762).
n(x1761).
n(x1760).
n(x1759).
n(x1758).
n(x1757).
n(x1756).
n(x1755).
n(x1754).
n(x1753).
n(x1752).
n(x1751).
n(x1750).
n(x1749).
n(x1748).
n(x1747).
n(x1746).
n(x1745).
n(x1744).
n(x1743).
n(x1742).
n(x1741).
n(x1740).
n(x1739).
n(x1738).
n(x1737).
n(x1736).
n(x1735).
n(x1734).
n(x1733).
n(x1732).
n(x1731).
n(x1730).
n(x1729).
n(x1728).
n(x1727).
n(x1726).
n(x1725).
n(x1724).
n(x1723).
n(x1722).
n(x1721).
n(x1720).
n(x1719).
n(x1718).
n(x1717).
n(x1716).
n(x1715).
n(x1714).
n(x1713).
n(x1712).
n(x1711).
n(x1710).
n(x1709).
n(x1708).
n(x1707).
n(x1706).
n(x1705).
n(x1704).
n(x1703).
n(x1702).
n(x1701).
n(x1700).
n(x1699).
n(x1698).
n(x1697).
n(x1696).
n(x1695).
n(x1694).
n(x1693).
n(x1692).
n(x1691).
n(x1690).
n(x1689).
n(x1688).
n(x1687).
n(x1686).
n(x1685).
n(x1684).
n(x1683).
n(x1682).
n(x1681).
n(x1680).
n(x1679).
n(x1678).
n(x1677).
n(x1676).
n(x1675).
n(x1674).
n(x1673).
n(x1672).
n(x1671).
n(x1670).
n(x1669).
n(x1668).
n(x1667).
n(x1666).
n(x1665).
n(x1664).
n(x1663).
n(x1662).
n(x1661).
n(x1660).
n(x1659).
n(x1658).
n(x1657).
n(x1656).
n(x1655).
n(x1654).
n(x1653).
n(x1652).
n(x1651).
n(x1650).
n(x1649).
n(x1648).
n(x1647).
n(x1646).
n(x1645).
n(x1644).
n(x1643).
n(x1642).
n(x1641).
n(x1640).
n(x1639).
n(x1638).
n(x1637).
n(x1636).
n(x1635).
n(x1634).
n(x1633).
n(x1632).
n(x1631).
n(x1630).
n(x1629).
n(x1628).
n(x1627).
n(x1626).
n(x1625).
n(x1624).
n(x1623).
n(x1622).
n(x1621).
n(x1620).
n(x1619).
n(x1618).
n(x1617).
n(x1616).
n(x1615).
n(x1614).
n(x1613).
n(x1612).
n(x1611).
n(x1610).
n(x1609).
n(x1608).
n(x1607).
n(x1606).
n(x1605).
n(x1604).
n(x1603).
n(x1602).
n(x1601).
n(x1600).
n(x1599).
n(x1598).
n(x1597).
n(x1596).
n(x1595).
n(x1594).
n(x1593).
n(x1592).
n(x1591).
n(x1590).
n(x1589).
n(x1588).
n(x1587).
n(x1586).
n(x1585).
n(x1584).
n(x1583).
n(x1582).
n(x1581).
n(x1580).
n(x1579).
n(x1578).
n(x1577).
n(x1576).
n(x1575).
n(x1574).
n(x1573).
n(x1572).
n(x1571).
n(x1570).
n(x1569).
n(x1568).
n(x1567).
n(x1566).
n(x1565).
n(x1564).
n(x1563).
n(x1562).
n(x1561).
n(x1560).
n(x1559).
n(x1558).
n(x1557).
n(x1556).
n(x1555).
n(x1554).
n(x1553).
n(x1552).
n(x1551).
n(x1550).
n(x1549).
n(x1548).
n(x1547).
n(x1546).
n(x1545).
n(x1544).
n(x1543).
n(x1542).
n(x1541).
n(x1540).
n(x1539).
n(x1538).
n(x1537).
n(x1536).
n(x1535).
n(x1534).
n(x1533).
n(x1532).
n(x1531).
n(x1530).
n(x1529).
n(x1528).
n(x1527).
n(x1526).
n(x1525).
n(x1524).
n(x1523).
n(x1522).
n(x1521).
n(x1520).
n(x1519).
n(x1518).
n(x1517).
n(x1516).
n(x1515).
n(x1514).
n(x1513).
n(x1512).
n(x1511).
n(x1510).
n(x1509).
n(x1508).
n(x1507).
n(x1506).
n(x1505).
n(x1504).
n(x1503).
n(x1502).
n(x1501).
n(x1500).
n(x1499).
n(x1498).
n(x1497).
n(x1496).
n(x1495).
n(x1494).
n(x1493).
n(x1492).
n(x1491).
n(x1490).
n(x1489).
n(x1488).
n(x1487).
n(x1486).
n(x1485).
n(x1484).
n(x1483).
n(x1482).
n(x1481).
n(x1480).
n(x1479).
n(x1478).
n(x1477).
n(x1476).
n(x1475).
n(x1474).
n(x1473).
n(x1472).
n(x1471).
n(x1470).
n(x1469).
n(x1468).
n(x1467).
n(x1466).
n(x1465).
n(x1464).
n(x1463).
n(x1462).
n(x1461).
n(x1460).
n(x1459).
n(x1458).
n(x1457).
n(x1456).
n(x1455).
n(x1454).
n(x1453).
n(x1452).
n(x1451).
n(x1450).
n(x1449).
n(x1448).
n(x1447).
n(x1446).
n(x1445).
n(x1444).
n(x1443).
n(x1442).
n(x1441).
n(x1440).
n(x1439).
n(x1438).
n(x1437).
n(x1436).
n(x1435).
n(x1434).
n(x1433).
n(x1432).
n(x1431).
n(x1430).
n(x1429).
n(x1428).
n(x1427).
n(x1426).
n(x1425).
n(x1424).
n(x1423).
n(x1422).
n(x1421).
n(x1420).
n(x1419).
n(x1418).
n(x1417).
n(x1416).
n(x1415).
n(x1414).
n(x1413).
n(x1412).
n(x1411).
n(x1410).
n(x1409).
n(x1408).
n(x1407).
n(x1406).
n(x1405).
n(x1404).
n(x1403).
n(x1402).
n(x1401).
n(x1400).
n(x1399).
n(x1398).
n(x1397).
n(x1396).
n(x1395).
n(x1394).
n(x1393).
n(x1392).
n(x1391).
n(x1390).
n(x1389).
n(x1388).
n(x1387).
n(x1386).
n(x1385).
n(x1384).
n(x1383).
n(x1382).
n(x1381).
n(x1380).
n(x1379).
n(x1378).
n(x1377).
n(x1376).
n(x1375).
n(x1374).
n(x1373).
n(x1372).
n(x1371).
n(x1370).
n(x1369).
n(x1368).
n(x1367).
n(x1366).
n(x1365).
n(x1364).
n(x1363).
n(x1362).
n(x1361).
n(x1360).
n(x1359).
n(x1358).
n(x1357).
n(x1356).
n(x1355).
n(x1354).
n(x1353).
n(x1352).
n(x1351).
n(x1350).
n(x1349).
n(x1348).
n(x1347).
n(x1346).
n(x1345).
n(x1344).
n(x1343).
n(x1342).
n(x1341).
n(x1340).
n(x1339).
n(x1338).
n(x1337).
n(x1336).
n(x1335).
n(x1334).
n(x1333).
n(x1332).
n(x1331).
n(x1330).
n(x1329).
n(x1328).
n(x1327).
n(x1326).
n(x1325).
n(x1324).
n(x1323).
n(x1322).
n(x1321).
n(x1320).
n(x1319).
n(x1318).
n(x1317).
n(x1316).
n(x1315).
n(x1314).
n(x1313).
n(x1312).
n(x1311).
n(x1310).
n(x1309).
n(x1308).
n(x1307).
n(x1306).
n(x1305).
n(x1304).
n(x1303).
n(x1302).
n(x1301).
n(x1300).
n(x1299).
n(x1298).
n(x1297).
n(x1296).
n(x1295).
n(x1294).
n(x1293).
n(x1292).
n(x1291).
n(x1290).
n(x1289).
n(x1288).
n(x1287).
n(x1286).
n(x1285).
n(x1284).
n(x1283).
n(x1282).
n(x1281).
n(x1280).
n(x1279).
n(x1278).
n(x1277).
n(x1276).
n(x1275).
n(x1274).
n(x1273).
n(x1272).
n(x1271).
n(x1270).
n(x1269).
n(x1268).
n(x1267).
n(x1266).
n(x1265).
n(x1264).
n(x1263).
n(x1262).
n(x1261).
n(x1260).
n(x1259).
n(x1258).
n(x1257).
n(x1256).
n(x1255).
n(x1254).
n(x1253).
n(x1252).
n(x1251).
n(x1250).
n(x1249).
n(x1248).
n(x1247).
n(x1246).
n(x1245).
n(x1244).
n(x1243).
n(x1242).
n(x1241).
n(x1240).
n(x1239).
n(x1238).
n(x1237).
n(x1236).
n(x1235).
n(x1234).
n(x1233).
n(x1232).
n(x1231).
n(x1230).
n(x1229).
n(x1228).
n(x1227).
n(x1226).
n(x1225).
n(x1224).
n(x1223).
n(x1222).
n(x1221).
n(x1220).
n(x1219).
n(x1218).
n(x1217).
n(x1216).
n(x1215).
n(x1214).
n(x1213).
n(x1212).
n(x1211).
n(x1210).
n(x1209).
n(x1208).
n(x1207).
n(x1206).
n(x1205).
n(x1204).
n(x1203).
n(x1202).
n(x1201).
n(x1200).
n(x1199).
n(x1198).
n(x1197).
n(x1196).
n(x1195).
n(x1194).
n(x1193).
n(x1192).
n(x1191).
n(x1190).
n(x1189).
n(x1188).
n(x1187).
n(x1186).
n(x1185).
n(x1184).
n(x1183).
n(x1182).
n(x1181).
n(x1180).
n(x1179).
n(x1178).
n(x1177).
n(x1176).
n(x1175).
n(x1174).
n(x1173).
n(x1172).
n(x1171).
n(x1170).
n(x1169).
n(x1168).
n(x1167).
n(x1166).
n(x1165).
n(x1164).
n(x1163).
n(x1162).
n(x1161).
n(x1160).
n(x1159).
n(x1158).
n(x1157).
n(x1156).
n(x1155).
n(x1154).
n(x1153).
n(x1152).
n(x1151).
n(x1150).
n(x1149).
n(x1148).
n(x1147).
n(x1146).
n(x1145).
n(x1144).
n(x1143).
n(x1142).
n(x1141).
n(x1140).
n(x1139).
n(x1138).
n(x1137).
n(x1136).
n(x1135).
n(x1134).
n(x1133).
n(x1132).
n(x1131).
n(x1130).
n(x1129).
n(x1128).
n(x1127).
n(x1126).
n(x1125).
n(x1124).
n(x1123).
n(x1122).
n(x1121).
n(x1120).
n(x1119).
n(x1118).
n(x1117).
n(x1116).
n(x1115).
n(x1114).
n(x1113).
n(x1112).
n(x1111).
n(x1110).
n(x1109).
n(x1108).
n(x1107).
n(x1106).
n(x1105).
n(x1104).
n(x1103).
n(x1102).
n(x1101).
n(x1100).
n(x1099).
n(x1098).
n(x1097).
n(x1096).
n(x1095).
n(x1094).
n(x1093).
n(x1092).
n(x1091).
n(x1090).
n(x1089).
n(x1088).
n(x1087).
n(x1086).
n(x1085).
n(x1084).
n(x1083).
n(x1082).
n(x1081).
n(x1080).
n(x1079).
n(x1078).
n(x1077).
n(x1076).
n(x1075).
n(x1074).
n(x1073).
n(x1072).
n(x1071).
n(x1070).
n(x1069).
n(x1068).
n(x1067).
n(x1066).
n(x1065).
n(x1064).
n(x1063).
n(x1062).
n(x1061).
n(x1060).
n(x1059).
n(x1058).
n(x1057).
n(x1056).
n(x1055).
n(x1054).
n(x1053).
n(x1052).
n(x1051).
n(x1050).
n(x1049).
n(x1048).
n(x1047).
n(x1046).
n(x1045).
n(x1044).
n(x1043).
n(x1042).
n(x1041).
n(x1040).
n(x1039).
n(x1038).
n(x1037).
n(x1036).
n(x1035).
n(x1034).
n(x1033).
n(x1032).
n(x1031).
n(x1030).
n(x1029).
n(x1028).
n(x1027).
n(x1026).
n(x1025).
n(x1024).
n(x1023).
n(x1022).
n(x1021).
n(x1020).
n(x1019).
n(x1018).
n(x1017).
n(x1016).
n(x1015).
n(x1014).
n(x1013).
n(x1012).
n(x1011).
n(x1010).
n(x1009).
n(x1008).
n(x1007).
n(x1006).
n(x1005).
n(x1004).
n(x1003).
n(x1002).
n(x1001).
n(x1000).
n(x999).
n(x998).
n(x997).
n(x996).
n(x995).
n(x994).
n(x993).
n(x992).
n(x991).
n(x990).
n(x989).
n(x988).
n(x987).
n(x986).
n(x985).
n(x984).
n(x983).
n(x982).
n(x981).
n(x980).
n(x979).
n(x978).
n(x977).
n(x976).
n(x975).
n(x974).
n(x973).
n(x972).
n(x971).
n(x970).
n(x969).
n(x968).
n(x967).
n(x966).
n(x965).
n(x964).
n(x963).
n(x962).
n(x961).
n(x960).
n(x959).
n(x958).
n(x957).
n(x956).
n(x955).
n(x954).
n(x953).
n(x952).
n(x951).
n(x950).
n(x949).
n(x948).
n(x947).
n(x946).
n(x945).
n(x944).
n(x943).
n(x942).
n(x941).
n(x940).
n(x939).
n(x938).
n(x937).
n(x936).
n(x935).
n(x934).
n(x933).
n(x932).
n(x931).
n(x930).
n(x929).
n(x928).
n(x927).
n(x926).
n(x925).
n(x924).
n(x923).
n(x922).
n(x921).
n(x920).
n(x919).
n(x918).
n(x917).
n(x916).
n(x915).
n(x914).
n(x913).
n(x912).
n(x911).
n(x910).
n(x909).
n(x908).
n(x907).
n(x906).
n(x905).
n(x904).
n(x903).
n(x902).
n(x901).
n(x900).
n(x899).
n(x898).
n(x897).
n(x896).
n(x895).
n(x894).
n(x893).
n(x892).
n(x891).
n(x890).
n(x889).
n(x888).
n(x887).
n(x886).
n(x885).
n(x884).
n(x883).
n(x882).
n(x881).
n(x880).
n(x879).
n(x878).
n(x877).
n(x876).
n(x875).
n(x874).
n(x873).
n(x872).
n(x871).
n(x870).
n(x869).
n(x868).
n(x867).
n(x866).
n(x865).
n(x864).
n(x863).
n(x862).
n(x861).
n(x860).
n(x859).
n(x858).
n(x857).
n(x856).
n(x855).
n(x854).
n(x853).
n(x852).
n(x851).
n(x850).
n(x849).
n(x848).
n(x847).
n(x846).
n(x845).
n(x844).
n(x843).
n(x842).
n(x841).
n(x840).
n(x839).
n(x838).
n(x837).
n(x836).
n(x835).
n(x834).
n(x833).
n(x832).
n(x831).
n(x830).
n(x829).
n(x828).
n(x827).
n(x826).
n(x825).
n(x824).
n(x823).
n(x822).
n(x821).
n(x820).
n(x819).
n(x818).
n(x817).
n(x816).
n(x815).
n(x814).
n(x813).
n(x812).
n(x811).
n(x810).
n(x809).
n(x808).
n(x807).
n(x806).
n(x805).
n(x804).
n(x803).
n(x802).
n(x801).
n(x800).
n(x799).
n(x798).
n(x797).
n(x796).
n(x795).
n(x794).
n(x793).
n(x792).
n(x791).
n(x790).
n(x789).
n(x788).
n(x787).
n(x786).
n(x785).
n(x784).
n(x783).
n(x782).
n(x781).
n(x780).
n(x779).
n(x778).
n(x777).
n(x776).
n(x775).
n(x774).
n(x773).
n(x772).
n(x771).
n(x770).
n(x769).
n(x768).
n(x767).
n(x766).
n(x765).
n(x764).
n(x763).
n(x762).
n(x761).
n(x760).
n(x759).
n(x758).
n(x757).
n(x756).
n(x755).
n(x754).
n(x753).
n(x752).
n(x751).
n(x750).
n(x749).
n(x748).
n(x747).
n(x746).
n(x745).
n(x744).
n(x743).
n(x742).
n(x741).
n(x740).
n(x739).
n(x738).
n(x737).
n(x736).
n(x735).
n(x734).
n(x733).
n(x732).
n(x731).
n(x730).
n(x729).
n(x728).
n(x727).
n(x726).
n(x725).
n(x724).
n(x723).
n(x722).
n(x721).
n(x720).
n(x719).
n(x718).
n(x717).
n(x716).
n(x715).
n(x714).
n(x713).
n(x712).
n(x711).
n(x710).
n(x709).
n(x708).
n(x707).
n(x706).
n(x705).
n(x704).
n(x703).
n(x702).
n(x701).
n(x700).
n(x699).
n(x698).
n(x697).
n(x696).
n(x695).
n(x694).
n(x693).
n(x692).
n(x691).
n(x690).
n(x689).
n(x688).
n(x687).
n(x686).
n(x685).
n(x684).
n(x683).
n(x682).
n(x681).
n(x680).
n(x679).
n(x678).
n(x677).
n(x676).
n(x675).
n(x674).
n(x673).
n(x672).
n(x671).
n(x670).
n(x669).
n(x668).
n(x667).
n(x666).
n(x665).
n(x664).
n(x663).
n(x662).
n(x661).
n(x660).
n(x659).
n(x658).
n(x657).
n(x656).
n(x655).
n(x654).
n(x653).
n(x652).
n(x651).
n(x650).
n(x649).
n(x648).
n(x647).
n(x646).
n(x645).
n(x644).
n(x643).
n(x642).
n(x641).
n(x640).
n(x639).
n(x638).
n(x637).
n(x636).
n(x635).
n(x634).
n(x633).
n(x632).
n(x631).
n(x630).
n(x629).
n(x628).
n(x627).
n(x626).
n(x625).
n(x624).
n(x623).
n(x622).
n(x621).
n(x620).
n(x619).
n(x618).
n(x617).
n(x616).
n(x615).
n(x614).
n(x613).
n(x612).
n(x611).
n(x610).
n(x609).
n(x608).
n(x607).
n(x606).
n(x605).
n(x604).
n(x603).
n(x602).
n(x601).
n(x600).
n(x599).
n(x598).
n(x597).
n(x596).
n(x595).
n(x594).
n(x593).
n(x592).
n(x591).
n(x590).
n(x589).
n(x588).
n(x587).
n(x586).
n(x585).
n(x584).
n(x583).
n(x582).
n(x581).
n(x580).
n(x579).
n(x578).
n(x577).
n(x576).
n(x575).
n(x574).
n(x573).
n(x572).
n(x571).
n(x570).
n(x569).
n(x568).
n(x567).
n(x566).
n(x565).
n(x564).
n(x563).
n(x562).
n(x561).
n(x560).
n(x559).
n(x558).
n(x557).
n(x556).
n(x555).
n(x554).
n(x553).
n(x552).
n(x551).
n(x550).
n(x549).
n(x548).
n(x547).
n(x546).
n(x545).
n(x544).
n(x543).
n(x542).
n(x541).
n(x540).
n(x539).
n(x538).
n(x537).
n(x536).
n(x535).
n(x534).
n(x533).
n(x532).
n(x531).
n(x530).
n(x529).
n(x528).
n(x527).
n(x526).
n(x525).
n(x524).
n(x523).
n(x522).
n(x521).
n(x520).
n(x519).
n(x518).
n(x517).
n(x516).
n(x515).
n(x514).
n(x513).
n(x512).
n(x511).
n(x510).
n(x509).
n(x508).
n(x507).
n(x506).
n(x505).
n(x504).
n(x503).
n(x502).
n(x501).
n(x500).
n(x499).
n(x498).
n(x497).
n(x496).
n(x495).
n(x494).
n(x493).
n(x492).
n(x491).
n(x490).
n(x489).
n(x488).
n(x487).
n(x486).
n(x485).
n(x484).
n(x483).
n(x482).
n(x481).
n(x480).
n(x479).
n(x478).
n(x477).
n(x476).
n(x475).
n(x474).
n(x473).
n(x472).
n(x471).
n(x470).
n(x469).
n(x468).
n(x467).
n(x466).
n(x465).
n(x464).
n(x463).
n(x462).
n(x461).
n(x460).
n(x459).
n(x458).
n(x457).
n(x456).
n(x455).
n(x454).
n(x453).
n(x452).
n(x451).
n(x450).
n(x449).
n(x448).
n(x447).
n(x446).
n(x445).
n(x444).
n(x443).
n(x442).
n(x441).
n(x440).
n(x439).
n(x438).
n(x437).
n(x436).
n(x435).
n(x434).
n(x433).
n(x432).
n(x431).
n(x430).
n(x429).
n(x428).
n(x427).
n(x426).
n(x425).
n(x424).
n(x423).
n(x422).
n(x421).
n(x420).
n(x419).
n(x418).
n(x417).
n(x416).
n(x415).
n(x414).
n(x413).
n(x412).
n(x411).
n(x410).
n(x409).
n(x408).
n(x407).
n(x406).
n(x405).
n(x404).
n(x403).
n(x402).
n(x401).
n(x400).
n(x399).
n(x398).
n(x397).
n(x396).
n(x395).
n(x394).
n(x393).
n(x392).
n(x391).
n(x390).
n(x389).
n(x388).
n(x387).
n(x386).
n(x385).
n(x384).
n(x383).
n(x382).
n(x381).
n(x380).
n(x379).
n(x378).
n(x377).
n(x376).
n(x375).
n(x374).
n(x373).
n(x372).
n(x371).
n(x370).
n(x369).
n(x368).
n(x367).
n(x366).
n(x365).
n(x364).
n(x363).
n(x362).
n(x361).
n(x360).
n(x359).
n(x358).
n(x357).
n(x356).
n(x355).
n(x354).
n(x353).
n(x352).
n(x351).
n(x350).
n(x349).
n(x348).
n(x347).
n(x346).
n(x345).
n(x344).
n(x343).
n(x342).
n(x341).
n(x340).
n(x339).
n(x338).
n(x337).
n(x336).
n(x335).
n(x334).
n(x333).
n(x332).
n(x331).
n(x330).
n(x329).
n(x328).
n(x327).
n(x326).
n(x325).
n(x324).
n(x323).
n(x322).
n(x321).
n(x320).
n(x319).
n(x318).
n(x317).
n(x316).
n(x315).
n(x314).
n(x313).
n(x312).
n(x311).
n(x310).
n(x309).
n(x308).
n(x307).
n(x306).
n(x305).
n(x304).
n(x303).
n(x302).
n(x301).
n(x300).
n(x299).
n(x298).
n(x297).
n(x296).
n(x295).
n(x294).
n(x293).
n(x292).
n(x291).
n(x290).
n(x289).
n(x288).
n(x287).
n(x286).
n(x285).
n(x284).
n(x283).
n(x282).
n(x281).
n(x280).
n(x279).
n(x278).
n(x277).
n(x276).
n(x275).
n(x274).
n(x273).
n(x272).
n(x271).
n(x270).
n(x269).
n(x268).
n(x267).
n(x266).
n(x265).
n(x264).
n(x263).
n(x262).
n(x261).
n(x260).
n(x259).
n(x258).
n(x257).
n(x256).
n(x255).
n(x254).
n(x253).
n(x252).
n(x251).
n(x250).
n(x249).
n(x248).
n(x247).
n(x246).
n(x245).
n(x244).
n(x243).
n(x242).
n(x241).
n(x240).
n(x239).
n(x238).
n(x237).
n(x236).
n(x235).
n(x234).
n(x233).
n(x232).
n(x231).
n(x230).
n(x229).
n(x228).
n(x227).
n(x226).
n(x225).
n(x224).
n(x223).
n(x222).
n(x221).
n(x220).
n(x219).
n(x218).
n(x217).
n(x216).
n(x215).
n(x214).
n(x213).
n(x212).
n(x211).
n(x210).
n(x209).
n(x208).
n(x207).
n(x206).
n(x205).
n(x204).
n(x203).
n(x202).
n(x201).
n(x200).
n(x199).
n(x198).
n(x197).
n(x196).
n(x195).
n(x194).
n(x193).
n(x192).
n(x191).
n(x190).
n(x189).
n(x188).
n(x187).
n(x186).
n(x185).
n(x184).
n(x183).
n(x182).
n(x181).
n(x180).
n(x179).
n(x178).
n(x177).
n(x176).
n(x175).
n(x174).
n(x173).
n(x172).
n(x171).
n(x170).
n(x169).
n(x168).
n(x167).
n(x166).
n(x165).
n(x164).
n(x163).
n(x162).
n(x161).
n(x160).
n(x159).
n(x158).
n(x157).
n(x156).
n(x155).
n(x154).
n(x153).
n(x152).
n(x151).
n(x150).
n(x149).
n(x148).
n(x147).
n(x146).
n(x145).
n(x144).
n(x143).
n(x142).
n(x141).
n(x140).
n(x139).
n(x138).
n(x137).
n(x136).
n(x135).
n(x134).
n(x133).
n(x132).
n(x131).
n(x130).
n(x129).
n(x128).
n(x127).
n(x126).
n(x125).
n(x124).
n(x123).
n(x122).
n(x121).
n(x120).
n(x119).
n(x118).
n(x117).
n(x116).
n(x115).
n(x114).
n(x113).
n(x112).
n(x111).
n(x110).
n(x109).
n(x108).
n(x107).
n(x106).
n(x105).
n(x104).
n(x103).
n(x102).
n(x101).
n(x100).
n(x99).
n(x98).
n(x97).
n(x96).
n(x95).
n(x94).
n(x93).
n(x92).
n(x91).
n(x90).
n(x89).
n(x88).
n(x87).
n(x86).
n(x85).
n(x84).
n(x83).
n(x82).
n(x81).
n(x80).
n(x79).
n(x78).
n(x77).
n(x76).
n(x75).
n(x74).
n(x73).
n(x72).
n(x71).
n(x70).
n(x69).
n(x68).
n(x67).
n(x66).
n(x65).
n(x64).
n(x63).
n(x62).
n(x61).
n(x60).
n(x59).
n(x58).
n(x57).
n(x56).
n(x55).
n(x54).
n(x53).
n(x52).
n(x51).
n(x50).
n(x49).
n(x48).
n(x47).
n(x46).
n(x45).
n(x44).
n(x43).
n(x42).
n(x41).
n(x40).
n(x39).
n(x38).
n(x37).
n(x36).
n(x35).
n(x34).
n(x33).
n(x32).
n(x31).
n(x30).
n(x29).
n(x28).
n(x27).
n(x26).
n(x25).
n(x24).
n(x23).
n(x22).
n(x21).
n(x20).
n(x19).
n(x18).
n(x17).
n(x16).
n(x15).
n(x14).
n(x13).
n(x12).
n(x11).
n(x10).
n(x9).
n(x8).
n(x7).
n(x6).
n(x5).
n(x4).
n(x3).
n(x2).
n(x1).
n(x4001).
"""
| input = '\nn(x4000).\nn(x3999).\nn(x3998).\nn(x3997).\nn(x3996).\nn(x3995).\nn(x3994).\nn(x3993).\nn(x3992).\nn(x3991).\nn(x3990).\nn(x3989).\nn(x3988).\nn(x3987).\nn(x3986).\nn(x3985).\nn(x3984).\nn(x3983).\nn(x3982).\nn(x3981).\nn(x3980).\nn(x3979).\nn(x3978).\nn(x3977).\nn(x3976).\nn(x3975).\nn(x3974).\nn(x3973).\nn(x3972).\nn(x3971).\nn(x3970).\nn(x3969).\nn(x3968).\nn(x3967).\nn(x3966).\nn(x3965).\nn(x3964).\nn(x3963).\nn(x3962).\nn(x3961).\nn(x3960).\nn(x3959).\nn(x3958).\nn(x3957).\nn(x3956).\nn(x3955).\nn(x3954).\nn(x3953).\nn(x3952).\nn(x3951).\nn(x3950).\nn(x3949).\nn(x3948).\nn(x3947).\nn(x3946).\nn(x3945).\nn(x3944).\nn(x3943).\nn(x3942).\nn(x3941).\nn(x3940).\nn(x3939).\nn(x3938).\nn(x3937).\nn(x3936).\nn(x3935).\nn(x3934).\nn(x3933).\nn(x3932).\nn(x3931).\nn(x3930).\nn(x3929).\nn(x3928).\nn(x3927).\nn(x3926).\nn(x3925).\nn(x3924).\nn(x3923).\nn(x3922).\nn(x3921).\nn(x3920).\nn(x3919).\nn(x3918).\nn(x3917).\nn(x3916).\nn(x3915).\nn(x3914).\nn(x3913).\nn(x3912).\nn(x3911).\nn(x3910).\nn(x3909).\nn(x3908).\nn(x3907).\nn(x3906).\nn(x3905).\nn(x3904).\nn(x3903).\nn(x3902).\nn(x3901).\nn(x3900).\nn(x3899).\nn(x3898).\nn(x3897).\nn(x3896).\nn(x3895).\nn(x3894).\nn(x3893).\nn(x3892).\nn(x3891).\nn(x3890).\nn(x3889).\nn(x3888).\nn(x3887).\nn(x3886).\nn(x3885).\nn(x3884).\nn(x3883).\nn(x3882).\nn(x3881).\nn(x3880).\nn(x3879).\nn(x3878).\nn(x3877).\nn(x3876).\nn(x3875).\nn(x3874).\nn(x3873).\nn(x3872).\nn(x3871).\nn(x3870).\nn(x3869).\nn(x3868).\nn(x3867).\nn(x3866).\nn(x3865).\nn(x3864).\nn(x3863).\nn(x3862).\nn(x3861).\nn(x3860).\nn(x3859).\nn(x3858).\nn(x3857).\nn(x3856).\nn(x3855).\nn(x3854).\nn(x3853).\nn(x3852).\nn(x3851).\nn(x3850).\nn(x3849).\nn(x3848).\nn(x3847).\nn(x3846).\nn(x3845).\nn(x3844).\nn(x3843).\nn(x3842).\nn(x3841).\nn(x3840).\nn(x3839).\nn(x3838).\nn(x3837).\nn(x3836).\nn(x3835).\nn(x3834).\nn(x3833).\nn(x3832).\nn(x3831).\nn(x3830).\nn(x3829).\nn(x3828).\nn(x3827).\nn(x3826).\nn(x3825).\nn(x3824).\nn(x3823).\nn(x3822).\nn(x3821).\nn(x3820).\nn(x3819).\nn(x3818).\nn(x3817).\nn(x3816).\nn(x3815).\nn(x3814).\nn(x3813).\nn(x3812).\nn(x3811).\nn(x3810).\nn(x3809).\nn(x3808).\nn(x3807).\nn(x3806).\nn(x3805).\nn(x3804).\nn(x3803).\nn(x3802).\nn(x3801).\nn(x3800).\nn(x3799).\nn(x3798).\nn(x3797).\nn(x3796).\nn(x3795).\nn(x3794).\nn(x3793).\nn(x3792).\nn(x3791).\nn(x3790).\nn(x3789).\nn(x3788).\nn(x3787).\nn(x3786).\nn(x3785).\nn(x3784).\nn(x3783).\nn(x3782).\nn(x3781).\nn(x3780).\nn(x3779).\nn(x3778).\nn(x3777).\nn(x3776).\nn(x3775).\nn(x3774).\nn(x3773).\nn(x3772).\nn(x3771).\nn(x3770).\nn(x3769).\nn(x3768).\nn(x3767).\nn(x3766).\nn(x3765).\nn(x3764).\nn(x3763).\nn(x3762).\nn(x3761).\nn(x3760).\nn(x3759).\nn(x3758).\nn(x3757).\nn(x3756).\nn(x3755).\nn(x3754).\nn(x3753).\nn(x3752).\nn(x3751).\nn(x3750).\nn(x3749).\nn(x3748).\nn(x3747).\nn(x3746).\nn(x3745).\nn(x3744).\nn(x3743).\nn(x3742).\nn(x3741).\nn(x3740).\nn(x3739).\nn(x3738).\nn(x3737).\nn(x3736).\nn(x3735).\nn(x3734).\nn(x3733).\nn(x3732).\nn(x3731).\nn(x3730).\nn(x3729).\nn(x3728).\nn(x3727).\nn(x3726).\nn(x3725).\nn(x3724).\nn(x3723).\nn(x3722).\nn(x3721).\nn(x3720).\nn(x3719).\nn(x3718).\nn(x3717).\nn(x3716).\nn(x3715).\nn(x3714).\nn(x3713).\nn(x3712).\nn(x3711).\nn(x3710).\nn(x3709).\nn(x3708).\nn(x3707).\nn(x3706).\nn(x3705).\nn(x3704).\nn(x3703).\nn(x3702).\nn(x3701).\nn(x3700).\nn(x3699).\nn(x3698).\nn(x3697).\nn(x3696).\nn(x3695).\nn(x3694).\nn(x3693).\nn(x3692).\nn(x3691).\nn(x3690).\nn(x3689).\nn(x3688).\nn(x3687).\nn(x3686).\nn(x3685).\nn(x3684).\nn(x3683).\nn(x3682).\nn(x3681).\nn(x3680).\nn(x3679).\nn(x3678).\nn(x3677).\nn(x3676).\nn(x3675).\nn(x3674).\nn(x3673).\nn(x3672).\nn(x3671).\nn(x3670).\nn(x3669).\nn(x3668).\nn(x3667).\nn(x3666).\nn(x3665).\nn(x3664).\nn(x3663).\nn(x3662).\nn(x3661).\nn(x3660).\nn(x3659).\nn(x3658).\nn(x3657).\nn(x3656).\nn(x3655).\nn(x3654).\nn(x3653).\nn(x3652).\nn(x3651).\nn(x3650).\nn(x3649).\nn(x3648).\nn(x3647).\nn(x3646).\nn(x3645).\nn(x3644).\nn(x3643).\nn(x3642).\nn(x3641).\nn(x3640).\nn(x3639).\nn(x3638).\nn(x3637).\nn(x3636).\nn(x3635).\nn(x3634).\nn(x3633).\nn(x3632).\nn(x3631).\nn(x3630).\nn(x3629).\nn(x3628).\nn(x3627).\nn(x3626).\nn(x3625).\nn(x3624).\nn(x3623).\nn(x3622).\nn(x3621).\nn(x3620).\nn(x3619).\nn(x3618).\nn(x3617).\nn(x3616).\nn(x3615).\nn(x3614).\nn(x3613).\nn(x3612).\nn(x3611).\nn(x3610).\nn(x3609).\nn(x3608).\nn(x3607).\nn(x3606).\nn(x3605).\nn(x3604).\nn(x3603).\nn(x3602).\nn(x3601).\nn(x3600).\nn(x3599).\nn(x3598).\nn(x3597).\nn(x3596).\nn(x3595).\nn(x3594).\nn(x3593).\nn(x3592).\nn(x3591).\nn(x3590).\nn(x3589).\nn(x3588).\nn(x3587).\nn(x3586).\nn(x3585).\nn(x3584).\nn(x3583).\nn(x3582).\nn(x3581).\nn(x3580).\nn(x3579).\nn(x3578).\nn(x3577).\nn(x3576).\nn(x3575).\nn(x3574).\nn(x3573).\nn(x3572).\nn(x3571).\nn(x3570).\nn(x3569).\nn(x3568).\nn(x3567).\nn(x3566).\nn(x3565).\nn(x3564).\nn(x3563).\nn(x3562).\nn(x3561).\nn(x3560).\nn(x3559).\nn(x3558).\nn(x3557).\nn(x3556).\nn(x3555).\nn(x3554).\nn(x3553).\nn(x3552).\nn(x3551).\nn(x3550).\nn(x3549).\nn(x3548).\nn(x3547).\nn(x3546).\nn(x3545).\nn(x3544).\nn(x3543).\nn(x3542).\nn(x3541).\nn(x3540).\nn(x3539).\nn(x3538).\nn(x3537).\nn(x3536).\nn(x3535).\nn(x3534).\nn(x3533).\nn(x3532).\nn(x3531).\nn(x3530).\nn(x3529).\nn(x3528).\nn(x3527).\nn(x3526).\nn(x3525).\nn(x3524).\nn(x3523).\nn(x3522).\nn(x3521).\nn(x3520).\nn(x3519).\nn(x3518).\nn(x3517).\nn(x3516).\nn(x3515).\nn(x3514).\nn(x3513).\nn(x3512).\nn(x3511).\nn(x3510).\nn(x3509).\nn(x3508).\nn(x3507).\nn(x3506).\nn(x3505).\nn(x3504).\nn(x3503).\nn(x3502).\nn(x3501).\nn(x3500).\nn(x3499).\nn(x3498).\nn(x3497).\nn(x3496).\nn(x3495).\nn(x3494).\nn(x3493).\nn(x3492).\nn(x3491).\nn(x3490).\nn(x3489).\nn(x3488).\nn(x3487).\nn(x3486).\nn(x3485).\nn(x3484).\nn(x3483).\nn(x3482).\nn(x3481).\nn(x3480).\nn(x3479).\nn(x3478).\nn(x3477).\nn(x3476).\nn(x3475).\nn(x3474).\nn(x3473).\nn(x3472).\nn(x3471).\nn(x3470).\nn(x3469).\nn(x3468).\nn(x3467).\nn(x3466).\nn(x3465).\nn(x3464).\nn(x3463).\nn(x3462).\nn(x3461).\nn(x3460).\nn(x3459).\nn(x3458).\nn(x3457).\nn(x3456).\nn(x3455).\nn(x3454).\nn(x3453).\nn(x3452).\nn(x3451).\nn(x3450).\nn(x3449).\nn(x3448).\nn(x3447).\nn(x3446).\nn(x3445).\nn(x3444).\nn(x3443).\nn(x3442).\nn(x3441).\nn(x3440).\nn(x3439).\nn(x3438).\nn(x3437).\nn(x3436).\nn(x3435).\nn(x3434).\nn(x3433).\nn(x3432).\nn(x3431).\nn(x3430).\nn(x3429).\nn(x3428).\nn(x3427).\nn(x3426).\nn(x3425).\nn(x3424).\nn(x3423).\nn(x3422).\nn(x3421).\nn(x3420).\nn(x3419).\nn(x3418).\nn(x3417).\nn(x3416).\nn(x3415).\nn(x3414).\nn(x3413).\nn(x3412).\nn(x3411).\nn(x3410).\nn(x3409).\nn(x3408).\nn(x3407).\nn(x3406).\nn(x3405).\nn(x3404).\nn(x3403).\nn(x3402).\nn(x3401).\nn(x3400).\nn(x3399).\nn(x3398).\nn(x3397).\nn(x3396).\nn(x3395).\nn(x3394).\nn(x3393).\nn(x3392).\nn(x3391).\nn(x3390).\nn(x3389).\nn(x3388).\nn(x3387).\nn(x3386).\nn(x3385).\nn(x3384).\nn(x3383).\nn(x3382).\nn(x3381).\nn(x3380).\nn(x3379).\nn(x3378).\nn(x3377).\nn(x3376).\nn(x3375).\nn(x3374).\nn(x3373).\nn(x3372).\nn(x3371).\nn(x3370).\nn(x3369).\nn(x3368).\nn(x3367).\nn(x3366).\nn(x3365).\nn(x3364).\nn(x3363).\nn(x3362).\nn(x3361).\nn(x3360).\nn(x3359).\nn(x3358).\nn(x3357).\nn(x3356).\nn(x3355).\nn(x3354).\nn(x3353).\nn(x3352).\nn(x3351).\nn(x3350).\nn(x3349).\nn(x3348).\nn(x3347).\nn(x3346).\nn(x3345).\nn(x3344).\nn(x3343).\nn(x3342).\nn(x3341).\nn(x3340).\nn(x3339).\nn(x3338).\nn(x3337).\nn(x3336).\nn(x3335).\nn(x3334).\nn(x3333).\nn(x3332).\nn(x3331).\nn(x3330).\nn(x3329).\nn(x3328).\nn(x3327).\nn(x3326).\nn(x3325).\nn(x3324).\nn(x3323).\nn(x3322).\nn(x3321).\nn(x3320).\nn(x3319).\nn(x3318).\nn(x3317).\nn(x3316).\nn(x3315).\nn(x3314).\nn(x3313).\nn(x3312).\nn(x3311).\nn(x3310).\nn(x3309).\nn(x3308).\nn(x3307).\nn(x3306).\nn(x3305).\nn(x3304).\nn(x3303).\nn(x3302).\nn(x3301).\nn(x3300).\nn(x3299).\nn(x3298).\nn(x3297).\nn(x3296).\nn(x3295).\nn(x3294).\nn(x3293).\nn(x3292).\nn(x3291).\nn(x3290).\nn(x3289).\nn(x3288).\nn(x3287).\nn(x3286).\nn(x3285).\nn(x3284).\nn(x3283).\nn(x3282).\nn(x3281).\nn(x3280).\nn(x3279).\nn(x3278).\nn(x3277).\nn(x3276).\nn(x3275).\nn(x3274).\nn(x3273).\nn(x3272).\nn(x3271).\nn(x3270).\nn(x3269).\nn(x3268).\nn(x3267).\nn(x3266).\nn(x3265).\nn(x3264).\nn(x3263).\nn(x3262).\nn(x3261).\nn(x3260).\nn(x3259).\nn(x3258).\nn(x3257).\nn(x3256).\nn(x3255).\nn(x3254).\nn(x3253).\nn(x3252).\nn(x3251).\nn(x3250).\nn(x3249).\nn(x3248).\nn(x3247).\nn(x3246).\nn(x3245).\nn(x3244).\nn(x3243).\nn(x3242).\nn(x3241).\nn(x3240).\nn(x3239).\nn(x3238).\nn(x3237).\nn(x3236).\nn(x3235).\nn(x3234).\nn(x3233).\nn(x3232).\nn(x3231).\nn(x3230).\nn(x3229).\nn(x3228).\nn(x3227).\nn(x3226).\nn(x3225).\nn(x3224).\nn(x3223).\nn(x3222).\nn(x3221).\nn(x3220).\nn(x3219).\nn(x3218).\nn(x3217).\nn(x3216).\nn(x3215).\nn(x3214).\nn(x3213).\nn(x3212).\nn(x3211).\nn(x3210).\nn(x3209).\nn(x3208).\nn(x3207).\nn(x3206).\nn(x3205).\nn(x3204).\nn(x3203).\nn(x3202).\nn(x3201).\nn(x3200).\nn(x3199).\nn(x3198).\nn(x3197).\nn(x3196).\nn(x3195).\nn(x3194).\nn(x3193).\nn(x3192).\nn(x3191).\nn(x3190).\nn(x3189).\nn(x3188).\nn(x3187).\nn(x3186).\nn(x3185).\nn(x3184).\nn(x3183).\nn(x3182).\nn(x3181).\nn(x3180).\nn(x3179).\nn(x3178).\nn(x3177).\nn(x3176).\nn(x3175).\nn(x3174).\nn(x3173).\nn(x3172).\nn(x3171).\nn(x3170).\nn(x3169).\nn(x3168).\nn(x3167).\nn(x3166).\nn(x3165).\nn(x3164).\nn(x3163).\nn(x3162).\nn(x3161).\nn(x3160).\nn(x3159).\nn(x3158).\nn(x3157).\nn(x3156).\nn(x3155).\nn(x3154).\nn(x3153).\nn(x3152).\nn(x3151).\nn(x3150).\nn(x3149).\nn(x3148).\nn(x3147).\nn(x3146).\nn(x3145).\nn(x3144).\nn(x3143).\nn(x3142).\nn(x3141).\nn(x3140).\nn(x3139).\nn(x3138).\nn(x3137).\nn(x3136).\nn(x3135).\nn(x3134).\nn(x3133).\nn(x3132).\nn(x3131).\nn(x3130).\nn(x3129).\nn(x3128).\nn(x3127).\nn(x3126).\nn(x3125).\nn(x3124).\nn(x3123).\nn(x3122).\nn(x3121).\nn(x3120).\nn(x3119).\nn(x3118).\nn(x3117).\nn(x3116).\nn(x3115).\nn(x3114).\nn(x3113).\nn(x3112).\nn(x3111).\nn(x3110).\nn(x3109).\nn(x3108).\nn(x3107).\nn(x3106).\nn(x3105).\nn(x3104).\nn(x3103).\nn(x3102).\nn(x3101).\nn(x3100).\nn(x3099).\nn(x3098).\nn(x3097).\nn(x3096).\nn(x3095).\nn(x3094).\nn(x3093).\nn(x3092).\nn(x3091).\nn(x3090).\nn(x3089).\nn(x3088).\nn(x3087).\nn(x3086).\nn(x3085).\nn(x3084).\nn(x3083).\nn(x3082).\nn(x3081).\nn(x3080).\nn(x3079).\nn(x3078).\nn(x3077).\nn(x3076).\nn(x3075).\nn(x3074).\nn(x3073).\nn(x3072).\nn(x3071).\nn(x3070).\nn(x3069).\nn(x3068).\nn(x3067).\nn(x3066).\nn(x3065).\nn(x3064).\nn(x3063).\nn(x3062).\nn(x3061).\nn(x3060).\nn(x3059).\nn(x3058).\nn(x3057).\nn(x3056).\nn(x3055).\nn(x3054).\nn(x3053).\nn(x3052).\nn(x3051).\nn(x3050).\nn(x3049).\nn(x3048).\nn(x3047).\nn(x3046).\nn(x3045).\nn(x3044).\nn(x3043).\nn(x3042).\nn(x3041).\nn(x3040).\nn(x3039).\nn(x3038).\nn(x3037).\nn(x3036).\nn(x3035).\nn(x3034).\nn(x3033).\nn(x3032).\nn(x3031).\nn(x3030).\nn(x3029).\nn(x3028).\nn(x3027).\nn(x3026).\nn(x3025).\nn(x3024).\nn(x3023).\nn(x3022).\nn(x3021).\nn(x3020).\nn(x3019).\nn(x3018).\nn(x3017).\nn(x3016).\nn(x3015).\nn(x3014).\nn(x3013).\nn(x3012).\nn(x3011).\nn(x3010).\nn(x3009).\nn(x3008).\nn(x3007).\nn(x3006).\nn(x3005).\nn(x3004).\nn(x3003).\nn(x3002).\nn(x3001).\nn(x3000).\nn(x2999).\nn(x2998).\nn(x2997).\nn(x2996).\nn(x2995).\nn(x2994).\nn(x2993).\nn(x2992).\nn(x2991).\nn(x2990).\nn(x2989).\nn(x2988).\nn(x2987).\nn(x2986).\nn(x2985).\nn(x2984).\nn(x2983).\nn(x2982).\nn(x2981).\nn(x2980).\nn(x2979).\nn(x2978).\nn(x2977).\nn(x2976).\nn(x2975).\nn(x2974).\nn(x2973).\nn(x2972).\nn(x2971).\nn(x2970).\nn(x2969).\nn(x2968).\nn(x2967).\nn(x2966).\nn(x2965).\nn(x2964).\nn(x2963).\nn(x2962).\nn(x2961).\nn(x2960).\nn(x2959).\nn(x2958).\nn(x2957).\nn(x2956).\nn(x2955).\nn(x2954).\nn(x2953).\nn(x2952).\nn(x2951).\nn(x2950).\nn(x2949).\nn(x2948).\nn(x2947).\nn(x2946).\nn(x2945).\nn(x2944).\nn(x2943).\nn(x2942).\nn(x2941).\nn(x2940).\nn(x2939).\nn(x2938).\nn(x2937).\nn(x2936).\nn(x2935).\nn(x2934).\nn(x2933).\nn(x2932).\nn(x2931).\nn(x2930).\nn(x2929).\nn(x2928).\nn(x2927).\nn(x2926).\nn(x2925).\nn(x2924).\nn(x2923).\nn(x2922).\nn(x2921).\nn(x2920).\nn(x2919).\nn(x2918).\nn(x2917).\nn(x2916).\nn(x2915).\nn(x2914).\nn(x2913).\nn(x2912).\nn(x2911).\nn(x2910).\nn(x2909).\nn(x2908).\nn(x2907).\nn(x2906).\nn(x2905).\nn(x2904).\nn(x2903).\nn(x2902).\nn(x2901).\nn(x2900).\nn(x2899).\nn(x2898).\nn(x2897).\nn(x2896).\nn(x2895).\nn(x2894).\nn(x2893).\nn(x2892).\nn(x2891).\nn(x2890).\nn(x2889).\nn(x2888).\nn(x2887).\nn(x2886).\nn(x2885).\nn(x2884).\nn(x2883).\nn(x2882).\nn(x2881).\nn(x2880).\nn(x2879).\nn(x2878).\nn(x2877).\nn(x2876).\nn(x2875).\nn(x2874).\nn(x2873).\nn(x2872).\nn(x2871).\nn(x2870).\nn(x2869).\nn(x2868).\nn(x2867).\nn(x2866).\nn(x2865).\nn(x2864).\nn(x2863).\nn(x2862).\nn(x2861).\nn(x2860).\nn(x2859).\nn(x2858).\nn(x2857).\nn(x2856).\nn(x2855).\nn(x2854).\nn(x2853).\nn(x2852).\nn(x2851).\nn(x2850).\nn(x2849).\nn(x2848).\nn(x2847).\nn(x2846).\nn(x2845).\nn(x2844).\nn(x2843).\nn(x2842).\nn(x2841).\nn(x2840).\nn(x2839).\nn(x2838).\nn(x2837).\nn(x2836).\nn(x2835).\nn(x2834).\nn(x2833).\nn(x2832).\nn(x2831).\nn(x2830).\nn(x2829).\nn(x2828).\nn(x2827).\nn(x2826).\nn(x2825).\nn(x2824).\nn(x2823).\nn(x2822).\nn(x2821).\nn(x2820).\nn(x2819).\nn(x2818).\nn(x2817).\nn(x2816).\nn(x2815).\nn(x2814).\nn(x2813).\nn(x2812).\nn(x2811).\nn(x2810).\nn(x2809).\nn(x2808).\nn(x2807).\nn(x2806).\nn(x2805).\nn(x2804).\nn(x2803).\nn(x2802).\nn(x2801).\nn(x2800).\nn(x2799).\nn(x2798).\nn(x2797).\nn(x2796).\nn(x2795).\nn(x2794).\nn(x2793).\nn(x2792).\nn(x2791).\nn(x2790).\nn(x2789).\nn(x2788).\nn(x2787).\nn(x2786).\nn(x2785).\nn(x2784).\nn(x2783).\nn(x2782).\nn(x2781).\nn(x2780).\nn(x2779).\nn(x2778).\nn(x2777).\nn(x2776).\nn(x2775).\nn(x2774).\nn(x2773).\nn(x2772).\nn(x2771).\nn(x2770).\nn(x2769).\nn(x2768).\nn(x2767).\nn(x2766).\nn(x2765).\nn(x2764).\nn(x2763).\nn(x2762).\nn(x2761).\nn(x2760).\nn(x2759).\nn(x2758).\nn(x2757).\nn(x2756).\nn(x2755).\nn(x2754).\nn(x2753).\nn(x2752).\nn(x2751).\nn(x2750).\nn(x2749).\nn(x2748).\nn(x2747).\nn(x2746).\nn(x2745).\nn(x2744).\nn(x2743).\nn(x2742).\nn(x2741).\nn(x2740).\nn(x2739).\nn(x2738).\nn(x2737).\nn(x2736).\nn(x2735).\nn(x2734).\nn(x2733).\nn(x2732).\nn(x2731).\nn(x2730).\nn(x2729).\nn(x2728).\nn(x2727).\nn(x2726).\nn(x2725).\nn(x2724).\nn(x2723).\nn(x2722).\nn(x2721).\nn(x2720).\nn(x2719).\nn(x2718).\nn(x2717).\nn(x2716).\nn(x2715).\nn(x2714).\nn(x2713).\nn(x2712).\nn(x2711).\nn(x2710).\nn(x2709).\nn(x2708).\nn(x2707).\nn(x2706).\nn(x2705).\nn(x2704).\nn(x2703).\nn(x2702).\nn(x2701).\nn(x2700).\nn(x2699).\nn(x2698).\nn(x2697).\nn(x2696).\nn(x2695).\nn(x2694).\nn(x2693).\nn(x2692).\nn(x2691).\nn(x2690).\nn(x2689).\nn(x2688).\nn(x2687).\nn(x2686).\nn(x2685).\nn(x2684).\nn(x2683).\nn(x2682).\nn(x2681).\nn(x2680).\nn(x2679).\nn(x2678).\nn(x2677).\nn(x2676).\nn(x2675).\nn(x2674).\nn(x2673).\nn(x2672).\nn(x2671).\nn(x2670).\nn(x2669).\nn(x2668).\nn(x2667).\nn(x2666).\nn(x2665).\nn(x2664).\nn(x2663).\nn(x2662).\nn(x2661).\nn(x2660).\nn(x2659).\nn(x2658).\nn(x2657).\nn(x2656).\nn(x2655).\nn(x2654).\nn(x2653).\nn(x2652).\nn(x2651).\nn(x2650).\nn(x2649).\nn(x2648).\nn(x2647).\nn(x2646).\nn(x2645).\nn(x2644).\nn(x2643).\nn(x2642).\nn(x2641).\nn(x2640).\nn(x2639).\nn(x2638).\nn(x2637).\nn(x2636).\nn(x2635).\nn(x2634).\nn(x2633).\nn(x2632).\nn(x2631).\nn(x2630).\nn(x2629).\nn(x2628).\nn(x2627).\nn(x2626).\nn(x2625).\nn(x2624).\nn(x2623).\nn(x2622).\nn(x2621).\nn(x2620).\nn(x2619).\nn(x2618).\nn(x2617).\nn(x2616).\nn(x2615).\nn(x2614).\nn(x2613).\nn(x2612).\nn(x2611).\nn(x2610).\nn(x2609).\nn(x2608).\nn(x2607).\nn(x2606).\nn(x2605).\nn(x2604).\nn(x2603).\nn(x2602).\nn(x2601).\nn(x2600).\nn(x2599).\nn(x2598).\nn(x2597).\nn(x2596).\nn(x2595).\nn(x2594).\nn(x2593).\nn(x2592).\nn(x2591).\nn(x2590).\nn(x2589).\nn(x2588).\nn(x2587).\nn(x2586).\nn(x2585).\nn(x2584).\nn(x2583).\nn(x2582).\nn(x2581).\nn(x2580).\nn(x2579).\nn(x2578).\nn(x2577).\nn(x2576).\nn(x2575).\nn(x2574).\nn(x2573).\nn(x2572).\nn(x2571).\nn(x2570).\nn(x2569).\nn(x2568).\nn(x2567).\nn(x2566).\nn(x2565).\nn(x2564).\nn(x2563).\nn(x2562).\nn(x2561).\nn(x2560).\nn(x2559).\nn(x2558).\nn(x2557).\nn(x2556).\nn(x2555).\nn(x2554).\nn(x2553).\nn(x2552).\nn(x2551).\nn(x2550).\nn(x2549).\nn(x2548).\nn(x2547).\nn(x2546).\nn(x2545).\nn(x2544).\nn(x2543).\nn(x2542).\nn(x2541).\nn(x2540).\nn(x2539).\nn(x2538).\nn(x2537).\nn(x2536).\nn(x2535).\nn(x2534).\nn(x2533).\nn(x2532).\nn(x2531).\nn(x2530).\nn(x2529).\nn(x2528).\nn(x2527).\nn(x2526).\nn(x2525).\nn(x2524).\nn(x2523).\nn(x2522).\nn(x2521).\nn(x2520).\nn(x2519).\nn(x2518).\nn(x2517).\nn(x2516).\nn(x2515).\nn(x2514).\nn(x2513).\nn(x2512).\nn(x2511).\nn(x2510).\nn(x2509).\nn(x2508).\nn(x2507).\nn(x2506).\nn(x2505).\nn(x2504).\nn(x2503).\nn(x2502).\nn(x2501).\nn(x2500).\nn(x2499).\nn(x2498).\nn(x2497).\nn(x2496).\nn(x2495).\nn(x2494).\nn(x2493).\nn(x2492).\nn(x2491).\nn(x2490).\nn(x2489).\nn(x2488).\nn(x2487).\nn(x2486).\nn(x2485).\nn(x2484).\nn(x2483).\nn(x2482).\nn(x2481).\nn(x2480).\nn(x2479).\nn(x2478).\nn(x2477).\nn(x2476).\nn(x2475).\nn(x2474).\nn(x2473).\nn(x2472).\nn(x2471).\nn(x2470).\nn(x2469).\nn(x2468).\nn(x2467).\nn(x2466).\nn(x2465).\nn(x2464).\nn(x2463).\nn(x2462).\nn(x2461).\nn(x2460).\nn(x2459).\nn(x2458).\nn(x2457).\nn(x2456).\nn(x2455).\nn(x2454).\nn(x2453).\nn(x2452).\nn(x2451).\nn(x2450).\nn(x2449).\nn(x2448).\nn(x2447).\nn(x2446).\nn(x2445).\nn(x2444).\nn(x2443).\nn(x2442).\nn(x2441).\nn(x2440).\nn(x2439).\nn(x2438).\nn(x2437).\nn(x2436).\nn(x2435).\nn(x2434).\nn(x2433).\nn(x2432).\nn(x2431).\nn(x2430).\nn(x2429).\nn(x2428).\nn(x2427).\nn(x2426).\nn(x2425).\nn(x2424).\nn(x2423).\nn(x2422).\nn(x2421).\nn(x2420).\nn(x2419).\nn(x2418).\nn(x2417).\nn(x2416).\nn(x2415).\nn(x2414).\nn(x2413).\nn(x2412).\nn(x2411).\nn(x2410).\nn(x2409).\nn(x2408).\nn(x2407).\nn(x2406).\nn(x2405).\nn(x2404).\nn(x2403).\nn(x2402).\nn(x2401).\nn(x2400).\nn(x2399).\nn(x2398).\nn(x2397).\nn(x2396).\nn(x2395).\nn(x2394).\nn(x2393).\nn(x2392).\nn(x2391).\nn(x2390).\nn(x2389).\nn(x2388).\nn(x2387).\nn(x2386).\nn(x2385).\nn(x2384).\nn(x2383).\nn(x2382).\nn(x2381).\nn(x2380).\nn(x2379).\nn(x2378).\nn(x2377).\nn(x2376).\nn(x2375).\nn(x2374).\nn(x2373).\nn(x2372).\nn(x2371).\nn(x2370).\nn(x2369).\nn(x2368).\nn(x2367).\nn(x2366).\nn(x2365).\nn(x2364).\nn(x2363).\nn(x2362).\nn(x2361).\nn(x2360).\nn(x2359).\nn(x2358).\nn(x2357).\nn(x2356).\nn(x2355).\nn(x2354).\nn(x2353).\nn(x2352).\nn(x2351).\nn(x2350).\nn(x2349).\nn(x2348).\nn(x2347).\nn(x2346).\nn(x2345).\nn(x2344).\nn(x2343).\nn(x2342).\nn(x2341).\nn(x2340).\nn(x2339).\nn(x2338).\nn(x2337).\nn(x2336).\nn(x2335).\nn(x2334).\nn(x2333).\nn(x2332).\nn(x2331).\nn(x2330).\nn(x2329).\nn(x2328).\nn(x2327).\nn(x2326).\nn(x2325).\nn(x2324).\nn(x2323).\nn(x2322).\nn(x2321).\nn(x2320).\nn(x2319).\nn(x2318).\nn(x2317).\nn(x2316).\nn(x2315).\nn(x2314).\nn(x2313).\nn(x2312).\nn(x2311).\nn(x2310).\nn(x2309).\nn(x2308).\nn(x2307).\nn(x2306).\nn(x2305).\nn(x2304).\nn(x2303).\nn(x2302).\nn(x2301).\nn(x2300).\nn(x2299).\nn(x2298).\nn(x2297).\nn(x2296).\nn(x2295).\nn(x2294).\nn(x2293).\nn(x2292).\nn(x2291).\nn(x2290).\nn(x2289).\nn(x2288).\nn(x2287).\nn(x2286).\nn(x2285).\nn(x2284).\nn(x2283).\nn(x2282).\nn(x2281).\nn(x2280).\nn(x2279).\nn(x2278).\nn(x2277).\nn(x2276).\nn(x2275).\nn(x2274).\nn(x2273).\nn(x2272).\nn(x2271).\nn(x2270).\nn(x2269).\nn(x2268).\nn(x2267).\nn(x2266).\nn(x2265).\nn(x2264).\nn(x2263).\nn(x2262).\nn(x2261).\nn(x2260).\nn(x2259).\nn(x2258).\nn(x2257).\nn(x2256).\nn(x2255).\nn(x2254).\nn(x2253).\nn(x2252).\nn(x2251).\nn(x2250).\nn(x2249).\nn(x2248).\nn(x2247).\nn(x2246).\nn(x2245).\nn(x2244).\nn(x2243).\nn(x2242).\nn(x2241).\nn(x2240).\nn(x2239).\nn(x2238).\nn(x2237).\nn(x2236).\nn(x2235).\nn(x2234).\nn(x2233).\nn(x2232).\nn(x2231).\nn(x2230).\nn(x2229).\nn(x2228).\nn(x2227).\nn(x2226).\nn(x2225).\nn(x2224).\nn(x2223).\nn(x2222).\nn(x2221).\nn(x2220).\nn(x2219).\nn(x2218).\nn(x2217).\nn(x2216).\nn(x2215).\nn(x2214).\nn(x2213).\nn(x2212).\nn(x2211).\nn(x2210).\nn(x2209).\nn(x2208).\nn(x2207).\nn(x2206).\nn(x2205).\nn(x2204).\nn(x2203).\nn(x2202).\nn(x2201).\nn(x2200).\nn(x2199).\nn(x2198).\nn(x2197).\nn(x2196).\nn(x2195).\nn(x2194).\nn(x2193).\nn(x2192).\nn(x2191).\nn(x2190).\nn(x2189).\nn(x2188).\nn(x2187).\nn(x2186).\nn(x2185).\nn(x2184).\nn(x2183).\nn(x2182).\nn(x2181).\nn(x2180).\nn(x2179).\nn(x2178).\nn(x2177).\nn(x2176).\nn(x2175).\nn(x2174).\nn(x2173).\nn(x2172).\nn(x2171).\nn(x2170).\nn(x2169).\nn(x2168).\nn(x2167).\nn(x2166).\nn(x2165).\nn(x2164).\nn(x2163).\nn(x2162).\nn(x2161).\nn(x2160).\nn(x2159).\nn(x2158).\nn(x2157).\nn(x2156).\nn(x2155).\nn(x2154).\nn(x2153).\nn(x2152).\nn(x2151).\nn(x2150).\nn(x2149).\nn(x2148).\nn(x2147).\nn(x2146).\nn(x2145).\nn(x2144).\nn(x2143).\nn(x2142).\nn(x2141).\nn(x2140).\nn(x2139).\nn(x2138).\nn(x2137).\nn(x2136).\nn(x2135).\nn(x2134).\nn(x2133).\nn(x2132).\nn(x2131).\nn(x2130).\nn(x2129).\nn(x2128).\nn(x2127).\nn(x2126).\nn(x2125).\nn(x2124).\nn(x2123).\nn(x2122).\nn(x2121).\nn(x2120).\nn(x2119).\nn(x2118).\nn(x2117).\nn(x2116).\nn(x2115).\nn(x2114).\nn(x2113).\nn(x2112).\nn(x2111).\nn(x2110).\nn(x2109).\nn(x2108).\nn(x2107).\nn(x2106).\nn(x2105).\nn(x2104).\nn(x2103).\nn(x2102).\nn(x2101).\nn(x2100).\nn(x2099).\nn(x2098).\nn(x2097).\nn(x2096).\nn(x2095).\nn(x2094).\nn(x2093).\nn(x2092).\nn(x2091).\nn(x2090).\nn(x2089).\nn(x2088).\nn(x2087).\nn(x2086).\nn(x2085).\nn(x2084).\nn(x2083).\nn(x2082).\nn(x2081).\nn(x2080).\nn(x2079).\nn(x2078).\nn(x2077).\nn(x2076).\nn(x2075).\nn(x2074).\nn(x2073).\nn(x2072).\nn(x2071).\nn(x2070).\nn(x2069).\nn(x2068).\nn(x2067).\nn(x2066).\nn(x2065).\nn(x2064).\nn(x2063).\nn(x2062).\nn(x2061).\nn(x2060).\nn(x2059).\nn(x2058).\nn(x2057).\nn(x2056).\nn(x2055).\nn(x2054).\nn(x2053).\nn(x2052).\nn(x2051).\nn(x2050).\nn(x2049).\nn(x2048).\nn(x2047).\nn(x2046).\nn(x2045).\nn(x2044).\nn(x2043).\nn(x2042).\nn(x2041).\nn(x2040).\nn(x2039).\nn(x2038).\nn(x2037).\nn(x2036).\nn(x2035).\nn(x2034).\nn(x2033).\nn(x2032).\nn(x2031).\nn(x2030).\nn(x2029).\nn(x2028).\nn(x2027).\nn(x2026).\nn(x2025).\nn(x2024).\nn(x2023).\nn(x2022).\nn(x2021).\nn(x2020).\nn(x2019).\nn(x2018).\nn(x2017).\nn(x2016).\nn(x2015).\nn(x2014).\nn(x2013).\nn(x2012).\nn(x2011).\nn(x2010).\nn(x2009).\nn(x2008).\nn(x2007).\nn(x2006).\nn(x2005).\nn(x2004).\nn(x2003).\nn(x2002).\nn(x2001).\nn(x2000).\nn(x1999).\nn(x1998).\nn(x1997).\nn(x1996).\nn(x1995).\nn(x1994).\nn(x1993).\nn(x1992).\nn(x1991).\nn(x1990).\nn(x1989).\nn(x1988).\nn(x1987).\nn(x1986).\nn(x1985).\nn(x1984).\nn(x1983).\nn(x1982).\nn(x1981).\nn(x1980).\nn(x1979).\nn(x1978).\nn(x1977).\nn(x1976).\nn(x1975).\nn(x1974).\nn(x1973).\nn(x1972).\nn(x1971).\nn(x1970).\nn(x1969).\nn(x1968).\nn(x1967).\nn(x1966).\nn(x1965).\nn(x1964).\nn(x1963).\nn(x1962).\nn(x1961).\nn(x1960).\nn(x1959).\nn(x1958).\nn(x1957).\nn(x1956).\nn(x1955).\nn(x1954).\nn(x1953).\nn(x1952).\nn(x1951).\nn(x1950).\nn(x1949).\nn(x1948).\nn(x1947).\nn(x1946).\nn(x1945).\nn(x1944).\nn(x1943).\nn(x1942).\nn(x1941).\nn(x1940).\nn(x1939).\nn(x1938).\nn(x1937).\nn(x1936).\nn(x1935).\nn(x1934).\nn(x1933).\nn(x1932).\nn(x1931).\nn(x1930).\nn(x1929).\nn(x1928).\nn(x1927).\nn(x1926).\nn(x1925).\nn(x1924).\nn(x1923).\nn(x1922).\nn(x1921).\nn(x1920).\nn(x1919).\nn(x1918).\nn(x1917).\nn(x1916).\nn(x1915).\nn(x1914).\nn(x1913).\nn(x1912).\nn(x1911).\nn(x1910).\nn(x1909).\nn(x1908).\nn(x1907).\nn(x1906).\nn(x1905).\nn(x1904).\nn(x1903).\nn(x1902).\nn(x1901).\nn(x1900).\nn(x1899).\nn(x1898).\nn(x1897).\nn(x1896).\nn(x1895).\nn(x1894).\nn(x1893).\nn(x1892).\nn(x1891).\nn(x1890).\nn(x1889).\nn(x1888).\nn(x1887).\nn(x1886).\nn(x1885).\nn(x1884).\nn(x1883).\nn(x1882).\nn(x1881).\nn(x1880).\nn(x1879).\nn(x1878).\nn(x1877).\nn(x1876).\nn(x1875).\nn(x1874).\nn(x1873).\nn(x1872).\nn(x1871).\nn(x1870).\nn(x1869).\nn(x1868).\nn(x1867).\nn(x1866).\nn(x1865).\nn(x1864).\nn(x1863).\nn(x1862).\nn(x1861).\nn(x1860).\nn(x1859).\nn(x1858).\nn(x1857).\nn(x1856).\nn(x1855).\nn(x1854).\nn(x1853).\nn(x1852).\nn(x1851).\nn(x1850).\nn(x1849).\nn(x1848).\nn(x1847).\nn(x1846).\nn(x1845).\nn(x1844).\nn(x1843).\nn(x1842).\nn(x1841).\nn(x1840).\nn(x1839).\nn(x1838).\nn(x1837).\nn(x1836).\nn(x1835).\nn(x1834).\nn(x1833).\nn(x1832).\nn(x1831).\nn(x1830).\nn(x1829).\nn(x1828).\nn(x1827).\nn(x1826).\nn(x1825).\nn(x1824).\nn(x1823).\nn(x1822).\nn(x1821).\nn(x1820).\nn(x1819).\nn(x1818).\nn(x1817).\nn(x1816).\nn(x1815).\nn(x1814).\nn(x1813).\nn(x1812).\nn(x1811).\nn(x1810).\nn(x1809).\nn(x1808).\nn(x1807).\nn(x1806).\nn(x1805).\nn(x1804).\nn(x1803).\nn(x1802).\nn(x1801).\nn(x1800).\nn(x1799).\nn(x1798).\nn(x1797).\nn(x1796).\nn(x1795).\nn(x1794).\nn(x1793).\nn(x1792).\nn(x1791).\nn(x1790).\nn(x1789).\nn(x1788).\nn(x1787).\nn(x1786).\nn(x1785).\nn(x1784).\nn(x1783).\nn(x1782).\nn(x1781).\nn(x1780).\nn(x1779).\nn(x1778).\nn(x1777).\nn(x1776).\nn(x1775).\nn(x1774).\nn(x1773).\nn(x1772).\nn(x1771).\nn(x1770).\nn(x1769).\nn(x1768).\nn(x1767).\nn(x1766).\nn(x1765).\nn(x1764).\nn(x1763).\nn(x1762).\nn(x1761).\nn(x1760).\nn(x1759).\nn(x1758).\nn(x1757).\nn(x1756).\nn(x1755).\nn(x1754).\nn(x1753).\nn(x1752).\nn(x1751).\nn(x1750).\nn(x1749).\nn(x1748).\nn(x1747).\nn(x1746).\nn(x1745).\nn(x1744).\nn(x1743).\nn(x1742).\nn(x1741).\nn(x1740).\nn(x1739).\nn(x1738).\nn(x1737).\nn(x1736).\nn(x1735).\nn(x1734).\nn(x1733).\nn(x1732).\nn(x1731).\nn(x1730).\nn(x1729).\nn(x1728).\nn(x1727).\nn(x1726).\nn(x1725).\nn(x1724).\nn(x1723).\nn(x1722).\nn(x1721).\nn(x1720).\nn(x1719).\nn(x1718).\nn(x1717).\nn(x1716).\nn(x1715).\nn(x1714).\nn(x1713).\nn(x1712).\nn(x1711).\nn(x1710).\nn(x1709).\nn(x1708).\nn(x1707).\nn(x1706).\nn(x1705).\nn(x1704).\nn(x1703).\nn(x1702).\nn(x1701).\nn(x1700).\nn(x1699).\nn(x1698).\nn(x1697).\nn(x1696).\nn(x1695).\nn(x1694).\nn(x1693).\nn(x1692).\nn(x1691).\nn(x1690).\nn(x1689).\nn(x1688).\nn(x1687).\nn(x1686).\nn(x1685).\nn(x1684).\nn(x1683).\nn(x1682).\nn(x1681).\nn(x1680).\nn(x1679).\nn(x1678).\nn(x1677).\nn(x1676).\nn(x1675).\nn(x1674).\nn(x1673).\nn(x1672).\nn(x1671).\nn(x1670).\nn(x1669).\nn(x1668).\nn(x1667).\nn(x1666).\nn(x1665).\nn(x1664).\nn(x1663).\nn(x1662).\nn(x1661).\nn(x1660).\nn(x1659).\nn(x1658).\nn(x1657).\nn(x1656).\nn(x1655).\nn(x1654).\nn(x1653).\nn(x1652).\nn(x1651).\nn(x1650).\nn(x1649).\nn(x1648).\nn(x1647).\nn(x1646).\nn(x1645).\nn(x1644).\nn(x1643).\nn(x1642).\nn(x1641).\nn(x1640).\nn(x1639).\nn(x1638).\nn(x1637).\nn(x1636).\nn(x1635).\nn(x1634).\nn(x1633).\nn(x1632).\nn(x1631).\nn(x1630).\nn(x1629).\nn(x1628).\nn(x1627).\nn(x1626).\nn(x1625).\nn(x1624).\nn(x1623).\nn(x1622).\nn(x1621).\nn(x1620).\nn(x1619).\nn(x1618).\nn(x1617).\nn(x1616).\nn(x1615).\nn(x1614).\nn(x1613).\nn(x1612).\nn(x1611).\nn(x1610).\nn(x1609).\nn(x1608).\nn(x1607).\nn(x1606).\nn(x1605).\nn(x1604).\nn(x1603).\nn(x1602).\nn(x1601).\nn(x1600).\nn(x1599).\nn(x1598).\nn(x1597).\nn(x1596).\nn(x1595).\nn(x1594).\nn(x1593).\nn(x1592).\nn(x1591).\nn(x1590).\nn(x1589).\nn(x1588).\nn(x1587).\nn(x1586).\nn(x1585).\nn(x1584).\nn(x1583).\nn(x1582).\nn(x1581).\nn(x1580).\nn(x1579).\nn(x1578).\nn(x1577).\nn(x1576).\nn(x1575).\nn(x1574).\nn(x1573).\nn(x1572).\nn(x1571).\nn(x1570).\nn(x1569).\nn(x1568).\nn(x1567).\nn(x1566).\nn(x1565).\nn(x1564).\nn(x1563).\nn(x1562).\nn(x1561).\nn(x1560).\nn(x1559).\nn(x1558).\nn(x1557).\nn(x1556).\nn(x1555).\nn(x1554).\nn(x1553).\nn(x1552).\nn(x1551).\nn(x1550).\nn(x1549).\nn(x1548).\nn(x1547).\nn(x1546).\nn(x1545).\nn(x1544).\nn(x1543).\nn(x1542).\nn(x1541).\nn(x1540).\nn(x1539).\nn(x1538).\nn(x1537).\nn(x1536).\nn(x1535).\nn(x1534).\nn(x1533).\nn(x1532).\nn(x1531).\nn(x1530).\nn(x1529).\nn(x1528).\nn(x1527).\nn(x1526).\nn(x1525).\nn(x1524).\nn(x1523).\nn(x1522).\nn(x1521).\nn(x1520).\nn(x1519).\nn(x1518).\nn(x1517).\nn(x1516).\nn(x1515).\nn(x1514).\nn(x1513).\nn(x1512).\nn(x1511).\nn(x1510).\nn(x1509).\nn(x1508).\nn(x1507).\nn(x1506).\nn(x1505).\nn(x1504).\nn(x1503).\nn(x1502).\nn(x1501).\nn(x1500).\nn(x1499).\nn(x1498).\nn(x1497).\nn(x1496).\nn(x1495).\nn(x1494).\nn(x1493).\nn(x1492).\nn(x1491).\nn(x1490).\nn(x1489).\nn(x1488).\nn(x1487).\nn(x1486).\nn(x1485).\nn(x1484).\nn(x1483).\nn(x1482).\nn(x1481).\nn(x1480).\nn(x1479).\nn(x1478).\nn(x1477).\nn(x1476).\nn(x1475).\nn(x1474).\nn(x1473).\nn(x1472).\nn(x1471).\nn(x1470).\nn(x1469).\nn(x1468).\nn(x1467).\nn(x1466).\nn(x1465).\nn(x1464).\nn(x1463).\nn(x1462).\nn(x1461).\nn(x1460).\nn(x1459).\nn(x1458).\nn(x1457).\nn(x1456).\nn(x1455).\nn(x1454).\nn(x1453).\nn(x1452).\nn(x1451).\nn(x1450).\nn(x1449).\nn(x1448).\nn(x1447).\nn(x1446).\nn(x1445).\nn(x1444).\nn(x1443).\nn(x1442).\nn(x1441).\nn(x1440).\nn(x1439).\nn(x1438).\nn(x1437).\nn(x1436).\nn(x1435).\nn(x1434).\nn(x1433).\nn(x1432).\nn(x1431).\nn(x1430).\nn(x1429).\nn(x1428).\nn(x1427).\nn(x1426).\nn(x1425).\nn(x1424).\nn(x1423).\nn(x1422).\nn(x1421).\nn(x1420).\nn(x1419).\nn(x1418).\nn(x1417).\nn(x1416).\nn(x1415).\nn(x1414).\nn(x1413).\nn(x1412).\nn(x1411).\nn(x1410).\nn(x1409).\nn(x1408).\nn(x1407).\nn(x1406).\nn(x1405).\nn(x1404).\nn(x1403).\nn(x1402).\nn(x1401).\nn(x1400).\nn(x1399).\nn(x1398).\nn(x1397).\nn(x1396).\nn(x1395).\nn(x1394).\nn(x1393).\nn(x1392).\nn(x1391).\nn(x1390).\nn(x1389).\nn(x1388).\nn(x1387).\nn(x1386).\nn(x1385).\nn(x1384).\nn(x1383).\nn(x1382).\nn(x1381).\nn(x1380).\nn(x1379).\nn(x1378).\nn(x1377).\nn(x1376).\nn(x1375).\nn(x1374).\nn(x1373).\nn(x1372).\nn(x1371).\nn(x1370).\nn(x1369).\nn(x1368).\nn(x1367).\nn(x1366).\nn(x1365).\nn(x1364).\nn(x1363).\nn(x1362).\nn(x1361).\nn(x1360).\nn(x1359).\nn(x1358).\nn(x1357).\nn(x1356).\nn(x1355).\nn(x1354).\nn(x1353).\nn(x1352).\nn(x1351).\nn(x1350).\nn(x1349).\nn(x1348).\nn(x1347).\nn(x1346).\nn(x1345).\nn(x1344).\nn(x1343).\nn(x1342).\nn(x1341).\nn(x1340).\nn(x1339).\nn(x1338).\nn(x1337).\nn(x1336).\nn(x1335).\nn(x1334).\nn(x1333).\nn(x1332).\nn(x1331).\nn(x1330).\nn(x1329).\nn(x1328).\nn(x1327).\nn(x1326).\nn(x1325).\nn(x1324).\nn(x1323).\nn(x1322).\nn(x1321).\nn(x1320).\nn(x1319).\nn(x1318).\nn(x1317).\nn(x1316).\nn(x1315).\nn(x1314).\nn(x1313).\nn(x1312).\nn(x1311).\nn(x1310).\nn(x1309).\nn(x1308).\nn(x1307).\nn(x1306).\nn(x1305).\nn(x1304).\nn(x1303).\nn(x1302).\nn(x1301).\nn(x1300).\nn(x1299).\nn(x1298).\nn(x1297).\nn(x1296).\nn(x1295).\nn(x1294).\nn(x1293).\nn(x1292).\nn(x1291).\nn(x1290).\nn(x1289).\nn(x1288).\nn(x1287).\nn(x1286).\nn(x1285).\nn(x1284).\nn(x1283).\nn(x1282).\nn(x1281).\nn(x1280).\nn(x1279).\nn(x1278).\nn(x1277).\nn(x1276).\nn(x1275).\nn(x1274).\nn(x1273).\nn(x1272).\nn(x1271).\nn(x1270).\nn(x1269).\nn(x1268).\nn(x1267).\nn(x1266).\nn(x1265).\nn(x1264).\nn(x1263).\nn(x1262).\nn(x1261).\nn(x1260).\nn(x1259).\nn(x1258).\nn(x1257).\nn(x1256).\nn(x1255).\nn(x1254).\nn(x1253).\nn(x1252).\nn(x1251).\nn(x1250).\nn(x1249).\nn(x1248).\nn(x1247).\nn(x1246).\nn(x1245).\nn(x1244).\nn(x1243).\nn(x1242).\nn(x1241).\nn(x1240).\nn(x1239).\nn(x1238).\nn(x1237).\nn(x1236).\nn(x1235).\nn(x1234).\nn(x1233).\nn(x1232).\nn(x1231).\nn(x1230).\nn(x1229).\nn(x1228).\nn(x1227).\nn(x1226).\nn(x1225).\nn(x1224).\nn(x1223).\nn(x1222).\nn(x1221).\nn(x1220).\nn(x1219).\nn(x1218).\nn(x1217).\nn(x1216).\nn(x1215).\nn(x1214).\nn(x1213).\nn(x1212).\nn(x1211).\nn(x1210).\nn(x1209).\nn(x1208).\nn(x1207).\nn(x1206).\nn(x1205).\nn(x1204).\nn(x1203).\nn(x1202).\nn(x1201).\nn(x1200).\nn(x1199).\nn(x1198).\nn(x1197).\nn(x1196).\nn(x1195).\nn(x1194).\nn(x1193).\nn(x1192).\nn(x1191).\nn(x1190).\nn(x1189).\nn(x1188).\nn(x1187).\nn(x1186).\nn(x1185).\nn(x1184).\nn(x1183).\nn(x1182).\nn(x1181).\nn(x1180).\nn(x1179).\nn(x1178).\nn(x1177).\nn(x1176).\nn(x1175).\nn(x1174).\nn(x1173).\nn(x1172).\nn(x1171).\nn(x1170).\nn(x1169).\nn(x1168).\nn(x1167).\nn(x1166).\nn(x1165).\nn(x1164).\nn(x1163).\nn(x1162).\nn(x1161).\nn(x1160).\nn(x1159).\nn(x1158).\nn(x1157).\nn(x1156).\nn(x1155).\nn(x1154).\nn(x1153).\nn(x1152).\nn(x1151).\nn(x1150).\nn(x1149).\nn(x1148).\nn(x1147).\nn(x1146).\nn(x1145).\nn(x1144).\nn(x1143).\nn(x1142).\nn(x1141).\nn(x1140).\nn(x1139).\nn(x1138).\nn(x1137).\nn(x1136).\nn(x1135).\nn(x1134).\nn(x1133).\nn(x1132).\nn(x1131).\nn(x1130).\nn(x1129).\nn(x1128).\nn(x1127).\nn(x1126).\nn(x1125).\nn(x1124).\nn(x1123).\nn(x1122).\nn(x1121).\nn(x1120).\nn(x1119).\nn(x1118).\nn(x1117).\nn(x1116).\nn(x1115).\nn(x1114).\nn(x1113).\nn(x1112).\nn(x1111).\nn(x1110).\nn(x1109).\nn(x1108).\nn(x1107).\nn(x1106).\nn(x1105).\nn(x1104).\nn(x1103).\nn(x1102).\nn(x1101).\nn(x1100).\nn(x1099).\nn(x1098).\nn(x1097).\nn(x1096).\nn(x1095).\nn(x1094).\nn(x1093).\nn(x1092).\nn(x1091).\nn(x1090).\nn(x1089).\nn(x1088).\nn(x1087).\nn(x1086).\nn(x1085).\nn(x1084).\nn(x1083).\nn(x1082).\nn(x1081).\nn(x1080).\nn(x1079).\nn(x1078).\nn(x1077).\nn(x1076).\nn(x1075).\nn(x1074).\nn(x1073).\nn(x1072).\nn(x1071).\nn(x1070).\nn(x1069).\nn(x1068).\nn(x1067).\nn(x1066).\nn(x1065).\nn(x1064).\nn(x1063).\nn(x1062).\nn(x1061).\nn(x1060).\nn(x1059).\nn(x1058).\nn(x1057).\nn(x1056).\nn(x1055).\nn(x1054).\nn(x1053).\nn(x1052).\nn(x1051).\nn(x1050).\nn(x1049).\nn(x1048).\nn(x1047).\nn(x1046).\nn(x1045).\nn(x1044).\nn(x1043).\nn(x1042).\nn(x1041).\nn(x1040).\nn(x1039).\nn(x1038).\nn(x1037).\nn(x1036).\nn(x1035).\nn(x1034).\nn(x1033).\nn(x1032).\nn(x1031).\nn(x1030).\nn(x1029).\nn(x1028).\nn(x1027).\nn(x1026).\nn(x1025).\nn(x1024).\nn(x1023).\nn(x1022).\nn(x1021).\nn(x1020).\nn(x1019).\nn(x1018).\nn(x1017).\nn(x1016).\nn(x1015).\nn(x1014).\nn(x1013).\nn(x1012).\nn(x1011).\nn(x1010).\nn(x1009).\nn(x1008).\nn(x1007).\nn(x1006).\nn(x1005).\nn(x1004).\nn(x1003).\nn(x1002).\nn(x1001).\nn(x1000).\nn(x999).\nn(x998).\nn(x997).\nn(x996).\nn(x995).\nn(x994).\nn(x993).\nn(x992).\nn(x991).\nn(x990).\nn(x989).\nn(x988).\nn(x987).\nn(x986).\nn(x985).\nn(x984).\nn(x983).\nn(x982).\nn(x981).\nn(x980).\nn(x979).\nn(x978).\nn(x977).\nn(x976).\nn(x975).\nn(x974).\nn(x973).\nn(x972).\nn(x971).\nn(x970).\nn(x969).\nn(x968).\nn(x967).\nn(x966).\nn(x965).\nn(x964).\nn(x963).\nn(x962).\nn(x961).\nn(x960).\nn(x959).\nn(x958).\nn(x957).\nn(x956).\nn(x955).\nn(x954).\nn(x953).\nn(x952).\nn(x951).\nn(x950).\nn(x949).\nn(x948).\nn(x947).\nn(x946).\nn(x945).\nn(x944).\nn(x943).\nn(x942).\nn(x941).\nn(x940).\nn(x939).\nn(x938).\nn(x937).\nn(x936).\nn(x935).\nn(x934).\nn(x933).\nn(x932).\nn(x931).\nn(x930).\nn(x929).\nn(x928).\nn(x927).\nn(x926).\nn(x925).\nn(x924).\nn(x923).\nn(x922).\nn(x921).\nn(x920).\nn(x919).\nn(x918).\nn(x917).\nn(x916).\nn(x915).\nn(x914).\nn(x913).\nn(x912).\nn(x911).\nn(x910).\nn(x909).\nn(x908).\nn(x907).\nn(x906).\nn(x905).\nn(x904).\nn(x903).\nn(x902).\nn(x901).\nn(x900).\nn(x899).\nn(x898).\nn(x897).\nn(x896).\nn(x895).\nn(x894).\nn(x893).\nn(x892).\nn(x891).\nn(x890).\nn(x889).\nn(x888).\nn(x887).\nn(x886).\nn(x885).\nn(x884).\nn(x883).\nn(x882).\nn(x881).\nn(x880).\nn(x879).\nn(x878).\nn(x877).\nn(x876).\nn(x875).\nn(x874).\nn(x873).\nn(x872).\nn(x871).\nn(x870).\nn(x869).\nn(x868).\nn(x867).\nn(x866).\nn(x865).\nn(x864).\nn(x863).\nn(x862).\nn(x861).\nn(x860).\nn(x859).\nn(x858).\nn(x857).\nn(x856).\nn(x855).\nn(x854).\nn(x853).\nn(x852).\nn(x851).\nn(x850).\nn(x849).\nn(x848).\nn(x847).\nn(x846).\nn(x845).\nn(x844).\nn(x843).\nn(x842).\nn(x841).\nn(x840).\nn(x839).\nn(x838).\nn(x837).\nn(x836).\nn(x835).\nn(x834).\nn(x833).\nn(x832).\nn(x831).\nn(x830).\nn(x829).\nn(x828).\nn(x827).\nn(x826).\nn(x825).\nn(x824).\nn(x823).\nn(x822).\nn(x821).\nn(x820).\nn(x819).\nn(x818).\nn(x817).\nn(x816).\nn(x815).\nn(x814).\nn(x813).\nn(x812).\nn(x811).\nn(x810).\nn(x809).\nn(x808).\nn(x807).\nn(x806).\nn(x805).\nn(x804).\nn(x803).\nn(x802).\nn(x801).\nn(x800).\nn(x799).\nn(x798).\nn(x797).\nn(x796).\nn(x795).\nn(x794).\nn(x793).\nn(x792).\nn(x791).\nn(x790).\nn(x789).\nn(x788).\nn(x787).\nn(x786).\nn(x785).\nn(x784).\nn(x783).\nn(x782).\nn(x781).\nn(x780).\nn(x779).\nn(x778).\nn(x777).\nn(x776).\nn(x775).\nn(x774).\nn(x773).\nn(x772).\nn(x771).\nn(x770).\nn(x769).\nn(x768).\nn(x767).\nn(x766).\nn(x765).\nn(x764).\nn(x763).\nn(x762).\nn(x761).\nn(x760).\nn(x759).\nn(x758).\nn(x757).\nn(x756).\nn(x755).\nn(x754).\nn(x753).\nn(x752).\nn(x751).\nn(x750).\nn(x749).\nn(x748).\nn(x747).\nn(x746).\nn(x745).\nn(x744).\nn(x743).\nn(x742).\nn(x741).\nn(x740).\nn(x739).\nn(x738).\nn(x737).\nn(x736).\nn(x735).\nn(x734).\nn(x733).\nn(x732).\nn(x731).\nn(x730).\nn(x729).\nn(x728).\nn(x727).\nn(x726).\nn(x725).\nn(x724).\nn(x723).\nn(x722).\nn(x721).\nn(x720).\nn(x719).\nn(x718).\nn(x717).\nn(x716).\nn(x715).\nn(x714).\nn(x713).\nn(x712).\nn(x711).\nn(x710).\nn(x709).\nn(x708).\nn(x707).\nn(x706).\nn(x705).\nn(x704).\nn(x703).\nn(x702).\nn(x701).\nn(x700).\nn(x699).\nn(x698).\nn(x697).\nn(x696).\nn(x695).\nn(x694).\nn(x693).\nn(x692).\nn(x691).\nn(x690).\nn(x689).\nn(x688).\nn(x687).\nn(x686).\nn(x685).\nn(x684).\nn(x683).\nn(x682).\nn(x681).\nn(x680).\nn(x679).\nn(x678).\nn(x677).\nn(x676).\nn(x675).\nn(x674).\nn(x673).\nn(x672).\nn(x671).\nn(x670).\nn(x669).\nn(x668).\nn(x667).\nn(x666).\nn(x665).\nn(x664).\nn(x663).\nn(x662).\nn(x661).\nn(x660).\nn(x659).\nn(x658).\nn(x657).\nn(x656).\nn(x655).\nn(x654).\nn(x653).\nn(x652).\nn(x651).\nn(x650).\nn(x649).\nn(x648).\nn(x647).\nn(x646).\nn(x645).\nn(x644).\nn(x643).\nn(x642).\nn(x641).\nn(x640).\nn(x639).\nn(x638).\nn(x637).\nn(x636).\nn(x635).\nn(x634).\nn(x633).\nn(x632).\nn(x631).\nn(x630).\nn(x629).\nn(x628).\nn(x627).\nn(x626).\nn(x625).\nn(x624).\nn(x623).\nn(x622).\nn(x621).\nn(x620).\nn(x619).\nn(x618).\nn(x617).\nn(x616).\nn(x615).\nn(x614).\nn(x613).\nn(x612).\nn(x611).\nn(x610).\nn(x609).\nn(x608).\nn(x607).\nn(x606).\nn(x605).\nn(x604).\nn(x603).\nn(x602).\nn(x601).\nn(x600).\nn(x599).\nn(x598).\nn(x597).\nn(x596).\nn(x595).\nn(x594).\nn(x593).\nn(x592).\nn(x591).\nn(x590).\nn(x589).\nn(x588).\nn(x587).\nn(x586).\nn(x585).\nn(x584).\nn(x583).\nn(x582).\nn(x581).\nn(x580).\nn(x579).\nn(x578).\nn(x577).\nn(x576).\nn(x575).\nn(x574).\nn(x573).\nn(x572).\nn(x571).\nn(x570).\nn(x569).\nn(x568).\nn(x567).\nn(x566).\nn(x565).\nn(x564).\nn(x563).\nn(x562).\nn(x561).\nn(x560).\nn(x559).\nn(x558).\nn(x557).\nn(x556).\nn(x555).\nn(x554).\nn(x553).\nn(x552).\nn(x551).\nn(x550).\nn(x549).\nn(x548).\nn(x547).\nn(x546).\nn(x545).\nn(x544).\nn(x543).\nn(x542).\nn(x541).\nn(x540).\nn(x539).\nn(x538).\nn(x537).\nn(x536).\nn(x535).\nn(x534).\nn(x533).\nn(x532).\nn(x531).\nn(x530).\nn(x529).\nn(x528).\nn(x527).\nn(x526).\nn(x525).\nn(x524).\nn(x523).\nn(x522).\nn(x521).\nn(x520).\nn(x519).\nn(x518).\nn(x517).\nn(x516).\nn(x515).\nn(x514).\nn(x513).\nn(x512).\nn(x511).\nn(x510).\nn(x509).\nn(x508).\nn(x507).\nn(x506).\nn(x505).\nn(x504).\nn(x503).\nn(x502).\nn(x501).\nn(x500).\nn(x499).\nn(x498).\nn(x497).\nn(x496).\nn(x495).\nn(x494).\nn(x493).\nn(x492).\nn(x491).\nn(x490).\nn(x489).\nn(x488).\nn(x487).\nn(x486).\nn(x485).\nn(x484).\nn(x483).\nn(x482).\nn(x481).\nn(x480).\nn(x479).\nn(x478).\nn(x477).\nn(x476).\nn(x475).\nn(x474).\nn(x473).\nn(x472).\nn(x471).\nn(x470).\nn(x469).\nn(x468).\nn(x467).\nn(x466).\nn(x465).\nn(x464).\nn(x463).\nn(x462).\nn(x461).\nn(x460).\nn(x459).\nn(x458).\nn(x457).\nn(x456).\nn(x455).\nn(x454).\nn(x453).\nn(x452).\nn(x451).\nn(x450).\nn(x449).\nn(x448).\nn(x447).\nn(x446).\nn(x445).\nn(x444).\nn(x443).\nn(x442).\nn(x441).\nn(x440).\nn(x439).\nn(x438).\nn(x437).\nn(x436).\nn(x435).\nn(x434).\nn(x433).\nn(x432).\nn(x431).\nn(x430).\nn(x429).\nn(x428).\nn(x427).\nn(x426).\nn(x425).\nn(x424).\nn(x423).\nn(x422).\nn(x421).\nn(x420).\nn(x419).\nn(x418).\nn(x417).\nn(x416).\nn(x415).\nn(x414).\nn(x413).\nn(x412).\nn(x411).\nn(x410).\nn(x409).\nn(x408).\nn(x407).\nn(x406).\nn(x405).\nn(x404).\nn(x403).\nn(x402).\nn(x401).\nn(x400).\nn(x399).\nn(x398).\nn(x397).\nn(x396).\nn(x395).\nn(x394).\nn(x393).\nn(x392).\nn(x391).\nn(x390).\nn(x389).\nn(x388).\nn(x387).\nn(x386).\nn(x385).\nn(x384).\nn(x383).\nn(x382).\nn(x381).\nn(x380).\nn(x379).\nn(x378).\nn(x377).\nn(x376).\nn(x375).\nn(x374).\nn(x373).\nn(x372).\nn(x371).\nn(x370).\nn(x369).\nn(x368).\nn(x367).\nn(x366).\nn(x365).\nn(x364).\nn(x363).\nn(x362).\nn(x361).\nn(x360).\nn(x359).\nn(x358).\nn(x357).\nn(x356).\nn(x355).\nn(x354).\nn(x353).\nn(x352).\nn(x351).\nn(x350).\nn(x349).\nn(x348).\nn(x347).\nn(x346).\nn(x345).\nn(x344).\nn(x343).\nn(x342).\nn(x341).\nn(x340).\nn(x339).\nn(x338).\nn(x337).\nn(x336).\nn(x335).\nn(x334).\nn(x333).\nn(x332).\nn(x331).\nn(x330).\nn(x329).\nn(x328).\nn(x327).\nn(x326).\nn(x325).\nn(x324).\nn(x323).\nn(x322).\nn(x321).\nn(x320).\nn(x319).\nn(x318).\nn(x317).\nn(x316).\nn(x315).\nn(x314).\nn(x313).\nn(x312).\nn(x311).\nn(x310).\nn(x309).\nn(x308).\nn(x307).\nn(x306).\nn(x305).\nn(x304).\nn(x303).\nn(x302).\nn(x301).\nn(x300).\nn(x299).\nn(x298).\nn(x297).\nn(x296).\nn(x295).\nn(x294).\nn(x293).\nn(x292).\nn(x291).\nn(x290).\nn(x289).\nn(x288).\nn(x287).\nn(x286).\nn(x285).\nn(x284).\nn(x283).\nn(x282).\nn(x281).\nn(x280).\nn(x279).\nn(x278).\nn(x277).\nn(x276).\nn(x275).\nn(x274).\nn(x273).\nn(x272).\nn(x271).\nn(x270).\nn(x269).\nn(x268).\nn(x267).\nn(x266).\nn(x265).\nn(x264).\nn(x263).\nn(x262).\nn(x261).\nn(x260).\nn(x259).\nn(x258).\nn(x257).\nn(x256).\nn(x255).\nn(x254).\nn(x253).\nn(x252).\nn(x251).\nn(x250).\nn(x249).\nn(x248).\nn(x247).\nn(x246).\nn(x245).\nn(x244).\nn(x243).\nn(x242).\nn(x241).\nn(x240).\nn(x239).\nn(x238).\nn(x237).\nn(x236).\nn(x235).\nn(x234).\nn(x233).\nn(x232).\nn(x231).\nn(x230).\nn(x229).\nn(x228).\nn(x227).\nn(x226).\nn(x225).\nn(x224).\nn(x223).\nn(x222).\nn(x221).\nn(x220).\nn(x219).\nn(x218).\nn(x217).\nn(x216).\nn(x215).\nn(x214).\nn(x213).\nn(x212).\nn(x211).\nn(x210).\nn(x209).\nn(x208).\nn(x207).\nn(x206).\nn(x205).\nn(x204).\nn(x203).\nn(x202).\nn(x201).\nn(x200).\nn(x199).\nn(x198).\nn(x197).\nn(x196).\nn(x195).\nn(x194).\nn(x193).\nn(x192).\nn(x191).\nn(x190).\nn(x189).\nn(x188).\nn(x187).\nn(x186).\nn(x185).\nn(x184).\nn(x183).\nn(x182).\nn(x181).\nn(x180).\nn(x179).\nn(x178).\nn(x177).\nn(x176).\nn(x175).\nn(x174).\nn(x173).\nn(x172).\nn(x171).\nn(x170).\nn(x169).\nn(x168).\nn(x167).\nn(x166).\nn(x165).\nn(x164).\nn(x163).\nn(x162).\nn(x161).\nn(x160).\nn(x159).\nn(x158).\nn(x157).\nn(x156).\nn(x155).\nn(x154).\nn(x153).\nn(x152).\nn(x151).\nn(x150).\nn(x149).\nn(x148).\nn(x147).\nn(x146).\nn(x145).\nn(x144).\nn(x143).\nn(x142).\nn(x141).\nn(x140).\nn(x139).\nn(x138).\nn(x137).\nn(x136).\nn(x135).\nn(x134).\nn(x133).\nn(x132).\nn(x131).\nn(x130).\nn(x129).\nn(x128).\nn(x127).\nn(x126).\nn(x125).\nn(x124).\nn(x123).\nn(x122).\nn(x121).\nn(x120).\nn(x119).\nn(x118).\nn(x117).\nn(x116).\nn(x115).\nn(x114).\nn(x113).\nn(x112).\nn(x111).\nn(x110).\nn(x109).\nn(x108).\nn(x107).\nn(x106).\nn(x105).\nn(x104).\nn(x103).\nn(x102).\nn(x101).\nn(x100).\nn(x99).\nn(x98).\nn(x97).\nn(x96).\nn(x95).\nn(x94).\nn(x93).\nn(x92).\nn(x91).\nn(x90).\nn(x89).\nn(x88).\nn(x87).\nn(x86).\nn(x85).\nn(x84).\nn(x83).\nn(x82).\nn(x81).\nn(x80).\nn(x79).\nn(x78).\nn(x77).\nn(x76).\nn(x75).\nn(x74).\nn(x73).\nn(x72).\nn(x71).\nn(x70).\nn(x69).\nn(x68).\nn(x67).\nn(x66).\nn(x65).\nn(x64).\nn(x63).\nn(x62).\nn(x61).\nn(x60).\nn(x59).\nn(x58).\nn(x57).\nn(x56).\nn(x55).\nn(x54).\nn(x53).\nn(x52).\nn(x51).\nn(x50).\nn(x49).\nn(x48).\nn(x47).\nn(x46).\nn(x45).\nn(x44).\nn(x43).\nn(x42).\nn(x41).\nn(x40).\nn(x39).\nn(x38).\nn(x37).\nn(x36).\nn(x35).\nn(x34).\nn(x33).\nn(x32).\nn(x31).\nn(x30).\nn(x29).\nn(x28).\nn(x27).\nn(x26).\nn(x25).\nn(x24).\nn(x23).\nn(x22).\nn(x21).\nn(x20).\nn(x19).\nn(x18).\nn(x17).\nn(x16).\nn(x15).\nn(x14).\nn(x13).\nn(x12).\nn(x11).\nn(x10).\nn(x9).\nn(x8).\nn(x7).\nn(x6).\nn(x5).\nn(x4).\nn(x3).\nn(x2).\nn(x1).\nn(x4001).\n'
output = '\nn(x4000).\nn(x3999).\nn(x3998).\nn(x3997).\nn(x3996).\nn(x3995).\nn(x3994).\nn(x3993).\nn(x3992).\nn(x3991).\nn(x3990).\nn(x3989).\nn(x3988).\nn(x3987).\nn(x3986).\nn(x3985).\nn(x3984).\nn(x3983).\nn(x3982).\nn(x3981).\nn(x3980).\nn(x3979).\nn(x3978).\nn(x3977).\nn(x3976).\nn(x3975).\nn(x3974).\nn(x3973).\nn(x3972).\nn(x3971).\nn(x3970).\nn(x3969).\nn(x3968).\nn(x3967).\nn(x3966).\nn(x3965).\nn(x3964).\nn(x3963).\nn(x3962).\nn(x3961).\nn(x3960).\nn(x3959).\nn(x3958).\nn(x3957).\nn(x3956).\nn(x3955).\nn(x3954).\nn(x3953).\nn(x3952).\nn(x3951).\nn(x3950).\nn(x3949).\nn(x3948).\nn(x3947).\nn(x3946).\nn(x3945).\nn(x3944).\nn(x3943).\nn(x3942).\nn(x3941).\nn(x3940).\nn(x3939).\nn(x3938).\nn(x3937).\nn(x3936).\nn(x3935).\nn(x3934).\nn(x3933).\nn(x3932).\nn(x3931).\nn(x3930).\nn(x3929).\nn(x3928).\nn(x3927).\nn(x3926).\nn(x3925).\nn(x3924).\nn(x3923).\nn(x3922).\nn(x3921).\nn(x3920).\nn(x3919).\nn(x3918).\nn(x3917).\nn(x3916).\nn(x3915).\nn(x3914).\nn(x3913).\nn(x3912).\nn(x3911).\nn(x3910).\nn(x3909).\nn(x3908).\nn(x3907).\nn(x3906).\nn(x3905).\nn(x3904).\nn(x3903).\nn(x3902).\nn(x3901).\nn(x3900).\nn(x3899).\nn(x3898).\nn(x3897).\nn(x3896).\nn(x3895).\nn(x3894).\nn(x3893).\nn(x3892).\nn(x3891).\nn(x3890).\nn(x3889).\nn(x3888).\nn(x3887).\nn(x3886).\nn(x3885).\nn(x3884).\nn(x3883).\nn(x3882).\nn(x3881).\nn(x3880).\nn(x3879).\nn(x3878).\nn(x3877).\nn(x3876).\nn(x3875).\nn(x3874).\nn(x3873).\nn(x3872).\nn(x3871).\nn(x3870).\nn(x3869).\nn(x3868).\nn(x3867).\nn(x3866).\nn(x3865).\nn(x3864).\nn(x3863).\nn(x3862).\nn(x3861).\nn(x3860).\nn(x3859).\nn(x3858).\nn(x3857).\nn(x3856).\nn(x3855).\nn(x3854).\nn(x3853).\nn(x3852).\nn(x3851).\nn(x3850).\nn(x3849).\nn(x3848).\nn(x3847).\nn(x3846).\nn(x3845).\nn(x3844).\nn(x3843).\nn(x3842).\nn(x3841).\nn(x3840).\nn(x3839).\nn(x3838).\nn(x3837).\nn(x3836).\nn(x3835).\nn(x3834).\nn(x3833).\nn(x3832).\nn(x3831).\nn(x3830).\nn(x3829).\nn(x3828).\nn(x3827).\nn(x3826).\nn(x3825).\nn(x3824).\nn(x3823).\nn(x3822).\nn(x3821).\nn(x3820).\nn(x3819).\nn(x3818).\nn(x3817).\nn(x3816).\nn(x3815).\nn(x3814).\nn(x3813).\nn(x3812).\nn(x3811).\nn(x3810).\nn(x3809).\nn(x3808).\nn(x3807).\nn(x3806).\nn(x3805).\nn(x3804).\nn(x3803).\nn(x3802).\nn(x3801).\nn(x3800).\nn(x3799).\nn(x3798).\nn(x3797).\nn(x3796).\nn(x3795).\nn(x3794).\nn(x3793).\nn(x3792).\nn(x3791).\nn(x3790).\nn(x3789).\nn(x3788).\nn(x3787).\nn(x3786).\nn(x3785).\nn(x3784).\nn(x3783).\nn(x3782).\nn(x3781).\nn(x3780).\nn(x3779).\nn(x3778).\nn(x3777).\nn(x3776).\nn(x3775).\nn(x3774).\nn(x3773).\nn(x3772).\nn(x3771).\nn(x3770).\nn(x3769).\nn(x3768).\nn(x3767).\nn(x3766).\nn(x3765).\nn(x3764).\nn(x3763).\nn(x3762).\nn(x3761).\nn(x3760).\nn(x3759).\nn(x3758).\nn(x3757).\nn(x3756).\nn(x3755).\nn(x3754).\nn(x3753).\nn(x3752).\nn(x3751).\nn(x3750).\nn(x3749).\nn(x3748).\nn(x3747).\nn(x3746).\nn(x3745).\nn(x3744).\nn(x3743).\nn(x3742).\nn(x3741).\nn(x3740).\nn(x3739).\nn(x3738).\nn(x3737).\nn(x3736).\nn(x3735).\nn(x3734).\nn(x3733).\nn(x3732).\nn(x3731).\nn(x3730).\nn(x3729).\nn(x3728).\nn(x3727).\nn(x3726).\nn(x3725).\nn(x3724).\nn(x3723).\nn(x3722).\nn(x3721).\nn(x3720).\nn(x3719).\nn(x3718).\nn(x3717).\nn(x3716).\nn(x3715).\nn(x3714).\nn(x3713).\nn(x3712).\nn(x3711).\nn(x3710).\nn(x3709).\nn(x3708).\nn(x3707).\nn(x3706).\nn(x3705).\nn(x3704).\nn(x3703).\nn(x3702).\nn(x3701).\nn(x3700).\nn(x3699).\nn(x3698).\nn(x3697).\nn(x3696).\nn(x3695).\nn(x3694).\nn(x3693).\nn(x3692).\nn(x3691).\nn(x3690).\nn(x3689).\nn(x3688).\nn(x3687).\nn(x3686).\nn(x3685).\nn(x3684).\nn(x3683).\nn(x3682).\nn(x3681).\nn(x3680).\nn(x3679).\nn(x3678).\nn(x3677).\nn(x3676).\nn(x3675).\nn(x3674).\nn(x3673).\nn(x3672).\nn(x3671).\nn(x3670).\nn(x3669).\nn(x3668).\nn(x3667).\nn(x3666).\nn(x3665).\nn(x3664).\nn(x3663).\nn(x3662).\nn(x3661).\nn(x3660).\nn(x3659).\nn(x3658).\nn(x3657).\nn(x3656).\nn(x3655).\nn(x3654).\nn(x3653).\nn(x3652).\nn(x3651).\nn(x3650).\nn(x3649).\nn(x3648).\nn(x3647).\nn(x3646).\nn(x3645).\nn(x3644).\nn(x3643).\nn(x3642).\nn(x3641).\nn(x3640).\nn(x3639).\nn(x3638).\nn(x3637).\nn(x3636).\nn(x3635).\nn(x3634).\nn(x3633).\nn(x3632).\nn(x3631).\nn(x3630).\nn(x3629).\nn(x3628).\nn(x3627).\nn(x3626).\nn(x3625).\nn(x3624).\nn(x3623).\nn(x3622).\nn(x3621).\nn(x3620).\nn(x3619).\nn(x3618).\nn(x3617).\nn(x3616).\nn(x3615).\nn(x3614).\nn(x3613).\nn(x3612).\nn(x3611).\nn(x3610).\nn(x3609).\nn(x3608).\nn(x3607).\nn(x3606).\nn(x3605).\nn(x3604).\nn(x3603).\nn(x3602).\nn(x3601).\nn(x3600).\nn(x3599).\nn(x3598).\nn(x3597).\nn(x3596).\nn(x3595).\nn(x3594).\nn(x3593).\nn(x3592).\nn(x3591).\nn(x3590).\nn(x3589).\nn(x3588).\nn(x3587).\nn(x3586).\nn(x3585).\nn(x3584).\nn(x3583).\nn(x3582).\nn(x3581).\nn(x3580).\nn(x3579).\nn(x3578).\nn(x3577).\nn(x3576).\nn(x3575).\nn(x3574).\nn(x3573).\nn(x3572).\nn(x3571).\nn(x3570).\nn(x3569).\nn(x3568).\nn(x3567).\nn(x3566).\nn(x3565).\nn(x3564).\nn(x3563).\nn(x3562).\nn(x3561).\nn(x3560).\nn(x3559).\nn(x3558).\nn(x3557).\nn(x3556).\nn(x3555).\nn(x3554).\nn(x3553).\nn(x3552).\nn(x3551).\nn(x3550).\nn(x3549).\nn(x3548).\nn(x3547).\nn(x3546).\nn(x3545).\nn(x3544).\nn(x3543).\nn(x3542).\nn(x3541).\nn(x3540).\nn(x3539).\nn(x3538).\nn(x3537).\nn(x3536).\nn(x3535).\nn(x3534).\nn(x3533).\nn(x3532).\nn(x3531).\nn(x3530).\nn(x3529).\nn(x3528).\nn(x3527).\nn(x3526).\nn(x3525).\nn(x3524).\nn(x3523).\nn(x3522).\nn(x3521).\nn(x3520).\nn(x3519).\nn(x3518).\nn(x3517).\nn(x3516).\nn(x3515).\nn(x3514).\nn(x3513).\nn(x3512).\nn(x3511).\nn(x3510).\nn(x3509).\nn(x3508).\nn(x3507).\nn(x3506).\nn(x3505).\nn(x3504).\nn(x3503).\nn(x3502).\nn(x3501).\nn(x3500).\nn(x3499).\nn(x3498).\nn(x3497).\nn(x3496).\nn(x3495).\nn(x3494).\nn(x3493).\nn(x3492).\nn(x3491).\nn(x3490).\nn(x3489).\nn(x3488).\nn(x3487).\nn(x3486).\nn(x3485).\nn(x3484).\nn(x3483).\nn(x3482).\nn(x3481).\nn(x3480).\nn(x3479).\nn(x3478).\nn(x3477).\nn(x3476).\nn(x3475).\nn(x3474).\nn(x3473).\nn(x3472).\nn(x3471).\nn(x3470).\nn(x3469).\nn(x3468).\nn(x3467).\nn(x3466).\nn(x3465).\nn(x3464).\nn(x3463).\nn(x3462).\nn(x3461).\nn(x3460).\nn(x3459).\nn(x3458).\nn(x3457).\nn(x3456).\nn(x3455).\nn(x3454).\nn(x3453).\nn(x3452).\nn(x3451).\nn(x3450).\nn(x3449).\nn(x3448).\nn(x3447).\nn(x3446).\nn(x3445).\nn(x3444).\nn(x3443).\nn(x3442).\nn(x3441).\nn(x3440).\nn(x3439).\nn(x3438).\nn(x3437).\nn(x3436).\nn(x3435).\nn(x3434).\nn(x3433).\nn(x3432).\nn(x3431).\nn(x3430).\nn(x3429).\nn(x3428).\nn(x3427).\nn(x3426).\nn(x3425).\nn(x3424).\nn(x3423).\nn(x3422).\nn(x3421).\nn(x3420).\nn(x3419).\nn(x3418).\nn(x3417).\nn(x3416).\nn(x3415).\nn(x3414).\nn(x3413).\nn(x3412).\nn(x3411).\nn(x3410).\nn(x3409).\nn(x3408).\nn(x3407).\nn(x3406).\nn(x3405).\nn(x3404).\nn(x3403).\nn(x3402).\nn(x3401).\nn(x3400).\nn(x3399).\nn(x3398).\nn(x3397).\nn(x3396).\nn(x3395).\nn(x3394).\nn(x3393).\nn(x3392).\nn(x3391).\nn(x3390).\nn(x3389).\nn(x3388).\nn(x3387).\nn(x3386).\nn(x3385).\nn(x3384).\nn(x3383).\nn(x3382).\nn(x3381).\nn(x3380).\nn(x3379).\nn(x3378).\nn(x3377).\nn(x3376).\nn(x3375).\nn(x3374).\nn(x3373).\nn(x3372).\nn(x3371).\nn(x3370).\nn(x3369).\nn(x3368).\nn(x3367).\nn(x3366).\nn(x3365).\nn(x3364).\nn(x3363).\nn(x3362).\nn(x3361).\nn(x3360).\nn(x3359).\nn(x3358).\nn(x3357).\nn(x3356).\nn(x3355).\nn(x3354).\nn(x3353).\nn(x3352).\nn(x3351).\nn(x3350).\nn(x3349).\nn(x3348).\nn(x3347).\nn(x3346).\nn(x3345).\nn(x3344).\nn(x3343).\nn(x3342).\nn(x3341).\nn(x3340).\nn(x3339).\nn(x3338).\nn(x3337).\nn(x3336).\nn(x3335).\nn(x3334).\nn(x3333).\nn(x3332).\nn(x3331).\nn(x3330).\nn(x3329).\nn(x3328).\nn(x3327).\nn(x3326).\nn(x3325).\nn(x3324).\nn(x3323).\nn(x3322).\nn(x3321).\nn(x3320).\nn(x3319).\nn(x3318).\nn(x3317).\nn(x3316).\nn(x3315).\nn(x3314).\nn(x3313).\nn(x3312).\nn(x3311).\nn(x3310).\nn(x3309).\nn(x3308).\nn(x3307).\nn(x3306).\nn(x3305).\nn(x3304).\nn(x3303).\nn(x3302).\nn(x3301).\nn(x3300).\nn(x3299).\nn(x3298).\nn(x3297).\nn(x3296).\nn(x3295).\nn(x3294).\nn(x3293).\nn(x3292).\nn(x3291).\nn(x3290).\nn(x3289).\nn(x3288).\nn(x3287).\nn(x3286).\nn(x3285).\nn(x3284).\nn(x3283).\nn(x3282).\nn(x3281).\nn(x3280).\nn(x3279).\nn(x3278).\nn(x3277).\nn(x3276).\nn(x3275).\nn(x3274).\nn(x3273).\nn(x3272).\nn(x3271).\nn(x3270).\nn(x3269).\nn(x3268).\nn(x3267).\nn(x3266).\nn(x3265).\nn(x3264).\nn(x3263).\nn(x3262).\nn(x3261).\nn(x3260).\nn(x3259).\nn(x3258).\nn(x3257).\nn(x3256).\nn(x3255).\nn(x3254).\nn(x3253).\nn(x3252).\nn(x3251).\nn(x3250).\nn(x3249).\nn(x3248).\nn(x3247).\nn(x3246).\nn(x3245).\nn(x3244).\nn(x3243).\nn(x3242).\nn(x3241).\nn(x3240).\nn(x3239).\nn(x3238).\nn(x3237).\nn(x3236).\nn(x3235).\nn(x3234).\nn(x3233).\nn(x3232).\nn(x3231).\nn(x3230).\nn(x3229).\nn(x3228).\nn(x3227).\nn(x3226).\nn(x3225).\nn(x3224).\nn(x3223).\nn(x3222).\nn(x3221).\nn(x3220).\nn(x3219).\nn(x3218).\nn(x3217).\nn(x3216).\nn(x3215).\nn(x3214).\nn(x3213).\nn(x3212).\nn(x3211).\nn(x3210).\nn(x3209).\nn(x3208).\nn(x3207).\nn(x3206).\nn(x3205).\nn(x3204).\nn(x3203).\nn(x3202).\nn(x3201).\nn(x3200).\nn(x3199).\nn(x3198).\nn(x3197).\nn(x3196).\nn(x3195).\nn(x3194).\nn(x3193).\nn(x3192).\nn(x3191).\nn(x3190).\nn(x3189).\nn(x3188).\nn(x3187).\nn(x3186).\nn(x3185).\nn(x3184).\nn(x3183).\nn(x3182).\nn(x3181).\nn(x3180).\nn(x3179).\nn(x3178).\nn(x3177).\nn(x3176).\nn(x3175).\nn(x3174).\nn(x3173).\nn(x3172).\nn(x3171).\nn(x3170).\nn(x3169).\nn(x3168).\nn(x3167).\nn(x3166).\nn(x3165).\nn(x3164).\nn(x3163).\nn(x3162).\nn(x3161).\nn(x3160).\nn(x3159).\nn(x3158).\nn(x3157).\nn(x3156).\nn(x3155).\nn(x3154).\nn(x3153).\nn(x3152).\nn(x3151).\nn(x3150).\nn(x3149).\nn(x3148).\nn(x3147).\nn(x3146).\nn(x3145).\nn(x3144).\nn(x3143).\nn(x3142).\nn(x3141).\nn(x3140).\nn(x3139).\nn(x3138).\nn(x3137).\nn(x3136).\nn(x3135).\nn(x3134).\nn(x3133).\nn(x3132).\nn(x3131).\nn(x3130).\nn(x3129).\nn(x3128).\nn(x3127).\nn(x3126).\nn(x3125).\nn(x3124).\nn(x3123).\nn(x3122).\nn(x3121).\nn(x3120).\nn(x3119).\nn(x3118).\nn(x3117).\nn(x3116).\nn(x3115).\nn(x3114).\nn(x3113).\nn(x3112).\nn(x3111).\nn(x3110).\nn(x3109).\nn(x3108).\nn(x3107).\nn(x3106).\nn(x3105).\nn(x3104).\nn(x3103).\nn(x3102).\nn(x3101).\nn(x3100).\nn(x3099).\nn(x3098).\nn(x3097).\nn(x3096).\nn(x3095).\nn(x3094).\nn(x3093).\nn(x3092).\nn(x3091).\nn(x3090).\nn(x3089).\nn(x3088).\nn(x3087).\nn(x3086).\nn(x3085).\nn(x3084).\nn(x3083).\nn(x3082).\nn(x3081).\nn(x3080).\nn(x3079).\nn(x3078).\nn(x3077).\nn(x3076).\nn(x3075).\nn(x3074).\nn(x3073).\nn(x3072).\nn(x3071).\nn(x3070).\nn(x3069).\nn(x3068).\nn(x3067).\nn(x3066).\nn(x3065).\nn(x3064).\nn(x3063).\nn(x3062).\nn(x3061).\nn(x3060).\nn(x3059).\nn(x3058).\nn(x3057).\nn(x3056).\nn(x3055).\nn(x3054).\nn(x3053).\nn(x3052).\nn(x3051).\nn(x3050).\nn(x3049).\nn(x3048).\nn(x3047).\nn(x3046).\nn(x3045).\nn(x3044).\nn(x3043).\nn(x3042).\nn(x3041).\nn(x3040).\nn(x3039).\nn(x3038).\nn(x3037).\nn(x3036).\nn(x3035).\nn(x3034).\nn(x3033).\nn(x3032).\nn(x3031).\nn(x3030).\nn(x3029).\nn(x3028).\nn(x3027).\nn(x3026).\nn(x3025).\nn(x3024).\nn(x3023).\nn(x3022).\nn(x3021).\nn(x3020).\nn(x3019).\nn(x3018).\nn(x3017).\nn(x3016).\nn(x3015).\nn(x3014).\nn(x3013).\nn(x3012).\nn(x3011).\nn(x3010).\nn(x3009).\nn(x3008).\nn(x3007).\nn(x3006).\nn(x3005).\nn(x3004).\nn(x3003).\nn(x3002).\nn(x3001).\nn(x3000).\nn(x2999).\nn(x2998).\nn(x2997).\nn(x2996).\nn(x2995).\nn(x2994).\nn(x2993).\nn(x2992).\nn(x2991).\nn(x2990).\nn(x2989).\nn(x2988).\nn(x2987).\nn(x2986).\nn(x2985).\nn(x2984).\nn(x2983).\nn(x2982).\nn(x2981).\nn(x2980).\nn(x2979).\nn(x2978).\nn(x2977).\nn(x2976).\nn(x2975).\nn(x2974).\nn(x2973).\nn(x2972).\nn(x2971).\nn(x2970).\nn(x2969).\nn(x2968).\nn(x2967).\nn(x2966).\nn(x2965).\nn(x2964).\nn(x2963).\nn(x2962).\nn(x2961).\nn(x2960).\nn(x2959).\nn(x2958).\nn(x2957).\nn(x2956).\nn(x2955).\nn(x2954).\nn(x2953).\nn(x2952).\nn(x2951).\nn(x2950).\nn(x2949).\nn(x2948).\nn(x2947).\nn(x2946).\nn(x2945).\nn(x2944).\nn(x2943).\nn(x2942).\nn(x2941).\nn(x2940).\nn(x2939).\nn(x2938).\nn(x2937).\nn(x2936).\nn(x2935).\nn(x2934).\nn(x2933).\nn(x2932).\nn(x2931).\nn(x2930).\nn(x2929).\nn(x2928).\nn(x2927).\nn(x2926).\nn(x2925).\nn(x2924).\nn(x2923).\nn(x2922).\nn(x2921).\nn(x2920).\nn(x2919).\nn(x2918).\nn(x2917).\nn(x2916).\nn(x2915).\nn(x2914).\nn(x2913).\nn(x2912).\nn(x2911).\nn(x2910).\nn(x2909).\nn(x2908).\nn(x2907).\nn(x2906).\nn(x2905).\nn(x2904).\nn(x2903).\nn(x2902).\nn(x2901).\nn(x2900).\nn(x2899).\nn(x2898).\nn(x2897).\nn(x2896).\nn(x2895).\nn(x2894).\nn(x2893).\nn(x2892).\nn(x2891).\nn(x2890).\nn(x2889).\nn(x2888).\nn(x2887).\nn(x2886).\nn(x2885).\nn(x2884).\nn(x2883).\nn(x2882).\nn(x2881).\nn(x2880).\nn(x2879).\nn(x2878).\nn(x2877).\nn(x2876).\nn(x2875).\nn(x2874).\nn(x2873).\nn(x2872).\nn(x2871).\nn(x2870).\nn(x2869).\nn(x2868).\nn(x2867).\nn(x2866).\nn(x2865).\nn(x2864).\nn(x2863).\nn(x2862).\nn(x2861).\nn(x2860).\nn(x2859).\nn(x2858).\nn(x2857).\nn(x2856).\nn(x2855).\nn(x2854).\nn(x2853).\nn(x2852).\nn(x2851).\nn(x2850).\nn(x2849).\nn(x2848).\nn(x2847).\nn(x2846).\nn(x2845).\nn(x2844).\nn(x2843).\nn(x2842).\nn(x2841).\nn(x2840).\nn(x2839).\nn(x2838).\nn(x2837).\nn(x2836).\nn(x2835).\nn(x2834).\nn(x2833).\nn(x2832).\nn(x2831).\nn(x2830).\nn(x2829).\nn(x2828).\nn(x2827).\nn(x2826).\nn(x2825).\nn(x2824).\nn(x2823).\nn(x2822).\nn(x2821).\nn(x2820).\nn(x2819).\nn(x2818).\nn(x2817).\nn(x2816).\nn(x2815).\nn(x2814).\nn(x2813).\nn(x2812).\nn(x2811).\nn(x2810).\nn(x2809).\nn(x2808).\nn(x2807).\nn(x2806).\nn(x2805).\nn(x2804).\nn(x2803).\nn(x2802).\nn(x2801).\nn(x2800).\nn(x2799).\nn(x2798).\nn(x2797).\nn(x2796).\nn(x2795).\nn(x2794).\nn(x2793).\nn(x2792).\nn(x2791).\nn(x2790).\nn(x2789).\nn(x2788).\nn(x2787).\nn(x2786).\nn(x2785).\nn(x2784).\nn(x2783).\nn(x2782).\nn(x2781).\nn(x2780).\nn(x2779).\nn(x2778).\nn(x2777).\nn(x2776).\nn(x2775).\nn(x2774).\nn(x2773).\nn(x2772).\nn(x2771).\nn(x2770).\nn(x2769).\nn(x2768).\nn(x2767).\nn(x2766).\nn(x2765).\nn(x2764).\nn(x2763).\nn(x2762).\nn(x2761).\nn(x2760).\nn(x2759).\nn(x2758).\nn(x2757).\nn(x2756).\nn(x2755).\nn(x2754).\nn(x2753).\nn(x2752).\nn(x2751).\nn(x2750).\nn(x2749).\nn(x2748).\nn(x2747).\nn(x2746).\nn(x2745).\nn(x2744).\nn(x2743).\nn(x2742).\nn(x2741).\nn(x2740).\nn(x2739).\nn(x2738).\nn(x2737).\nn(x2736).\nn(x2735).\nn(x2734).\nn(x2733).\nn(x2732).\nn(x2731).\nn(x2730).\nn(x2729).\nn(x2728).\nn(x2727).\nn(x2726).\nn(x2725).\nn(x2724).\nn(x2723).\nn(x2722).\nn(x2721).\nn(x2720).\nn(x2719).\nn(x2718).\nn(x2717).\nn(x2716).\nn(x2715).\nn(x2714).\nn(x2713).\nn(x2712).\nn(x2711).\nn(x2710).\nn(x2709).\nn(x2708).\nn(x2707).\nn(x2706).\nn(x2705).\nn(x2704).\nn(x2703).\nn(x2702).\nn(x2701).\nn(x2700).\nn(x2699).\nn(x2698).\nn(x2697).\nn(x2696).\nn(x2695).\nn(x2694).\nn(x2693).\nn(x2692).\nn(x2691).\nn(x2690).\nn(x2689).\nn(x2688).\nn(x2687).\nn(x2686).\nn(x2685).\nn(x2684).\nn(x2683).\nn(x2682).\nn(x2681).\nn(x2680).\nn(x2679).\nn(x2678).\nn(x2677).\nn(x2676).\nn(x2675).\nn(x2674).\nn(x2673).\nn(x2672).\nn(x2671).\nn(x2670).\nn(x2669).\nn(x2668).\nn(x2667).\nn(x2666).\nn(x2665).\nn(x2664).\nn(x2663).\nn(x2662).\nn(x2661).\nn(x2660).\nn(x2659).\nn(x2658).\nn(x2657).\nn(x2656).\nn(x2655).\nn(x2654).\nn(x2653).\nn(x2652).\nn(x2651).\nn(x2650).\nn(x2649).\nn(x2648).\nn(x2647).\nn(x2646).\nn(x2645).\nn(x2644).\nn(x2643).\nn(x2642).\nn(x2641).\nn(x2640).\nn(x2639).\nn(x2638).\nn(x2637).\nn(x2636).\nn(x2635).\nn(x2634).\nn(x2633).\nn(x2632).\nn(x2631).\nn(x2630).\nn(x2629).\nn(x2628).\nn(x2627).\nn(x2626).\nn(x2625).\nn(x2624).\nn(x2623).\nn(x2622).\nn(x2621).\nn(x2620).\nn(x2619).\nn(x2618).\nn(x2617).\nn(x2616).\nn(x2615).\nn(x2614).\nn(x2613).\nn(x2612).\nn(x2611).\nn(x2610).\nn(x2609).\nn(x2608).\nn(x2607).\nn(x2606).\nn(x2605).\nn(x2604).\nn(x2603).\nn(x2602).\nn(x2601).\nn(x2600).\nn(x2599).\nn(x2598).\nn(x2597).\nn(x2596).\nn(x2595).\nn(x2594).\nn(x2593).\nn(x2592).\nn(x2591).\nn(x2590).\nn(x2589).\nn(x2588).\nn(x2587).\nn(x2586).\nn(x2585).\nn(x2584).\nn(x2583).\nn(x2582).\nn(x2581).\nn(x2580).\nn(x2579).\nn(x2578).\nn(x2577).\nn(x2576).\nn(x2575).\nn(x2574).\nn(x2573).\nn(x2572).\nn(x2571).\nn(x2570).\nn(x2569).\nn(x2568).\nn(x2567).\nn(x2566).\nn(x2565).\nn(x2564).\nn(x2563).\nn(x2562).\nn(x2561).\nn(x2560).\nn(x2559).\nn(x2558).\nn(x2557).\nn(x2556).\nn(x2555).\nn(x2554).\nn(x2553).\nn(x2552).\nn(x2551).\nn(x2550).\nn(x2549).\nn(x2548).\nn(x2547).\nn(x2546).\nn(x2545).\nn(x2544).\nn(x2543).\nn(x2542).\nn(x2541).\nn(x2540).\nn(x2539).\nn(x2538).\nn(x2537).\nn(x2536).\nn(x2535).\nn(x2534).\nn(x2533).\nn(x2532).\nn(x2531).\nn(x2530).\nn(x2529).\nn(x2528).\nn(x2527).\nn(x2526).\nn(x2525).\nn(x2524).\nn(x2523).\nn(x2522).\nn(x2521).\nn(x2520).\nn(x2519).\nn(x2518).\nn(x2517).\nn(x2516).\nn(x2515).\nn(x2514).\nn(x2513).\nn(x2512).\nn(x2511).\nn(x2510).\nn(x2509).\nn(x2508).\nn(x2507).\nn(x2506).\nn(x2505).\nn(x2504).\nn(x2503).\nn(x2502).\nn(x2501).\nn(x2500).\nn(x2499).\nn(x2498).\nn(x2497).\nn(x2496).\nn(x2495).\nn(x2494).\nn(x2493).\nn(x2492).\nn(x2491).\nn(x2490).\nn(x2489).\nn(x2488).\nn(x2487).\nn(x2486).\nn(x2485).\nn(x2484).\nn(x2483).\nn(x2482).\nn(x2481).\nn(x2480).\nn(x2479).\nn(x2478).\nn(x2477).\nn(x2476).\nn(x2475).\nn(x2474).\nn(x2473).\nn(x2472).\nn(x2471).\nn(x2470).\nn(x2469).\nn(x2468).\nn(x2467).\nn(x2466).\nn(x2465).\nn(x2464).\nn(x2463).\nn(x2462).\nn(x2461).\nn(x2460).\nn(x2459).\nn(x2458).\nn(x2457).\nn(x2456).\nn(x2455).\nn(x2454).\nn(x2453).\nn(x2452).\nn(x2451).\nn(x2450).\nn(x2449).\nn(x2448).\nn(x2447).\nn(x2446).\nn(x2445).\nn(x2444).\nn(x2443).\nn(x2442).\nn(x2441).\nn(x2440).\nn(x2439).\nn(x2438).\nn(x2437).\nn(x2436).\nn(x2435).\nn(x2434).\nn(x2433).\nn(x2432).\nn(x2431).\nn(x2430).\nn(x2429).\nn(x2428).\nn(x2427).\nn(x2426).\nn(x2425).\nn(x2424).\nn(x2423).\nn(x2422).\nn(x2421).\nn(x2420).\nn(x2419).\nn(x2418).\nn(x2417).\nn(x2416).\nn(x2415).\nn(x2414).\nn(x2413).\nn(x2412).\nn(x2411).\nn(x2410).\nn(x2409).\nn(x2408).\nn(x2407).\nn(x2406).\nn(x2405).\nn(x2404).\nn(x2403).\nn(x2402).\nn(x2401).\nn(x2400).\nn(x2399).\nn(x2398).\nn(x2397).\nn(x2396).\nn(x2395).\nn(x2394).\nn(x2393).\nn(x2392).\nn(x2391).\nn(x2390).\nn(x2389).\nn(x2388).\nn(x2387).\nn(x2386).\nn(x2385).\nn(x2384).\nn(x2383).\nn(x2382).\nn(x2381).\nn(x2380).\nn(x2379).\nn(x2378).\nn(x2377).\nn(x2376).\nn(x2375).\nn(x2374).\nn(x2373).\nn(x2372).\nn(x2371).\nn(x2370).\nn(x2369).\nn(x2368).\nn(x2367).\nn(x2366).\nn(x2365).\nn(x2364).\nn(x2363).\nn(x2362).\nn(x2361).\nn(x2360).\nn(x2359).\nn(x2358).\nn(x2357).\nn(x2356).\nn(x2355).\nn(x2354).\nn(x2353).\nn(x2352).\nn(x2351).\nn(x2350).\nn(x2349).\nn(x2348).\nn(x2347).\nn(x2346).\nn(x2345).\nn(x2344).\nn(x2343).\nn(x2342).\nn(x2341).\nn(x2340).\nn(x2339).\nn(x2338).\nn(x2337).\nn(x2336).\nn(x2335).\nn(x2334).\nn(x2333).\nn(x2332).\nn(x2331).\nn(x2330).\nn(x2329).\nn(x2328).\nn(x2327).\nn(x2326).\nn(x2325).\nn(x2324).\nn(x2323).\nn(x2322).\nn(x2321).\nn(x2320).\nn(x2319).\nn(x2318).\nn(x2317).\nn(x2316).\nn(x2315).\nn(x2314).\nn(x2313).\nn(x2312).\nn(x2311).\nn(x2310).\nn(x2309).\nn(x2308).\nn(x2307).\nn(x2306).\nn(x2305).\nn(x2304).\nn(x2303).\nn(x2302).\nn(x2301).\nn(x2300).\nn(x2299).\nn(x2298).\nn(x2297).\nn(x2296).\nn(x2295).\nn(x2294).\nn(x2293).\nn(x2292).\nn(x2291).\nn(x2290).\nn(x2289).\nn(x2288).\nn(x2287).\nn(x2286).\nn(x2285).\nn(x2284).\nn(x2283).\nn(x2282).\nn(x2281).\nn(x2280).\nn(x2279).\nn(x2278).\nn(x2277).\nn(x2276).\nn(x2275).\nn(x2274).\nn(x2273).\nn(x2272).\nn(x2271).\nn(x2270).\nn(x2269).\nn(x2268).\nn(x2267).\nn(x2266).\nn(x2265).\nn(x2264).\nn(x2263).\nn(x2262).\nn(x2261).\nn(x2260).\nn(x2259).\nn(x2258).\nn(x2257).\nn(x2256).\nn(x2255).\nn(x2254).\nn(x2253).\nn(x2252).\nn(x2251).\nn(x2250).\nn(x2249).\nn(x2248).\nn(x2247).\nn(x2246).\nn(x2245).\nn(x2244).\nn(x2243).\nn(x2242).\nn(x2241).\nn(x2240).\nn(x2239).\nn(x2238).\nn(x2237).\nn(x2236).\nn(x2235).\nn(x2234).\nn(x2233).\nn(x2232).\nn(x2231).\nn(x2230).\nn(x2229).\nn(x2228).\nn(x2227).\nn(x2226).\nn(x2225).\nn(x2224).\nn(x2223).\nn(x2222).\nn(x2221).\nn(x2220).\nn(x2219).\nn(x2218).\nn(x2217).\nn(x2216).\nn(x2215).\nn(x2214).\nn(x2213).\nn(x2212).\nn(x2211).\nn(x2210).\nn(x2209).\nn(x2208).\nn(x2207).\nn(x2206).\nn(x2205).\nn(x2204).\nn(x2203).\nn(x2202).\nn(x2201).\nn(x2200).\nn(x2199).\nn(x2198).\nn(x2197).\nn(x2196).\nn(x2195).\nn(x2194).\nn(x2193).\nn(x2192).\nn(x2191).\nn(x2190).\nn(x2189).\nn(x2188).\nn(x2187).\nn(x2186).\nn(x2185).\nn(x2184).\nn(x2183).\nn(x2182).\nn(x2181).\nn(x2180).\nn(x2179).\nn(x2178).\nn(x2177).\nn(x2176).\nn(x2175).\nn(x2174).\nn(x2173).\nn(x2172).\nn(x2171).\nn(x2170).\nn(x2169).\nn(x2168).\nn(x2167).\nn(x2166).\nn(x2165).\nn(x2164).\nn(x2163).\nn(x2162).\nn(x2161).\nn(x2160).\nn(x2159).\nn(x2158).\nn(x2157).\nn(x2156).\nn(x2155).\nn(x2154).\nn(x2153).\nn(x2152).\nn(x2151).\nn(x2150).\nn(x2149).\nn(x2148).\nn(x2147).\nn(x2146).\nn(x2145).\nn(x2144).\nn(x2143).\nn(x2142).\nn(x2141).\nn(x2140).\nn(x2139).\nn(x2138).\nn(x2137).\nn(x2136).\nn(x2135).\nn(x2134).\nn(x2133).\nn(x2132).\nn(x2131).\nn(x2130).\nn(x2129).\nn(x2128).\nn(x2127).\nn(x2126).\nn(x2125).\nn(x2124).\nn(x2123).\nn(x2122).\nn(x2121).\nn(x2120).\nn(x2119).\nn(x2118).\nn(x2117).\nn(x2116).\nn(x2115).\nn(x2114).\nn(x2113).\nn(x2112).\nn(x2111).\nn(x2110).\nn(x2109).\nn(x2108).\nn(x2107).\nn(x2106).\nn(x2105).\nn(x2104).\nn(x2103).\nn(x2102).\nn(x2101).\nn(x2100).\nn(x2099).\nn(x2098).\nn(x2097).\nn(x2096).\nn(x2095).\nn(x2094).\nn(x2093).\nn(x2092).\nn(x2091).\nn(x2090).\nn(x2089).\nn(x2088).\nn(x2087).\nn(x2086).\nn(x2085).\nn(x2084).\nn(x2083).\nn(x2082).\nn(x2081).\nn(x2080).\nn(x2079).\nn(x2078).\nn(x2077).\nn(x2076).\nn(x2075).\nn(x2074).\nn(x2073).\nn(x2072).\nn(x2071).\nn(x2070).\nn(x2069).\nn(x2068).\nn(x2067).\nn(x2066).\nn(x2065).\nn(x2064).\nn(x2063).\nn(x2062).\nn(x2061).\nn(x2060).\nn(x2059).\nn(x2058).\nn(x2057).\nn(x2056).\nn(x2055).\nn(x2054).\nn(x2053).\nn(x2052).\nn(x2051).\nn(x2050).\nn(x2049).\nn(x2048).\nn(x2047).\nn(x2046).\nn(x2045).\nn(x2044).\nn(x2043).\nn(x2042).\nn(x2041).\nn(x2040).\nn(x2039).\nn(x2038).\nn(x2037).\nn(x2036).\nn(x2035).\nn(x2034).\nn(x2033).\nn(x2032).\nn(x2031).\nn(x2030).\nn(x2029).\nn(x2028).\nn(x2027).\nn(x2026).\nn(x2025).\nn(x2024).\nn(x2023).\nn(x2022).\nn(x2021).\nn(x2020).\nn(x2019).\nn(x2018).\nn(x2017).\nn(x2016).\nn(x2015).\nn(x2014).\nn(x2013).\nn(x2012).\nn(x2011).\nn(x2010).\nn(x2009).\nn(x2008).\nn(x2007).\nn(x2006).\nn(x2005).\nn(x2004).\nn(x2003).\nn(x2002).\nn(x2001).\nn(x2000).\nn(x1999).\nn(x1998).\nn(x1997).\nn(x1996).\nn(x1995).\nn(x1994).\nn(x1993).\nn(x1992).\nn(x1991).\nn(x1990).\nn(x1989).\nn(x1988).\nn(x1987).\nn(x1986).\nn(x1985).\nn(x1984).\nn(x1983).\nn(x1982).\nn(x1981).\nn(x1980).\nn(x1979).\nn(x1978).\nn(x1977).\nn(x1976).\nn(x1975).\nn(x1974).\nn(x1973).\nn(x1972).\nn(x1971).\nn(x1970).\nn(x1969).\nn(x1968).\nn(x1967).\nn(x1966).\nn(x1965).\nn(x1964).\nn(x1963).\nn(x1962).\nn(x1961).\nn(x1960).\nn(x1959).\nn(x1958).\nn(x1957).\nn(x1956).\nn(x1955).\nn(x1954).\nn(x1953).\nn(x1952).\nn(x1951).\nn(x1950).\nn(x1949).\nn(x1948).\nn(x1947).\nn(x1946).\nn(x1945).\nn(x1944).\nn(x1943).\nn(x1942).\nn(x1941).\nn(x1940).\nn(x1939).\nn(x1938).\nn(x1937).\nn(x1936).\nn(x1935).\nn(x1934).\nn(x1933).\nn(x1932).\nn(x1931).\nn(x1930).\nn(x1929).\nn(x1928).\nn(x1927).\nn(x1926).\nn(x1925).\nn(x1924).\nn(x1923).\nn(x1922).\nn(x1921).\nn(x1920).\nn(x1919).\nn(x1918).\nn(x1917).\nn(x1916).\nn(x1915).\nn(x1914).\nn(x1913).\nn(x1912).\nn(x1911).\nn(x1910).\nn(x1909).\nn(x1908).\nn(x1907).\nn(x1906).\nn(x1905).\nn(x1904).\nn(x1903).\nn(x1902).\nn(x1901).\nn(x1900).\nn(x1899).\nn(x1898).\nn(x1897).\nn(x1896).\nn(x1895).\nn(x1894).\nn(x1893).\nn(x1892).\nn(x1891).\nn(x1890).\nn(x1889).\nn(x1888).\nn(x1887).\nn(x1886).\nn(x1885).\nn(x1884).\nn(x1883).\nn(x1882).\nn(x1881).\nn(x1880).\nn(x1879).\nn(x1878).\nn(x1877).\nn(x1876).\nn(x1875).\nn(x1874).\nn(x1873).\nn(x1872).\nn(x1871).\nn(x1870).\nn(x1869).\nn(x1868).\nn(x1867).\nn(x1866).\nn(x1865).\nn(x1864).\nn(x1863).\nn(x1862).\nn(x1861).\nn(x1860).\nn(x1859).\nn(x1858).\nn(x1857).\nn(x1856).\nn(x1855).\nn(x1854).\nn(x1853).\nn(x1852).\nn(x1851).\nn(x1850).\nn(x1849).\nn(x1848).\nn(x1847).\nn(x1846).\nn(x1845).\nn(x1844).\nn(x1843).\nn(x1842).\nn(x1841).\nn(x1840).\nn(x1839).\nn(x1838).\nn(x1837).\nn(x1836).\nn(x1835).\nn(x1834).\nn(x1833).\nn(x1832).\nn(x1831).\nn(x1830).\nn(x1829).\nn(x1828).\nn(x1827).\nn(x1826).\nn(x1825).\nn(x1824).\nn(x1823).\nn(x1822).\nn(x1821).\nn(x1820).\nn(x1819).\nn(x1818).\nn(x1817).\nn(x1816).\nn(x1815).\nn(x1814).\nn(x1813).\nn(x1812).\nn(x1811).\nn(x1810).\nn(x1809).\nn(x1808).\nn(x1807).\nn(x1806).\nn(x1805).\nn(x1804).\nn(x1803).\nn(x1802).\nn(x1801).\nn(x1800).\nn(x1799).\nn(x1798).\nn(x1797).\nn(x1796).\nn(x1795).\nn(x1794).\nn(x1793).\nn(x1792).\nn(x1791).\nn(x1790).\nn(x1789).\nn(x1788).\nn(x1787).\nn(x1786).\nn(x1785).\nn(x1784).\nn(x1783).\nn(x1782).\nn(x1781).\nn(x1780).\nn(x1779).\nn(x1778).\nn(x1777).\nn(x1776).\nn(x1775).\nn(x1774).\nn(x1773).\nn(x1772).\nn(x1771).\nn(x1770).\nn(x1769).\nn(x1768).\nn(x1767).\nn(x1766).\nn(x1765).\nn(x1764).\nn(x1763).\nn(x1762).\nn(x1761).\nn(x1760).\nn(x1759).\nn(x1758).\nn(x1757).\nn(x1756).\nn(x1755).\nn(x1754).\nn(x1753).\nn(x1752).\nn(x1751).\nn(x1750).\nn(x1749).\nn(x1748).\nn(x1747).\nn(x1746).\nn(x1745).\nn(x1744).\nn(x1743).\nn(x1742).\nn(x1741).\nn(x1740).\nn(x1739).\nn(x1738).\nn(x1737).\nn(x1736).\nn(x1735).\nn(x1734).\nn(x1733).\nn(x1732).\nn(x1731).\nn(x1730).\nn(x1729).\nn(x1728).\nn(x1727).\nn(x1726).\nn(x1725).\nn(x1724).\nn(x1723).\nn(x1722).\nn(x1721).\nn(x1720).\nn(x1719).\nn(x1718).\nn(x1717).\nn(x1716).\nn(x1715).\nn(x1714).\nn(x1713).\nn(x1712).\nn(x1711).\nn(x1710).\nn(x1709).\nn(x1708).\nn(x1707).\nn(x1706).\nn(x1705).\nn(x1704).\nn(x1703).\nn(x1702).\nn(x1701).\nn(x1700).\nn(x1699).\nn(x1698).\nn(x1697).\nn(x1696).\nn(x1695).\nn(x1694).\nn(x1693).\nn(x1692).\nn(x1691).\nn(x1690).\nn(x1689).\nn(x1688).\nn(x1687).\nn(x1686).\nn(x1685).\nn(x1684).\nn(x1683).\nn(x1682).\nn(x1681).\nn(x1680).\nn(x1679).\nn(x1678).\nn(x1677).\nn(x1676).\nn(x1675).\nn(x1674).\nn(x1673).\nn(x1672).\nn(x1671).\nn(x1670).\nn(x1669).\nn(x1668).\nn(x1667).\nn(x1666).\nn(x1665).\nn(x1664).\nn(x1663).\nn(x1662).\nn(x1661).\nn(x1660).\nn(x1659).\nn(x1658).\nn(x1657).\nn(x1656).\nn(x1655).\nn(x1654).\nn(x1653).\nn(x1652).\nn(x1651).\nn(x1650).\nn(x1649).\nn(x1648).\nn(x1647).\nn(x1646).\nn(x1645).\nn(x1644).\nn(x1643).\nn(x1642).\nn(x1641).\nn(x1640).\nn(x1639).\nn(x1638).\nn(x1637).\nn(x1636).\nn(x1635).\nn(x1634).\nn(x1633).\nn(x1632).\nn(x1631).\nn(x1630).\nn(x1629).\nn(x1628).\nn(x1627).\nn(x1626).\nn(x1625).\nn(x1624).\nn(x1623).\nn(x1622).\nn(x1621).\nn(x1620).\nn(x1619).\nn(x1618).\nn(x1617).\nn(x1616).\nn(x1615).\nn(x1614).\nn(x1613).\nn(x1612).\nn(x1611).\nn(x1610).\nn(x1609).\nn(x1608).\nn(x1607).\nn(x1606).\nn(x1605).\nn(x1604).\nn(x1603).\nn(x1602).\nn(x1601).\nn(x1600).\nn(x1599).\nn(x1598).\nn(x1597).\nn(x1596).\nn(x1595).\nn(x1594).\nn(x1593).\nn(x1592).\nn(x1591).\nn(x1590).\nn(x1589).\nn(x1588).\nn(x1587).\nn(x1586).\nn(x1585).\nn(x1584).\nn(x1583).\nn(x1582).\nn(x1581).\nn(x1580).\nn(x1579).\nn(x1578).\nn(x1577).\nn(x1576).\nn(x1575).\nn(x1574).\nn(x1573).\nn(x1572).\nn(x1571).\nn(x1570).\nn(x1569).\nn(x1568).\nn(x1567).\nn(x1566).\nn(x1565).\nn(x1564).\nn(x1563).\nn(x1562).\nn(x1561).\nn(x1560).\nn(x1559).\nn(x1558).\nn(x1557).\nn(x1556).\nn(x1555).\nn(x1554).\nn(x1553).\nn(x1552).\nn(x1551).\nn(x1550).\nn(x1549).\nn(x1548).\nn(x1547).\nn(x1546).\nn(x1545).\nn(x1544).\nn(x1543).\nn(x1542).\nn(x1541).\nn(x1540).\nn(x1539).\nn(x1538).\nn(x1537).\nn(x1536).\nn(x1535).\nn(x1534).\nn(x1533).\nn(x1532).\nn(x1531).\nn(x1530).\nn(x1529).\nn(x1528).\nn(x1527).\nn(x1526).\nn(x1525).\nn(x1524).\nn(x1523).\nn(x1522).\nn(x1521).\nn(x1520).\nn(x1519).\nn(x1518).\nn(x1517).\nn(x1516).\nn(x1515).\nn(x1514).\nn(x1513).\nn(x1512).\nn(x1511).\nn(x1510).\nn(x1509).\nn(x1508).\nn(x1507).\nn(x1506).\nn(x1505).\nn(x1504).\nn(x1503).\nn(x1502).\nn(x1501).\nn(x1500).\nn(x1499).\nn(x1498).\nn(x1497).\nn(x1496).\nn(x1495).\nn(x1494).\nn(x1493).\nn(x1492).\nn(x1491).\nn(x1490).\nn(x1489).\nn(x1488).\nn(x1487).\nn(x1486).\nn(x1485).\nn(x1484).\nn(x1483).\nn(x1482).\nn(x1481).\nn(x1480).\nn(x1479).\nn(x1478).\nn(x1477).\nn(x1476).\nn(x1475).\nn(x1474).\nn(x1473).\nn(x1472).\nn(x1471).\nn(x1470).\nn(x1469).\nn(x1468).\nn(x1467).\nn(x1466).\nn(x1465).\nn(x1464).\nn(x1463).\nn(x1462).\nn(x1461).\nn(x1460).\nn(x1459).\nn(x1458).\nn(x1457).\nn(x1456).\nn(x1455).\nn(x1454).\nn(x1453).\nn(x1452).\nn(x1451).\nn(x1450).\nn(x1449).\nn(x1448).\nn(x1447).\nn(x1446).\nn(x1445).\nn(x1444).\nn(x1443).\nn(x1442).\nn(x1441).\nn(x1440).\nn(x1439).\nn(x1438).\nn(x1437).\nn(x1436).\nn(x1435).\nn(x1434).\nn(x1433).\nn(x1432).\nn(x1431).\nn(x1430).\nn(x1429).\nn(x1428).\nn(x1427).\nn(x1426).\nn(x1425).\nn(x1424).\nn(x1423).\nn(x1422).\nn(x1421).\nn(x1420).\nn(x1419).\nn(x1418).\nn(x1417).\nn(x1416).\nn(x1415).\nn(x1414).\nn(x1413).\nn(x1412).\nn(x1411).\nn(x1410).\nn(x1409).\nn(x1408).\nn(x1407).\nn(x1406).\nn(x1405).\nn(x1404).\nn(x1403).\nn(x1402).\nn(x1401).\nn(x1400).\nn(x1399).\nn(x1398).\nn(x1397).\nn(x1396).\nn(x1395).\nn(x1394).\nn(x1393).\nn(x1392).\nn(x1391).\nn(x1390).\nn(x1389).\nn(x1388).\nn(x1387).\nn(x1386).\nn(x1385).\nn(x1384).\nn(x1383).\nn(x1382).\nn(x1381).\nn(x1380).\nn(x1379).\nn(x1378).\nn(x1377).\nn(x1376).\nn(x1375).\nn(x1374).\nn(x1373).\nn(x1372).\nn(x1371).\nn(x1370).\nn(x1369).\nn(x1368).\nn(x1367).\nn(x1366).\nn(x1365).\nn(x1364).\nn(x1363).\nn(x1362).\nn(x1361).\nn(x1360).\nn(x1359).\nn(x1358).\nn(x1357).\nn(x1356).\nn(x1355).\nn(x1354).\nn(x1353).\nn(x1352).\nn(x1351).\nn(x1350).\nn(x1349).\nn(x1348).\nn(x1347).\nn(x1346).\nn(x1345).\nn(x1344).\nn(x1343).\nn(x1342).\nn(x1341).\nn(x1340).\nn(x1339).\nn(x1338).\nn(x1337).\nn(x1336).\nn(x1335).\nn(x1334).\nn(x1333).\nn(x1332).\nn(x1331).\nn(x1330).\nn(x1329).\nn(x1328).\nn(x1327).\nn(x1326).\nn(x1325).\nn(x1324).\nn(x1323).\nn(x1322).\nn(x1321).\nn(x1320).\nn(x1319).\nn(x1318).\nn(x1317).\nn(x1316).\nn(x1315).\nn(x1314).\nn(x1313).\nn(x1312).\nn(x1311).\nn(x1310).\nn(x1309).\nn(x1308).\nn(x1307).\nn(x1306).\nn(x1305).\nn(x1304).\nn(x1303).\nn(x1302).\nn(x1301).\nn(x1300).\nn(x1299).\nn(x1298).\nn(x1297).\nn(x1296).\nn(x1295).\nn(x1294).\nn(x1293).\nn(x1292).\nn(x1291).\nn(x1290).\nn(x1289).\nn(x1288).\nn(x1287).\nn(x1286).\nn(x1285).\nn(x1284).\nn(x1283).\nn(x1282).\nn(x1281).\nn(x1280).\nn(x1279).\nn(x1278).\nn(x1277).\nn(x1276).\nn(x1275).\nn(x1274).\nn(x1273).\nn(x1272).\nn(x1271).\nn(x1270).\nn(x1269).\nn(x1268).\nn(x1267).\nn(x1266).\nn(x1265).\nn(x1264).\nn(x1263).\nn(x1262).\nn(x1261).\nn(x1260).\nn(x1259).\nn(x1258).\nn(x1257).\nn(x1256).\nn(x1255).\nn(x1254).\nn(x1253).\nn(x1252).\nn(x1251).\nn(x1250).\nn(x1249).\nn(x1248).\nn(x1247).\nn(x1246).\nn(x1245).\nn(x1244).\nn(x1243).\nn(x1242).\nn(x1241).\nn(x1240).\nn(x1239).\nn(x1238).\nn(x1237).\nn(x1236).\nn(x1235).\nn(x1234).\nn(x1233).\nn(x1232).\nn(x1231).\nn(x1230).\nn(x1229).\nn(x1228).\nn(x1227).\nn(x1226).\nn(x1225).\nn(x1224).\nn(x1223).\nn(x1222).\nn(x1221).\nn(x1220).\nn(x1219).\nn(x1218).\nn(x1217).\nn(x1216).\nn(x1215).\nn(x1214).\nn(x1213).\nn(x1212).\nn(x1211).\nn(x1210).\nn(x1209).\nn(x1208).\nn(x1207).\nn(x1206).\nn(x1205).\nn(x1204).\nn(x1203).\nn(x1202).\nn(x1201).\nn(x1200).\nn(x1199).\nn(x1198).\nn(x1197).\nn(x1196).\nn(x1195).\nn(x1194).\nn(x1193).\nn(x1192).\nn(x1191).\nn(x1190).\nn(x1189).\nn(x1188).\nn(x1187).\nn(x1186).\nn(x1185).\nn(x1184).\nn(x1183).\nn(x1182).\nn(x1181).\nn(x1180).\nn(x1179).\nn(x1178).\nn(x1177).\nn(x1176).\nn(x1175).\nn(x1174).\nn(x1173).\nn(x1172).\nn(x1171).\nn(x1170).\nn(x1169).\nn(x1168).\nn(x1167).\nn(x1166).\nn(x1165).\nn(x1164).\nn(x1163).\nn(x1162).\nn(x1161).\nn(x1160).\nn(x1159).\nn(x1158).\nn(x1157).\nn(x1156).\nn(x1155).\nn(x1154).\nn(x1153).\nn(x1152).\nn(x1151).\nn(x1150).\nn(x1149).\nn(x1148).\nn(x1147).\nn(x1146).\nn(x1145).\nn(x1144).\nn(x1143).\nn(x1142).\nn(x1141).\nn(x1140).\nn(x1139).\nn(x1138).\nn(x1137).\nn(x1136).\nn(x1135).\nn(x1134).\nn(x1133).\nn(x1132).\nn(x1131).\nn(x1130).\nn(x1129).\nn(x1128).\nn(x1127).\nn(x1126).\nn(x1125).\nn(x1124).\nn(x1123).\nn(x1122).\nn(x1121).\nn(x1120).\nn(x1119).\nn(x1118).\nn(x1117).\nn(x1116).\nn(x1115).\nn(x1114).\nn(x1113).\nn(x1112).\nn(x1111).\nn(x1110).\nn(x1109).\nn(x1108).\nn(x1107).\nn(x1106).\nn(x1105).\nn(x1104).\nn(x1103).\nn(x1102).\nn(x1101).\nn(x1100).\nn(x1099).\nn(x1098).\nn(x1097).\nn(x1096).\nn(x1095).\nn(x1094).\nn(x1093).\nn(x1092).\nn(x1091).\nn(x1090).\nn(x1089).\nn(x1088).\nn(x1087).\nn(x1086).\nn(x1085).\nn(x1084).\nn(x1083).\nn(x1082).\nn(x1081).\nn(x1080).\nn(x1079).\nn(x1078).\nn(x1077).\nn(x1076).\nn(x1075).\nn(x1074).\nn(x1073).\nn(x1072).\nn(x1071).\nn(x1070).\nn(x1069).\nn(x1068).\nn(x1067).\nn(x1066).\nn(x1065).\nn(x1064).\nn(x1063).\nn(x1062).\nn(x1061).\nn(x1060).\nn(x1059).\nn(x1058).\nn(x1057).\nn(x1056).\nn(x1055).\nn(x1054).\nn(x1053).\nn(x1052).\nn(x1051).\nn(x1050).\nn(x1049).\nn(x1048).\nn(x1047).\nn(x1046).\nn(x1045).\nn(x1044).\nn(x1043).\nn(x1042).\nn(x1041).\nn(x1040).\nn(x1039).\nn(x1038).\nn(x1037).\nn(x1036).\nn(x1035).\nn(x1034).\nn(x1033).\nn(x1032).\nn(x1031).\nn(x1030).\nn(x1029).\nn(x1028).\nn(x1027).\nn(x1026).\nn(x1025).\nn(x1024).\nn(x1023).\nn(x1022).\nn(x1021).\nn(x1020).\nn(x1019).\nn(x1018).\nn(x1017).\nn(x1016).\nn(x1015).\nn(x1014).\nn(x1013).\nn(x1012).\nn(x1011).\nn(x1010).\nn(x1009).\nn(x1008).\nn(x1007).\nn(x1006).\nn(x1005).\nn(x1004).\nn(x1003).\nn(x1002).\nn(x1001).\nn(x1000).\nn(x999).\nn(x998).\nn(x997).\nn(x996).\nn(x995).\nn(x994).\nn(x993).\nn(x992).\nn(x991).\nn(x990).\nn(x989).\nn(x988).\nn(x987).\nn(x986).\nn(x985).\nn(x984).\nn(x983).\nn(x982).\nn(x981).\nn(x980).\nn(x979).\nn(x978).\nn(x977).\nn(x976).\nn(x975).\nn(x974).\nn(x973).\nn(x972).\nn(x971).\nn(x970).\nn(x969).\nn(x968).\nn(x967).\nn(x966).\nn(x965).\nn(x964).\nn(x963).\nn(x962).\nn(x961).\nn(x960).\nn(x959).\nn(x958).\nn(x957).\nn(x956).\nn(x955).\nn(x954).\nn(x953).\nn(x952).\nn(x951).\nn(x950).\nn(x949).\nn(x948).\nn(x947).\nn(x946).\nn(x945).\nn(x944).\nn(x943).\nn(x942).\nn(x941).\nn(x940).\nn(x939).\nn(x938).\nn(x937).\nn(x936).\nn(x935).\nn(x934).\nn(x933).\nn(x932).\nn(x931).\nn(x930).\nn(x929).\nn(x928).\nn(x927).\nn(x926).\nn(x925).\nn(x924).\nn(x923).\nn(x922).\nn(x921).\nn(x920).\nn(x919).\nn(x918).\nn(x917).\nn(x916).\nn(x915).\nn(x914).\nn(x913).\nn(x912).\nn(x911).\nn(x910).\nn(x909).\nn(x908).\nn(x907).\nn(x906).\nn(x905).\nn(x904).\nn(x903).\nn(x902).\nn(x901).\nn(x900).\nn(x899).\nn(x898).\nn(x897).\nn(x896).\nn(x895).\nn(x894).\nn(x893).\nn(x892).\nn(x891).\nn(x890).\nn(x889).\nn(x888).\nn(x887).\nn(x886).\nn(x885).\nn(x884).\nn(x883).\nn(x882).\nn(x881).\nn(x880).\nn(x879).\nn(x878).\nn(x877).\nn(x876).\nn(x875).\nn(x874).\nn(x873).\nn(x872).\nn(x871).\nn(x870).\nn(x869).\nn(x868).\nn(x867).\nn(x866).\nn(x865).\nn(x864).\nn(x863).\nn(x862).\nn(x861).\nn(x860).\nn(x859).\nn(x858).\nn(x857).\nn(x856).\nn(x855).\nn(x854).\nn(x853).\nn(x852).\nn(x851).\nn(x850).\nn(x849).\nn(x848).\nn(x847).\nn(x846).\nn(x845).\nn(x844).\nn(x843).\nn(x842).\nn(x841).\nn(x840).\nn(x839).\nn(x838).\nn(x837).\nn(x836).\nn(x835).\nn(x834).\nn(x833).\nn(x832).\nn(x831).\nn(x830).\nn(x829).\nn(x828).\nn(x827).\nn(x826).\nn(x825).\nn(x824).\nn(x823).\nn(x822).\nn(x821).\nn(x820).\nn(x819).\nn(x818).\nn(x817).\nn(x816).\nn(x815).\nn(x814).\nn(x813).\nn(x812).\nn(x811).\nn(x810).\nn(x809).\nn(x808).\nn(x807).\nn(x806).\nn(x805).\nn(x804).\nn(x803).\nn(x802).\nn(x801).\nn(x800).\nn(x799).\nn(x798).\nn(x797).\nn(x796).\nn(x795).\nn(x794).\nn(x793).\nn(x792).\nn(x791).\nn(x790).\nn(x789).\nn(x788).\nn(x787).\nn(x786).\nn(x785).\nn(x784).\nn(x783).\nn(x782).\nn(x781).\nn(x780).\nn(x779).\nn(x778).\nn(x777).\nn(x776).\nn(x775).\nn(x774).\nn(x773).\nn(x772).\nn(x771).\nn(x770).\nn(x769).\nn(x768).\nn(x767).\nn(x766).\nn(x765).\nn(x764).\nn(x763).\nn(x762).\nn(x761).\nn(x760).\nn(x759).\nn(x758).\nn(x757).\nn(x756).\nn(x755).\nn(x754).\nn(x753).\nn(x752).\nn(x751).\nn(x750).\nn(x749).\nn(x748).\nn(x747).\nn(x746).\nn(x745).\nn(x744).\nn(x743).\nn(x742).\nn(x741).\nn(x740).\nn(x739).\nn(x738).\nn(x737).\nn(x736).\nn(x735).\nn(x734).\nn(x733).\nn(x732).\nn(x731).\nn(x730).\nn(x729).\nn(x728).\nn(x727).\nn(x726).\nn(x725).\nn(x724).\nn(x723).\nn(x722).\nn(x721).\nn(x720).\nn(x719).\nn(x718).\nn(x717).\nn(x716).\nn(x715).\nn(x714).\nn(x713).\nn(x712).\nn(x711).\nn(x710).\nn(x709).\nn(x708).\nn(x707).\nn(x706).\nn(x705).\nn(x704).\nn(x703).\nn(x702).\nn(x701).\nn(x700).\nn(x699).\nn(x698).\nn(x697).\nn(x696).\nn(x695).\nn(x694).\nn(x693).\nn(x692).\nn(x691).\nn(x690).\nn(x689).\nn(x688).\nn(x687).\nn(x686).\nn(x685).\nn(x684).\nn(x683).\nn(x682).\nn(x681).\nn(x680).\nn(x679).\nn(x678).\nn(x677).\nn(x676).\nn(x675).\nn(x674).\nn(x673).\nn(x672).\nn(x671).\nn(x670).\nn(x669).\nn(x668).\nn(x667).\nn(x666).\nn(x665).\nn(x664).\nn(x663).\nn(x662).\nn(x661).\nn(x660).\nn(x659).\nn(x658).\nn(x657).\nn(x656).\nn(x655).\nn(x654).\nn(x653).\nn(x652).\nn(x651).\nn(x650).\nn(x649).\nn(x648).\nn(x647).\nn(x646).\nn(x645).\nn(x644).\nn(x643).\nn(x642).\nn(x641).\nn(x640).\nn(x639).\nn(x638).\nn(x637).\nn(x636).\nn(x635).\nn(x634).\nn(x633).\nn(x632).\nn(x631).\nn(x630).\nn(x629).\nn(x628).\nn(x627).\nn(x626).\nn(x625).\nn(x624).\nn(x623).\nn(x622).\nn(x621).\nn(x620).\nn(x619).\nn(x618).\nn(x617).\nn(x616).\nn(x615).\nn(x614).\nn(x613).\nn(x612).\nn(x611).\nn(x610).\nn(x609).\nn(x608).\nn(x607).\nn(x606).\nn(x605).\nn(x604).\nn(x603).\nn(x602).\nn(x601).\nn(x600).\nn(x599).\nn(x598).\nn(x597).\nn(x596).\nn(x595).\nn(x594).\nn(x593).\nn(x592).\nn(x591).\nn(x590).\nn(x589).\nn(x588).\nn(x587).\nn(x586).\nn(x585).\nn(x584).\nn(x583).\nn(x582).\nn(x581).\nn(x580).\nn(x579).\nn(x578).\nn(x577).\nn(x576).\nn(x575).\nn(x574).\nn(x573).\nn(x572).\nn(x571).\nn(x570).\nn(x569).\nn(x568).\nn(x567).\nn(x566).\nn(x565).\nn(x564).\nn(x563).\nn(x562).\nn(x561).\nn(x560).\nn(x559).\nn(x558).\nn(x557).\nn(x556).\nn(x555).\nn(x554).\nn(x553).\nn(x552).\nn(x551).\nn(x550).\nn(x549).\nn(x548).\nn(x547).\nn(x546).\nn(x545).\nn(x544).\nn(x543).\nn(x542).\nn(x541).\nn(x540).\nn(x539).\nn(x538).\nn(x537).\nn(x536).\nn(x535).\nn(x534).\nn(x533).\nn(x532).\nn(x531).\nn(x530).\nn(x529).\nn(x528).\nn(x527).\nn(x526).\nn(x525).\nn(x524).\nn(x523).\nn(x522).\nn(x521).\nn(x520).\nn(x519).\nn(x518).\nn(x517).\nn(x516).\nn(x515).\nn(x514).\nn(x513).\nn(x512).\nn(x511).\nn(x510).\nn(x509).\nn(x508).\nn(x507).\nn(x506).\nn(x505).\nn(x504).\nn(x503).\nn(x502).\nn(x501).\nn(x500).\nn(x499).\nn(x498).\nn(x497).\nn(x496).\nn(x495).\nn(x494).\nn(x493).\nn(x492).\nn(x491).\nn(x490).\nn(x489).\nn(x488).\nn(x487).\nn(x486).\nn(x485).\nn(x484).\nn(x483).\nn(x482).\nn(x481).\nn(x480).\nn(x479).\nn(x478).\nn(x477).\nn(x476).\nn(x475).\nn(x474).\nn(x473).\nn(x472).\nn(x471).\nn(x470).\nn(x469).\nn(x468).\nn(x467).\nn(x466).\nn(x465).\nn(x464).\nn(x463).\nn(x462).\nn(x461).\nn(x460).\nn(x459).\nn(x458).\nn(x457).\nn(x456).\nn(x455).\nn(x454).\nn(x453).\nn(x452).\nn(x451).\nn(x450).\nn(x449).\nn(x448).\nn(x447).\nn(x446).\nn(x445).\nn(x444).\nn(x443).\nn(x442).\nn(x441).\nn(x440).\nn(x439).\nn(x438).\nn(x437).\nn(x436).\nn(x435).\nn(x434).\nn(x433).\nn(x432).\nn(x431).\nn(x430).\nn(x429).\nn(x428).\nn(x427).\nn(x426).\nn(x425).\nn(x424).\nn(x423).\nn(x422).\nn(x421).\nn(x420).\nn(x419).\nn(x418).\nn(x417).\nn(x416).\nn(x415).\nn(x414).\nn(x413).\nn(x412).\nn(x411).\nn(x410).\nn(x409).\nn(x408).\nn(x407).\nn(x406).\nn(x405).\nn(x404).\nn(x403).\nn(x402).\nn(x401).\nn(x400).\nn(x399).\nn(x398).\nn(x397).\nn(x396).\nn(x395).\nn(x394).\nn(x393).\nn(x392).\nn(x391).\nn(x390).\nn(x389).\nn(x388).\nn(x387).\nn(x386).\nn(x385).\nn(x384).\nn(x383).\nn(x382).\nn(x381).\nn(x380).\nn(x379).\nn(x378).\nn(x377).\nn(x376).\nn(x375).\nn(x374).\nn(x373).\nn(x372).\nn(x371).\nn(x370).\nn(x369).\nn(x368).\nn(x367).\nn(x366).\nn(x365).\nn(x364).\nn(x363).\nn(x362).\nn(x361).\nn(x360).\nn(x359).\nn(x358).\nn(x357).\nn(x356).\nn(x355).\nn(x354).\nn(x353).\nn(x352).\nn(x351).\nn(x350).\nn(x349).\nn(x348).\nn(x347).\nn(x346).\nn(x345).\nn(x344).\nn(x343).\nn(x342).\nn(x341).\nn(x340).\nn(x339).\nn(x338).\nn(x337).\nn(x336).\nn(x335).\nn(x334).\nn(x333).\nn(x332).\nn(x331).\nn(x330).\nn(x329).\nn(x328).\nn(x327).\nn(x326).\nn(x325).\nn(x324).\nn(x323).\nn(x322).\nn(x321).\nn(x320).\nn(x319).\nn(x318).\nn(x317).\nn(x316).\nn(x315).\nn(x314).\nn(x313).\nn(x312).\nn(x311).\nn(x310).\nn(x309).\nn(x308).\nn(x307).\nn(x306).\nn(x305).\nn(x304).\nn(x303).\nn(x302).\nn(x301).\nn(x300).\nn(x299).\nn(x298).\nn(x297).\nn(x296).\nn(x295).\nn(x294).\nn(x293).\nn(x292).\nn(x291).\nn(x290).\nn(x289).\nn(x288).\nn(x287).\nn(x286).\nn(x285).\nn(x284).\nn(x283).\nn(x282).\nn(x281).\nn(x280).\nn(x279).\nn(x278).\nn(x277).\nn(x276).\nn(x275).\nn(x274).\nn(x273).\nn(x272).\nn(x271).\nn(x270).\nn(x269).\nn(x268).\nn(x267).\nn(x266).\nn(x265).\nn(x264).\nn(x263).\nn(x262).\nn(x261).\nn(x260).\nn(x259).\nn(x258).\nn(x257).\nn(x256).\nn(x255).\nn(x254).\nn(x253).\nn(x252).\nn(x251).\nn(x250).\nn(x249).\nn(x248).\nn(x247).\nn(x246).\nn(x245).\nn(x244).\nn(x243).\nn(x242).\nn(x241).\nn(x240).\nn(x239).\nn(x238).\nn(x237).\nn(x236).\nn(x235).\nn(x234).\nn(x233).\nn(x232).\nn(x231).\nn(x230).\nn(x229).\nn(x228).\nn(x227).\nn(x226).\nn(x225).\nn(x224).\nn(x223).\nn(x222).\nn(x221).\nn(x220).\nn(x219).\nn(x218).\nn(x217).\nn(x216).\nn(x215).\nn(x214).\nn(x213).\nn(x212).\nn(x211).\nn(x210).\nn(x209).\nn(x208).\nn(x207).\nn(x206).\nn(x205).\nn(x204).\nn(x203).\nn(x202).\nn(x201).\nn(x200).\nn(x199).\nn(x198).\nn(x197).\nn(x196).\nn(x195).\nn(x194).\nn(x193).\nn(x192).\nn(x191).\nn(x190).\nn(x189).\nn(x188).\nn(x187).\nn(x186).\nn(x185).\nn(x184).\nn(x183).\nn(x182).\nn(x181).\nn(x180).\nn(x179).\nn(x178).\nn(x177).\nn(x176).\nn(x175).\nn(x174).\nn(x173).\nn(x172).\nn(x171).\nn(x170).\nn(x169).\nn(x168).\nn(x167).\nn(x166).\nn(x165).\nn(x164).\nn(x163).\nn(x162).\nn(x161).\nn(x160).\nn(x159).\nn(x158).\nn(x157).\nn(x156).\nn(x155).\nn(x154).\nn(x153).\nn(x152).\nn(x151).\nn(x150).\nn(x149).\nn(x148).\nn(x147).\nn(x146).\nn(x145).\nn(x144).\nn(x143).\nn(x142).\nn(x141).\nn(x140).\nn(x139).\nn(x138).\nn(x137).\nn(x136).\nn(x135).\nn(x134).\nn(x133).\nn(x132).\nn(x131).\nn(x130).\nn(x129).\nn(x128).\nn(x127).\nn(x126).\nn(x125).\nn(x124).\nn(x123).\nn(x122).\nn(x121).\nn(x120).\nn(x119).\nn(x118).\nn(x117).\nn(x116).\nn(x115).\nn(x114).\nn(x113).\nn(x112).\nn(x111).\nn(x110).\nn(x109).\nn(x108).\nn(x107).\nn(x106).\nn(x105).\nn(x104).\nn(x103).\nn(x102).\nn(x101).\nn(x100).\nn(x99).\nn(x98).\nn(x97).\nn(x96).\nn(x95).\nn(x94).\nn(x93).\nn(x92).\nn(x91).\nn(x90).\nn(x89).\nn(x88).\nn(x87).\nn(x86).\nn(x85).\nn(x84).\nn(x83).\nn(x82).\nn(x81).\nn(x80).\nn(x79).\nn(x78).\nn(x77).\nn(x76).\nn(x75).\nn(x74).\nn(x73).\nn(x72).\nn(x71).\nn(x70).\nn(x69).\nn(x68).\nn(x67).\nn(x66).\nn(x65).\nn(x64).\nn(x63).\nn(x62).\nn(x61).\nn(x60).\nn(x59).\nn(x58).\nn(x57).\nn(x56).\nn(x55).\nn(x54).\nn(x53).\nn(x52).\nn(x51).\nn(x50).\nn(x49).\nn(x48).\nn(x47).\nn(x46).\nn(x45).\nn(x44).\nn(x43).\nn(x42).\nn(x41).\nn(x40).\nn(x39).\nn(x38).\nn(x37).\nn(x36).\nn(x35).\nn(x34).\nn(x33).\nn(x32).\nn(x31).\nn(x30).\nn(x29).\nn(x28).\nn(x27).\nn(x26).\nn(x25).\nn(x24).\nn(x23).\nn(x22).\nn(x21).\nn(x20).\nn(x19).\nn(x18).\nn(x17).\nn(x16).\nn(x15).\nn(x14).\nn(x13).\nn(x12).\nn(x11).\nn(x10).\nn(x9).\nn(x8).\nn(x7).\nn(x6).\nn(x5).\nn(x4).\nn(x3).\nn(x2).\nn(x1).\nn(x4001).\n' |
n = int(input())
if n == 1:
print(101)
exit()
a = sum(map(int, input().split()))
ans = 0
for i in range(101):
if (a + i) % n == 0:
ans += 1
print(ans) | n = int(input())
if n == 1:
print(101)
exit()
a = sum(map(int, input().split()))
ans = 0
for i in range(101):
if (a + i) % n == 0:
ans += 1
print(ans) |
class QuerioFileError(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, args, kwargs)
| class Queriofileerror(Exception):
def __init__(self, *args, **kwargs):
Exception.__init__(self, args, kwargs) |
def countWords(file):
wordsCount = 0
with open(file, "r") as f:
for line in f:
words = line.split()
wordsCount += len(words)
print (wordsCount)
| def count_words(file):
words_count = 0
with open(file, 'r') as f:
for line in f:
words = line.split()
words_count += len(words)
print(wordsCount) |
class SqlInsertError(Exception):
def __init__(self, object, table: str) -> None:
self.object = object
self.table = table
super().__init__(f'Could not insert {object.__repr__()} in {table}.')
class SqlSelectError(Exception):
def __init__(self, table: str, function: str, data=None) -> None:
self.table = table
self.function = function
self.data = data
super().__init__(f'Could not select in {table} with {function}. Query data was {data}')
class SqlDeleteError(Exception):
def __init__(self, table: str, function: str, data=None) -> None:
self.table = table
self.function = function
self.data = data
super().__init__(f'Could not delete in {table} with {function}. Query data was {data}')
class SqlUpdateError(Exception):
def __init__(self, table: str, function: str, data=None) -> None:
self.table = table
self.function = function
self.data = data
super().__init__(f'Could not update in {table} with {function}. Query data was {data}') | class Sqlinserterror(Exception):
def __init__(self, object, table: str) -> None:
self.object = object
self.table = table
super().__init__(f'Could not insert {object.__repr__()} in {table}.')
class Sqlselecterror(Exception):
def __init__(self, table: str, function: str, data=None) -> None:
self.table = table
self.function = function
self.data = data
super().__init__(f'Could not select in {table} with {function}. Query data was {data}')
class Sqldeleteerror(Exception):
def __init__(self, table: str, function: str, data=None) -> None:
self.table = table
self.function = function
self.data = data
super().__init__(f'Could not delete in {table} with {function}. Query data was {data}')
class Sqlupdateerror(Exception):
def __init__(self, table: str, function: str, data=None) -> None:
self.table = table
self.function = function
self.data = data
super().__init__(f'Could not update in {table} with {function}. Query data was {data}') |
# -*- coding: utf-8 -*-
MONGO_CONFIG = {
'host': '47.93.9.48',
'port': 27017,
'user': 'root',
'pwd': 'Yunxi20191231'
}
chrome_driver_path = '/usr/local/bin/chromedriver'
sogou_wechat_url = 'https://weixin.sogou.com' | mongo_config = {'host': '47.93.9.48', 'port': 27017, 'user': 'root', 'pwd': 'Yunxi20191231'}
chrome_driver_path = '/usr/local/bin/chromedriver'
sogou_wechat_url = 'https://weixin.sogou.com' |
# coding: utf-8
# Distributed under the terms of the MIT License.
class AppModel(object):
def __init__(self):
pass
def __run__(self):
pass
| class Appmodel(object):
def __init__(self):
pass
def __run__(self):
pass |
def find_first_invalid(numbers):
for k in range(25, len(numbers)):
if not any(
numbers[i] + numbers[j] == numbers[k]
for i in range(k - 25, k)
for j in range(i + 1, k)
):
return numbers[k]
with open("input.txt", 'r', encoding="utf-8") as file:
inp = list(map(int, file))
print(find_first_invalid(inp))
| def find_first_invalid(numbers):
for k in range(25, len(numbers)):
if not any((numbers[i] + numbers[j] == numbers[k] for i in range(k - 25, k) for j in range(i + 1, k))):
return numbers[k]
with open('input.txt', 'r', encoding='utf-8') as file:
inp = list(map(int, file))
print(find_first_invalid(inp)) |
"""
You are given the root node of a binary search tree (BST).
You need to write a function that returns the sum of values of all the nodes with a value between lower and upper (inclusive).
The BST is guaranteed to have unique values.
"""
# Binary trees are already defined with this interface:
# class Tree(object):
# def __init__(self, x):
# self.value = x
# self.left = None
# self.right = None
def csBSTRangeSum(root, lower, upper):
res = 0
stack = [root]
while(len(stack) > 0):
c_node = stack.pop()
if(c_node.value <= upper and c_node.value >= lower):
res += c_node.value
if(c_node.left != None):
if(c_node.value >= lower):
stack.append(c_node.left)
if(c_node.right != None):
if(c_node.value <= upper):
stack.append(c_node.right)
return res | """
You are given the root node of a binary search tree (BST).
You need to write a function that returns the sum of values of all the nodes with a value between lower and upper (inclusive).
The BST is guaranteed to have unique values.
"""
def cs_bst_range_sum(root, lower, upper):
res = 0
stack = [root]
while len(stack) > 0:
c_node = stack.pop()
if c_node.value <= upper and c_node.value >= lower:
res += c_node.value
if c_node.left != None:
if c_node.value >= lower:
stack.append(c_node.left)
if c_node.right != None:
if c_node.value <= upper:
stack.append(c_node.right)
return res |
class Solution:
def addStrings(self, num1: str, num2: str) -> str:
res = ''
add_on = 0
i, j = len(num1) - 1, len(num2) - 1
while i != -1 or j != -1:
if i != -1 and j != -1:
digit_sum = int(num1[i]) + int(num2[j]) + add_on
i -= 1
j -= 1
elif i != -1 and j == -1:
digit_sum = int(num1[i]) + add_on
i -= 1
else:
digit_sum = int(num2[j]) + add_on
j -= 1
res += str(digit_sum % 10)
add_on = digit_sum // 10
if add_on != 0:
res += '1'
## return the reversed string
return res[::-1] | class Solution:
def add_strings(self, num1: str, num2: str) -> str:
res = ''
add_on = 0
(i, j) = (len(num1) - 1, len(num2) - 1)
while i != -1 or j != -1:
if i != -1 and j != -1:
digit_sum = int(num1[i]) + int(num2[j]) + add_on
i -= 1
j -= 1
elif i != -1 and j == -1:
digit_sum = int(num1[i]) + add_on
i -= 1
else:
digit_sum = int(num2[j]) + add_on
j -= 1
res += str(digit_sum % 10)
add_on = digit_sum // 10
if add_on != 0:
res += '1'
return res[::-1] |
def sort_by_key(my_list=[], keys=[]):
"""
Reorder your list ASC/DESC based on multiple keys
Parameters:
:param (list) my_list: list of objects you want to order
[{'code': 'beta', 'number': 3}, {'code': 'delta', 'number': 2}]
:param (list) keys: list of dict keys and direction to order.
eg: [{'code': 'desc'}, {'number': 'asc'}]
Returns:
:return (list) my_list: your list reordered
"""
if keys:
data_keys = parse_keys(keys)
first = data_keys[0]
remaining = data_keys[1:]
current_key = list(first.keys())[0]
first_value = list(first.values())[0]
presorted_list = sort_by_key(my_list, remaining)
return sorted(presorted_list, key=lambda row: row[current_key], reverse=first_value)
else:
return my_list
def parse_keys(keys):
data = []
if type(keys) == list:
for i in keys:
for e in i:
if type(i[e]) == bool:
value = i[e]
elif type(i[e]) == int:
value = True if i[e] > 0 else False
else:
value = True if i[e].lower() == 'desc' else False
data.append({e: value})
else:
data = keys
return data
def sort_by_key_desc(my_list=[], keys=[]):
"""
Reorder your list DESC based on multiple keys
Parameters:
:param (list) my_list: list of objects you want to order
[{'code': 'beta', 'number': 3}, {'code': 'delta', 'number': 2}]
:param (list) keys: list of keys and direction to order.
eg: ['code', 'number']
Returns:
:return (list) my_list: your list reordered
"""
if keys:
first = keys[0]
remaining = keys[1:]
presorted_list = sort_by_key_desc(my_list, remaining)
return sorted(presorted_list, key=lambda row: row[first], reverse=True)
else:
return my_list
def sort_by_key_asc(my_list=[], keys=[]):
"""
Reorder your list ASC based on multiple keys
Parameters:
:param (list) my_list: list of objects you want to order
[{'code': 'beta', 'number': 3}, {'code': 'delta', 'number': 2}]
:param (list) keys: list of keys and direction to order.
eg: ['code', 'number']
Returns:
:return (list) my_list: your list reordered
"""
if keys:
first = keys[0]
remaining = keys[1:]
presorted_list = sort_by_key_asc(my_list, remaining)
return sorted(presorted_list, key=lambda row: row[first], reverse=False)
else:
return my_list
| def sort_by_key(my_list=[], keys=[]):
"""
Reorder your list ASC/DESC based on multiple keys
Parameters:
:param (list) my_list: list of objects you want to order
[{'code': 'beta', 'number': 3}, {'code': 'delta', 'number': 2}]
:param (list) keys: list of dict keys and direction to order.
eg: [{'code': 'desc'}, {'number': 'asc'}]
Returns:
:return (list) my_list: your list reordered
"""
if keys:
data_keys = parse_keys(keys)
first = data_keys[0]
remaining = data_keys[1:]
current_key = list(first.keys())[0]
first_value = list(first.values())[0]
presorted_list = sort_by_key(my_list, remaining)
return sorted(presorted_list, key=lambda row: row[current_key], reverse=first_value)
else:
return my_list
def parse_keys(keys):
data = []
if type(keys) == list:
for i in keys:
for e in i:
if type(i[e]) == bool:
value = i[e]
elif type(i[e]) == int:
value = True if i[e] > 0 else False
else:
value = True if i[e].lower() == 'desc' else False
data.append({e: value})
else:
data = keys
return data
def sort_by_key_desc(my_list=[], keys=[]):
"""
Reorder your list DESC based on multiple keys
Parameters:
:param (list) my_list: list of objects you want to order
[{'code': 'beta', 'number': 3}, {'code': 'delta', 'number': 2}]
:param (list) keys: list of keys and direction to order.
eg: ['code', 'number']
Returns:
:return (list) my_list: your list reordered
"""
if keys:
first = keys[0]
remaining = keys[1:]
presorted_list = sort_by_key_desc(my_list, remaining)
return sorted(presorted_list, key=lambda row: row[first], reverse=True)
else:
return my_list
def sort_by_key_asc(my_list=[], keys=[]):
"""
Reorder your list ASC based on multiple keys
Parameters:
:param (list) my_list: list of objects you want to order
[{'code': 'beta', 'number': 3}, {'code': 'delta', 'number': 2}]
:param (list) keys: list of keys and direction to order.
eg: ['code', 'number']
Returns:
:return (list) my_list: your list reordered
"""
if keys:
first = keys[0]
remaining = keys[1:]
presorted_list = sort_by_key_asc(my_list, remaining)
return sorted(presorted_list, key=lambda row: row[first], reverse=False)
else:
return my_list |
# -*- mode: python; -*-
# Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Author: jasonstredwick@google.com (Jason Stredwick)
"""Utility rules for building extension bundles.
Before you use any functions from this file, include the following
line in your BUILD file.
subinclude('//testing/chronos/bite/builddefs:BUILD.bundle')
Usage example:
MIMIC_SRC = '//experimental/users/jasonstredwick/mimic/mimic'
BUNDLE_ENTRIES = [
# Mimic JavaScript entries.
FilesetEntry(srcdir = MIMIC_SRC + ':BUILD',
destdir = 'chrome/content',
files = [ ':javascript_files' ],
),
# Extension resources.
FilesetEntry(files =
glob([ 'chrome/**' ]) +
[ 'chrome.manifest', 'install.rdf' ]
),
]
# Generated rules: mimic_soft_rule and mimic_soft
# Generated output: mimic_soft and mimic (both directories)
GenBundle('mimic', BUNDLE_ENTRIES)
# Generated rule: mimic_xpi_rule
# Generated output: mimic.xpi
GenXPI('mimic', [ ':mimic_soft' ])
Dependency example:
BOTS_PKG = '//testing/chronos/appcompat/extension'
EXTENSION_ENTRIES = [
# Grab the extension bundle for Bots AppCompat.
FilesetEntry(srcdir = BOTS_PKG' + :bundle_soft',
destdir = 'extension',
),
]
MIMIC_PKG = '//experimental/users/jasonstredwick/mimic'
FF35_ENTRIES = EXTENSION_ENTRIES + [
# Grab the extension bundle for firefox3_5 mimic package.
FilesetEntry(srcdir = MIMIC_PKG + '/firefox3_5:mimic_soft'),
]
# Generated rules: mimic_ff35_soft_rule and mimic_ff35_soft
# Generated output: mimic_ff35_soft and mimic_ff35 (both directories)
GenBundle('mimic_ff35', FF35_ENTRIES)
"""
def GenBundle(base_name, fileset_entries):
"""Generate directories containing unpacked extensions.
This function will generate two rules:
[base_name]_soft_rule and [base_name]_rule.
The rules created by this function generate folders using the given list
of FilesetEntries. The soft rule will generate a folder containing only
symbolic links to its files while the other rule will generate a folder
containing the actual files.
The second version is necessary because the Fileset only outputs symlinks,
and Chrome can't load unpacked extensions that contain symbolically linked
files. Also note that the second rule can not run on forge because forge
can not create and return entire folders to the client.
Args:
base_name - The name used to create the directories.
fileset_entries - A list of FilesetEntry.
"""
soft_rule_name = base_name + 'soft_rule'
hard_rule_name = base_name + '_rule'
soft_output = base_name + '_soft'
hard_output = base_name
Fileset(name = soft_rule_name,
out = soft_output,
entries = fileset_entries,
)
genrule(name = hard_rule_name,
srcs = [ ':' + soft_output ],
outs = [ hard_output ],
output_to_bindir = 1,
cmd = 'cp -rfL $(SRCS) $(OUTS)',
local = 1,
)
def GenXPI(base_name, target_srcs):
"""Generate an xpi file for the specified extension.
Create the extension bundle (.xpi) for Firefox. Just drag and drop the file
onto the FireFox browser to install it. The generated filename will be
[base_name].xpi and the rule is [base_name]_xpi_rule
Args:
base_name - The base name for the xpi file.
target_srcs - A list containing the package:rules to be compressed.
"""
rule_name = base_name + '_xpi_rule'
output = base_name + '.xpi'
genrule(name = rule_name,
srcs = target_srcs,
outs = [ output ],
output_to_bindir = 1,
cmd = 'cp -rfL $(SRCS) temp; cd temp; zip -r ../$(OUTS) *',
local = 1,
)
| """Utility rules for building extension bundles.
Before you use any functions from this file, include the following
line in your BUILD file.
subinclude('//testing/chronos/bite/builddefs:BUILD.bundle')
Usage example:
MIMIC_SRC = '//experimental/users/jasonstredwick/mimic/mimic'
BUNDLE_ENTRIES = [
# Mimic JavaScript entries.
FilesetEntry(srcdir = MIMIC_SRC + ':BUILD',
destdir = 'chrome/content',
files = [ ':javascript_files' ],
),
# Extension resources.
FilesetEntry(files =
glob([ 'chrome/**' ]) +
[ 'chrome.manifest', 'install.rdf' ]
),
]
# Generated rules: mimic_soft_rule and mimic_soft
# Generated output: mimic_soft and mimic (both directories)
GenBundle('mimic', BUNDLE_ENTRIES)
# Generated rule: mimic_xpi_rule
# Generated output: mimic.xpi
GenXPI('mimic', [ ':mimic_soft' ])
Dependency example:
BOTS_PKG = '//testing/chronos/appcompat/extension'
EXTENSION_ENTRIES = [
# Grab the extension bundle for Bots AppCompat.
FilesetEntry(srcdir = BOTS_PKG' + :bundle_soft',
destdir = 'extension',
),
]
MIMIC_PKG = '//experimental/users/jasonstredwick/mimic'
FF35_ENTRIES = EXTENSION_ENTRIES + [
# Grab the extension bundle for firefox3_5 mimic package.
FilesetEntry(srcdir = MIMIC_PKG + '/firefox3_5:mimic_soft'),
]
# Generated rules: mimic_ff35_soft_rule and mimic_ff35_soft
# Generated output: mimic_ff35_soft and mimic_ff35 (both directories)
GenBundle('mimic_ff35', FF35_ENTRIES)
"""
def gen_bundle(base_name, fileset_entries):
"""Generate directories containing unpacked extensions.
This function will generate two rules:
[base_name]_soft_rule and [base_name]_rule.
The rules created by this function generate folders using the given list
of FilesetEntries. The soft rule will generate a folder containing only
symbolic links to its files while the other rule will generate a folder
containing the actual files.
The second version is necessary because the Fileset only outputs symlinks,
and Chrome can't load unpacked extensions that contain symbolically linked
files. Also note that the second rule can not run on forge because forge
can not create and return entire folders to the client.
Args:
base_name - The name used to create the directories.
fileset_entries - A list of FilesetEntry.
"""
soft_rule_name = base_name + 'soft_rule'
hard_rule_name = base_name + '_rule'
soft_output = base_name + '_soft'
hard_output = base_name
fileset(name=soft_rule_name, out=soft_output, entries=fileset_entries)
genrule(name=hard_rule_name, srcs=[':' + soft_output], outs=[hard_output], output_to_bindir=1, cmd='cp -rfL $(SRCS) $(OUTS)', local=1)
def gen_xpi(base_name, target_srcs):
"""Generate an xpi file for the specified extension.
Create the extension bundle (.xpi) for Firefox. Just drag and drop the file
onto the FireFox browser to install it. The generated filename will be
[base_name].xpi and the rule is [base_name]_xpi_rule
Args:
base_name - The base name for the xpi file.
target_srcs - A list containing the package:rules to be compressed.
"""
rule_name = base_name + '_xpi_rule'
output = base_name + '.xpi'
genrule(name=rule_name, srcs=target_srcs, outs=[output], output_to_bindir=1, cmd='cp -rfL $(SRCS) temp; cd temp; zip -r ../$(OUTS) *', local=1) |
class Matrix(object):
def __init__(self, matrix_string):
self.matrix = []
rows = matrix_string.splitlines()
for row in rows:
self.matrix.append([int(num) for num in row.split()])
def row(self, index):
return self.matrix[index - 1]
def column(self, index):
return [row[index - 1] for row in self.matrix]
| class Matrix(object):
def __init__(self, matrix_string):
self.matrix = []
rows = matrix_string.splitlines()
for row in rows:
self.matrix.append([int(num) for num in row.split()])
def row(self, index):
return self.matrix[index - 1]
def column(self, index):
return [row[index - 1] for row in self.matrix] |
# coding ~utf-8
"""
Author: Louai KB
Binary tree classes to implement the Huffman Binary Tree for the compression process.
"""
class TreeNode:
"""This class implements the nodes of the tree"""
def __init__(self, data : any, character:str=None) -> None:
"""Constructor of our TreeNode class
Args:
data (any): data of our tree node
character(str): the character for the leaf; None by default.
"""
self.right_child = None
self.left_child = None
self.data = data
self.character = character
def __str__(self) -> str:
""" Prints a string representation of our tree Node
as the newick format (left child [character] : right child [character])father node
Returns:
str: string representation
"""
if self.right_child is None and self.left_child is None:
return str(self.data)
return "(%s [%s]: %s [%s]) : %s" % (str(self.left_child),
self.left_child.character,
str(self.right_child),
self.right_child.character,
str(self.data))
def is_leaf(self) -> bool:
""" a method to check whether a node is a leaf or not.
a leaf has no left child nor right child.
Returns:
bool: True if it's leaf False otherwise.
"""
return self.left_child is None and self.right_child is None
class Tree:
"""This class represents the binary tree"""
def __init__(self, node : TreeNode) -> None:
"""Constructor of our Tree Class
Args:
node (TreeNode): the root node of the tree
"""
self.node = node
self.encoder = {}
def number_of_leafs(self, node : TreeNode) -> int:
""" a recursive method to compute the number of leafs of a binary tree
Returns:
[int]: number of leafs
"""
if node is None:
return 0
if node.left_child is None and node.right_child is None:
return 1
return self.number_of_leafs(node.left_child) + self.number_of_leafs(node.right_child)
| """
Author: Louai KB
Binary tree classes to implement the Huffman Binary Tree for the compression process.
"""
class Treenode:
"""This class implements the nodes of the tree"""
def __init__(self, data: any, character: str=None) -> None:
"""Constructor of our TreeNode class
Args:
data (any): data of our tree node
character(str): the character for the leaf; None by default.
"""
self.right_child = None
self.left_child = None
self.data = data
self.character = character
def __str__(self) -> str:
""" Prints a string representation of our tree Node
as the newick format (left child [character] : right child [character])father node
Returns:
str: string representation
"""
if self.right_child is None and self.left_child is None:
return str(self.data)
return '(%s [%s]: %s [%s]) : %s' % (str(self.left_child), self.left_child.character, str(self.right_child), self.right_child.character, str(self.data))
def is_leaf(self) -> bool:
""" a method to check whether a node is a leaf or not.
a leaf has no left child nor right child.
Returns:
bool: True if it's leaf False otherwise.
"""
return self.left_child is None and self.right_child is None
class Tree:
"""This class represents the binary tree"""
def __init__(self, node: TreeNode) -> None:
"""Constructor of our Tree Class
Args:
node (TreeNode): the root node of the tree
"""
self.node = node
self.encoder = {}
def number_of_leafs(self, node: TreeNode) -> int:
""" a recursive method to compute the number of leafs of a binary tree
Returns:
[int]: number of leafs
"""
if node is None:
return 0
if node.left_child is None and node.right_child is None:
return 1
return self.number_of_leafs(node.left_child) + self.number_of_leafs(node.right_child) |
def mesclaListas(lista1, lista2):
lista1.sort()
lista2.sort()
listaMesclada = []
i = 0
for i in lista2:
if lista1[0] < i:
listaMesclada.append(lista1.pop(0))
for i in lista1:
if lista2[0] < i:
listaMesclada.append(lista2.pop(0))
print(lista1, lista2)
return listaMesclada
lista1 = [int(i) for i in input().split()]
lista2 = [int(i) for i in input().split()]
listaNova = mesclaListas(lista1, lista2)
print(listaNova)
| def mescla_listas(lista1, lista2):
lista1.sort()
lista2.sort()
lista_mesclada = []
i = 0
for i in lista2:
if lista1[0] < i:
listaMesclada.append(lista1.pop(0))
for i in lista1:
if lista2[0] < i:
listaMesclada.append(lista2.pop(0))
print(lista1, lista2)
return listaMesclada
lista1 = [int(i) for i in input().split()]
lista2 = [int(i) for i in input().split()]
lista_nova = mescla_listas(lista1, lista2)
print(listaNova) |
def multBy3(x):
return x*3
def add5(y):
return y+5
def applyfunc(f, g, p):
return f(p), g(p)
print(applyfunc(multBy3, add5, 3))
def returnArgsAsList(das, *lis):
print(lis)
print(das)
returnArgsAsList(2, 1,2,3,5,6,'byn') | def mult_by3(x):
return x * 3
def add5(y):
return y + 5
def applyfunc(f, g, p):
return (f(p), g(p))
print(applyfunc(multBy3, add5, 3))
def return_args_as_list(das, *lis):
print(lis)
print(das)
return_args_as_list(2, 1, 2, 3, 5, 6, 'byn') |
class Field:
def __init__(self, name, encoder, decoder):
assert name and isinstance(name, str)
assert encoder and callable(encoder)
assert decoder and callable(decoder)
self.name = name
self.encoder = encoder
self.decoder = decoder
| class Field:
def __init__(self, name, encoder, decoder):
assert name and isinstance(name, str)
assert encoder and callable(encoder)
assert decoder and callable(decoder)
self.name = name
self.encoder = encoder
self.decoder = decoder |
class StickSymbolLocation(Enum, IComparable, IFormattable, IConvertible):
"""
Indicates the stick symbol location on the UI,which is used for the BuiltInParameter STRUCTURAL_STICK_SYMBOL_LOCATION.
enum StickSymbolLocation,values: StickViewBottom (2),StickViewCenter (0),StickViewLocLine (3),StickViewTop (1)
"""
def __eq__(self, *args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self, *args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self, *args):
pass
def __gt__(self, *args):
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __le__(self, *args):
pass
def __lt__(self, *args):
pass
def __ne__(self, *args):
pass
def __reduce_ex__(self, *args):
pass
def __str__(self, *args):
pass
StickViewBottom = None
StickViewCenter = None
StickViewLocLine = None
StickViewTop = None
value__ = None
| class Sticksymbollocation(Enum, IComparable, IFormattable, IConvertible):
"""
Indicates the stick symbol location on the UI,which is used for the BuiltInParameter STRUCTURAL_STICK_SYMBOL_LOCATION.
enum StickSymbolLocation,values: StickViewBottom (2),StickViewCenter (0),StickViewLocLine (3),StickViewTop (1)
"""
def __eq__(self, *args):
""" x.__eq__(y) <==> x==yx.__eq__(y) <==> x==yx.__eq__(y) <==> x==y """
pass
def __format__(self, *args):
""" __format__(formattable: IFormattable,format: str) -> str """
pass
def __ge__(self, *args):
pass
def __gt__(self, *args):
pass
def __init__(self, *args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __le__(self, *args):
pass
def __lt__(self, *args):
pass
def __ne__(self, *args):
pass
def __reduce_ex__(self, *args):
pass
def __str__(self, *args):
pass
stick_view_bottom = None
stick_view_center = None
stick_view_loc_line = None
stick_view_top = None
value__ = None |
def valid(triangle):
big = max(triangle)
return big < sum(triangle) - big
def part1(triangles):
return sum(map(valid, triangles))
def group(n, it):
return zip(*[iter(it)]*n)
def transpose(it):
return zip(*it)
def part2(triangles):
triangles = group(3, triangles)
triangles = (t for group in triangles for t in transpose(group))
return sum(map(valid, triangles))
def main(inputs):
print("Day 03")
triangles = [tuple(map(int, line.split())) for line in inputs]
A = part1(triangles)
print(f"{A=}")
B = part2(triangles)
print(f"{B=}")
| def valid(triangle):
big = max(triangle)
return big < sum(triangle) - big
def part1(triangles):
return sum(map(valid, triangles))
def group(n, it):
return zip(*[iter(it)] * n)
def transpose(it):
return zip(*it)
def part2(triangles):
triangles = group(3, triangles)
triangles = (t for group in triangles for t in transpose(group))
return sum(map(valid, triangles))
def main(inputs):
print('Day 03')
triangles = [tuple(map(int, line.split())) for line in inputs]
a = part1(triangles)
print(f'A={A!r}')
b = part2(triangles)
print(f'B={B!r}') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.