Initial Commit of code

This commit is contained in:
dan 2020-12-08 09:51:11 -06:00
parent 5f92baede0
commit 5a7214e69c
15 changed files with 6431 additions and 0 deletions

237
Advent Of Code Day 1.ps1 Normal file
View File

@ -0,0 +1,237 @@
$list = @("1583",
"1295",
"1747",
"1628",
"1756",
"1992",
"1984",
"1990",
"2006",
"1626",
"1292",
"1561",
"1697",
"1249",
"2001",
"1822",
"1715",
"1951",
"1600",
"1615",
"1769",
"1825",
"1335",
"1987",
"1745",
"1660",
"1952",
"1437",
"1348",
"1968",
"615",
"1847",
"476",
"1346",
"1357",
"1838",
"1955",
"1750",
"1831",
"2003",
"1730",
"1696",
"1257",
"1581",
"866",
"1765",
"1691",
"1995",
"1977",
"1988",
"1713",
"1599",
"1300",
"1892",
"1550",
"2002",
"1694",
"1930",
"1998",
"1564",
"1704",
"1398",
"864",
"1480",
"1578",
"1946",
"1850",
"1964",
"1914",
"1860",
"1979",
"1857",
"1969",
"1675",
"1967",
"2009",
"1950",
"1834",
"783",
"1935",
"1963",
"1659",
"1314",
"1647",
"1671",
"1706",
"1734",
"1965",
"1666",
"316",
"1657",
"1663",
"1373",
"1719",
"1778",
"1559",
"1869",
"1958",
"1986",
"1845",
"1643",
"1783",
"1670",
"1445",
"1758",
"2008",
"1680",
"1251",
"1982",
"1420",
"1621",
"1997",
"1785",
"1994",
"1376",
"1944",
"1771",
"1844",
"96",
"467",
"1954",
"903",
"1368",
"1305",
"1589",
"1970",
"1980",
"1521",
"1775",
"1629",
"1796",
"1985",
"1957",
"1669",
"1637",
"1606",
"1766",
"1972",
"1956",
"1685",
"1235",
"58",
"1996",
"1959",
"1788",
"1273",
"1378",
"1233",
"1470",
"1584",
"1741",
"1327",
"1763",
"1989",
"1665",
"1667",
"1975",
"1862",
"1791",
"1229",
"1873",
"1761",
"1754",
"1882",
"1642",
"1971",
"1777",
"1580",
"1648",
"1678",
"1266",
"1645",
"502",
"1717",
"1723",
"1244",
"1370",
"1898",
"1755",
"1708",
"1983",
"1901",
"844",
"1239",
"1290",
"1879",
"1656",
"1966",
"1929",
"1993",
"1743",
"1909",
"1451",
"2000",
"1978",
"1938",
"1707",
"1337",
"1362",
"1263")
function Add-Numbers(){
param(
[parameter()]$numbers
)
$sum = $numbers | measure-object -Sum | select-object -ExpandProperty Sum
return $sum
}
$numbers=@()
for($i=0;$i -le $list.count; $i++){
for($a=$i+1;$a -le $list.count - 1; $a++){
if((add-numbers -numbers $list[$i],$list[$a]) -gt 2020){
continue
}
for($b=$a+1;$b -le $list.count - 2; $b++){
$sum = add-numbers -numbers $list[$i],$list[$a],$list[$b]
write-host "`$i = $i : `$a = $a : `$b = $b : adding $($list[$i]) + $($list[$a]) + $($list[$b])= $sum"
if($sum -eq 2020){
$multiplicitive = [int]$list[$i] * [int]$list[$a] * [int]$list[$b]
$numbers="$($list[$i]) x $($list[$a]) x $($list[$b]) = $multiplicitive"
}
if($numbers.count -gt 0){
break
}
}
if($numbers.count -gt 0){
break
}
}
if($numbers.count -gt 0){
break
}
}
write-host $numbers

1023
Advent Of Code Day 2.ps1 Normal file

File diff suppressed because it is too large Load Diff

342
Advent Of Code Day 3.ps1 Normal file
View File

@ -0,0 +1,342 @@
$map = @("...#.....#.......##......#.....",
"...#..................#........",
"....##....#.......#............",
".........#.......#.......#.....",
"..#..............#.........#..#",
".....#.........#....#....#....#",
"....##..........#.#.##.........",
"...#....##...#...#...#.#..#....",
"...#.......###..........#......",
".........#.....#....#...#.#....",
".#...###..#..##..#.........###.",
"#.#...#..........###...#....#..",
"#....#.#..#..........#.......#.",
".#..#........##.#..............",
"............#..#.#............#",
".............#..........#......",
"...#.......#...............#...",
".#...#..#..#............#..#...",
"....##.##..................#.##",
"#......#...#..##....#.....#...#",
"#..#..........##....#...###....",
"##......#.##.#......#..#......#",
"....#...#.......##.##...#.#..#.",
"##.#...#....#...#...#........#.",
"........#..#.....#....#.......#",
".#......#......#..............#",
".#.....#..#..#..#..#..#....#..#",
".......#.....#.................",
".#......#...#..#..#...#...#....",
".........#..#..#.........#.....",
".....#.........#.#..........#..",
"#......#....#....##....#.#.#...",
"................##.#...........",
".....##.....#............#.#...",
"...........#...#.#..##...#.....",
".......#....##.......#..#....#.",
".##......##....#....####.##..#.",
".....#.##.....#...#....##......",
".............#....#......#....#",
"#.#.#.###........#.#....#.#....",
".##...........#................",
"#..#..#...##..##.##...#..#.#...",
"..#......##..#.#......#..#.#.#.",
".....#..............#......#...",
"#.#..##.##...#............##...",
".#......#.............#........",
"........##....#......#..#......",
"##.........##....#..........#..",
"..#..#....#.........##....#..#.",
"........#..#..#........#...#...",
"#.........#......##.#...#.##...",
".##.............#..###....#.##.",
".##.#....#.......#.............",
"#..##.#.........#..##.#......##",
"....#..#.......................",
".#.#.........#...............#.",
"....#......#.#..##..#...#.#..#.",
"#....##...##..#.......##.....##",
"....##...##...#....#.....#..#..",
".#......#.#.#.#......##..#..#..",
".....##..#..#.....#.....#...##.",
"....###................#..#.#..",
".....#..#..#.#..........#..#...",
"...#.....#............#........",
"#.............#...#..#.....#..#",
"#........#.....#.#..#......#...",
"...#.##.....#.#..#.........#..#",
".......##...#..#.#....##.......",
"..................#..##..#.#.#.",
"..#......#..#..#.....#...#.#...",
".#.......#.....#.#....#.#......",
"##..#.#....#.###..#...#.......#",
".......................#.......",
"..###..........#..##.##.#...##.",
".....#...#....###.........#..#.",
"..#.....#....###...............",
"....#.......#........#....#..#.",
"......#................#.#...##",
"#.....#.......#..#..........##.",
"#.#....##.........#.....#.#....",
"#.#.#...#............####.##..#",
".....#....####........#...#..#.",
"....##........#.#..............",
".#......#..#..##......#....#.##",
"..#....#.#........#..#....#....",
".#...#.##...#.#.....#.....#...#",
"..........#................###.",
".....#..........##..#..........",
".....#..................#...#..",
"#......##....#.#...#..#.......#",
"..#......##....#......#.#...#..",
"###.#..###.#.#..#...#....#.....",
"#.....#.#...#.##...#........#..",
"#..........................#...",
".#.#.....#.#.#.......##.#.#....",
".#....#..##......#....#........",
".#.......#.##......#.#..#......",
"............#.....#....##.##...",
"....##........##......#........",
"....#......##....##.....#......",
"..#.#.....#......#...#.#.......",
".###.........#...#........#....",
"......#.#...##.....##..##..#...",
"...#...#.#......#..##..#.......",
".##....#.#........#.#..........",
"#....#.#......#......#.#.#.....",
"#.....#.....#................##",
"...........#....#...#...#......",
"..........##..##..#...##.......",
".##......#.......#..#.#..##....",
"..........##....#....#..#.#....",
"...............#......#.....##.",
".#...#....................#..#.",
".............###...............",
".####..............#...#.......",
"....#...#.#...#...#....#.......",
".......#.#.....................",
"...............................",
"#..#.........##.......#.#.#....",
"....##...#...........#......#..",
"........##...#......#..........",
"....#.#.....#..#......#........",
"#..#................#..#.##....",
".#........#.......#.........##.",
"#...........#...#...#......#.#.",
"..#.#.#..........##.##...#...#.",
"..#...#.##...#.#...........#...",
"##...........##...##...##......",
"....#....##...#......#..#.....#",
"#..#.#.#..#...#...#....#.......",
"............#.....#....#....#.#",
"....##.....#.........#......#..",
".....##.......#...#...#.###....",
"...##......##..###.#.#....#....",
"#.#.#.#..#.#.........#...#...##",
"..#..........#.................",
"....##....#....................",
"###.#...............##...##.#..",
"....#.......##.#..#.#..........",
"............##..#.......##.....",
"#...#.........#..#..#..#...#...",
"..#......##..#.#...##.#.......#",
"......#................#...#...",
"......#..###............#.#....",
"..#.#...###...#..#...#......##.",
"...#.##...##............#......",
"#...##........#.#..#.......#...",
"#..#.....#..#.##...............",
"..#.....#.#....#.........#.....",
".............#....#..#...#.##..",
"..#.#.....................##.#.",
"........#.......#..#.#.........",
"##..............#.....#.......#",
".#.##...###....#.....#..##.#...",
"#..#...#..#......#..........###",
"#...........#..#...#....#....#.",
"....#..#.......##......#......#",
"#...#.#...............##...#...",
"...##.#..##.......##..#........",
"...........##..........#.......",
"..#....#..##...#......#.#......",
".#.#....#.#.#...#.#............",
".#.#..#...##.......#.#.........",
"...#...#.............#.######..",
"##.#........###.......#....#.#.",
".#....#.....#.#........#......#",
"..#.#.........#..........##.#..",
".#....#.#..............#......#",
".....#..##.........#..##..#....",
"........#..#....#.......#.....#",
"#.#.......#.....#.##.#...#....#",
"...#...##...#....#.....#....#.#",
"#..##....#..........#..#.......",
".......#.#.....#...#.#.#.....##",
"#...#...#..#......##.#..#......",
"...#.......#....#...........#.#",
"##.......#####.#.........#..#..",
"....#.#...................##...",
"......#..##............#.......",
"#.........#....#####.#.#..#.#..",
"..#......#.#.##............#...",
"..#...#.....#.#....#......#....",
".#...#....#....#.#.#......#.#..",
"..#.##.....#..........#...#.#..",
".......#...#.............#...#.",
".#.........#.....#.#........##.",
"#....#..#..........##.......##.",
"...#....#.#.........#.......###",
"......#....#.#......#.......#..",
".....#...#...#.#...##..#.#.....",
"#.........##..#...##..#.#....#.",
"...#......#.#......##.....#....",
".#####.....#.#.#.#...###.##....",
"..#................#.#...#.#...",
"#.......##...#.........##..#...",
"..#.....#....##............#...",
"#............##...............#",
"..#..#.................#.......",
"...............#..#.......##...",
"..##..#....#...##..........#..#",
"#...###....##.#.......#.....#..",
"..........#.........#..#......#",
"##....#.....#...##.......#.....",
"..#..#.......#.................",
"..#..##......#.........#......#",
"...........##.#..#......#.#..#.",
"..#...##...##......#...#...#.#.",
".#..#.....#.........#..........",
"#..##...#............#..#.#....",
"..#...#...##.#........#....#.#.",
"......##..###.#....#........#..",
".....#..#....##...##..........#",
"................#.#.#.....#..#.",
"#.##...#......#.#..#.......###.",
".......#.#..#..#......#..##..#.",
".##...#...#....#....#.......#..",
"......#..#....#.#.###.....#.#.#",
"#....#.#...#......#.#.....#..#.",
".......#.#...#.#.#............#",
"#.....#..#...#.................",
".....#..........#..#.#..#.#....",
".........#......#.#.........###",
"..#.###........#....##.#.......",
".#.......#.#......#........#..#",
"............#........#.....#...",
"......#......#....#.#....#.....",
".#.......#.....#.##.#..#...#..#",
"##.....#...#..........##..#...#",
".#........#....#...#....##.#...",
"...#.#.......#.#....#.#...#...#",
"........#.#.....#.##...#.#.#...",
"...........#....#..#.........#.",
"......#.#..#..##...#.......#...",
"...#....#..#..#.##...........##",
".#..#.#.#......#....##...#.....",
"......#..#........#...##.......",
".............#...##.#.....#...#",
"....#...............##......#.#",
".#...........#.........###.##.#",
"....##........##...#.##.....#..",
"#......##........#...........#.",
"###.#.................#.....#..",
".....##..#.........#......##.#.",
"#.#.......##.#..#...#...#......",
"...#.#..##.....#....##.....#.#.",
"...##..#...#........#.#..#..#..",
"...........#....#...#...##.....",
"##.......#...#.#.##...##..#.#..",
"#....#.#..##...................",
".#...................#.#..#....",
"#.....#..........#..#...#...#..",
"...#..#............#.#.........",
"............#..##.....##......#",
"#....#.........#.#..#..........",
"...#.#................#....#.#.",
"..#..#...#...#.#.#...#.#.#.....",
"..#.......#.............##..#.#",
"#........#.#.###.#...#..#.###..",
".......#......#..#.....####...#",
"..##....#..#...................",
"....##.#....#......#.#..#..#..#",
"#...........##...#.#.##..###...",
"##.##......#...........#....#..",
".#....#....#..#..#...##...#....",
"...##.#.#......#...............",
".....##.##...#...........#.....",
"....#...#.#.........##.#....#.#",
"#..#...........#......#........",
"..#..#.....#....#.##.......#..#",
"..#.......##.....##.......#...#",
".#.##.#..#...............#....#",
".........#...........#.........",
"..........##......#.#..........",
"..#........###....#..#...#...#.",
"....#.#...#.....#..#....#......",
"..##...##...#..#..##......##..#",
"..#..#......#....#....#...#..##",
"...#...............#..#........",
"....##..#...#......#........#..",
"###.....##.......#.............",
".#.#.##........##..#...#.......",
".....###............#..#..#....",
".#....##.#...####........#.....",
"............#.#.....##....#.#..",
"....#..........#...#...........",
"........#.#...#..##...........#",
"#.......#..#.......###...#....#",
"#....#..#......#.....#...##.#..",
"..#.............#.#.###...##..#",
".#.#....#...#.....#...#.......#",
".##.#..#.........#..#......#...",
"#....#...#......#.....#.....#..",
"...........#....#.......##...#.",
"#.#..##....#....#.#.......#.#..",
"..............#.#..##.##.......",
"....#........#......#....#.#...",
"......#.....................#..",
"#..##...##.....#.........#.....",
"#.....#.....#....#...#.....#...",
"........###...........#...#....",
"............#.....#...##....#..",
".......#.......#...#.#...##....",
"..#.#..#....#...#...#....#.....",
"..........#.#....#....###....#.",
".##...#......###..#............",
"...#...#........#....#....##...",
"##.....#.##...#.#...........#.#",
"..........#.#....#...##.#...#..",
"..#....#.#...#...#....#.###....",
"......#.##..#..#.........#.###.",
"#.#.#.....#.....##.......#.....",
"...#..#..#....#.#....#....#....",
"##..#.#................#......#",
".....#...#..#......#..####.....",
".....##.....#....####......#...",
"..........##..###.#....#.....##",
"###...#.......#......##...#....",
".......##...#...#..#.##.#....##",
".....##.....##...##.....#..#..#",
"......#.#.....#...#....#...#...",
"..##........#...#..............",
"..#........#.##.........#...#..",
"#....#....#................#..."
)
$rightby=1
$pos=0
$downby=2
$trees=0
for($i=0;$i -le $map.count - 1; $i= $i + $downby){
$line = $map[$i]
if($pos -gt 30){
$pos=$pos-31
}
write-host $pos
write-host $line
if($line[$pos] -eq "#"){
write-host $line[$pos]
$trees++
}
$pos = $pos + $rightby
}
$trees

373
Advent Of Code Day 4.ps1 Normal file
View File

