Unit Array Codeforces Solution In Python