├── .editorconfig ├── .gitignore ├── LICENSE ├── README.md ├── build.gradle.kts ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── input └── day01 ├── settings.gradle.kts └── src └── main └── kotlin └── de.nwex.adventofcode └── Day01.kt /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_size = 4 8 | indent_style = space 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | .idea 3 | 4 | *.class 5 | 6 | .gradle 7 | **/build/ 8 | 9 | !gradle-wrapper.jar 10 | !gradle-wrapper.properties 11 | 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 2-Clause License 2 | 3 | Copyright (c) 2022, networkException 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 17 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 20 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 22 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 23 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AdventOfCode 2 | 3 | networkException's Advent of Code solutions 4 | 5 | ## 2022 6 | 7 | [![About](https://img.shields.io/badge/Advent%20of%20Code-About-E50000)](https://adventofcode.com/2022/about) 8 | [![Days completed](https://img.shields.io/badge/Days%20completed-1-FF8D00)](https://github.com/networkException/AdventOfCode) 9 | [![Stars](https://img.shields.io/badge/Stars-2-FFEE00)](https://github.com/networkException/AdventOfCode) 10 | [![Language](https://img.shields.io/badge/Language-Kotlin-028121)](https://kotlinlang.org/) 11 | ![Environment](https://img.shields.io/badge/Environment-JVM-004cff) 12 | [![License: BSD-2-Clause](https://img.shields.io/badge/License-BSD--2--Clause-770088.svg)](https://spdx.org/licenses/BSD-2-Clause.html) 13 | 14 | ### Check out other solutions 15 | 16 | + Andreas Kohler's [git.schmarrn.dev/andi/aoc2022](https://git.schmarrn.dev/andi/aoc2022) using `Rust` 17 | + Daan Breur's [github.com/daanbreur/AdventofCode/rust2022](https://github.com/daanbreur/AdventofCode/tree/master/rust2022) using `Rust` 18 | + Gewi413's [github.com/Gewi413/AdventOfCode#2022](https://github.com/Gewi413/AdventOfCode/tree/2022) using `Kotlin` 19 | + Hax's [github.com/Schlauer-Hax/advent-of-code](https://github.com/Schlauer-Hax/advent-of-code) using `TypeScript` and `Java` 20 | + Jonas' [github.com/J0B10/AOC-2022](https://github.com/J0B10/AOC-2022) 21 | + LeMoonStar's [git.unitcore.de/LeMoonStar/AoC22](https://git.unitcore.de/LeMoonStar/AoC22) using `Rust` 22 | + Niklas' [github.com/derNiklaas/Advent-of-Code-2022](https://github.com/derNiklaas/Advent-of-Code-2022) using `Kotlin` 23 | + Sammy's [github.com/1Turtle/AdventofCode/2022](https://github.com/1Turtle/AdventOfCode/tree/main/2022) using `Lua` 24 | + Trojaner's [github.com/TrojanerHD/AdventofCode2022](https://github.com/TrojanerHD/AdventofCode2022) using `TypeScript` 25 | + noeppi_noeppi's [github.com/noeppi-noeppi/aoc#2022](https://github.com/noeppi-noeppi/aoc/tree/master/2022) using a different language every day 26 | 27 | ## Previous years 28 | 29 | Previous solutions can be found on different branches in this repository: 30 | 31 | + [github.com/networkException/AdventOfCode#2019](https://github.com/networkException/AdventOfCode/tree/2019) using `Java` 32 | + [github.com/networkException/AdventOfCode#2020](https://github.com/networkException/AdventOfCode/tree/2020) using `TypeScript` 33 | + [github.com/networkException/AdventOfCode#2021](https://github.com/networkException/AdventOfCode/tree/2021) using `TypeScript` 34 | -------------------------------------------------------------------------------- /build.gradle.kts: -------------------------------------------------------------------------------- 1 | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile 2 | 3 | plugins { 4 | kotlin("jvm") version "1.7.20" 5 | application 6 | } 7 | 8 | group = "de.nwex" 9 | version = "1.0-SNAPSHOT" 10 | 11 | repositories { 12 | mavenCentral() 13 | } 14 | 15 | dependencies { 16 | testImplementation(kotlin("test")) 17 | implementation(kotlin("stdlib-jdk8")) 18 | implementation(kotlin("script-runtime")) 19 | } 20 | 21 | tasks.test { 22 | useJUnitPlatform() 23 | } 24 | 25 | tasks.withType { 26 | kotlinOptions.jvmTarget = "1.8" 27 | } 28 | 29 | application { 30 | mainClass.set("MainKt") 31 | } 32 | 33 | val compileKotlin: KotlinCompile by tasks 34 | compileKotlin.kotlinOptions { 35 | jvmTarget = "1.8" 36 | } 37 | 38 | val compileTestKotlin: KotlinCompile by tasks 39 | compileTestKotlin.kotlinOptions { 40 | jvmTarget = "1.8" 41 | } 42 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.code.style=official 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/networkException/AdventOfCode/17bd95c092f8f931cfef6f0cc54aa77473b9f4de/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Copyright © 2015-2021 the original authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | # 21 | # Gradle start up script for POSIX generated by Gradle. 22 | # 23 | # Important for running: 24 | # 25 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is 26 | # noncompliant, but you have some other compliant shell such as ksh or 27 | # bash, then to run this script, type that shell name before the whole 28 | # command line, like: 29 | # 30 | # ksh Gradle 31 | # 32 | # Busybox and similar reduced shells will NOT work, because this script 33 | # requires all of these POSIX shell features: 34 | # * functions; 35 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», 36 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»; 37 | # * compound commands having a testable exit status, especially «case»; 38 | # * various built-in commands including «command», «set», and «ulimit». 39 | # 40 | # Important for patching: 41 | # 42 | # (2) This script targets any POSIX shell, so it avoids extensions provided 43 | # by Bash, Ksh, etc; in particular arrays are avoided. 44 | # 45 | # The "traditional" practice of packing multiple parameters into a 46 | # space-separated string is a well documented source of bugs and security 47 | # problems, so this is (mostly) avoided, by progressively accumulating 48 | # options in "$@", and eventually passing that to Java. 49 | # 50 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, 51 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; 52 | # see the in-line comments for details. 53 | # 54 | # There are tweaks for specific operating systems such as AIX, CygWin, 55 | # Darwin, MinGW, and NonStop. 56 | # 57 | # (3) This script is generated from the Groovy template 58 | # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 59 | # within the Gradle project. 60 | # 61 | # You can find Gradle at https://github.com/gradle/gradle/. 62 | # 63 | ############################################################################## 64 | 65 | # Attempt to set APP_HOME 66 | 67 | # Resolve links: $0 may be a link 68 | app_path=$0 69 | 70 | # Need this for daisy-chained symlinks. 71 | while 72 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path 73 | [ -h "$app_path" ] 74 | do 75 | ls=$( ls -ld "$app_path" ) 76 | link=${ls#*' -> '} 77 | case $link in #( 78 | /*) app_path=$link ;; #( 79 | *) app_path=$APP_HOME$link ;; 80 | esac 81 | done 82 | 83 | APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit 84 | 85 | APP_NAME="Gradle" 86 | APP_BASE_NAME=${0##*/} 87 | 88 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 89 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 90 | 91 | # Use the maximum available, or set MAX_FD != -1 to use that value. 92 | MAX_FD=maximum 93 | 94 | warn () { 95 | echo "$*" 96 | } >&2 97 | 98 | die () { 99 | echo 100 | echo "$*" 101 | echo 102 | exit 1 103 | } >&2 104 | 105 | # OS specific support (must be 'true' or 'false'). 106 | cygwin=false 107 | msys=false 108 | darwin=false 109 | nonstop=false 110 | case "$( uname )" in #( 111 | CYGWIN* ) cygwin=true ;; #( 112 | Darwin* ) darwin=true ;; #( 113 | MSYS* | MINGW* ) msys=true ;; #( 114 | NONSTOP* ) nonstop=true ;; 115 | esac 116 | 117 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 118 | 119 | 120 | # Determine the Java command to use to start the JVM. 121 | if [ -n "$JAVA_HOME" ] ; then 122 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 123 | # IBM's JDK on AIX uses strange locations for the executables 124 | JAVACMD=$JAVA_HOME/jre/sh/java 125 | else 126 | JAVACMD=$JAVA_HOME/bin/java 127 | fi 128 | if [ ! -x "$JAVACMD" ] ; then 129 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 130 | 131 | Please set the JAVA_HOME variable in your environment to match the 132 | location of your Java installation." 133 | fi 134 | else 135 | JAVACMD=java 136 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 137 | 138 | Please set the JAVA_HOME variable in your environment to match the 139 | location of your Java installation." 140 | fi 141 | 142 | # Increase the maximum file descriptors if we can. 143 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 144 | case $MAX_FD in #( 145 | max*) 146 | MAX_FD=$( ulimit -H -n ) || 147 | warn "Could not query maximum file descriptor limit" 148 | esac 149 | case $MAX_FD in #( 150 | '' | soft) :;; #( 151 | *) 152 | ulimit -n "$MAX_FD" || 153 | warn "Could not set maximum file descriptor limit to $MAX_FD" 154 | esac 155 | fi 156 | 157 | # Collect all arguments for the java command, stacking in reverse order: 158 | # * args from the command line 159 | # * the main class name 160 | # * -classpath 161 | # * -D...appname settings 162 | # * --module-path (only if needed) 163 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. 164 | 165 | # For Cygwin or MSYS, switch paths to Windows format before running java 166 | if "$cygwin" || "$msys" ; then 167 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) 168 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) 169 | 170 | JAVACMD=$( cygpath --unix "$JAVACMD" ) 171 | 172 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 173 | for arg do 174 | if 175 | case $arg in #( 176 | -*) false ;; # don't mess with options #( 177 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath 178 | [ -e "$t" ] ;; #( 179 | *) false ;; 180 | esac 181 | then 182 | arg=$( cygpath --path --ignore --mixed "$arg" ) 183 | fi 184 | # Roll the args list around exactly as many times as the number of 185 | # args, so each arg winds up back in the position where it started, but 186 | # possibly modified. 187 | # 188 | # NB: a `for` loop captures its iteration list before it begins, so 189 | # changing the positional parameters here affects neither the number of 190 | # iterations, nor the values presented in `arg`. 191 | shift # remove old arg 192 | set -- "$@" "$arg" # push replacement arg 193 | done 194 | fi 195 | 196 | # Collect all arguments for the java command; 197 | # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of 198 | # shell script including quotes and variable substitutions, so put them in 199 | # double quotes to make sure that they get re-expanded; and 200 | # * put everything else in single quotes, so that it's not re-expanded. 201 | 202 | set -- \ 203 | "-Dorg.gradle.appname=$APP_BASE_NAME" \ 204 | -classpath "$CLASSPATH" \ 205 | org.gradle.wrapper.GradleWrapperMain \ 206 | "$@" 207 | 208 | # Use "xargs" to parse quoted args. 209 | # 210 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. 211 | # 212 | # In Bash we could simply go: 213 | # 214 | # readarray ARGS < <( xargs -n1 <<<"$var" ) && 215 | # set -- "${ARGS[@]}" "$@" 216 | # 217 | # but POSIX shell has neither arrays nor command substitution, so instead we 218 | # post-process each arg (as a line of input to sed) to backslash-escape any 219 | # character that might be a shell metacharacter, then use eval to reverse 220 | # that process (while maintaining the separation between arguments), and wrap 221 | # the whole thing up as a single "set" statement. 222 | # 223 | # This will of course break if any of these variables contains a newline or 224 | # an unmatched quote. 225 | # 226 | 227 | eval "set -- $( 228 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | 229 | xargs -n1 | 230 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | 231 | tr '\n' ' ' 232 | )" '"$@"' 233 | 234 | exec "$JAVACMD" "$@" 235 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%" == "" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%" == "" set DIRNAME=. 29 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /input/day01: -------------------------------------------------------------------------------- 1 | 4514 2 | 8009 3 | 6703 4 | 1811 5 | 4881 6 | 3905 7 | 3933 8 | 9436 9 | 4332 10 | 11 | 3059 12 | 15715 13 | 11597 14 | 10625 15 | 8486 16 | 17 | 4556 18 | 10613 19 | 4087 20 | 11287 21 | 12020 22 | 1412 23 | 24 | 5320 25 | 9757 26 | 10646 27 | 7373 28 | 1197 29 | 3486 30 | 4359 31 | 32 | 16319 33 | 22687 34 | 5272 35 | 36 | 6167 37 | 2478 38 | 4950 39 | 5513 40 | 6113 41 | 2739 42 | 6805 43 | 4488 44 | 6555 45 | 2752 46 | 47 | 2198 48 | 2528 49 | 3432 50 | 2218 51 | 3283 52 | 1400 53 | 1932 54 | 3438 55 | 1834 56 | 1050 57 | 4766 58 | 5218 59 | 3033 60 | 3410 61 | 62 | 3362 63 | 2773 64 | 6782 65 | 7416 66 | 5388 67 | 5419 68 | 4628 69 | 8877 70 | 71 | 2852 72 | 7531 73 | 6028 74 | 8068 75 | 3942 76 | 9388 77 | 8053 78 | 6334 79 | 6099 80 | 81 | 2086 82 | 3097 83 | 2914 84 | 3087 85 | 7500 86 | 1718 87 | 1482 88 | 6198 89 | 2057 90 | 7098 91 | 7464 92 | 93 | 4522 94 | 4306 95 | 1906 96 | 6692 97 | 1273 98 | 3851 99 | 6475 100 | 1186 101 | 6012 102 | 2456 103 | 2414 104 | 5740 105 | 106 | 12352 107 | 14613 108 | 4339 109 | 1259 110 | 3363 111 | 112 | 5505 113 | 5913 114 | 6539 115 | 4164 116 | 10864 117 | 8085 118 | 4962 119 | 120 | 5427 121 | 3232 122 | 6945 123 | 4536 124 | 6549 125 | 2299 126 | 4450 127 | 2130 128 | 3757 129 | 130 | 8546 131 | 3303 132 | 9097 133 | 2356 134 | 3155 135 | 1122 136 | 6978 137 | 3389 138 | 139 | 55471 140 | 141 | 3774 142 | 7631 143 | 2208 144 | 11171 145 | 5316 146 | 1342 147 | 5328 148 | 149 | 10879 150 | 9002 151 | 11257 152 | 3581 153 | 7878 154 | 10258 155 | 156 | 2577 157 | 1797 158 | 5983 159 | 11497 160 | 3851 161 | 162 | 4420 163 | 5333 164 | 4281 165 | 6978 166 | 2230 167 | 2658 168 | 4337 169 | 3238 170 | 7724 171 | 7813 172 | 7326 173 | 174 | 1907 175 | 1190 176 | 6038 177 | 6109 178 | 4484 179 | 5432 180 | 6124 181 | 7755 182 | 8056 183 | 7040 184 | 185 | 1782 186 | 1645 187 | 6918 188 | 3525 189 | 2147 190 | 6923 191 | 7008 192 | 9695 193 | 194 | 3026 195 | 5366 196 | 2607 197 | 6065 198 | 3997 199 | 2859 200 | 2836 201 | 5214 202 | 5599 203 | 3201 204 | 3666 205 | 1140 206 | 4597 207 | 5899 208 | 4111 209 | 210 | 9757 211 | 25752 212 | 21486 213 | 214 | 16745 215 | 216 | 3571 217 | 8001 218 | 7104 219 | 4253 220 | 1833 221 | 1393 222 | 6105 223 | 2036 224 | 7697 225 | 1066 226 | 6702 227 | 228 | 2358 229 | 4265 230 | 1826 231 | 5129 232 | 1598 233 | 1630 234 | 3271 235 | 2349 236 | 5261 237 | 3496 238 | 4495 239 | 6875 240 | 3404 241 | 242 | 13904 243 | 4223 244 | 10247 245 | 3708 246 | 247 | 8961 248 | 13101 249 | 6896 250 | 11053 251 | 6335 252 | 11459 253 | 254 | 3948 255 | 4739 256 | 4888 257 | 5918 258 | 6229 259 | 5056 260 | 3039 261 | 1030 262 | 4181 263 | 1801 264 | 3716 265 | 2410 266 | 6056 267 | 4574 268 | 269 | 5960 270 | 8186 271 | 3660 272 | 3278 273 | 3355 274 | 1016 275 | 6297 276 | 6688 277 | 7784 278 | 4939 279 | 280 | 5957 281 | 2549 282 | 3045 283 | 8425 284 | 6900 285 | 7677 286 | 1393 287 | 7579 288 | 3975 289 | 2936 290 | 291 | 3063 292 | 5296 293 | 3958 294 | 5551 295 | 3848 296 | 3588 297 | 3143 298 | 1488 299 | 3876 300 | 7298 301 | 3819 302 | 2234 303 | 304 | 6478 305 | 5440 306 | 3993 307 | 7207 308 | 6141 309 | 7936 310 | 2209 311 | 1456 312 | 6417 313 | 5250 314 | 7690 315 | 316 | 5275 317 | 11944 318 | 2501 319 | 4200 320 | 11512 321 | 13862 322 | 323 | 2941 324 | 3403 325 | 5950 326 | 8661 327 | 1801 328 | 2843 329 | 5444 330 | 7960 331 | 4143 332 | 8379 333 | 334 | 6659 335 | 5257 336 | 2225 337 | 5243 338 | 4003 339 | 2186 340 | 5857 341 | 3417 342 | 1960 343 | 3984 344 | 4876 345 | 1728 346 | 347 | 2105 348 | 4101 349 | 4754 350 | 5537 351 | 4265 352 | 4678 353 | 2571 354 | 7662 355 | 3726 356 | 7258 357 | 3696 358 | 359 | 16882 360 | 7724 361 | 3065 362 | 5176 363 | 364 | 1721 365 | 3594 366 | 5892 367 | 2019 368 | 6036 369 | 5556 370 | 4327 371 | 3334 372 | 1035 373 | 6942 374 | 4931 375 | 4084 376 | 4900 377 | 378 | 10773 379 | 10294 380 | 7417 381 | 1277 382 | 9771 383 | 8885 384 | 6845 385 | 386 | 5226 387 | 388 | 9212 389 | 2019 390 | 2943 391 | 11833 392 | 13491 393 | 394 | 4581 395 | 5217 396 | 4441 397 | 2337 398 | 7312 399 | 5529 400 | 2051 401 | 2388 402 | 5011 403 | 4581 404 | 6601 405 | 406 | 3491 407 | 3984 408 | 4322 409 | 5689 410 | 2555 411 | 1377 412 | 5654 413 | 6410 414 | 4639 415 | 5354 416 | 3402 417 | 4174 418 | 2210 419 | 3610 420 | 421 | 4130 422 | 3186 423 | 6120 424 | 1344 425 | 8012 426 | 4477 427 | 5849 428 | 7346 429 | 7418 430 | 3218 431 | 7778 432 | 433 | 10429 434 | 14053 435 | 10551 436 | 8502 437 | 1986 438 | 439 | 7470 440 | 7166 441 | 11309 442 | 5186 443 | 444 | 8940 445 | 10132 446 | 19723 447 | 15079 448 | 449 | 6791 450 | 5344 451 | 2331 452 | 2805 453 | 7742 454 | 455 | 2569 456 | 7224 457 | 5140 458 | 3158 459 | 5542 460 | 2395 461 | 2265 462 | 2922 463 | 5806 464 | 6338 465 | 6020 466 | 3443 467 | 468 | 14741 469 | 4547 470 | 1076 471 | 4543 472 | 10298 473 | 474 | 2753 475 | 4049 476 | 6701 477 | 2333 478 | 2433 479 | 4979 480 | 5514 481 | 3981 482 | 6046 483 | 2043 484 | 6719 485 | 3367 486 | 6532 487 | 488 | 6962 489 | 2222 490 | 5696 491 | 7206 492 | 5679 493 | 4041 494 | 3633 495 | 1043 496 | 1466 497 | 7205 498 | 4116 499 | 500 | 10280 501 | 17862 502 | 17944 503 | 504 | 8670 505 | 5423 506 | 3849 507 | 2444 508 | 5010 509 | 5564 510 | 7740 511 | 4000 512 | 7893 513 | 1137 514 | 515 | 10887 516 | 16819 517 | 7692 518 | 519 | 4397 520 | 12537 521 | 11166 522 | 1875 523 | 10936 524 | 525 | 6103 526 | 6781 527 | 5699 528 | 1667 529 | 6727 530 | 2974 531 | 5056 532 | 3145 533 | 6834 534 | 4884 535 | 6476 536 | 2464 537 | 2679 538 | 539 | 15428 540 | 9750 541 | 24018 542 | 543 | 2093 544 | 3411 545 | 4917 546 | 2102 547 | 3586 548 | 5310 549 | 2243 550 | 4541 551 | 4379 552 | 5443 553 | 6747 554 | 3656 555 | 1647 556 | 557 | 21030 558 | 559 | 2750 560 | 5391 561 | 1101 562 | 5197 563 | 2594 564 | 5370 565 | 4769 566 | 5508 567 | 3809 568 | 1349 569 | 5034 570 | 1757 571 | 572 | 7071 573 | 19487 574 | 9131 575 | 576 | 9010 577 | 6017 578 | 11580 579 | 10571 580 | 3779 581 | 3131 582 | 583 | 65413 584 | 585 | 1043 586 | 9178 587 | 8975 588 | 1666 589 | 8470 590 | 2231 591 | 8461 592 | 8254 593 | 2384 594 | 595 | 7499 596 | 2336 597 | 4819 598 | 6472 599 | 2467 600 | 2726 601 | 6179 602 | 7218 603 | 3422 604 | 6760 605 | 606 | 21611 607 | 4384 608 | 15789 609 | 610 | 13272 611 | 1281 612 | 4032 613 | 12189 614 | 3263 615 | 2092 616 | 617 | 18944 618 | 22554 619 | 620 | 47475 621 | 622 | 11288 623 | 12498 624 | 5455 625 | 8375 626 | 15372 627 | 628 | 3279 629 | 7755 630 | 8865 631 | 8027 632 | 2351 633 | 2164 634 | 6867 635 | 3546 636 | 637 | 2579 638 | 2302 639 | 5728 640 | 1820 641 | 5623 642 | 4980 643 | 1335 644 | 6355 645 | 5561 646 | 6707 647 | 3067 648 | 3355 649 | 5091 650 | 651 | 9430 652 | 2156 653 | 5053 654 | 4895 655 | 4751 656 | 6864 657 | 9518 658 | 7626 659 | 5000 660 | 661 | 7678 662 | 4309 663 | 2919 664 | 8319 665 | 7905 666 | 1656 667 | 6704 668 | 7666 669 | 5962 670 | 671 | 9153 672 | 1759 673 | 1344 674 | 8101 675 | 3844 676 | 9197 677 | 5987 678 | 679 | 19110 680 | 9492 681 | 13663 682 | 5459 683 | 684 | 4112 685 | 1162 686 | 3983 687 | 5407 688 | 3246 689 | 2129 690 | 1940 691 | 3455 692 | 6758 693 | 2091 694 | 3272 695 | 2441 696 | 2344 697 | 698 | 3735 699 | 3057 700 | 6874 701 | 4785 702 | 6497 703 | 5610 704 | 2273 705 | 6636 706 | 2762 707 | 4467 708 | 2209 709 | 7048 710 | 711 | 2947 712 | 4945 713 | 6535 714 | 8432 715 | 9028 716 | 5316 717 | 8208 718 | 3277 719 | 720 | 3333 721 | 6548 722 | 4928 723 | 1360 724 | 1432 725 | 5972 726 | 4575 727 | 4121 728 | 6787 729 | 6775 730 | 5400 731 | 5156 732 | 733 | 33497 734 | 735 | 4871 736 | 5442 737 | 6829 738 | 2711 739 | 7851 740 | 5936 741 | 4290 742 | 3963 743 | 1208 744 | 6115 745 | 3705 746 | 747 | 8801 748 | 1239 749 | 9742 750 | 7859 751 | 4868 752 | 6162 753 | 3990 754 | 2116 755 | 756 | 3147 757 | 5970 758 | 1028 759 | 2024 760 | 1904 761 | 5983 762 | 1455 763 | 1935 764 | 6031 765 | 4448 766 | 4915 767 | 3576 768 | 5433 769 | 4070 770 | 771 | 5581 772 | 6684 773 | 2338 774 | 6998 775 | 3365 776 | 5190 777 | 5551 778 | 6858 779 | 7120 780 | 5143 781 | 1078 782 | 1636 783 | 784 | 1765 785 | 8124 786 | 3621 787 | 5502 788 | 3924 789 | 7906 790 | 6155 791 | 5973 792 | 6596 793 | 8697 794 | 795 | 30733 796 | 19954 797 | 798 | 1227 799 | 7285 800 | 8294 801 | 6285 802 | 2505 803 | 7283 804 | 3286 805 | 4547 806 | 5292 807 | 808 | 4767 809 | 1039 810 | 3045 811 | 4567 812 | 5790 813 | 1224 814 | 6805 815 | 3689 816 | 3941 817 | 2191 818 | 2509 819 | 1020 820 | 3261 821 | 822 | 1212 823 | 2241 824 | 2926 825 | 5704 826 | 4259 827 | 2251 828 | 2437 829 | 3531 830 | 3456 831 | 5574 832 | 4056 833 | 6020 834 | 2898 835 | 5057 836 | 1712 837 | 838 | 4532 839 | 5547 840 | 2323 841 | 10119 842 | 4161 843 | 4809 844 | 8820 845 | 7200 846 | 847 | 7563 848 | 2845 849 | 1564 850 | 7468 851 | 3533 852 | 8051 853 | 6130 854 | 7713 855 | 6149 856 | 4930 857 | 5070 858 | 859 | 6145 860 | 5654 861 | 4039 862 | 5029 863 | 3369 864 | 1330 865 | 1739 866 | 3554 867 | 2637 868 | 6281 869 | 4225 870 | 1559 871 | 2998 872 | 2723 873 | 874 | 46446 875 | 876 | 8785 877 | 1461 878 | 11831 879 | 4977 880 | 8704 881 | 882 | 5982 883 | 7195 884 | 2298 885 | 6440 886 | 4355 887 | 7439 888 | 6837 889 | 1879 890 | 5288 891 | 3602 892 | 4337 893 | 894 | 4272 895 | 12891 896 | 6936 897 | 11964 898 | 4734 899 | 4828 900 | 901 | 1052 902 | 5579 903 | 5328 904 | 1640 905 | 5256 906 | 1318 907 | 1956 908 | 6453 909 | 6553 910 | 5963 911 | 2472 912 | 2892 913 | 3800 914 | 915 | 2898 916 | 6365 917 | 1775 918 | 7440 919 | 5182 920 | 2004 921 | 4704 922 | 3905 923 | 7436 924 | 3530 925 | 3931 926 | 927 | 4344 928 | 4992 929 | 3707 930 | 2214 931 | 3295 932 | 4764 933 | 2093 934 | 1942 935 | 6040 936 | 2393 937 | 2269 938 | 4681 939 | 6905 940 | 941 | 1051 942 | 4442 943 | 1254 944 | 5438 945 | 4390 946 | 3861 947 | 1951 948 | 4766 949 | 5814 950 | 6431 951 | 1181 952 | 2224 953 | 5036 954 | 1744 955 | 956 | 3493 957 | 5462 958 | 1194 959 | 3328 960 | 3332 961 | 6818 962 | 5102 963 | 6050 964 | 1621 965 | 3951 966 | 5062 967 | 1546 968 | 4304 969 | 970 | 16366 971 | 17043 972 | 12935 973 | 9439 974 | 975 | 8140 976 | 1185 977 | 8723 978 | 3441 979 | 1914 980 | 6665 981 | 3641 982 | 1010 983 | 5197 984 | 5249 985 | 986 | 4795 987 | 19775 988 | 1502 989 | 9970 990 | 991 | 14246 992 | 11998 993 | 12677 994 | 5554 995 | 996 | 6733 997 | 6173 998 | 4063 999 | 2994 1000 | 4069 1001 | 4907 1002 | 3381 1003 | 5065 1004 | 3066 1005 | 1006 | 54029 1007 | 1008 | 6782 1009 | 5629 1010 | 3154 1011 | 6967 1012 | 11148 1013 | 8169 1014 | 4309 1015 | 1016 | 4985 1017 | 2096 1018 | 4220 1019 | 6338 1020 | 2578 1021 | 6504 1022 | 4693 1023 | 2296 1024 | 6020 1025 | 1914 1026 | 1027 | 12080 1028 | 7332 1029 | 1030 | 4018 1031 | 5543 1032 | 1011 1033 | 5775 1034 | 2445 1035 | 4643 1036 | 2569 1037 | 4049 1038 | 3815 1039 | 7059 1040 | 1041 | 2221 1042 | 5799 1043 | 2865 1044 | 3002 1045 | 5123 1046 | 4587 1047 | 2616 1048 | 2486 1049 | 6544 1050 | 3510 1051 | 2072 1052 | 5583 1053 | 1202 1054 | 1055 | 20977 1056 | 1057 | 3908 1058 | 1548 1059 | 3974 1060 | 3030 1061 | 6060 1062 | 5685 1063 | 3743 1064 | 3660 1065 | 3953 1066 | 3097 1067 | 2451 1068 | 5463 1069 | 4462 1070 | 4164 1071 | 2274 1072 | 1073 | 3237 1074 | 4155 1075 | 3878 1076 | 7280 1077 | 6806 1078 | 6805 1079 | 7709 1080 | 5390 1081 | 4532 1082 | 3508 1083 | 1084 | 13465 1085 | 10177 1086 | 12174 1087 | 6555 1088 | 1931 1089 | 13866 1090 | 1091 | 1512 1092 | 3659 1093 | 5765 1094 | 2869 1095 | 6385 1096 | 4182 1097 | 5526 1098 | 2050 1099 | 4933 1100 | 5630 1101 | 3493 1102 | 5995 1103 | 1425 1104 | 1105 | 4335 1106 | 8051 1107 | 6448 1108 | 6574 1109 | 2379 1110 | 2517 1111 | 1438 1112 | 4618 1113 | 4844 1114 | 7733 1115 | 7984 1116 | 1117 | 1932 1118 | 2692 1119 | 1778 1120 | 2317 1121 | 2987 1122 | 2215 1123 | 4493 1124 | 5474 1125 | 1650 1126 | 4271 1127 | 4190 1128 | 1644 1129 | 5670 1130 | 4252 1131 | 5986 1132 | 1133 | 33522 1134 | 20921 1135 | 1136 | 5651 1137 | 4826 1138 | 1265 1139 | 10823 1140 | 3532 1141 | 1639 1142 | 2232 1143 | 1144 | 2727 1145 | 3843 1146 | 4970 1147 | 4981 1148 | 1783 1149 | 6192 1150 | 5106 1151 | 1152 | 12982 1153 | 10479 1154 | 16306 1155 | 13041 1156 | 13679 1157 | 1158 | 4778 1159 | 2726 1160 | 1427 1161 | 6216 1162 | 5710 1163 | 6500 1164 | 5576 1165 | 4088 1166 | 5634 1167 | 4158 1168 | 4877 1169 | 2578 1170 | 1648 1171 | 1329 1172 | 1173 | 5413 1174 | 7572 1175 | 2190 1176 | 7615 1177 | 3608 1178 | 7678 1179 | 3041 1180 | 3741 1181 | 6610 1182 | 6334 1183 | 1904 1184 | 1185 | 8421 1186 | 5311 1187 | 6287 1188 | 9371 1189 | 5937 1190 | 2671 1191 | 2911 1192 | 1193 | 18350 1194 | 1195 | 4656 1196 | 2569 1197 | 1655 1198 | 4154 1199 | 3594 1200 | 6325 1201 | 1829 1202 | 3426 1203 | 3380 1204 | 2482 1205 | 6305 1206 | 5656 1207 | 1208 | 5623 1209 | 17111 1210 | 20624 1211 | 1212 | 6359 1213 | 1958 1214 | 6109 1215 | 6287 1216 | 10371 1217 | 9097 1218 | 5626 1219 | 10542 1220 | 1221 | 12287 1222 | 7358 1223 | 12173 1224 | 15289 1225 | 1312 1226 | 1227 | 9307 1228 | 12837 1229 | 7109 1230 | 3993 1231 | 13645 1232 | 9731 1233 | 1234 | 4890 1235 | 5584 1236 | 5799 1237 | 5199 1238 | 1682 1239 | 3814 1240 | 2759 1241 | 2885 1242 | 4446 1243 | 4133 1244 | 6358 1245 | 5576 1246 | 5748 1247 | 1337 1248 | 1249 | 3017 1250 | 4273 1251 | 9032 1252 | 6029 1253 | 4492 1254 | 5168 1255 | 9962 1256 | 7038 1257 | 1258 | 11137 1259 | 12665 1260 | 1261 | 21501 1262 | 32719 1263 | 1264 | 4835 1265 | 4078 1266 | 7345 1267 | 7417 1268 | 5831 1269 | 9642 1270 | 7545 1271 | 5471 1272 | 2139 1273 | 1274 | 1508 1275 | 1647 1276 | 8202 1277 | 6437 1278 | 10415 1279 | 9614 1280 | 1551 1281 | 2297 1282 | 1283 | 10258 1284 | 17370 1285 | 7027 1286 | 1287 | 2258 1288 | 10853 1289 | 14703 1290 | 3899 1291 | 1292 | 13138 1293 | 18278 1294 | 11380 1295 | 11330 1296 | 1297 | 5362 1298 | 12051 1299 | 8062 1300 | 11651 1301 | 15184 1302 | 1303 | 7649 1304 | 9430 1305 | 5594 1306 | 4730 1307 | 4759 1308 | 5352 1309 | 11025 1310 | 1311 | 1001 1312 | 2798 1313 | 13426 1314 | 11713 1315 | 2081 1316 | 13053 1317 | 1318 | 4407 1319 | 1829 1320 | 3318 1321 | 1176 1322 | 3629 1323 | 5444 1324 | 3213 1325 | 6697 1326 | 5679 1327 | 6891 1328 | 3961 1329 | 6360 1330 | 1441 1331 | 1332 | 7428 1333 | 15180 1334 | 14117 1335 | 1510 1336 | 12963 1337 | 1338 | 3321 1339 | 3320 1340 | 2099 1341 | 2471 1342 | 3159 1343 | 1508 1344 | 1542 1345 | 4700 1346 | 4859 1347 | 1510 1348 | 5183 1349 | 2905 1350 | 1609 1351 | 5611 1352 | 3370 1353 | 1354 | 8936 1355 | 18333 1356 | 18055 1357 | 9369 1358 | 1359 | 7383 1360 | 6409 1361 | 1184 1362 | 6878 1363 | 7108 1364 | 2568 1365 | 5374 1366 | 7258 1367 | 5462 1368 | 7207 1369 | 2211 1370 | 6164 1371 | 1372 | 3675 1373 | 1118 1374 | 6252 1375 | 4861 1376 | 6231 1377 | 2161 1378 | 5556 1379 | 4454 1380 | 5419 1381 | 2729 1382 | 5963 1383 | 3351 1384 | 3544 1385 | 1386 | 2060 1387 | 7574 1388 | 6969 1389 | 2968 1390 | 4316 1391 | 5487 1392 | 2261 1393 | 1375 1394 | 1796 1395 | 7321 1396 | 1397 | 2708 1398 | 10030 1399 | 4543 1400 | 2573 1401 | 4708 1402 | 1342 1403 | 10369 1404 | 10452 1405 | 1406 | 25141 1407 | 19156 1408 | 10265 1409 | 1410 | 2291 1411 | 3072 1412 | 6329 1413 | 6608 1414 | 6437 1415 | 2654 1416 | 5965 1417 | 1873 1418 | 6091 1419 | 6377 1420 | 3098 1421 | 3708 1422 | 3983 1423 | 1424 | 3047 1425 | 8364 1426 | 4720 1427 | 1678 1428 | 1720 1429 | 8052 1430 | 6597 1431 | 2818 1432 | 7694 1433 | 7541 1434 | 1435 | 7453 1436 | 7491 1437 | 5792 1438 | 4864 1439 | 1486 1440 | 2471 1441 | 7657 1442 | 5603 1443 | 3222 1444 | 5398 1445 | 4459 1446 | 1447 | 3768 1448 | 3173 1449 | 1690 1450 | 2872 1451 | 4294 1452 | 5843 1453 | 5425 1454 | 5110 1455 | 1988 1456 | 1660 1457 | 6431 1458 | 3632 1459 | 4896 1460 | 2094 1461 | 1462 | 2685 1463 | 6829 1464 | 6302 1465 | 1294 1466 | 5920 1467 | 6517 1468 | 6218 1469 | 4705 1470 | 4098 1471 | 6474 1472 | 2341 1473 | 1907 1474 | 1475 | 5531 1476 | 23363 1477 | 22143 1478 | 1479 | 17140 1480 | 13864 1481 | 7305 1482 | 13004 1483 | 1484 | 1924 1485 | 2874 1486 | 1231 1487 | 4930 1488 | 2131 1489 | 3807 1490 | 5767 1491 | 5536 1492 | 1716 1493 | 1084 1494 | 2675 1495 | 3694 1496 | 3267 1497 | 2248 1498 | 2655 1499 | 1500 | 9692 1501 | 2588 1502 | 6897 1503 | 10903 1504 | 2978 1505 | 1506 | 3149 1507 | 8346 1508 | 3871 1509 | 1283 1510 | 3229 1511 | 7102 1512 | 6218 1513 | 8464 1514 | 6478 1515 | 6861 1516 | 1517 | 5967 1518 | 3879 1519 | 2451 1520 | 3677 1521 | 4833 1522 | 3397 1523 | 5966 1524 | 2456 1525 | 3384 1526 | 6944 1527 | 5076 1528 | 1529 | 14894 1530 | 18504 1531 | 14068 1532 | 1686 1533 | 1534 | 3125 1535 | 1927 1536 | 1998 1537 | 5447 1538 | 1736 1539 | 4314 1540 | 3658 1541 | 3604 1542 | 3974 1543 | 2081 1544 | 5045 1545 | 3374 1546 | 3999 1547 | 2334 1548 | 1141 1549 | 1550 | 7064 1551 | 13794 1552 | 1553 | 9500 1554 | 2963 1555 | 2683 1556 | 7601 1557 | 5231 1558 | 1168 1559 | 6598 1560 | 8435 1561 | 4459 1562 | 1563 | 1551 1564 | 3535 1565 | 5559 1566 | 3981 1567 | 2449 1568 | 5891 1569 | 1862 1570 | 4689 1571 | 6438 1572 | 2998 1573 | 5800 1574 | 3080 1575 | 3931 1576 | 5084 1577 | 1578 | 2977 1579 | 4986 1580 | 1241 1581 | 2931 1582 | 5795 1583 | 2783 1584 | 2643 1585 | 1917 1586 | 1246 1587 | 3664 1588 | 1974 1589 | 1619 1590 | 5715 1591 | 5610 1592 | 3614 1593 | 1594 | 29617 1595 | 32230 1596 | 1597 | 6879 1598 | 11068 1599 | 6443 1600 | 7504 1601 | 8107 1602 | 13469 1603 | 1604 | 10186 1605 | 22380 1606 | 1607 | 4308 1608 | 5637 1609 | 4183 1610 | 5385 1611 | 4857 1612 | 2530 1613 | 5744 1614 | 5698 1615 | 5974 1616 | 1331 1617 | 1545 1618 | 1817 1619 | 4727 1620 | 1621 | 15946 1622 | 21142 1623 | 16286 1624 | 1625 | 1355 1626 | 4589 1627 | 2441 1628 | 4682 1629 | 4249 1630 | 7641 1631 | 6701 1632 | 7947 1633 | 6846 1634 | 3037 1635 | 3281 1636 | 1637 | 2827 1638 | 4389 1639 | 15815 1640 | 17784 1641 | 1642 | 5460 1643 | 5000 1644 | 18466 1645 | 1646 | 2896 1647 | 7920 1648 | 1294 1649 | 3749 1650 | 3284 1651 | 11674 1652 | 10546 1653 | 1654 | 9645 1655 | 3616 1656 | 5426 1657 | 5033 1658 | 6267 1659 | 5149 1660 | 2317 1661 | 7252 1662 | 1663 | 11261 1664 | 7599 1665 | 7070 1666 | 11079 1667 | 12583 1668 | 9632 1669 | 1670 | 5003 1671 | 3675 1672 | 2638 1673 | 4788 1674 | 6358 1675 | 5844 1676 | 3350 1677 | 5636 1678 | 1390 1679 | 2913 1680 | 2232 1681 | 5648 1682 | 5939 1683 | 4955 1684 | 1685 | 12306 1686 | 24639 1687 | 21554 1688 | 1689 | 4949 1690 | 7026 1691 | 4490 1692 | 2871 1693 | 5707 1694 | 1733 1695 | 6263 1696 | 3539 1697 | 1017 1698 | 3931 1699 | 6667 1700 | 7220 1701 | 1702 | 50107 1703 | 1704 | 1353 1705 | 18516 1706 | 16760 1707 | 17546 1708 | 1709 | 17547 1710 | 18508 1711 | 12691 1712 | 16655 1713 | 1714 | 10956 1715 | 2619 1716 | 3158 1717 | 5111 1718 | 4375 1719 | 6522 1720 | 8374 1721 | 1722 | 3719 1723 | 2133 1724 | 4951 1725 | 6984 1726 | 2470 1727 | 6827 1728 | 5425 1729 | 2317 1730 | 1196 1731 | 1167 1732 | 1082 1733 | 5110 1734 | 1735 | 1780 1736 | 4083 1737 | 2628 1738 | 1244 1739 | 2630 1740 | 1111 1741 | 1212 1742 | 4620 1743 | 1361 1744 | 4214 1745 | 5617 1746 | 1347 1747 | 2713 1748 | 5083 1749 | 2211 1750 | 1751 | 6596 1752 | 5657 1753 | 3296 1754 | 2932 1755 | 1807 1756 | 8779 1757 | 7052 1758 | 3786 1759 | 4635 1760 | 1777 1761 | 1762 | 1354 1763 | 5299 1764 | 6443 1765 | 5523 1766 | 4715 1767 | 5121 1768 | 7567 1769 | 6337 1770 | 5534 1771 | 1844 1772 | 4533 1773 | 1774 | 23322 1775 | 1210 1776 | 3150 1777 | 1778 | 2484 1779 | 1722 1780 | 8751 1781 | 3583 1782 | 3184 1783 | 5899 1784 | 1472 1785 | 2242 1786 | 2055 1787 | 8239 1788 | 1789 | 6447 1790 | 4108 1791 | 6164 1792 | 5512 1793 | 3711 1794 | 6093 1795 | 3813 1796 | 1251 1797 | 6188 1798 | 1785 1799 | 4931 1800 | 3077 1801 | 1802 | 9885 1803 | 9867 1804 | 5861 1805 | 2405 1806 | 6334 1807 | 10881 1808 | 3816 1809 | 1810 | 7650 1811 | 4178 1812 | 8336 1813 | 8110 1814 | 1777 1815 | 7897 1816 | 9552 1817 | 6168 1818 | 1819 | 3208 1820 | 5307 1821 | 4567 1822 | 1317 1823 | 4974 1824 | 5175 1825 | 3512 1826 | 3402 1827 | 4728 1828 | 5527 1829 | 5545 1830 | 3284 1831 | 5596 1832 | 4062 1833 | 1904 1834 | 1835 | 6032 1836 | 4154 1837 | 3490 1838 | 12546 1839 | 5649 1840 | 5270 1841 | 1842 | 6961 1843 | 4013 1844 | 4916 1845 | 4179 1846 | 1211 1847 | 7349 1848 | 4890 1849 | 1517 1850 | 4413 1851 | 1651 1852 | 2315 1853 | 5808 1854 | 1855 | 7126 1856 | 16312 1857 | 18704 1858 | 6831 1859 | 1860 | 2261 1861 | 18391 1862 | 6281 1863 | 8852 1864 | 1865 | 1946 1866 | 6964 1867 | 8157 1868 | 2974 1869 | 5601 1870 | 1525 1871 | 3589 1872 | 2946 1873 | 1874 | 5734 1875 | 4359 1876 | 5519 1877 | 1372 1878 | 4662 1879 | 3645 1880 | 5657 1881 | 5662 1882 | 2586 1883 | 3218 1884 | 1885 | 3863 1886 | 4000 1887 | 1419 1888 | 9581 1889 | 7539 1890 | 7915 1891 | 2498 1892 | 1755 1893 | 7816 1894 | 1895 | 4417 1896 | 8141 1897 | 2738 1898 | 2439 1899 | 6030 1900 | 8163 1901 | 7689 1902 | 2724 1903 | 1714 1904 | 4775 1905 | 1906 | 25107 1907 | 23575 1908 | 1909 | 2326 1910 | 4714 1911 | 3260 1912 | 2151 1913 | 2626 1914 | 3462 1915 | 3721 1916 | 2064 1917 | 4631 1918 | 5006 1919 | 4407 1920 | 3312 1921 | 6082 1922 | 5398 1923 | 2887 1924 | 1925 | 15426 1926 | 8430 1927 | 8716 1928 | 13178 1929 | 9542 1930 | 1931 | 14059 1932 | 12861 1933 | 2877 1934 | 1935 | 29214 1936 | 1937 | 3226 1938 | 2480 1939 | 4432 1940 | 4062 1941 | 6295 1942 | 6194 1943 | 6685 1944 | 6480 1945 | 5192 1946 | 4150 1947 | 1948 | 2195 1949 | 3530 1950 | 8899 1951 | 6012 1952 | 1369 1953 | 1331 1954 | 3203 1955 | 3697 1956 | 6926 1957 | 1958 | 10843 1959 | 8715 1960 | 8009 1961 | 6756 1962 | 4204 1963 | 12089 1964 | 1965 | 2746 1966 | 3205 1967 | 5651 1968 | 3786 1969 | 6044 1970 | 6925 1971 | 6238 1972 | 5885 1973 | 3987 1974 | 4287 1975 | 1110 1976 | 1508 1977 | 6693 1978 | 1979 | 20460 1980 | 11678 1981 | 1982 | 2887 1983 | 2535 1984 | 2228 1985 | 7308 1986 | 6658 1987 | 3702 1988 | 4383 1989 | 4508 1990 | 6215 1991 | 3048 1992 | 2140 1993 | 1994 | 25977 1995 | 1996 | 19958 1997 | 20751 1998 | 8435 1999 | 2000 | 8100 2001 | 2237 2002 | 2012 2003 | 5688 2004 | 6781 2005 | 6579 2006 | 7230 2007 | 2736 2008 | 8174 2009 | 3292 2010 | 2011 | 4153 2012 | 1026 2013 | 2393 2014 | 1798 2015 | 4098 2016 | 5538 2017 | 5024 2018 | 5596 2019 | 5731 2020 | 4619 2021 | 5547 2022 | 4523 2023 | 1765 2024 | 1443 2025 | 1659 2026 | 2027 | 28275 2028 | 14784 2029 | 2030 | 24558 2031 | 17590 2032 | 1011 2033 | 2034 | 1137 2035 | 1609 2036 | 3378 2037 | 8204 2038 | 1517 2039 | 5949 2040 | 1055 2041 | 6075 2042 | 1424 2043 | 2625 2044 | 2045 | 1374 2046 | 2356 2047 | 4734 2048 | 5102 2049 | 5200 2050 | 6172 2051 | 4473 2052 | 4267 2053 | 2878 2054 | 1711 2055 | 1228 2056 | 3968 2057 | 2210 2058 | 2059 | 1584 2060 | 7971 2061 | 7179 2062 | 4611 2063 | 1451 2064 | 1960 2065 | 5043 2066 | 5751 2067 | 3128 2068 | 6834 2069 | 2070 | 4158 2071 | 5288 2072 | 12009 2073 | 2525 2074 | 4308 2075 | 6756 2076 | 2077 | 15397 2078 | 14866 2079 | 14231 2080 | 2081 | 2921 2082 | 5355 2083 | 4326 2084 | 3965 2085 | 6581 2086 | 1724 2087 | 6805 2088 | 4925 2089 | 6913 2090 | 5527 2091 | 2092 | 6849 2093 | 3614 2094 | 6330 2095 | 3612 2096 | 5259 2097 | 6735 2098 | 1603 2099 | 3153 2100 | 5160 2101 | 5526 2102 | 5990 2103 | 2125 2104 | 2105 | 3994 2106 | 7956 2107 | 1295 2108 | 17255 2109 | 2110 | 48885 2111 | 2112 | 8156 2113 | 10864 2114 | 20472 2115 | 2116 | 12590 2117 | 12826 2118 | 3397 2119 | 6956 2120 | 10270 2121 | 11191 2122 | 2123 | 6437 2124 | 5402 2125 | 5892 2126 | 13043 2127 | 7154 2128 | 2129 | 3074 2130 | 5746 2131 | 6941 2132 | 4546 2133 | 6483 2134 | 6929 2135 | 7339 2136 | 3236 2137 | 2521 2138 | 1728 2139 | 5400 2140 | 2141 | 5981 2142 | 2368 2143 | 2910 2144 | 4789 2145 | 4622 2146 | 1146 2147 | 2793 2148 | 5396 2149 | 5501 2150 | 4040 2151 | 4427 2152 | 5061 2153 | 4944 2154 | 6396 2155 | 2156 | 3890 2157 | 8736 2158 | 7073 2159 | 2115 2160 | 2762 2161 | 7470 2162 | 9355 2163 | 1754 2164 | 2165 | 10134 2166 | 24611 2167 | 20758 2168 | 2169 | 3021 2170 | 4624 2171 | 12109 2172 | 10211 2173 | 2174 | 3813 2175 | 2422 2176 | 4148 2177 | 1626 2178 | 1124 2179 | 6512 2180 | 5130 2181 | 4874 2182 | 5287 2183 | 5100 2184 | 1147 2185 | 2186 | 6020 2187 | 1121 2188 | 6018 2189 | 9226 2190 | 2792 2191 | 3706 2192 | 2193 | 8027 2194 | 14155 2195 | 14228 2196 | 11648 2197 | 14866 2198 | 2199 | 8839 2200 | 15560 2201 | 10935 2202 | 2677 2203 | 2764 2204 | 2205 | 6261 2206 | 13041 2207 | 5795 2208 | 11615 2209 | 9834 2210 | 7578 2211 | 2212 | 5560 2213 | 1044 2214 | 5120 2215 | 4165 2216 | 4273 2217 | 2333 2218 | 2606 2219 | 4919 2220 | 2166 2221 | 2723 2222 | 2711 2223 | 4169 2224 | 1192 2225 | 3290 2226 | 3375 2227 | 2228 | 9912 2229 | 13241 2230 | 10389 2231 | 6685 2232 | 4808 2233 | 1306 2234 | 2235 | 53747 2236 | 2237 | 13478 2238 | 10567 2239 | 2240 | 14438 2241 | 13430 2242 | 18691 2243 | 9087 2244 | 2245 | 3117 2246 | 1338 2247 | 5317 2248 | 3267 2249 | 2837 2250 | 4002 2251 | 4449 2252 | 3199 2253 | 2409 2254 | 2922 2255 | 2136 2256 | 1663 2257 | 4246 2258 | 1331 2259 | 3420 2260 | -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- 1 | rootProject.name = "adventofcode" 2 | -------------------------------------------------------------------------------- /src/main/kotlin/de.nwex.adventofcode/Day01.kt: -------------------------------------------------------------------------------- 1 | package de.nwex.adventofcode 2 | 3 | import kotlin.io.path.Path 4 | import kotlin.io.path.readLines 5 | 6 | fun main() { 7 | val elfList = Path("input/day01").readLines().split(String::isEmpty).map { it.map(String::toInt).sum() } 8 | 9 | println("The elf carrying the most calories is carrying ${elfList.max()} calories.") 10 | println("The top three elves carrying the most calories are carrying ${elfList.sorted().takeLast(3).sum()} calories.") 11 | } 12 | 13 | fun Collection.split(predicate: (E) -> Boolean): List> { 14 | val result = mutableListOf>(mutableListOf()) 15 | for (element in this) 16 | if (predicate(element)) result.add(mutableListOf()) else result.last().add(element) 17 | return result 18 | } 19 | --------------------------------------------------------------------------------