data1 = {"":25,"ConsenSys":2,"Google":3,"Imagine Communications":2,"Tricolops Technology Inc":1,"Citadel":1,"Konrad Group":1,"DragonAgile":1,"York Region":1,"fb":1,"TD":1,"Hubdoc":1,"Dell EMC":1,"Nokia":1,"RBC":3,"Mawer Investment Management":1,"Jasper":1,"Clearpath Robotics":1,"Procom":1,"CIBC":2,"Yuan Control Technology":1,"RiverPay Inc.":1,"rbc capital markets":1,"Exiger":1,"Infrastructure Ontario":1,"Seismic Software, Inc.":1,"Encircle Inc.":1,"IBM":1,"P&P Optica":1,"University of Waterloo":2,"Martello":1,"Polar":1,"MCAP":1,"EQ Bank":1,"Kinaxis":1,"CAE":1,"Computer Talk Technology":1,"ADP":1,"Finastra":2,"reachwebexperts":1,"Marlena Books":1,"TeamX Technologies Inc.":1,"Carego Tek":1,"Ford":1,"John Hancock Financial":1,"Infinera":1,"SnapCommerce":1,"Scotiabank":1,"TD Bank":1,"dfhhrtg":1,"GOOGLE":1,"Hilti":1,"NCR":1,"Microsoft":2,"Uber ATG":1,"Connected":1,"Government of Ontario":1,"Opentext":1,"Synqrinus":1,"PointClickCare":1,"Flipp":1,"Bold Commerce":1,"Honeywell":1,"Ultimate software":1,"Symantec":1,"Innunco Academy":1,"BlackBerry":1,"OLG":1,"Encircle":1,"YuJa":1,"WSIB":1,"NeuroBlot":1,"Achievers":1,"Rich media":1,"Gay Lea":1,"TD Lab":1}
data2 = {"":34,"League":1,"Snap Inc.":2,"Amazon":1,"Avenza System":1,"Citadel":1,"Konrad Group":1,"Arrowstreet Capital":1,"D2L":1,"Splunk":1,"Connected":2,"Consensys":1,"SideFX":2,"Tribalscale":1,"Redfin":1,"CPP Investment Board":1,"Jasper":1,"The Co-operators":1,"Bdo ":1,"Novus Health":1,"KeepTruckin Inc.":1,"scotiabank":1,"Wish":1,"BMO Capital Markets":1,"SAP Labs":1,"Level Home Inc.":1,"Clearbanc":1,"Escrypt":1,"Scotiabank":1,"Uber ATG":1,"ConsenSys":1,"TD":1,"The Cooperators":1,"NCR":1,"University of Waterloo":1,"Loopio":1,"Blackberry":1,"Hubdoc":1,"ruby":1,"Clearbridge Mobile":1,"Kaleidescape":1,"Yahoo":1,"CIBC":1,"Secret Mission Software":1,"Arup":1,"Canadian Security Intelligence Service":1,"Ford":2,"Google":2,"Asana":1,"Shopify":2,"Shareworks By Morgan Stanley":1,"Ritual ":1,"hdfhdfgh":1,"Fleet Complete":1,"Microsoft":1,"Rippling":1,"Nuance Communications":1,"North":1,"Intelex":1,"StackAdapt":1,"Honeywell":1,"Ultimate software":1,"Auvik":1,"Accedo":1,"Genesys":1,"YuJa":1,"VirtaMove":1,"LevelJump":1,"Intel ":1,"Kenna":1,"Wattpad":1}
data3 = {"":35,"Wish":7,"Google":4,"LinkedIn":1,"Condos.ca":1,"Hudson River Trading":2,"IBM":1,"Jane Street":1,"A Thinking Ape":1,"Tableau":1,"Postmates":1,"Citadel":1,"TextNow":1,"Khazanah Americas Investments":1,"Brisk Synerges":1,"DarwinAI":1,"hyperPad":1,"CI Technologies":1,"Yahoo":1,"Carrot Inc.":1,"scotiabank":1,"Scribd":1,"TD Asset Management":1,"Facebook":1,"Google LLC":1,"Darkvision":1,"Flipp":1,"Nvidia":1,"KitchenMate":1,"Local Line":1,"Miovision":1,"SAP":1,"Behaviour Interactive":1,"DNAstack":1,"Uken Games":2,"Deloitte":1,"huawei":1,"Inscopix":1,"Ultimate software":1,"Pixlee":1,"Uber ATG":2,"Splunk":1,"Kofax":1,"Circle Internet Financial":1,"Huawei":1,"Birch Hill Equity":1,"fhjfghfd":1,"Thomson Reuters":1,"Faire":2,"Ops Level":1,"Asana":1,"Cooperators":1,"Salesforce":1,"Arctic Wolf":1,"Loblaw Digital":1,"Shopify":1,"Textnow":1,"Bluescape":1,"BlackBerry":1,"Manulife":1,"Curvegrid":1,"Kenna":1,"Wish ":1}
data4 = {"":38,"Shopify":3,"Riot Games":2,"Wish":5,"Bloomberg":2,"Jane Street":2,"ServiceNow":1,"Hudson River Trading":1,"Electronic Arts":1,"data.world":1,"Citadel":1,"Google":4,"Boosted.ai":1,"Amazon":1,"Akasha Imaging":1,"Together software ":1,"Rocket Innovation Studio":1,"Wise Systems":1,"veeva systems":1,"University of Waterloo":2,"Manulife Financial":1,"University of Waterloo, Department of Combinatorics & Optimization":1,"Virtek Vision":1,"1Password":1,"Side Effects Software":1,"KitchenMate":1,"NerdWallet":1,"Later":1,"SAP":2,"Uken Games ":1,"Process Fusion ":1,"ZeMind Game Studio":1,"capital one":1,"Apple":2,"Ultimate software":1,"Pencil Learning Technologies":1,"Uber ATG":1,"Virtu Financial":1,"GTS":1,"NVIDIA":1,"Coherent Logix":1,"Property.ca":1,"dfgfdhfg":1,"Thomson Reuters":1,"Faire":1,"OMERS":1,"Coinbase":1,"Loblaw Digital":1,"BitGo":1,"Twitch":1,"Appficiency":1,"Auvik":1,"RBC":1,"Huawei":1,"Curvegrid":1,"Sheertex":1,"Tucows":1,"Shopify ":1}
data5 = {"":39,"Riot Games":1,"Google":4,"LinkedIn":2,"Bloomberg":4,"Jane Street":4,"Lyft":1,"Amazon":6,"Nvidia":1,"Facebook":5,"Twitch":1,"Akasha Imaging":1,"Honey":1,"A thinking ape":1,"Opal":1,"Salesforce Inc.":1,"lifion":1,"The Co-operators":1,"Microsoft Research":1,"HomeX Labs":1,"NVIDIA":1,"Wish":1,"1Password":2,"Hudson River Trading":1,"StackAdapt":1,"NerdWallet":1,"Autodesk":1,"Cerebras":1,"IBM":1,"Carrot":1,"capital one":1,"Snowflake":1,"Coffee Meets Bagel":1,"Tophatter":2,"Cisco Meraki":1,"GTS":1,"Citadel":1,"Arctic Wolf ":1,"hgdfhefd":1,"Meta":1,"D2L":1,"Yugabyte":1,"Vidyard":1,"Datadog":2,"Facebook/Meta":1,"Wave":1,"RBC":1,"Research group at University of Waterloo":1,"Lyft Inc":1,"Thomson Reuters":1}
data6 = {"":56,"Lyft":1,"Noom Inc.":2,"Facebook":3,"Whist":1,"Jane Street":4,"Databricks":2,"Meta":4,"Tableau":1,"Bloomberg":2,"YouTube/Google":1,"Boosted.ai":1,"Citadel":3,"Akasha Imaging":1,"PayPal":1,"Nvidia":1,"Yugabyte":2,"Carrot Inc.":1,"Twitter":1,"Hudson River Trading":1,"GTS":1,"Tesla":1,"BitGo":1,"CSE":1,"Voiceflow":1,"Adentro":1,"Verkada":1,"stackadapt":1,"Datadog":2,"EA":1,"Soundhound":1,"Wish":2,"BetterUp":1,"fdgdhdfg":1,"Instagram":1,"Faire":1,"Shopify":1,"Coursera":1,"Salesforce":1} 

# Clean names are names all lowercase

cleanNameToRealName = {}
cleanNameToVal = {}

for name, value in data6.items():
	cleanName = name.lower();
	cleanNameToVal[cleanName] = cleanNameToVal.get(cleanName, 0 ) + value
	cleanNameToRealName[cleanName] = name


print("[")
for cleanName, val in cleanNameToVal.items():
	print("{")
	print(f"text : \"{cleanNameToRealName[cleanName]}\",")
	print(f"value : {cleanNameToVal[cleanName]}"),
	print("},")
print("]")

