Berkelium has 97 electrons arranged as 2, 8, 18, 32, 27, 8, 2 across 7 shells, which is why it sits in period 7.
How to write it
Start from the previous noble gas core, written in square brackets, then add the remaining electrons in filling order. For berkelium that gives [Rn] 5f9 7s2.