"""
print the n to 1 for a given n
"""
def printval(n):
    if(n > 0):
        print(n , end = " ")
        printval(n-1)

n = int(input("enter the N value :"))
printval(n)
6e68386e76c40d32a65c6944d62bcdb2d7e68e1b
<mask token>

<mask token>


def printval(n):
    if n > 0:
        print(n, end=' ')
        printval(n - 1)


<mask token>

<mask token>


def printval(n):
    if n > 0:
        print(n, end=' ')
        printval(n - 1)


<mask token>
printval(n)

<mask token>


def printval(n):
    if n > 0:
        print(n, end=' ')
        printval(n - 1)


n = int(input('enter the N value :'))
printval(n)

"""
print the n to 1 for a given n
"""
def printval(n):
    if(n > 0):
        print(n , end = " ")
        printval(n-1)

n = int(input("enter the N value :"))
printval(n)