@ -0,0 +1,373 @@
$passports=@("`"eyr:2028`",`"iyr:2016`",`"byr:1995`",`"ecl:oth`",`"pid:543685203`",`"hcl:#c0946f`",`"hgt:152cm`",`"cid:252`",`"`"",
"`"hcl:#733820`",`"hgt:155cm`",`"iyr:2013`",`"byr:1989`",`"pid:728471979`",`"ecl:grn`",`"eyr:2022`",`"`"",
"`"hgt:171cm`",`"iyr:2013`",`"pid:214368857`",`"hcl:#cfa07d`",`"byr:1986`",`"eyr:2028`",`"ecl:grn`",`"`"",
"`"hgt:167cm`",`"cid:210`",`"ecl:brn`",`"pid:429131951`",`"hcl:#cfa07d`",`"eyr:2029`",`"iyr:2010`",`"byr:1945`",`"`"",
"`"hcl:#888785`",`"iyr:2015`",`"hgt:170cm`",`"pid:893805464`",`"ecl:amb`",`"byr:1966`",`"eyr:2028`",`"`"",
"`"hgt:170cm`",`"ecl:amb`",`"hcl:#c0946f`",`"eyr:2020`",`"iyr:2016`",`"pid:725010548`",`"byr:1928`",`"`"",
"`"byr:1999`",`"hcl:#888785`",`"eyr:2026`",`"ecl:hzl`",`"iyr:2016`",`"hgt:193cm`",`"pid:170608679`",`"`"",
"`"eyr:2024`",`"iyr:2016`",`"hcl:#cfa07d`",`"ecl:grn`",`"byr:2001`",`"pid:391942873`",`"cid:104`",`"hgt:164cm`",`"`"",
"`"iyr:2019`",`"eyr:2025`",`"pid:138912840`",`"byr:1996`",`"hgt:166cm`",`"hcl:#888785`",`"ecl:grn`",`"`"",
"`"iyr:2023`",`"hcl:a58381`",`"pid:#401a29`",`"eyr:1940`",`"byr:1920`",`"ecl:utc`",`"hgt:183cm`",`"`"",
"`"pid:493510244`",`"ecl:gry`",`"hgt:153cm`",`"byr:1950`",`"cid:181`",`"eyr:2028`",`"hcl:#ceb3a1`",`"iyr:2020`",`"`"",
"`"iyr:2018`",`"pid:074340974`",`"hgt:182cm`",`"hcl:#866857`",`"byr:1988`",`"ecl:hzl`",`"eyr:2023`",`"`"",
"`"hcl:#866857`",`"ecl:oth`",`"byr:1977`",`"iyr:2014`",`"hgt:180cm`",`"pid:860745884`",`"eyr:2023`",`"`"",
"`"eyr:2026`",`"pid:815594641`",`"ecl:gry`",`"iyr:2012`",`"byr:1992`",`"hgt:161cm`",`"hcl:#b6652a`",`"`"",
"`"ecl:gry`",`"cid:338`",`"eyr:2021`",`"pid:777099878`",`"hgt:193cm`",`"hcl:#efcc98`",`"byr:1945`",`"iyr:2015`",`"`"",
"`"iyr:2016`",`"byr:1934`",`"hcl:#b6652a`",`"hgt:162cm`",`"ecl:hzl`",`"cid:296`",`"pid:742610207`",`"eyr:2022`",`"`"",
"`"ecl:#ba3242`",`"hgt:80`",`"byr:1931`",`"pid:550004054`",`"iyr:1949`",`"eyr:1944`",`"hcl:fb3859`",`"`"",
"`"ecl:amb`",`"eyr:2024`",`"byr:1965`",`"iyr:2010`",`"pid:094059049`",`"hcl:#fffffd`",`"hgt:168cm`",`"`"",
"`"pid:159cm`",`"iyr:1923`",`"eyr:2032`",`"hcl:701107`",`"cid:343`",`"ecl:gmt`",`"byr:2010`",`"hgt:177cm`",`"`"",
"`"eyr:2021`",`"ecl:grn`",`"byr:1991`",`"hcl:#fffffd`",`"hgt:167cm`",`"pid:243218792`",`"iyr:2019`",`"`"",
"`"hgt:157cm`",`"byr:2017`",`"ecl:grn`",`"iyr:2012`",`"eyr:2030`",`"hcl:#18171d`",`"pid:173cm`",`"`"",
"`"pid:260101979`",`"hgt:187cm`",`"eyr:2033`",`"ecl:lzr`",`"byr:2020`",`"hcl:1058ce`",`"cid:133`",`"iyr:2012`",`"`"",
"`"hcl:#7d3b0c`",`"pid:307828343`",`"byr:2001`",`"cid:317`",`"iyr:2013`",`"eyr:2029`",`"`"",
"`"pid:472940417`",`"eyr:1960`",`"hgt:181cm`",`"hcl:#c0946f`",`"cid:269`",`"byr:2014`",`"iyr:1956`",`"`"",
"`"hcl:#18171d`",`"eyr:2021`",`"byr:2001`",`"pid:421443124`",`"ecl:brn`",`"iyr:2020`",`"hgt:156cm`",`"`"",
"`"cid:347`",`"hgt:60in`",`"pid:359783692`",`"byr:1932`",`"ecl:hzl`",`"eyr:2023`",`"hcl:#888785`",`"iyr:2019`",`"`"",
"`"pid:230915137`",`"byr:1999`",`"iyr:2011`",`"eyr:2020`",`"hcl:#7d3b0c`",`"ecl:hzl`",`"hgt:164cm`",`"`"",
"`"iyr:1989`",`"byr:2008`",`"hgt:154cm`",`"eyr:2028`",`"pid:280298169`",`"cid:208`",`"ecl:oth`",`"`"",
"`"byr:1954`",`"iyr:2017`",`"ecl:hzl`",`"eyr:2026`",`"pid:966957581`",`"hgt:175cm`",`"hcl:#18171d`",`"`"",
"`"pid:308053355`",`"hgt:192cm`",`"eyr:2022`",`"ecl:amb`",`"cid:146`",`"iyr:2015`",`"byr:1991`",`"hcl:#c0946f`",`"`"",
"`"hcl:#a97842`",`"pid:244441133`",`"iyr:2019`",`"hgt:182cm`",`"ecl:amb`",`"cid:172`",`"byr:1973`",`"eyr:2029`",`"`"",
"`"iyr:2017`",`"byr:1985`",`"cid:215`",`"ecl:blu`",`"hcl:#623a2f`",`"hgt:160cm`",`"pid:157856689`",`"eyr:2030`",`"`"",
"`"eyr:2027`",`"ecl:#d72f9b`",`"hgt:162cm`",`"iyr:2018`",`"hcl:#a97842`",`"byr:1945`",`"pid:131243258`",`"`"",
"`"hcl:#b3f2f0`",`"pid:204254353`",`"cid:169`",`"eyr:2020`",`"iyr:2013`",`"hgt:172cm`",`"ecl:blu`",`"byr:1950`",`"`"",
"`"byr:1957`",`"hcl:#c0946f`",`"hgt:152cm`",`"ecl:blu`",`"eyr:2027`",`"pid:325917033`",`"iyr:2010`",`"`"",
"`"ecl:oth`",`"byr:1950`",`"hgt:166cm`",`"pid:007352351`",`"hcl:#b6652a`",`"iyr:2020`",`"eyr:2024`",`"`"",
"`"hgt:165`",`"eyr:2030`",`"iyr:2027`",`"ecl:#1a34f1`",`"pid:2894591864`",`"byr:2024`",`"hcl:z`",`"`"",
"`"byr:1971`",`"ecl:oth`",`"hgt:163cm`",`"eyr:2021`",`"pid:040443396`",`"`"",
"`"hgt:177cm`",`"byr:1955`",`"pid:585735590`",`"iyr:2010`",`"ecl:grn`",`"eyr:2024`",`"hcl:#602927`",`"`"",
"`"cid:74`",`"iyr:2010`",`"pid:014378493`",`"hgt:174cm`",`"eyr:2020`",`"ecl:grn`",`"byr:1944`",`"`"",
"`"pid:404141049`",`"byr:1947`",`"ecl:blu`",`"hgt:170cm`",`"iyr:2011`",`"eyr:2028`",`"hcl:#cfa07d`",`"`"",
"`"ecl:hzl`",`"byr:1938`",`"pid:235085606`",`"cid:180`",`"hcl:8fb74c`",`"eyr:2021`",`"hgt:73`",`"iyr:2015`",`"`"",
"`"pid:860077423`",`"ecl:gry`",`"hcl:#3e845b`",`"hgt:167cm`",`"byr:1933`",`"iyr:2016`",`"eyr:2021`",`"`"",
"`"hcl:#733820`",`"hgt:66in`",`"eyr:1920`",`"ecl:oth`",`"byr:1941`",`"pid:979460474`",`"iyr:2010`",`"cid:247`",`"`"",
"`"hcl:#cfa07d`",`"ecl:#13bd36`",`"hgt:193cm`",`"eyr:2027`",`"pid:181cm`",`"byr:1952`",`"iyr:1951`",`"`"",
"`"ecl:brn`",`"hcl:#602927`",`"hgt:161cm`",`"eyr:2027`",`"pid:822749462`",`"byr:1946`",`"iyr:2014`",`"`"",
"`"byr:2013`",`"iyr:2021`",`"ecl:zzz`",`"eyr:2032`",`"hgt:193in`",`"hcl:#a97842`",`"pid:163cm`",`"`"",
"`"eyr:2029`",`"cid:140`",`"byr:1984`",`"iyr:2018`",`"hgt:187cm`",`"hcl:#b6652a`",`"pid:910674579`",`"`"",
"`"ecl:hzl`",`"hgt:173cm`",`"pid:096026282`",`"iyr:2014`",`"byr:1956`",`"eyr:2029`",`"hcl:#866857`",`"`"",
"`"eyr:2024`",`"iyr:2019`",`"pid:301205967`",`"cid:276`",`"byr:1957`",`"hcl:#3fec29`",`"ecl:gry`",`"hgt:165cm`",`"`"",
"`"iyr:2013`",`"ecl:oth`",`"hgt:177cm`",`"hcl:#6b5442`",`"eyr:2021`",`"byr:1962`",`"pid:006347857`",`"`"",
"`"ecl:grt`",`"byr:1983`",`"hcl:#cfa07d`",`"hgt:163cm`",`"eyr:1979`",`"iyr:1958`",`"pid:796395720`",`"`"",
"`"iyr:2011`",`"pid:415403544`",`"hcl:#c0946f`",`"byr:1990`",`"ecl:oth`",`"eyr:2023`",`"hgt:73in`",`"cid:107`",`"`"",
"`"hgt:166cm`",`"eyr:2029`",`"iyr:2015`",`"hcl:#c0946f`",`"ecl:brn`",`"byr:1964`",`"pid:469449137`",`"`"",
"`"eyr:2023`",`"byr:1969`",`"iyr:2010`",`"hgt:163cm`",`"hcl:#a97842`",`"pid:570942274`",`"ecl:blu`",`"`"",
"`"hcl:#623a2f`",`"ecl:brn`",`"hgt:183cm`",`"pid:524675399`",`"eyr:2020`",`"iyr:2012`",`"byr:1981`",`"`"",
"`"iyr:2017`",`"hcl:#fffffd`",`"eyr:2026`",`"ecl:gry`",`"byr:1979`",`"hgt:152cm`",`"pid:505790864`",`"`"",
"`"hgt:68in`",`"hcl:#c0946f`",`"iyr:2012`",`"eyr:2023`",`"pid:933562997`",`"byr:1993`",`"ecl:grn`",`"`"",
"`"pid:267705171`",`"hgt:166cm`",`"byr:1970`",`"iyr:2019`",`"hcl:#341e13`",`"ecl:oth`",`"eyr:2030`",`"`"",
"`"ecl:brn`",`"byr:1972`",`"eyr:2026`",`"pid:774637408`",`"hgt:189cm`",`"iyr:2015`",`"hcl:#341e13`",`"`"",
"`"hgt:175cm`",`"eyr:2026`",`"byr:2001`",`"iyr:2020`",`"hcl:#733820`",`"ecl:blu`",`"pid:686996160`",`"`"",
"`"hgt:190cm`",`"hcl:#c0946f`",`"pid:228444464`",`"byr:1987`",`"iyr:2020`",`"eyr:2030`",`"ecl:blu`",`"`"",
"`"byr:1990`",`"hgt:179cm`",`"pid:885359438`",`"eyr:2028`",`"iyr:2010`",`"ecl:amb`",`"hcl:#67067e`",`"`"",
"`"byr:1945`",`"hcl:#866857`",`"eyr:2022`",`"iyr:2019`",`"pid:708146656`",`"cid:65`",`"hgt:172cm`",`"ecl:brn`",`"`"",
"`"ecl:hzl`",`"hgt:191cm`",`"cid:260`",`"pid:010716679`",`"iyr:2011`",`"eyr:2029`",`"byr:1920`",`"hcl:#efcc98`",`"`"",
"`"iyr:2012`",`"cid:313`",`"pid:264894705`",`"byr:1951`",`"hcl:#733820`",`"eyr:2030`",`"ecl:blu`",`"hgt:178cm`",`"`"",
"`"eyr:2027`",`"pid:790510379`",`"iyr:2013`",`"ecl:amb`",`"hgt:186cm`",`"hcl:#866857`",`"byr:1926`",`"`"",
"`"pid:535750794`",`"hgt:191cm`",`"iyr:2016`",`"hcl:#a97842`",`"eyr:2029`",`"ecl:hzl`",`"byr:1923`",`"`"",
"`"byr:2023`",`"pid:#eb4c2a`",`"iyr:1939`",`"ecl:grn`",`"hcl:06d729`",`"hgt:73`",`"eyr:2038`",`"`"",
"`"pid:792365221`",`"iyr:2013`",`"ecl:oth`",`"byr:1997`",`"hgt:170cm`",`"hcl:#efcc98`",`"eyr:2022`",`"`"",
"`"hgt:192cm`",`"pid:874141668`",`"byr:1957`",`"iyr:2015`",`"ecl:gry`",`"`"",
"`"hcl:#b6652a`",`"pid:770238761`",`"eyr:2029`",`"byr:1934`",`"iyr:2013`",`"ecl:blu`",`"cid:177`",`"hgt:184cm`",`"`"",
"`"ecl:hzl`",`"eyr:2024`",`"hgt:72in`",`"pid:546439165`",`"iyr:2013`",`"hcl:#c0946f`",`"cid:223`",`"byr:1989`",`"`"",
"`"byr:1985`",`"ecl:utc`",`"pid:#ff1cbf`",`"iyr:2018`",`"hcl:#866857`",`"hgt:169cm`",`"eyr:2026`",`"cid:194`",`"`"",
"`"hgt:189cm`",`"eyr:2026`",`"pid:120642045`",`"ecl:blu`",`"hcl:#602927`",`"cid:177`",`"byr:1954`",`"iyr:2012`",`"`"",
"`"pid:314624973`",`"byr:1959`",`"iyr:2015`",`"hcl:#c0946f`",`"ecl:grn`",`"eyr:2027`",`"cid:349`",`"hgt:156cm`",`"`"",
"`"byr:1978`",`"iyr:2020`",`"hgt:150cm`",`"cid:266`",`"eyr:2026`",`"pid:443912835`",`"hcl:#b6652a`",`"`"",
"`"hgt:174cm`",`"byr:1974`",`"pid:729198828`",`"ecl:brn`",`"iyr:2014`",`"hcl:#18171d`",`"eyr:2027`",`"`"",
"`"pid:472891001`",`"ecl:xry`",`"hgt:96`",`"hcl:1b816a`",`"iyr:1954`",`"byr:2015`",`"eyr:2037`",`"`"",
"`"byr:1966`",`"eyr:2022`",`"iyr:2014`",`"pid:848187688`",`"hcl:#602927`",`"ecl:gry`",`"hgt:152cm`",`"`"",
"`"hgt:129`",`"eyr:2037`",`"cid:61`",`"iyr:2009`",`"byr:2027`",`"hcl:#c0946f`",`"pid:3569865`",`"ecl:#4e3d72`",`"`"",
"`"ecl:gry`",`"eyr:2021`",`"pid:234525998`",`"byr:1964`",`"hgt:168cm`",`"cid:140`",`"hcl:#7d3b0c`",`"iyr:2013`",`"`"",
"`"ecl:xry`",`"cid:86`",`"hgt:172in`",`"byr:1972`",`"iyr:2015`",`"hcl:#7d3b0c`",`"pid:833809421`",`"eyr:2030`",`"`"",
"`"pid:444365280`",`"hgt:72in`",`"ecl:brn`",`"hcl:#b6652a`",`"byr:1985`",`"eyr:2027`",`"iyr:2012`",`"`"",
"`"iyr:2010`",`"byr:2013`",`"hgt:181cm`",`"eyr:2021`",`"pid:072317444`",`"ecl:oth`",`"hcl:#866857`",`"cid:118`",`"`"",
"`"pid:4354408888`",`"iyr:2012`",`"hcl:#b6652a`",`"cid:104`",`"hgt:96`",`"eyr:2020`",`"byr:1933`",`"ecl:amb`",`"`"",
"`"eyr:2023`",`"ecl:gry`",`"hcl:#a97842`",`"pid:287719484`",`"byr:1994`",`"iyr:2011`",`"hgt:163cm`",`"cid:299`",`"`"",
"`"byr:1932`",`"hgt:170cm`",`"iyr:2014`",`"pid:777844412`",`"eyr:2040`",`"hcl:#cfa07d`",`"ecl:brn`",`"`"",
"`"cid:160`",`"hgt:191cm`",`"eyr:2020`",`"iyr:2012`",`"ecl:brn`",`"byr:1981`",`"pid:077027782`",`"`"",
"`"cid:182`",`"hgt:176cm`",`"hcl:#7d3b0c`",`"eyr:2030`",`"ecl:blu`",`"pid:096742425`",`"iyr:2010`",`"byr:1963`",`"`"",
"`"byr:2010`",`"cid:337`",`"hcl:z`",`"pid:525126586`",`"iyr:2010`",`"hgt:73cm`",`"eyr:2040`",`"ecl:blu`",`"`"",
"`"ecl:gry`",`"iyr:2017`",`"hgt:185cm`",`"hcl:#6b5442`",`"byr:1993`",`"eyr:2029`",`"pid:366083139`",`"cid:343`",`"`"",
"`"eyr:2028`",`"ecl:amb`",`"pid:878658841`",`"byr:1960`",`"hgt:179cm`",`"hcl:#18171d`",`"iyr:2010`",`"`"",
"`"pid:537309261`",`"iyr:2015`",`"hgt:187cm`",`"hcl:#4fe831`",`"eyr:2026`",`"ecl:blu`",`"byr:1982`",`"`"",
"`"ecl:brn`",`"hgt:163cm`",`"eyr:2021`",`"hcl:#6b5442`",`"byr:1979`",`"iyr:2013`",`"pid:924759517`",`"`"",
"`"pid:683651053`",`"hcl:#179c55`",`"ecl:blu`",`"byr:1989`",`"hgt:190cm`",`"iyr:2016`",`"eyr:2030`",`"`"",
"`"ecl:grn`",`"iyr:2016`",`"hcl:#b6652a`",`"byr:1994`",`"eyr:2020`",`"pid:448424292`",`"hgt:174cm`",`"`"",
"`"hgt:157cm`",`"ecl:grn`",`"byr:2000`",`"pid:734707993`",`"hcl:#341e13`",`"iyr:2020`",`"`"",
"`"hcl:#341e13`",`"hgt:156cm`",`"iyr:2020`",`"pid:299213638`",`"byr:1947`",`"ecl:hzl`",`"eyr:2023`",`"`"",
"`"hgt:193cm`",`"hcl:#b6652a`",`"iyr:2014`",`"ecl:hzl`",`"byr:1947`",`"eyr:2025`",`"pid:044486467`",`"`"",
"`"byr:1975`",`"hgt:159cm`",`"ecl:grn`",`"pid:318489576`",`"eyr:2029`",`"hcl:#6b5442`",`"iyr:2020`",`"`"",
"`"iyr:2018`",`"pid:512971930`",`"hcl:#888785`",`"byr:1966`",`"eyr:2024`",`"hgt:158cm`",`"cid:100`",`"ecl:gry`",`"`"",
"`"ecl:amb`",`"eyr:2030`",`"hgt:171cm`",`"hcl:#efcc98`",`"pid:800921581`",`"cid:339`",`"byr:1980`",`"iyr:2017`",`"`"",
"`"iyr:2019`",`"cid:172`",`"hgt:152cm`",`"eyr:2022`",`"ecl:oth`",`"hcl:#602927`",`"byr:1960`",`"`"",
"`"iyr:2019`",`"pid:762312913`",`"eyr:2029`",`"ecl:hzl`",`"hcl:#6b5442`",`"byr:1940`",`"hgt:169cm`",`"cid:289`",`"`"",
"`"eyr:2022`",`"ecl:gry`",`"byr:1976`",`"iyr:2020`",`"hcl:#733820`",`"hgt:172cm`",`"pid:040331561`",`"`"",
"`"hgt:171cm`",`"ecl:brn`",`"iyr:2013`",`"eyr:2027`",`"byr:1940`",`"hcl:#a6e32a`",`"pid:223986941`",`"`"",
"`"hcl:#341e13`",`"eyr:2028`",`"ecl:amb`",`"byr:1942`",`"hgt:166cm`",`"pid:435382099`",`"iyr:2020`",`"`"",
"`"cid:298`",`"pid:641326891`",`"hgt:155cm`",`"hcl:#623a2f`",`"ecl:grn`",`"byr:1981`",`"eyr:2025`",`"iyr:2010`",`"`"",
"`"iyr:2015`",`"pid:472000322`",`"eyr:2021`",`"byr:1977`",`"ecl:gry`",`"hgt:165cm`",`"cid:270`",`"`"",
"`"eyr:2027`",`"byr:1956`",`"pid:193087729`",`"hcl:#ceb3a1`",`"cid:213`",`"hgt:193cm`",`"ecl:oth`",`"`"",
"`"iyr:2014`",`"byr:1971`",`"cid:96`",`"hgt:74in`",`"pid:136003336`",`"eyr:2020`",`"ecl:hzl`",`"hcl:#efcc98`",`"`"",
"`"hcl:z`",`"pid:097595072`",`"ecl:amb`",`"iyr:2015`",`"byr:2021`",`"eyr:2039`",`"hgt:188cm`",`"`"",
"`"pid:74823273`",`"hcl:#341e13`",`"cid:166`",`"hgt:182cm`",`"byr:2026`",`"iyr:2027`",`"ecl:amb`",`"eyr:2032`",`"`"",
"`"byr:1932`",`"eyr:2022`",`"pid:367248062`",`"hgt:182cm`",`"ecl:oth`",`"hcl:#c0946f`",`"iyr:2020`",`"`"",
"`"hgt:72cm`",`"iyr:2015`",`"cid:234`",`"byr:2013`",`"ecl:brn`",`"pid:9401866358`",`"`"",
"`"pid:022399779`",`"iyr:2010`",`"byr:1969`",`"hcl:#6b5442`",`"ecl:grn`",`"eyr:2020`",`"hgt:189cm`",`"`"",
"`"byr:1971`",`"iyr:2011`",`"cid:161`",`"ecl:brn`",`"hgt:153cm`",`"eyr:2028`",`"pid:819137905`",`"hcl:#cfa07d`",`"`"",
"`"cid:161`",`"hgt:159cm`",`"iyr:2011`",`"pid:815860793`",`"hcl:#a97842`",`"ecl:grn`",`"byr:1972`",`"eyr:2027`",`"`"",
"`"ecl:amb`",`"hgt:118`",`"byr:1981`",`"iyr:2019`",`"hcl:#a97842`",`"eyr:2021`",`"pid:270790642`",`"`"",
"`"hcl:#b6652a`",`"pid:732272914`",`"eyr:2030`",`"hgt:183cm`",`"ecl:hzl`",`"byr:1934`",`"iyr:2018`",`"`"",
"`"eyr:2027`",`"pid:877388498`",`"hcl:#ceb3a1`",`"byr:1925`",`"cid:236`",`"ecl:grn`",`"iyr:2019`",`"hgt:191cm`",`"`"",
"`"eyr:2020`",`"ecl:brn`",`"hcl:#fffffd`",`"hgt:181cm`",`"pid:801311341`",`"byr:1986`",`"iyr:2010`",`"`"",
"`"byr:1925`",`"cid:179`",`"ecl:hzl`",`"pid:360641953`",`"eyr:2030`",`"hgt:171in`",`"iyr:2015`",`"hcl:#602927`",`"`"",
"`"cid:83`",`"hgt:181cm`",`"eyr:2028`",`"byr:1941`",`"pid:165937945`",`"hcl:#888785`",`"iyr:2014`",`"ecl:grn`",`"`"",
"`"hcl:#a97842`",`"byr:1928`",`"iyr:2013`",`"pid:870072019`",`"hgt:76in`",`"ecl:oth`",`"cid:127`",`"eyr:2026`",`"`"",
"`"cid:169`",`"hgt:187cm`",`"pid:008180128`",`"iyr:2013`",`"byr:1991`",`"hcl:#7d3b0c`",`"ecl:hzl`",`"eyr:2026`",`"`"",
"`"ecl:amb`",`"eyr:2027`",`"hgt:155cm`",`"pid:586151564`",`"iyr:2010`",`"byr:1949`",`"hcl:#18171d`",`"`"",
"`"hgt:167cm`",`"iyr:2010`",`"byr:1982`",`"ecl:amb`",`"cid:235`",`"pid:557737957`",`"eyr:2020`",`"hcl:#ceb3a1`",`"`"",
"`"ecl:grn`",`"byr:1939`",`"hcl:#733820`",`"eyr:2026`",`"pid:993218958`",`"iyr:2010`",`"hgt:150cm`",`"`"",
"`"hgt:68in`",`"ecl:blu`",`"byr:1965`",`"iyr:2017`",`"pid:854858050`",`"eyr:2021`",`"`"",
"`"ecl:gry`",`"pid:347763159`",`"eyr:2024`",`"iyr:2017`",`"byr:1961`",`"hgt:151cm`",`"hcl:#623a2f`",`"`"",
"`"ecl:utc`",`"hcl:#602927`",`"pid:#1408ff`",`"byr:1941`",`"cid:82`",`"iyr:2015`",`"hgt:185cm`",`"eyr:2028`",`"`"",
"`"iyr:2020`",`"hgt:151cm`",`"eyr:2025`",`"byr:1934`",`"hcl:#888785`",`"pid:396545094`",`"ecl:oth`",`"`"",
"`"hgt:153cm`",`"eyr:2028`",`"hcl:#733820`",`"ecl:gry`",`"iyr:2019`",`"pid:081352630`",`"byr:1943`",`"`"",
"`"eyr:2030`",`"iyr:2011`",`"ecl:grn`",`"pid:313741119`",`"hgt:161cm`",`"byr:1946`",`"hcl:#a97842`",`"`"",
"`"byr:1968`",`"ecl:gry`",`"pid:742357550`",`"eyr:2024`",`"hcl:#18171d`",`"iyr:2018`",`"hgt:157cm`",`"`"",
"`"pid:387505919`",`"ecl:oth`",`"byr:1945`",`"iyr:2014`",`"hgt:190cm`",`"hcl:#888785`",`"eyr:2028`",`"`"",
"`"iyr:2017`",`"hgt:175cm`",`"byr:1989`",`"eyr:2022`",`"hcl:#b6652a`",`"pid:499016802`",`"ecl:gry`",`"cid:136`",`"`"",
"`"pid:490807331`",`"iyr:2016`",`"hcl:#ceb3a1`",`"hgt:150cm`",`"eyr:2026`",`"ecl:amb`",`"byr:1967`",`"`"",
"`"iyr:2011`",`"hgt:155in`",`"hcl:#ceb3a1`",`"pid:118497416`",`"eyr:2029`",`"byr:2011`",`"ecl:oth`",`"`"",
"`"hcl:03a888`",`"byr:2029`",`"ecl:#6f7292`",`"eyr:1969`",`"iyr:2028`",`"hgt:162cm`",`"pid:73551266`",`"`"",
"`"iyr:2016`",`"hgt:182cm`",`"byr:1966`",`"ecl:grn`",`"eyr:2022`",`"hcl:#fffffd`",`"pid:061720787`",`"`"",
"`"byr:1971`",`"hcl:z`",`"eyr:2035`",`"pid:158cm`",`"ecl:#d3ec19`",`"`"",
"`"hcl:#623a2f`",`"hgt:156cm`",`"eyr:2028`",`"ecl:brn`",`"iyr:2013`",`"byr:1980`",`"pid:112283719`",`"`"",
"`"eyr:2020`",`"byr:1956`",`"iyr:2013`",`"hcl:#6b5442`",`"ecl:grn`",`"pid:876589775`",`"hgt:179cm`",`"`"",
"`"hgt:138`",`"byr:2013`",`"eyr:2040`",`"iyr:2028`",`"cid:197`",`"ecl:#8844fd`",`"pid:8524414485`",`"hcl:z`",`"`"",
"`"eyr:2040`",`"hgt:173in`",`"hcl:z`",`"pid:#654654`",`"byr:2016`",`"iyr:2022`",`"ecl:#452d22`",`"`"",
"`"iyr:2012`",`"cid:265`",`"eyr:2021`",`"hgt:192cm`",`"byr:1993`",`"ecl:brn`",`"`"",
"`"eyr:2026`",`"hcl:#888785`",`"hgt:158cm`",`"byr:1942`",`"iyr:2015`",`"ecl:amb`",`"pid:546984106`",`"`"",
"`"iyr:2019`",`"ecl:hzl`",`"byr:1922`",`"eyr:2028`",`"hgt:172cm`",`"pid:465052232`",`"hcl:#602927`",`"`"",
"`"pid:710362693`",`"eyr:2023`",`"hcl:#c0946f`",`"byr:1951`",`"ecl:grn`",`"iyr:2019`",`"hgt:190cm`",`"`"",
"`"iyr:2024`",`"pid:#a08e69`",`"hcl:z`",`"byr:1966`",`"ecl:#7b9978`",`"eyr:2035`",`"hgt:69cm`",`"`"",
"`"hcl:#efcc98`",`"pid:164cm`",`"iyr:2010`",`"cid:194`",`"hgt:71cm`",`"byr:1923`",`"eyr:2026`",`"`"",
"`"hgt:65in`",`"iyr:2019`",`"byr:1969`",`"pid:466669360`",`"eyr:2022`",`"ecl:brn`",`"hcl:#b6652a`",`"`"",
"`"pid:42472559`",`"hcl:#6f5763`",`"eyr:2035`",`"iyr:2014`",`"hgt:154in`",`"byr:1939`",`"ecl:grt`",`"cid:323`",`"`"",
"`"pid:715680334`",`"hgt:166cm`",`"cid:283`",`"byr:1982`",`"iyr:2015`",`"eyr:2030`",`"hcl:#ceb3a1`",`"ecl:grn`",`"`"",
"`"eyr:2018`",`"iyr:2029`",`"ecl:brn`",`"byr:2022`",`"pid:#ff6df1`",`"hcl:z`",`"hgt:68cm`",`"`"",
"`"pid:094541122`",`"eyr:2024`",`"byr:1940`",`"ecl:amb`",`"iyr:2019`",`"hgt:64in`",`"hcl:#733820`",`"`"",
"`"hgt:163in`",`"eyr:2022`",`"ecl:utc`",`"hcl:#ceb3a1`",`"iyr:2028`",`"`"",
"`"ecl:gry`",`"pid:53552934`",`"hgt:193`",`"byr:2021`",`"eyr:2028`",`"iyr:2011`",`"cid:98`",`"hcl:90c63f`",`"`"",
"`"eyr:2024`",`"hcl:#cfa07d`",`"ecl:brn`",`"iyr:2019`",`"byr:1993`",`"hgt:156cm`",`"pid:449484188`",`"`"",
"`"iyr:2020`",`"hgt:164cm`",`"hcl:#623a2f`",`"pid:820731743`",`"eyr:2025`",`"byr:1997`",`"ecl:hzl`",`"`"",
"`"hcl:47242b`",`"ecl:utc`",`"hgt:156`",`"pid:#9a9903`",`"eyr:2030`",`"iyr:1990`",`"byr:2011`",`"`"",
"`"hcl:#602927`",`"hgt:189cm`",`"pid:949021883`",`"iyr:2014`",`"ecl:oth`",`"cid:327`",`"eyr:2027`",`"byr:1953`",`"`"",
"`"hgt:189cm`",`"cid:301`",`"byr:1982`",`"ecl:grn`",`"eyr:2028`",`"hcl:#733820`",`"pid:796040143`",`"iyr:2015`",`"`"",
"`"cid:169`",`"iyr:2013`",`"pid:355177646`",`"byr:1988`",`"ecl:oth`",`"hcl:#cfa07d`",`"hgt:185cm`",`"eyr:2022`",`"`"",
"`"pid:563150261`",`"eyr:2020`",`"ecl:brn`",`"byr:1996`",`"hcl:#7d3b0c`",`"iyr:2018`",`"hgt:189cm`",`"cid:84`",`"`"",
"`"cid:188`",`"eyr:2027`",`"byr:1944`",`"pid:486184923`",`"iyr:2010`",`"hgt:193cm`",`"hcl:#341e13`",`"ecl:oth`",`"`"",
"`"iyr:2019`",`"byr:1969`",`"hgt:152cm`",`"pid:430698432`",`"ecl:gry`",`"hcl:#888785`",`"eyr:2026`",`"cid:293`",`"`"",
"`"ecl:gry`",`"cid:270`",`"hcl:#602927`",`"iyr:2017`",`"hgt:151cm`",`"eyr:2029`",`"pid:051398739`",`"byr:1954`",`"`"",
"`"ecl:oth`",`"eyr:2030`",`"pid:024655030`",`"hgt:184cm`",`"byr:1969`",`"hcl:#18171d`",`"`"",
"`"eyr:2030`",`"pid:899973263`",`"hgt:178cm`",`"byr:1987`",`"hcl:#cfa07d`",`"iyr:2012`",`"ecl:amb`",`"`"",
"`"iyr:1958`",`"hgt:165cm`",`"pid:377677319`",`"ecl:grt`",`"eyr:2032`",`"byr:2025`",`"hcl:bbfbe2`",`"`"",
"`"ecl:blu`",`"iyr:2016`",`"hgt:152cm`",`"byr:1964`",`"hcl:#c4f777`",`"eyr:2021`",`"pid:044307549`",`"cid:80`",`"`"",
"`"ecl:brn`",`"pid:330836320`",`"byr:1963`",`"cid:217`",`"hgt:169cm`",`"eyr:2024`",`"iyr:2019`",`"hcl:#ceb3a1`",`"`"",
"`"byr:1976`",`"eyr:2027`",`"pid:452662874`",`"hgt:192cm`",`"ecl:oth`",`"iyr:2018`",`"hcl:#602927`",`"`"",
"`"eyr:2027`",`"hgt:183cm`",`"ecl:brn`",`"iyr:2017`",`"hcl:#341e13`",`"pid:827463598`",`"`"",
"`"ecl:brn`",`"pid:930667228`",`"cid:310`",`"iyr:2020`",`"eyr:2027`",`"hgt:160cm`",`"byr:1932`",`"hcl:#c0946f`",`"`"",
"`"pid:955804028`",`"byr:1983`",`"hcl:#fffffd`",`"hgt:178cm`",`"iyr:2013`",`"eyr:2021`",`"ecl:gry`",`"`"",
"`"hgt:189cm`",`"eyr:2021`",`"pid:430243363`",`"iyr:2015`",`"hcl:#ceb3a1`",`"byr:2000`",`"ecl:oth`",`"cid:284`",`"`"",
"`"pid:436671537`",`"hcl:#cfa07d`",`"iyr:2011`",`"cid:106`",`"hgt:171cm`",`"ecl:blu`",`"eyr:2021`",`"byr:1943`",`"`"",
"`"eyr:2028`",`"hgt:169cm`",`"iyr:2015`",`"pid:177443573`",`"byr:1945`",`"hcl:#c0946f`",`"ecl:gry`",`"`"",
"`"hcl:#fffffd`",`"byr:1995`",`"eyr:2021`",`"ecl:grn`",`"hgt:192cm`",`"iyr:2010`",`"pid:754912745`",`"`"",
"`"pid:330882171`",`"iyr:2015`",`"cid:211`",`"ecl:grn`",`"byr:1961`",`"eyr:2021`",`"hcl:z`",`"hgt:169cm`",`"`"",
"`"byr:1926`",`"eyr:2029`",`"pid:178633665`",`"cid:141`",`"iyr:2017`",`"hcl:#b99eb9`",`"hgt:178cm`",`"ecl:brn`",`"`"",
"`"eyr:2022`",`"ecl:hzl`",`"hcl:#cfa07d`",`"hgt:168cm`",`"iyr:2015`",`"byr:1982`",`"pid:645675448`",`"`"",
"`"ecl:blu`",`"byr:1980`",`"hgt:186cm`",`"iyr:2010`",`"cid:94`",`"hcl:#c0946f`",`"eyr:2027`",`"pid:384440210`",`"`"",
"`"cid:309`",`"hcl:#602927`",`"hgt:192cm`",`"eyr:2027`",`"ecl:amb`",`"pid:527932745`",`"iyr:2012`",`"byr:1982`",`"`"",
"`"cid:132`",`"ecl:blu`",`"iyr:2016`",`"eyr:2027`",`"byr:1940`",`"hcl:#341e13`",`"hgt:166cm`",`"pid:613386501`",`"`"",
"`"pid:360563823`",`"eyr:2028`",`"byr:1990`",`"iyr:2016`",`"ecl:blu`",`"cid:287`",`"hgt:162cm`",`"hcl:#888785`",`"`"",
"`"hgt:161cm`",`"byr:2002`",`"hcl:#623a2f`",`"pid:535361632`",`"ecl:gry`",`"eyr:2021`",`"iyr:2013`",`"`"",
"`"hgt:67in`",`"byr:1967`",`"cid:333`",`"hcl:#cfa07d`",`"iyr:2012`",`"eyr:2024`",`"ecl:hzl`",`"pid:538161833`",`"`"",
"`"ecl:#2bc145`",`"eyr:1963`",`"iyr:2030`",`"cid:241`",`"hcl:2fc384`",`"hgt:156in`",`"pid:2899917140`",`"byr:2005`",`"`"",
"`"eyr:2021`",`"pid:021590229`",`"ecl:gry`",`"hgt:164cm`",`"iyr:2013`",`"hcl:#efcc98`",`"byr:1985`",`"`"",
"`"ecl:hzl`",`"byr:1943`",`"cid:279`",`"pid:979130395`",`"iyr:2011`",`"hgt:165cm`",`"eyr:2021`",`"hcl:#f331b3`",`"`"",
"`"hgt:161cm`",`"hcl:#888785`",`"byr:1981`",`"pid:835477382`",`"eyr:2025`",`"iyr:2012`",`"cid:348`",`"ecl:blu`",`"`"",
"`"hgt:159cm`",`"hcl:b4ce6a`",`"cid:319`",`"eyr:2035`",`"iyr:1965`",`"ecl:oth`",`"byr:2010`",`"pid:158cm`",`"`"",
"`"iyr:2020`",`"eyr:2026`",`"ecl:grn`",`"hcl:#a97842`",`"pid:126915503`",`"hgt:178cm`",`"byr:1986`",`"`"",
"`"hgt:184cm`",`"ecl:hzl`",`"cid:67`",`"iyr:2020`",`"eyr:2026`",`"pid:168775568`",`"byr:1944`",`"hcl:#a97842`",`"`"",
"`"hcl:#fffffd`",`"iyr:2016`",`"pid:379463363`",`"ecl:oth`",`"hgt:179cm`",`"byr:1988`",`"eyr:2028`",`"`"",
"`"hcl:#cfa07d`",`"ecl:amb`",`"eyr:2030`",`"pid:320360020`",`"iyr:2016`",`"hgt:172cm`",`"byr:1961`",`"`"",
"`"cid:221`",`"hcl:#cfa07d`",`"byr:1946`",`"eyr:2024`",`"ecl:oth`",`"pid:066950409`",`"hgt:173cm`",`"iyr:2020`",`"`"",
"`"hcl:#602927`",`"eyr:2028`",`"ecl:gry`",`"iyr:2019`",`"pid:583204134`",`"byr:1966`",`"hgt:178cm`",`"`"",
"`"byr:1930`",`"iyr:2020`",`"ecl:hzl`",`"hcl:#ceb3a1`",`"pid:285751767`",`"cid:287`",`"eyr:2023`",`"hgt:192cm`",`"`"",
"`"eyr:2024`",`"ecl:hzl`",`"cid:87`",`"iyr:2015`",`"hgt:152cm`",`"hcl:#18171d`",`"pid:959574669`",`"byr:1990`",`"`"",
"`"pid:45938863`",`"hcl:49c7ce`",`"cid:349`",`"hgt:181cm`",`"eyr:2023`",`"ecl:grn`",`"iyr:2015`",`"byr:1948`",`"`"",
"`"hcl:#866857`",`"iyr:2012`",`"ecl:amb`",`"cid:132`",`"byr:1955`",`"hgt:162cm`",`"pid:597748286`",`"eyr:2023`",`"`"",
"`"pid:293364535`",`"byr:2024`",`"hgt:177cm`",`"eyr:2039`",`"iyr:2020`",`"hcl:#dae928`",`"ecl:hzl`",`"`"",
"`"pid:212659709`",`"iyr:2018`",`"hgt:188cm`",`"hcl:#efcc98`",`"byr:1974`",`"eyr:2029`",`"ecl:oth`",`"cid:244`",`"`"",
"`"cid:140`",`"ecl:amb`",`"eyr:2022`",`"hgt:181cm`",`"hcl:#efcc98`",`"byr:1943`",`"iyr:2016`",`"`"",
"`"cid:71`",`"hgt:151cm`",`"pid:5063555219`",`"eyr:2023`",`"ecl:hzl`",`"byr:2019`",`"hcl:#7d3b0c`",`"iyr:2023`",`"`"",
"`"hgt:157in`",`"pid:#298b06`",`"iyr:2030`",`"ecl:#66a631`",`"eyr:2035`",`"hcl:z`",`"byr:2019`",`"`"",
"`"hgt:190cm`",`"iyr:1943`",`"pid:644021656`",`"hcl:#6b621c`",`"ecl:oth`",`"eyr:2021`",`"byr:1923`",`"`"",
"`"ecl:hzl`",`"iyr:2012`",`"eyr:2023`",`"pid:881271720`",`"hcl:#ceb3a1`",`"hgt:172cm`",`"byr:1957`",`"`"",
"`"iyr:2017`",`"hcl:#888785`",`"ecl:amb`",`"hgt:170cm`",`"byr:1967`",`"pid:198856675`",`"eyr:2027`",`"`"",
"`"eyr:2026`",`"ecl:gry`",`"pid:834980363`",`"hcl:#733820`",`"byr:1930`",`"hgt:175cm`",`"iyr:2018`",`"cid:214`",`"`"",
"`"hcl:#efcc98`",`"eyr:2029`",`"iyr:2010`",`"pid:980087545`",`"ecl:brn`",`"hgt:157cm`",`"`"",
"`"pid:57513658`",`"iyr:2011`",`"byr:1993`",`"ecl:brn`",`"eyr:2027`",`"hcl:#6b5442`",`"hgt:165cm`",`"`"",
"`"ecl:hzl`",`"eyr:2025`",`"hcl:#733820`",`"hgt:169cm`",`"iyr:2018`",`"cid:328`",`"byr:1999`",`"pid:694719489`",`"`"",
"`"eyr:2023`",`"cid:125`",`"byr:1925`",`"hgt:185cm`",`"pid:806769540`",`"iyr:2013`",`"ecl:hzl`",`"hcl:#866857`",`"`"",
"`"iyr:2010`",`"cid:225`",`"ecl:hzl`",`"eyr:2027`",`"pid:615545523`",`"hcl:#733820`",`"byr:1994`",`"hgt:166cm`",`"`"",
"`"byr:1941`",`"ecl:gry`",`"iyr:2019`",`"eyr:2026`",`"hgt:73cm`",`"hcl:#602927`",`"pid:352996721`",`"`"",
"`"pid:140250433`",`"eyr:2030`",`"ecl:grn`",`"hcl:#fffffd`",`"iyr:2011`",`"byr:1937`",`"hgt:185cm`",`"`"",
"`"ecl:gry`",`"byr:2002`",`"iyr:2017`",`"hcl:#b6652a`",`"cid:261`",`"pid:178cm`",`"eyr:2022`",`"hgt:166cm`",`"`"",
"`"ecl:grn`",`"iyr:2010`",`"eyr:2022`",`"byr:1924`",`"pid:214641920`",`"hcl:#ceb3a1`",`"hgt:155cm`",`"`"",
"`"hcl:z`",`"pid:150cm`",`"ecl:utc`",`"iyr:1981`",`"eyr:2034`",`"hgt:156in`",`"cid:260`",`"byr:2027`",`"`"",
"`"byr:1987`",`"hgt:66in`",`"eyr:2021`",`"pid:876757018`",`"iyr:2015`",`"hcl:d596e4`",`"ecl:hzl`",`"`"",
"`"cid:116`",`"ecl:oth`",`"hgt:180cm`",`"iyr:2020`",`"byr:1942`",`"hcl:#2fc31f`",`"eyr:2027`",`"pid:253569416`",`"`"",
"`"pid:509387921`",`"eyr:2022`",`"hcl:#888785`",`"ecl:oth`",`"hgt:193cm`",`"iyr:2012`",`"cid:97`",`"byr:1975`",`"`"",
"`"hcl:#18171d`",`"hgt:190cm`",`"pid:062827417`",`"byr:1939`",`"iyr:2019`",`"eyr:2022`",`"ecl:hzl`",`"`"",
"`"iyr:2025`",`"byr:2028`",`"hgt:165in`",`"eyr:2027`",`"pid:6259332452`",`"hcl:#478251`",`"`"",
"`"iyr:2018`",`"eyr:2026`",`"pid:523863237`",`"hgt:187cm`",`"ecl:oth`",`"byr:1944`",`"hcl:#a97842`",`"`"",
"`"hgt:181cm`",`"hcl:#733820`",`"pid:923996316`",`"cid:110`",`"iyr:2011`",`"byr:1949`",`"ecl:blu`",`"eyr:2023`",`"`"",
"`"pid:304792392`",`"hcl:487823`",`"eyr:2020`",`"hgt:70cm`",`"byr:2024`",`"iyr:1953`",`"ecl:blu`",`"`"",
"`"pid:142200694`",`"ecl:oth`",`"hcl:#888785`",`"eyr:2028`",`"hgt:152cm`",`"byr:1954`",`"iyr:2018`",`"`"",
"`"ecl:utc`",`"iyr:2015`",`"byr:1932`",`"hcl:#623a2f`",`"eyr:2027`",`"hgt:183cm`",`"pid:036300444`",`"`"",
"`"iyr:2014`",`"ecl:hzl`",`"byr:1935`",`"hgt:190cm`",`"hcl:#efcc98`",`"pid:945893288`",`"eyr:2025`",`"`"",
"`"hcl:#efcc98`",`"pid:252639104`",`"hgt:188cm`",`"byr:1998`",`"iyr:2019`",`"ecl:grn`",`"eyr:2023`",`"`"",
"`"hcl:58aa4a`",`"byr:1930`",`"hgt:193cm`",`"iyr:1998`",`"cid:196`",`"ecl:brn`",`"eyr:2032`",`"`"",
"`"iyr:2015`",`"ecl:hzl`",`"hgt:193cm`",`"pid:653794674`",`"eyr:2024`",`"hcl:#fffffd`",`"byr:1921`",`"`"",
"`"pid:980680460`",`"byr:1962`",`"ecl:blu`",`"iyr:2013`",`"hcl:#72cace`",`"eyr:2030`",`"hgt:180cm`",`"`"",
"`"eyr:2025`",`"hgt:182cm`",`"hcl:#ceb3a1`",`"iyr:2010`",`"byr:1945`",`"cid:314`",`"pid:597769706`",`"ecl:amb`",`"`"",
"`"pid:761757504`",`"hcl:#888785`",`"hgt:161cm`",`"iyr:2015`",`"byr:1939`",`"eyr:2025`",`"cid:326`",`"ecl:blu`",`"`"",
"`"ecl:gry`",`"hgt:163cm`",`"byr:1981`",`"pid:330818500`",`"iyr:2017`",`"eyr:2024`",`"cid:71`",`"hcl:#888785`",`"`"",
"`"pid:190cm`",`"cid:267`",`"iyr:2015`",`"ecl:brn`",`"hcl:869252`",`"byr:1935`",`"hgt:142`",`"eyr:2033`",`"`"",
"`"cid:239`",`"eyr:2038`",`"ecl:lzr`",`"hcl:z`",`"iyr:1987`",`"pid:4632768239`",`"hgt:162in`",`"`"",
"`"pid:158038227`",`"ecl:brn`",`"byr:1995`",`"eyr:2028`",`"hcl:#efcc98`",`"cid:252`",`"iyr:2021`",`"hgt:184cm`",`"`"",
"`"eyr:2027`",`"cid:124`",`"ecl:amb`",`"hgt:165cm`",`"byr:1949`",`"pid:727126101`",`"iyr:2010`",`"hcl:#602927`",`"`"",
"`"ecl:grn`",`"byr:1966`",`"pid:184245393`",`"hgt:164cm`",`"eyr:2022`",`"iyr:2014`",`"hcl:#866857`",`"`"",
"`"cid:62`",`"hgt:180cm`",`"eyr:2027`",`"hcl:#18171d`",`"iyr:2017`",`"ecl:blu`",`"byr:1942`",`"pid:930210027`",`"`"",
"`"ecl:grn`",`"hgt:171cm`",`"iyr:2017`",`"hcl:#fffffd`",`"eyr:2029`",`"byr:1946`",`"pid:863414762`",`"cid:95`",`"`"",
"`"eyr:2025`",`"ecl:grn`",`"iyr:2019`",`"cid:226`",`"hcl:#b6652a`",`"byr:1932`",`"pid:715708549`",`"hgt:156cm`",`"`"",
"`"pid:505158338`",`"iyr:2019`",`"byr:1981`",`"hgt:193cm`",`"hcl:#696a5c`",`"cid:57`",`"ecl:hzl`",`"eyr:2023`",`"`"",
"`"byr:1987`",`"hgt:155cm`",`"cid:99`",`"ecl:grn`",`"iyr:2010`",`"hcl:#c0946f`",`"eyr:2023`",`"pid:431067921`",`"`"",
"`"hgt:190in`",`"hcl:z`",`"eyr:2029`",`"pid:74228790`",`"iyr:2016`",`"byr:2018`",`"ecl:brn`",`"`"",
"`"eyr:2022`",`"ecl:xry`",`"hgt:154cm`",`"pid:62205162`",`"iyr:2014`",`"byr:1936`",`"cid:61`",`"`"",
"`"ecl:amb`",`"eyr:2026`",`"byr:1966`",`"cid:95`",`"hcl:#733820`",`"pid:957767251`",`"iyr:2013`",`"hgt:157cm`",`"`"",
"`"byr:1969`",`"hgt:156cm`",`"iyr:2013`",`"ecl:blu`",`"hcl:#a97842`",`"cid:183`",`"pid:960672229`",`"eyr:2020`",`"`"",
"`"iyr:2013`",`"cid:243`",`"eyr:2028`",`"hgt:192cm`",`"hcl:#efcc98`",`"ecl:grn`",`"pid:222407433`",`"byr:1978`",`"`"",
"`"iyr:2014`",`"byr:1935`",`"eyr:2021`",`"cid:235`",`"pid:#1b34e1`",`"hcl:#89313f`",`"hgt:164cm`",`"ecl:blu`",`"`"",
"`"ecl:hzl`",`"iyr:2016`",`"cid:327`",`"byr:1923`",`"pid:695935353`",`"hgt:184cm`",`"hcl:#a97842`",`"eyr:2028`",`"`"",
"`"pid:6010745668`",`"byr:1934`",`"ecl:oth`",`"eyr:2020`",`"hgt:164cm`",`"hcl:#733820`",`"iyr:2016`",`"`"",
"`"ecl:blu`",`"pid:071991002`",`"eyr:2021`",`"byr:1978`",`"cid:321`",`"hcl:#efcc98`",`"iyr:2013`",`"hgt:68in`",`"`"",
"`"ecl:grn`",`"iyr:2015`",`"pid:137792524`",`"cid:156`",`"hcl:#efcc98`",`"eyr:2029`",`"byr:1955`",`"hgt:165cm`",`"`"",
"`"byr:1949`",`"hgt:176cm`",`"pid:531868428`",`"hcl:#cfa07d`",`"ecl:brn`",`"iyr:2014`",`"eyr:2024`",`"`"",
"`"iyr:1955`",`"cid:108`",`"pid:712137140`",`"byr:2019`",`"eyr:2040`",`"hgt:184cm`",`"hcl:220cfe`",`"ecl:#551592`",`"`"",
"`"iyr:2016`",`"eyr:2030`",`"hgt:177cm`",`"cid:137`",`"ecl:brn`",`"hcl:#efcc98`",`"pid:712202745`",`"byr:1938`",`"`"",
"`"pid:357180007`",`"iyr:2010`",`"ecl:grn`",`"byr:1991`",`"hcl:#341e13`",`"eyr:2020`",`"hgt:159cm`",`"`"",
"`"eyr:2023`",`"ecl:grn`",`"hcl:#733820`",`"iyr:2020`",`"byr:1927`",`"hgt:151cm`",`"pid:165936826`",`"`"",
"`"ecl:gry`",`"pid:794227261`",`"iyr:2014`",`"eyr:2030`",`"hcl:#18171d`",`"byr:1994`",`"hgt:162cm`",`"`"",
"`"iyr:2017`",`"eyr:2024`",`"hcl:#7d3b0c`",`"cid:279`",`"ecl:gry`",`"byr:1981`",`"hgt:176cm`",`"pid:973822115`",`"`"",
"`"eyr:2029`",`"hgt:152cm`",`"hcl:#fffffd`",`"ecl:amb`",`"byr:1946`",`"iyr:2013`",`"cid:62`",`"pid:005240023`",`"`"",
"`"iyr:2010`",`"ecl:amb`",`"hcl:#341e13`",`"hgt:184cm`",`"eyr:2027`",`"pid:976217816`",`"byr:1950`",`"`"",
"`"ecl:grn`",`"hgt:178cm`",`"cid:192`",`"hcl:#602927`",`"pid:684333017`",`"eyr:2022`",`"iyr:2011`",`"byr:1987`",`"`"",
"`"pid:306960973`",`"ecl:hzl`",`"hgt:168cm`",`"byr:1954`",`"iyr:2015`",`"eyr:2029`",`"hcl:#602927`",`"`"",
"`"hcl:#18171d`",`"byr:1973`",`"ecl:hzl`",`"hgt:174cm`",`"pid:922891164`",`"iyr:2013`",`"eyr:2023`",`"`"",
"`"byr:1998`",`"hgt:189cm`",`"pid:472066200`",`"ecl:gry`",`"iyr:2012`",`"eyr:2021`",`"hcl:#c0946f`",`"cid:299`",`"`"",
"`"iyr:2014`",`"eyr:2028`",`"byr:1922`",`"pid:594856217`",`"hgt:158cm`",`"ecl:oth`",`"hcl:#623a2f`",`"`"",
"`"pid:215206381`",`"byr:1928`",`"hgt:163cm`",`"hcl:#b6652a`",`"ecl:oth`",`"iyr:2011`",`"`"",
"`"cid:145`",`"iyr:2013`",`"ecl:#38a290`",`"eyr:2034`",`"hcl:#602927`",`"hgt:186cm`",`"pid:517498756`",`"byr:1945`",`"`"",
"`"hcl:#5637d2`",`"eyr:2030`",`"byr:1955`",`"hgt:187cm`",`"pid:862655087`",`"iyr:2014`",`"ecl:grn`",`"`"",
"`"hcl:#7d3b0c`",`"hgt:176cm`",`"iyr:2019`",`"eyr:2029`",`"byr:1980`",`"ecl:hzl`",`"cid:346`",`"pid:703908707`",`"`"",
"`"hgt:185cm`",`"iyr:2017`",`"cid:120`",`"eyr:2020`",`"hcl:#733820`",`"ecl:blu`",`"pid:458522542`",`"byr:1966`",`"`"",
"`"pid:#725759`",`"hcl:#602927`",`"iyr:2013`",`"byr:2003`",`"eyr:2023`",`"cid:100`"")
#$passports=@("`"hgt:193cm`",`"hcl:#b6652a`",`"iyr:2014`",`"ecl:hzl`",`"byr:1947`",`"eyr:2025`",`"pid:044486467`",`"`"")
$pphash=@{}
foreach($passport in $passports){
$data = $passport -split "," -replace "`"",""
$birthyear=""
$issueyear=""
$expirationyear=""
$height=""
$haircolor=""
$eyecolor=""
$passportid=""
$countryid=""
$pp=@{}
foreach($item in $data){
switch -wildcard ($item) {
"byr*" {
$birthyear = ($item -split ":")[1]
$pp.add("BirthYear",$birthyear)
}
"iyr*" {
$issueyear = ($item -split ":")[1]
$pp.add("IssueYear",$issueyear)
}
"eyr*" {
$expirationyear = ($item -split ":")[1]
$pp.add("ExpirationYear",$expirationyear)
}
"hgt*" {
$height = ($item -split ":")[1]
$pp.add("Height",$height)
}
"hcl*" {
$haircolor = ($item -split ":")[1]
$pp.add("HairColor",$haircolor)
}
"ecl*" {
$eyecolor = ($item -split ":")[1]
$pp.add("EyeColor",$eyecolor)
}
"pid*" {
$passportid = ($item -split ":")[1]
$pp.add("PassportID",$passportid)
}
"cid*" {
$countryid = ($item -split ":")[1]
$pp.add("CountryID",$countryid)
}
Default {}
}
}
$pphash.add((new-guid).guid,$pp)
#write-host "$birthyear $issueyear $expirationyear $height $haircolor $eyecolor $passportid $countryid"
}
$validpassports=0
foreach($passport in $pphash.keys){
if(($pphash[$passport].count -eq 8) -or (($pphash[$passport].count -eq 7) -and ($null -eq $pphash[$passport].CountryID))){
if(
(($pphash[$passport].BirthYear -ge 1920) -and ($pphash[$passport].BirthYear -le 2002)) -and
(($pphash[$passport].IssueYear -ge 2010) -and ($pphash[$passport].IssueYear -le 2020)) -and
(($pphash[$passport].ExpirationYear -ge 2020) -and ($pphash[$passport].ExpirationYear -le 2030)) -and
((($pphash[$passport].Height -match '\d+cm' ) -and (($pphash[$passport].Height -replace "cm","") -ge 150) -and (($pphash[$passport].Height -replace "cm","") -le 193)) -or
(($pphash[$passport].Height -match '\d+in' ) -and (($pphash[$passport].Height -replace "in","") -ge 59) -and (($pphash[$passport].Height -replace "in","") -le 76))) -and
(($pphash[$passport].HairColor -match '#[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]')) -and
(("amb","blu","brn","gry","grn","hzl","oth").contains($pphash[$passport].eyecolor)) -and
(($pphash[$passport].PassportID.Length -eq 9))
){
write-host "VALID"
$validpassports++
} else {
write-host @"
--------------------------------
BirthYear: $($pphash[$passport].BirthYear)
IssueYear: $($pphash[$passport].IssueYear)
ExpirationYear: $($pphash[$passport].ExpirationYear)
Height: $($pphash[$passport].Height)
Hair Color: $($pphash[$passport].HairColor)
Eye Color: $($pphash[$passport].EyeColor)
PassportID $($pphash[$passport].PassportID)
PassportIDLen $($pphash[$passport].PassportID.length)
"@
write-host "NOT VALID"
}
}
}
write-host "Valid : $validpassports"

833
Advent Of Code Day 5.ps1 Normal file
View File

@ -0,0 +1,833 @@
$list=@("BFBBBFBLRR",
"BBFFFFFLRR",
"BFBFBFFRLR",
"FBBBBFFLLL",
"BFBBBBFRRL",
"FFBFFBFRLR",
"FFFBFBBRRL",
"FBFBBFBLRL",
"FBFFFBFLLR",
"FFBBFBBLLL",
"FBFBBFFRLL",
"FFBFFBFLRL",
"FFBFBFFRRR",
"BFFFFBBLRR",
"FFBFFBFRRL",
"FFBFBF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FFRRR",
"BFFBFFFLLR",
"FFFBBFFLRL",
"FFFBBBFLLR",
"BFFFBFFLRL",
"FBBBBFBLLR",
"FFBFBFBLRR",
"BFBBFBFLLL",
"BFFBBFFRLR",
"BFBBBBFLLR",
"FFFFBBFLRR",
"BFBFBBFLRL",
"BBFFFBFLRR",
"BFBBFBBRLR",
"FBFBFFBLRL",
"FFFBBFFLRR",
"FFBBFFFRRR",
"BFFBBBBLLR",
"BBFFFFBLRL",
"FBFFBBFLLL",
"FFFFBBFLLR",
"FBBBFBFRRL",
"FFBFFBBLRL",
"BFBBFFBLLR",
"BFBFFFFLLR",
"BFBBBBBRLR",
"BFBBFBFRLL",
"BFFBFFFLLL",
"FFBFFFFLLL",
"BFBFFBFLLL",
"FBBFFFFLRL",
"BFBBBBBLLR",
"BFFBBFBLRR",
"BFFFBFBLRL",
"FBBBFFFRLL",
"FBBFBFBRRL",
"FBFFFFFRRL")
#$list=@("FBFFFFFRRL")
$rows=@(0..127)
$seatnums=@(0..7)
$seats=@{}
foreach($seat in $list){
$myrows=$rows
$myseatnums=$seatnums
$rowinfo=$seat.Substring(0,8)
$seatinfo=$seat.Substring(7,3)
$columntouse=""
$rowtouse=""
foreach($letter in $rowinfo.ToCharArray()){
switch ($letter){
"F"{
if($myrows.count -gt 2){
$myrows = $myrows[0..$(($myrows.count /2)-1)]
} else {
$rowtouse = $myrows[0]
}
};
"B"{
if($myrows.count -gt 2){
$myrows = $myrows[$($myrows.count /2)..$myrows.count]
} else {
$rowtouse = $myrows[1]
}
};
default{};
}
}
foreach($letter in $seatinfo.ToCharArray()){
$seatinfo
switch ($letter){
"L"{
if($myseatnums.count -gt 2){
$myseatnums = $myseatnums[0..$(($myseatnums.count /2)-1)]
} else {
$columntouse = $myseatnums[0]
}
};
"R"{
if($myseatnums.count -gt 2){
$myseatnums = $myseatnums[$($myseatnums.count /2) .. $myseatnums.count];
write-host $columntouse
} else {
$columntouse = $myseatnums[1]
write-host $columntouse
}
}
}
$myseatnums.count
}
$seats.Add(
(($rowtouse*8)+$columntouse),@{
Seatinfo=$seat
Row=$rowtouse;
Column=$columntouse;
SeatID=($rowtouse*8)+$columntouse;
}
)
<#
write-host @"
Seat: $($seat)
Row: $($rowtouse)
Column: $($columntouse)
SeatID: $(($rowtouse*8)+$columntouse)
"@
#>
}
#$seats

View File

@ -0,0 +1,23 @@
$input=get-content "aocd6input.txt" -Raw
$mydata = $input -split "(\r?\n){2}"
$mysum=0
foreach($form in $mydata){
$mygroup=@{}
if($form -eq "`n"){
continue
}
foreach($person in ($form -split "(\r?\n)")){
if($person -eq "`n"){
continue
} else {
foreach($char in $person.ToCharArray()){
$mygroup[$char]=1
}
}
}
$mytotal = $mygroup.keys|%{$mygroup[$_]} | measure-object -Sum|Select-Object -ExpandProperty SUm
write-host $mytotal
$mysum+=[int]$mytotal
}
write-host "FINAL: $mysum"

View File

@ -0,0 +1,39 @@
$input=get-content "aocd6input.txt" -Raw
$mydata = $input -split "(\r?\n){2}"
$mysum=0
foreach($form in $mydata){
$group=$form.split("`n")
$mygroup=@{}
if($form -eq "`n"){
continue
}
$emptycount = 0
foreach($person in $group){
if($person.length -eq 0){
$emptycount++
continue
} else {
foreach($char in $person.ToCharArray()){
if(-not($mygroup[$char])){
$mygroup[$char]=1
} else {
$mygroup[$char]= $mygroup[$char]+1
}
}
}
}
$mytotal = $mygroup.keys|ForEach-Object {$mygroup[$_]|where-object {[int]$_ -eq ([int]$group.count - [int]$emptycount)}}
$mysum+=$mytotal.count
write-host @"
Count of group: $($group.count)
Empty Count: $($emptycount)
Tallys: $($mygroup.keys|ForEach-Object {$mygroup[$_]})
MyTotal: $mytotal
MySum: $mysum
MyCount: $($mytotal.count)
Group Answers: $group
"@
}
write-host "FINAL: $mysum"

23
Advent Of Code Day 6.ps1 Normal file
View File

@ -0,0 +1,23 @@
$input=get-content "aocd6input.txt" -Raw
$mydata = $input -split "(\r?\n){2}"
$mysum=0
foreach($form in $mydata){
$mygroup=@{}
if($form -eq "`n"){
continue
}
foreach($person in ($form -split "(\r?\n)")){
if($person -eq "`n"){
continue
} else {
foreach($char in $person.ToCharArray()){
$mygroup[$char]=1
}
}
}
$mytotal = $mygroup.keys|%{$mygroup[$_]} | measure-object -Sum|Select-Object -ExpandProperty SUm
write-host $mytotal
$mysum+=[int]$mytotal
}
write-host "FINAL: $mysum"

View File

@ -0,0 +1,33 @@
$inputdata = (get-content -Raw .\aocd7input.txt) -split "`n"
$colorrules=@{}
foreach($rule in $inputdata){
if($rule -eq ""){
continue
} else {
$rule = $rule -replace "bags", ""
$rule = $rule -replace "bag", ""
$outerbag, $innerbags = $rule -split " contain ", 2
$innerbagsrule= $innerbags-split ","
$outerbag=$outerbag.trim() -replace '[^a-zA-Z]',""
$colorrules[$outerbag]=@{}
foreach($myrule in $innerbagsrule){
$count, $color = $myrule.trim() -split " ",2
$color = $color.trim() -replace '[^a-zA-Z]',""
#write-host "Color:$color-Count:$count"
$colorrules[$outerbag].add($color,$count)
}
}
}
$options =0
function get-outerbagoptions(){
param (
$BagColor
)
foreach($myrule in $colorrules.keys){
if($colorrules[$myrule]."$bagcolor"){
get-outerbagoptions -BagColor $myrule
$myrule
}
}
}
get-outerbagoptions -bagcolor "shinygold"|select-object -Unique|Measure-Object

View File

@ -0,0 +1,41 @@
$inputdata = (get-content -Raw .\aocd7input.txt) -split "`n"
$colorrules=@{}
foreach($rule in $inputdata){
if($rule -eq ""){
continue
} else {
$rule = $rule -replace "bags", ""
$rule = $rule -replace "bag", ""
$outerbag, $innerbags = $rule -split " contain ", 2
$innerbagsrule= $innerbags-split ","
$outerbag=$outerbag.trim() -replace '[^a-zA-Z]',""
$colorrules[$outerbag]=@{}
foreach($myrule in $innerbagsrule){
$count, $color = $myrule.trim() -split " ",2
$color = $color.trim() -replace '[^a-zA-Z]',""
#write-host "Color:$color-Count:$count"
$colorrules[$outerbag].add($color,$count)
}
}
}
function get-innerbags(){
param(
$BagColor
)
if($bagcolor -eq "other"){return 1} else {
$directbags = $colorrules.$BagColor.values |?{$_ -ne "no"}|measure-object -sum|select-object -ExpandProperty Sum
foreach($bag in $colorrules.$BagColor.keys){
$numofbag = $colorrules.$BagColor.$bag
if($numofbag -eq "no"){
} else {
for($i=0; $i -lt $numofbag;$i++){
get-innerbags -BagColor $bag
}
$numofbag
}
}
}
}
get-innerbags -BagColor "shinygold" | measure-object -Sum

33
Advent Of Code Day 7.ps1 Normal file
View File

@ -0,0 +1,33 @@
$inputdata = (get-content -Raw .\aocd7input.txt) -split "`n"
$colorrules=@{}
foreach($rule in $inputdata){
if($rule -eq ""){
continue
} else {
$rule = $rule -replace "bags", ""
$rule = $rule -replace "bag", ""
$outerbag, $innerbags = $rule -split " contain ", 2
$innerbagsrule= $innerbags-split ","
$outerbag=$outerbag.trim() -replace '[^a-zA-Z]',""
$colorrules[$outerbag]=@{}
foreach($myrule in $innerbagsrule){
$count, $color = $myrule.trim() -split " ",2
$color = $color.trim() -replace '[^a-zA-Z]',""
#write-host "Color:$color-Count:$count"
$colorrules[$outerbag].add($color,$count)
}
}
}
$options =0
function get-outerbagoptions(){
param (
$BagColor
)
foreach($myrule in $colorrules.keys){
if($colorrules[$myrule]."$bagcolor"){
get-outerbagoptions -BagColor $myrule
$myrule
}
}
}
get-outerbagoptions -bagcolor "shinygold"

View File

@ -0,0 +1,46 @@
$inputdata = get-content .\aocd8input.txt
#had to change input line 164 from jmp to nop to have it exit successfully. it was the 5th from last line ran
function run-scenario(){
param(
$myinputdata
)
$accumulator=0
$currentline=0
$ranlines=@{}
$a=1
do{
if($currentline -ge $myinputdata.count){
write-host "Exiting Gracefully"
"Exiting Gracefully $accumulator"
break
}
if($ranlines[$currentline]){
write-host "LOOP: EXITING: $accumulator"
$a=0
"ERROR LOOP EXIT $ACCUMULATOR"
break
}
write-host "InputData Index number $currentline, File line number $($currentline+1), instruction: $($myinputdata[$currentline])"
$ranlines[$currentline]=1
$command, $linenum = $inputdata[$currentline] -split " "
if($command -eq 'nop'){
$currentline += 1
}elseif($command -eq 'acc'){
#write-host "Accumulator $linenum"
if($linenum -like '+*'){
$accumulator += $linenum -replace "\+"
} elseif($linenum -like "-*"){
$accumulator -= $linenum -replace "\-"
}
$currentline += 1
}elseif($command -eq 'jmp'){
# write-host "Jumping $linenum"
if($linenum -like '+*'){
$currentline += $linenum -replace "\+"
} elseif($linenum -like "-*"){
$currentline -= $linenum -replace "\-"
}
}
}while($a -eq 1)
}
run-scenario -myinputdata $inputdata

2197
aocd6input.txt Normal file

File diff suppressed because it is too large Load Diff

594
aocd7input.txt Normal file
View File

@ -0,0 +1,594 @@
light chartreuse bags contain 1 mirrored yellow bag, 2 vibrant violet bags.
dotted silver bags contain 2 dotted orange bags, 3 bright fuchsia bags, 5 bright tomato bags, 3 faded turquoise bags.
plaid indigo bags contain 1 pale violet bag, 4 mirrored violet bags.
faded turquoise bags contain 5 faded lavender bags.
striped yellow bags contain 5 vibrant black bags, 1 mirrored gold bag.
dull tan bags contain 1 vibrant aqua bag.
striped brown bags contain 1 vibrant orange bag, 1 posh bronze bag, 4 dim purple bags.
bright teal bags contain 3 muted cyan bags, 2 drab white bags, 1 drab gray bag.
wavy tan bags contain 4 wavy tomato bags, 1 dim tan bag.
light lavender bags contain 1 dotted black bag, 1 wavy maroon bag, 5 pale white bags, 1 clear tan bag.
dull orange bags contain 5 bright brown bags, 1 muted gold bag, 4 vibrant black bags, 4 posh bronze bags.
posh cyan bags contain 2 mirrored tomato bags, 5 light salmon bags, 1 faded brown bag, 4 vibrant red bags.
dark lavender bags contain 2 faded purple bags.
dark white bags contain 5 muted green bags.
striped olive bags contain 1 muted chartreuse bag.
bright crimson bags contain 3 drab salmon bags, 1 faded plum bag, 4 shiny brown bags, 5 pale orange bags.
dark tomato bags contain 5 dim aqua bags.
light olive bags contain 2 drab blue bags, 1 plaid purple bag.
muted gray bags contain 1 mirrored plum bag.
bright salmon bags contain 3 striped plum bags, 1 dull silver bag, 4 striped indigo bags, 4 striped cyan bags.
wavy gold bags contain 3 drab tomato bags, 5 pale gold bags, 1 plaid tan bag, 5 vibrant gold bags.
muted fuchsia bags contain 3 vibrant plum bags, 1 clear chartreuse bag, 1 pale white bag.
light purple bags contain 5 vibrant olive bags, 4 bright maroon bags, 3 posh tomato bags.
vibrant gray bags contain 5 shiny silver bags.
vibrant beige bags contain 2 pale crimson bags, 5 pale olive bags, 4 posh yellow bags, 3 dotted orange bags.
drab beige bags contain 3 faded gold bags, 5 mirrored fuchsia bags.
light white bags contain 1 vibrant fuchsia bag, 3 posh tomato bags, 4 muted chartreuse bags.
posh lavender bags contain 3 dim fuchsia bags, 2 light violet bags, 3 wavy aqua bags, 5 vibrant lime bags.
vibrant fuchsia bags contain 2 wavy tomato bags, 3 plaid purple bags.
bright fuchsia bags contain 1 faded tomato bag, 4 bright salmon bags, 2 bright red bags.
dim bronze bags contain 5 drab blue bags.
wavy brown bags contain 3 dotted crimson bags.
striped plum bags contain 1 bright tomato bag.
posh coral bags contain 1 mirrored gray bag, 1 posh silver bag.
wavy teal bags contain 5 dark bronze bags.
posh crimson bags contain 3 bright tomato bags, 3 wavy violet bags, 1 striped olive bag.
dark beige bags contain 2 drab turquoise bags.
dull green bags contain 2 vibrant purple bags, 5 dark red bags.
wavy violet bags contain 5 faded lavender bags, 2 faded turquoise bags, 4 shiny brown bags.
wavy crimson bags contain 3 muted lavender bags.
light maroon bags contain 1 bright magenta bag, 5 dim yellow bags, 1 faded violet bag.
muted white bags contain 4 muted purple bags, 2 plaid gray bags, 2 vibrant maroon bags.
striped silver bags contain 4 shiny red bags, 5 vibrant coral bags.
clear chartreuse bags contain 3 pale gold bags.
posh silver bags contain 3 vibrant aqua bags, 5 muted coral bags, 4 drab crimson bags, 4 clear tan bags.
plaid green bags contain 1 striped lavender bag, 2 dim fuchsia bags, 5 vibrant black bags.
muted turquoise bags contain 3 faded green bags, 1 striped silver bag.
faded blue bags contain 3 pale crimson bags.
dull magenta bags contain 2 striped brown bags, 4 posh black bags, 4 dark teal bags.
dotted white bags contain 3 dotted magenta bags, 2 bright lavender bags, 5 drab crimson bags, 5 drab silver bags.
shiny orange bags contain 4 pale violet bags.
vibrant blue bags contain 2 clear yellow bags, 1 muted beige bag.
dull blue bags contain 3 pale violet bags, 3 dotted orange bags.
bright olive bags contain 4 dotted teal bags, 3 dotted violet bags.
faded gray bags contain 3 bright maroon bags, 2 shiny crimson bags, 2 plaid lavender bags.
clear tomato bags contain 1 vibrant white bag, 4 bright gold bags, 3 vibrant chartreuse bags, 1 posh violet bag.
bright indigo bags contain 3 wavy gold bags, 1 vibrant indigo bag, 1 mirrored chartreuse bag.
clear indigo bags contain 1 plaid gray bag, 3 faded gold bags, 2 clear beige bags.
dotted crimson bags contain 2 pale gold bags, 2 vibrant salmon bags, 5 posh maroon bags.
drab red bags contain 3 vibrant chartreuse bags, 5 wavy beige bags, 2 pale olive bags, 2 clear white bags.
clear black bags contain 3 faded chartreuse bags, 2 striped brown bags, 4 wavy crimson bags, 3 pale tomato bags.
shiny bronze bags contain 4 dark tan bags.
posh indigo bags contain 1 clear plum bag, 2 dotted red bags, 1 dull crimson bag, 4 dotted bronze bags.
dark cyan bags contain 3 plaid tan bags, 5 dim bronze bags.
shiny chartreuse bags contain 4 dark tomato bags, 2 striped salmon bags.
dim brown bags contain 1 pale olive bag, 4 posh tomato bags.
faded green bags contain 2 drab violet bags, 5 vibrant gray bags.
dull salmon bags contain 5 muted coral bags, 2 muted brown bags, 2 striped coral bags, 5 dark white bags.
wavy white bags contain 5 muted lime bags, 5 striped purple bags.
dim aqua bags contain 2 striped beige bags, 3 striped silver bags, 1 bright cyan bag, 5 clear blue bags.
dim salmon bags contain 5 mirrored lime bags, 1 vibrant plum bag, 5 mirrored fuchsia bags, 1 shiny gold bag.
dotted fuchsia bags contain 4 striped indigo bags, 4 wavy coral bags.
faded tan bags contain 5 dotted gold bags.
drab white bags contain 3 posh violet bags.
muted teal bags contain 4 dotted purple bags, 5 dark maroon bags, 3 dotted magenta bags, 1 pale beige bag.
dark magenta bags contain 3 posh red bags.
shiny cyan bags contain 3 dull red bags, 1 light coral bag.
plaid blue bags contain 3 shiny gold bags, 3 dull salmon bags, 4 vibrant silver bags, 4 light salmon bags.
dim orange bags contain 5 vibrant salmon bags, 2 dotted teal bags.
vibrant bronze bags contain 5 striped blue bags, 2 clear magenta bags.
faded olive bags contain 2 muted beige bags, 3 wavy beige bags.
dotted lime bags contain 2 mirrored tan bags.
dark silver bags contain 5 vibrant plum bags, 4 shiny gold bags, 3 light crimson bags, 2 dark cyan bags.
mirrored orange bags contain 5 shiny blue bags, 4 faded olive bags, 3 posh gold bags.
clear magenta bags contain 4 pale olive bags.
wavy blue bags contain 4 light gray bags.
pale maroon bags contain 1 dim aqua bag, 3 dotted fuchsia bags, 1 clear brown bag, 1 drab turquoise bag.
muted purple bags contain no other bags.
vibrant plum bags contain 5 wavy beige bags.
mirrored gray bags contain 3 dull plum bags, 5 pale blue bags.
striped lavender bags contain 3 wavy tomato bags, 1 striped tan bag, 5 posh silver bags.
dark violet bags contain 1 muted olive bag, 3 drab crimson bags.
bright tomato bags contain 4 pale violet bags.
posh white bags contain 5 clear white bags, 2 striped plum bags, 1 drab crimson bag, 5 wavy beige bags.
striped bronze bags contain 3 shiny teal bags, 5 bright lavender bags, 5 dark beige bags.
clear beige bags contain 2 mirrored magenta bags, 4 muted olive bags, 4 mirrored violet bags.
striped teal bags contain 5 mirrored cyan bags, 3 posh crimson bags, 4 vibrant tan bags.
bright blue bags contain 2 faded indigo bags, 4 wavy green bags.
striped orange bags contain 4 vibrant coral bags, 5 faded lavender bags, 2 vibrant maroon bags, 2 plaid cyan bags.
dim yellow bags contain 5 pale violet bags, 4 muted plum bags, 5 pale coral bags, 4 pale yellow bags.
dark bronze bags contain 5 posh gray bags.
wavy purple bags contain 5 faded tomato bags, 4 striped green bags, 1 striped tan bag, 5 dotted fuchsia bags.
light fuchsia bags contain 5 shiny lime bags, 1 dotted teal bag, 2 muted brown bags.
muted orange bags contain 3 striped chartreuse bags, 4 dim salmon bags, 2 pale indigo bags.
dotted green bags contain 5 dotted maroon bags, 4 vibrant beige bags, 3 striped beige bags.
wavy gray bags contain 2 mirrored fuchsia bags, 2 mirrored chartreuse bags, 3 mirrored blue bags.
dotted yellow bags contain 4 light tomato bags, 3 dull indigo bags.
light aqua bags contain 2 shiny brown bags, 2 bright coral bags.
muted cyan bags contain 5 faded olive bags, 5 pale white bags, 4 plaid tan bags.
pale tan bags contain 4 bright cyan bags.
vibrant magenta bags contain 3 light magenta bags.
light turquoise bags contain 3 dim bronze bags, 3 faded olive bags, 1 light orange bag, 2 shiny green bags.
light bronze bags contain 2 vibrant black bags, 2 clear indigo bags.
vibrant purple bags contain 3 bright red bags, 3 vibrant violet bags.
vibrant red bags contain 4 mirrored fuchsia bags, 1 drab tomato bag.
mirrored crimson bags contain 1 posh purple bag, 3 dotted magenta bags.
wavy olive bags contain 3 dark fuchsia bags.
pale beige bags contain 5 striped coral bags, 1 shiny violet bag.
posh teal bags contain 5 dull violet bags, 2 drab gold bags, 5 muted chartreuse bags, 1 drab turquoise bag.
faded tomato bags contain 5 mirrored salmon bags, 3 wavy coral bags.
muted salmon bags contain 4 vibrant gray bags.
dim lavender bags contain 4 clear lavender bags, 5 dotted coral bags.
shiny yellow bags contain 3 dim purple bags.
light tan bags contain 5 vibrant plum bags, 3 dim tomato bags.
shiny violet bags contain 1 mirrored salmon bag.
drab black bags contain 2 dark coral bags, 1 muted beige bag, 5 plaid orange bags, 1 dark tan bag.
wavy bronze bags contain 3 wavy lime bags, 3 striped white bags, 1 drab gray bag, 1 light orange bag.
bright green bags contain 1 vibrant gold bag, 2 vibrant tomato bags, 2 dim teal bags.
striped gold bags contain 5 striped purple bags, 1 faded purple bag, 2 dark beige bags, 1 mirrored silver bag.
wavy green bags contain 4 mirrored tan bags, 3 muted cyan bags, 4 plaid turquoise bags, 4 drab gray bags.
striped salmon bags contain 3 light yellow bags.
bright orange bags contain 2 shiny orange bags.
mirrored white bags contain 1 clear fuchsia bag.
striped coral bags contain no other bags.
light magenta bags contain 4 faded gold bags, 1 drab lime bag.
dull tomato bags contain 4 pale indigo bags, 4 pale white bags, 5 wavy silver bags, 3 faded indigo bags.
light black bags contain 5 dark lavender bags, 3 light blue bags, 3 dull turquoise bags.
posh fuchsia bags contain 1 wavy gold bag, 1 vibrant plum bag, 3 posh white bags.
shiny indigo bags contain 3 posh plum bags, 2 pale lime bags, 5 muted blue bags, 4 clear tan bags.
mirrored blue bags contain 3 dark indigo bags, 1 vibrant coral bag, 4 mirrored salmon bags.
pale tomato bags contain 3 plaid purple bags, 1 wavy violet bag.
dull silver bags contain 4 striped beige bags, 2 shiny lime bags, 1 muted olive bag, 5 dull blue bags.
mirrored silver bags contain 2 wavy coral bags, 3 dark lavender bags, 3 dull violet bags.
drab turquoise bags contain 2 dim purple bags, 5 clear white bags, 4 dull brown bags.
drab violet bags contain 1 pale white bag, 1 bright cyan bag.
pale indigo bags contain 4 striped blue bags, 1 plaid turquoise bag, 4 striped beige bags.
shiny fuchsia bags contain 1 striped olive bag, 1 vibrant orange bag, 2 striped indigo bags, 4 vibrant lime bags.
bright maroon bags contain 3 clear chartreuse bags.
shiny tomato bags contain 5 pale gold bags, 5 plaid gold bags, 2 dark white bags.
dotted olive bags contain 4 vibrant silver bags, 1 posh crimson bag.
drab teal bags contain 1 faded indigo bag.
muted plum bags contain 5 mirrored gray bags, 1 wavy maroon bag, 1 mirrored tomato bag, 3 drab crimson bags.
muted violet bags contain 5 drab crimson bags.
dark brown bags contain 1 shiny violet bag, 5 bright coral bags, 4 vibrant plum bags, 3 plaid silver bags.
posh purple bags contain 3 dull silver bags, 2 posh salmon bags, 5 dull chartreuse bags.
light yellow bags contain 5 striped olive bags, 2 mirrored tomato bags, 2 wavy plum bags.
bright silver bags contain 4 pale bronze bags, 2 drab turquoise bags, 2 striped coral bags.
dotted indigo bags contain 2 mirrored brown bags, 5 dim teal bags.
bright lavender bags contain 3 dark indigo bags, 4 wavy brown bags, 3 dotted tomato bags, 5 plaid beige bags.
drab purple bags contain 5 mirrored bronze bags.
clear olive bags contain 3 wavy red bags, 4 muted bronze bags, 2 dotted chartreuse bags.
mirrored coral bags contain 4 shiny salmon bags, 1 light orange bag, 4 faded yellow bags, 5 shiny maroon bags.
clear fuchsia bags contain 4 pale blue bags, 2 light lavender bags, 4 clear blue bags, 2 posh maroon bags.
drab fuchsia bags contain 4 drab bronze bags, 2 shiny bronze bags.
pale blue bags contain 2 dim purple bags, 3 plaid purple bags, 4 vibrant coral bags.
clear violet bags contain 1 muted chartreuse bag.
clear brown bags contain 3 faded chartreuse bags, 5 dotted plum bags, 2 mirrored plum bags, 4 plaid red bags.
muted maroon bags contain 1 muted chartreuse bag, 4 striped silver bags, 1 posh yellow bag, 4 dark indigo bags.
dim olive bags contain 5 clear beige bags, 5 pale blue bags.
bright violet bags contain 3 shiny salmon bags, 2 dull teal bags, 4 shiny blue bags, 2 posh teal bags.
drab green bags contain 5 wavy aqua bags, 5 dark lavender bags, 1 dull tan bag.
dim turquoise bags contain 2 dark brown bags, 3 dotted crimson bags, 3 dull salmon bags.
vibrant teal bags contain 2 dotted coral bags, 5 dim white bags.
posh maroon bags contain 3 muted purple bags, 2 bright tomato bags.
faded aqua bags contain 4 posh white bags, 2 mirrored violet bags.
vibrant violet bags contain 2 vibrant crimson bags, 2 drab crimson bags.
dotted salmon bags contain 3 faded violet bags, 4 clear beige bags, 2 bright coral bags.
dull chartreuse bags contain 1 dotted fuchsia bag, 5 posh black bags, 4 bright green bags.
vibrant orange bags contain 1 shiny green bag, 5 dull blue bags.
mirrored indigo bags contain 2 dull beige bags.
drab lavender bags contain 3 striped lime bags.
bright gold bags contain 5 posh silver bags.
dull fuchsia bags contain 2 striped tomato bags.
light lime bags contain 3 striped orange bags.
wavy magenta bags contain 3 clear fuchsia bags, 4 muted brown bags, 3 plaid lavender bags, 4 clear green bags.
faded beige bags contain 2 mirrored plum bags, 2 light blue bags, 4 dim purple bags, 5 plaid violet bags.
dark plum bags contain 2 shiny red bags, 5 shiny blue bags, 2 striped blue bags, 4 drab gray bags.
wavy turquoise bags contain 1 dim turquoise bag, 5 striped lavender bags, 3 drab aqua bags.
shiny white bags contain 4 shiny violet bags, 1 muted bronze bag, 3 clear tomato bags.
plaid yellow bags contain 4 vibrant indigo bags, 2 light gray bags.
dim crimson bags contain 5 dim brown bags, 3 dim white bags, 1 vibrant silver bag, 3 drab teal bags.
dim tomato bags contain 4 dull silver bags, 5 light gray bags.
wavy cyan bags contain 5 dark chartreuse bags, 1 dark maroon bag, 4 mirrored brown bags, 5 dotted fuchsia bags.
dim green bags contain 5 striped lime bags, 4 bright gold bags, 2 vibrant violet bags, 2 muted beige bags.
striped maroon bags contain 1 mirrored plum bag, 1 drab lavender bag, 5 posh teal bags.
dotted gray bags contain 3 vibrant white bags, 1 pale violet bag.
dotted beige bags contain 2 drab aqua bags.
clear crimson bags contain 2 dim white bags, 2 faded magenta bags, 1 dim tomato bag.
pale olive bags contain 2 posh tomato bags.
posh orange bags contain 3 muted cyan bags, 4 faded turquoise bags.
posh yellow bags contain 2 dotted orange bags, 2 striped crimson bags.
striped black bags contain 5 dark black bags, 2 faded magenta bags, 3 pale lavender bags.
faded orange bags contain 4 bright bronze bags.
pale turquoise bags contain 1 posh maroon bag, 4 faded violet bags, 2 faded lavender bags, 1 vibrant lime bag.
clear gray bags contain 4 posh gray bags, 4 shiny silver bags, 3 vibrant purple bags, 3 faded lavender bags.
shiny olive bags contain 4 vibrant lime bags, 5 faded coral bags.
vibrant maroon bags contain 5 light gray bags.
drab silver bags contain 3 vibrant salmon bags, 5 clear tan bags, 2 light white bags.
posh turquoise bags contain 5 plaid green bags, 2 light bronze bags, 4 shiny turquoise bags, 5 clear gray bags.
mirrored cyan bags contain 3 clear white bags.
shiny silver bags contain 4 vibrant coral bags.
clear plum bags contain 5 muted lavender bags, 5 striped coral bags.
dark crimson bags contain 4 posh violet bags.
muted red bags contain 1 dim maroon bag, 1 bright fuchsia bag, 3 dotted green bags, 3 striped gold bags.
clear lime bags contain 3 plaid cyan bags, 4 dim gray bags, 1 muted violet bag.
faded purple bags contain 3 muted beige bags, 1 posh white bag, 5 drab turquoise bags.
mirrored yellow bags contain 2 striped tan bags.
dim gray bags contain 3 bright green bags, 2 muted black bags, 5 mirrored maroon bags, 3 mirrored violet bags.
mirrored tomato bags contain 5 muted olive bags, 2 mirrored lime bags.
faded coral bags contain 3 bright brown bags, 4 vibrant purple bags, 3 posh coral bags.
wavy fuchsia bags contain 4 dim salmon bags, 4 vibrant violet bags, 5 muted beige bags, 2 dotted black bags.
light plum bags contain 1 wavy black bag.
dark tan bags contain 5 wavy green bags, 4 faded turquoise bags, 2 dark bronze bags, 3 light violet bags.
wavy beige bags contain no other bags.
dotted aqua bags contain 1 mirrored turquoise bag, 4 clear blue bags, 1 dotted teal bag, 3 bright bronze bags.
clear tan bags contain 3 clear gold bags, 3 plaid purple bags, 1 striped indigo bag, 5 bright tomato bags.
dark red bags contain 3 vibrant maroon bags, 3 vibrant fuchsia bags, 4 pale lavender bags, 4 dim purple bags.
dim violet bags contain 1 drab tomato bag, 2 vibrant white bags, 3 faded lavender bags.
dull gray bags contain 3 vibrant black bags.
mirrored aqua bags contain 4 clear fuchsia bags, 1 muted chartreuse bag.
pale violet bags contain no other bags.
faded silver bags contain 1 mirrored lime bag, 5 muted beige bags, 3 mirrored black bags, 1 clear gold bag.
posh tomato bags contain 3 dim purple bags, 1 vibrant maroon bag.
mirrored bronze bags contain 3 mirrored gold bags, 4 faded purple bags, 1 plaid cyan bag, 5 faded gold bags.
light red bags contain 3 muted black bags.
wavy salmon bags contain 1 light white bag, 1 clear white bag, 4 dark maroon bags.
posh lime bags contain 2 drab gold bags.
wavy chartreuse bags contain 4 muted teal bags, 3 plaid salmon bags.
dotted tomato bags contain 2 striped white bags, 4 dark lavender bags.
vibrant crimson bags contain no other bags.
posh violet bags contain 1 shiny lavender bag, 2 striped coral bags, 2 mirrored tan bags.
shiny lime bags contain 5 mirrored lime bags, 1 drab blue bag.
dotted magenta bags contain 5 bright salmon bags.
pale white bags contain 1 faded olive bag, 5 vibrant tomato bags.
muted lime bags contain 3 muted aqua bags.
dotted lavender bags contain 2 dim chartreuse bags, 2 vibrant olive bags.
faded crimson bags contain 4 bright plum bags, 5 dotted cyan bags.
drab tan bags contain 1 dim orange bag, 2 light teal bags, 2 light indigo bags.
pale black bags contain 2 posh silver bags.
dark orange bags contain 3 muted black bags, 2 pale violet bags, 4 faded cyan bags.
mirrored violet bags contain 1 faded olive bag, 3 vibrant crimson bags.
posh plum bags contain 3 vibrant maroon bags.
clear turquoise bags contain 1 dim purple bag.
plaid gray bags contain 1 dotted crimson bag.
pale salmon bags contain 4 vibrant aqua bags, 2 wavy blue bags, 5 striped violet bags.
pale gold bags contain 1 striped coral bag.
bright plum bags contain 5 faded aqua bags.
pale red bags contain 5 dotted silver bags, 3 clear chartreuse bags, 4 vibrant salmon bags.
striped tan bags contain 1 drab crimson bag.
mirrored red bags contain 3 striped gold bags, 1 mirrored gray bag.
bright turquoise bags contain 2 plaid blue bags, 4 clear tomato bags, 1 drab yellow bag, 5 vibrant black bags.
dark maroon bags contain 5 shiny magenta bags, 5 dotted fuchsia bags, 5 dull brown bags, 5 posh violet bags.
plaid chartreuse bags contain 5 drab gold bags, 1 vibrant white bag, 3 muted coral bags, 2 clear plum bags.
posh black bags contain 5 shiny brown bags, 5 posh white bags, 4 dim gray bags.
dotted teal bags contain 1 plaid bronze bag, 2 light violet bags, 1 muted beige bag.
plaid lime bags contain 4 mirrored black bags, 4 muted plum bags, 2 shiny maroon bags, 5 dim beige bags.
dim teal bags contain 2 muted coral bags.
vibrant aqua bags contain no other bags.
dotted turquoise bags contain 3 posh violet bags.
vibrant lime bags contain 5 dark bronze bags, 3 vibrant maroon bags, 5 mirrored cyan bags.
shiny gray bags contain 3 muted coral bags, 2 bright coral bags.
clear white bags contain 1 dim purple bag.
shiny salmon bags contain 5 dull tan bags, 1 posh violet bag, 4 mirrored magenta bags, 5 plaid tan bags.
dark gold bags contain 5 mirrored gray bags, 4 vibrant coral bags.
drab salmon bags contain 1 dull indigo bag.
faded salmon bags contain 2 bright blue bags.
vibrant salmon bags contain 4 muted purple bags, 4 striped plum bags.
dull red bags contain 2 pale white bags.
muted yellow bags contain 3 pale beige bags, 2 dim indigo bags.
bright beige bags contain 1 muted lavender bag, 1 dotted silver bag, 1 shiny bronze bag.
dull gold bags contain 4 posh gold bags.
striped crimson bags contain 5 dull blue bags, 4 bright gold bags, 2 shiny lavender bags.
drab maroon bags contain 1 wavy fuchsia bag.
wavy plum bags contain 4 posh tan bags, 1 muted maroon bag.
bright black bags contain 4 dark white bags, 5 dull maroon bags.
plaid aqua bags contain 3 wavy gray bags, 4 shiny blue bags.
wavy silver bags contain 1 bright tomato bag.
clear orange bags contain 1 dark brown bag, 3 wavy bronze bags, 5 bright tomato bags, 2 faded olive bags.
shiny lavender bags contain 4 dim purple bags.
dull crimson bags contain 5 bright plum bags, 1 pale yellow bag.
vibrant brown bags contain 2 dull tan bags, 1 pale yellow bag, 5 striped orange bags.
striped white bags contain 5 pale orange bags.
light blue bags contain 1 vibrant red bag, 3 bright cyan bags, 5 vibrant brown bags, 5 dim beige bags.
dark green bags contain 4 dotted black bags.
plaid black bags contain 5 dotted chartreuse bags, 1 wavy yellow bag, 4 faded cyan bags, 5 posh orange bags.
shiny turquoise bags contain 5 vibrant tan bags, 1 vibrant salmon bag, 1 muted olive bag.
clear silver bags contain 3 drab crimson bags, 3 bright magenta bags, 5 shiny blue bags, 4 drab lavender bags.
muted chartreuse bags contain 2 mirrored tan bags.
mirrored brown bags contain 5 clear yellow bags, 3 clear violet bags, 1 wavy plum bag.
dull white bags contain 5 shiny blue bags, 2 plaid tan bags, 3 vibrant silver bags, 4 pale orange bags.
clear lavender bags contain 2 posh bronze bags.
light gold bags contain 3 striped cyan bags, 5 dark lime bags.
plaid coral bags contain 1 posh salmon bag, 1 striped purple bag, 4 bright blue bags.
faded magenta bags contain 1 posh yellow bag, 2 bright plum bags.
faded maroon bags contain 2 plaid gray bags.
clear green bags contain 5 vibrant silver bags, 4 shiny gold bags.
mirrored tan bags contain 2 plaid purple bags, 4 dim purple bags, 5 vibrant crimson bags.
striped red bags contain 2 clear salmon bags.
dull aqua bags contain 1 plaid red bag, 3 vibrant aqua bags.
bright coral bags contain 4 muted fuchsia bags, 4 wavy beige bags.
wavy black bags contain 3 drab crimson bags, 3 vibrant white bags, 4 vibrant aqua bags.
dim white bags contain 1 dull olive bag, 5 vibrant white bags.
striped turquoise bags contain 2 drab turquoise bags.
shiny gold bags contain 2 mirrored blue bags, 1 muted brown bag, 3 dim purple bags.
bright gray bags contain 1 faded cyan bag, 3 dark plum bags, 1 light violet bag.
mirrored olive bags contain 5 vibrant gray bags, 1 plaid blue bag, 5 clear black bags, 2 dotted black bags.
posh red bags contain 5 muted olive bags, 2 dotted coral bags, 1 striped crimson bag.
clear teal bags contain 4 bright gold bags, 5 striped gray bags, 2 mirrored lime bags, 4 wavy indigo bags.
faded lime bags contain 4 plaid beige bags.
dull yellow bags contain 1 clear indigo bag, 1 drab beige bag, 2 plaid bronze bags.
muted beige bags contain no other bags.
wavy orange bags contain 3 shiny lime bags, 4 striped gold bags.
drab brown bags contain 1 bright red bag, 1 posh yellow bag, 3 dotted gray bags, 2 plaid green bags.
muted olive bags contain 4 posh maroon bags, 4 bright maroon bags, 3 faded olive bags.
dotted cyan bags contain 5 dotted purple bags, 5 pale olive bags, 5 dull plum bags.
vibrant olive bags contain 2 light violet bags, 2 dim violet bags, 4 mirrored black bags.
pale lime bags contain 4 dark purple bags, 1 shiny chartreuse bag.
dull purple bags contain 1 faded blue bag, 4 dull violet bags, 2 dim bronze bags, 2 vibrant crimson bags.
dotted red bags contain 4 bright magenta bags, 1 mirrored cyan bag, 1 wavy green bag, 4 dotted cyan bags.
vibrant silver bags contain 4 faded purple bags, 3 shiny yellow bags, 4 mirrored tan bags.
dark fuchsia bags contain 3 dark cyan bags.
muted crimson bags contain 3 bright tomato bags, 4 dark gold bags.
dark coral bags contain 3 faded magenta bags.
dull teal bags contain 3 drab turquoise bags, 5 dim salmon bags, 2 striped coral bags.
light brown bags contain 5 bright tomato bags, 4 mirrored salmon bags, 2 vibrant violet bags, 5 dark bronze bags.
bright brown bags contain 3 muted purple bags, 2 vibrant yellow bags, 3 pale fuchsia bags, 3 posh violet bags.
faded bronze bags contain 2 bright bronze bags, 2 dim tomato bags, 3 mirrored beige bags.
dim indigo bags contain 2 vibrant gold bags.
drab cyan bags contain 5 muted orange bags, 4 dotted orange bags, 3 striped tan bags, 5 dull turquoise bags.
mirrored plum bags contain 1 dotted black bag, 2 faded silver bags, 1 plaid red bag.
dull maroon bags contain 5 dark violet bags, 2 bright brown bags, 4 clear blue bags.
light silver bags contain 3 bright blue bags, 1 muted brown bag.
dim blue bags contain 5 dim purple bags, 5 pale orange bags.
clear blue bags contain 2 plaid tan bags, 3 muted chartreuse bags, 2 faded lavender bags.
mirrored salmon bags contain 2 striped coral bags, 2 plaid purple bags.
faded violet bags contain 3 clear gold bags, 2 posh white bags.
light beige bags contain 5 vibrant tan bags, 4 muted lavender bags, 3 plaid bronze bags.
shiny black bags contain 3 vibrant violet bags, 1 wavy brown bag.
dotted plum bags contain 4 faded yellow bags, 5 light lavender bags.
vibrant chartreuse bags contain 1 mirrored fuchsia bag.
striped green bags contain 2 wavy lime bags, 5 mirrored turquoise bags, 2 muted aqua bags, 3 wavy gold bags.
plaid plum bags contain 5 plaid tan bags, 2 pale gold bags, 5 mirrored salmon bags.
dark chartreuse bags contain 1 bright orange bag, 5 bright lavender bags, 2 light black bags.
muted indigo bags contain 2 posh fuchsia bags.
posh tan bags contain 3 dull silver bags, 2 clear tan bags, 4 drab beige bags.
shiny brown bags contain 5 shiny gold bags.
pale orange bags contain 2 striped gray bags, 5 clear beige bags.
pale lavender bags contain 1 shiny lime bag, 1 bright cyan bag.
pale bronze bags contain 2 faded blue bags, 4 pale yellow bags, 5 shiny red bags.
muted bronze bags contain 3 light beige bags, 4 muted fuchsia bags, 5 striped chartreuse bags.
light crimson bags contain 2 faded coral bags.
drab coral bags contain 4 faded black bags, 4 drab white bags, 5 wavy maroon bags, 4 muted violet bags.
vibrant lavender bags contain 2 striped crimson bags.
posh magenta bags contain 1 bright chartreuse bag, 3 drab white bags, 4 dull violet bags.
dim maroon bags contain 1 drab lime bag, 4 faded aqua bags, 5 dark lavender bags.
clear purple bags contain 1 pale lavender bag.
dim magenta bags contain 3 dull violet bags, 4 pale red bags.
plaid red bags contain 5 clear indigo bags.
light gray bags contain 2 dark white bags, 5 posh green bags, 1 wavy silver bag.
plaid beige bags contain 2 dotted brown bags, 2 clear white bags.
faded gold bags contain 2 clear white bags, 1 muted purple bag, 1 striped plum bag.
drab yellow bags contain 3 striped lime bags, 5 muted fuchsia bags, 1 wavy black bag, 3 pale white bags.
dark indigo bags contain 4 striped indigo bags, 4 mirrored violet bags, 3 muted brown bags.
muted black bags contain 1 plaid tan bag, 2 bright tomato bags.
shiny beige bags contain 5 dark bronze bags.
bright cyan bags contain 2 dark lavender bags, 5 striped plum bags, 3 mirrored tan bags, 5 plaid teal bags.
dotted gold bags contain 2 pale gold bags, 1 drab silver bag.
wavy tomato bags contain 4 dotted crimson bags, 4 mirrored lime bags, 2 dim indigo bags.
muted aqua bags contain 3 muted beige bags.
plaid white bags contain 2 bright green bags, 3 mirrored blue bags, 3 dull maroon bags, 2 dotted chartreuse bags.
plaid teal bags contain 1 plaid tan bag, 3 wavy beige bags.
light salmon bags contain 5 faded turquoise bags, 5 muted green bags, 2 plaid bronze bags, 3 plaid indigo bags.
dark aqua bags contain 2 wavy plum bags, 2 dotted red bags, 2 light red bags.
pale aqua bags contain 4 light aqua bags, 4 clear cyan bags, 5 dull tan bags, 5 bright olive bags.
posh green bags contain 5 pale blue bags.
faded chartreuse bags contain 2 shiny red bags.
pale purple bags contain 2 mirrored cyan bags.
striped magenta bags contain 1 muted aqua bag, 1 plaid turquoise bag, 5 dim purple bags, 3 wavy red bags.
plaid crimson bags contain 5 muted brown bags, 5 mirrored tomato bags.
plaid orange bags contain 1 dotted salmon bag, 2 pale aqua bags, 4 shiny tomato bags, 1 dull salmon bag.
faded red bags contain 1 clear tan bag.
plaid fuchsia bags contain 1 dark black bag, 1 dotted teal bag, 2 dark aqua bags, 2 dull bronze bags.
pale crimson bags contain 5 dull brown bags, 3 vibrant coral bags.
muted lavender bags contain 2 posh silver bags, 1 plaid cyan bag.
dull violet bags contain 5 posh coral bags, 5 shiny red bags, 5 drab gold bags, 4 posh white bags.
dull coral bags contain 5 bright lime bags.
posh gold bags contain 1 vibrant violet bag, 1 muted lavender bag.
drab lime bags contain 4 shiny salmon bags, 1 plaid plum bag, 1 wavy tomato bag, 1 wavy red bag.
plaid tan bags contain 3 muted purple bags.
posh chartreuse bags contain 5 clear white bags, 2 dotted violet bags, 5 light teal bags, 5 vibrant gold bags.
faded yellow bags contain 1 muted coral bag, 3 shiny yellow bags, 4 shiny lime bags.
vibrant cyan bags contain 3 muted purple bags, 4 pale tomato bags, 4 vibrant beige bags, 2 muted black bags.
plaid tomato bags contain 3 faded fuchsia bags.
dotted maroon bags contain 4 dull tan bags, 4 plaid cyan bags, 5 bright gold bags, 4 drab blue bags.
drab gray bags contain 4 faded olive bags, 3 vibrant crimson bags.
wavy maroon bags contain 1 wavy red bag, 4 posh white bags, 4 wavy tomato bags.
dull lavender bags contain 2 dim salmon bags, 3 dotted aqua bags, 2 dim turquoise bags, 4 muted gold bags.
dim chartreuse bags contain 4 muted yellow bags, 1 muted violet bag, 2 shiny orange bags, 4 drab salmon bags.
bright red bags contain 1 dull red bag, 1 muted fuchsia bag.
clear yellow bags contain 2 dim violet bags, 5 dim tomato bags, 4 pale indigo bags.
wavy aqua bags contain 5 shiny red bags, 1 pale gold bag, 2 mirrored blue bags, 4 dull violet bags.
bright lime bags contain 5 posh tomato bags, 2 faded fuchsia bags, 4 posh yellow bags, 5 dull brown bags.
bright chartreuse bags contain 2 posh fuchsia bags, 1 posh yellow bag, 3 dotted chartreuse bags.
mirrored magenta bags contain 1 shiny teal bag, 1 mirrored maroon bag, 3 drab turquoise bags.
pale yellow bags contain 3 plaid purple bags, 2 vibrant black bags.
dark teal bags contain 4 clear salmon bags, 3 mirrored blue bags, 3 pale blue bags.
clear coral bags contain 2 dark indigo bags, 5 dark plum bags, 5 plaid beige bags.
muted brown bags contain no other bags.
dotted purple bags contain 1 posh bronze bag, 1 vibrant chartreuse bag, 5 striped indigo bags.
plaid violet bags contain 2 posh white bags.
dull turquoise bags contain 1 drab red bag, 5 muted aqua bags, 4 drab violet bags, 2 muted purple bags.
light coral bags contain 3 posh bronze bags, 5 vibrant silver bags.
striped lime bags contain 5 muted olive bags.
pale cyan bags contain 2 mirrored tomato bags, 3 dull red bags, 4 striped indigo bags, 2 dark maroon bags.
muted tomato bags contain 2 posh tomato bags, 3 dim teal bags, 4 drab indigo bags.
shiny coral bags contain 4 mirrored beige bags, 1 muted magenta bag, 2 light green bags, 3 mirrored olive bags.
vibrant black bags contain 2 dotted black bags, 4 dull red bags, 2 light lavender bags.
vibrant green bags contain 5 mirrored bronze bags, 5 dotted teal bags, 5 plaid tomato bags, 2 muted purple bags.
clear aqua bags contain 2 plaid teal bags, 3 posh tomato bags, 3 light bronze bags, 3 posh teal bags.
dotted brown bags contain 5 pale white bags, 2 dim indigo bags, 1 shiny yellow bag, 3 plaid gray bags.
striped beige bags contain 3 striped indigo bags, 4 faded lavender bags, 1 drab crimson bag, 1 vibrant tomato bag.
plaid cyan bags contain 4 shiny gold bags, 1 wavy beige bag.
mirrored gold bags contain 3 vibrant coral bags.
plaid turquoise bags contain 5 striped coral bags.
pale magenta bags contain 1 drab tomato bag, 4 dark chartreuse bags, 4 striped tan bags, 5 vibrant white bags.
pale green bags contain 4 shiny tan bags.
faded indigo bags contain 3 bright plum bags, 3 posh teal bags.
dim red bags contain 2 striped silver bags, 4 dim blue bags.
bright tan bags contain 1 vibrant cyan bag, 5 mirrored magenta bags.
dotted violet bags contain 1 bright bronze bag, 4 dotted silver bags, 1 drab silver bag, 4 plaid indigo bags.
dim black bags contain 1 dark magenta bag, 4 vibrant tan bags, 5 light magenta bags.
bright aqua bags contain 2 muted gold bags, 3 dotted gray bags.
plaid salmon bags contain 2 vibrant gold bags, 2 bright maroon bags, 2 shiny lime bags, 2 mirrored salmon bags.
drab chartreuse bags contain 3 shiny crimson bags.
shiny magenta bags contain 2 striped plum bags.
dotted blue bags contain 2 muted salmon bags.
bright white bags contain 2 pale olive bags, 2 dotted black bags.
clear red bags contain 2 bright chartreuse bags, 5 striped magenta bags.
mirrored chartreuse bags contain 2 vibrant crimson bags, 2 drab blue bags.
striped fuchsia bags contain 2 muted salmon bags, 2 posh bronze bags.
posh blue bags contain 2 faded bronze bags, 4 striped purple bags.
mirrored fuchsia bags contain 5 mirrored tan bags, 4 muted coral bags.
posh beige bags contain 5 drab violet bags.
striped violet bags contain 2 wavy plum bags, 1 pale crimson bag.
vibrant turquoise bags contain 4 plaid gray bags.
dotted bronze bags contain 2 drab maroon bags, 4 posh plum bags, 2 dotted brown bags, 5 mirrored cyan bags.
dim cyan bags contain 2 pale orange bags, 2 posh white bags, 3 plaid salmon bags.
vibrant gold bags contain 1 bright coral bag, 2 mirrored black bags.
posh bronze bags contain 3 bright green bags, 5 faded turquoise bags, 5 plaid plum bags, 3 dull tan bags.
pale chartreuse bags contain 3 vibrant gray bags, 5 posh coral bags, 5 bright white bags, 4 faded white bags.
drab crimson bags contain 2 wavy beige bags, 3 striped coral bags, 1 dim purple bag, 3 pale gold bags.
mirrored lime bags contain 5 striped coral bags, 2 wavy beige bags.
shiny green bags contain 4 plaid silver bags, 2 dim teal bags, 2 dotted teal bags, 2 drab turquoise bags.
light tomato bags contain 4 dark gold bags.
mirrored beige bags contain 5 posh gray bags, 5 dull olive bags, 3 drab crimson bags, 4 striped silver bags.
vibrant indigo bags contain 2 pale brown bags, 2 vibrant tomato bags, 3 dim violet bags.
dim plum bags contain 1 plaid aqua bag, 1 wavy plum bag, 1 wavy aqua bag.
light indigo bags contain 4 mirrored purple bags.
faded brown bags contain 2 dim gold bags.
dim gold bags contain 4 dotted purple bags, 5 dotted black bags, 4 vibrant beige bags, 4 clear magenta bags.
clear cyan bags contain 1 mirrored blue bag, 5 clear gray bags.
dark yellow bags contain 3 dull violet bags, 3 dotted crimson bags, 1 dark bronze bag, 3 vibrant tomato bags.
plaid silver bags contain 5 drab gray bags.
vibrant yellow bags contain 5 plaid teal bags, 1 shiny silver bag, 1 mirrored black bag.
dull olive bags contain 1 dark bronze bag, 5 wavy green bags, 2 muted cyan bags.
plaid brown bags contain 3 drab indigo bags.
faded cyan bags contain 3 light lavender bags.
drab orange bags contain 5 plaid teal bags, 1 clear fuchsia bag.
muted tan bags contain 4 faded bronze bags, 4 vibrant green bags.
dull cyan bags contain 5 striped maroon bags, 2 dim plum bags.
wavy red bags contain 3 mirrored fuchsia bags, 5 vibrant salmon bags.
wavy lime bags contain 5 faded lavender bags, 1 posh maroon bag.
dotted tan bags contain 2 shiny teal bags, 2 plaid gray bags, 2 pale silver bags, 3 dim violet bags.
clear salmon bags contain 4 striped white bags, 3 light coral bags, 1 mirrored white bag, 5 dotted silver bags.
dark purple bags contain 1 shiny lime bag, 3 dull salmon bags.
dim purple bags contain 5 wavy beige bags, 5 vibrant aqua bags, 5 muted purple bags.
striped gray bags contain 5 muted lavender bags, 1 clear blue bag.
bright yellow bags contain 4 bright fuchsia bags, 3 drab brown bags, 5 shiny lime bags.
light teal bags contain 5 faded olive bags.
wavy yellow bags contain 2 striped cyan bags, 5 dim indigo bags.
vibrant tomato bags contain 2 shiny violet bags, 2 mirrored blue bags, 1 pale violet bag, 2 faded olive bags.
pale silver bags contain 2 dotted magenta bags, 2 mirrored salmon bags, 2 dim blue bags.
mirrored lavender bags contain 3 pale teal bags, 2 posh gray bags.
striped chartreuse bags contain 3 plaid bronze bags.
dotted chartreuse bags contain 1 pale white bag, 1 striped tan bag, 1 striped beige bag, 1 dull brown bag.
muted silver bags contain 2 shiny tan bags, 5 mirrored red bags, 3 drab brown bags.
clear maroon bags contain 1 shiny gray bag, 4 posh purple bags, 5 pale silver bags.
light cyan bags contain 3 vibrant yellow bags.
plaid magenta bags contain 3 bright olive bags, 2 faded violet bags, 1 bright salmon bag.
drab gold bags contain 1 dull blue bag, 5 mirrored gold bags, 3 striped cyan bags, 3 mirrored cyan bags.
light green bags contain 3 dotted brown bags.
dim silver bags contain 2 pale cyan bags, 3 muted gold bags, 2 faded fuchsia bags.
faded black bags contain 5 dim orange bags, 2 shiny green bags, 2 faded cyan bags, 3 dull yellow bags.
bright bronze bags contain 5 plaid indigo bags.
light orange bags contain 4 wavy beige bags, 5 mirrored blue bags, 5 faded turquoise bags.
dark black bags contain 1 posh maroon bag, 1 faded turquoise bag, 2 drab violet bags, 4 mirrored white bags.
dark gray bags contain 3 dotted coral bags, 3 plaid bronze bags.
shiny aqua bags contain 1 muted coral bag.
striped aqua bags contain 2 posh bronze bags.
dull plum bags contain 4 drab gray bags, 5 posh maroon bags.
posh salmon bags contain 2 mirrored bronze bags, 5 plaid aqua bags.
muted blue bags contain 1 drab yellow bag.
dim lime bags contain 4 plaid teal bags, 5 dotted orange bags, 5 wavy silver bags, 3 muted purple bags.
striped cyan bags contain 1 mirrored chartreuse bag.
dull beige bags contain 3 drab red bags, 4 vibrant olive bags.
wavy indigo bags contain 4 pale orange bags, 1 vibrant salmon bag, 5 wavy red bags, 2 plaid indigo bags.
drab tomato bags contain 3 clear gold bags.
shiny crimson bags contain 2 vibrant lime bags, 5 shiny lavender bags, 3 dark purple bags, 3 light beige bags.
bright magenta bags contain 4 striped gray bags, 5 dim cyan bags.
plaid maroon bags contain 1 bright magenta bag, 2 dark olive bags.
faded white bags contain 2 faded turquoise bags.
pale plum bags contain 3 clear beige bags, 1 mirrored violet bag.
dim fuchsia bags contain 1 posh maroon bag, 1 dull tan bag.
dark olive bags contain 4 clear chartreuse bags, 5 light cyan bags, 5 striped magenta bags.
dull lime bags contain 1 striped lavender bag, 1 shiny lavender bag, 2 faded cyan bags.
faded fuchsia bags contain 4 wavy aqua bags, 3 dark brown bags, 1 pale orange bag, 3 striped indigo bags.
posh olive bags contain 3 drab maroon bags, 1 vibrant white bag, 2 wavy lime bags, 5 drab purple bags.
dull black bags contain 4 posh tomato bags, 4 wavy aqua bags, 2 dull tomato bags, 2 clear orange bags.
striped blue bags contain 5 pale crimson bags, 5 clear chartreuse bags.
shiny blue bags contain 1 plaid tan bag, 1 plaid silver bag.
drab bronze bags contain 5 faded fuchsia bags.
posh aqua bags contain 3 dull turquoise bags, 5 dim olive bags.
plaid lavender bags contain 5 mirrored red bags, 1 striped salmon bag, 2 mirrored turquoise bags, 4 dotted cyan bags.
shiny purple bags contain 1 vibrant coral bag, 1 striped blue bag.
mirrored purple bags contain 3 plaid teal bags.
vibrant coral bags contain 1 striped coral bag, 4 pale gold bags.
drab blue bags contain 4 drab gray bags, 4 vibrant coral bags, 1 plaid teal bag.
mirrored green bags contain 2 dull brown bags, 1 faded white bag.
dim beige bags contain 3 clear blue bags, 1 shiny magenta bag.
striped tomato bags contain 4 vibrant silver bags, 2 bright yellow bags.
clear bronze bags contain 5 striped coral bags, 3 wavy green bags, 1 bright violet bag.
shiny teal bags contain 1 drab white bag.
faded lavender bags contain 5 dim teal bags, 2 faded olive bags, 2 dim purple bags, 2 pale gold bags.
posh gray bags contain 2 mirrored tan bags.
pale brown bags contain 5 dull tan bags, 2 posh tomato bags.
shiny plum bags contain 2 mirrored blue bags, 5 dark cyan bags, 2 dark teal bags.
wavy lavender bags contain 1 wavy gold bag, 2 wavy maroon bags, 2 dark black bags.
shiny tan bags contain 3 bright bronze bags, 1 posh fuchsia bag, 1 dark maroon bag, 4 wavy salmon bags.
dim coral bags contain 3 faded indigo bags, 5 clear white bags.
mirrored turquoise bags contain 4 vibrant coral bags, 4 pale gold bags, 1 clear blue bag.
muted coral bags contain no other bags.
drab plum bags contain 4 drab gray bags, 4 dotted green bags, 2 bright gray bags.
muted gold bags contain 3 shiny red bags, 5 light white bags, 3 mirrored maroon bags.
light violet bags contain 1 plaid tan bag, 2 plaid turquoise bags.
dotted coral bags contain 4 dark crimson bags, 3 muted plum bags, 2 vibrant black bags, 4 drab gray bags.
pale fuchsia bags contain 3 dark brown bags.
dark turquoise bags contain 3 plaid teal bags, 5 dull orange bags.
dark blue bags contain 4 drab silver bags, 2 shiny brown bags.
muted green bags contain 1 mirrored violet bag, 3 posh silver bags, 2 bright coral bags, 4 clear chartreuse bags.
posh brown bags contain 2 mirrored turquoise bags.
vibrant tan bags contain 3 drab gray bags.
dull indigo bags contain 1 dim tomato bag, 3 pale brown bags.
pale teal bags contain 3 light beige bags, 1 plaid indigo bag, 3 striped tan bags, 5 vibrant white bags.
striped purple bags contain 2 drab white bags.
pale coral bags contain 3 plaid teal bags.
clear gold bags contain 1 muted purple bag, 4 muted coral bags.
faded teal bags contain 1 pale tan bag, 4 dark indigo bags, 1 posh olive bag.
dotted orange bags contain 5 shiny brown bags, 3 striped plum bags, 3 plaid silver bags.
plaid olive bags contain 1 posh white bag, 2 striped bronze bags, 2 dark gold bags, 3 plaid teal bags.
dark lime bags contain 4 mirrored gray bags, 2 pale aqua bags.
mirrored maroon bags contain 5 muted beige bags.
shiny red bags contain 5 posh silver bags, 5 shiny blue bags.
drab magenta bags contain 4 muted plum bags, 4 light yellow bags.
plaid purple bags contain no other bags.
drab indigo bags contain 1 dull blue bag, 3 wavy maroon bags, 5 pale gold bags, 3 pale crimson bags.
vibrant white bags contain 1 dim salmon bag.
mirrored teal bags contain 4 dotted chartreuse bags, 4 dim brown bags, 5 striped yellow bags.
plaid gold bags contain 2 posh crimson bags, 5 muted green bags, 5 muted salmon bags, 1 pale plum bag.
striped indigo bags contain 2 muted beige bags, 4 mirrored fuchsia bags.
bright purple bags contain 4 dim violet bags.
dark salmon bags contain 2 clear silver bags, 5 wavy fuchsia bags, 5 bright salmon bags.
muted magenta bags contain 5 bright bronze bags, 1 dark red bag, 4 faded fuchsia bags.
drab olive bags contain 1 dim gold bag, 5 clear gold bags, 4 muted white bags.
mirrored black bags contain 4 dim teal bags.
dull bronze bags contain 3 dull white bags, 1 striped yellow bag, 1 striped crimson bag, 1 pale teal bag.
dotted black bags contain 3 faded purple bags, 3 vibrant coral bags, 2 posh silver bags, 5 vibrant aqua bags.
drab aqua bags contain 1 striped lavender bag, 5 shiny lavender bags.
shiny maroon bags contain 5 posh crimson bags, 4 drab blue bags, 1 pale black bag.
faded plum bags contain 2 posh tomato bags, 1 vibrant fuchsia bag, 2 faded black bags.
wavy coral bags contain 5 shiny gold bags.
dull brown bags contain 4 mirrored tan bags.
pale gray bags contain 5 dim maroon bags.
dim tan bags contain 5 clear blue bags, 1 wavy bronze bag.
plaid bronze bags contain 4 bright coral bags, 1 dotted crimson bag, 1 mirrored black bag.

594
aocd8input.txt Normal file
View File

@ -0,0 +1,594 @@
nop +81
acc -17
jmp +1
acc +31
jmp +211
acc +30
acc -7
jmp +29
acc +16
nop +89
jmp +163
acc -9
acc +40
jmp +189
jmp +111
acc +0
acc +6
jmp +19
acc +6
acc +16
jmp +78
nop +178
jmp +441
acc +27
acc +34
jmp +3
acc +9
jmp +302
acc -4
acc +33
jmp +417
nop +80
acc +34
acc +11
nop +181
jmp -12
jmp +143
jmp +53
jmp +52
jmp +324
acc +0
acc -8
acc +47
jmp +1
jmp +169
acc +23
acc -14
acc -6
acc -13
jmp +267
acc +24
jmp +188
acc +36
jmp +160
acc +14
acc +34
acc -18
jmp +500
jmp +137
jmp +295
acc +11
jmp +393
acc +24
acc +37
nop +258
acc +20
jmp -52
acc +40
jmp +1
jmp +62
acc +34
nop +312
acc +39
nop +431
jmp +386
acc -17
nop +282
acc -8
jmp +490
jmp +148
jmp -1
jmp +201
jmp -54
acc +0
acc +22
jmp +110
nop +443
nop +388
acc +28
jmp +167
nop +48
acc +46
jmp +406
acc +11
acc +17
acc +23
jmp +1
jmp +286
acc +0
acc -15
acc +1
acc +6
jmp +214
acc +39
acc +21
acc +34
jmp +341
jmp +417
jmp +400
jmp -2
jmp +117
acc -10
acc +14
acc +10
acc +10
jmp +339
jmp +162
acc +16
nop +20
acc +12
acc -11
jmp +78
acc +21
acc +12
jmp +181
jmp +404
nop +26
jmp +46
jmp +1
jmp -93
jmp -76
acc -1
nop +30
acc +48
jmp +238
acc +6
nop +244
jmp +36
acc +10
acc +8
acc +19
acc +3
jmp -72
nop +225
jmp +228
acc +44
acc -13
jmp +349
acc -8
acc +45
acc -11
jmp +76
acc +46
jmp +196
acc +4
acc +45
jmp +218
acc +38
jmp -77
acc +10
acc +46
jmp +385
acc +29
nop +159
jmp +247
jmp +1
acc +26
nop +357
jmp +284
nop +335
acc -18
acc +41
jmp +326
nop +181
jmp +189
nop -135
acc +50
nop +152
jmp -53
acc +0
jmp +1
acc +23
jmp +167
nop +131
acc +18
acc +42
nop +13
jmp +28
jmp +284
acc +10
acc +43
jmp +243
jmp +64
acc +17
jmp +213
acc +0
acc +29
jmp +25
jmp -180
nop +184
jmp +90
jmp -13
jmp +1
jmp -86
jmp +1
acc +20
acc +49
jmp +6
jmp +188
acc +24
acc +0
nop -16
jmp +160
jmp +2
jmp +68
acc +1
acc +30
jmp -52
acc -19
jmp +1
acc -18
jmp +153
acc +0
jmp -92
nop -72
acc +38
jmp +13
jmp +160
acc +24
acc +0
jmp +111
acc -4
acc +45
jmp -215
acc +16
acc +25
acc +28
acc +12
jmp +348
nop +144
jmp -52
acc +41
jmp +1
acc +12
acc +14
jmp +207
jmp +1
acc +26
acc +4
jmp +1
jmp +15
jmp +20
acc +23
acc +41
jmp -8
jmp +284
nop +204
acc +47
acc +35
acc +17
jmp -58
jmp +1
acc +8
nop +72
jmp -210
jmp +324
acc -7
acc +12
acc +48
acc +1
jmp +269
acc -19
acc +18
jmp +167
jmp +1
acc +48
acc +2
jmp +134
jmp +204
jmp +1
acc -1
jmp +191
nop -203
nop +104
acc -16
jmp +261
acc +32
acc +11
acc +37
jmp +74
acc -16
acc -4
acc +10
jmp +101
acc +47
acc +18
jmp +122
acc +42
acc +30
jmp -47
nop -54
acc +38
nop +237
acc +15
jmp -58
acc +50
acc +37
acc +20
jmp -163
nop +49
acc +28
acc +50
acc -13
jmp -305
jmp +66
jmp +92
acc +30
acc +0
jmp -190
nop +153
acc -12
jmp +73
nop -241
acc +25
nop -310
jmp +127
acc +32
acc +6
jmp +55
jmp -250
acc +25
acc -2
acc +42
nop +25
jmp -264
acc +47
acc +47
nop -297
jmp -146
jmp +1
jmp -257
acc +48
acc +49
acc -2
jmp +232
acc +25
acc +9
acc -6
jmp +115
jmp +53
acc +4
acc +19
acc -5
jmp -188
acc +0
acc -16
jmp +132
jmp +189
acc -8
jmp -54
acc -19
nop -338
jmp -322
acc +43
acc +19
acc +1
jmp -238
jmp -111
acc +48
jmp +49
nop -225
jmp +153
jmp +55
jmp -264
acc +27
acc -1
acc -1
acc +7
jmp +208
jmp +68
jmp -218
acc +13
jmp +70
acc +1
jmp +12
acc -7
jmp +129
jmp +1
acc +7
acc +11
acc +2
jmp -377
acc +0
jmp -241
jmp +110
jmp -355
acc -13
jmp +1
jmp -120
nop +83
acc +19
jmp -378
acc +26
jmp +72
acc +9
acc +0
jmp -92
nop -242
jmp -200
acc +29
jmp -374
acc -19
acc +40
acc +9
nop -117
jmp -144
acc +6
jmp +122
acc +7
acc +9
acc +50
jmp -367
acc +18
acc +18
acc +6
nop -212
jmp -19
acc +34
acc -1
jmp +1
jmp -89
acc -19
acc +20
jmp -70
jmp +117
acc +38
acc +23
acc +29
acc +20
jmp -330
acc +30
acc +38
nop -2
jmp +96
acc +11
acc +32
jmp -194
jmp -64
acc +10
acc -2
acc -2
jmp -320
jmp -314
jmp +115
acc -1
acc +38
acc +30
jmp -407
acc +1
jmp -32
jmp +55
acc +50
jmp +84
nop -69
acc +0
nop -270
acc +38
jmp -33
acc +11
acc +32
acc -15
jmp -122
jmp -413
acc -2
jmp -322
acc +49
jmp +1
acc +26
nop -455
jmp -105
acc +26
jmp -6
nop +42
acc +15
jmp -149
acc -7
acc +34
jmp +59
acc -9
acc -11
jmp -122
nop -89
acc +28
acc +34
acc +14
jmp -127
jmp -89
jmp -335
acc +49
acc +0
acc +43
acc +41
jmp -314
jmp -56
acc +11
jmp -443
acc +7
jmp -11
acc +24
acc +16
acc +44
jmp -29
acc +38
acc +8
jmp +50
acc +30
acc +8
acc +14
jmp -160
acc -10
acc +46
acc +2
acc +21
jmp -328
acc +17
acc +23
jmp -374
acc +20
jmp -160
acc +1
acc +30
acc +22
jmp +1
jmp -302
jmp +1
acc +3
acc +19
acc +28
jmp +30
acc +50
acc +23
jmp -244
acc +20
jmp +1
acc +27
jmp -6
jmp -71
acc +28
acc +35
nop -3
jmp -62
nop -386
nop -217
jmp -45
acc +7
acc -11
jmp -104
nop -279
jmp +1
acc -15
acc -17
jmp -478
nop -11
jmp -432
acc -3
acc +12
jmp -558
jmp -513
acc +3
acc +46
jmp -532
acc -14
acc +32
acc -8
acc +25
jmp -521
acc +6
acc +11
acc +40
acc +33
jmp -266
acc +17
acc +11
nop -203
acc +2
jmp -433
acc +38
jmp -476
jmp -125
jmp +1
acc +24
acc -11
jmp +1
jmp +1