output_description: Print the reversed sequence in a line. Print a single space character between
  adjacent elements (Note that your program should not put a space character
  after the last element).
input_description: The input is given in the following format:
  
      
      
      n
      a1 a2 . . . an
      
  
  n is the size of the sequence and ai is the ith element of the sequence.
attempt: a = []
  for i in range(0, 2):
      l = list(map(int, input().split()))
      a.append(l)
  d = a[1][::-1]
  print(" ".join(map(str, d)))
  
problem_description: Reversing Numbers
  
    
  
  Write a program which reads a sequence and prints it in the reverse order.
samples: [{"input": "5\n    1 2 3 4 5", "output": "5 4 3 2 1"}, {"input": "8\n    3 3 4 4 5 8 7 9", "output": "9 7 8 5 4 4 3 3"}]