mirror of
https://github.com/RGBCube/AdventOfCode
synced 2025-06-08 21:52:08 +00:00
1 line
129 B
Python
1 line
129 B
Python
print(sum(int("".join((lambda a:[a[0],a[-1]])(list(filter(lambda c:c.isdigit(),l)))))for l in open("1.in").read().splitlines()))
|