2.py missing because it's very ugly and probably broken just now
@@ -0,0 +1,12 @@
+with open("input") as f:
+ content = [int(x.strip()) for x in f]
+
+content.sort()
+diffs = []
+for i in range(len(content) -1 ):
+ diffs.append(content[i+1] - content[i])
+ones = diffs.count(1) + 1
+threes = diffs.count(3) + 1
+print(ones * threes)
@@ -0,0 +1,11 @@
+16
+10
+15
+5
+1
+11
+7
+19
+6
+12
+4
@@ -0,0 +1,31 @@
+28
+33
+18
+42
+31
+14
+46
+20
+48
+47
+24
+23
+49
+45
+38
+39
+32
+25
+35
+8
+17
+9
+2
+34
+3
@@ -0,0 +1,90 @@
+114
+51
+122
+26
+121
+90
+113
+138
+57
+44
+135
+76
+134
+21
+119
+52
+118
+107
+99
+73
+72
+106
+41
+129
+83
+66
+132
+56
+79
+27
+115
+112
+58
+102
+64
+50
+77
+85
+103
+140
+133
+78
+13
+61
+89
+40
+96
+108
+71
+128
+92
+111
+55
+80
+91
+70
+101
+84
+125
+120
+100
+65
+86
+93
+67
+139