Consider the following statement : A: If AB=A and BA=Bthen An+Bn=A+B R:A and B are idempotent matrices. Then the correct option is