Parrondo's paradox for homoeomorphisms