How many ways are there to arrange 1,2,3,4,5 in a line, such that n is not in the nth position?

For Example: 2,1,3,4,5 is not valid because 3 is the 3rd in the line but 2,1,4,5,3 is valid because none of the numbers are in their original position.