content
stringlengths
7
1.05M
# 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", }
""" 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
# Exercício Python 24: Crie um programa que leia o nome de uma cidade diga se ela começa ou não com o nome “SANTO”. cidade = input("Digite o nome da cidade: ") cid = cidade.strip() cid = cid[:5] print(cid.lower() == "santo")
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
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
# # 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)
# Write a function called “isOldEnoughToDrive”. # Given a number, in this case an age, “isOldEnoughToDrive” returns whether a person of this given age is old enough to legally drive in the United States. # Notes: # The legal driving age in the United States is 16. def is_old_enough_to_drive(age): if age >= 16: return True elif age < 16: return False print(is_old_enough_to_drive(23)) # Expect true print(is_old_enough_to_drive(16)) # Expect true print(is_old_enough_to_drive(15)) # Expect false
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, }
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"}]
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))
#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] '''
class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def mergeKLists(self, lists: [ListNode]): nums = [] for node in lists: while node is not None: nums.append(node.val) node = node.next nums.sort() # 链表处理 answer = ListNode(0) now = answer for num in nums: new_temp = ListNode(num) now.next = new_temp now = now.next return answer.next instance = Solution()
"""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')
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
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
def Owl(thoughts, eyes, eye, tongue): return f""" {thoughts} {thoughts} ___ (o o) ( V ) /--m-m- """
""" 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
langversion = 1 langname = "Italiano" ##updater # text construct: "Version "+version+available+changelog #example: Version 3 available, click here to download, or for changelog click here available = " disponibile, clicca qui per scaricare" changelog = ", o clicca qui per il changelog" ##world gen worldify = "Da Immagine" planetoids = "Planetoidi e Terre" arena = "Dungeon Arena" flat = "Mondo Piatto" new = "Nuovo Mondo:" ##mainmenu #omnitool settings = "Impostazioni" report_issue = "Report Issue" exit = "Esci" #start start = "Avvia" terraria = "Terraria" steamfree = "Terraria Gratis" #open open = "Apri" imagefolder = "Immagini dei Mondi" backupfolder = "Backup dei Mondi" themes = "Temi OmniTool" #visit visit = "Visita" donate = "Dona" homepage = "Omnitool" TO = "Terraria Online" wiki = "Terraria Wiki" ##world thumbnail label = "Mondo: " ##settings menu warning = "Il programma deve essere riavviato perché i cambiamenti abbiano effetto" none = "Nessuno" tiny = "Minuscolo" #unused small = "Piccolo" medium = "Medio" large = "Grande" very_large = "XXL" theme_select = "Seleziona Tema:" thumbsize = "Dimensione Thumbnail del Mondo:" mk_backups = "Fai Backup:" world_columns = "Colonne del Mondo:" ##world interaction menu wa_worldactionmenu = "Azione per {}:" wa_imageopen = "Apri Immagine" wa_renderopen = "Renderizza Mondo" wa_teditopen = "Apri in TEdit" wa_update = "Aggiorna Immagine" wa_super = "Genera Super-Immagine" ##planetoids & terra pt_start = 'Avvia generazione!' pt_name = "Nome: " pt_mode = "Modalità: " pt_small = "Planetoidi piccoli" pt_medium = "Planetoidi medi" pt_large = "Planetoidi grandi" pt_square = "Planetoidi quadrati" pt_both = "Planetoidi e Terre grandi" pt_square_terra = "Terra quadrata" pt_start_sel = "Avvia: " pt_morning = "Mattina" pt_day = "Giorno" pt_night = "Notte" pt_bloodmoon = "Luna di Sangue" pt_extras = "Extra: " pt_sun = "Sole: " pt_atlantis = "Atlantide: " pt_merchant = "Mercante: " pt_lloot = "Meno Bottino: " pt_mirror = "Modalità Speculare: " pt_pre = "Prefissi Oggetto: " ##worldify w_start = "Avvia mondificazione!" w_cont = "Continua" w_name = "Nome: " w_rgb = "RGB" w_hsv = "HSV appesantito" w_method = "Metodo: " w_priority = "Selezione prioritaria" w_hue = "Colore: " w_saturation = "Saturazione: " w_brightness = "Luminosità: " ##arena a_start = "Avvia generazione!" a_name = "Nome: " a_rooms = "Stanze: " a_sidelen = "Lunghezza stanza: " a_corlen = "Lunghezza corridoio: " a_chest = "Cassa: " a_itemchest = "Oggetti per cassa: " a_light = "Illuminazione: " a_chances = "Stanze possibili: " a_standard = "Standard: " a_cross = "Corridoio a croce: " ##torch at_chances = "Colori possibili:" at_full = "Spettro completo" at_blue = "Blu" at_red = "Rosso" at_green = "Verde" at_pink = "Demoniaco" at_white = "Bianco" at_yellow = "Giallo" at_purple = "Viola" at_lime = "Maledetto" ##plugins pl_start = "Avvia estensione" pl_rec = "Seleziona il mondo da ricevere" pl_mod = "Seleziona il mondo da modificare" pl_trans = "Seleziona due mondi da usare per il trasferimento" pl_trans_source = "Sorgente" pl_trans_target = "Obiettivo" ##flatworld fw_size = "Dimensione del mondo:" fw_tiny = "minuscolo" fw_square = "quadrato" fw_small = "piccolo" fw_medium = "medio" fw_large = "grande" fw_tile = "Tipo di mattonelle:" fw_wall = "Tipo di muri:" fw_surf = "Tipo di superficie:"
""" 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")
''' 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)
# @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)
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). """
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)
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. # Possible roles of an agent during task NO_ROLE = 0 WIZARD = 1 APPRENTICE = 2 IN_TRAINING = 10 WIZARD_IN_TRAINING = WIZARD + IN_TRAINING APPRENTICE_IN_TRAINING = APPRENTICE + IN_TRAINING # The role_id to role_name mapping ROLE_NAMES = {WIZARD: 'Wizard', APPRENTICE: 'Apprentice'} # The keys to get agent qualification data from opt. SAVED_DATA_WORKER_KEY = 'worker' SAVED_DATA_IS_WIZARD_KEY = 'is_wizard' SAVED_DATA_ROLE_QUALIFICATION_DATA_KEY = 'qualification_dict' ROLE_QUALIFICATION_NAME_KEY = 'role_qname' # OnBoardingSteps # NOTE: Make sure these number are consistent with OnboardingSteps, # as they are defined in the SidePane.jsx frontend file. ONBOARDING_STEPS = { 'NOT_ONBOARDING': 0, 'CHAT_INTERFACE': 1, 'TRY_SEARCH': 2, 'PERSONA_WIZARD': 3, 'PERSONA_APPRENTICE': 4, 'WAITING': 10, } # Name of (bot)agents involved in the task world ONBOARDING_AGENT = 'OnboardingBot' PERSONA_AGENT = 'PersonaAgent' SEARCH_AGENT = 'SearchAgent' COORDINATOR_AGENT = 'Coordinator' # NOTE: do not forget to change ONBOARDING_PERSONA_KEYWORDS below if changing ONBOARDING_PERSONA. # During the onboarding we are checking for worker responses to have sufficient overlap with the # list of words in ONBOARDING_PERSONA_KEYWORDS, to ensure they are talking about something relevant # to the persona topic. Thus, changing ONBOARDING_PERSONA means you need to come up with a relevant # list of keywords for it in ONBOARDING_PERSONA_KEYWORDS. ONBOARDING_PERSONA = 'I do yoga on beach every morning.' # The keywords related to the Onboarding Persona ONBOARDING_PERSONA_KEYWORDS = ( 'beach', 'exercise', 'gym', 'healthy', 'lake', 'meditat', 'morning', 'ocean', 'outdoor', 'peace', 'pose', 'relax', 'sea', 'sport', 'stress', 'sunrise', 'yoga', ) # The wait time in seconds to allow the agents read the instructions during the onboarding. # After this, we allow them to continue after a small action (for example, type anything). # The keys are the onboarding tutorial step; values are the wait times corresponding to that. TUTORIAL_WAIT_TIMES = {'chat-interface': 1, 'persona': 2, 'knowledge': 2} # Constants for checking onboarding work quality WORKER_REJECT_REASON = 'reason_to_reject' MIN_AVG_CHAR_LENGTH_UTTERANCES = 10 MIN_AVG_WORD_LENGTH_UTTERANCES = 5 MIN_NUM_SEARCH_ONBOARDING = 2 MIN_NUM_SELECTED_SENTENCES_ONBOARDING = 2 # A prefix token for curated personas that means this persona requires a location. # We assign a random location (from a list of cities in US) to this persona. PERSONA_NEEDS_LOCATION_TOKEN = '*' PROBABILITY_CHOOSING_TEMPLATE_PERSONA = 0.7 # Number of topics that its items are shown to agent to pick persona CURATED_PERSONA_CHOICES = 3 TEMPLATE_PERSONAS_CHOICES = 2 # Persona template items bundled based on topic TEMPLATE_PERSONAS_TOPICS = [ 'fashion brand,fashion designer,clothing type', 'book,author', 'artist,music band,song,singer', 'tv show,movie,actor,director', 'sports team,athlete', 'hobby,game', 'item to buy,item recently bought', ] PERSONA_EXPANSION_MIN_LEN_CHAR = 20 # Controlling the number of retrieved docs NUM_RETRIEVED_SEARCH_NEWS = 2 NUM_RETRIEVED_SEARCH_DOCS = 5 # The time (in second) for the cached role counts to be considered fresh. # Updating this count requires quering the Database, thus is slow. TALLY_CACHE_TIMEOUT = 10 # Long messages ONBOARDING_WELCOME = ( 'Welcome onboard!\n' 'Here you will have an engaging, ' 'knowledgeable chat with another person. ' 'This is the chat interface you will be using.\n' 'Our interactive tutorial introduces you to the main task. ' 'If you finish all the steps successfully, ' 'and in reasonable time, we redirect you to the main task.\n' 'Please have a friendly chitchat pretending you live in a ' 'world unaffected by covid and recent controversial events.' ) ONBOARDING_ACKNOWLEDGE_UNDERSTOOD = ( 'Please acknowledge that this is clear ' 'in your response message ' '(for example, type \'I understand.\' in response.)' ) FINISHED_ONBOARDING = ( 'Good job, you now know how this task works!\n' 'You can check the task instructions on the left at any time ' 'during the task. Please wait while we pair ' 'you with another participant.' ) WIZARD_INTRODUCE_KNOWLEDGE = ( 'During this chat you must pretend that you are a knowledgeable ' 'entity with conversational ability rather than a human being ' '(imagine a digital friend on a smartphone).' 'So you can talk about the world, but your character is NOT able to ' 'engage in physical activities such as sport activities or eating.' ) WIZARD_INTRODUCE_SEARCH = ( 'We will provide a search bar for you ' 'to look up useful knowledge about topics that interest ' 'your chat partner during the conversation.\n' 'You may try search as many times as you may like ' 'to find useful information that helps you craft ' 'engaging and informative messages.\n' 'Please conduct a natural conversation and avoid copy/paste.' ) WIZARD_TRY_SEARCH = ( 'See the blinking area (in the left panel) ' 'for the search bar you will be using during this task. ' 'During the task, when you use this search bar, ' 'it will bring up a number of articles from the internet. ' 'You can click on an article to show ' 'it\'s content, that is split into sentences. ' 'Use information from these sentences ' 'to have an informed conversation.\n\n' 'When you use knowledge from one or more sentences, ' 'please select them (click the checkbox next to those ' 'sentences) before sending your message.\n' 'If you do not use any knowledge from search results, ' 'select the checkbox for ' '"Did not use search results for this message."\n\n' 'Now try out the search functionality to ' 'craft a message with information on a topic of your choise ' '(Yoga, sushi, Star wars, anything you choose). ' 'Here are the steps :\n' ' 1- use the bar to search.\n' ' 2- check the search results for finding useful information.\n' ' 3- write your message using knowledge you find in the search results.\n' ' 4- make sure you select the checkmark for sentences you used.\n' ' 5- send the message.' ) WIZARD_INTRODUCE_APPRENTICE_PERSONA = ( 'You can see your partner\'s assigned persona ' 'description in the left pane (see the blinking box). ' 'The purpose of the task is to have an in-depth conversation ' 'with your chat partner about THEIR assigned interests.\n' 'It is very important to keep in mind that this is a chitchat: ' 'unless it is necessary, do NOT bring up random facts in the middle of conversation. ' 'For example, if your chat partner likes a music band ' 'do not keep talking about band members names or birthdays.\n\n' 'Use your search bar on the left and craft a message ' 'that interests your partner, based on their persona, ' 'using information you find on internet.\n' 'Don\'t forget to select the sentences from the ' 'search results that helped you craft that message.' ) WIZARD_PERSONA_EMPHASIZE = ( 'Don\'t forget the focus of this conversation is the interests of your partner (not you). ' 'Do NOT talk about yourself or your interests and activities; ' 'talk about theirs (you will see their interests in the blue box in the left panel). ' 'Have an engaging and knowledgeable chitchat 😀, but avoid sending random or boring facts about the topic. ' 'For example, if your partner likes Mount Everest, DO NOT say things such as ' '"Did you know Mount Everest is Earth\'s highest mountain." or ' '"Its elevation is 8,848.86 meters from the sea level" as this is dull. 😒' ) WIZARD_STARTING_INSTRUCTION = ( 'Please begin the conversation ' 'by discussing one of your partner’s interests. ' 'For example, if your partner likes tennis, ' 'you might discuss whether Roger Federer is better than Rafael Nadal.' ) APPRENTICE_INTRODUCE_PERSONA = ( 'At the beginning of this task we will ask you to ' 'choose a persona for yourself. ' 'We keep your selected persona in the left pane ' '(See the example persona inside the blinking box).\n' 'During this chat you play the role of someone with that persona. ' 'The purpose of the task is to have ' 'an in-depth conversation with your chat partner ' 'about the interests of someone with your assigned persona.' ) APPRENTICE_INTRODUCE_WIZARD = ( 'Imagine your chat partner is a non-human entity ' 'you can chat to, for example a digital friend living inside ' 'your phone. So you can ask their opinion about the world, ' 'but they are not able to do physical activities, ' 'such as playing basketball or eating. Don\'t forget that ' 'the conversation should focus on the interests ' 'of the persona that you play during this task.' ) APPRENTICE_INTRODUCE_WIZARD_KNOWLEDGE = ( 'Your chat partner has extensive knowledge ' 'about many things, and access to lots of information.\n' 'Your partner will strive to enlighten you ' 'about your topics of interest, according to your persona. ' 'Feel free to dive deep discussing these topics.' ) APPRENTICE_PERSONA_ROLE_INSTRUCTION = ( 'Let\'s assume you are in the main task and you ' 'have the example persona that we show now ' '(blue box on the left). ' 'Please say something interesting about ' 'your role\'s persona to continue. ' 'Don\'t forget to assume the role of someone with ' 'that persona for the rest of this task.' ) APPRENTICE_CHITCHAT_INSTRUCTION = ( 'Imagine you are in the main chat. Go ahead and send them a ' 'chitchat message, assuming your assigned persona.' ) APPRENTICE_PERSONA_MSG_INSTRUCTION = ( 'Go ahead and try writing a message ' 'about your example role\'s persona to your partner. ' 'You may even ask them questions if you want.' ) APPRENTICE_CHOOSE_PERSONA_TEMPLATE_REQUEST = ( 'Please use the form below to define a persona for the character that ' 'you will be playing during this task: ' 'use the first two fields in this form to define an interest for ' 'the persona. Then add a sentence to refine it ' 'and to make it more interesting or engaging. ' 'Create an interesting character that you want to play. ' 'Remember that the main topic of conversation should be around ' 'this persona. Be creative and imaginative.' ) APPRENTICE_CHOOSE_CURATED_PERSONA_REQUEST = ( 'Please use the form below to define a persona for the role that ' 'you will be playing during this task: ' 'choose the first characteristic and then add a sentence to refine it ' 'and to make it more interesting or engaging. Remember that ' 'the main topic of conversation should be around this persona. ' 'Be creative and imaginative.\n' 'For example, if you choose "I like swimming", ' 'you may add "I recently won a national medal in Butterfly Stroke".' ) APPRENTICE_STARTING_INSTRUCTION = ( 'Please assume the character of the person you see in the left panel ' '(play that role), and have an engaging conversation. ' 'For example, if your character likes tennis, ' 'you might discuss whether Roger Federer is better than Rafael Nadal.' ) USE_SEARCH_WARNING_MESSAGE = ( 'Please try to use the search bar more often to look up ' 'useful information about the interests of your chat partner.' ) USE_SEARCH_RESULTS_WARNING_MESSAGE = ( 'Make sure you search for finding relevant information, ' 'and select the sentences from search results for ' 'crafting your messages more often.' ) # List of reasons for flagging low quality work. These are common reasons # handled by parlai.crowdsourcing.utils.acceptability.AcceptabilityChecker module ACCEPTABILITY_VIOLATIONS = ( 'all_caps', 'exact_match', 'safety', 'min_words', 'penalize_greetings', )
def countWords(file): wordsCount = 0 with open(file, "r") as f: for line in f: words = line.split() wordsCount += 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}')
# -*- 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'
# coding: utf-8 # Distributed under the terms of the MIT License. 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))
""" 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
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]
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, )
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)
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 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')
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
# # @lc app=leetcode.cn id=547 lang=python3 # # [547] 省份数量 # # https://leetcode-cn.com/problems/number-of-provinces/description/ # # algorithms # Medium (61.46%) # Likes: 503 # Dislikes: 0 # Total Accepted: 118.5K # Total Submissions: 192.9K # Testcase Example: '[[1,1,0],[1,1,0],[0,0,1]]' # # # # 有 n 个城市,其中一些彼此相连,另一些没有相连。如果城市 a 与城市 b 直接相连,且城市 b 与城市 c 直接相连,那么城市 a 与城市 c # 间接相连。 # # 省份 是一组直接或间接相连的城市,组内不含其他没有相连的城市。 # # 给你一个 n x n 的矩阵 isConnected ,其中 isConnected[i][j] = 1 表示第 i 个城市和第 j 个城市直接相连,而 # isConnected[i][j] = 0 表示二者不直接相连。 # # 返回矩阵中 省份 的数量。 # # # # 示例 1: # # # 输入:isConnected = [[1,1,0],[1,1,0],[0,0,1]] # 输出:2 # # # 示例 2: # # # 输入:isConnected = [[1,0,0],[0,1,0],[0,0,1]] # 输出:3 # # # # # 提示: # # # 1 # n == isConnected.length # n == isConnected[i].length # isConnected[i][j] 为 1 或 0 # isConnected[i][i] == 1 # isConnected[i][j] == isConnected[j][i] # # # # # # @lc code=start class Solution: def findCircleNum(self, isConnected: List[List[int]]) -> int: # 并查集 provinces = len(isConnected) parent = [i for i in range(provinces)] def find(index): if parent[index] != index: parent[index] = find(parent[index]) return parent[index] def union(index1,index2): parent[find(index1)] = find(index2) for i in range(provinces): for j in range(i+1,len(isConnected[i])): if isConnected[i][j] == 1: union(i,j) return sum(parent[i] == i for i in range(provinces)) # @lc code=end # def findCircleNum(self, isConnected: List[List[int]]) -> int: # DFS # provinces = len(isConnected) # visited = set() # count = 0 # def dfs(i): # for j in range(provinces): # if isConnected[i][j] == 1 and j not in visited: # visited.add(j) # dfs(j) # for i in range(provinces): # if i not in visited: # dfs(i) # count += 1 # return count # def findCircleNum(self, isConnected: List[List[int]]) -> int: # BFS # provinces = len(isConnected) # visited = set() # count = 0 # que = [] # for i in range(provinces): # if i not in visited: # que.append(i) # while que: # province = que.pop(0) # visited.add(province) # for j in range(len(isConnected[province])): # if isConnected[province][j] == 1 and j not in visited: # que.append(j) # count += 1 # return count
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
# Programa que calcule a integral simbólica de um polinômio dado nesta forma. poly = [0] const = 'c' def getIntegral(coefficients): return [const] + [coefficients[i] / (i + 1) for i in range(0, len(coefficients))] out = getIntegral(poly) print(out)
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=}")
# # This one does a little more then required and handles all types of brackets # def balancedParens(s): stack, opens, closes = [], ['(', '[', '{'], [')', ']', '}'] for c in s: if c in opens: stack.append(c) elif c in closes: try: if opens.index(stack.pop()) != closes.index(c): return False except (ValueError, IndexError): return False return not stack
"""Helper methods for Hijri conversion.""" def jdn_to_ordinal(jdn: int) -> int: """Convert Julian day number (JDN) to date ordinal number. :param jdn: Julian day number (JDN). :type jdn: int """ return jdn - 1721425 def ordinal_to_jdn(n: int) -> int: """Convert date ordinal number to Julian day number (JDN). :param n: Date ordinal number. :type n: int """ return n + 1721425 def jdn_to_rjd(jdn: int) -> int: """Return Reduced Julian Day (RJD) number from Julian day number (JDN). :param jdn: Julian day number (JDN). :type jdn: int """ return jdn - 2400000 def rjd_to_jdn(rjd: int) -> int: """Return Julian day number (JDN) from Reduced Julian Day (RJD) number. :param rjd: Reduced Julian Day (RJD) number. :type rjd: int """ return rjd + 2400000
def f(): print('hello') print('calling f') f()
n, y = map(int, input().split()) y /= 1000 res10, res5, res1 = -1, -1, -1 for a in range(n + 1): if res1 != -1: break for b in range(n - a + 1): c = n - a - b total = 10000 * a + 5000 * b + 1000 * c if total == y: res10, res5, res1 = a, b, c if res1 != -1: break print(str(res10) + " " + str(res5) + " " + str(res1))
# Eingabe ist eine Liste mit Zahlen, es soll augegebenwerden, wie viele Zahlen # größer als ihre Vorgänger sind incr = 0 letzte = int(input()) while True: eingabe = input() if eingabe != '' and eingabe.isdigit(): zahl = int(eingabe) if zahl > letzte: incr += 1 letzte = zahl else: break print(incr)
class Finder: _finders = {} @classmethod def register(cls, finder_class): cls._finders[finder_class.name] = finder_class @classmethod def factory(cls, finder_name, deployment, **args): for name, finder in cls._finders.items(): if name == finder_name: return finder(deployment=deployment, **args) raise RuntimeError(f"Unknown finder: {finder_name}")
message = 'Hello World!' message2 = 'Hello World! \n' number = 32/35 display = message + repr(number) display2 = message + str(number) display3 = message2 + repr(number) print(display) print(display2) print(display3) print(repr(display3))
class Agent(object): def __init__(self): pass def act(self, obs): pass def train(self, replay_buffer, logger, step): pass
print('Welcome to tip calculator') bill = float(input('Enter Your total bill : $')) per_tip = int(input("Enter percentage of tip would you like to give (10,12 or 15): ")) num = int(input("No.of friends that would split the bill : ")) final_bill = round((bill + bill*0.01*per_tip)/num,2) print(f"Each person should pay : ${final_bill}")
class RequiredFieldsError(Exception): def __init__(self, message, is_get=True, abnormal=False, title=None, error_fields=None): super(RequiredFieldsError, self).__init__() self.message = message self.is_get = is_get self.abnormal = abnormal self.title = title self.error_fields = error_fields
_perms_self_read_only = [ { "principal": "SELF", "action": "READ_ONLY" } ] _perms_self_read_write = [ { "principal": "SELF", "action": "READ_WRITE" } ] _perms_self_hide = [ { "principal": "SELF", "action": "HIDE" } ] # a dump of an okta user schema with some example # properties (int, bool) okta_user_schema = { "id": "https://paracelsus.okta.com/meta/schemas/user/default", "$schema": "http://json-schema.org/draft-04/schema#", "name": "user", "title": "User", "description": "Okta user profile template with default permission settings", "lastUpdated": "2019-02-04T14:38:16.000Z", "created": "2018-07-23T08:46:45.000Z", "definitions": { "custom": { "id": "#custom", "type": "object", "properties": { "abool": { "title": "A bool", "description": "A boolean variable", "type": "boolean", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "anint": { "title": "An int", "description": "An integer value", "type": "integer", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, }, }, "base": { "id": "#base", "type": "object", "properties": { "login": { "title": "Username", "type": "string", "required": True, "mutability": "READ_WRITE", "scope": "NONE", "minLength": 5, "maxLength": 100, "pattern": ".+", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "firstName": { "title": "First name", "type": "string", "required": True, "mutability": "READ_WRITE", "scope": "NONE", "minLength": 1, "maxLength": 50, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "lastName": { "title": "Last name", "type": "string", "required": True, "mutability": "READ_WRITE", "scope": "NONE", "minLength": 1, "maxLength": 50, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "middleName": { "title": "Middle name", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "honorificPrefix": { "title": "Honorific prefix", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "honorificSuffix": { "title": "Honorific suffix", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "email": { "title": "Primary email", "type": "string", "required": True, "format": "email", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "title": { "title": "Title", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "displayName": { "title": "Display name", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "nickName": { "title": "Nickname", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "profileUrl": { "title": "Profile Url", "type": "string", "format": "uri", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "secondEmail": { "title": "Secondary email", "type": "string", "format": "email", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "mobilePhone": { "title": "Mobile phone", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "maxLength": 100, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "primaryPhone": { "title": "Primary phone", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "maxLength": 100, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "streetAddress": { "title": "Street address", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "city": { "title": "City", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "state": { "title": "State", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "zipCode": { "title": "Zip code", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "countryCode": { "title": "Country code", "type": "string", "format": "country-code", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "postalAddress": { "title": "Postal Address", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "preferredLanguage": { "title": "Preferred language", "type": "string", "format": "language-code", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "locale": { "title": "Locale", "type": "string", "format": "locale", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "timezone": { "title": "Time zone", "type": "string", "format": "timezone", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "userType": { "title": "User type", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "employeeNumber": { "title": "Employee number", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "costCenter": { "title": "Cost center", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "organization": { "title": "Organization", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "division": { "title": "Division", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "department": { "title": "Department", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "managerId": { "title": "ManagerId", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "manager": { "title": "Manager", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} } }, "required": [ "login", "firstName", "lastName", "email" ] } }, "type": "object", "properties": { "profile": { "allOf": [ { "$ref": "#/definitions/custom" }, { "$ref": "#/definitions/base" } ] } } } okta_groups_list = [ { "id": "group1", "created": "2018-09-13T12:51:16.000Z", "lastUpdated": "2018-10-17T12:00:38.000Z", "lastMembershipUpdated": "2019-01-16T08:48:12.000Z", "objectClass": [ "okta:user_group" ], "type": "OKTA_GROUP", "profile": { "name": "Group One", "description": "" }, "_links": { "logo": [ { "name": "medium", "href": "https://some.logo", "type": "image/png" }, { "name": "large", "href": "https://some_large.logo", "type": "image/png" } ], "users": {"href": "http://okta/api/v1/groups/group1/users"}, "apps": {"href": "http://okta/api/v1/groups/group1/apps"}, } }, { "id": "group2", "created": "2018-09-13T12:51:16.000Z", "lastUpdated": "2018-10-17T12:00:38.000Z", "lastMembershipUpdated": "2019-01-16T08:48:12.000Z", "objectClass": [ "okta:user_group" ], "type": "OKTA_GROUP", "profile": { "name": "Group Two", "description": "" }, "_links": { "logo": [ { "name": "medium", "href": "https://some.logo", "type": "image/png" }, { "name": "large", "href": "https://some_large.logo", "type": "image/png" } ], "users": {"href": "http://okta/api/v1/groups/group2/users"}, "apps": {"href": "http://okta/api/v1/groups/group2/apps"}, } }, { "id": "group3", "created": "2018-09-13T12:51:16.000Z", "lastUpdated": "2018-10-17T12:00:38.000Z", "lastMembershipUpdated": "2019-01-16T08:48:12.000Z", "objectClass": [ "okta:user_group" ], "type": "OKTA_GROUP", "profile": { "name": "Group 3", "description": "" }, "_links": { "logo": [ { "name": "medium", "href": "https://some.logo", "type": "image/png" }, { "name": "large", "href": "https://some_large.logo", "type": "image/png" } ], "users": {"href": "http://okta/api/v1/groups/group3/users"}, "apps": {"href": "http://okta/api/v1/groups/group3/apps"}, } }, ]
n, m = map(int, input().split()) a = list(map(int, input().split())) a.insert(0, 0) for _ in range(m): op, x = map(int, input().split()) if op == 2: l = 2**(x - 1) r = min(n + 1, 2**x) print(' '.join(map(str, a[l:r]))) elif op == 1: t = [] t.append(a[x]) if x * 2 <= n: t.append(a[x * 2]) if x * 2 + 1 <= n: t.append(a[x * 2 + 1]) t.sort(reverse=True) a[x] = t[0] if len(t) >= 2: a[x * 2] = t[1] if len(t) == 3: a[x * 2 + 1] = t[2]
#9. Juan, Raquel y Daniel aportan cantidades de dinero para formar un capital. # Juan y Raquel aportan en dólares y Daniel, en soles. Desarrolle el programa que # determine el capital total en dólares y que porcentaje de dicho capital aporta cada uno. Dólar = S/. 3.00 nuevos soles. j=float(input("Aporte de Juan sera $: ")) r=float(input("Aporte de Raquel sera $: ")) d=float(input("Aporte de Danielsera S/: ")) dolar=3 Daniel=d/dolar suma=round(j+r+Daniel,3) j_p=round(j/suma,4) r_p=round(r/suma,4) Daniel_p=round(Daniel/suma,4) print("El Capital Total en Dolar es:",suma) print("El porcentaje por cada aportante es","Juan:",j_p,"Ranquel:",r_p,"Daniel:",Daniel_p)
#!/usr/bin/env python3 """Extracting IDs from document""" def idExtractor(channelID, document): for key in document: try: if document[key][0] == channelID: return key, document[key][1] except TypeError: continue return
class BaseException(Exception): default_message = None def __init__(self, *args, **kwargs): if not (args or kwargs): args = (self.default_message,) super().__init__(*args, **kwargs) class NotEnoughBallotClaimTickets(BaseException): default_message = 'You do not have enough claim ticket(s) left' class UsedBallotClaimTicket(BaseException): default_message = 'This ballot claim ticket has already been used' class InvalidBallot(BaseException): default_message = 'Invalid ballot' class UnrecognizedNode(BaseException): default_message = 'Node not recognized' class UnknownVoter(BaseException): default_message = 'Voter is not on voter roll'
class APIException(Exception): pass class ADBException(Exception): pass
""" https://leetcode.com/problems/longest-palindromic-subsequence/ Given a string s, find the longest palindromic subsequence's length in s. You may assume that the maximum length of s is 1000. Example 1: Input: "bbbab" Output: 4 One possible longest palindromic subsequence is "bbbb". Example 2: Input: "cbbd" Output: 2 One possible longest palindromic subsequence is "bb". Approach: dp[i][j] represents the longest palindromic subsequence for substring from index i to index j. dp[i][j] = dp[i + 1][j - 1] + 2 if character at i equals character at j. Adding 2 because need to account for adding character at i and character at j. If character at i does not equal character at j, then dp[i][j] is max of dp[i + 1][j] or dp[i][j - 1]. So max of substring starting from incremental start or substring ending one character before. dp[0]0] = 1 Iterate backwards to build palindrome subsequence such that being at 0 will have longest palindrome subsequence to end. """ class Solution(object): def longestPalindromeSubseq(self, s): """ :type s: str :rtype: int """ dp = [] for i in range(len(s)): results = [] for j in range(len(s)): if i == j: results.append(1) else: results.append(0) dp.append(results) for i in range(len(s), -1, -1): for j in range(i + 1, len(s)): if s[i] == s[j]: dp[i][j] = dp[i + 1][j - 1] + 2 else: dp[i][j] = max(dp[i + 1][j], dp[i][j - 1]) return dp[0][len(s) - 1]
MAJOR = 0 MINOR = 1 PATCH = 6 __version__ = '%d.%d.%d' % (MAJOR, MINOR, PATCH)
# # PySNMP MIB module TRAPEZE-NETWORKS-AP-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TRAPEZE-NETWORKS-AP-IF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:19:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint") IANAifType, = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Bits, ObjectIdentity, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, Unsigned32, Integer32, iso, Counter32, Counter64, Gauge32, ModuleIdentity, NotificationType, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "ObjectIdentity", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "Unsigned32", "Integer32", "iso", "Counter32", "Counter64", "Gauge32", "ModuleIdentity", "NotificationType", "TimeTicks") TextualConvention, DisplayString, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "MacAddress") TrpzApSerialNum, = mibBuilder.importSymbols("TRAPEZE-NETWORKS-AP-TC", "TrpzApSerialNum") trpzMibs, = mibBuilder.importSymbols("TRAPEZE-NETWORKS-ROOT-MIB", "trpzMibs") trpzApIfMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 14525, 4, 16)) trpzApIfMib.setRevisions(('2008-11-20 00:01',)) if mibBuilder.loadTexts: trpzApIfMib.setLastUpdated('200811200001Z') if mibBuilder.loadTexts: trpzApIfMib.setOrganization('Trapeze Networks') class TrpzApInterfaceIndex(TextualConvention, Unsigned32): status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 1024) trpzApIfMibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1)) trpzApIfTable = MibTable((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1), ) if mibBuilder.loadTexts: trpzApIfTable.setStatus('current') trpzApIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1), ).setIndexNames((0, "TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfApSerialNum"), (0, "TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfIndex")) if mibBuilder.loadTexts: trpzApIfEntry.setStatus('current') trpzApIfApSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 1), TrpzApSerialNum()) if mibBuilder.loadTexts: trpzApIfApSerialNum.setStatus('current') trpzApIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 2), TrpzApInterfaceIndex()) if mibBuilder.loadTexts: trpzApIfIndex.setStatus('current') trpzApIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfName.setStatus('current') trpzApIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 4), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfType.setStatus('current') trpzApIfMtu = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfMtu.setStatus('current') trpzApIfHighSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfHighSpeed.setStatus('current') trpzApIfMac = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 7), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfMac.setStatus('current') trpzApIfConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2)) trpzApIfCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 1)) trpzApIfGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 2)) trpzApIfCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 1, 1)).setObjects(("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfBasicGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): trpzApIfCompliance = trpzApIfCompliance.setStatus('current') trpzApIfBasicGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 2, 1)).setObjects(("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfName"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfType"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfMtu"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfHighSpeed"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfMac")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): trpzApIfBasicGroup = trpzApIfBasicGroup.setStatus('current') mibBuilder.exportSymbols("TRAPEZE-NETWORKS-AP-IF-MIB", trpzApIfIndex=trpzApIfIndex, trpzApIfMtu=trpzApIfMtu, trpzApIfMac=trpzApIfMac, trpzApIfMibObjects=trpzApIfMibObjects, PYSNMP_MODULE_ID=trpzApIfMib, trpzApIfConformance=trpzApIfConformance, trpzApIfMib=trpzApIfMib, trpzApIfHighSpeed=trpzApIfHighSpeed, trpzApIfGroups=trpzApIfGroups, trpzApIfTable=trpzApIfTable, trpzApIfBasicGroup=trpzApIfBasicGroup, trpzApIfApSerialNum=trpzApIfApSerialNum, trpzApIfEntry=trpzApIfEntry, trpzApIfType=trpzApIfType, trpzApIfName=trpzApIfName, TrpzApInterfaceIndex=TrpzApInterfaceIndex, trpzApIfCompliance=trpzApIfCompliance, trpzApIfCompliances=trpzApIfCompliances)
def convex_hull_from_points(raw_v): hull = ConvexHull(raw_v) hull_eq = hull.equations # H representation v = raw_v[hull.vertices,:] num_vertices = len(v) g = np.hstack((np.ones((num_vertices,1)), v)) # zeros for vertex mat = cdd.Matrix(g, number_type='fraction') mat.rep_type = cdd.RepType.GENERATOR poly = cdd.Polyhedron(mat) ext = poly.get_inequalities() out = np.array(ext) A = out[:,1:] # H representation b = out[:,0] # Get faces (vertices index) for obj num_faces = len(b) faces = np.ones((num_faces, 6))*-1 num_vertices_faces = np.zeros(num_faces) for i in range(num_faces): idx = 0 for j in range(num_vertices): if abs(np.dot(A[i,:], v[j,:])+b[i]) < 1e-3: faces[i,idx] = j idx = idx+1 num_vertices_faces[i] = num_vertices_faces[i] + 1 return {'v':v, 'faces':faces, 'num_vertices_faces':num_vertices_faces}
def valid_word(seq, word): check=set(seq) def helper(count, index): if index>=len(word): return True if count>=1 else False return any(helper(count+1, i) for i in range(index+1, len(word)+1) if word[index:i] in seq) return helper(0, 0)
# coding: utf-8 """***************************************************************************** * Copyright (C) 2018 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your * responsibility to comply with third party license terms applicable to your * use of third party software (including open source software) that may * accompany Microchip software. * * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER * EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED * WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A * PARTICULAR PURPOSE. * * IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, * INCIDENTAL OR CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND * WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS * BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE * FULLEST EXTENT ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN * ANY WAY RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. *****************************************************************************""" ################################################################################################### ########################################## Callbacks ############################################# ################################################################################################### global updateSDASetupRegisterValue global updateSDASetupTimeMaxValueInNanoSeconds def updateSDASetupTimeMaxValueInNanoSeconds(): sda_setup_reg_max_value = int(Database.getSymbolValue(sercomInstanceName.getValue().lower(), "I2CS_SDASETUP_MAX_VALUE")) cpu_clk_period = 1.0/int(Database.getSymbolValue("core", "CPU_CLOCK_FREQUENCY")) sda_setup_time_ns = (cpu_clk_period) * (6 + (16*sda_setup_reg_max_value)) return int(sda_setup_time_ns*1e9) def updateSDASetupRegisterValue(): sda_setup_time_ns = int(Database.getSymbolValue(sercomInstanceName.getValue().lower(), "I2CS_SDASETUP_TIME_NS")) * 1e-9 cpu_clk_frequency = int(Database.getSymbolValue("core", "CPU_CLOCK_FREQUENCY")) sda_setup_reg_value = ((sda_setup_time_ns * cpu_clk_frequency) - 6 )/16 if sda_setup_reg_value < 0: sda_setup_reg_value = 0 Database.setSymbolValue(sercomInstanceName.getValue().lower(), "I2CS_SDASETUP_TIME_REG_VALUE", int(sda_setup_reg_value)) # I2CS Components Visible Property def updateI2CSlaveConfigurationVisibleProperty(symbol, event): if event["id"] == "I2CS_TENBITEN_SUPPORT": eventSym = event["symbol"] if eventSym.getValue() == True: symbol.setLabel("I2C Slave Address (10-bit)") else: symbol.setLabel("I2C Slave Address (7-bit)") elif symbol.getID() == "I2CS_SDASETUP_TIME_NS": updateSDASetupRegisterValue() symbol.setMax(updateSDASetupTimeMaxValueInNanoSeconds()) symbol.setVisible(sercomSym_OperationMode.getSelectedKey() == "I2CS") ################################################################################################### ######################################## I2C MASTER ############################################### ################################################################################################### global i2csSym_Interrupt_Mode global i2csSym_CTRLB_SMEN #I2C Interrupt Mode i2csSym_Interrupt_Mode = sercomComponent.createBooleanSymbol("I2CS_INTERRUPT_MODE", sercomSym_OperationMode) i2csSym_Interrupt_Mode.setLabel("Enable Interrupts ?") i2csSym_Interrupt_Mode.setDefaultValue(True) i2csSym_Interrupt_Mode.setVisible(False) i2csSym_Interrupt_Mode.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) # I2C Smart Mode Enable i2csSym_CTRLB_SMEN = sercomComponent.createBooleanSymbol("I2CS_SMEN", sercomSym_OperationMode) i2csSym_CTRLB_SMEN.setLabel("Enable Smart Mode") i2csSym_CTRLB_SMEN.setDefaultValue(False) i2csSym_CTRLB_SMEN.setVisible(False) i2csSym_CTRLB_SMEN.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) #----------------------------------------------------------------------------------- # SDA Hold Time i2csSym_CTRLA_SDAHOLD = sercomComponent.createKeyValueSetSymbol("I2CS_SDAHOLD_TIME", sercomSym_OperationMode) i2csSym_CTRLA_SDAHOLD.setLabel("SDA Hold Time") i2csSym_CTRLA_SDAHOLD.setVisible(False) i2csSDAHoldTimeReferenceNode = ATDF.getNode("/avr-tools-device-file/modules/module@[name=\"SERCOM\"]/value-group@[name=\"SERCOM_I2CM_CTRLA__SDAHOLD\"]") i2csSDAHoldTimeReferenceValues = i2csSDAHoldTimeReferenceNode.getChildren() for index in range(len(i2csSDAHoldTimeReferenceValues)): i2csSDAHoldTimeReferenceKeyName = i2csSDAHoldTimeReferenceValues[index].getAttribute("name") i2csSDAHoldTimeReferenceKeyDescription = i2csSDAHoldTimeReferenceValues[index].getAttribute("caption") i2csSDAHoldTimeReferenceKeyValue = i2csSDAHoldTimeReferenceValues[index].getAttribute("value") i2csSym_CTRLA_SDAHOLD.addKey(i2csSDAHoldTimeReferenceKeyName, i2csSDAHoldTimeReferenceKeyValue, i2csSDAHoldTimeReferenceKeyDescription) i2csSym_CTRLA_SDAHOLD.setDefaultValue(1) i2csSym_CTRLA_SDAHOLD.setOutputMode("Key") i2csSym_CTRLA_SDAHOLD.setDisplayMode("Description") i2csSym_CTRLA_SDAHOLD.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) #----------------------------------------------------------------------------------- # SDA Setup Time sdaSetupTimeSupported = False sdaSetupTimeMask = 0 sdaSetupTimeReferenceNode = ATDF.getNode('/avr-tools-device-file/modules/module@[name="SERCOM"]/register-group@[name="SERCOM"]') sdaSetupTimeValue = sdaSetupTimeReferenceNode.getChildren() # Check if CTRLC register exists for index in range(len(sdaSetupTimeValue)): if str(sdaSetupTimeValue[index].getAttribute("modes")) == "I2CS": if str(sdaSetupTimeValue[index].getAttribute("name")) == "CTRLC": sdaSetupTimeSupported = True break # Check if CTRLC register has the SDASETUP bitfield. if sdaSetupTimeSupported == True: sdaSetupTimeSupported = False sdaSetupTimeReferenceNode = ATDF.getNode('/avr-tools-device-file/modules/module@[name="SERCOM"]/register-group@[name="SERCOM"]/register@[modes="I2CS",name="CTRLC"]') sdaSetupTimeValue = sdaSetupTimeReferenceNode.getChildren() for index in range(len(sdaSetupTimeValue)): if str(sdaSetupTimeValue[index].getAttribute("name")) == "SDASETUP": sdaSetupTimeMask = int(sdaSetupTimeValue[index].getAttribute("mask"), 16) i2csSym_SDASETUP_MaxValue = sercomComponent.createIntegerSymbol("I2CS_SDASETUP_MAX_VALUE", sercomSym_OperationMode) i2csSym_SDASETUP_MaxValue.setLabel("SDA Setup Time Max Register Value") i2csSym_SDASETUP_MaxValue.setVisible(False) i2csSym_SDASETUP_MaxValue.setDefaultValue(sdaSetupTimeMask) sdaSetupTimeSupported = True break # CTRLC register exists and has SDASETUP bitfield if sdaSetupTimeSupported == True: i2csSym_SDASETUP = sercomComponent.createBooleanSymbol("I2CS_SDASETUP_TIME_SUPPORT", sercomSym_OperationMode) i2csSym_SDASETUP.setVisible(False) i2csSym_SDASETUP.setValue(True) i2csSym_SDASETUP_Value = sercomComponent.createIntegerSymbol("I2CS_SDASETUP_TIME_NS", sercomSym_OperationMode) i2csSym_SDASETUP_Value.setLabel("SDA Setup Time (ns)") i2csSym_SDASETUP_Value.setVisible(False) i2csSym_SDASETUP_Value.setDefaultValue(250) i2csSym_SDASETUP_Value.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["I2CS_SDASETUP_TIME_NS", "SERCOM_MODE", "core.CPU_CLOCK_FREQUENCY"]) i2csSym_SDASETUP_RegValue = sercomComponent.createIntegerSymbol("I2CS_SDASETUP_TIME_REG_VALUE", sercomSym_OperationMode) i2csSym_SDASETUP_RegValue.setLabel("SDA Setup Time Register Value") i2csSym_SDASETUP_RegValue.setVisible(False) i2csSym_SDASETUP_RegValue.setDefaultValue(0) i2csSym_SDASETUP_RegValue.setMax(sdaSetupTimeMask) #----------------------------------------------------------------------------------- # 10-bit support TenBitAddrSupported = False TenBitAddrSupportReferenceNode = ATDF.getNode('/avr-tools-device-file/modules/module@[name="SERCOM"]/register-group@[name="SERCOM"]/register@[modes="I2CS",name="ADDR"]') TenBitSupportValue = TenBitAddrSupportReferenceNode.getChildren() for index in range(len(TenBitSupportValue)): bitFieldName = str(TenBitSupportValue[index].getAttribute("name")) if bitFieldName == "TENBITEN": TenBitAddrSupported = True break if TenBitAddrSupported == True: i2csSym_TENBITEN = sercomComponent.createBooleanSymbol("I2CS_TENBITEN_SUPPORT", sercomSym_OperationMode) i2csSym_TENBITEN.setLabel("Enable 10-bit Addressing") i2csSym_TENBITEN.setVisible(False) i2csSym_TENBITEN.setDefaultValue(False) i2csSym_TENBITEN.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) #----------------------------------------------------------------------------------- # Slave Address i2csSym_ADDR = sercomComponent.createHexSymbol("I2CS_SLAVE_ADDDRESS", sercomSym_OperationMode) i2csSym_ADDR.setLabel("I2C Slave Address (7-bit)") i2csSym_ADDR.setMax(1023) i2csSym_ADDR.setVisible(False) i2csSym_ADDR.setDefaultValue(0x54) i2csSym_ADDR.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE", "I2CS_TENBITEN_SUPPORT"]) #----------------------------------------------------------------------------------- # Error Interrupt Support errorInterruptSupported = False intensetNode = ATDF.getNode('/avr-tools-device-file/modules/module@[name="SERCOM"]/register-group@[name="SERCOM"]/register@[modes="I2CS",name="INTENSET"]') intensetValue = intensetNode.getChildren() for index in range(len(intensetValue)): bitFieldName = str(intensetValue[index].getAttribute("name")) if bitFieldName == "ERROR": errorInterruptSupported = True break #I2CS is ERROR present i2csSym_ERROR = sercomComponent.createBooleanSymbol("I2CS_INTENSET_ERROR", None) i2csSym_ERROR.setVisible(False) i2csSym_ERROR.setDefaultValue(errorInterruptSupported) #----------------------------------------------------------------------------------- # LOWTOUT Support lowToutSupported = False lowToutReferenceNode = ATDF.getNode('/avr-tools-device-file/modules/module@[name="SERCOM"]/register-group@[name="SERCOM"]/register@[modes="I2CS",name="CTRLA"]') lowToutValue = lowToutReferenceNode.getChildren() for index in range(len(lowToutValue)): bitFieldName = str(lowToutValue[index].getAttribute("name")) if bitFieldName == "LOWTOUTEN": lowToutSupported = True break if lowToutSupported == True: i2csSym_LOWTOUT = sercomComponent.createBooleanSymbol("I2CS_LOWTOUT_SUPPORT", sercomSym_OperationMode) i2csSym_LOWTOUT.setLabel("Enable SCL Low Time-Out") i2csSym_LOWTOUT.setVisible(False) i2csSym_LOWTOUT.setDefaultValue(False) i2csSym_LOWTOUT.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) #----------------------------------------------------------------------------------- # SEXTTOEN Support lowExtendToutSupported = False lowExtendToutReferenceNode = ATDF.getNode('/avr-tools-device-file/modules/module@[name="SERCOM"]/register-group@[name="SERCOM"]/register@[modes="I2CS",name="CTRLA"]') lowExtendToutValue = lowExtendToutReferenceNode.getChildren() for index in range(len(lowExtendToutValue)): bitFieldName = str(lowExtendToutValue[index].getAttribute("name")) if bitFieldName == "SEXTTOEN": lowExtendToutSupported = True break if lowExtendToutSupported == True: i2csSym_SEXTTOEN = sercomComponent.createBooleanSymbol("I2CS_SEXTTOEN_SUPPORT", sercomSym_OperationMode) i2csSym_SEXTTOEN.setLabel("Enable SCL Low Extend Time-Out") i2csSym_SEXTTOEN.setVisible(False) i2csSym_SEXTTOEN.setDefaultValue(False) i2csSym_SEXTTOEN.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) #----------------------------------------------------------------------------------- # LOWTOUT Error Status Support i2csSym_LOWTOUTErrorStatus = sercomComponent.createBooleanSymbol("I2CS_LOWTOUT_ERROR_SUPPORT", None) i2csSym_LOWTOUTErrorStatus.setVisible(False) i2csSym_LOWTOUTErrorStatus.setDefaultValue(lowToutSupported) #----------------------------------------------------------------------------------- # SEXTTOUT Error Status Support i2csSym_SEXTTOUTErrorStatus = sercomComponent.createBooleanSymbol("I2CS_SEXTTOOUT_ERROR_SUPPORT", None) i2csSym_SEXTTOUTErrorStatus.setVisible(False) i2csSym_SEXTTOUTErrorStatus.setDefaultValue(lowExtendToutSupported) #----------------------------------------------------------------------------------- # Run In Standby i2csSym_CTRLA_RUNSTDBY = sercomComponent.createBooleanSymbol("I2CS_RUNSTDBY", sercomSym_OperationMode) i2csSym_CTRLA_RUNSTDBY.setLabel("Enable operation in Standby mode") i2csSym_CTRLA_RUNSTDBY.setVisible(False) i2csSym_CTRLA_RUNSTDBY.setDependencies(updateI2CSlaveConfigurationVisibleProperty, ["SERCOM_MODE"]) #----------------------------------------------------------------------------------- ################################################################################################### ####################################### Driver Symbols ############################################ ################################################################################################### #I2C API Prefix i2cSym_API_Prefix = sercomComponent.createStringSymbol("I2CS_PLIB_API_PREFIX", sercomSym_OperationMode) i2cSym_API_Prefix.setDefaultValue(sercomInstanceName.getValue() + "_I2C") i2cSym_API_Prefix.setVisible(False)
class AbstractToken: name = 'token' def __init__(self, lexemes, form): self.lexemes = lexemes self.form = form self.source = self.get_source(lexemes) self.string = lexemes[0].string self.string_index = lexemes[0].string_index self.string_begin_index = lexemes[0].source_index self.string_end_index = lexemes[-1].source_index + len(lexemes[-1]) self.check_lexemes() def __repr__(self): return f'{type(self).__name__}("{self.source}")' def get_source(self, lexemes): buffer = [] for index, lexeme in enumerate(lexemes): if lexeme.previous_is_space and index: item = f" {lexeme.source}" else: item = lexeme.source buffer.append(item) result = ''.join(buffer) return result def check_lexemes(self): pass
numbers = input().split() for x in range(len(numbers)): numbers[x] = int(numbers[x]) for a in range(0, len(numbers)-2): for b in range(a+1, len(numbers)-1): for c in range(b+1, len(numbers)): A = numbers[a] B = numbers[b] C = numbers[c] if (A+B) in numbers and (A+C) in numbers and (B+C) in numbers and (A+B+C) in numbers: numbers_ = [A, B, C] numbers_.sort() print(f"{numbers_[0]}, {numbers_[1]}, {numbers[2]}") exit()
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: the given BST @param k: the given k @return: the kth smallest element in BST """ def kthSmallest(self, root, k): # write your code here k_index, smallest_k = self.find_kth_smallest_index(root, 0, k) return smallest_k """ @param root: current node @param target_k: target @return current_index @return smallest_k if already otherwise None 直接用in-order traversal 分治法:如果左子树已经找到了,就返回左子树的结果,如果没有,就+1 然后看等不等于k, 如果等于就返回本颗子树,如果右边子树已经找到了就返回右边子树找到的结果。假如都没有,就返回右边子树的index因为inorder traversal右边子树返回的index才是当前已经搜索过的个数。这个方法因为遍历了所有的点,所以时间复杂度O(N). 更好的方法是用lower bound, upper bound, 时间复杂度是O(h), 因为只需要找2次树的高度就够了。(https://www.jiuzhang.com/solution/closest-binary-search-tree-value/#tag-highlight-lang-java) """ def find_kth_smallest_index(self, root, current_index, target_index): if root is None: return current_index, None k_index_left, smallest_k_left = self.find_kth_smallest_index(root.left, current_index, target_index) if k_index_left == target_index: return k_index_left, smallest_k_left current_index = k_index_left + 1 if current_index == target_index: return current_index, root.val k_index_right, smallest_k_right = self.find_kth_smallest_index(root.right, current_index, target_index) if k_index_right == target_index: return k_index_right, smallest_k_right return k_index_right, smallest_k_right
# 解説の C++ のコードを Python に移植 nmax = 8 graph = [[False] * nmax for _ in range(nmax)] def dfs(v, N, visited): all_visited = True for i in range(N): if not visited[i]: all_visited = False if all_visited: return 1 ret = 0 for i in range(N): if not graph[v][i]: continue if visited[i]: continue visited[i] = True ret += dfs(i, N, visited) visited[i] = False return ret N, M = map(int, input().split()) for _ in range(M): a, b = map(int, input().split()) graph[a - 1][b - 1] = graph[b - 1][a - 1] = True visited = [False] * nmax visited[0] = True print(dfs(0, N, visited))
def calculate_triangles(max_p: int) -> int: max_value = -1 max_p_val = -1 for p in range(12, max_p + 1, 2): current_value = sum((p*p - 2*a*p) % (2*p - 2*a) == 0 for a in range(2, p // 3)) if current_value > max_value: max_value = current_value max_p_val = p return max_p_val if __name__ == '__main__': m = calculate_triangles(1000) print(m)
app = Flask(__name__) class Model: def __init__(self, obj={}): """@param obj {dict}""" self._obj = obj def get_obj(self): return self._obj def set_property(self, name, value): self._obj[name] = value def set_properties(self, properties): """@param properties {dict}""" self._obj.update(properties) def delete_property(self, name): if name in self._obj: del self._obj[name] @staticmethod def serialize(model): return json.dumps(model._obj, sort_keys=True, indent=4) @staticmethod def deserialize(string): return Model(json.loads(string)) @app.route('/', methods=['GET']) def hello(): return 'hello:)' @app.route('/api/<key>', methods=['GET']) def get(key): model = get_model(key) if model is None: return "NOT FOUND" else: return jsonify(model.get_obj()) @app.route('/api/<key>', methods=['POST']) def post(key): result = set_property(key, json.loads(request.data)) return jsonify(result.get_obj()) @app.route('/api/<key>/<property_name>', methods=['DELETE']) def delete(key, property_name): result = delete_property(key, property_name) if result is None: return "NOT FOUND" else: return jsonify(result.get_obj()) def get_model(key): return read_model(key) def set_property(key, properties): data = read_model(key) if data is None: data = Model() data.set_properties(properties) result = write_model(key, data) return result def delete_property(key, property_name): data = read_model(key) if data is None: return None if property_name not in data.get_obj(): return None data.delete_property(property_name) result = write_model(key, data) return result def read_model(key): file_name = key + '.json' try: with open(file_name, 'r') as f: return Model.deserialize(f.read()) except IOError as e: print (e) return None def write_model(key, model): file_name = key + '.json' try: with open(file_name, 'w') as f: f.write(Model.serialize(model)) return model except IOError as e: print (e) return None if __name__ == '__main__': app.run(debug=True)
# Классы class Auth: def __init__(self, username, password): self.username = username self.password = password class Contactdate: def __init__(self, firstname, middlename, lastname, nickname, title, company, address, home, mobile, work, fax, email, email2, email3, homepage, bday, bmonth, byear, ayear, amonth, aday, address2, phone2, notes): self.firstname = firstname self.middlename = middlename self.lastname = lastname self.nickname = nickname self.title = title self.company = company self.address = address self.home = home self.mobile = mobile self.work = work self.fax = fax self.email = email self.email2 = email2 self.email3 = email3 self.homepage = homepage self.bday = bday self.bmonth = bmonth self.byear = byear self.ayear = ayear self.amonth = amonth self.aday = aday self.address2 = address2 self.phone2 = phone2 self.notes = notes
def partition(li, start, end): pivot = li[start] left = start + 1 right = end done = False while not done: while left <= right and li[left] <= pivot: left += 1 while right >= left and li[right] >= pivot: right -= 1 if right < left: done = True else: li[left], li[right] = li[right], li[left] li[start], li[right] = li[right], li[start] return right def quicksort(li, start=0, end=None): if not end: end = len(li) - 1 if start < end: pivot = partition(li, start, end) # Recursively perform same operation on first and last halves of list quicksort(li, start, pivot - 1) quicksort(li, pivot + 1, end) return li
number = int(input()) previous = 1 current = 1 for i in range(number - 2): next = previous + current previous = current current = next print(current)
class Node(object): def __init__(self, val, left=None, right=None): self.val = val self.left = left self.right = right class Solution(object): def _isValidBSTHelper(self, n, low, high): if not n: return True val = n.val if ((val > low and val < high) and self._isValidBSTHelper(n.left, low, val) and self._isValidBSTHelper(n.right, val, high)): return True return False def isValidBST(self, n): return self._isValidBSTHelper(n, float('-inf'), float('inf')) n = Node(5) n.left = Node(4) n.right = Node(7) n.right.left = Node(6) print(Solution().isValidBST(n))
#For these problems, DON'T COMMENT OUT FUNCTION DEFINITIONS! You will need to use them. ####################################################################################### # 13.1 # Make a function which prints out a random string. Then call it. ####################################################################################### # 13.2.a # Make a function which takes two numbers as parameters and adds them together. Print # the sum in the function. ####################################################################################### # 13.2.a # Make a function which takes two numbers as parameters and adds them together. Return # the sum. Then print out the sum. ####################################################################################### # 13.3 # Use the addition function you made above and put two of them inside another # addition function call. ex add(add(2,3), add(3,4)) ####################################################################################### # 13.4 # Make a function that divides 3 numbers (they divide each other). Return none if # any of them are 0. Then use it ####################################################################################### # 13.5 # Make a function that takes a list and prints each element out seperately. Then use it. ####################################################################################### # 13.6 # Make your own index function. Return nothing if it can't be found ####################################################################################### # 13.7 # Fix this code so that it prints: # 25 # 20 def print2(): x=20 y=5 print(x+y) print2() print(x) ####################################################################################### # 13.8 # Fix this code so that it prints: # 7 5 # 7 x=10 #DON'T CHANGE THIS def print3(): x=7 y=5 print(x,y) print3() print(x)
DEFAULT_KAFKA_PORT = 9092 #: Compression flag value denoting ``gzip`` was used GZIP = 1 #: Compression flag value denoting ``snappy`` was used SNAPPY = 2 #: This set denotes the compression schemes currently supported by Kiel SUPPORTED_COMPRESSION = (None, GZIP, SNAPPY) CLIENT_ID = "kiel" #: The "api version" value sent over the wire. Currently always 0 API_VERSION = 0 #: Mapping of response api codes and their names API_KEYS = { "produce": 0, "fetch": 1, "offset": 2, "metadata": 3, "offset_commit": 8, "offset_fetch": 9, "group_coordinator": 10, "join_group": 11, "heartbeat": 12, "leave_group": 13, "sync_group": 14, "describe_groups": 15, "list_groups": 16, } #: All consumers use replica id -1, other values are meant to be #: used by Kafka itself. CONSUMER_REPLICA_ID = -1 #: A mapping of known error codes to their string values ERROR_CODES = { 0: "no_error", -1: "unknown", 1: "offset_out_of_range", 2: "invalid_message", 3: "unknown_topic_or_partition", 4: "invalid_message_size", 5: "leader_not_available", 6: "not_partition_leader", 7: "request_timed_out", 8: "broker_not_available", 9: "replica_not_available", 10: "message_size_too_large", 11: "stale_controller_epoch", 12: "offset_metadata_too_large", 14: "offsets_load_in_progress", 15: "coordinator_not_available", 16: "not_coordinator", 17: "invalid_topic", 18: "record_list_too_large", 19: "not_enough_replicas", 20: "not_enough_replicas_after_append", 21: "invalid_required_acks", 22: "illegal_generation", 23: "inconsistent_group_protocol", 24: "invalid_group_id", 25: "unknown_member_id", 26: "invalid_session_timeout", 27: "rebalance_in_progress", 28: "invalid_commit_offset_size", 29: "topic_authorization_failed", 30: "group_authorization_failed", 31: "cluster_authorization_failed", } #: Set of error codes marked "retryable" by the Kafka docs. RETRIABLE_CODES = set([ "invalid_message", "unknown_topic_or_partition", "leader_not_available", "not_partition_leader", "request_timed_out", "offsets_load_in_progress", "coordinator_not_available", "not_coordinator", "not_enough_replicas", "not_enough_replicas_after_append", ])
css = [ 'about.css', 'button.css', 'frame.css', 'faq.css', 'index.css', 'map.css', 'ramanujan.css', 'rocket.css', 'shelf.css', 'snackbar.css', 'timeline.css', 'typewriter.css', 'mobile.css', 'info.css' ] concat = '' for i in css: with open(f'css/{i}') as f: concat += f.read() concat += '\n\n' f = open("css/concat.css","w+") f.write(concat) f.close()
CONTROLLERS = {} def controller(code): def register_controller(func): CONTROLLERS[code] = func return func return register_controller def get_controller_func(controller): if controller in CONTROLLERS: return CONTROLLERS[controller] raise ValueError('Invalid request')
course = ' Python for Beginners ' print(len(course)) # Genereal perpous function print(course.upper()) print(course) print(course.lower()) print(course.title()) print(course.lstrip()) print(course.rstrip()) # Returns the index of the first occurrence of the character. print(course.find('P')) print(course.find('B')) print(course.find('o')) print(course.find('O')) print(course.find('Beginners')) print(course.replace("Beginners", "Absolute Beginners")) print(course.replace("P", "C")) # Check existence of a character or a sequence of characters print("Python" in course) # True print("python" in course) # False print("python" not in course) # True
print("Hello World!") x = "Hello World" print(x) y = 42 print(y)
casa = float(input('Digite o Valor da Casa: R$')) sal = float(input('Qual é o Salario do Comprador?')) anos = int(input('Quantos anos de financiamento?')) prestação = casa / (anos * 12) minimo = sal * 30 /100 print('Para pagar uma casa de R${:.2f} em {} anos'.format(casa,anos),end = '') print('A prestação será de R${:.2f} '.format(prestação)) if prestação <= minimo: print('Compra Aprovado') else: print('compra Recusado') print('Tenha um bom dia!!!')
# coding:utf8 """ 封装爬虫提取出来的数据 - 将来可以根据这个类型来判断爬虫提取的是数据还是请求 """ class Item(object): def __init__(self,data): # 这是为私有属性,为了保护Item中封装的数据 self.__data = data # 只能获取值,不能赋值 @property def data(self): return self.__data
class Policy(object): """ Base policy """ def __init__(self, action_low=None, action_high=None): self.action_low = action_low self.action_high = action_high def action(self, state, sim_time=0, desired=[], actual=[]): pass def reset(self): pass
def pyhelp(): while True: print('~' * 30) print('{:^30}'.format('SISTEMA DE AJUDA PYHELP')) print('~' * 30) comando = input('Função ou Biblioteca > ') if comando == 'FIM': break else: help(comando) pyhelp()
# Diccionarios de entrada: caballero = { "vida":2, "ataque":2, "defensa": 2, "alcance":2 } guerrero = { "vida":2, "ataque":2, "defensa": 2, "alcance":2 } arquero = { "vida":2, "ataque":2, "defensa": 2, "alcance":2 } names = ["caballero", "guerrero", "arquero"] dict_init = [caballero, guerrero, arquero] print("Las estadísticas iniciales son las siguientes:") for i, elem in enumerate(dict_init): print(names[i], elem) # El caballero tiene el doble de vida y defensa que un guerrero caballero["vida"] = guerrero["vida"] * 2 caballero["defensa"] = guerrero["defensa"] * 2 # El guerrero tiene el doble de ataque y alcance que un caballero guerrero["ataque"] = caballero["ataque"] * 2 guerrero["alcance"] = caballero["alcance"] * 2 # El arquero tiene la misma vida y ataque que un guerrero, # pero la mitad de su defensa y el doble de su alcance arquero["vida"] = guerrero["vida"] arquero["ataque"] = guerrero["ataque"] arquero["defensa"] = guerrero["defensa"] // 2 arquero["alcance"] = guerrero["alcance"] * 2 dict_final = [caballero, guerrero, arquero] print("\nLas estadísticas finales son las siguientes:") for i, elem in enumerate(dict_final): print(names[i], elem)
class DefineRegion(object): def __init__(self): self.x = self.y = 10.0 self.depth = 1.0 self.subvolume_edge = 1.0 self.cytosol_depth = 10.0 self.num_chambers = (self.x / self.subvolume_edge) * (self.y / self.subvolume_edge) * ( self.depth / self.subvolume_edge) self.num_cytosol_chambers = self.num_chambers * self.cytosol_depth def define_region(self, f): f.write('region World box width 1 height 1 depth 1\n') f.write('subvolume edge 1\n\n') def define_membrane_region(self, f): f.write('region Plasma \n \t box width {0} height {1} depth {2}\n\n'.format(self.x, self.y, self.depth)) f.write('region Cytosol \n ') f.write('\t move 0 0 -{0} \n'.format(self.cytosol_depth / 2.0)) f.write('\t\t box width {0} height {1} depth {2}\n\n'.format(self.x, self.y, self.cytosol_depth)) f.write('subvolume edge {0}\n\n'.format(self.subvolume_edge)) class InitialConcentrations(object): def __init__(self): self.r_0 = 30000 self.lck_0 = 30000 self.zap_0 = 1200000 self.lat_0 = 150000 self.sos_0 = 1000 self.ras_gdp_0 = 1000 self.ras_gap_0 = 10 class BindingParameters(object): def __init__(self): # Initial Conditions self.initial = InitialConcentrations() # Zeroth Cycle ligand binding self.k_L_on = 0.0022 self.k_foreign_off = 0.2 self.k_self_off = 2.0 # 10.0 * self.k_foreign_off # First Cycle Lck binding self.on_rate = 2.0 # / 10.0 self.k_lck_on_R_pmhc = (self.on_rate / self.initial.lck_0) # * 100.0 self.k_lck_off_R_pmhc = self.k_foreign_off / 40.0 self.k_lck_on_R = 0.0 # 1.0 / 100000.0 self.k_lck_off_R = 20.0 # Second Cycle Lck phosphorylation self.k_p_on_R_pmhc = self.on_rate / 10.0 self.k_p_off_R_pmhc = self.k_foreign_off / 40.0 # self.k_foreign_off / 10.0 self.k_lck_on_RP = 1.0 / 100000.0 self.k_lck_off_RP = 20.0 self.k_p_on_R = 0.0 # 1.0 / 100000.0 self.k_p_off_R = 20.0 # Third Cycle Zap binding self.k_zap_on_R_pmhc = (self.on_rate / self.initial.zap_0) # * 100.0 self.k_zap_off_R_pmhc = self.k_lck_off_R_pmhc self.k_lck_on_zap_R = self.k_lck_on_RP self.k_lck_off_zap_R = 20.0 self.k_zap_on_R = 1.0 / 100000.0 self.k_zap_off_R = 20.0 # Fourth Cycle phosphorylate zap self.k_p_on_zap_species = self.on_rate # / 10.0 self.k_p_off_zap_species = self.k_p_off_R_pmhc self.k_lck_on_zap_p = self.k_lck_on_RP self.k_lck_off_zap_p = self.k_lck_off_zap_R # Fifth Negative Feedback Loop self.k_negative_loop = 0.0 # 5.0 self.k_lcki = 0.01 # Sixth LAT on self.k_lat_on_species = self.on_rate / self.initial.lat_0 self.k_lat_off_species = self.k_lck_off_R_pmhc self.k_lat_on_rp_zap = self.k_zap_on_R self.k_lat_off_rp_zap = 20.0 # Seventh first LAT phosphorylation self.k_p_lat_1 = self.on_rate # Eighth second LAT phosphorylation self.k_p_lat_2 = self.on_rate # / 10.0 # / 10.0 # self.k_p_on_zap_species / 100 self.k_p_lat_off_species = self.k_p_off_R_pmhc self.k_p_on_lat = self.k_p_on_R self.k_p_off_lat = 20.0 # Eighth Sos on self.k_sos_on = 0.001 self.k_sos_off = 0.005 self.multiplier = 10.0 # Ninth Sos RasGDP and RasGTP self.k_sos_on_rgdp = 0.0024 * self.multiplier self.k_sos_off_rgdp = 3.0 * self.multiplier self.k_sos_on_rgtp = 0.0022 * self.multiplier # * 12.0 self.k_sos_off_rgtp = 0.4 * self.multiplier # Tenth # sos_rgtp + rgdp self.k_rgdp_on_sos_rgtp = 0.001 * self.multiplier self.k_rgdp_off_sos_rgtp = 0.1 * self.multiplier self.k_cat_3 = 0.038 * 1.3 * self.multiplier # sos_rgdp + rgdp self.k_rgdp_on_sos_rgdp = 0.0014 * self.multiplier self.k_rgdp_off_sos_rgdp = 1.0 * self.multiplier self.k_cat_4 = 0.003 * self.multiplier # rgap + rgtp -> rgdp self.k_rgap_on_rgtp = 0.0348 * self.multiplier self.k_rgap_off_rgtp = 0.2 * self.multiplier self.k_cat_5 = 0.1 * self.multiplier # Eighth LAT -> final product self.k_product_on = 0.008 self.k_product_off = self.k_p_off_R_pmhc # Ninth: Positive Feedback Loop self.k_positive_loop = 0.0025 # # Eighth Grb on # self.k_grb_on_species = self.k_lck_on_R_pmhc # self.k_grb_off_species = self.k_lck_off_R_pmhc # # # Ninth Sos on # self.k_sos_on_species = self.k_lck_on_R_pmhc # self.k_sos_off_species = self.k_lck_off_R_pmhc # # # Tenth Ras-GDP on # self.k_ras_on_species = self.k_lck_on_R_pmhc # self.k_ras_off_species = self.k_lck_off_R_pmhc class MembraneInitialConcentrations(InitialConcentrations): def __init__(self): InitialConcentrations.__init__(self) # self.r_0 = 300 # 75 # self.lck_0 = 300 # 2705 # self.zap_0 = 12000 # 12180 self.lat_0 = 1522 class DiffusionRates(object): def __init__(self): self.region = DefineRegion() self.d_r = self.d_l = self.d_rl = 0.13 * self.region.num_chambers self.d_lck = 0.085 * self.region.num_chambers self.d_zap = 10.0 class MembraneBindingParameters(object): def __init__(self): # Initial Conditions self.initial = MembraneInitialConcentrations() self.region = DefineRegion() self.rates = BindingParameters() # Zeroth Cycle ligand binding self.k_L_on = self.rates.k_L_on * self.region.num_chambers self.k_foreign_off = self.rates.k_foreign_off self.k_self_off = self.rates.k_self_off # Lck binding - 1st cycle self.on_rate = self.rates.on_rate self.k_lck_on_R_pmhc = (self.on_rate / self.initial.lck_0) * self.region.num_chambers self.k_lck_off_R_pmhc = self.rates.k_lck_off_R_pmhc self.k_lck_on_R = self.rates.k_lck_on_R * self.region.num_chambers self.k_lck_off_R = self.rates.k_lck_off_R # ITAM phosphorylation - 2nd cycle self.k_p_on_R_pmhc = self.on_rate self.k_p_off_R_pmhc = self.rates.k_p_off_R_pmhc self.k_lck_on_RP = self.rates.k_lck_on_RP * self.region.num_chambers self.k_lck_off_RP = self.rates.k_lck_off_RP self.k_p_on_R = self.rates.k_p_on_R self.k_p_off_R = self.rates.k_p_off_R # Zap 70 binding to ITAMs - 3rd cycle self.k_zap_on_R_pmhc = (self.on_rate / self.initial.zap_0) * self.region.num_chambers # * 100.0 self.k_zap_off_R_pmhc = self.rates.k_zap_off_R_pmhc self.k_lck_on_zap_R = self.rates.k_lck_on_zap_R * self.region.num_chambers self.k_lck_off_zap_R = self.rates.k_lck_off_zap_R self.k_zap_on_R = self.rates.k_zap_on_R * self.region.num_chambers self.k_zap_off_R = self.rates.k_zap_off_R # Fourth Cycle phosphorylate zap self.k_p_on_zap_species = self.on_rate # / 10.0 self.k_p_off_zap_species = 0.1 # self.k_p_off_R_pmhc
#!/usr/bin/env python3 '''module that deals with functions''' def commandpush(devicecmd): #devicecmd=list ''' push commands to devices ''' for coffeetime in devicecmd.keys(): print("Handshaking......connecting with " + coffeetime) for mycmds in devicecmd[coffeetime]: print("Attempting to sending command --> " + mycmds) print("\n") def betterpush(filename): #file name having ip and commands '''better push commands to devices''' fstream = open(filename, "r") #lines = fstream.readlines() for l_a in fstream: #print(l) s_a = str(l_a).strip() #print(s) print(s_a.isnumeric()) #if s.isalpha()== True: # print("Attempting to sending command --> " + s, end="") #else: # print("Handshanking....connecting with " + s, end="") def deviceboot(iplist): #list of IPs '''boot list of IPs ''' for ip_a in iplist: print("Connecting to... " + ip_a) print("Rebooting NOW!...") def main(): ''' main function ''' work2do = {"10.1.0.1":["interface eth1/2", "no shut"], "10.2.0.1":["interface eth1/1", "shutdown"]} iplist = ["10.1.0.1", "10.2.0.1"] work2do_file = "work2do.txt" print("Welcome to the network device command pusher") # welcome message #get data set print("\nData set found\n") # replace with function call that reads in data from file betterpush(work2do_file) print("\n") ##run commandpush commandpush(work2do) # call function to push commands to devices #run deviceboot deviceboot(iplist) #call main function main()
for v in range(0, 3): print(v) for i, v in enumerate(range(10, 13)): print(i, v) for key, value in {'A': 0, 'B': 1}.items(): print(key, value)
n=22351 l=[] s=str(n) for ch in s: l= l + [int(ch)] highest=sorted (l,reverse=True) s="" for ch in highest: s=s+ str(ch) highest=int(s) n=9 for i in range(n +1,highest+1): print(i)
class Solution(object): def intersection(self, nums1, nums2): if len(nums1) > len(nums2): return self.intersection(nums2, nums1) lookup = set() for i in nums1: lookup.add(i) res = [] for i in nums2: if i in lookup: res += i, lookup.discard(i) return res nums1 = [1,2,2,1] nums2 = [2,2] res = Solution().intersection(nums1, nums2) print(res)
def add(a, b): return a + b def multiply(a, b): return a * b assert add(10, 10) == 100, "confused addition" assert multiply(10, 10) == 20, "confused multiplication"
def linear_search(a, key): length = len(a) idx = 0 while idx < length: if a[idx] == key: return idx idx += 1 return -1 a = [1, 3, 5, 10, 13] key = 5 print(linear_search(a, key))
# increment.py """This increments (creates a new) serial number with every invocation of the class.""" # STATUS: Not working. See FIXME tag below. # from https://app.pluralsight.com/course-player?clipId=bf34ecab-aa3e-402b-961d-53efb624b957 class ShippingContainer: # Global scope # Class attributes here: next_serial = 1337 # IRL this would be obtained from a persistant database? def __init__(self, owner_code, contents): # self. instance attributes: self.owner_code = owner_code self.contents = contents self.serial = ShippingContainer.next_serial # Class attributes: ShippingContainer.next_serial += 1 # increment ############## print(f'Executing from ShippingContainer.next_serial={ShippingContainer.next_serial} :') owner_code="ESC" contents='["Electronics"]' print(f'owner_code={owner_code} contents={contents}') #print(f'ShippingContainer.owner_code={ShippingContainer.owner_code}') #print(f'ShippingContainer.contents={ShippingContainer.contents}') # FIXTHIS: No incrementing: c4 = ShippingContainer(owner_code, contents) print(c4.serial) """ c1 = ShippingContainer.next_serial print(c1) c1 = ShippingContainer.next_serial print(c1) c3 = ShippingContainer("ESC", ["Pharmaceuticals"]) c4 = ShippingContainer("ESC", ["Pharmaceuticals"]) c5 = ShippingContainer("ESC", ["Pharmaceuticals"]) c6 = ShippingContainer("ESC", ["Noodles"]) """
class Bar(): pass def t1(): raise Bar() def t2(): return Bar()
f = open("pb2.txt") n = int(f.readline()) P = [] for i in range(n): x, y = f.readline().split() P.append((float(x), float(y))) # citirea punctelor poligonului print("n=", n, " P=", P) # pentru x-monotonie, de exemplu, vreau sa iau cel mai din stanga punct si sa parcurg punctele pentru ca sunt date in sens trigonometric # si la fiecare punct verific monotonia lui x, iar dupa o parcurgere totala sa aiba o singura schimbare de monotonie # pt y-monotonie ma duc din cel mai jos punct # Prima data pentru x-monotonie minim = P[0][0] indexmin = -1 for i in range(len(P)): if P[i][0] < minim: minim = P[i][0] # caut x-ul minim indexmin = i # si retin si pozitia sa in poligon monotonie, elem_precedent, okx = 1, P[indexmin][0], 0 # un boolean pt monotonie, o variabila unde retin elementul precedent si un boolean ok for i in range(1, len(P)): # parcurg toate celelalte puncte k = (i + indexmin) % len(P) # formula pentru a lua in continuare punctele in sens trigonometric (adica pentru exemplul cu 6 puncte, aleg D si merg in continuare cu E,F,A,..) elem_curent = P[k][0] # iau x-ul ca sa verific monotonia if elem_curent < elem_precedent: # daca elemntul nou este mai mic decat cel precedent (daca se cerea monotonie strica puneam <=) monotonie = 0 # atunci am schimbat monotonia: ori nu e poligon x-monoton, ori am ajuns in cel mai din dreapta punct # am schimbat monotonia si ar trebui sa am doar elemente curente mai mici ca cele precedente if elem_curent > elem_precedent and monotonie == 0: # daca intru pe if-ul asta atunci am schimbat monotonia si ar trebui sa am doar elemente curent mai mici ca cele precedente print("Poligonul NU este x-monoton!") # evident daca nu e indeplinita conditia opresc si afisez ce trebuie okx = 1 break elem_precedent = elem_curent # elementul curent devinde cel precedent si parcurg in continuare if okx == 0: print("Poligonul ESTE x-monoton!") # la fel si pentru y-monotonie, aceleasi explicatii ca la x-monotonie doar ca parcurg din cel mai sudic punct pana la cel mai nordic # si dupa verific invers proprietatea minim = P[0][1] indexmin = -1 for i in range(len(P)): if P[i][1] < minim: minim = P[i][1] # caut y-ul minim indexmin = i # si retin si pozitia sa in poligon monotonie, elem_precedent, oky = 1, P[indexmin][1], 0 for i in range(1, len(P)): # parcurg toate celelalte puncte k = (i + indexmin) % len(P) elem_curent = P[k][1] if elem_curent < elem_precedent: # pentru ca nu se cere strict monotonie, nu caut cu <= monotonie = 0 # am schimbat monotonia, ori nu e poligon y-monoton, ori am ajuns in cel mai de sus punct if elem_curent > elem_precedent and monotonie == 0: print("Poligonul NU este y-monoton!") oky = 1 break elem_precedent = elem_curent if oky == 0: print("Poligonul ESTE y-monoton!") # pentru n = 6 si punctele aferente : # n= 6 P= [(4.0, 5.0), (5.0, 7.0), (5.0, 9.0), (2.0, 5.0), (4.0, 2.0), (6.0, 3.0)] # Poligonul NU este x-monoton! # Poligonul ESTE y-monoton! # pentru n = 8 si punctele aferente # n= 8 P= [(8.0, 7.0), (7.0, 5.0), (4.0, 5.0), (3.0, 9.0), (0.0, 1.0), (5.0, 2.0), (3.0, 3.0), (10.0, 3.0)] # Poligonul NU este x-monoton! # Poligonul NU este y-monoton!
def histogram(s): ''' Maps values of sequence to its frequency / occurrence. s: sequence ''' d = {} for c in s: d[c] = d.get(c, 0) + 1 return d def invert_dict(d): ''' Inverts a dictionary(d). Returns dictionary with values of d as keys and keys of d as values. d: dictionary ''' inverse = {} for k in d: inverse.setdefault(d[k], []).append(k) return inverse print(invert_dict(histogram("sarcastic")))