with open("input{day}.txt") as f: lines = [line.rstrip() for line in f]