The equation of latus rectum of a parabola is x+y=8 and the equation of the tangent at the vertex is x+y=12. Then length of the latus rectum is