The permutations in battle for promotion and relegation