proc setup {n} { puts "Advent of Code 2024 day $n Solution" puts "" puts "" set n [string range 0$n end-1 end] upvar input input set input [open input.$n.txt] }