Write a program in Python that takes 5 numbers from the input and prints those numbers in an array from the last to the first.