Iam Studying "Quantization of the electromagnetic field using Quantum Field Theory" by Lahiri and Pal.
But I don't get how they computed action in equation $8.23$.
$$A=-{1\over 4} \int d^4xF_{\mu \nu}F^{\mu \nu}=-{1\over2}\int d^4 x [(\partial _\mu A_ {\nu})(\partial ^\mu A^ {\nu})-(\partial _\mu A_ {\nu})(\partial ^\nu A^ {\mu}) ]~.$$
I don't get how they evaluated $~F_{\mu \nu}F^{\mu \nu}~$ and arrived at this result , can any one please help me?