// ==UserScript== // @name MH - Minluck & CRE tool v2.0 (new) // @description Shows hunt statistics on the camp page // @author Chromatical // @match https://www.mousehuntgame.com/* // @match https://apps.facebook.com/mousehunt/* // @icon https://www.google.com/s2/favicons?domain=mousehuntgame.com // @version 2.1.0 // @grant none // @namespace https://greasyfork.org/users/748165 // @downloadURL none // ==/UserScript== //User Settings----------------------------- //var turn_red_when = 60; //Turns red when your CR falls below it, in % Deprecated, set it with the tool nox now (click on "i"); //User Settings End------------------------- (function() { if (document.getElementsByClassName("trapImageView-trapAuraContainer")[0] && document.getElementById("mousehuntContainer").className.includes("PageCamp")){ render(); trapChangeListener() } })(); $(document).ajaxStop(function() { var trapContainer = document.getElementsByClassName("trapImageView-trapAuraContainer")[0] if(document.getElementsByClassName("min-luck-container")[0]){ return; } else if (trapContainer && document.getElementById("mousehuntContainer").className.includes("PageCamp")){ render(); } }); //Data var allMice = [ "Abominable Snow", "Absolute Acolyte", "Acolyte", "Admiral Arrrgh", "Admiral Cloudbeard", "Aether", "Aged", "Agent M", "Agitated Gentle Giant", "Alchemist", "Alnilam", "Alnitak", "Alpha Weremouse", "Amplified Brown", "Amplified Grey", "Amplified White", "Ancient of the Deep", "Ancient Scribe", "Angelfish", "Angler", "Angry Train Staff", "Aquos", "Arcane Summoner", "Arch Champion Necromancer", "Archer", "Aristo-Cat Burglar", "Armored Archer", "Artillery Commander", "Ascended Elder", "Ash Golem", "Assassin", "Assassin Beast", "Astrological Astronomer", "Automated Sentry", "Automated Stone Sentry", "Automorat", "Baba Gaga", "Balack the Banished", "Bandit", "Bark", "Barkshell", "Barmy Gunner", "Barnacle Beautician", "Barracuda", "Bartender", "Bat", "Battering Ram", "Battle Cleric", "Bear", "Bearded Elder", "Beast Tamer", "Berserker", "Berzerker", "Betta", "Big Bad Behemoth Burroughs", "Big Bad Burroughs", "Bilged Boatswain", "Biohazard", "Bionic", "Birthday", "Bitter Root", "Black Diamond Racer", "Black Mage", "Black Powder Thief", "Black Widow", "Blacksmith", "Bloomed Sylvan", "Bog Beast", "Bonbon Gummy Globlin", "Bookborn", "Borean Commander", "Bottled", "Bottom Feeder", "Boulder Biter", "Bounty Hunter", "Brawny", "Breakdancer", "Breeze Borrower", "Briegull", "Brimstone", "Brown", "Bruticle", "Bruticus, the Blazing", "Buccaneer", "Buckethead", "Builder", "Bulwark of Ascent", "Burglar", "Burly Bruiser", "Cabin Boy", "Calalilly", "Calligraphy", "Camoflower", "Camofusion", "Candy Cane", "Candy Cat", "Candy Goblin", "Cannonball", "Captain", "Captain Cannonball", "Captain Cloudkicker", "Captain Croissant", "Caravan Guard", "Cardshark", "Carefree Cook", "Caretaker", "Carmine the Apothecary", "Carnivore", "Carrion Medium", "Cavalier", "Cavern Crumbler", "Centaur", "Centaur Ranger", "Chamber Cleaver", "Chameleon", "Champion", "Champion Danseuse", "Champion Thief", "Charming Chimer", "Cheesy Party", "Cherry", "Cherry Sprite", "Chess Master", "Chip Chiseler", "Chipper", "Chitinous", "Chocolate Gold Foil", "Chocolate Overload", "Christmas Tree", "Chrono", "Chronomaster", "Cinderstorm", "Circuit Judge", "City Noble", "City Worker", "Clockwork Samurai", "Clockwork Timespinner", "Cloud Collector", "Cloud Miner", "Cloud Strider", "Clownfish", "Clump", "Clumsy Carrier", "Clumsy Chemist", "Coal Shoveller", "Cobweb", "Coco Commander", "Coffin Zombie", "Confused Courier", "Conjurer", "Conqueror", "Consumed Charm Tinkerer", "Cook", "Coral", "Coral Cuddler", "Coral Dragon", "Coral Gardener", "Coral Guard", "Coral Harvester", "Coral Queen", "Core Sample", "Cork Defender", "Corkataur", "Corky, the Collector", "Corridor Bruiser", "Corrupt", "Corrupt Commodore", "Costumed Dog", "Costumed Dragon", "Costumed Horse", "Costumed Monkey", "Costumed Ox", "Costumed Pig", "Costumed Rabbit", "Costumed Rat", "Costumed Rooster", "Costumed Sheep", "Costumed Snake", "Costumed Tiger", "Count Vampire", "Cowardly", "Cowbell", "Crabolia", "Crag Elder", "Craggy Ore", "Cranky Caterpillar", "Crate Camo", "Crazed Goblin", "Creepy Marionette", "Crimson Commander", "Crimson Ranger", "Crimson Titan", "Crimson Watch", "Croquet Crusher", "Crown Collector", "Crystal Behemoth", "Crystal Cave Worm", "Crystal Controller", "Crystal Golem", "Crystal Lurker", "Crystal Observer", "Crystal Queen", "Crystalback", "Crystalline Slasher", "Cumulost", "Cupcake Camo", "Cupcake Candle Thief", "Cupcake Cutie", "Cupcake Runner", "Cupid", "Curious Chemist", "Cursed", "Cursed Crusader", "Cursed Enchanter", "Cursed Engineer", "Cursed Librarian", "Cursed Taskmaster", "Cursed Thief", "Cute Cloud Conjurer", "Cute Crate Carrier", "Cutpurse", "Cutthroat Cannoneer", "Cutthroat Pirate", "Cuttle", "Cyber Miner", "Cybernetic Specialist", "Cyborg", "Cycloness", "Cyclops", "Cyclops Barbarian", "Dance Party", "Dancer", "Dancing Assassin", "Dangerous Duo", "Dark Magi", "Dark Templar", "Dashing Buccaneer", "Davy Jones", "Dawn Guardian", "Daydreamer", "Decrepit Tentacle Terror", "Deep", "Deep Sea Diver", "Defender", "Dehydrated", "Demolitions", "Deranged Deckhand", "Derpicorn", "Derpshark", "Derr Chieftain", "Derr Lich", "Desert Archer", "Desert Architect", "Desert Nomad", "Desert Soldier", "Desperado", "Destructoy", "Devious Gentleman", "Diamond", "Diamondhide", "Dinosuit", "Dire Lycan", "Dirt Thing", "Dojo Sensei", "Doktor", "Double Black Diamond Racer", "Draconic Warden", "Dragon", "Dragonbreather", "Dragoon", "Dread Knight", "Dread Pirate Mousert", "Dream Drifter", "Drudge", "Drummer", "Dumpling Chef", "Dumpling Delivery", "Dunehopper", "Dwarf", "Eagle Owl", "Eclipse", "Eel", "Effervescent", "Egg Painter", "Egg Scrambler", "Eggscavator", "Eggsplosive Scientist", "Eggsquisite Entertainer", "El Flamenco", "Elder", "Elf", "Elite Guardian", "Elixir Maker", "Elub Chieftain", "Elub Lich", "Elven Princess", "Emberstone Scaled", "Empyrean Appraiser", "Empyrean Empress", "Empyrean Geologist", "Empyrean Javelineer", "Enginseer", "Enlightened Labourer", "Enslaved Spirit", "Epoch Golem", "Escape Artist", "Essence Collector", "Essence Guardian", "Ethereal Enchanter", "Ethereal Engineer", "Ethereal Guardian", "Ethereal Librarian", "Ethereal Thief", "Evil Scientist", "Excitable Electric", "Exo-Tech", "Explorator", "Extreme Everysports", "Factory Technician", "Fairy", "Fall Familiar", "Fallen Champion Footman", "Falling Carpet", "Farmhand", "Farrier", "Fencer", "Fete Fromager", "Fetid Swamp", "Fiddler", "Field", "Fiend", "Fiery Crusher", "Finder", "Firebreather", "Firefly", "Flame Archer", "Flame Ordnance", "Flame Warrior", "Floating Spore", "Flutterby", "Fluttering Flutist", "Flying", "Fog", "Force Fighter Blue", "Force Fighter Green", "Force Fighter Pink", "Force Fighter Red", "Force Fighter Yellow", "Forever Alone", "Forgotten Elder", "Fortuitous Fool", "Foxy", "Free Skiing", "Frightened Flying Fireworks", "Frigid Foreman", "Frog", "Frostbite", "Frostlance Guard", "Frostwing Commander", "Frosty Snow", "Frozen", "Fuel", "Ful'Mina, The Mountain Queen", "Fungal Frog", "Fungal Spore", "Fungal Technomorph", "Funglore", "Fuzzy Drake", "Gargantuamouse", "Gargoyle", "Gate Guardian", "Gelatinous Octahedron", "Gemorpher", "Gemstone Worshipper", "General Drheller", "Gentleman Caller", "Ghost", "Ghost Pirate Queen", "Giant Snail", "Gilded Leaf", "Gingerbread", "Glacia Ice Fist", "Gladiator", "Glamorous Gladiator", "Glass Blower", "Glazy", "Glitchpaw", "Gluttonous Zombie", "Goblin", "Gold", "Goldleaf", "Golem", "Goliath Field", "Gorgon", "Gourd Ghoul", "Gourdborg", "Grampa Golem", "Grand Master of the Dojo", "Grandfather", "Granite", "Granny Spice", "Grave Robber", "Great Giftnapper", "Great Winter Hunt Impostor", "Greedy Al", "Grey", "Grey Recluse", "Greyrun", "Grizzled Silth", "Ground Gavaleer", "Grubling", "Grubling Herder", "Grunt", "Guardian", "Guppy", "Guqin Player", "Gyrologer", "Hapless", "Hapless Marionette", "Harbinger of Death", "Hardboiled", "Hardworking Hauler", "Hare Razer", "Harpy", "Harvest Harrier", "Harvester", "Hazmat", "Healer", "Heart of the Meteor", "Heavy Blaster", "Herc", "High Roller", "Hired Eidolon", "Hoarder", "Hollowed", "Hollowed Minion", "Hollowhead", "Homeopathic Apothecary", "Hookshot", "Hope", "Horned Cork Hoarder", "Hot Head", "Huntereater", "Hurdle", "Hydra", "Hydrologist", "Hydrophobe", "Hypnotized Gunslinger", "Iceberg Sculptor", "Iceblade", "Iceblock", "Icebreaker", "Icewing", "Icicle", "Ignatia", "Ignis", "Impersonator", "Incompetent Ice Climber", "Industrious Digger", "Inferna, The Engulfed", "Inferno Mage", "Infiltrator", "Itty Bitty Rifty Burroughs", "Itty-Bitty Burroughs", "Jellyfish", "Joy", "Juliyes", "Jurassic", "Kalor'ignis of the Geyser", "Karmachameleon", "Keeper", "Keeper's Assistant", "King Grub", "King Scarab", "Kite Flyer", "Knight", "Koimaid", "Kung Fu", "Lab Technician", "Lady Coldsnap", "Lambent", "Lambent Crystal", "Lancer Guard", "Lasso Cowgirl", "Launchpad Labourer", "Lawbender", "Leprechaun", "Leviathan", "Lich", "Lightning Rod", "Limestone Miner", "Living Ice", "Living Salt", "Lockpick", "Longtail", "Lord Splodington", "Lost", "Lost Legionnaire", "Lovely Sports", "Lucky", "Lumahead", "Lumberjack", "Lumi-lancer", "Lunar Red Candle Maker", "Lycan", "Lycanoid", "M400", "Mad Elf", "Mage Weaver", "Magic", "Magic Champion", "Magma Carrier", "Magmarage", "Magmatic Crystal Thief", "Magmatic Golem", "Mairitime Pirate", "Maize Harvester", "Mammoth", "Manaforge Smith", "Manatee", "Market Guard", "Market Thief", "Martial", "Masked Pikeman", "Master Burglar", "Master Exploder", "Master of the Cheese Belt", "Master of the Cheese Claw", "Master of the Cheese Fang", "Master of the Chi Belt", "Master of the Chi Claw", "Master of the Chi Fang", "Master of the Dojo", "Matron of Machinery", "Matron of Wealth", "Mecha Tail", "Medicine", "Menace of the Rift", "Mermouse", "Mermousette", "Mershark", "Meteorite Golem", "Meteorite Miner", "Meteorite Mover", "Meteorite Mystic", "Meteorite Snacker", "Micro", "Mighty Mole", "Mild Spicekin", "Militant Samurai", "Mimic", "Mind Tearer", "Miner", "Mining Materials Manager", "Mintaka", "Mischievous Meteorite Miner", "Mischievous Wereminer", "Miser", "Missile Toe", "Mist Maker", "Mlounder Flounder", "Mobster", "Mole", "Molten Midas", "Monarch", "Monk", "Monsoon Maker", "Monster", "Monster of the Meteor", "Monster Tail", "Monstrous Abomination", "Monstrous Black Widow", "Moosker", "Mossy Moosker", "Mouldy Mole", "Mountain", "Mousataur Priestess", "Mouse of Elements", "Mouse of Winter Future", "Mouse of Winter Past", "Mouse of Winter Present", "Mouse With No Name", "Mousevina von Vermin", "Moussile", "Mummy", "Mush", "Mush Monster", "Mushroom Harvester", "Mushroom Sprite", "Mutant Mongrel", "Mutant Ninja", "Mutated Behemoth", "Mutated Brown", "Mutated Grey", "Mutated Mole", "Mutated Siblings", "Mutated White", "Mysterious Traveller", "Mystic", "Mystic Bishop", "Mystic Guardian", "Mystic Herald", "Mystic King", "Mystic Knight", "Mystic Pawn", "Mystic Queen", "Mystic Rook", "Mystic Scholar", "Nachore Golem", "Nachous, The Molten", "Narrator", "Naturalist", "Naughty Nougat", "Necromancer", "Nerg Chieftain", "Nerg Lich", "New Year's", "Nibbler", "Nice Knitting", "Night Shift Materials Manager", "Night Watcher", "Nightfire", "Nightmancer", "Nightshade Flower Girl", "Nightshade Fungalmancer", "Nightshade Maiden", "Nightshade Masquerade", "Nightshade Nanny", "Nimbomancer", "Ninja", "Nitro Racer", "Nomad", "Nomadic Warrior", "Nugget", "Nutcracker", "Octomermaid", "Ol' King Coal", "Old One", "Old Spice Collector", "One-Mouse Band", "Onion Chopper", "Ooze", "Ore Chipper", "Ornament", "Outbreak Assassin", "Outlaw", "Over-Prepared", "Overcaster", "Oxygen Baron", "Pack", "Page", "Paladin", "Paladin Weapon Master", "Pan Slammer", "Para Para Dancer", "Paragon of Arcane", "Paragon of Dragons", "Paragon of Forgotten", "Paragon of Shadow", "Paragon of Strength", "Paragon of Tactics", "Paragon of the Lawless", "Paragon of Water", "Parlour Player", "Party Head", "Passenger", "Pathfinder", "Pearl", "Pearl Diver", "Pebble", "Peggy the Plunderer", "Penguin", "Phalanx", "Phase Zombie", "Photographer", "Pie Thief", "Pinchy", "Pintail", "Pirate", "Pirate Anchor", "Plague Hag", "Plutonium Tentacle", "Pneumatic Dirt Displacement", "Pocketwatch", "Polar Bear", "Portable Generator", "Portal Paladin", "Portal Plunderer", "Portal Pursuer", "Possessed Armaments", "Praetorian Champion", "Present", "Prestigious Adventurer", "Primal", "Princess Fist", "Prospector", "Protector", "Prototype", "Puddlemancer", "Puffer", "Pugilist", "Pump Raider", "Pumpkin Head", "Pumpkin Hoarder", "Puppet Champion", "Puppet Master", "Puppetto", "Pygmy Wrangler", "Pyrehyde", "Pyrite", "Queen Quesada", "Queso Extractor", "Quesodillo", "Quillback", "Radioactive Ooze", "Rain Collector", "Rain Summoner", "Rain Wallower", "Rainbow Racer", "Rainmancer", "Rainwater Purifier", "Rambunctious Rain Rumbler", "Rancid Bog Beast", "Ravenous Zombie", "Raw Diamond", "Reality Restitch", "Realm Ripper", "Reanimated Carver", "Reaper", "Record Keeper", "Record Keeper's Assistant", "Red Coat Bear", "Red Envelope", "Red-Eyed Watcher Owl", "Regal Spearman", "Reinbo", "Relic Hunter", "Renegade", "Retired Minotaur", "Reveling Lycanthrope", "Revenant", "Ribbon", "Richard the Rich", "Ridiculous Sweater", "Rift Bio Engineer", "Rift Guardian", "Rift Tiger", "Rifterranian", "Riftweaver", "Riptide", "Robat", "Rock Muncher", "Rocketeer", "Rockstar", "Rogue", "Romeno", "Romeo", "RR-8", "Rubble Rouser", "Rubble Rummager", "Ruffian", "S.N.O.W. Golem", "Saboteur", "Sacred Shrine", "Saloon Gal", "Salt Water Snapper", "Saltwater Axolotl", "Samurai", "Sand Cavalry", "Sand Colossus", "Sand Dollar Diver", "Sand Dollar Queen", "Sand Pilgrim", "Sandmouse", "Sandwing Cavalry", "Sanguinarian", "Sarcophamouse", "Scarab", "Scarecrow", "Scarlet Revenger", "Scavenger", "School of Mish", "Scorned Pirate", "Scout", "Scrap Metal Monster", "Scribe", "Scrooge", "Scruffy", "Seadragon", "Seasoned Islandographer", "Seer", "Sentient Slime", "Sentinel", "Serpent Monster", "Serpentine", "Shackled Servant", "Shade of the Eclipse", "Shadow Sage", "Shadow Stalker", "Shaman", "Shaolin Kung Fu", "Shard Centurion", "Sharpshooter", "Shattered Carmine", "Shattered Obsidian", "Shelder", "Shinobi", "Shipwrecked", "Shopkeeper", "Shortcut", "Shorts-All-Year", "Shroom", "Silth", "Silvertail", "Sinister Egg Painter", "Sir Fleekio", "Siren", "Sizzle Pup", "Skeletal Champion", "Skeleton", "Sky Dancer", "Sky Glass Glazier", "Sky Glass Sorcerer", "Sky Glider", "Sky Greaser", "Sky Highborne", "Sky Squire", "Sky Surfer", "Sky Swordsman", "Skydiver", "Slay Ride", "Slayer", "Sleepwalker", "Sleepy Merchant", "Slimefist", "Slope Swimmer", "Sludge", "Sludge Scientist", "Sludge Soaker", "Sludge Swimmer", "Smoldersnap", "Snake Charmer", "Snooty", "Snow Boulder", "Snow Bowler", "Snow Fort", "Snow Golem Architect", "Snow Golem Jockey", "Snow Scavenger", "Snow Slinger", "Snow Sniper", "Snow Soldier", "Snow Sorceress", "Snowball Hoarder", "Snowblind", "Snowblower", "Snowflake", "Snowglobe", "Sock Puppet Ghost", "Soldier of the Shade", "Solemn Soldier", "Soothsayer", "Sorcerer", "Soul Binder", "Space Party-Time Plumber", "Spear Fisher", "Spectral Butler", "Spectral Swashbuckler", "Spectre", "Speedy", "Spellbinder", "Spheric Diviner", "Spice Farmer", "Spice Finder", "Spice Merchant", "Spice Raider", "Spice Reaper", "Spice Seer", "Spice Sovereign", "Spider", "Spiked Burrower", "Spiky Devil", "Spirit Fox", "Spirit Light", "Spirit of Balance", "Spiritual Steel", "Splintered Stone Sentry", "Spore", "Spore Muncher", "Spore Salesman", "Sporeticus", "Sporty Ski Instructor", "Spotted", "Spring Familiar", "Spring Sprig", "Sprinkly Sweet Cupcake Cook", "Spry Sky Explorer", "Spry Sky Seer", "Spud", "Squeaken", "Squeaker Bot", "Squeaker Claws", "Stack of Thieves", "Stagecoach Driver", "Stalagmite", "Stealth", "Steam Grip", "Steam Sailor", "Steel", "Steel Horse Rider", "Stickybomber", "Stinger", "Stingray", "Stocking", "Stone Cutter", "Stone Maiden", "Stonework Warrior", "Stormsurge, the Vile Tempest", "Stoutgear", "Stowaway", "Stratocaster", "Strawberry Hotcakes", "Stuck Snowball", "Student of the Cheese Belt", "Student of the Cheese Claw", "Student of the Cheese Fang", "Student of the Chi Belt", "Student of the Chi Claw", "Student of the Chi Fang", "Stuffy Banker", "Suave Pirate", "Subterranean", "Sugar Rush", "Summer Mage", "Summoning Scholar", "Sunken Banshee", "Sunken Citizen", "Super FighterBot MegaSupreme", "Super Mega Mecha Ultra RoboGold", "Supernatural", "Supply Hoarder", "Supreme Sensei", "Surgeon Bot", "Swabbie", "Swamp Runner", "Swamp Thang", "Swarm of Pygmy Mice", "Swashblade", "Sylvan", "Tadpole", "Taleweaver", "Tanglefoot", "Tech Golem", "Tech Ravenous Zombie", "Technic Bishop", "Technic King", "Technic Knight", "Technic Pawn", "Technic Queen", "Technic Rook", "Teenage Vampire", "Telekinetic Mutant", "Tentacle", "Terra", "Terrible Twos", "Terrified Adventurer", "Terror Knight", "The Menace", "The Total Eclipse", "Theurgy Warden", "Thirsty", "Thistle", "Thorn", "Thunder Strike", "Thundering Watcher", "Thunderlord", "Tidal Fisher", "Tiger", "Time Punk", "Time Tailor", "Time Thief", "Timeless Lich", "Timelost Thaumaturge", "Timeslither Pythoness", "Timid Explorer", "Tiny", "Tiny Dragonfly", "Tiny Saboteur", "Tiny Toppler", "Titanic Brain-Taker", "Toboggan Technician", "Tomb Exhumer", "Tome Sprite", "Tonic Salesman", "Totally Not Bitter", "Toxic Avenger", "Toxic Warrior", "Toxikinetic", "Toy", "Toy Sylvan", "Toy Tinkerer", "Trailblazer", "Train Conductor", "Train Engineer", "Trampoline", "Travelling Barber", "Treant", "Treant Queen", "Treasure Brawler", "Treasure Hoarder", "Treasure Keeper", "Treasurer", "Treat", "Tree Troll", "Tri-dra", "Trick", "Tricky Witch", "Triple Lutz", "Tritus", "Troll", "Tumbleweed", "Tundra Huntress", "Turret Guard", "Twisted Carmine", "Twisted Fiend", "Twisted Hotcakes", "Twisted Lilly", "Twisted Treant", "Undertaker", "Unwavering Adventurer", "Upper Class Lady", "Urchin King", "Vampire", "Vanguard", "Vanquisher", "Vaporior", "Vigilant Ward", "Vincent, The Magnificent", "Vinetail", "Violet Stormchild", "Walker", "Wandering Monk", "Warden of Fog", "Warden of Frost", "Warden of Rain", "Warden of Wind", "Warehouse Manager", "Warming Wyvern", "Warmonger", "Water Nymph", "Water Sprite", "Water Wielder", "Wave Racer", "Wealth", "Wealthy Werewarrior", "Werehauler", "Wereminer", "Whelpling", "Whirleygig", "White", "White Mage", "Wicked Witch of Whisker Woods", "Wiggler", "Wight", "Wild Chainsaw", "Wind Warrior", "Wind Watcher", "Windy Farmer", "Winged Harpy", "Winter Games", "Winter Mage", "Withered Remains", "Wolfskie", "Wordsmith", "Worker", "Worried Wayfinder", "Wound Up White", "Wreath Thief", "Yeti", "Young Prodigy Racer", "Zealous Academic", "Zephyr", "Zombie", "Zombot Unipire", "Zombot Unipire the Third", "Zurreal the Eternal", "Land Loafer", "Root Rummager", "Grit Grifter", "Crazed Cultivator", "Angry Aphid", "Wily Weevil", "Mighty Mite", "Loathsome Locust", "Beachcomber", "Sand Sifter", "Tackle Tracker", "Covetous Coastguard", "Pompous Perch", "Careless Catfish", "Melodramatic Minnow", "Sinister Squid", "Nefarious Nautilus", "Vicious Vampire Squid", "Architeuthulhu of the Abyss", "Hans Cheesetian Squeakersen", "Brothers Grimmaus", "Madame d'Ormouse", "Matriarch Gander", "Little Miss Fluffet", "Humphrey Dumphrey", "Little Bo Squeak", "Princess and the Olive", "Pinkielina", "Fibbocchio", "Greenbeard", "Flamboyant Flautist", "Ice Regent", "Bitter Grammarian", "Mythweaver" ]; var minluckvalues = [ [31,9999,31,31,9999,31,31,31,31,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,118], [380,9999,68,9999,9999,9999,380,9999,9999,9999], [30,30,30,30,30,30,30,30,30,22], [145,145,145,145,9999,145,145,145,145,9999], [9999,9999,9999,9999,9999,56,9999,50,9999,9999], [9999,9999,9999,9999,9999,49,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,100,9999], [230,230,230,230,9999,230,230,230,230,23], [9999,9999,9999,23,9999,32,9999,32,9999,9999], [9999,9999,9999,9999,9999,9999,9999,38,9999,9999], [9999,9999,9999,40,9999,9999,9999,9999,9999,9999], [73,9999,9999,9999,9999,9999,53,9999,9999,9999], [200,200,200,200,9999,200,200,200,200,20], [200,200,200,200,9999,200,200,200,200,20], [200,200,200,200,9999,200,200,200,200,20], [9999,9999,9999,138,9999,9999,9999,9999,9999,9999], [92,9999,66,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,66,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [48,48,48,48,192,64,35,64,9999,9999], [54,9999,9999,9999,9999,9999,75,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [9999,9999,9999,9999,9999,28,9999,20,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,62,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,36], [103,9999,9999,206,9999,206,9999,206,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,310], [83,9999,60,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,82,9999,59,9999,9999], [870,870,870,870,9999,870,870,870,870,87], [9999,9999,9999,9999,9999,9999,77,9999,9999,9999], [220,220,220,220,9999,220,220,220,220,22], [101,9999,73,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,32,9999], [44,44,44,44,44,44,44,44,44,32], [382,9999,137,9999,9999,9999,764,9999,9999,9999], [32,32,32,32,32,6,32,8,8,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,64,9999,9999,9999,9999,9999,9999], [12,12,12,9,9999,12,12,12,12,9999], [9999,9999,9999,52,9999,9999,9999,9999,9999,9999], [9999,9999,9999,66,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [17,9999,17,9999,9999,17,13,68,9999,9999], [696,9999,9999,9999,9999,9999,696,9999,9999,9999], [74,9999,53,9999,9999,9999,9999,9999,9999,9999], [19,9999,9999,19,9999,19,19,14,19,9999], [9999,63,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,28,9999,9999], [36,36,36,36,72,36,36,13,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,47], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [1330,1330,1330,1330,9999,1330,1330,1330,1330,133], [160,9999,9999,9999,9999,160,160,160,9999,9999], [12,12,12,9,9999,12,12,12,12,9999], [9999,9999,9999,81,9999,9999,9999,9999,9999,9999], [11,9999,11,11,9999,11,11,11,11,9999], [20,20,20,20,20,20,20,20,20,20], [9999,9999,59,59,9999,9999,9999,9999,9999,9999], [25,25,25,25,9999,25,25,25,25,25], [28,28,28,28,112,38,20,38,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,36,9999], [45,45,45,45,9999,45,45,45,45,45], [9999,9999,9999,9999,9999,85,9999,85,85,9999], [300,300,300,300,9999,300,300,300,300,30], [9999,9999,9999,46,9999,9999,9999,9999,9999,9999], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,9999,9999,45,9999,40,9999,9999], [20,20,20,20,9999,20,20,20,20,20], [9999,9999,9999,31,9999,43,9999,43,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [280,280,280,280,9999,280,280,280,280,28], [9999,9999,9999,9999,9999,9999,9999,9999,24,9999], [210,210,210,210,9999,210,210,210,210,21], [20,20,20,20,20,20,20,20,20,20], [42,42,9999,9999,9999,9999,42,9999,9999,9999], [9999,9999,9999,13,9999,18,9999,18,9999,9999], [29,9999,32,9999,9999,9999,29,9999,9999,9999], [2,2,2,2,9999,2,2,2,2,2], [9999,9999,9999,66,9999,9999,9999,92,9999,9999], [9999,123,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,35,9999,48,9999,48,9999,9999], [16,16,16,16,16,16,16,16,16,16], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,9999,9999,9999,9999,9999,9999,458], [33,33,33,33,9999,33,33,33,27,33], [9999,57,9999,9999,9999,9999,9999,9999,9999,9999], [8,8,8,6,9999,8,8,8,8,9999], [9999,9999,9999,55,9999,9999,9999,9999,9999,9999], [22,22,22,22,22,22,22,22,16,16], [9999,9999,9999,68,9999,9999,9999,9999,9999,9999], [9999,9999,9999,86,9999,9999,9999,9999,9999,9999], [7,7,7,7,9999,7,7,7,7,7], [25,25,25,25,25,25,25,25,25,18], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [9999,9999,9999,43,9999,59,9999,59,9999,9999], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,9999,9999,9999,9999,136,9999,9999], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,136,9999,136,9999,136,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [34,34,34,34,9999,34,34,34,34,34], [9999,9999,9999,29,9999,29,9999,21,9999,9999], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [9999,9999,9999,87,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,47], [52,52,52,52,104,52,52,19,9999,9999], [9999,9999,43,86,9999,9999,9999,9999,9999,9999], [54,9999,9999,54,9999,54,54,39,54,9999], [620,620,620,620,9999,620,620,620,620,62], [9999,9999,9999,9999,9999,9999,9999,9999,9999,27], [18,9999,9999,18,9999,18,18,13,18,9999], [9999,9999,9999,56,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [37,102,9999,9999,9999,9999,51,9999,9999,9999], [23,23,23,23,23,23,23,23,23,23], [28,9999,9999,28,9999,28,28,20,28,9999], [320,320,320,320,9999,320,320,320,320,32], [9999,9999,9999,9999,9999,9999,9999,150,9999,9999], [9999,9999,9999,9999,9999,9999,26,9999,9999,9999], [9999,9999,9999,48,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,60,9999,9999,9999], [37,37,37,37,9999,37,37,37,37,37], [10,10,10,10,9999,10,10,10,10,10], [16,16,16,16,9999,16,16,16,16,16], [452,9999,81,9999,9999,9999,452,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,28], [9999,69,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [9999,9999,9999,44,9999,9999,9999,9999,9999,9999], [9999,9999,9999,47,9999,9999,9999,9999,9999,9999], [20,20,20,20,20,5,20,5,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,34], [35,35,9999,9999,9999,9999,35,9999,9999,9999], [104,104,104,104,9999,104,104,104,104,9999], [9999,9999,9999,93,9999,9999,9999,9999,9999,9999], [9999,9999,9999,51,9999,9999,9999,9999,9999,9999], [260,260,260,260,9999,260,260,260,260,26], [9999,9999,9999,58,9999,9999,9999,9999,9999,9999], [11,9999,11,11,9999,11,11,11,11,9999], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [24,24,24,24,24,24,24,24,24,18], [32,32,32,32,9999,32,32,32,32,32], [24,9999,24,9999,9999,96,18,96,9999,9999], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,9999,9999,9999,9999,40,9999,9999], [9999,9999,9999,9999,9999,9999,9999,42,9999,9999], [70,70,70,70,9999,70,70,70,70,9999], [9999,9999,9999,27,9999,37,9999,37,9999,9999], [9999,9999,9999,52,9999,9999,9999,9999,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [9999,9999,9999,62,9999,9999,9999,9999,9999,9999], [9999,9999,9999,59,9999,9999,9999,9999,9999,9999], [9999,9999,9999,66,9999,9999,9999,9999,9999,9999], [9999,9999,9999,57,9999,9999,9999,9999,9999,9999], [9999,9999,9999,75,9999,9999,9999,9999,9999,9999], [23,9999,9999,9999,9999,23,23,23,9999,9999], [9999,48,9999,9999,9999,9999,9999,9999,9999,9999], [9999,70,9999,9999,9999,9999,9999,9999,9999,9999], [9999,37,9999,9999,9999,9999,9999,9999,9999,9999], [93,9999,75,9999,9999,9999,9999,9999,9999,9999], [57,9999,9999,9999,9999,9999,9999,9999,9999,9999], [13,13,13,10,9999,13,13,13,13,9999], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [26,26,26,26,26,26,26,26,19,19], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [25,25,25,25,25,25,25,25,18,18], [230,230,230,230,9999,230,230,230,230,23], [2,2,2,2,9999,2,2,2,2,2], [34,34,34,34,68,34,34,13,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,46,92,9999,9999,9999,9999,9999,9999], [18,9999,18,18,9999,18,18,18,18,9999], [280,280,280,280,9999,280,280,280,280,28], [9999,9999,9999,9999,9999,9999,9999,9999,32,9999], [280,280,280,280,9999,280,280,280,280,28], [55,55,55,55,55,55,55,55,55,40], [56,56,9999,56,9999,56,9999,56,9999,9999], [9999,9999,9999,74,9999,55,9999,74,9999,9999], [9999,9999,9999,79,9999,59,9999,79,9999,9999], [9999,9999,9999,71,9999,53,9999,71,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,39,9999], [37,37,37,37,9999,37,37,37,37,37], [9999,9999,155,9999,9999,9999,9999,9999,9999,9999], [9999,9999,58,9999,9999,9999,9999,9999,9999,9999], [9999,9999,53,9999,9999,9999,9999,9999,9999,9999], [9999,9999,68,9999,9999,9999,9999,9999,9999,9999], [9999,9999,79,9999,9999,9999,9999,9999,9999,9999], [9999,9999,86,9999,9999,9999,9999,9999,9999,9999], [9999,9999,73,9999,9999,9999,9999,9999,9999,9999], [9999,9999,53,9999,9999,9999,9999,9999,9999,9999], [9999,9999,58,116,9999,9999,9999,9999,9999,9999], [9999,9999,98,9999,9999,9999,9999,9999,9999,9999], [22,22,22,22,22,22,22,22,22,22], [13,13,13,13,13,13,13,13,13,13], [22,22,22,22,22,22,22,22,22,22], [18,18,18,18,18,18,18,18,18,18], [19,19,19,19,9999,19,19,19,19,19], [20,9999,9999,20,9999,20,20,15,20,9999], [46,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,75], [42,9999,9999,9999,9999,9999,9999,9999,9999,9999], [58,9999,9999,9999,9999,9999,9999,9999,9999,9999], [80,9999,9999,9999,9999,9999,9999,9999,9999,9999], [70,9999,9999,9999,9999,9999,97,9999,9999,9999], [66,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,109,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,42], [128,128,128,128,9999,128,128,128,128,9999], [111,111,111,111,9999,111,111,111,111,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [260,260,260,260,9999,260,260,260,260,26], [210,210,210,210,9999,210,210,210,210,21], [260,260,260,260,9999,260,260,260,260,26], [53,148,9999,9999,9999,9999,74,9999,9999,9999], [29,9999,9999,29,9999,29,29,21,29,9999], [620,620,620,620,9999,620,620,620,620,62], [16,16,16,16,16,16,16,16,16,16], [52,52,52,52,104,52,52,19,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,110], [9999,9999,9999,9999,9999,9999,9999,9999,36,9999], [142,9999,9999,9999,9999,9999,9999,9999,9999,9999], [121,9999,87,9999,9999,9999,9999,9999,9999,9999], [11,11,11,8,9999,11,11,11,11,9999], [23,9999,26,9999,9999,9999,23,9999,9999,9999], [136,9999,9999,9999,9999,9999,190,9999,9999,9999], [80,80,80,80,9999,80,80,80,80,9999], [111,9999,80,9999,9999,9999,80,9999,9999,9999], [9999,9999,9999,218,9999,9999,9999,9999,9999,9999], [9999,9999,9999,62,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,47,9999,9999], [9999,9999,9999,32,9999,9999,9999,9999,9999,9999], [34,9999,9999,9999,9999,34,34,34,9999,9999], [9999,9999,9999,75,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,17,9999,19,9999,9999], [9999,9999,9999,76,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,73,9999,9999,9999,9999], [73,9999,73,9999,9999,9999,82,9999,9999,9999], [9999,9999,9999,63,9999,47,9999,63,9999,9999], [9999,9999,9999,9999,9999,54,9999,54,54,9999], [9999,9999,9999,9999,9999,67,9999,67,67,9999], [9999,9999,9999,67,9999,50,9999,67,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [14,14,14,14,9999,14,14,14,14,14], [9999,9999,9999,9999,9999,9999,9999,9999,53,9999], [15,9999,15,15,9999,15,15,15,15,9999], [9999,9999,113,9999,9999,9999,9999,9999,9999,9999], [22,22,22,22,22,22,22,22,22,22], [25,25,25,25,25,25,25,25,25,18], [9999,9999,55,110,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,150,9999,108,9999,9999], [240,240,240,240,9999,240,240,240,240,24], [33,33,33,33,9999,33,33,33,33,33], [9999,82,9999,110,9999,110,9999,110,9999,9999], [9999,139,9999,9999,9999,9999,9999,9999,9999,9999], [9999,95,9999,9999,9999,9999,9999,9999,9999,9999], [9999,100,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,35], [9999,9999,9999,57,9999,9999,9999,9999,9999,9999], [220,220,220,220,9999,220,220,220,220,22], [63,9999,45,9999,9999,9999,9999,9999,9999,9999], [46,46,46,46,92,46,46,17,9999,9999], [9999,9999,9999,9999,9999,32,9999,23,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,34], [9999,9999,9999,9999,9999,9999,50,9999,9999,9999], [5,5,5,5,9999,5,5,5,5,5], [34,9999,9999,34,9999,34,34,25,34,9999], [98,98,98,98,548,98,98,98,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,67,9999,60,9999,9999], [22,22,22,22,9999,22,22,22,22,22], [25,25,25,25,9999,25,25,25,25,25], [34,34,34,34,9999,34,34,34,34,34], [33,33,33,33,9999,33,33,33,33,33], [34,34,34,34,9999,34,34,34,34,34], [27,27,27,27,27,27,27,27,27,27], [9999,9999,9999,48,9999,9999,9999,9999,9999,9999], [20,20,20,20,9999,20,20,20,20,20], [9999,9999,9999,54,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,51], [9999,9999,9999,63,9999,9999,9999,9999,9999,9999], [75,9999,75,9999,9999,9999,84,9999,9999,9999], [26,9999,9999,26,9999,26,26,19,26,9999], [9999,70,9999,9999,9999,9999,9999,9999,9999,9999], [73,73,73,73,9999,73,73,73,73,9999], [260,260,260,260,9999,260,260,260,260,9999], [63,63,63,63,9999,63,63,63,63,9999], [9999,81,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,34], [39,9999,44,9999,9999,9999,39,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,25], [20,20,20,20,20,4,20,5,5,9999], [41,9999,9999,9999,9999,9999,9999,9999,9999,9999], [41,9999,9999,9999,9999,9999,9999,9999,9999,9999], [36,9999,9999,9999,9999,9999,9999,9999,9999,9999], [53,9999,9999,9999,9999,9999,9999,9999,9999,9999], [74,9999,53,9999,9999,9999,9999,9999,9999,9999], [58,9999,9999,9999,9999,9999,9999,9999,9999,9999], [58,9999,9999,9999,9999,9999,9999,9999,9999,9999], [240,240,240,240,9999,240,240,240,240,24], [220,220,220,220,9999,220,220,220,220,22], [74,9999,53,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,35,9999,35,9999,9999], [23,23,23,23,9999,23,23,23,23,23], [23,23,23,23,23,23,23,23,23,23], [36,9999,9999,36,9999,36,36,26,36,9999], [9999,9999,9999,9999,9999,9999,55,76,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [9999,9999,9999,9999,9999,57,9999,57,57,9999], [18,18,18,18,9999,18,18,18,18,18], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [22,22,22,22,44,22,22,8,9999,9999], [10,10,10,10,10,10,10,10,10,10], [9999,9999,9999,9999,9999,9999,58,9999,9999,9999], [64,64,64,64,128,64,64,23,9999,9999], [2,2,2,2,9999,2,2,2,2,2], [60,60,60,54,300,100,60,100,9999,9999], [9999,9999,9999,9999,9999,9999,51,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,25,9999,9999], [9999,9999,9999,9999,9999,9999,9999,63,9999,9999], [9999,9999,9999,9999,9999,9999,9999,31,9999,9999], [9999,9999,9999,68,9999,51,9999,68,9999,9999], [63,9999,9999,126,9999,126,9999,126,9999,9999], [9999,9999,9999,72,9999,54,9999,72,9999,9999], [9999,9999,68,68,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,45,9999,40,9999,9999], [46,128,9999,9999,9999,9999,64,9999,9999,9999], [5,5,5,5,9999,5,5,5,5,5], [9,9999,9,9,9999,9,9,9,9,9999], [23,23,23,23,23,23,23,23,23,23], [32,32,32,32,32,32,32,32,32,32], [30,30,30,30,30,30,30,30,30,30], [28,28,28,28,28,28,28,28,28,28], [25,25,25,25,25,25,25,25,25,25], [22,22,22,22,9999,22,22,22,22,22], [9999,9999,87,9999,9999,9999,9999,9999,9999,9999], [100,100,100,100,9999,100,100,100,100,9999], [29,9999,9999,29,9999,29,29,21,29,9999], [16,16,16,16,9999,16,16,16,16,16], [16,16,16,16,9999,16,16,16,16,16], [7,7,7,7,9999,7,7,7,7,7], [18,9999,9999,18,9999,18,18,13,18,9999], [9999,9999,9999,61,9999,9999,9999,85,9999,9999], [9999,9999,9999,58,9999,9999,9999,9999,9999,9999], [9999,9999,9999,88,9999,9999,9999,9999,9999,9999], [12,9999,12,12,9999,12,12,12,12,9999], [7,9999,7,7,9999,7,7,7,7,9999], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [9999,142,9999,9999,9999,9999,9999,9999,9999,9999], [250,250,250,250,9999,250,250,250,250,25], [9999,9999,9999,76,9999,9999,9999,9999,9999,9999], [121,9999,87,9999,9999,9999,9999,9999,9999,9999], [9999,9999,66,66,9999,9999,9999,9999,9999,9999], [9999,40,9999,9999,9999,9999,9999,9999,9999,9999], [434,155,9999,868,9999,868,9999,868,9999,9999], [37,9999,51,9999,9999,9999,51,9999,9999,9999], [45,9999,62,9999,9999,9999,62,9999,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,48,9999,9999,9999,9999,9999,9999,9999], [9999,9999,41,82,9999,9999,9999,9999,9999,9999], [9999,9999,9999,109,9999,9999,9999,9999,9999,9999], [32,32,32,32,9999,32,32,32,32,32], [34,9999,34,9999,9999,136,25,136,9999,9999], [45,45,45,45,45,45,45,45,45,33], [28,9999,28,9999,9999,112,20,112,9999,9999], [270,270,270,270,9999,270,270,270,270,27], [14,14,14,14,9999,14,14,14,14,14], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,9999,9999,64,9999,9999,9999,9999], [9999,9999,9999,9999,9999,86,9999,9999,9999,9999], [9999,9999,9999,9999,9999,85,9999,85,85,9999], [11,11,11,11,9999,11,11,11,11,11], [20,20,20,20,20,20,20,20,20,20], [21,9999,21,9999,9999,84,15,84,9999,9999], [34,9999,9999,34,9999,34,25,34,9999,9999], [14,9999,14,14,9999,14,14,14,14,9999], [33,9999,9999,33,9999,33,33,24,33,9999], [43,9999,59,9999,9999,9999,59,9999,9999,9999], [750,750,750,750,9999,750,750,750,750,75], [50,9999,69,9999,9999,9999,69,9999,9999,9999], [42,42,42,42,42,42,42,42,42,30], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,9999,9999,9999,38,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,291], [9999,9999,9999,9999,9999,9999,9999,43,9999,9999], [10,9999,10,10,9999,10,10,10,10,9999], [49,9999,9999,9999,9999,9999,9999,9999,9999,9999], [33,33,33,33,9999,33,33,33,27,24], [30,30,30,30,9999,30,30,30,30,30], [30,30,30,30,9999,30,30,30,30,30], [33,33,33,33,9999,33,33,33,33,33], [1,1,1,1,9999,1,1,1,1,1], [36,36,36,36,36,36,36,36,36,26], [220,220,220,220,9999,220,220,220,220,22], [320,320,320,320,9999,320,320,320,320,32], [9999,9999,9999,9999,9999,79,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,25,9999,9999,9999], [9999,9999,9999,9999,9999,9999,45,9999,9999,9999], [9999,9999,9999,9999,9999,35,9999,9999,9999,9999], [9999,9999,9999,9999,9999,59,9999,9999,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [90,90,90,90,180,90,90,33,9999,9999], [9999,9999,9999,9999,9999,9999,9999,95,9999,9999], [9999,9999,9999,9999,9999,17,9999,13,9999,9999], [4,4,4,4,4,1,4,1,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,35], [36,36,36,36,9999,36,36,36,36,36], [76,9999,9999,9999,9999,9999,76,9999,28,9999], [37,37,37,37,9999,37,37,37,37,37], [86,9999,9999,86,9999,86,62,86,9999,9999], [9999,9999,9999,9999,9999,9999,53,74,9999,9999], [9999,9999,9999,9999,9999,9999,73,102,9999,9999], [9999,9999,9999,54,9999,9999,9999,9999,9999,9999], [9999,9999,9999,43,9999,31,9999,43,9999,9999], [620,9999,9999,9999,9999,9999,867,9999,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,104,9999,9999,9999,9999], [91,91,91,91,9999,91,91,91,91,91], [78,9999,56,9999,9999,9999,9999,9999,9999,9999], [6,6,6,6,9999,6,6,6,6,6], [42,42,42,42,9999,42,42,42,42,30], [45,45,45,45,9999,45,45,45,45,33], [20,20,20,20,20,20,20,20,20,15], [26,26,9999,9999,9999,9999,26,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,34,9999], [3,3,3,3,9999,3,3,3,3,3], [9999,66,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,25,9999,9999], [9999,9999,58,9999,9999,9999,9999,9999,9999,9999], [25,25,25,25,9999,25,25,25,25,25], [9999,9999,9999,36,9999,50,9999,36,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,23,9999,26,9999,9999], [51,9999,9999,9999,9999,9999,71,9999,9999,9999], [20,20,20,20,9999,20,20,20,20,20], [9999,9999,9999,63,9999,9999,9999,9999,9999,9999], [9999,9999,9999,52,9999,9999,9999,9999,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,112,9999,9999,9999,9999,9999,9999], [9999,9999,9999,55,9999,9999,9999,76,9999,9999], [9999,69,9999,9999,9999,9999,9999,9999,9999,9999], [34,34,34,34,136,46,25,46,9999,9999], [8,8,8,8,8,2,8,2,2,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [24,9999,9999,9999,9999,24,24,24,9999,9999], [95,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,49,9999,66,9999,66,9999,9999], [9999,9999,9999,9999,9999,64,9999,58,9999,9999], [250,250,250,250,9999,250,250,250,250,25], [65,9999,9999,9999,9999,65,65,65,9999,9999], [9999,9999,9999,47,9999,9999,9999,9999,9999,9999], [7,7,7,7,9999,7,7,7,7,7], [39,39,39,39,9999,39,39,39,39,39], [9999,9999,9999,9999,9999,9999,60,9999,9999,9999], [9999,124,9999,9999,9999,9999,9999,9999,9999,9999], [280,280,280,280,9999,280,280,280,280,28], [30,9999,42,9999,9999,9999,42,9999,9999,9999], [30,9999,41,9999,9999,9999,41,9999,9999,9999], [9999,9999,9999,9999,9999,9999,500,9999,9999,9999], [9999,9999,9999,9999,9999,9999,708,9999,9999,9999], [106,106,106,106,9999,106,106,106,106,9999], [38,38,38,38,76,38,38,14,9999,9999], [9999,9999,9999,34,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,54,9999,39,9999,9999], [9999,9999,9999,30,9999,9999,9999,9999,9999,9999], [9999,9999,9999,97,9999,9999,9999,9999,9999,9999], [260,260,260,260,9999,260,260,260,260,26], [64,9999,9999,9999,9999,64,64,64,9999,9999], [9999,89,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,23,9999], [69,69,69,69,9999,69,69,69,69,9999], [9999,9999,9999,9999,9999,9999,9999,9999,70,9999], [117,117,117,117,9999,117,117,117,117,117], [9999,9999,9999,60,9999,83,9999,83,9999,9999], [73,9999,102,9999,9999,9999,102,9999,9999,9999], [2,2,2,2,9999,2,2,2,2,2], [9999,9999,9999,9999,9999,81,9999,81,81,9999], [9999,9999,9999,32,9999,9999,9999,9999,9999,9999], [9999,9999,9999,39,9999,9999,9999,9999,9999,9999], [12,12,12,12,12,3,12,3,3,9999], [7,7,7,7,9999,7,7,7,7,7], [9999,9999,9999,78,9999,9999,9999,9999,9999,9999], [57,9999,46,9999,9999,9999,9999,9999,9999,9999], [52,9999,42,9999,9999,9999,9999,9999,9999,9999], [19,19,19,19,9999,19,19,19,19,19], [12,12,12,12,9999,12,12,12,12,12], [9999,9999,65,65,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,83,9999,83,83,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,78], [22,22,22,22,22,22,22,22,16,16], [67,9999,67,9999,9999,268,48,268,9999,9999], [240,240,240,240,9999,240,240,240,240,24], [9999,9999,9999,9999,9999,148,9999,148,9999,9999], [33,44,44,44,9999,44,44,44,44,44], [9999,9999,9999,9999,9999,88,9999,88,88,9999], [13,13,13,13,9999,13,13,13,13,13], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [9999,9999,9999,9999,9999,9999,61,9999,9999,9999], [9999,9999,9999,53,9999,71,9999,71,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,38,9999], [9999,9999,9999,9999,9999,9999,9999,9999,40,9999], [188,188,188,188,9999,188,188,188,188,9999], [40,40,40,40,40,40,40,40,40,29], [9999,9999,9999,60,9999,9999,9999,9999,9999,9999], [97,9999,70,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,105,9999,105,105,9999], [9999,9999,9999,9999,9999,105,9999,105,105,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,48], [83,9999,60,9999,9999,9999,9999,9999,9999,9999], [39,39,39,39,9999,39,39,39,32,39], [270,270,270,270,9999,270,270,270,270,27], [9999,9999,9999,9999,9999,45,9999,33,9999,9999], [9999,9999,9999,9999,9999,45,9999,33,9999,9999], [9999,9999,9999,9999,9999,45,9999,33,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,154], [9999,9999,9999,9999,9999,9999,9999,9999,9999,154], [9999,9999,9999,9999,9999,9999,9999,9999,9999,154], [9999,9999,9999,9999,9999,71,9999,51,9999,9999], [92,9999,66,9999,9999,9999,9999,9999,9999,9999], [88,9999,63,9999,9999,9999,9999,9999,9999,9999], [280,280,280,280,9999,280,280,280,280,28], [250,250,250,250,9999,250,250,250,250,25], [510,510,510,510,9999,510,510,510,510,51], [9999,9999,9999,30,9999,41,9999,41,9999,9999], [9999,9999,9999,57,9999,9999,9999,9999,9999,9999], [9999,9999,9999,62,9999,9999,9999,9999,9999,9999], [74,9999,9999,9999,9999,9999,103,9999,9999,9999], [102,9999,9999,9999,9999,9999,102,9999,37,9999], [150,9999,9999,9999,9999,9999,150,9999,54,9999], [84,9999,9999,9999,9999,9999,117,9999,9999,9999], [74,9999,9999,9999,9999,9999,74,9999,27,9999], [210,210,210,210,9999,210,210,210,210,21], [230,230,230,230,9999,230,230,230,230,23], [9999,54,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,68], [96,9999,69,9999,9999,9999,9999,9999,9999,9999], [101,9999,73,9999,9999,9999,9999,9999,9999,9999], [42,9999,9999,9999,9999,42,42,42,9999,9999], [82,9999,9999,9999,9999,9999,82,9999,30,9999], [9999,9999,9999,9999,9999,46,9999,9999,9999,9999], [90,9999,9999,9999,9999,9999,90,9999,33,9999], [73,9999,9999,9999,9999,9999,53,9999,9999,9999], [23,23,23,23,9999,23,23,23,23,23], [30,30,30,30,9999,30,30,30,30,30], [9999,9999,9999,154,9999,9999,9999,9999,9999,9999], [9999,9999,9999,44,9999,9999,9999,9999,9999,9999], [101,101,101,101,9999,101,101,101,101,101], [13,9999,9999,9999,9999,13,13,13,9999,9999], [496,9999,355,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,26,9999,9999], [9999,9999,9999,9999,9999,58,9999,42,9999,9999], [69,138,9999,9999,9999,9999,50,9999,9999,9999], [65,9999,65,65,9999,47,47,65,65,9999], [150,9999,9999,9999,9999,9999,210,9999,9999,9999], [9999,9999,9999,44,9999,9999,9999,9999,9999,9999], [1120,1120,1120,1120,9999,1120,1120,1120,1120,112], [680,680,680,680,9999,680,680,680,680,49], [5,9999,9999,5,9999,5,5,4,5,9999], [320,320,320,320,9999,320,320,320,320,32], [9999,9999,53,53,9999,9999,9999,9999,9999,9999], [24,9999,24,24,9999,24,24,24,24,9999], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,9999,9999,9999,9999,9999,9999,65], [36,36,36,36,9999,36,36,36,36,36], [40,40,40,40,9999,40,40,40,40,40], [33,33,33,33,9999,33,33,33,33,33], [9999,9999,9999,9999,9999,9999,9999,9999,36,9999], [96,9999,96,9999,9999,384,69,384,9999,9999], [19,19,19,19,9999,19,19,19,19,19], [44,9999,44,9999,9999,176,32,176,9999,9999], [9999,9999,61,61,9999,9999,9999,9999,9999,9999], [60,9999,60,9999,9999,9999,9999,9999,9999,9999], [53,9999,53,9999,9999,9999,9999,9999,9999,9999], [9999,9999,67,67,9999,9999,9999,9999,9999,9999], [9999,9999,9999,94,9999,9999,9999,9999,9999,9999], [9999,9999,9999,75,9999,9999,9999,9999,9999,9999], [9999,9999,9999,112,9999,9999,9999,9999,9999,9999], [16,9999,16,16,9999,16,16,16,16,9999], [10,9999,10,10,9999,10,10,10,10,9999], [51,9999,51,51,9999,51,51,51,51,9999], [9999,9999,9999,42,9999,9999,9999,9999,9999,9999], [9,9999,9,9,9999,9,9,9,9,9999], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [9999,9999,9999,30,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,74,9999,9999], [143,9999,103,9999,9999,9999,9999,9999,9999,9999], [101,9999,73,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,100,9999,9999], [9999,9999,9999,9999,9999,9999,9999,66,9999,9999], [9999,9999,9999,9999,9999,9999,9999,30,9999,9999], [9999,9999,9999,9999,9999,9999,9999,105,9999,9999], [9999,9999,9999,9999,9999,9999,9999,97,9999,9999], [121,9999,87,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,34,9999,9999,9999], [9999,9999,9999,9999,9999,9999,83,9999,9999,9999], [9999,9999,9999,26,9999,26,9999,19,9999,9999], [320,320,320,320,9999,320,320,320,320,32], [36,36,36,36,9999,36,36,36,36,36], [26,26,26,23,128,43,26,43,9999,9999], [9999,9999,9999,9999,9999,9999,9999,58,9999,9999], [74,9999,74,9999,9999,9999,83,9999,9999,9999], [20,20,20,20,9999,20,20,20,20,20], [12,12,12,12,9999,12,12,12,12,12], [16,16,16,16,9999,16,16,16,16,16], [65,9999,9999,9999,9999,9999,47,9999,9999,9999], [62,9999,9999,9999,9999,9999,86,9999,9999,9999], [164,9999,9999,9999,9999,9999,229,9999,9999,9999], [179,9999,9999,9999,9999,9999,128,9999,9999,9999], [38,38,9999,9999,9999,9999,38,9999,9999,9999], [63,9999,63,9999,9999,9999,9999,9999,9999,9999], [29,29,9999,9999,9999,9999,29,9999,9999,9999], [9999,9999,44,44,9999,9999,9999,9999,9999,9999], [66,9999,66,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,83,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,26,9999,19,9999,9999], [30,30,30,30,9999,30,30,30,30,30], [82,9999,9999,82,9999,82,82,59,82,9999], [360,360,360,360,9999,360,360,360,360,36], [22,9999,9999,9999,9999,22,22,22,9999,9999], [25,25,25,25,9999,25,25,25,25,25], [9999,9999,9999,59,9999,9999,9999,9999,9999,9999], [30,30,30,30,9999,30,30,30,30,30], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [44,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,55], [34,34,34,34,9999,34,34,34,34,34], [38,9999,52,9999,9999,9999,52,9999,9999,9999], [9999,9999,9999,9999,9999,9999,30,9999,9999,9999], [25,25,25,25,9999,25,25,25,25,25], [9999,9999,9999,93,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [9999,9999,9999,25,9999,9999,9999,34,9999,9999], [9999,9999,9999,9999,9999,9999,93,9999,9999,9999], [9999,9999,9999,62,9999,9999,9999,9999,9999,9999], [9999,9999,9999,27,9999,9999,9999,9999,9999,9999], [24,24,24,24,48,24,24,9,9999,9999], [45,45,45,45,252,84,45,84,9999,9999], [97,9999,70,9999,9999,9999,9999,9999,9999,9999], [36,36,36,36,9999,36,36,36,36,36], [22,22,22,22,22,22,22,22,22,22], [240,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,198,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,284,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,252,9999,9999,9999], [9999,9999,9999,9999,9999,280,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,252,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,179,9999], [9999,9999,9999,288,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,9999,9999,9999,9999,9999,28,9999], [9999,9999,9999,28,9999,28,9999,20,9999,9999], [9999,9999,9999,54,9999,9999,9999,9999,9999,9999], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [8,9999,8,8,9999,8,8,8,8,9999], [169,169,169,169,9999,169,169,169,169,9999], [9999,9999,9999,26,9999,9999,9999,36,9999,9999], [40,40,40,40,80,40,40,15,9999,9999], [230,230,230,230,9999,230,230,230,230,23], [9999,9999,9999,9999,9999,9999,9999,9999,28,9999], [9999,9999,9999,9999,9999,48,9999,48,48,9999], [9999,9999,9999,13,9999,18,9999,18,9999,9999], [18,18,18,18,18,18,18,18,18,18], [26,26,26,19,9999,26,26,26,26,9999], [9999,9999,9999,59,9999,9999,9999,9999,9999,9999], [9999,9999,9999,67,9999,9999,9999,9999,9999,9999], [870,870,870,870,9999,870,870,870,870,87], [250,250,250,250,9999,250,250,250,250,25], [9999,9999,9999,9999,9999,37,9999,37,9999,9999], [9999,9999,9999,51,9999,9999,9999,9999,9999,9999], [230,230,230,230,9999,230,230,230,230,23], [9999,9999,9999,9999,9999,9999,9999,9999,9999,64], [9999,9999,9999,9999,9999,9999,9999,9999,9999,29], [9999,9999,9999,9999,9999,9999,9999,9999,9999,100], [9999,9999,9999,9999,9999,9999,9999,9999,9999,99], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [7,7,7,7,7,7,7,7,7,7], [9999,9999,9999,9999,9999,9999,9999,9999,9999,196], [9999,9999,9999,9999,9999,9999,57,9999,9999,9999], [9999,9999,9999,89,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,22,9999], [9999,9999,9999,53,9999,9999,9999,9999,9999,9999], [220,220,220,220,9999,220,220,220,220,22], [9999,9999,9999,9999,9999,51,9999,57,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [6,6,6,6,9999,6,6,6,6,6], [9999,9999,9999,9999,9999,9999,9999,9999,31,9999], [9999,9999,9999,9999,9999,9999,25,35,9999,9999], [29,29,29,29,29,29,29,29,29,21], [9999,9999,9999,9999,9999,9999,9999,9999,9999,136], [32,32,32,32,32,8,32,8,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,39], [9999,9999,9999,9999,9999,9999,31,9999,9999,9999], [9999,83,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,14,9999], [9999,9999,9999,9999,9999,9999,9999,9999,104,9999], [9999,9999,9999,9999,9999,9999,9999,9999,47,9999], [9999,9999,9999,9999,9999,9999,50,9999,9999,9999], [9999,9999,64,64,9999,9999,9999,9999,9999,9999], [290,290,290,290,9999,290,290,290,290,29], [35,70,9999,9999,9999,9999,25,9999,9999,9999], [60,120,9999,9999,9999,9999,43,9999,9999,9999], [44,88,9999,9999,9999,9999,32,9999,9999,9999], [40,40,40,40,9999,40,40,40,40,40], [97,194,9999,9999,9999,9999,70,9999,9999,9999], [42,42,9999,9999,9999,9999,42,9999,9999,9999], [9999,83,9999,9999,9999,9999,9999,9999,9999,9999], [340,340,340,340,9999,340,340,340,340,34], [35,9999,35,9999,9999,140,25,140,9999,9999], [280,280,280,280,9999,280,280,280,280,28], [13,13,13,13,13,13,13,13,13,13], [29,9999,40,9999,9999,9999,40,9999,9999,9999], [86,9999,69,9999,9999,9999,9999,9999,9999,9999], [55,9999,76,9999,9999,9999,76,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,34], [9999,9999,9999,9999,9999,9999,9999,9999,9999,29], [300,300,300,300,9999,300,300,300,300,30], [22,22,22,22,22,22,22,22,16,16], [320,320,320,320,9999,320,320,320,320,32], [9999,133,9999,9999,9999,9999,9999,9999,9999,9999], [20,20,20,20,9999,20,20,20,20,20], [25,25,25,25,9999,25,25,25,25,25], [9999,9999,9999,9999,9999,50,9999,9999,9999,9999], [956,9999,683,9999,9999,9999,9999,9999,9999,9999], [77,9999,9999,9999,9999,9999,55,9999,9999,9999], [240,240,240,240,9999,240,240,240,240,24], [7,7,7,7,9999,7,7,7,7,7], [93,93,93,93,9999,93,93,93,93,9999], [14,14,14,14,9999,14,14,14,14,14], [230,230,230,230,9999,230,230,230,230,23], [250,250,250,250,9999,250,250,250,250,25], [320,320,320,320,9999,320,320,320,320,32], [250,250,250,250,9999,250,250,250,250,25], [220,220,220,220,9999,220,220,220,220,22], [30,9999,30,9999,9999,9999,30,9999,9999,9999], [230,230,230,230,9999,230,230,230,230,23], [24,9999,9999,9999,9999,24,24,24,9999,9999], [9999,9999,9999,9999,9999,9999,9999,84,9999,9999], [39,39,39,39,9999,39,39,39,39,39], [72,72,72,72,72,13,72,18,18,9999], [1,1,1,1,9999,1,1,1,1,1], [39,39,39,39,9999,39,39,39,39,39], [63,9999,45,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,46,9999,9999,9999], [9999,9999,9999,9999,9999,9999,42,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,23,9999], [30,30,30,30,9999,30,30,30,30,30], [9999,9999,9999,48,9999,9999,9999,9999,9999,9999], [37,37,37,37,204,68,37,68,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,22,9999], [9999,9999,9999,21,9999,29,9999,29,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,58,9999,42,9999,9999], [9999,9999,9999,71,9999,71,9999,53,9999,9999], [9999,9999,9999,9999,9999,9999,50,9999,9999,9999], [9999,9999,9999,44,9999,9999,9999,9999,9999,9999], [9999,9999,9999,47,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,39,9999,9999,9999], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,75,9999,75,9999,56,9999,9999], [83,9999,60,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,50,9999,9999,9999], [9999,9999,9999,9999,9999,9999,64,9999,9999,9999], [9999,9999,9999,9999,9999,9999,27,37,9999,9999], [171,171,171,171,9999,171,171,171,171,9999], [38,9999,52,9999,9999,9999,52,9999,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [35,35,35,35,35,35,35,35,35,25], [9999,9999,9999,22,9999,30,9999,30,9999,9999], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,84,9999,84,9999,9999], [33,33,33,33,9999,33,33,33,33,33], [8,8,8,8,9999,8,8,8,8,8], [9999,9999,9999,50,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,102,9999,9999], [9999,9999,9999,9999,9999,48,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,30], [9999,9999,9999,66,9999,49,9999,66,9999,9999], [9999,9999,9999,116,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,64,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,39], [9999,9999,9999,9999,9999,9999,9999,9999,9999,1337], [9999,9999,9999,9999,9999,9999,138,9999,9999,9999], [9999,9999,324,9999,9999,9999,9999,9999,9999,9999], [20,9999,9999,20,9999,20,20,15,20,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,57], [260,260,260,260,9999,260,260,260,260,26], [9999,9999,9999,9999,9999,9999,9999,9999,36,9999], [9999,9999,9999,142,9999,9999,9999,9999,9999,9999], [9999,9999,65,130,9999,9999,9999,9999,9999,9999], [9999,9999,9999,19,9999,26,9999,26,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,39], [9999,9999,9999,20,9999,28,9999,28,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,20,9999], [30,30,30,30,30,30,30,30,30,22], [30,30,30,30,9999,30,30,30,30,30], [9999,9999,9999,60,9999,9999,9999,9999,9999,9999], [174,9999,9999,125,9999,174,174,140,9999,9999], [16,9999,16,16,9999,16,16,16,16,9999], [24,24,24,24,9999,24,24,24,24,24], [92,9999,66,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,38,9999,53,9999,53,9999,9999], [9999,54,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,28], [29,9999,40,9999,9999,9999,40,9999,9999,9999], [96,9999,9999,9999,9999,9999,9999,9999,9999,9999], [90,9999,9999,9999,9999,9999,9999,9999,9999,9999], [75,9999,9999,9999,9999,9999,9999,9999,9999,9999], [80,9999,9999,9999,9999,9999,9999,9999,9999,9999], [64,64,64,64,9999,64,64,64,64,9999], [130,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,144,9999,9999,9999,9999], [9999,9999,9999,101,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,97,9999,9999,9999,9999], [55,55,55,55,9999,55,55,55,55,9999], [30,30,30,30,9999,30,30,30,30,30], [9999,9999,9999,9999,9999,9999,9999,50,9999,9999], [20,20,20,20,20,20,20,20,20,20], [9999,9999,9999,9999,9999,9999,9999,9999,15,9999], [9999,9999,9999,97,9999,9999,9999,9999,9999,9999], [18,9999,18,18,9999,18,18,18,18,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [16,9999,16,16,9999,16,16,16,16,9999], [9999,9999,9999,61,9999,9999,9999,9999,9999,9999], [9999,9999,9999,98,9999,9999,9999,9999,9999,9999], [9999,63,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,41,9999,41,41,9999], [79,79,79,79,9999,79,79,79,79,79], [7,7,7,7,9999,7,7,7,7,9999], [9999,9999,9999,58,9999,9999,9999,9999,9999,9999], [48,48,48,48,9999,48,48,48,48,48], [14,14,14,14,9999,14,14,14,14,14], [16,16,16,16,9999,16,16,16,16,16], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,52,9999,9999,9999,9999,9999,9999], [9999,9999,9999,53,9999,9999,9999,9999,9999,9999], [9999,9999,9999,51,9999,9999,9999,9999,9999,9999], [44,44,44,44,9999,44,44,44,44,44], [12,12,12,12,9999,12,12,12,12,9999], [9999,9999,9999,53,9999,9999,9999,9999,9999,9999], [12,12,12,12,9999,12,12,12,12,12], [12,12,12,12,9999,12,12,12,12,12], [14,14,14,14,9999,14,14,14,14,14], [44,44,44,44,44,11,44,11,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,300], [143,9999,103,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,43,9999,9999,9999,9999,9999,9999], [38,9999,52,9999,9999,9999,52,9999,9999,9999], [97,9999,70,9999,9999,9999,9999,9999,9999,9999], [16,16,16,16,16,16,16,16,16,16], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [40,40,40,40,40,40,40,40,40,29], [39,39,39,39,39,39,39,39,39,28], [38,9999,52,9999,9999,9999,52,9999,9999,9999], [8,8,8,8,9999,8,8,8,8,8], [9999,9999,9999,9999,9999,38,9999,9999,9999,9999], [9999,9999,150,9999,9999,9999,9999,9999,9999,9999], [36,9999,9999,9999,9999,9999,9999,9999,9999,9999], [53,9999,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,60,9999,60,60,9999], [44,9999,9999,9999,9999,9999,9999,9999,9999,9999], [58,9999,9999,9999,9999,9999,9999,9999,9999,9999], [31,9999,9999,9999,9999,9999,9999,9999,9999,9999], [40,9999,9999,9999,9999,9999,9999,9999,9999,9999], [38,9999,52,9999,9999,9999,52,9999,9999,9999], [9999,9999,54,54,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,39,9999,9999,9999], [300,300,300,300,9999,300,300,300,300,30], [18,18,18,18,18,18,18,18,18,13], [280,280,280,280,9999,280,280,280,280,28], [260,260,260,260,9999,260,260,260,260,26], [9999,9999,60,120,9999,9999,9999,9999,9999,9999], [9999,9999,9999,39,9999,9999,9999,9999,9999,9999], [9999,9999,52,52,9999,9999,9999,9999,9999,9999], [34,34,9999,9999,9999,9999,34,9999,9999,9999], [9999,9999,51,51,9999,9999,9999,9999,9999,9999], [14,14,14,14,9999,14,14,14,14,14], [2,2,2,2,9999,2,2,2,2,2], [9999,9999,9999,9999,9999,53,9999,59,9999,9999], [34,34,34,34,9999,34,34,34,34,34], [23,23,23,23,23,23,23,23,23,23], [9999,9999,70,9999,9999,9999,9999,9999,9999,9999], [9999,9999,90,9999,9999,9999,9999,9999,9999,9999], [12,12,12,12,9999,12,12,12,12,12], [9999,9999,9999,59,9999,82,9999,82,9999,9999], [6,9999,6,6,9999,6,6,6,6,9999], [40,40,40,40,9999,40,40,40,40,40], [9999,9999,9999,9999,9999,9999,9999,9999,65,9999], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [9999,9999,63,9999,9999,9999,9999,9999,9999,9999], [52,52,52,52,52,10,52,13,13,9999], [9999,9999,9999,9999,9999,78,9999,78,9999,9999], [9999,52,9999,9999,9999,9999,9999,9999,9999,9999], [9,9,9,9,9999,9,9,9,9,9], [9999,9999,9999,9999,9999,9999,9999,9999,36,9999], [9999,9999,9999,48,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,59,9999,9999], [9999,9999,9999,47,9999,9999,9999,9999,9999,9999], [40,40,40,40,9999,40,40,40,40,40], [33,9999,9999,9999,9999,33,33,33,9999,9999], [9999,9999,45,90,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,60,9999,9999,9999], [9999,128,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,33,9999], [9999,9999,9999,9999,9999,9999,9999,9999,26,9999], [9999,9999,9999,9999,9999,9999,100,9999,9999,9999], [9999,9999,9999,48,9999,9999,9999,9999,9999,9999], [23,23,23,23,9999,23,23,23,23,23], [9999,9999,9999,9999,9999,34,9999,25,9999,9999], [9999,9999,9999,9999,9999,34,9999,25,9999,9999], [9999,9999,9999,9999,9999,34,9999,25,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,63], [9999,9999,9999,9999,9999,9999,9999,9999,9999,63], [9999,9999,9999,9999,9999,9999,9999,9999,9999,63], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [97,97,97,97,9999,97,97,97,97,9999], [69,9999,9999,9999,9999,69,69,69,9999,9999], [40,40,40,40,40,40,40,40,40,29], [9999,9999,9999,9999,9999,9999,9999,72,9999,9999], [63,9999,45,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [35,35,35,35,35,35,35,35,35,35], [340,340,340,340,9999,340,340,340,340,34], [230,230,230,230,9999,230,230,230,230,23], [9999,9999,9999,9999,9999,9999,9999,9999,36,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,322], [230,230,230,230,9999,230,230,230,230,23], [9999,9999,9999,13,9999,17,9999,17,9999,9999], [9999,9999,9999,33,9999,9999,9999,9999,9999,9999], [30,30,30,30,30,30,30,30,30,22], [9999,9999,9999,9999,9999,9999,28,9999,9999,9999], [9999,9999,9999,66,9999,9999,9999,9999,9999,9999], [10,9999,9999,10,9999,10,10,8,10,9999], [9999,9999,9999,52,9999,9999,9999,9999,9999,9999], [9999,9999,9999,21,9999,29,9999,29,9999,9999], [9999,9999,9999,9999,9999,35,9999,39,9999,9999], [143,9999,103,9999,9999,9999,9999,9999,9999,9999], [240,240,240,240,9999,240,240,240,240,24], [9999,9999,9999,9999,9999,9999,9999,74,9999,9999], [9999,9999,9999,9999,9999,9999,9999,100,9999,9999], [9999,9999,9999,9999,9999,9999,9999,66,9999,9999], [9999,9999,9999,9999,9999,9999,9999,30,9999,9999], [9999,9999,9999,9999,9999,9999,9999,105,9999,9999], [9999,9999,9999,9999,9999,9999,9999,97,9999,9999], [8,8,8,8,8,8,8,8,8,6], [9999,9999,9999,86,9999,9999,9999,9999,9999,9999], [9999,9999,9999,78,9999,9999,9999,9999,9999,9999], [34,34,34,34,136,46,25,46,9999,9999], [52,52,52,52,10,52,52,52,13,52], [9999,9999,9999,9999,9999,9999,9999,9999,9999,6], [39,9999,54,9999,9999,9999,54,9999,9999,9999], [9999,9999,9999,100,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,1857], [9999,9999,9999,98,9999,73,9999,98,9999,9999], [9999,9999,9999,23,9999,9999,9999,9999,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [9999,9999,9999,55,9999,9999,9999,9999,9999,9999], [9999,29,9999,9999,9999,9999,9999,9999,9999,9999], [9999,65,9999,9999,9999,9999,9999,9999,9999,9999], [9999,60,9999,9999,9999,9999,9999,9999,9999,9999], [26,9999,29,9999,9999,9999,26,9999,9999,9999], [58,9999,9999,58,9999,58,58,42,58,9999], [23,23,23,23,23,23,23,23,23,23], [28,28,28,28,28,28,28,28,28,28], [38,38,38,38,38,38,38,38,38,38], [9999,9999,9999,9999,9999,9999,9999,9999,9999,50], [9999,9999,9999,9999,9999,9999,9999,9999,9999,35], [9999,9999,9999,9999,9999,9999,9999,9999,9999,48], [9999,9999,9999,9999,9999,9999,9999,9999,9999,41], [2,2,2,2,9999,2,2,2,2,2], [9999,73,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,24,9999], [9999,9999,9999,9999,9999,9999,38,9999,9999,9999], [30,30,30,30,30,30,30,30,30,22], [7,7,7,7,9999,7,7,7,7,7], [24,24,24,24,9999,24,24,24,24,18], [9999,9999,9999,9999,9999,45,9999,40,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [19,19,19,19,9999,19,19,19,19,19], [330,330,330,330,9999,330,330,330,330,33], [9999,9999,9999,93,9999,9999,9999,9999,9999,9999], [300,300,300,300,9999,300,300,300,300,30], [7,7,7,7,9999,7,7,7,7,7], [8,8,8,8,8,2,8,2,9999,9999], [8,8,8,8,9999,8,8,8,8,8], [9999,9999,9999,36,9999,26,9999,36,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [20,20,20,20,9999,20,20,20,20,20], [9999,9999,9999,9999,9999,9999,9999,9999,30,9999], [20,9999,9999,20,9999,20,20,15,20,9999], [280,280,280,280,9999,280,280,280,280,28], [119,9999,85,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,58,9999,9999,9999,9999,9999,9999], [9999,9999,9999,66,9999,9999,9999,9999,9999,9999], [46,46,46,46,9999,46,46,46,46,46], [32,32,32,32,32,32,32,32,32,23], [320,320,320,320,9999,320,320,320,320,32], [620,620,620,620,9999,620,620,620,620,62], [32,32,32,32,32,32,32,32,32,23], [25,25,25,25,25,25,25,25,25,18], [12,12,12,12,9999,12,12,12,12,12], [9999,9999,9999,186,9999,9999,9999,9999,9999,9999], [86,9999,9999,86,9999,86,62,86,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,20,9999], [58,58,58,58,9999,58,58,58,58,58], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [9999,9999,9999,100,9999,9999,9999,9999,9999,9999], [28,9999,32,9999,9999,9999,28,9999,9999,9999], [9999,9999,9999,62,9999,9999,9999,9999,9999,9999], [9999,9999,9999,69,9999,9999,9999,9999,9999,9999], [280,280,280,280,9999,280,280,280,280,28], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,35], [9999,9999,9999,9999,9999,9999,9999,9999,25,9999], [9999,9999,9999,75,9999,9999,9999,9999,9999,9999], [35,9999,35,9999,9999,140,25,140,9999,9999], [9999,9999,9999,62,9999,46,9999,62,9999,9999], [9999,9999,9999,45,9999,9999,9999,9999,9999,9999], [9999,71,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,36], [45,45,45,45,45,45,45,45,45,45], [9999,9999,9999,9999,9999,70,9999,79,9999,9999], [9999,32,9999,9999,9999,9999,9999,9999,9999,9999], [9999,9999,9999,9999,9999,69,9999,62,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,63], [229,229,229,229,9999,229,229,229,229,9999], [229,229,229,229,9999,229,229,229,229,9999], [229,229,229,229,9999,229,229,229,229,9999], [229,229,229,229,9999,229,229,229,229,9999], [9999,9999,9999,9999,9999,9999,9999,9999,35,9999], [9999,61,9999,9999,9999,9999,9999,9999,9999,9999], [196,9999,9999,196,9999,147,9999,196,9999,9999], [9999,9999,9999,34,9999,47,9999,47,9999,9999], [300,300,300,300,9999,300,300,300,300,30], [9999,9999,9999,62,9999,9999,9999,9999,9999,9999], [25,25,25,25,9999,25,25,25,25,25], [280,280,280,280,9999,280,280,280,280,28], [69,9999,9999,9999,9999,9999,50,9999,9999,9999], [66,9999,9999,9999,9999,9999,48,9999,9999,9999], [86,9999,9999,9999,9999,9999,62,9999,9999,9999], [9999,26,9999,35,9999,35,9999,35,9999,9999], [9999,9999,9999,9999,9999,9999,25,34,9999,9999], [1,1,1,1,9999,1,1,1,1,1], [37,37,37,37,204,68,37,68,9999,9999], [26,9999,9999,26,9999,26,26,19,26,9999], [7,9999,9999,7,9999,7,7,5,7,9999], [60,9999,84,9999,9999,9999,84,9999,9999,9999], [30,30,30,30,30,30,30,30,30,22], [74,206,9999,9999,9999,9999,103,9999,9999,9999], [33,92,9999,9999,9999,9999,46,9999,9999,9999], [35,35,9999,9999,9999,9999,35,9999,9999,9999], [360,360,360,360,9999,360,360,360,360,36], [16,16,16,16,9999,16,16,16,16,16], [9999,9999,9999,75,9999,9999,9999,104,9999,9999], [9999,9999,9999,9999,9999,9999,9999,9999,9999,87], [9999,9999,9999,53,9999,9999,9999,9999,9999,9999], [9999,9999,9999,39,9999,28,9999,39,9999,9999], [9999,9999,9999,9999,9999,18,9999,13,9999,9999], [9999,9999,9999,9999,9999,9999,9999,79,9999,9999], [4,4,4,4,4,1,4,1,9999,9999], [33,33,33,33,9999,33,33,33,27,33], [9999,9999,9999,58,9999,9999,9999,9999,9999,9999], [7,7,7,7,9999,7,7,7,7,7], [9999,9999,9999,9999,9999,9999,85,9999,9999,9999], [46,46,46,46,184,62,33,62,9999,9999], [22,9999,22,9999,9999,22,16,88,9999,9999], [13,13,13,13,13,13,13,13,13,10], [230,230,230,230,9999,230,230,230,230,23], [9999,9999,9999,9999,9999,9999,9999,138,9999,9999], [9999,9999,9999,9999,9999,9999,9999,64,9999,9999], [9999,9999,9999,9999,9999,9999,9999,68,9999,9999], [9999,9999,9999,9999,9999,9999,9999,71,9999,9999], [9999,9999,9999,9999,9999,9999,9999,60,9999,9999], [9999,9999,9999,9999,9999,9999,9999,71,9999,9999], [9999,9999,9999,9999,9999,9999,9999,78,9999,9999], [9999,9999,9999,9999,9999,9999,9999,81,9999,9999], [9999,9999,9999,9999,9999,9999,9999,56,9999,9999], [9999,9999,9999,64,9999,9999,9999,9999,9999,9999], [9999,9999,9999,68,9999,9999,9999,9999,9999,9999], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [9999,9999,9999,60,9999,9999,9999,9999,9999,9999], [9999,9999,9999,68,9999,9999,9999,9999,9999,9999], [9999,9999,9999,71,9999,9999,9999,9999,9999,9999], [9999,9999,9999,75,9999,9999,9999,9999,9999,9999], [9999,9999,9999,81,9999,9999,9999,9999,9999,9999], [9999,9999,9999,87,9999,9999,9999,9999,9999,9999], [9999,9999,9999,90,9999,9999,9999,9999,9999,9999], [9999,9999,9999,139,9999,9999,9999,9999,9999,9999], [9999,9999,68,9999,9999,9999,9999,9999,9999,9999], [9999,9999,64,9999,9999,9999,9999,9999,9999,9999], [9999,9999,66,9999,9999,9999,9999,9999,9999,9999], [9999,9999,60,9999,9999,9999,9999,9999,9999,9999], [9999,9999,68,9999,9999,9999,9999,9999,9999,9999], [9999,9999,69,9999,9999,9999,9999,9999,9999,9999], [9999,9999,71,9999,9999,9999,9999,9999,9999,9999], [9999,9999,70,9999,9999,9999,9999,9999,9999,9999], [9999,9999,75,9999,9999,9999,9999,9999,9999,9999], [9999,9999,78,9999,9999,9999,9999,9999,9999,9999], [9999,9999,76,9999,9999,9999,9999,9999,9999,9999], [9999,9999,80,9999,9999,9999,9999,9999,9999,9999], [9999,9999,81,9999,9999,9999,9999,9999,9999,9999], [9999,9999,132,9999,9999,9999,9999,9999,9999,9999], [9999,9999,144,9999,9999,9999,9999,9999,9999,9999] ]; var micePower = [ 1900, 54000, 18000, 1800, 81690, 9800, 9000, 38885, 1000, 1930, 5500, 6150, 10500, 750, 750, 750, 37999, 16700, 4960, 8709, 3499, 4600, 11000, 72000, 1500, 14590, 2590, 21065, 375015, 13601, 13175, 14999, 11825, 950, 20250, 3751, 3750, 72929, 100, 5000, 8000, 275, 5400, 8600, 2250, 515, 59974, 10851, 700, 7825, 3000, 600, 8250, 4960, 35002, 51151, 250, 12999, 220, 765, 6825, 1215, 1550, 4999, 4010, 27899, 1750, 4200, 1800, 6100, 755, 3600, 3930, 1500, 2100, 882, 750, 3500, 635, 3200, 3, 16800, 58920, 4544, 500, 510, 818250, 2100, 6300, 100, 6000, 888, 9000, 14500, 85, 1250, 1750, 3499, 6885, 1800, 72000, 500, 9000, 4500, 2200, 1600, 9998, 15099, 8400, 1270, 3630, 5690, 7500, 1400, 635, 12000, 72000, 72000, 5100, 1010, 1500, 2000, 88000, 1260, 4500, 14000, 2650, 200, 460, 25450, 3000, 9410, 4500, 3810, 4240, 50, 2300, 2400, 41950, 33400, 5110, 1300, 6559, 233, 2250, 1100, 2000, 1135, 510, 6000, 6600, 18435, 2650, 5400, 3930, 7500, 6741, 8709, 6380, 11150, 1000, 4550, 18630, 2595, 17150, 6351, 300, 1200, 1200, 1200, 1200, 1200, 1300, 1200, 1200, 1200, 1200, 1200, 1200, 1000, 4, 570, 4900, 4100, 600, 1500, 3751, 1500, 6000, 9299, 5999, 6799, 5600, 2945, 2647, 94170, 12526, 10550, 17399, 24100, 28400, 20500, 10925, 6575, 19100, 900, 290, 950, 600, 680, 800, 4225, 21500, 3500, 6499, 12499, 18502, 8502, 23400, 3499, 6650, 32604, 24375, 3990, 1350, 880, 1340, 10800, 1600, 7500, 500, 1280, 46501, 4999, 40001, 28901, 225, 2000, 71999, 12565, 24251, 94990, 7500, 8400, 2000, 2300, 11150, 998, 11302, 20400, 20800, 4398, 11151, 17201, 4900, 4500, 370, 5520, 400, 48748, 900, 1240, 5925, 45000, 1150, 2100, 13194, 74800, 17790, 38400, 2450, 6380, 947, 7900, 1000, 2000, 2305, 5000, 40, 2295, 37399, 4960, 13500, 900, 1250, 2200, 2100, 2200, 1400, 8800, 755, 5710, 5050, 15250, 22000, 1270, 18690, 20550, 263025, 15235, 25350, 3930, 2180, 5732, 1250, 50, 3275, 3275, 2500, 5500, 10851, 6499, 6499, 1100, 965, 10851, 4700, 1000, 1000, 2500, 11500, 72000, 12200, 600, 2250, 225, 200, 12675, 2000, 5, 11000, 5095, 2350, 15401, 3691, 5200, 7900, 5700, 9200, 6248, 8000, 50, 160, 1000, 2000, 1750, 1500, 1250, 900, 29000, 39150, 1650, 460, 465, 85, 590, 14399, 6500, 15250, 280, 80, 3253, 78003, 1250, 11499, 28901, 8525, 3175, 93997, 5010, 7600, 5000, 8501, 3340, 23500, 2000, 2200, 4000, 1515, 1400, 370, 510, 15600, 28575, 27899, 205, 785, 820, 2290, 350, 2100, 6885, 11175, 9500, 3500, 1800, 2815, 330997, 7000, 185, 4625, 2145, 1695, 1695, 2100, 2, 2500, 913, 2000, 12475, 1200, 4000, 4620, 13200, 4900, 4000, 18050, 570, 2, 4590, 2500, 2780, 2600, 14500, 10867, 20700, 5799, 3650, 1500000, 5000, 21625, 16320, 11900, 70, 3500, 4000, 750, 1300, 4250, 10, 8565, 2300, 12551, 1250, 5000, 4970, 1995, 10000, 755, 7700, 5400, 5000, 25000, 11340, 9400, 2300, 5, 5000, 1150, 35325, 4800, 12500, 1250, 8250, 4300, 85, 2999, 13650, 59640, 1500, 3485, 3300, 499995, 999989, 22275, 700, 2240, 5695, 1800, 18500, 1350, 8000, 15532, 2000, 9512, 9680, 27200, 13706, 20700, 4, 25101, 2000, 3000, 10, 80, 12000, 6425, 5300, 650, 250, 8275, 26000, 23000, 888, 8765, 1100, 24599, 2100, 29999, 300, 72000, 14300, 5500, 5499, 6000, 137485, 3050, 7000, 18501, 3990, 42803, 42900, 8800, 13601, 3000, 1450, 4000, 4000, 4000, 92000, 92000, 92000, 10000, 16700, 15400, 1500, 1250, 5003, 3300, 6380, 7500, 21000, 5100, 10999, 27002, 2650, 866, 1000, 5725, 18000, 18051, 20250, 3442, 3250, 8000, 3900, 10500, 1030, 1695, 91674, 3710, 20400, 300, 491997, 2530, 6630, 9500, 8240, 87996, 3750, 24998, 9000, 45, 2000, 5560, 1100, 1800, 16000, 2560, 3100, 2095, 4999, 18300, 700, 3860, 7290, 13601, 10851, 8800, 17499, 11003, 25000, 465, 192, 5004, 3500, 138, 3253, 3250, 10800, 40602, 20250, 38398, 8596, 1800, 22004, 18620, 28901, 2235, 26675, 1330, 2000, 2560, 2000, 12600, 20900, 755, 275, 510, 8400, 14751, 103992, 64021, 2800, 15400, 1600, 3800, 16700, 13474, 1275, 1695, 13175, 2500, 900, 1215, 6741, 1695, 9850, 3800, 11750, 2200, 5205, 1720, 1215, 17250, 4500, 2280, 17275, 7500, 2700, 275, 7700, 18501, 2500, 900, 225000, 151650, 315000, 246650, 305875, 246965, 124100, 322000, 2250, 510, 3000, 1500, 5720, 4960, 120, 110950, 2508, 800, 975, 2752, 8600, 635, 600, 1275, 6741, 8801, 14999, 1200, 5001, 5200, 1000, 8000, 1650, 5000, 38000, 72000, 85, 150000, 12345, 15500, 1750, 10400, 950, 9925, 3990, 70, 1915, 2400, 1600, 72000, 100, 2900, 3600, 13700, 650, 42000, 4310, 5000, 8000, 1601, 2400, 7000, 3800, 3100, 18500, 3500, 13700, 2199, 2385, 1525, 300, 3200, 14651, 11400, 2300, 1650, 1750, 888, 2000, 68550, 755, 1250, 9700, 1824975, 11750, 1150, 85, 33725, 370, 980, 1225, 2000, 1250, 900, 3260, 975, 1145, 27300, 3000, 600, 1, 3000, 7900, 4225, 3480, 2000, 1695, 4500, 5200, 1750, 1650, 3990, 6630, 5500, 5000, 3750, 4300, 3000, 1800, 6200, 13601, 5000, 7998, 2645, 114000, 5205, 3930, 2350, 1750, 10000, 26999, 2100, 120, 4900, 20550, 8800, 1750, 4800, 26599, 7998, 5800, 7000000, 73500, 51990, 755, 12375, 1340, 4999, 40000, 8325, 1270, 2910, 1485, 1500, 1750, 1695, 7000, 60001, 500, 1100, 16700, 5508, 5725, 1550, 3175, 18375, 16100, 11000, 24350, 8185, 64845, 80460, 20374, 18610, 5950, 1695, 9800, 800, 420, 18500, 600, 3900, 462, 7400, 19000, 7820, 6351, 12240, 85, 6500, 4510, 370, 510, 510, 5400, 5600, 5200, 3740, 288, 5600, 288, 285, 370, 210, 350000, 40602, 6775, 5208, 18501, 500, 9850, 3200, 3000, 5210, 120, 5350, 86670, 2455, 5575, 13950, 3810, 6700, 1873, 3080, 5205, 5750, 3000, 1750, 600, 1500, 1340, 7050, 3000, 5275, 2200, 5175, 370, 5, 10500, 2250, 1000, 9594, 16175, 250, 13250, 65, 3100, 8400, 4500, 14799, 300, 23001, 5365, 160, 4999, 4500, 13200, 4300, 3100, 2100, 3950, 13450, 63300, 4000, 2501, 19700, 4500, 1033, 2200, 2200, 2200, 15000, 15000, 15000, 2250, 18510, 9500, 3200, 19800, 7900, 9850, 3930, 2450, 2300, 980, 4999, 404014, 975, 570, 2150, 1800, 3000, 8709, 200, 5400, 1600, 4420, 40602, 1100, 10800, 38398, 8596, 1800, 22004, 18620, 100, 14498, 12000, 2200, 300, 100, 5750, 20000, 13500000, 10498, 999, 4000, 6000, 1650, 16500, 13500, 2500, 6700, 1000, 1500, 2850, 9500, 4700, 8800, 3300, 7, 10390, 1120, 2815, 1800, 85, 1100, 6200, 2250, 650, 2100, 17000, 1700, 85, 3, 120, 2500, 3253, 3499, 750, 3253, 760, 1500, 27900, 6549, 8600, 4080, 2000, 2000, 7500, 2000, 1250, 285, 68501, 14460, 1375, 6620, 9850, 20000, 3000, 7501, 9499, 1500, 4500, 4800, 2250, 11150, 2340, 4100, 7450, 10000, 5000, 4000, 18900, 2000, 14751, 15275, 203580, 203580, 203580, 203580, 4498, 7350, 43007, 4280, 1750, 7500, 1250, 1525, 9450, 8500, 14501, 1275, 2185, 1, 5200, 1270, 90, 13780, 1800, 21200, 4100, 2400, 2500, 500, 21600, 29000, 5600, 3000, 635, 12410, 1, 2100, 6500, 85, 28000, 4100, 920, 330, 1000, 73001, 8000, 9000, 10000, 7000, 10000, 12000, 13000, 12000, 8000, 9000, 10000, 7000, 9000, 10000, 11000, 13000, 15000, 16000, 75000, 9000, 8000, 8500, 7000, 9000, 9500, 10000, 9800, 11000, 12000, 11500, 12500, 13000, 67500, 80001 ]; var miceEff = [ [100,0,100,100,0,100,100,100,100,0], [0,0,0,0,0,0,0,0,0,2500], [25,0,175,0,0,0,25,0,0,0], [101,101,101,101,101,101,101,101,101,300], [500,500,500,500,0,500,500,500,500,0], [0,0,0,0,0,125,0,275,0,0], [0,0,0,0,0,175,0,0,0,0], [0,0,0,0,0,0,0,0,300,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,175,0,100,0,100,0,0], [0,0,0,0,0,0,0,175,0,0], [0,0,0,175,0,0,0,0,0,0], [100,0,0,0,0,0,150,0,0,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,100,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,25,75,400,75,0,0], [150,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,0,0,900], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,0,0,0,600,0], [0,0,0,0,0,0,0,0,0,100], [100,0,0,50,0,50,0,50,0,0], [0,0,0,0,0,0,0,0,0,350], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,100,0,175,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,100,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [101,101,101,101,101,101,101,101,101,300], [50,0,200,0,0,0,25,0,0,0], [25,25,25,25,25,200,25,100,100,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,175,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [100,0,100,0,0,100,200,25,0,0], [25,0,0,0,0,0,25,0,0,0], [100,0,300,0,0,0,0,0,0,0], [100,0,0,100,0,100,100,175,100,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,175,0,0], [50,50,50,50,25,50,50,200,0,0], [0,0,0,0,0,0,0,0,0,175], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,0,0,0,100,100,100,0,0], [100,100,100,175,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [100,100,100,100,100,100,100,100,100,100], [0,0,100,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,25,75,400,75,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,300,0,300,300,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,100,0,0,0,0,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,125,0,200,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,175,0,100,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,200,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,100,100,100,100,100,100], [100,100,0,0,0,0,100,0,0,0], [0,0,0,175,0,100,0,100,0,0], [150,0,125,0,0,0,200,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,200,0,0,0,100,0,0], [0,600,0,0,0,0,0,0,0,0], [0,0,0,175,0,100,0,100,0,0], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,0,7500], [100,100,100,100,0,100,100,100,125,100], [0,100,0,0,0,0,0,0,0,0], [100,100,100,175,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [101,101,101,101,101,101,101,101,300,300], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [101,101,101,101,101,101,101,101,101,300], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,0,0,200,0], [0,0,0,175,0,100,0,100,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,0,300,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,50,0,50,0,50,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,100,0,175,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,315], [50,50,50,50,25,50,50,200,0,0], [0,0,100,50,0,0,0,0,0,0], [100,0,0,100,0,100,100,175,100,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,0,100], [100,0,0,100,0,100,100,175,100,0], [0,0,0,175,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,900], [0,0,0,0,0,0,0,0,0,900], [150,50,0,0,0,0,100,0,0,0], [100,100,100,100,100,100,100,100,100,100], [100,0,0,100,0,100,100,175,100,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,4000,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,200,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [25,0,175,0,0,0,25,0,0,0], [0,0,0,0,0,0,0,0,0,300], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [25,25,25,25,25,100,25,100,0,0], [0,0,0,0,0,0,0,0,0,100], [100,100,0,0,0,0,100,0,0,0], [500,500,500,500,0,500,500,500,500,0], [0,0,0,600,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [0,0,0,0,0,0,0,0,200,0], [101,101,101,101,101,101,101,101,101,300], [100,100,100,100,0,100,100,100,100,100], [100,0,100,0,0,25,200,25,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,175,0,0], [0,0,0,0,0,0,0,175,0,0], [300,300,300,300,0,300,300,300,300,0], [0,0,0,175,0,100,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,0,0,0,0,100,100,100,0,0], [0,100,0,0,0,0,0,0,0,0], [0,600,0,0,0,0,0,0,0,0], [0,100,0,0,0,0,0,0,0,0], [100,0,125,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,100,100,175,0,100,100,100,100,0], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [101,101,101,101,101,101,101,101,300,300], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [50,50,50,50,25,50,50,200,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,100,50,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,200,0], [10,10,10,10,0,10,10,10,10,100], [101,101,101,101,101,101,101,101,101,300], [125,125,0,125,0,125,0,125,0,0], [0,0,0,75,0,100,0,75,0,0], [0,0,0,75,0,100,0,75,0,0], [0,0,0,75,0,100,0,75,0,0], [0,0,0,0,0,0,0,0,100,0], [100,100,100,100,0,100,100,100,100,100], [0,0,2150,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,100,50,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,0,0,100,0,100,100,175,100,0], [100,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,600], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [150,0,0,0,0,0,100,0,0,0], [100,0,0,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,0,200], [100,100,100,100,0,100,100,100,100,0], [100,100,100,100,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [150,50,0,0,0,0,100,0,0,0], [100,0,0,100,0,100,100,175,100,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,100,100,100,100,100,100], [50,50,50,50,25,50,50,200,0,0], [0,0,0,0,0,0,0,0,0,250], [0,0,0,0,0,0,0,0,200,0], [100,0,0,0,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [100,100,100,175,0,100,100,100,100,0], [150,0,125,0,0,0,200,0,0,0], [1000,0,0,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,0], [100,0,300,0,0,0,300,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,175,0,0], [0,0,0,100,0,0,0,0,0,0], [100,0,0,0,0,100,100,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,200,0,125,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,175,0,0,0,0], [150,0,200,0,0,0,125,0,0,0], [0,0,0,75,0,100,0,75,0,0], [0,0,0,0,0,300,0,300,300,0], [0,0,0,0,0,300,0,300,300,0], [0,0,0,75,0,100,0,75,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,100,0], [100,0,100,100,0,100,100,100,100,0], [0,0,200,0,0,0,0,0,0,0], [100,100,100,100,100,100,100,100,100,100], [101,101,101,101,101,101,101,101,101,300], [0,0,100,50,0,0,0,0,0,0], [0,0,0,0,0,100,0,175,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [0,100,0,75,0,75,0,75,0,0], [0,900,0,0,0,0,0,0,0,0], [0,100,0,0,0,0,0,0,0,0], [0,400,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,300,0,0,0,0,0,0,0], [50,50,50,50,25,50,50,200,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,0,100,0,100,100,175,100,0], [1000,1000,100000,1000,25,1000,1000,1000,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,125,0,250,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [0,0,0,175,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,175,0,0,0,0,0,0], [150,0,200,0,0,0,125,0,0,0], [100,0,0,100,0,100,100,175,100,0], [0,600,0,0,0,0,0,0,0,0], [300,300,300,300,0,300,300,300,300,0], [500,500,500,500,0,500,500,500,500,0], [300,300,300,300,0,300,300,300,300,0], [0,600,0,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,100], [150,0,125,0,0,0,200,0,0,0], [0,0,0,0,0,0,0,0,0,100], [25,25,25,25,25,200,25,100,100,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,175,0,150,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,0,0,100,0,100,100,175,100,0], [0,0,0,0,0,0,200,100,0,0], [0,0,0,0,0,0,0,0,0,900], [0,0,0,0,0,300,0,300,300,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,200,0], [50,50,50,50,25,50,50,200,0,0], [100,100,100,100,100,100,100,100,100,100], [0,0,0,0,0,0,200,0,0,0], [50,50,50,50,25,50,50,200,0,0], [100,100,100,100,0,100,100,100,100,100], [125,125,125,400,25,75,125,75,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,175,0,0], [0,0,0,0,0,0,0,150,0,0], [0,0,0,0,0,0,0,150,0,0], [0,0,0,75,0,100,0,75,0,0], [100,0,0,50,0,50,0,50,0,0], [0,0,0,75,0,100,0,75,0,0], [0,0,100,100,0,0,0,0,0,0], [0,0,0,0,0,125,0,200,0,0], [150,50,0,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,100,100,0,100,100,100,100,0], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,600,0,0,0,0,0,0,0], [200,200,200,200,0,200,200,200,200,0], [100,0,0,100,0,100,100,175,100,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,0,0,100,0,100,100,175,100,0], [0,0,0,200,0,0,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [100,0,100,100,0,100,100,100,100,0], [0,0,0,0,0,0,0,0,200,0], [0,900,0,0,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,100,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [0,0,100,100,0,0,0,0,0,0], [0,100,0,0,0,0,0,0,0,0], [50,50000,0,25,0,25,0,25,0,0], [200,0,100,0,0,0,100,0,0,0], [200,0,100,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,200,0,0,0,0,0,0,0], [0,0,100,50,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,100,0,0,25,200,25,0,0], [101,101,101,101,101,101,101,101,101,300], [100,0,100,0,0,25,200,25,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,175,0,0,0,0], [0,0,0,0,0,600,0,0,0,0], [0,0,0,0,0,300,0,300,300,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,0,100,0,0,25,200,25,0,0], [100,0,0,100,0,100,175,100,0,0], [100,0,100,100,0,100,100,100,100,0], [100,0,0,100,0,100,100,175,100,0], [200,0,100,0,0,0,100,0,0,0], [10,10,10,10,0,10,10,10,10,100], [200,0,100,0,0,0,100,0,0,0], [101,101,101,101,101,101,101,101,101,300], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,175,0,0], [100,0,100,100,0,100,100,100,100,0], [100,0,0,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,125,300], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [101,101,101,101,101,101,101,101,101,300], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,100,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,175,0,0,0,0], [0,0,0,0,0,175,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [50,50,50,50,25,50,50,200,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,100,0,175,0,0], [25,25,25,25,25,100,25,100,0,0], [0,0,0,0,0,0,0,0,0,216], [100,100,100,100,0,100,100,100,100,100], [50,0,0,0,0,0,50,0,200,0], [100,100,100,100,0,100,100,100,100,100], [100,0,0,100,0,100,175,100,0,0], [0,0,0,0,0,0,200,100,0,0], [0,0,0,0,0,0,200,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,175,0,100,0,0], [1000,0,0,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,100,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,300,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,200], [100,100,100,100,0,100,100,100,100,200], [101,101,101,101,101,101,101,101,101,300], [100,100,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,150,0,0], [0,0,200,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,175,0,100,0,175,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,200,0,125,0,0], [150,0,0,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,200,0,0,0,100,0,0], [0,100,0,0,0,0,0,0,0,0], [100,100,100,100,25,75,400,75,0,0], [25,25,25,25,25,200,25,100,100,0], [0,0,0,100,0,0,0,0,0,0], [100,0,0,0,0,100,100,100,0,0], [500,0,0,0,0,0,0,0,0,0], [0,0,0,100,0,75,0,75,0,0], [0,0,0,0,0,125,0,250,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,0,0,0,100,100,100,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,200,0,0,0], [0,900,0,0,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [200,0,100,0,0,0,100,0,0,0], [200,0,100,0,0,0,100,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,0], [50,50,50,50,25,50,50,200,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,0,0,0,100,100,100,0,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,0], [0,0,0,0,0,0,0,0,100,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,175,0,100,0,100,0,0], [200,0,100,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,300,0,300,300,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [25,25,25,25,25,200,25,100,100,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [100,0,125,0,0,0,0,0,0,0], [100,0,125,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,100,100,0,0,0,0,0,0], [0,0,0,0,0,300,0,300,300,0], [0,0,0,0,0,0,0,0,0,175], [101,101,101,101,101,101,101,101,300,300], [100,0,100,0,0,25,200,25,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,75,0,75,0,0], [100,75,75,75,0,75,75,75,75,75], [0,0,0,0,0,300,0,300,300,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,0,900], [0,0,0,0,0,0,200,0,0,0], [0,0,0,100,0,75,0,75,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,200,0], [300,300,300,300,0,300,300,300,300,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,100,0,0,0,0,0,0], [100,0,5000,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,300,0,300,300,0], [0,0,0,0,0,300,0,300,400,0], [0,0,0,0,0,0,0,0,0,300], [100,0,300,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,125,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,0,0,0,0,400], [0,0,0,0,0,0,0,0,0,400], [0,0,0,0,0,0,0,0,0,400], [0,0,0,0,0,100,0,175,0,0], [100,0,300,0,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,175,0,100,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [150,0,0,0,0,0,100,0,0,0], [50,0,0,0,0,0,50,0,200,0], [50,0,0,0,0,0,50,0,200,0], [150,0,0,0,0,0,100,0,0,0], [50,0,0,0,0,0,50,0,200,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,200], [100,0,300,0,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [100,0,0,0,0,100,100,100,0,0], [50,0,0,0,0,0,50,0,200,0], [0,0,0,0,0,175,0,0,0,0], [50,0,0,0,0,0,50,0,200,0], [100,0,0,0,0,0,150,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,300,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,0,0,0,100,100,100,0,0], [100,0,5000,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,150,0,0], [0,0,0,0,0,100,0,175,0,0], [100,50,0,0,0,0,150,0,0,0], [100,0,100,100,0,500,500,100,100,0], [1000,0,0,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,200], [100,0,0,100,0,100,100,175,100,0], [10,10,10,10,0,10,10,10,10,100], [0,0,100,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,0,0,0,500], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,200,0], [100,0,100,0,0,25,2500,25,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,100,0,0,25,200,25,0,0], [0,0,100,100,0,0,0,0,0,0], [275,0,300,0,0,0,0,0,0,0], [275,0,300,0,0,0,0,0,0,0], [0,0,100,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [100,0,100,100,0,100,100,100,100,0], [100,0,100,100,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,175,0,0,0,0,0,0], [0,0,0,0,0,0,0,100,0,0], [100,0,300,0,0,0,0,0,0,0], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,4000,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,500,0,0,0], [0,0,0,100,0,100,0,175,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [125,125,125,400,25,75,125,75,0,0], [0,0,0,0,0,0,0,175,0,0], [150,0,200,0,0,0,125,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,0,0,0,0,0,150,0,0,0], [150,0,0,0,0,0,100,0,0,0], [150,0,0,0,0,0,100,0,0,0], [100,0,0,0,0,0,150,0,0,0], [100,100,0,0,0,0,100,0,0,0], [275,0,300,0,0,0,0,0,0,0], [100,100,0,0,0,0,100,0,0,0], [0,0,100,100,0,0,0,0,0,0], [275,0,300,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,100,0,175,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,0,100,0,100,100,175,100,0], [10,10,10,10,0,10,10,10,10,100], [100,0,0,0,0,100,100,100,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,400], [100,100,100,100,0,100,100,100,100,100], [200,0,100,0,0,0,100,0,0,0], [0,0,0,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,200,0,0,0,100,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,175,0,0,0,0,0,0], [50,50,50,50,25,50,50,200,0,0], [300,200,200,200,25,75,200,75,0,0], [100,0,5000,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [500,0,0,0,0,0,0,0,0,0], [0,500,0,0,0,0,0,0,0,0], [0,0,500,0,0,0,0,0,0,0], [0,0,0,0,0,0,500,0,0,0], [0,0,0,0,0,500,0,0,0,0], [0,0,0,0,0,0,0,500,0,0], [0,0,0,0,0,0,0,0,500,0], [0,0,0,500,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,200,0], [0,0,0,100,0,100,0,175,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [700,700,700,700,0,700,700,700,700,0], [0,0,0,200,0,0,0,100,0,0], [50,50,50,50,25,50,50,200,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,300,0,300,400,0], [0,0,0,175,0,100,0,100,0,0], [100,100,100,100,100,100,100,100,100,100], [100,100,100,175,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,175,0,150,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,0,100], [0,0,0,0,0,0,0,0,0,100], [0,0,0,0,0,0,0,0,0,50], [0,0,0,0,0,0,0,0,0,1000], [0,0,0,0,0,0,0,0,0,900], [100,100,100,100,100,100,100,100,100,100], [0,0,0,0,0,0,0,0,0,2500], [0,0,0,0,0,0,200,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,175,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,200,0,125,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,100,0], [0,0,0,0,0,0,200,100,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,0,0,0,900], [25,25,25,25,25,100,25,100,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,0,0,0,200,0,0,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,500,0], [0,0,0,0,0,0,0,0,100,0], [0,0,0,0,0,0,100,0,0,0], [0,0,100,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,50,0,0,0,0,150,0,0,0], [100,50,0,0,0,0,150,0,0,0], [100,50,0,0,0,0,150,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,50,0,0,0,0,150,0,0,0], [100,100,0,0,0,0,100,0,0,0], [0,100,0,0,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,100,0,0,25,200,25,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,100,100,100,100,100,100], [400,0,100,0,0,0,100,0,0,0], [100,0,125,0,0,0,0,0,0,0], [200,0,100,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,0,0,0,0,0,0,100], [10,10,10,10,0,10,10,10,10,100], [101,101,101,101,101,101,101,101,300,300], [10,10,10,10,0,10,10,10,10,100], [0,300,0,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,175,0,0,0,0], [100,0,5000,0,0,0,0,0,0,0], [100,0,0,0,0,0,150,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [200,200,200,200,0,200,200,200,200,0], [100,100,100,100,0,100,100,100,100,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [150,0,200,0,0,0,200,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,0,0,0,0,100,100,100,0,0], [0,0,0,0,0,0,0,600,0,0], [100,100,100,100,0,100,100,100,100,100], [25,25,25,25,25,200,25,100,100,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [300,200,200,200,25,75,200,75,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,175,0,100,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,75,0,75,0,100,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,75,0,75,0,100,0,0], [100,0,300,0,0,0,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,200,100,0,0], [300,300,300,300,0,300,300,300,300,0], [200,0,100,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,175,0,100,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,300,0,275,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,175,0,0,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,75,0,100,0,75,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,0,0,100000], [0,0,0,0,0,0,300,0,0,0], [0,0,50,0,0,0,0,0,0,0], [100,0,0,100,0,100,100,175,100,0], [0,0,0,0,0,0,0,0,0,200], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,200,0], [0,0,0,100,0,0,0,0,0,0], [0,0,100,50,0,0,0,0,0,0], [0,0,0,175,0,100,0,100,0,0], [0,0,0,0,0,0,0,0,0,100], [0,0,0,175,0,100,0,100,0,0], [0,0,0,0,0,0,0,0,200,0], [101,101,101,101,101,101,101,101,101,300], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [100,0,0,175,0,100,100,125,0,0], [100,0,100,100,0,100,100,100,100,0], [100,100,100,100,0,100,100,100,100,100], [100,0,300,0,0,0,0,0,0,0], [0,0,0,175,0,100,0,100,0,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,100], [200,0,100,0,0,0,100,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [600,0,0,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,0], [300,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,300,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,100,0,0,0,0], [100,100,100,100,0,100,100,100,100,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,175,0,0], [100,100,100,100,100,100,100,100,100,100], [0,0,0,0,0,0,0,0,100,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,100,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,300,0,300,300,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [25,25,25,25,25,100,25,100,0,0], [0,0,0,0,0,0,0,0,0,5000], [100,0,300,0,0,0,0,0,0,0], [0,0,0,175,0,0,0,0,0,0], [200,0,100,0,0,0,100,0,0,0], [100,0,5000,0,0,0,0,0,0,0], [100,100,100,100,100,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [101,101,101,101,101,101,101,101,101,300], [101,101,101,101,101,101,101,101,101,300], [200,0,100,0,0,0,100,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,175,0,0,0,0], [0,0,300,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,300,0,300,300,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [100,0,0,0,0,0,0,0,0,0], [200,0,100,0,0,0,100,0,0,0], [0,0,100,100,0,0,0,0,0,0], [0,0,0,0,0,0,100,0,0,0], [10,10,10,10,0,10,10,10,10,100], [101,101,101,101,101,101,101,101,101,300], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,0,100,50,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,100,100,0,0,0,0,0,0], [100,100,0,0,0,0,100,0,0,0], [0,0,100,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,200,0,125,0,0], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,175,0,100,0,100,0,0], [100,0,100,100,0,100,100,100,100,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,100,0], [0,0,0,0,0,0,0,0,200,0], [0,0,200,0,0,0,0,0,0,0], [25,25,25,25,25,200,25,100,100,0], [0,0,0,0,0,300,0,275,0,0], [0,100,0,0,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,200,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,150,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [100,0,0,0,0,100,100,100,0,0], [0,0,100,50,0,0,0,0,0,0], [0,0,0,0,0,0,200,0,0,0], [0,600,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,0], [100,0,0,0,0,100,100,100,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,0,150,0,0], [100,0,300,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,100,100,100,100,100,100], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,0,200], [10,10,10,10,0,10,10,10,10,100], [0,0,0,175,0,100,0,100,0,0], [0,0,0,100,0,0,0,0,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,0,0,0,200,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,0,0,100,0,100,100,175,100,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,175,0,100,0,100,0,0], [0,0,0,0,0,200,0,125,0,0], [100,0,300,0,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,4000,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [101,101,101,101,101,101,101,101,101,300], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,25,75,400,75,0,0], [25,25,25,25,200,25,25,25,100,25], [0,0,0,0,0,0,0,0,0,150], [200,0,100,0,0,0,100,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,100000], [0,0,0,75,0,100,0,75,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,100,0,0,0,0,0,0,0,0], [0,300,0,0,0,0,0,0,0,0], [0,300,0,0,0,0,0,0,0,0], [150,0,125,0,0,0,200,0,0,0], [100,0,0,100,0,100,100,175,100,0], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [100,100,100,100,100,100,100,100,100,100], [0,0,0,0,0,0,0,0,0,300], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,0,0,200], [0,0,0,0,0,0,0,0,0,100], [100,100,100,100,0,100,100,100,100,100], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,100,0], [0,0,0,0,0,0,100,0,0,0], [101,101,101,101,101,101,101,101,101,300], [100,100,100,100,0,100,100,100,100,100], [100,100,100,100,0,100,100,100,100,200], [0,0,0,0,0,125,0,200,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [10,10,10,10,0,10,10,10,10,100], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [25,25,25,25,25,100,25,100,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,175,0,100,0,0], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,0,0,200,0], [100,0,0,100,0,100,100,175,100,0], [10,10,10,10,0,10,10,10,10,100], [100,0,300,0,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [101,101,101,101,101,101,101,101,101,300], [10,10,10,10,0,10,10,10,10,100], [10,10,10,10,0,10,10,10,10,100], [101,101,101,101,101,101,101,101,101,300], [101,101,101,101,101,101,101,101,101,300], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [100,0,0,100,0,100,175,100,0,0], [0,0,0,0,0,0,0,0,200,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [150,0,125,0,0,0,200,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,0,200,0], [0,0,0,0,0,0,0,0,0,175], [0,0,0,0,0,0,0,0,200,0], [0,0,0,100,0,0,0,0,0,0], [100,0,100,0,0,25,200,25,0,0], [0,0,0,75,0,100,0,75,0,0], [0,0,0,175,0,0,0,0,0,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,200], [100,100,100,100,100,100,100,100,100,100], [0,0,0,0,0,200,0,125,0,0], [0,100,0,0,0,0,0,0,0,0], [0,0,0,0,0,125,0,250,0,0], [0,0,0,0,0,0,0,0,0,200], [400,400,400,400,0,400,400,400,400,0], [400,400,400,400,0,400,400,400,400,0], [400,400,400,400,0,400,400,400,400,0], [400,400,400,400,0,400,400,400,400,0], [0,0,0,0,0,0,0,0,200,0], [0,100,0,0,0,0,0,0,0,0], [75,0,0,75,0,100,0,75,0,0], [0,0,0,175,0,100,0,100,0,0], [10,10,10,10,0,10,10,10,10,100], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [10,10,10,10,0,10,10,10,10,100], [100,0,0,0,0,0,150,0,0,0], [100,0,0,0,0,0,150,0,0,0], [100,0,0,0,0,0,150,0,0,0], [0,100,0,75,0,75,0,75,0,0], [0,0,0,0,0,0,200,100,0,0], [100,100,100,100,0,100,100,100,100,100], [300,200,200,200,25,75,200,75,0,0], [100,0,0,100,0,100,100,175,100,0], [100,0,0,100,0,100,100,175,100,0], [200,0,100,0,0,0,100,0,0,0], [101,101,101,101,101,101,101,101,101,300], [150,50,0,0,0,0,100,0,0,0], [150,50,0,0,0,0,100,0,0,0], [100,100,0,0,0,0,100,0,0,0], [10,10,10,10,0,10,10,10,10,100], [100,100,100,100,0,100,100,100,100,100], [0,0,0,200,0,0,0,100,0,0], [0,0,0,0,0,0,0,0,0,700], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,175,0,100,0,0], [0,0,0,0,0,100,0,175,0,0], [0,0,0,0,0,0,0,100,0,0], [25,25,25,25,25,100,25,100,0,0], [100,100,100,100,0,100,100,100,125,100], [0,0,0,100,0,0,0,0,0,0], [100,100,100,100,0,100,100,100,100,100], [0,0,0,0,0,0,600,0,0,0], [100,100,100,100,25,75,400,75,0,0], [100,0,100,0,0,100,200,25,0,0], [101,101,101,101,101,101,101,101,101,300], [10,10,10,10,0,10,10,10,10,100], [0,0,0,0,0,0,0,5500,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,100,0,0], [0,0,0,0,0,0,0,300,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,100,0,0,0,0,0,0], [0,0,0,300,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,100,0,0,0,0,0,0,0], [0,0,300,0,0,0,0,0,0,0], [0,0,300,0,0,0,0,0,0,0] ]; var allType = ['Arcane','Draconic','Forgotten','Hydro','Parental','Physical','Shadow','Tactical','Law','Rift']; function render(){ const div = document.createElement("div"); div.className = "min-luck-container"; div.style.position = "absolute"; var weaponName = user.weapon_name; if (weaponName == "Smoldering Stone Sentinel Trap"){ div.style.top = "1px"; div.style.right = "10px" } else { div.style.top = "7px"; div.style.right = "7px"; } const luck_btn = document.createElement("img"); luck_btn.src = 'https://www.mousehuntgame.com/images/ui/camp/trap/stat_luck.png?asset_cache_version=2' luck_btn.className = "min-luck-button" luck_btn.style.width = "20px" luck_btn.style.height = "20px" luck_btn.onclick = function(){getData()} div.appendChild(luck_btn); const trap_container = document.getElementsByClassName("trapImageView-trapAuraContainer")[0] trap_container.insertAdjacentElement("afterend",div); colourClover(); } function getData(){return new Promise((resolve, reject) => { var weapon = user.weapon_name var base = user.base_name var charm = user.trinket_name var bait = user.bait_name //if (weapon == "S.S. Scoundrel Sleigher Trap" || weapon.includes("Anniversary") || weapon == "Zugzwang's Ultimate Move" || weapon == "Moonbeam Barrier Trap"){ // alert("The extra stats from this weapon has not been factored in!") // } // if (charm == "Dragonbane Charm" || charm == "Super Dragonbane Charm" || charm == "Ultimate Charm" || charm == "EMP400 Charm"){ // alert("The extra stats from this charm has not been factored in!") // } postReq("https://www.mousehuntgame.com/managers/ajax/users/getmiceeffectiveness.php", `sn=Hitgrab&hg_is_ajax=1&uh=${user.unique_hash}` ).then(async res=>{ try { var response = JSON.parse(res.responseText); if (response) { var effect = ["Effortless","Easy","Moderate","Challenging","Difficult","Overpowering","Near Impossible","Impossible"] var tem_list = [] for(var i=0;i { var table = document.getElementById("chro-minluck-table") sortTable(table,1); }); resolve() } } catch (error) { console.error(error.stack); } }); })} function renderBox(list){return new Promise((resolve, reject) => { document .querySelectorAll("#minluck-list") .forEach(el=> el.remove()) var power = Number(document.getElementsByClassName("campPage-trap-trapStat power")[0].children[1].innerText.match(/[0-9]/g).join("")) var luck = Number(document.getElementsByClassName("campPage-trap-trapStat luck")[0].children[1].innerText) var powerType = document.getElementsByClassName("campPage-trap-trapStat power")[0].children[1].innerText.match(/[a-zA-Z]+/g)[0]; const div = document.createElement("div"); div.id = "minluck-list"; div.style.backgroundColor = "#F5F5F5"; div.style.position = "fixed"; div.style.zIndex = "9999"; var vwvh = localStorage.getItem("Chro-minluck-vwvh") var turnRed; if (vwvh){ var position = JSON.parse(vwvh).split(","); div.style.left = position[0]+"vw"; div.style.top = position[1]+ "vh"; turnRed = Number(position[2]); } else { div.style.left = "35vw"; div.style.top = "28vh"; turnRed = 60; localStorage.setItem("Chro-minluck-vwvh",JSON.stringify("35,28,60")); }; div.style.border = "solid 3px #696969"; div.style.borderRadius = "20px"; div.style.padding = "10px"; div.style.textAlign = "center"; div.style.minWidth = "207px" const buttonDiv = document.createElement("div") buttonDiv.id = "button-Div" const infoButton = document.createElement("button",{ id: "info-button" }); infoButton.textContent = "i" infoButton.style.marginLeft = "10px" infoButton.onclick = function(){ let position = JSON.parse(localStorage.getItem("Chro-minluck-vwvh")).split(","); let mes = prompt("More information can be found at:\nhttps://tsitu.github.io/MH-Tools/cre.html\nLast Updated 26 July 2022\n\n Change tool's position/ Set % for red text?\n\n" + "Left: " + position[0] + "\nTop: " + position[1] + "\nRed text at: " + position[2] + "%","35,28,60"); if (mes == null || mes == ""){ return } else { localStorage.setItem("Chro-minluck-vwvh",JSON.stringify(mes)); renderBox(list); } } const minButton = document.createElement("button", { id: "minimise-button" }); minButton.textContent = "-" minButton.style.cursor = "pointer" minButton.style.marginLeft = "5px" minButton.onclick = function(){ if (minButton.textContent == "-"){ document.getElementById("chro-minluck-table").style.display = "none" document.getElementById("button-Div").style.float = "right" //$(".maptain-tool-info")[0].style.marginLeft = "0px" minButton.textContent = "+" } else if (minButton.textContent == "+"){ document.getElementById("chro-minluck-table").style.display = "" document.getElementById("button-Div").style.float = "" //$(".maptain-tool-info")[0].style.marginLeft = "17px" minButton.textContent = "-" } } const closeButton = document.createElement("button", { id: "close-button" }); closeButton.textContent = "x"; closeButton.style.marginLeft = "5px" closeButton.onclick = function () { document.body.removeChild(div); }; const setupInfo = document.createElement("div") setupInfo.className = "setup-info" setupInfo.textContent = "Catch Rate Estimator" setupInfo.style.textAlign = "Left" setupInfo.style.fontWeight = "bold" setupInfo.style.float= "left" setupInfo.style.marginLeft = "5px" const powerInfo = document.createElement("div") powerInfo.className = "power-info" powerInfo.textContent = "Power: ".concat(power) powerInfo.style.fontWeight = "normal" const luckInfo = document.createElement("div") luckInfo.className = "luck-info" luckInfo.textContent = "Luck: ".concat(luck); luckInfo.style.fontWeight = "normal" setupInfo.appendChild(powerInfo); setupInfo.appendChild(luckInfo); const table = document.createElement("table"); table.id = "chro-minluck-table" table.style.textAlign = "left"; table.style.borderSpacing = "1em 0"; table.style.paddingTop = "5px" const miceheader = document.createElement("th"); miceheader.innerText = "Mouse Name" miceheader.style.fontWeight = "bold" const minluckheader = document.createElement("th"); minluckheader.innerText = "Minluck" minluckheader.style.textAlign = "center" minluckheader.style.fontWeight = "bold" const crheader = document.createElement("th"); crheader.innerText = "CRE" crheader.style.textAlign = "center" crheader.style.fontWeight = "bold" table.appendChild(miceheader); table.appendChild(minluckheader); table.appendChild(crheader); for (var i=0;i= minluck_string){ minLuck.style.color = "#228B22" } var mice_power = micePower[mice_index] var mice_eff = miceEff[mice_index][power_index] var cr_string = convertToCR(power,luck,mice_power,mice_eff) //catch rate------- var cR = document.createElement("td"); cR.style.textAlign = "center" cR.innerText = cr_string; var cr_number = (parseInt(cr_string)) if(cr_string == "100.00%"){ cR.style.color = "#228B22" } else if (cr_number <= turnRed){ cR.style.color = "#990000" } row.appendChild(mouseName); row.appendChild(minLuck); row.appendChild(cR); table.appendChild(row); } buttonDiv.appendChild(infoButton); buttonDiv.appendChild(minButton); buttonDiv.appendChild(closeButton); div.appendChild(setupInfo); div.appendChild(buttonDiv) //div.appendChild(minluck_title); div.appendChild(table); document.body.appendChild(div); dragElement(div); resolve(); })} function sortTable(table_id, sortColumn){ var rowData = table_id.getElementsByTagName('tr'); for(var i = 0; i < rowData.length - 1; i++){ for(var j = 0; j < rowData.length - (i + 1); j++){ if(Number(rowData.item(j).getElementsByTagName('td').item(sortColumn).innerHTML.replace(/[^0-9\.]+/g, "")) < Number(rowData.item(j+1).getElementsByTagName('td').item(sortColumn).innerHTML.replace(/[^0-9\.]+/g, ""))){ table_id.insertBefore(rowData.item(j+1),rowData.item(j)); } } } } function postReq(url, form) { return new Promise((resolve, reject) => { const xhr = new XMLHttpRequest(); xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.onreadystatechange = function () { if (this.readyState === XMLHttpRequest.DONE && this.status === 200) { resolve(this); } }; xhr.onerror = function () { reject(this); }; xhr.send(form); }); } function dragElement(elmnt) { var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0; if (document.getElementById(elmnt.id + "header")) { // if present, the header is where you move the DIV from: document.getElementById(elmnt.id + "header").onmousedown = dragMouseDown; } else { // otherwise, move the DIV from anywhere inside the DIV: elmnt.onmousedown = dragMouseDown; } function dragMouseDown(e) { e = e || window.event; e.preventDefault(); // get the mouse cursor position at startup: pos3 = e.clientX; pos4 = e.clientY; document.onmouseup = closeDragElement; // call a function whenever the cursor moves: document.onmousemove = elementDrag; } function elementDrag(e) { e = e || window.event; e.preventDefault(); // calculate the new cursor position: pos1 = pos3 - e.clientX; pos2 = pos4 - e.clientY; pos3 = e.clientX; pos4 = e.clientY; // set the element's new position: elmnt.style.top = (elmnt.offsetTop - pos2) + "px"; elmnt.style.left = (elmnt.offsetLeft - pos1) + "px"; } function closeDragElement() { // stop moving when mouse button is released: document.onmouseup = null; document.onmousemove = null; } } function replaceInfinity(a,b){ //Can't evalute infinity symbol, so was replaced with 9999 as minluck instead var text = minluckvalues[a][b] var infinitySym = String.fromCharCode(0x221E) if (text == 9999){ return infinitySym } else { return text; } }; function convertToCR(power,luck,mPower,mEff){ mEff= mEff/100; var result = Math.min(1, (power*mEff + 2*Math.pow(Math.floor(luck*Math.min(mEff,1.4)),2)) / (mPower + power*mEff)); result = (result*100).toFixed(2) + '%'; return result; } function trapChangeListener(){ const originalOpen = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function (){ this.addEventListener("load", function(){ if (this.responseURL === "https://www.mousehuntgame.com/managers/ajax/users/changetrap.php"){ success:{ colourClover() } } }) originalOpen.apply(this,arguments); }; }; async function colourClover(){ var isOpened; var colour; var button = $(".min-luck-button")[0]; document.getElementById("minluck-list")? isOpened = true : isOpened = false; const p = await getData() .then(res=>{ var data = $(".chro-minluck-data"); var count = 0; for (var i=0; i= 0.5 ? colour = "green" : colour = "red"; colour == "blue" ? button.style.filter = "hue-rotate(100deg)" : null; colour == "red" ? button.style.filter = "hue-rotate(185deg)" : null; colour == "green" ? button.style.filter = "hue-rotate(0deg)" : null; }) if (isOpened == false){ document .querySelectorAll("#minluck-list") .forEach(el=> el.remove()) } }