n,k=map(int,input().split())
print(("a"*k+"bcd"*n)[:n])
