#25311: python 解題


ryanlee106077@gmail.com (Ryan Lee)


n=int(input())
for i in range(1,?+1):
        s=n-i
        print(?*"_"+?*"*")