aoc2021/d09/topgm.py

8 lines
108 B
Python

print("""P2
100 100
9""")
import sys
for l in sys.stdin.read().splitlines():
for c in l:
print(9-int(c))