Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT n = 12 NEW_LINE arr = [ 7 , 8 , 1 , 2 , 4 , 6 , 3 , 5 , 2 , 1 , 8 , 7 ] NEW_LINE for i in range ( MAX ) : NEW_LINE INDENT arr . append ( 0 ) NEW_LINE DEDENT print ( wrapper ( arr , n ) ) NEW_LINE DEDENT