# 05 August 05:12PM-05:15PM 7min 
                          # SELF  
#                  Logic    2min  
#                  Coding   5min  

# Link https://practice.geeksforgeeks.org/problems/print-array-elements-using-recursion/1/?track=DS-Python-Recursion&batchId=273

def array(arr):
    for i in arr:
        print(i,end=" ")
arr=[5,4,3,2,1]
print(array(arr))