Two matrices A and B are given below : A=[pqrs] B=[p2+q2pr+qspr+qsr2+s2] If the rank of matrix A is N, then the rank of matrix B is