Ergodic theorem for nonstationary random walks on compact abelian groups | Synapse