print [x+y for x in (1,2,3,4,5,6,7,8) if x > 4 for y in (10,20) if x < 7]