CMIMC 2018 Combinatorics Problem 9

Compute the number of rearrangements a_{1}, a_{2}, \ldots, a_{2018} of the sequence 1,2, \ldots, 2018 such that a_{k}>k for exactly one value of k.