Planning in Reverse