A cube has four body diagonals. Its twelve face diagonals point along six different directions. A straight line makes angles θ1,θ2,θ3,θ4 with the four body diagonals and φ1,…,φ6 with the six face-diagonal directions. What is the value of i=1∑4cos2θi+j=1∑6cos2φj?