1 from lib import * 2 3 input = read_input(2015, 8) 4 5 print(sum(len(line) - len(eval(line)) for line in input.splitlines())) 6 print(sum(len(repr(line)) + line.count('"') - len(line) for line in input.splitlines()))