11 lines
221 B
Python
11 lines
221 B
Python
#!/usr/bin/env python3
|
|
|
|
from day15.common import get_target
|
|
|
|
lines = (x.strip() for x in open("input.txt"))
|
|
|
|
for line in lines:
|
|
print(line)
|
|
last_spoken = get_target(line, 30000000)[1]
|
|
print("->", last_spoken)
|