N = 1000 txt = 'abcdefghijklmnopqrstuvwxyz' i = N%26 t = int(N/26) print txt[i]*t