a)How many are the simple permutations of the numbers $ 1,2, ..., n $ in which the k-th element is less than $ k + 4 $, for every $ k $?
b)How many are the simple permutations of the numbers $ 1,2, ..., n $ where the kth element is greater than $ k-3 $, for every $ k $?
Could someone give me a hint? I really didn't understand the statement