From c4540f56526c373379af31964783f49e3de8e205 Mon Sep 17 00:00:00 2001 From: poadiego <64396442+poadiego@users.noreply.github.com> Date: Thu, 7 May 2020 14:36:39 -0400 Subject: [PATCH 1/3] Add files via upload --- Contents.swift | 116 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 Contents.swift diff --git a/Contents.swift b/Contents.swift new file mode 100644 index 0000000..1006ca9 --- /dev/null +++ b/Contents.swift @@ -0,0 +1,116 @@ +/*: +# Module Project - NOC List + +Greetings agent. Your mission is a top priority for the agency. Please read below for further info. + +Our undercover agents in Eastern Europe are in trouble. The NOC list (Non-official cover) has been leaked and we need our directors to have quick access to the information so we can try to mitigate the damage. Some of the agents on the list have an access level that makes them privy to very sensitive information. We need an application that will present the NOC list's information in a quickly digestible format. Our top agents have been working on it, but we need this done ASAP and you've proven yourself to be quite capable of a quick turnaround. + +The Director herself has given you access to all the agency's resources to complete this mission. We're counting on you agent. + +Here is the complete NOC List. This information is classified at the highest levels, so guard it very carefully. + + --- + + * coverName: "Ethan Hunt", realName: "Tom Cruise", accessLevel: 8, compromised: false + * coverName: "Jim Phelps", realName: "Jon Voight", accessLevel: 9, compromised: true + * coverName: "Claire Phelps", realName: "Emmanuelle Beart", accessLevel: 5, compromised: false + * coverName: "Eugene Kittridge", realName: "Henry Czerny", accessLevel: 10, compromised: true + * coverName: "Franz Krieger", realName: "Jean Reno", accessLevel: 4, compromised: false + * coverName: "Luther Stickell", realName: "Ving Rhames", accessLevel: 4, compromised: false + * coverName: "Sarah Davies", realName: "Kristin Scott Thomas", accessLevel: 5, compromised: true + * coverName: "Max RotGrab", realName: "Vanessa Redgrave", accessLevel: 4, compromised: false + * coverName: "Hannah Williams", realName: "Ingeborga Dapkūnaitė", accessLevel: 5, compromised: true + * coverName: "Jack Harmon", realName: "Emilio Estevez", accessLevel: 6, compromised: true + * coverName: "Frank Barnes", realName: "Dale Dye", accessLevel: 9, compromised: false + + --- + +This message will self destruct in 5 seconds. +*/ +//: ## Step 1 +//: Create constants for each of the above agents and store all their information in a tuple. +let agent1 = (coverName: "Ethan Hunt", realName: "Tom Cruise", accessLevel: 8, compromised: false) +let agent2 = ( coverName: "Jim Phelps", realName: "Jon Voight", accessLevel: 9, compromised: true) +let agent3 = (coverName: "Claire Phelps", realName: "Emmanuelle Beart", accessLevel: 5, compromised: false) +let agent4 = (coverName: "Eugene Kittridge", realName: "Henry Czerny", accessLevel: 10, compromised: true) +let agent5 = (coverName: "Franz Krieger", realName: "Jean Reno", accessLevel: 4, compromised: false) +let agent6 = (coverName: "Luther Stickell", realName: "Ving Rhames", accessLevel: 4, compromised: false) +let agent7 = (coverName: "Sarah Davies", realName: "Kristin Scott Thomas", accessLevel: 5, compromised: true) +let agent8 = (coverName: "Max RotGrab", realName: "Vanessa Redgrave", accessLevel: 4, compromised: false) +let agent9 = (coverName: "Hannah Williams", realName: "Ingeborga Dapkūnaitė", accessLevel: 5, compromised: true) +let agent10 = (coverName: "Jack Harmon", realName: "Emilio Estevez", accessLevel: 6, compromised: true) +let agent11 = (coverName: "Frank Barnes", realName: "Dale Dye", accessLevel: 9, compromised: false) + + +// Step 2 place the above constants inside an array and declare as an array as well + +let agentArray = [agent1, agent2, agent3, agent4, agent5, agent6, agent7, agent8, agent9, agent10, agent11] +//: ## Step 3 +//: Create a function that calculates the total number of compromised agents. Inside the function, iterate over the array of agents to determine which ones are compromised. Return the total count. +/*func compromisedAgent() -> Int { + for comprimisedCount in +} +var countOfCompromised = 0 +for compromised in agentArray { + if compromised.3 == true { + countOfCompromised += 1 + } +} +print(countOfCompromised) +*/ +func compromisedAgent() -> Int { + var countOfCompromised = 0 + for compromised in agentArray { + if compromised.3 == true { + countOfCompromised += 1 + } + } + return countOfCompromised +} + +//Step 4 Call the above function to find the total number of compromised agents and then print a sentence that says "# agents have been compromised!" using string interpolation + + +print("\(compromisedAgent()) agents have been comprimised!") + + +//: ## Step 5 +//: Create a function called "findCleanAgents" that both prints the cover names of all uncompromised agents, as well as returns an array of agents that are uncompromised. +func findCleanAgents() -> Array{ + var cleanAgents = agentArray + for uncompromised in cleanAgents { + if uncompromised.3 == false { + + } + } + return cleanAgents +} + +//: ## Step 6 +//: Call the above function to find the total number of clean agents and print a message that says "# clean agents out of # total agents." Use the total number of agents in the array from step 2 as the second number in the string. + + + +//: ## Step 7 +//: Create a function called "findHighRisk" that prints out the real names and access levels of agents with level 8 or higher. If one of these agents is also currently compromised, add `**WARNING** **COMPROMISED**` to the end of the string that includes their name and access level. +//: - Example: `Jon Voight, level: 9 **WARNING** **COMPROMISED**` + + + +//: ## Step 8 +//: Call the above function and check the output in the console to ensure it is functioning properly. + + + +//: ## Step 9 +//: Create a function that finds totals for low, mid, and high level agents. Low level agents are 4 or lower, mid are 5-7, and high level agents are 8 or above. Iterate over each agent and use a `switch` statement to determine their level group. At the end of the function, print a statement like the following: "# low level agents, # mid level agents, and # high level agents" + + + +//: ## Step 10 +//: Call the above function and check its output in the console. + + + +//: ## Step 11 (Optional) +//: Create and call a function that prints the cover names and access levels of all agents, but the list should be sorted by access level, in ascending order. From acaa62e2c6a81dd0750d83f5a1c7176aff0db7b7 Mon Sep 17 00:00:00 2001 From: poadiego <64396442+poadiego@users.noreply.github.com> Date: Sat, 9 May 2020 03:25:07 -0400 Subject: [PATCH 2/3] Add files via upload --- NOCList 2.playground.zip | Bin 0 -> 24410 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 NOCList 2.playground.zip diff --git a/NOCList 2.playground.zip b/NOCList 2.playground.zip new file mode 100644 index 0000000000000000000000000000000000000000..ce3b93b7f96dc2c331707aa8e108dd0a1228ee19 GIT binary patch literal 24410 zcmcG#bCf6Fw+aRlZ%s$6d)NKz z>~qhF6)R%zyA@?X!C-*?xqjhPD*m^{zfb5uNI>!mBC=L4u0$*hjHjnS zBQhEg)Zg3sUm}bCZ$>t8uy-}HcXj#CaHdACM*r-^@-Nyy;~&K4#`=j_B`O(unz@;u z&1x*mtcuE#vodoElQS~y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73YUgmUo}$7eo&b-NOECC zZ;`h9!(yWP&~U<&nv6q<)*dg$1w78;Q4wTQds+o#DfMXeQyu2r1>MRDOFP6q&K&a~ zIH@pvEG$XtZ@K>O(;Uu|(i{vf>(8|9I90>UcI3lLh#L7W$bNygaCE9VcHV97E2m~6 z^Oqhp$%~05RKjsOOyUEG8&)QZs~E4XWj+xN(afsUmln9uR!X&1WxgdZ!>gCDrTIEL zu@up2=L4xJ;;3uhcMyLralOPbBhA@7?&&?52+D?A2c%+hH*m=wrOOeu;pV~`1H}m& z8k1aw2ir+1#{3PI7Tvx`(McVTJCc7+=kZZ$SNm6bhmAvi>LiNpxuakF^^#teIsQB$ z1IGWs)YVY_Del+&mm3RHoa{;Be)_)02`)Qfj6YGdzZvdH2wY63&i(faPXgke>~&1UfiuRq z83L_v{_Am{V8%b3WBYw@e&ro#U>Lb9lYMj|@VE2%pM&!U_QJQNaLiu7oTSH=V4gyB z#jqqLkd^X(V97sv>^q0yPt#cw!_H+HA%Xwe&Oe=y{QV3&zItF5W85%IVF)bypP2HG zKKuR<{wJS_Vi>wCW1;kKeTGrO`O`HIv+RKxCWgSa|BuR(t46|?|`wy}6w;2Ec literal 0 HcmV?d00001 From 81fb99b7802ae3c59c176348641dec05b341b8db Mon Sep 17 00:00:00 2001 From: poadiego Date: Mon, 11 May 2020 21:33:11 -0400 Subject: [PATCH 3/3] Noclistproject --- Contents.swift | 116 ------------------ NOCList 2.playground.zip | Bin 24410 -> 0 bytes NOCList.playground/Contents.swift | 86 ++++++++++--- .../UserInterfaceState.xcuserstate | Bin 0 -> 9604 bytes .../UserInterfaceState.xcuserstate | Bin 0 -> 11759 bytes 5 files changed, 67 insertions(+), 135 deletions(-) delete mode 100644 Contents.swift delete mode 100644 NOCList 2.playground.zip create mode 100644 NOCList.playground/playground.xcworkspace/xcuserdata/cheyennegalli.xcuserdatad/UserInterfaceState.xcuserstate create mode 100644 NOCList.playground/playground.xcworkspace/xcuserdata/diegomadison.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/Contents.swift b/Contents.swift deleted file mode 100644 index 1006ca9..0000000 --- a/Contents.swift +++ /dev/null @@ -1,116 +0,0 @@ -/*: -# Module Project - NOC List - -Greetings agent. Your mission is a top priority for the agency. Please read below for further info. - -Our undercover agents in Eastern Europe are in trouble. The NOC list (Non-official cover) has been leaked and we need our directors to have quick access to the information so we can try to mitigate the damage. Some of the agents on the list have an access level that makes them privy to very sensitive information. We need an application that will present the NOC list's information in a quickly digestible format. Our top agents have been working on it, but we need this done ASAP and you've proven yourself to be quite capable of a quick turnaround. - -The Director herself has given you access to all the agency's resources to complete this mission. We're counting on you agent. - -Here is the complete NOC List. This information is classified at the highest levels, so guard it very carefully. - - --- - - * coverName: "Ethan Hunt", realName: "Tom Cruise", accessLevel: 8, compromised: false - * coverName: "Jim Phelps", realName: "Jon Voight", accessLevel: 9, compromised: true - * coverName: "Claire Phelps", realName: "Emmanuelle Beart", accessLevel: 5, compromised: false - * coverName: "Eugene Kittridge", realName: "Henry Czerny", accessLevel: 10, compromised: true - * coverName: "Franz Krieger", realName: "Jean Reno", accessLevel: 4, compromised: false - * coverName: "Luther Stickell", realName: "Ving Rhames", accessLevel: 4, compromised: false - * coverName: "Sarah Davies", realName: "Kristin Scott Thomas", accessLevel: 5, compromised: true - * coverName: "Max RotGrab", realName: "Vanessa Redgrave", accessLevel: 4, compromised: false - * coverName: "Hannah Williams", realName: "Ingeborga Dapkūnaitė", accessLevel: 5, compromised: true - * coverName: "Jack Harmon", realName: "Emilio Estevez", accessLevel: 6, compromised: true - * coverName: "Frank Barnes", realName: "Dale Dye", accessLevel: 9, compromised: false - - --- - -This message will self destruct in 5 seconds. -*/ -//: ## Step 1 -//: Create constants for each of the above agents and store all their information in a tuple. -let agent1 = (coverName: "Ethan Hunt", realName: "Tom Cruise", accessLevel: 8, compromised: false) -let agent2 = ( coverName: "Jim Phelps", realName: "Jon Voight", accessLevel: 9, compromised: true) -let agent3 = (coverName: "Claire Phelps", realName: "Emmanuelle Beart", accessLevel: 5, compromised: false) -let agent4 = (coverName: "Eugene Kittridge", realName: "Henry Czerny", accessLevel: 10, compromised: true) -let agent5 = (coverName: "Franz Krieger", realName: "Jean Reno", accessLevel: 4, compromised: false) -let agent6 = (coverName: "Luther Stickell", realName: "Ving Rhames", accessLevel: 4, compromised: false) -let agent7 = (coverName: "Sarah Davies", realName: "Kristin Scott Thomas", accessLevel: 5, compromised: true) -let agent8 = (coverName: "Max RotGrab", realName: "Vanessa Redgrave", accessLevel: 4, compromised: false) -let agent9 = (coverName: "Hannah Williams", realName: "Ingeborga Dapkūnaitė", accessLevel: 5, compromised: true) -let agent10 = (coverName: "Jack Harmon", realName: "Emilio Estevez", accessLevel: 6, compromised: true) -let agent11 = (coverName: "Frank Barnes", realName: "Dale Dye", accessLevel: 9, compromised: false) - - -// Step 2 place the above constants inside an array and declare as an array as well - -let agentArray = [agent1, agent2, agent3, agent4, agent5, agent6, agent7, agent8, agent9, agent10, agent11] -//: ## Step 3 -//: Create a function that calculates the total number of compromised agents. Inside the function, iterate over the array of agents to determine which ones are compromised. Return the total count. -/*func compromisedAgent() -> Int { - for comprimisedCount in -} -var countOfCompromised = 0 -for compromised in agentArray { - if compromised.3 == true { - countOfCompromised += 1 - } -} -print(countOfCompromised) -*/ -func compromisedAgent() -> Int { - var countOfCompromised = 0 - for compromised in agentArray { - if compromised.3 == true { - countOfCompromised += 1 - } - } - return countOfCompromised -} - -//Step 4 Call the above function to find the total number of compromised agents and then print a sentence that says "# agents have been compromised!" using string interpolation - - -print("\(compromisedAgent()) agents have been comprimised!") - - -//: ## Step 5 -//: Create a function called "findCleanAgents" that both prints the cover names of all uncompromised agents, as well as returns an array of agents that are uncompromised. -func findCleanAgents() -> Array{ - var cleanAgents = agentArray - for uncompromised in cleanAgents { - if uncompromised.3 == false { - - } - } - return cleanAgents -} - -//: ## Step 6 -//: Call the above function to find the total number of clean agents and print a message that says "# clean agents out of # total agents." Use the total number of agents in the array from step 2 as the second number in the string. - - - -//: ## Step 7 -//: Create a function called "findHighRisk" that prints out the real names and access levels of agents with level 8 or higher. If one of these agents is also currently compromised, add `**WARNING** **COMPROMISED**` to the end of the string that includes their name and access level. -//: - Example: `Jon Voight, level: 9 **WARNING** **COMPROMISED**` - - - -//: ## Step 8 -//: Call the above function and check the output in the console to ensure it is functioning properly. - - - -//: ## Step 9 -//: Create a function that finds totals for low, mid, and high level agents. Low level agents are 4 or lower, mid are 5-7, and high level agents are 8 or above. Iterate over each agent and use a `switch` statement to determine their level group. At the end of the function, print a statement like the following: "# low level agents, # mid level agents, and # high level agents" - - - -//: ## Step 10 -//: Call the above function and check its output in the console. - - - -//: ## Step 11 (Optional) -//: Create and call a function that prints the cover names and access levels of all agents, but the list should be sorted by access level, in ascending order. diff --git a/NOCList 2.playground.zip b/NOCList 2.playground.zip deleted file mode 100644 index ce3b93b7f96dc2c331707aa8e108dd0a1228ee19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24410 zcmcG#bCf6Fw+aRlZ%s$6d)NKz z>~qhF6)R%zyA@?X!C-*?xqjhPD*m^{zfb5uNI>!mBC=L4u0$*hjHjnS zBQhEg)Zg3sUm}bCZ$>t8uy-}HcXj#CaHdACM*r-^@-Nyy;~&K4#`=j_B`O(unz@;u z&1x*mtcuE#vodoElQS~yYB2ClORb7c?MF?}KN+VO7$jxoPm~n{sWlqZfNUB-BR4wC zPD>z4%YxPg6O!|DG(prCzM_}@|&f$N@|Ga!0 z|C^iiG;wn=bN**r|HDfDTbuv2M{@sl5MwiY3kOSE8?(Pv{SV}Sdp!QXHPPn(cj&*{ zm-^diXY;>LlZva6>wjeC^3VETd%dFR<*TChBJkP=@Y>i+PeS+lAKx+jCPpIhvZ>Wk26`HAFV;F6tw`*;Spk0U_Wjw}zH{dUDbm?F4h#$dVTuIl{Ds25nAIl<1-8TQ zVAECa*S8M^Zc(}g8Yj59s(@wbW4+>)_ga{!Sy5NX!DvS{m)MyxFOBD{2 z0hg)>zM=@K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z1IGWs)YVY_Del+&mm3RHoa{;Be)_)02`)Qfj6YGdzZvdH2wY63&i(faPXgke>~&1UfiuRq z83L_v{_Am{V8%b3WBYw@e&ro#U>Lb9lYMj|@VE2%pM&!U_QJQNaLiu7oTSH=V4gyB z#jqqLkd^X(V97sv>^q0yPt#cw!_H+HA%Xwe&Oe=y{QV3&zItF5W85%IVF)bypP2HG zKKuR<{wJS_Vi>wCW1;kKeTGrO`O`HIv+RKxCWgSa|BuR(t46|?|`wy}6w;2Ec diff --git a/NOCList.playground/Contents.swift b/NOCList.playground/Contents.swift index 71c2654..bad6fcc 100644 --- a/NOCList.playground/Contents.swift +++ b/NOCList.playground/Contents.swift @@ -29,56 +29,104 @@ This message will self destruct in 5 seconds. */ //: ## Step 1 //: Create constants for each of the above agents and store all their information in a tuple. - - - -//: ## Step 2 -//: Place the above constants inside an array. Declare this array as a constant as well. - - - +let agent1 = (coverName: "Ethan Hunt", realName: "Tom Cruise", accessLevel: 8, compromised: false) +let agent2 = (coverName: "Jim Phelps", realName: "Jon Voight", accessLevel: 9, compromised: true) +let agent3 = (coverName: "Claire Phelps", realName: "Emmanuelle Beart", accessLevel: 5, compromised: false) +let agent4 = (coverName: "Eugene Kittridge", realName: "Henry Czerny", accessLevel: 10, compromised: true) +let agent5 = (coverName: "Franz Krieger", realName: "Jean Reno", accessLevel: 4, compromised: false) +let agent6 = (coverName: "Luther Stickell", realName: "Ving Rhames", accessLevel: 4, compromised: false) +let agent7 = (coverName: "Sarah Davies", realName: "Kristin Scott Thomas", accessLevel: 5, compromised: true) +let agent8 = (coverName: "Max RotGrab", realName: "Vanessa Redgrave", accessLevel: 4, compromised: false) +let agent9 = (coverName: "Hannah Williams", realName: "Ingeborga Dapkūnaitė", accessLevel: 5, compromised: true) +let agent10 = (coverName: "Jack Harmon", realName: "Emilio Estevez", accessLevel: 6, compromised: true) +let agent11 = (coverName: "Frank Barnes", realName: "Dale Dye", accessLevel: 9, compromised: false) + + +// Step 2 place the above constants inside an array and declare as an array as well + +let agentArray = [agent1, agent2, agent3, agent4, agent5, agent6, agent7, agent8, agent9, agent10, agent11] //: ## Step 3 //: Create a function that calculates the total number of compromised agents. Inside the function, iterate over the array of agents to determine which ones are compromised. Return the total count. +func compromisedAgent() -> Int { + var countOfCompromised = 0 + for compromised in agentArray { + if compromised.3 == true { + countOfCompromised += 1 + } + } + return countOfCompromised +} +//Step 4 Call the above function to find the total number of compromised agents and then print a sentence that says "# agents have been compromised!" using string interpolation -//: ## Step 4 -//: Call the above function to find the total number of compromised agents and then print a sentence that says "# agents have been compromised!" using string interpolation. +print("\(compromisedAgent()) agents have been comprimised!") //: ## Step 5 //: Create a function called "findCleanAgents" that both prints the cover names of all uncompromised agents, as well as returns an array of agents that are uncompromised. - +func findCleanAgents() -> Array { + var cleanAgentArray: [(coverName: String, realName: String, accessLevel: Int, compromised: Bool)] = [] + for uncompromised in agentArray { + if uncompromised.3 == false { + cleanAgentArray.append(uncompromised); print(uncompromised.0) + } + } + + return cleanAgentArray +} //: ## Step 6 //: Call the above function to find the total number of clean agents and print a message that says "# clean agents out of # total agents." Use the total number of agents in the array from step 2 as the second number in the string. - +print("\(findCleanAgents().count) clean agents out of \(agentArray.count)") //: ## Step 7 //: Create a function called "findHighRisk" that prints out the real names and access levels of agents with level 8 or higher. If one of these agents is also currently compromised, add `**WARNING** **COMPROMISED**` to the end of the string that includes their name and access level. //: - Example: `Jon Voight, level: 9 **WARNING** **COMPROMISED**` - - +func findHighRisk() { + for highRisk in agentArray { + if highRisk.accessLevel >= 8, highRisk.compromised == true { + print(highRisk.realName, highRisk.accessLevel, "**WARNING** **COMPROMISED**") + } else if highRisk.accessLevel >= 8, highRisk.compromised == false { + print(highRisk.realName, highRisk.accessLevel) + } + + } +} //: ## Step 8 //: Call the above function and check the output in the console to ensure it is functioning properly. - - +findHighRisk() //: ## Step 9 //: Create a function that finds totals for low, mid, and high level agents. Low level agents are 4 or lower, mid are 5-7, and high level agents are 8 or above. Iterate over each agent and use a `switch` statement to determine their level group. At the end of the function, print a statement like the following: "# low level agents, # mid level agents, and # high level agents" - +func agentLevelGrouper() { + var lowLevel = 0 + var midLevel = 0 + var highLevel = 0 + for groups in agentArray { + switch groups.accessLevel { + case 0...4: + lowLevel += 1 + case 5...7: + midLevel += 1 + default: + highLevel += 1 + } + + } + print("\(lowLevel) low level agents \(midLevel) mid level agents \(highLevel) high level agents" ) +} //: ## Step 10 //: Call the above function and check its output in the console. - +agentLevelGrouper() //: ## Step 11 (Optional) //: Create and call a function that prints the cover names and access levels of all agents, but the list should be sorted by access level, in ascending order. - diff --git a/NOCList.playground/playground.xcworkspace/xcuserdata/cheyennegalli.xcuserdatad/UserInterfaceState.xcuserstate b/NOCList.playground/playground.xcworkspace/xcuserdata/cheyennegalli.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000000000000000000000000000000000000..fdf306afd1c1ffa2d00b11131649aa5e8e593da6 GIT binary patch literal 9604 zcmeHMd3=*q);{+pX_97NS&}q`7Q{l^bZoPT7EP0egAy_eC@AI-uIq+@44rm z`<&;T+Z6P9!x4w$6cC^w0x?J+0i=-Fn7W7yg}nj)>{NHCxy_4Db*Yg+urW2zbQRYe z3G0E}xYMQ8)HtVcot&qnSLg)DKwj^RxFZ}R4{6^A1t?(%425AZ7REt3WI!f3APce~ z2g;xvDxeakz~xW{UbqStf)Cok4*>|m)ewR(M4$r}!D3hfop2p6SOvGkI=BPY!v@$0 zo8V5^1AAc~?1u;8A$S~~f`jlPyacbo2{;L-;S9VBAHg~J48DNBz%TH3_!a&Oej_p> zCy7Kslte|e#7u?|D;Z5LA!A53$$>{nE*VcIkjbQqOeNDuHJMIo$V}2eT8NJXNrZHe zMPw;qWCdAC{y^>~J4qMmCcDUPvWM&?`^Y`yUh)8WoIF7ekY~tIa*P}&FOV0>OXN-R z7CAvqk{)u3oFQk)C*%wASMme-k^GZfpgkJFdwo3w|%PtVei=sEfY{gVErKGomh^YwrV)Sv+^7{ENM z#+k8@>kQAq&t4a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