This commit is contained in:
awerbrouck 2020-12-06 11:20:59 +01:00
parent 327db5cf90
commit 2131621078
15 changed files with 3988 additions and 1 deletions

@ -1 +0,0 @@
Subproject commit 977632dca836b0a3a08b86b695b880e48598bee6

View file

@ -0,0 +1,8 @@
{
"folders": [
{
"path": "."
}
],
"settings": {}
}

37
Arthur_Swamp/AoC/App.java Normal file
View file

@ -0,0 +1,37 @@
package AoC;
import java.io.IOException;
public class App {
public static void main(String[] args) throws Exception {
dag1();
dag2();
dag3();
dag4();
dag5();
}
public static void dag1() {
Repair.dag1();
}
public static void dag2() {
Password.dag2();
}
public static void dag3() {
System.out.println(Trees.dag3(1, 1));
System.out.println(Trees.dag3(1, 3));
System.out.println(Trees.dag3(1, 5));
System.out.println(Trees.dag3(1, 7));
System.out.println(Trees.dag3(2, 1));
}
public static void dag4() {
Passport.dag4();
}
public static void dag5() throws IOException {
Binairy.dag5();
}
}

View file

@ -0,0 +1,32 @@
package AoC;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.*;
public class Binairy {
public static void main(String[] args) throws IOException {
}
public static void deel1(int[] intarr){
System.out.println(intarr[intarr.length - 1]);
}
public static void deel2(int[] intarr){
System.out.println((intarr[0] + intarr[intarr.length - 1]) * (intarr.length + 1) / 2 - Arrays.stream(intarr).sum());
}
public static void dag5() throws IOException {
int[] intarr = Files.readAllLines(Paths.get("./puzzels/dag5.txt")).stream()
.map(line -> line
.replaceAll("[FL]", "0")
.replaceAll("[BR]", "1"))
.mapToInt(line -> Integer.parseInt(line, 2))
.sorted()
.toArray();
deel1(intarr);
deel2(intarr);
}
}

View file

