Create am-kth-to-last