d⩾5 magnetized static, balanced black holes with S2×Sd−4 event horizon topology