@ -0,0 +1,121 @@
package AoC;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Passport {
public static void main(String[] args) {
}
public static String[] lines;
public static String[] regexen_deel1 = {
".*\\bbyr:.*",
".*\\biyr:.*",
".*\\beyr:.*",
".*\\bhgt:.*",
".*\\bhcl:.*",
".*\\becl:.*",
".*\\bpid:.*"
};
public static String[] regexen_deel2 = {
".*\\bbyr:(\\d{4})\\b.*",
".*\\biyr:(\\d{4})\\b.*",
".*\\beyr:(\\d{4})\\b.*",
".*\\bhgt:(\\d+)(cm|in)\\b.*",
".*\\bhcl:#[0-9a-f]{6}\\b.*",
".*\\becl:(?:amb|blu|brn|gry|grn|hzl|oth)\\b.*",
".*\\bpid:\\d{9}\\b.*"
};
public static void join() {
lines = String.join("\n", lines)
.replaceAll("\\b\\n\\b", " ")
.split("\\n\\n");
}
public static int deel1(String[] lines) {
int count = 0;
for (String line: lines) {
boolean valid = true;
for (String regex : regexen_deel1) {
valid &= line.matches(regex);
}
if (valid) {
++count;
}
}
return count;
}
public static int deel2(String[] lines) {
int count = 0;
for (String line: lines) {
boolean valid = true;
for (int i = 0; i < regexen_deel2.length; ++i) {
Matcher m = Pattern.compile(regexen_deel2[i]).matcher(line);
valid &= m.find();
if (valid) {
switch (i) {
case 0:
int value = Integer.parseInt(m.group(1));
valid = value >= 1920 && value <= 2002;
break;
case 1:
value = Integer.parseInt(m.group(1));
valid = value >= 2010 && value <= 2020;
break;
case 2:
value = Integer.parseInt(m.group(1));
valid = value >= 2020 && value <= 2030;
break;
case 3:
value = Integer.parseInt(m.group(1));
switch (m.group(2)) {
case "cm":
valid = value >= 150 && value <= 193;
break;
case "in":
valid = value >= 59 && value <= 76;
break;
}
break;
default:
break;
}
}
}
if (valid) {
++count;
}
}
return count;
}
public static void dag4(){
try {
lines = ReadPuzzle.getInput("./puzzels/dag4.txt");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
join();
System.out.println(deel1(lines));
System.out.println(deel2(lines));
}
}

View file

@ -0,0 +1,78 @@
package AoC;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import static java.lang.Integer.parseInt;
public class Password {
public static void main(String[] args) {
dag2();
}
public static int countd1(char character, String string) {
int amount = 0;
for(char ch: string.toCharArray()){
if(ch == character){
amount++;
}
}
return amount;
}
public static boolean countd2(char character, String string, int x, int y){
char[] charray = string.toCharArray();
if ((charray[x-1] == character) && (charray[y-1] != character)){
return true;
} else if ((charray[x-1] != character) && (charray[y-1] == character)){
return true;
}
return false;
}
public static boolean checker(String string, int part){
Pattern pNumber = Pattern.compile("[^\\d]*([\\d]+)[^\\d]+([\\d]+)");
Pattern pString = Pattern.compile("[^a-z]*([a-z]+)[^a-z]*([a-z]+)");
Matcher mNumber = pNumber.matcher(string);
Matcher mString = pString.matcher(string);
if (mNumber.find() && mString.find()) {
int min = parseInt(mNumber.group(1));
int max = parseInt(mNumber.group(2));
String one = mString.group(1);
String two = mString.group(2);
if (part == 1){
int countos = countd1(one.charAt(0), two);
if (min <= countos && countos <= max) {
return true;
}
}
if (part == 2){
boolean bol = countd2(one.charAt(0), two, min, max);
if (bol) {
return true;
}
}
}
return false;
}
public static void mon(List<String> list){
int badpwd1 = 0;
int badpwd2 = 0;
for (String string: list) {
if (checker(string, 1)){badpwd1 ++;}
if (checker(string, 2)){badpwd2 ++;}
}
System.out.println(badpwd1);
System.out.println(badpwd2);
}
public static void dag2(){
List<String> list = ReadPuzzle.readPuzzle("d2.txt");
mon(list);
}
}

View file

@ -0,0 +1,52 @@
package AoC;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class ReadPuzzle {
public static void main(String[] args) {
}
public static List<String> readPuzzle(String fileName) {
try {
Scanner scanner = new Scanner(new File("./puzzels/" + fileName));
List<String> list = new ArrayList<String>();
while (scanner.hasNextLine()) {
list.add(scanner.nextLine());
}
scanner.close();
return list;
} catch (FileNotFoundException exception) {
System.out.println("An error occurred.");
exception.printStackTrace();
}
return null;
}
public static int[] readPuzzleInt(String fileName) throws FileNotFoundException {
int[] intArray = new int[]{};
Scanner scanner = new Scanner(new File("./puzzels/" + fileName));
int i = 0;
while(scanner.hasNextInt()){
intArray[i++] = scanner.nextInt();
}
return intArray;
}
public static String[] getInput(String fileName) throws FileNotFoundException{
try {
return Files.lines(Path.of(fileName)).toArray(String[]::new);
} catch (IOException e) {
e.printStackTrace();
return new String[0];
}
}
}

View file

@ -0,0 +1,57 @@
package AoC;
import java.util.List;
import static java.lang.Integer.parseInt;
public class Repair {
public static void main(String[] args) {
}
public static int repair1(List<String> list) {
for (String i1 : list) {
for (String i2 : list) {
int j1 = parseInt(i1);
int j2 = parseInt(i2);
if (j1 + j2 == 2020) {
return j1 * j2;
}
}
}
return 0;
}
public static int repair2(List<String> list) {
for (String i1 : list) {
for (String i2 : list) {
for (String i3 : list) {
int j1 = parseInt(i1);
int j2 = parseInt(i2);
int j3 = parseInt(i3);
if (j1 + j2 + j3 == 2020) {
return j1 * j2 * j3;
}
}
}
}
return 0;
}
public static void dag1() {
List<String> list = ReadPuzzle.readPuzzle("d1.txt");
int result1 = Repair.repair1(list);
System.out.println(result1);
int result2 = Repair.repair2(list);
System.out.println(result2);
}
}
// Kan je de tekst lezen?

View file

@ -0,0 +1,35 @@
package AoC;
import java.util.List;
public class Trees {
<<<<<<< HEAD
public static void main(String[] args) {
System.out.println(dag3(1, 1) * dag3(1, 3) * dag3(1, 5) * dag3(1, 7) * dag3(2, 1));
}
public static int dag3(int down, int right) {
=======
public static void main(String[] args) {
}
public static int dag3(int down, int right) {
>>>>>>> a72251a51edc92193a6d3a4462caff01a9d6323f
int trees = 0;
int H = 0;
List<String> list = ReadPuzzle.readPuzzle("d3.txt");
int len = (list.get(0)).length();
for (int i = down; i < list.size(); i += down) {
H = (H + right) % len;
if (list.get(i).charAt(H) == '#') {
trees++;
}
}
return trees;
<<<<<<< HEAD
}
=======
}
>>>>>>> a72251a51edc92193a6d3a4462caff01a9d6323f
}

200
Arthur_Swamp/puzzels/d1.txt Normal file
View file

@ -0,0 +1,200 @@
1946
1859
1654
1806
1648
1873
1216
1831
1610
1779
1626
1332
1713
1919
1353
1720
1818
1976
1993
1617
1678
1655
1725
1686
1737
1696
1046
1814
1909
1618
2006
1903
1528
1635
1457
1924
1734
1723
1735
1984
1846
1921
1587
2009
1607
1987
1910
1571
1898
1869
1537
1446
1535
1802
1847
1966
1944
1793
1383
1850
1274
347
1208
1748
1906
1771
1849
1773
1792
1705
1538
1564
2003
1994
1545
1704
1657
1483
1701
1724
1293
1834
1712
1950
1844
1290
1692
1820
1585
1986
1328
1841
1709
1232
1945
1684
1787
1991
1914
16
1977
1620
1825
1866
1615
1832
496
1932
1819
1559
1870
1677
1650
1594
1664
1600
1622
1862
1937
1624
1580
1931
1803
1839
1755
1952
1473
1694
1864
1178
1163
1790
393
1776
1871
1999
1923
1174
1557
1646
1200
1842
1432
1573
1913
1954
1599
1980
1948
1430
1298
1835
1643
1742
1609
1649
1382
1343
1263
1908
1703
1922
1764
1603
1330
588
954
1772
1553
975
1499
1552
1214
1829
1698
1797
1807
1961
1947
1845
1881
1821
1815
1623
1675
1478
1886
1951
1700
1890
1876
1781
1853
1983
1901
1939
1292
853
1879
1652

1000
Arthur_Swamp/puzzels/d2.txt Normal file

File diff suppressed because it is too large Load diff

323
Arthur_Swamp/puzzels/d3.txt Normal file
View file

@ -0,0 +1,323 @@
...#...#..#....#..#...#..##..#.
.#..#.....#.#............###...
.#...###....#.............##..#
...##...##....#.....##..#.##...
.....###.#.###..##.#.##.......#
#...##.....#..........#..#.#.#.
......##.......##..#....#.#....
....#.###.##..#.#..##.##....#.#
.......#.......###.#.#.##.....#
.........#.#....#..........#.#.
.#...##.....##.........#..#....
.##....#.#.#...##......#.......
##.#.#..#....#....#....#...#.#.
##....#.#..##......#....##...#.
....#..#..##..#.###.......#.#..
.....##....###...........#.#.##
#.....##.........#....##......#
........###.#..#....#....#.....
...#.......#.##..#.###......#..
...............#..#....#.##....
..#..###..#.#..#.........##..#.
####..#..####..................
#...####...#.......#.#.#...#...
......###.....#......#..#..#...
#...#.....##.....#.#..##...#.#.
#...........##.......#.........
.#..#.........#.#..##....#.....
........##...#................#
........#.###.#.###.#.#.##..##.
.#....##.....#...##.#..#.#.....
..#..#.....###....##.#....#.#.#
#......##.##...##..#.........#.
#..#..#.....#.....#.........#..
#....#.#...###.........#...#...
.#.#.....##......#.#......#....
..##......##...#.#.#.#.........
..#......#.....##.###.#.#..#...
....#..#.......#..#..#.....#...
.#.#.....#...#..........#......
#.#..#...........#.#.##.#...#.#
..#.#....###...#...#.....#.#...
....##.#.###....####.......#...
.....##....#.......#..#..#....#
...##..#.#.#.#......#......#...
...##...#....#...#......###...#
........#..#.#.....#.###.......
..#..##.#....#.#.........#...#.
.....#.####....#.##.........#..
......#...#...#.....#......###.
.##.....#....#..#.#....#.....#.
...........#...#....##..#...#..
.....#....#.....#...##..#...#.#
.#...#.........#.......#...#..#
...#..#...#........#......#....
..#..#####.#.....#.#....#...#.#
...#.......#.#....#...##..#..#.
####..#.#.###.#.#..............
.##........#...#.#....#..#.....
..#..............#.#..##...#.##
.###.#.....#.#.....##.#......##
....###.....#...#...#.#..#.....
....###.#.##.......#....#...#..
#..#...#......##..#.....#.#...#
....#.#.........#..............
#.##.##...#..#.#.#.....#...#.##
#...#...#......#...........##..
#.#.#......#............#.#....
.#.#..######...#.#.........#.##
..#.#..#...#......#............
....#.....#......##..#.....#...
.##............#....##..#......
.#.#.#...#.##.............###.#
#.#...#...#.....#....#.#.#.....
........#..#......##.##.#.....#
.....#.....#.#####...#....#....
.#...#......#.........#.#......
...#...#..##.....##....#..#....
....#....##..#.........#.......
..#........##..#.#........#....
...#...##...........#...#....#.
.....##.........#..#....#..#.#.
#..#....##..#...##.....#..##.#.
..#.#.#.#...#...#.....#.#....#.
.......#.###...#.#.......#.#...
....#..#..#.###.#.....###..#.#.
.#..##......#..#..#....#.####..
..##...........#...#.........#.
......#..#...#..........#......
....#..........#......##...#...
....#..#.##........#.#...##.#..
#.##......#........##.#...#...#
#..#....#.....###........##....
...........##.....##..#....#.##
..#....#..#..#......#.#.....#..
#....#.##....#.....##.......#..
.#.....#.#..............#.##..#
.#..#..#...#...#....#.#.....#..
...###...##.#...#..#........#..
#...#.##.#.....#.#....#..#.....
#.....###.#.......#.#..#.#..##.
....#..#..##.......###.#...#...
.#...####...............#.....#
.#.##.#.....#.....#.#......##.#
#...........#.##....###.##....#
...............#..........#....
.....#..#.##.###.#.............
...##.............#.....#.#..#.
....#.#...#.#..#..#..#....#....
..#.......#..........#...#...#.
...............#.#.#...###....#
....#...#.##....#..##....#.....
........#.#.##.........##.##.##
#.....###.......#.#....#..#..##
.#..#...#......#.#..##.......#.
#.....#.#........#.##..#..#....
.###..##.#.......#......###....
.#...###.....#.....#....###...#
........##.##......#.#....#...#
.#....#..#.........#..##...##..
.......#.......##.#..#..##.....
#..##..##......#.#......#.##...
..#..###..#...#....#..#...#....
#.............#.####.........##
..#..................#...#..#..
..#......#........##.......#.#.
.#.#.#.#..###.....#....#.#.....
...#.##.###.......#....#.......
................##...#.....#...
..#.###.#...#.####....#..#..#..
..#....###....##..#.#.........#
.#..#.#.....#........#....##...
.....#..#......#..#..##.#.#....
.#..#.........##....##......#..
.....#.#...#...#.#...#.#...#.#.
..#..#...#...#...##.#..###.....
..#..##......#..##.#...##......
.......#..##....##.#......#..#.
..#......#.#.....#.##....##....
..#....#......#......##........
....##.#.#....#.......#.##.....
#.....#...###....#....#...#....
............#.#..#...#...#..#..
..##.............##....#.......
.#.......#.##.#......#....##...
...##............#....#..#...#.
.##.####.....#.#..###.#....#.##
....##.#........#..#...#.......
...#...###.##...........##..#..
..##..##....#...#..#..........#
..#.........#.#...##..........#
.......##....#.#...##.....#..#.
.............#.....#.#.......#.
#.......#..##..##...##.#.......
..............#.....#.#..#...##
........##..#.....#...#...#.#..
###.#.................#........
...#........#...#.#######..#..#
...#.##...##.#.#..######...#...
#.......#..#....#..#.##.....#..
#..#....##....#.##.......#....#
#...#..#.#.#...#..#.##..#......
....#..##....#..#.#...........#
.##..#.#.............###.......
#....##......#..#..#.....###...
..#..........#...###.#.........
.####......#....#......#.#....#
..#....#.#.#......#....#.......
.....#.....#....#....#####....#
.##..........#...#.###....#....
....##.....##......#...#.#.....
.#...#...#..#.#.#...#####......
...#.##..####.##.##.......##...
............#.......#..........
.#..##.#..#####........#..#...#
#......##..##..##.........##...
....#....#.............#.#....#
###..#.....#.....#.#...#..#.###
#...#.......##......#....#.#.#.
...#......#..#...#....#...###.#
....#....##.......#....#......#
............#......##.##.....#.
...#.........#......#....##..##
.....##....##...#..###...#..#..
.......##.#..........#.##.##...
....##...........#.#..#..#.##.#
#...#..##.##.#....#....#.#.....
...##.#.....#..#..#..###....##.
#.##.#..#..#.#.............#...
..#.#.............###.....#....
...#..#....#..#.....#.#..#..#..
...#.....##.#...........#..##.#
.........#.#.##..#..#.#...#....
...#..##..#...#...###.##.#..#..
.#..##...##......##..##........
......##....##.#.##.#.#........
...#..................#.....#..
.##................#.#..#..###.
.##.##.....#................#..
.....#.#..........#...#..#.#..#
.............#......#..#.#..#..
...#...##..#........#....#.....
#......#........##.##...##.....
##..#..##....#...#............#
..##..##.##....##..##........#.
...#....#.#.#.#....#.#...##....
....#...##..##.#.##...#..#...#.
#..#....##.#.....#.......#...##
##.#....#.............#..#.....
.##..#..#.#.....#.......#.#..#.
.......#..#...##...#...###..#..
..........#...#.#..##.....#...#
..#....#...........#####....#..
#....#..#.......##.............
.........##..#####.......##....
#..#..........#.....###...#..#.
.#.#.#..#...#.......##...#####.
.....#....#.###...#.......#....
#.#.....##...###....###....#...
.#.....#..#.#.#........#...#...
.##.#.#.#......#....###....#...
.#..##..####......###......#...
......#.#.#.#.#...#...####.##..
.#........##..#.....#....#....#
.....###......##..#....#.......
#.#.##...#.#......###..........
........#.#...#..#......#....#.
..##...##.........#.......#.#..
..#.##....#...##.....#.###.....
.........#..#.#....#....#.#.##.
#.........#......#..#.......#..
...#...##.......#.........#....
............#......#...........
##.....#.....#.#...#.....#.....
..#.#...#..#...#.#...........#.
#.#.#..#..#...##.#...#.#.....#.
.#..###.#..##.#.....#.....#....
##....##....#.......##..##.....
.#..#...........###..........#.
.#..#..#..........###..#.......
#..###......#............##...#
#......#........#..#..#..#.#...
.......#.###...#.##............
.##....#.......#.#...##.....#.#
....#..#.#.......#.#...........
##....#.###.#....#.#..##.#....#
..#..#..#....#...#........##...
...#...##....#..#.#...#..#.....
......#..#......#....#.......#.
#.#..............#...###...#..#
...#....#..#..........#.#...#..
#.....##..##.....#........#....
.#...##..#.#..............#....
##.#....#..##...#..#.####.#..#.
.....#.......#.#.#.#..#.....###
...#.##....#.#........##.......
#...#.#...#.#..###..##.##...#.#
###..............#.#.###.......
...###..#.#..#....##...###.#...
......##...........#...#..#...#
.#..#.........##.......#..#...#
.#.......###......##...#...#...
.#......##...#........#.......#
.#..#.....#.........#.#........
#...#.#.....#...#..##.........#
......##.#......##.#..##.#.....
...............#.#..#....#....#
#....#..#..#..#.#.....##...##..
#.#......#.###......#..#...####
.#.#..#...#...#.#..#.##.##.#.#.
.....#.#...###...#.#.....##....
...#..#.#..........##.#....#.#.
...#..#.#.##.....###.##.#....#.
..........#..###......#..#.#...
###.....#..###..#...#..###.#...
..#..#.....##.#.#..###.......#.
....#....##........##..........
.......#..........#...#......#.
.#........#.#.#.#.#.......#....
.#..#.......##..##....#.#...#..
.#.#.#.......#..#..............
#.#....#.#...#.#.#.....#.#...##
.....#..........##..#.......#..
.##......#.#....#.#.......#....
..#.##....#.##.#...#...........
...##......##..##.............#
..........##.#.#..#..........#.
.##....#..#..#.#....##.#...#.#.
...........#....#.....#.#..#...
.#.....#....##..#.........#....
.....#.....#...#....#...#.###.#
..#....#....#.....#...#......#.
.....##..#.............#...#...
........#..#.......#.#.......#.
#...###..#.##.#...###...##..##.
....##..#.......#...#.#........
.#...#.#.##....####........#..#
.#...#.#.####.##.#.............
#..##...#....#...#.#.#.#.##..#.
.#.......#........#.....###....
#.#.....#....#..#....#..#....#.
...#..#...#.....#.........##...
.#....#......###...#....#.#.#..
#.#........#......#...#....##..
.....#..#......#..#..#......#..
.#.....#..#.##.#.#.#...#......#
##........#..#.#..#...#.####...
..........##....#.#..#.#....#..
#.##..#..#....#..#....##..#.#.#
..#......#.......#...##..#.....
##...#.........#......#......#.
.#.....................#..#.##.
.#.......#........#.#.#..##.#..
..#..........#........#..##.#..
.#...#...#.........##.#.#.#....
....#....#.###.#....###....#.##
....##......##........##.#.##..
....#.#......#.##.#...#.##.....
....#....#..#.#..###.#.#.......
....#......#..#.#.......#..##..
.....#..#.#.##.##..##.....#.#..
...#....................##.....
#.....#...##...#.#.............
..#.#...#.#.#.....##..#....#...

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,933 @@
BBBFBFFRLR
BFFFFFFRLL
BFBBBBFLLL
BBFBFFFRRR
BBBFBFBRLR
FBFFBBBLRL
FBFFBFFRRL
FFBBFFFRRL
BBBFBFBLLL
BBBBFFFLLR
FBBFFBFRRR
BFFFBBBLRR
FFBBFFBRLR
FFBFFBFRRL
BBBBFBFRLL
BBBBBFFLRL
FFBBBFBRRR
FFFBBBFLLR
FFBFFBBLRL
FBBFBBFLRL
FFBBBBFRRR
BFBFBFFRLL
BBFBFFFLLL
FFFBBBFRRL
BBFFBFBRLL
FBFBFBFLLL
BBFFFFBLRR
FFBBBFFRRL
FFFBFBBLRL
FBBFBBBLLL
BBFBFFBRLR
FBFBFBBRLL
FFFBBFBLRL
FFBFFBFLRR
BBFBBBFRRL
BBFBBFBLLR
BBFBBBFRLL
BFFBBBBRLR
FBFBFBBRLR
FBBBFFBRRR
FBBBFBFLLR
FFBFBBFLRL
BFBFBFBRLL
BFFFBFBLRR
FFBBBFBRLR
BBFBFFBLRR
BFFFFBBLLL
BFFFFBFLLR
FBFBBBBRLR
BBFFBBFLRL
BFBFFBBRLR
FFFBFBFRLL
BFFFBBFRRL
BBFBFBFRLL
BFBFFFFRRL
FFBFBBBRLR
FBBFFFFLRR
FBFBBFBRLR
BBFFBFFLRR
BBBFFBFLRR
BFFFFFBRLR
FBBFFFBRRL
BFFFB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