reduce(mods, 0, |)